分页在末尾添加了一个额外的空白页面

时间:2017-05-10 11:59:39

标签: pagination jasper-reports

鉴于我的报告的页脚:

<pageFooter>
        <band height="51" splitType="Stretch">
            <textField isStretchWithOverflow="true">
                <reportElement positionType = "Float" x="485" y="1" width="55" height="50" uuid="7786fb05-689a-4b6a-915a-a7bcf3abad95"/>
                <textElement textAlignment="Center" verticalAlignment="Middle">
                    <font fontName="Calibri" size="10" />
                    <paragraph lineSpacingSize="0"/>
                </textElement>
                <textFieldExpression><![CDATA[" - "]]> + $V{PAGE_NUMBER} + <![CDATA[" - "]]></textFieldExpression>
            </textField>
        </band>
</pageFooter>

我的报告在报告末尾添加了一个没有页码的额外空白页面,而不像之前的每个报告页面都有页码。当我尝试删除分页并使用staticText组件作为我的页脚时,额外的空白页面就消失了。

enter image description here

怎么可以解决这个问题呢?

0 个答案:

没有答案
相关问题