Adding static pages after detail

By: Sofiane - sofianito
Adding static pages after detail
2002-11-08 05:25
Hi,
I have generated a report using a query and now i need to add 5 static pages after the detail. Any clue?

thanks


By: Teodor Danciu - teodord
RE: Adding static pages after detail
2002-11-08 13:57

Hi,

Those 5 pages at the end of the report could
be introduced using a subreport placed on
the summary section of the master report.

Now, you can check the "images", "shapes",
"fonts" or "unicode" samples to see how to create
a static report. They all are static since they display
only static information and are filled using
an instance of the JREmptyDataSource class.

But it would be interesting to see how you could
introduce page breaks, because you have to have
5 static pages in this subreport.

Check this out:

http://jasperreports.sourceforge.net/tips.tricks.html#largebands

I hope this helps.
Teodor



By: Sofiane - sofianito
RE: Adding static pages after detail
2002-11-12 08:02
Hi,

I understand that I have to define a subreport with 5 groups each group having the attribute isStartNewPage="true", and set the band height of every group footer to 0, and put in every group header the static stuff? isn't it?

Thanks
Sofiane


By: Teodor Danciu - teodord
RE: Adding static pages after detail
2002-11-12 12:50

Hi,

Yes. This might be one of the possible solutions.
You can find out only if you try it.

Good luck!
Teodor
2001 JI Open Discussion's picture
Joined: Aug 10 2006 - 3:26am
Last seen: 16 years 10 months ago

0 Answers:

No answers yet
Feedback