简体   繁体   English

使用iReport的JRXML中的多页用于多页报告

[英]Multiple Pages in JRXML using iReport for multi page reports

I just wanted to know does iReport/JRXML supports reports which are of multiple pages? 我只是想知道iReport / JRXML是否支持多页报告? 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 . 只是它们需要成为单个JRXML的一部分。

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. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM