English 中文(简体)
Jasper报告:如何在第一页之后完全抑制页脚
原标题:Jasper Reports : How to suppress a footer completely after 1st page

我在iReports中设计了一个jasper报告。我的要求是只在第一页显示页脚。我在页脚带上设置了一个布尔条件,只在第一页显示,但在这样做之后,页脚部分在每页中都会占用一个空格。

如何在第一页之后完全取消页脚???

BR Majid

问题回答

您可以使用printWhenExpression,并在pageCount=1时计算为true,pageCount是jasperreport中可用的隐式参数。

U可以使用<code>printWhenExpression</code>属性。只有当计算结果为true并且u可以在此处使用pageCount表达式时,才会打印元素





相关问题
Using a POJO as an iReport data source

I have a POJO that compiles data from various sources into a single object. The object is instantiated with a single parameter. Example: Invoice inv=new Invoice(1239); This will bring back a ...

Problem with auto page break in iReport

I m using iReport 3.7. I have a report with two subreports (order details and some selling statistics), and a grouping by seller. One subreport is located in the Detail band of the group, and the ...

How to truncate data (avoiding page break) in iReport?

I have a listing that must fit in a page. Instead of the default page break behaviour, I need iReport to truncate the listing when it goes over the page size. Any ideas? Thanks! EDIT: I ve had ...

How to prevent duplication of bar chart in iReport

I ve tried to use chart in iReport for the first time. I ve used a bar chart and anytime I preview the chart I see plenty of them, iIthink about 6. I only need a single one is there anything that I ...

Field Expression in iReport

I m trying to get myself used to iReport before using it in a real project next week and i seem to be stacked somewhere already. I m using iReport 3.7.0 on Windows XP platform + Java 1.6 It sound ...

热门标签