Jump to content
JasperReports Library 7.0 is now available ×

pagecreak for static contents.


Recommended Posts

By: ajisha - ajishashah

pagecreak for static contents.

2003-04-22 22:32

I dont have any reports in my pdf. I have lots of static contents. How do i give page break as per my need. Pls reply asap and mail it to me.

 

Thanks

 

 

 

 

By: Teodor Danciu - teodord

RE: pagecreak for static contents.

2003-05-11 13:56

 

Hi,

 

The only way to introduce page breaks "as per

need" in JasperReports is by using the

isStartNewPage="true" in a group.

Even if you have no datasource for your report but

only static texts, you could still use dummy groups

with and empty group expression and place your

elements in those group headers.

Each time you want a new page in your document,

you introduce a new such dummy group, use

isStartNewPage="true" for it and place the

elements in its group header section. This section

could be as tall as the page height (minus the top

and bottom margins).

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...