Jasper在最后一页报告内容,其他页面显示空白

时间:2013-12-18 12:33:29

标签: jasper-reports

我只需要在报告的最后一页上提供内容,我知道如何做到这一点,但我所做的就是将这些内容放在页脚中。会发生什么事情,我得到一个空白的空间,内容出现在最后一页上。 我不太熟悉Jasper的报告,所以我正在寻找一个解决方案,其中最后一页的内容不会在报表和页脚之间留下空白空间。 内容并不一定需要在页脚中。

1 个答案:

答案 0 :(得分:3)

有两种方法可以实现这一目标: -

1:- There is a band called "Last Page Footer" in report which you can use 
    to print the content only on the last page. To add "Last Page Footer" 
    band go to "Report Inspector" and right click on the band and add.

2:- You can also achieve this by adding Report Groups option, to add report 
    groups go to report inspector and right click on the report and click on the
    "Add Report Group" and add both Header and Footer, Header can be used as
    summary band for graphs and footer can be used as last page footer.
相关问题