在PDF
中打印一组发票,我将分页$V{PAGE_COUNT}==16
和一个组打破发票号码。一切正常,但如果发票行= 16,则在新页面中打印组总发票。有什么想法吗?
<group name="documento" isResetPageNumber="true" footerPosition="ForceAtBottom"><groupExpression><numero fattura></groupExpression><groupFooter> <band height="230" splitType="Immediate"><textField><reportElement> totali fattura.....</band></groupFooter></group> <pageHeader><band height="350" splitType="Stretch"> <textField><reportElement><textField><reportElement>testata fattura</band></pageHeader><detail><band height="16" splitType="Stretch"><break> <reportElement><printWhenExpression><![CDATA[$V{PAGE_COUNT}==16]]></printWhenExpression> </reportElement></break></band></detail></jasperReport>