2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now