删除细节和最后一页页脚之间的空格



如何在JasperReports中删除细节和最后一页页脚之间的空间?

我需要删除它们之间的空白

我对lastpagefooter

使用以下代码
<lastPageFooter>
    <band height="187">
        <staticText>
            <reportElement x="125" y="0" width="68" height="20" uuid="d7bc9c8a-c20b-4f79-8515-639609ead0cc"/>
            <box>
                <topPen lineWidth="1.0"/>
                <leftPen lineWidth="1.0"/>
                <bottomPen lineWidth="1.0"/>
                <rightPen lineWidth="1.0"/>
            </box>
            <textElement textAlignment="Right" verticalAlignment="Middle">
                <font size="14"/>
            </textElement>
            <text><![CDATA[المجموع : ]]></text>
        </staticText>
        <textField>
            <reportElement x="35" y="0" width="90" height="20" uuid="4b93f507-3e79-4ba7-99ce-d65b64a1a78b"/>
            <box>
                <topPen lineWidth="1.0"/>
                <leftPen lineWidth="1.0"/>
                <bottomPen lineWidth="1.0"/>
                <rightPen lineWidth="1.0"/>
            </box>
            <textElement textAlignment="Right" verticalAlignment="Middle">
                <font size="14"/>
            </textElement>
            <textFieldExpression><![CDATA[$P{Totals}]]></textFieldExpression>
        </textField>
        <textField evaluationTime="Report">
            <reportElement x="23" y="167" width="40" height="20" uuid="c0c0de0b-7bb5-4133-bf5e-dfe51f91dac4"/>
            <box rightPadding="2"/>
            <textElement textAlignment="Right"/>
    </band>
</lastPageFooter>
http://www.gulfup.com/?lV8MpF

文件

我只是将报告忽略分页的适当性更改为true

<jasperReport ... isIgnorePagination="true" ...>

问题在这种情况下,我不能使用break
我想打破到一个新的页面时,行数

最后,我使用组页脚并在其中添加总数

最新更新