问题
I just wanted to know does iReport/JRXML supports reports which are of multiple pages? If yes, can you give some reference samples?
I am not asking of a report which will grow when data grows.
I have a static report which contains more than one page to deal with. Each page will have different header, footer & content. Just they need to be part of one single JRXML.
回答1:
I simply tried this and it worked, though some issues are present and may not be working in general case but for my case following code worked.
<break>
<reportElement x="0" y="211" width="554" height="1"/>
</break>
Thanks.
来源:https://stackoverflow.com/questions/6830420/multiple-pages-in-jrxml-using-ireport-for-multi-page-reports