jasper报告标题未在摘要页面上打印 [英] jasper report header not printed on summary page

查看:157
本文介绍了jasper报告标题未在摘要页面上打印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Jasper报告。我有一个页面标题,详细信息和摘要乐队。页眉在所有页面上重复,但有时仅当摘要部分移动到最后一页时,因为细节在此之前的页面中结束。标题不会打印在最后一页,即摘要页面。
是否有人知道为什么页面标题不会打印在摘要页面上。是否有其他方法在摘要页面上打印标题。

I'm using Jasper reports. I have a page header, detail & summary band. The page header is repeated on all pages but sometimes when only the summary part moves into last page as the detail gets over in the page before that. The header is not printed on the last page i.e summary page. Does somebody have any idea as to why the page header is not printed on the summary page. Is there some other way to print header on summary page.

推荐答案

默认情况下,页眉不适用于摘要带。

By default, the page header does not apply to the summary band.

从Jasper 3.6.1开始,有一个report属性可用于强制摘要带也有页眉,称为带页眉和页脚的摘要 。您应该在iReport中检查它,或在jasperReport标记中设置 isSummaryWithPageHeaderAndFooter =true

Since Jasper 3.6.1, there is a report property that can be used to force the summary band also to have page header, called 'Summary with Page header and footer'. You should check it in iReport, or set isSummaryWithPageHeaderAndFooter="true" in the jasperReport tag.

这篇关于jasper报告标题未在摘要页面上打印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆