分页错误新页面

时间:2015-06-14 06:42:31

标签: jasper-reports

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></ja‌​sperReport>

0 个答案:

没有答案