Jasper reports 虽然未打印,但列页脚标注栏仍占据高度
我有一个列页脚标注栏,它只显示在我报告的最后一页。一切都很好,只是当它没有印刷时,乐队仍然占据空间,就好像它还在那里一样。我如何防止这种情况? 带子的高度是下颌的,分体式不会改变任何东西Jasper reports 虽然未打印,但列页脚标注栏仍占据高度,jasper-reports,Jasper Reports,我有一个列页脚标注栏,它只显示在我报告的最后一页。一切都很好,只是当它没有印刷时,乐队仍然占据空间,就好像它还在那里一样。我如何防止这种情况? 带子的高度是下颌的,分体式不会改变任何东西 <columnFooter> <band height="250" splitType="Prevent"> <property name="local_mesure_unitheight" value="pixel"/> <pr
<columnFooter>
<band height="250" splitType="Prevent">
<property name="local_mesure_unitheight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
<printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.equals($P{REPORT_PARAMETERS_MAP}.get("LastPageNumber")))]]></printWhenExpression>
<!-- the elements -->
</columnFooter>
使用“表达式时打印”怎么样?我使用了表达式,它不打印条带的内容,但条带仍然占据定义的高度。您可以使用条件隐藏整个条带看看我添加的源代码。打印Wheenexpression位于列页脚处时,即使列页脚处于隐藏状态,也始终会绘制该列页脚。您可以检查此文档:。您可以尝试使用组页脚作为备用