prooban Posted October 15, 2013 Share Posted October 15, 2013 Hi,I would like to generate report in different files (pdf,excel,htm). Jasper queries records from the database chunk by chunk say 500 based on our configuration input. Is it possible to generate report in different files for each chunk?elseIs it possible to generate report in different files for each page? Link to comment Share on other sites More sharing options...
lucianc Posted October 17, 2013 Share Posted October 17, 2013 See JRExporterParameter.PAGE_INDEX, you can export the report one page at a time for any export type.Regards,Lucian Link to comment Share on other sites More sharing options...
prooban Posted October 17, 2013 Author Share Posted October 17, 2013 Hi Lician, It says "This is useful when only one page of the entire report is needed for export.". Whether my understanding correct? It gives only one page report. But my requirement is each page in different files. Whether my understanding correct? Link to comment Share on other sites More sharing options...
lucianc Posted October 22, 2013 Share Posted October 22, 2013 If you want to export each page to a different page, all you'll have to do is iterate on the number of pages and export each one to its own file. 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