是否可以强制 Jasper 报表页眉、详细信息和组页脚显示在同一页面上
假设我有以下组,包含标题、详细信息和内容。
Group 1 HEADER
Group 1 DETAIL 1
Group 1 DETAIL 2
...
Group 1 DETAIL n
Group 1 FOOTER
我希望 HEADER、DETAIL 和 FOOTER 始终在同一页面上一起呈现,因为它们将包含在独特的“牢不可破的块”中
示例>我不想(第 1 组 DETAIL n 和 FOOTER 之间的分页符)
Group 1 HEADER
Group 1 DETAIL 1
Group 1 DETAIL 2
...
Group 1 DETAIL n
<<<<<<<<<<<<<<<<<<<<-PAGE BREAK
Group 1 FOOTER
在这种情况下,我希望将 HEADER、DETAIL 和 FOOTER 块完全移动到下一页。
Suppose I have the following group, with a header, a detail and a content.
Group 1 HEADER
Group 1 DETAIL 1
Group 1 DETAIL 2
...
Group 1 DETAIL n
Group 1 FOOTER
I want that HEADER, DETAIL and FOOTER are always be rendered together, on the same page, as they would be included in unique "unbreakable bloc"
An example of what I don't want (the page break between Group 1 DETAIL n and FOOTER)
Group 1 HEADER
Group 1 DETAIL 1
Group 1 DETAIL 2
...
Group 1 DETAIL n
<<<<<<<<<<<<<<<<<<<<-PAGE BREAK
Group 1 FOOTER
In this situation, I want the HEADER, DETAIL and FOOTER block to be moved entirely to the next page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通常,页眉和页脚始终位于每一页上。例如,如果此报告要导出为 xls,您始终可以将报告高度设置为一个非常大的数字。
Normally the header and footer is always on each page. You can always set your report height to an extremely large number if this report is meant to be exported to xls for example.