sateesh139 Posted December 11, 2008 Share Posted December 11, 2008 HI EveryOne ,Is there any way we can find out the total number of pages in the report using the jasper report.Thanks,Sateesh Link to comment Share on other sites More sharing options...
C-Box Posted December 11, 2008 Share Posted December 11, 2008 Hi,Please don't double post!!!!!! (See rule #1)I already answered here and here and with sample here and if you are still trying to hide Columnfooter at LastPage it should work with a printWhenExpression and the "LastPageNumber" flag out of the parameter-map (see my last link).C-Box Link to comment Share on other sites More sharing options...
sateesh139 Posted December 12, 2008 Author Share Posted December 12, 2008 Thx C-Box i have a requirement like below description and i have attached the PDF generated but client needs like below For an account, the “header†or “footer†section of that account should not be split between 2 pages. For example, account 001.00000.0001 has its footer section cut between page 2 and 3. I don’t know if these rules can be added but ideally the rules would be as follows: 1)if there are no detail lines, account should be all on 1 page, not split between 2 pages (account 010.00000.3010 for example is incorrectly split). 2)if there are detail lines, at least the first detail line should be on the same page as the header for account, meaning go to the next page if there is not enough space to write both the header and the 1st detail line (account 001.00000.3001 for example is incorrectly split). 3)whether or not there are detail lines, account footer should not be split so if footer cannot be all written on current page, write it on the next page. Is it possible or not plz help me on this. Thanks, Sateesh 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