cheeka Posted July 19, 2006 Share Posted July 19, 2006 I would like to show one page at time of my exported HTML report. Using the page naviation controls in my page, the user would be able to view other pages of the report. I think it is possible to get one page of the report at a time by giving JRExporterParameter.PAGE_INDEX My question is how do we find the max page? tia Link to comment Share on other sites More sharing options...
teodord Posted July 19, 2006 Share Posted July 19, 2006 Hi, What you need is shown in our /demo/samples/webapp sample provided with the project distribution files.There is a "Page by Page" viewer for HTML.The total number of pages for a JasperPrint document can be obtained by calling Code:jasperPrint.getPages().size() I hope this helps.Teodor Link to comment Share on other sites More sharing options...
derek_ricca Posted August 2, 2007 Share Posted August 2, 2007 How would I get the total number of pages through PHP? 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