chanpheo Posted January 23, 2007 Share Posted January 23, 2007 i'm a newbie to JasperReports and I'm trying to solve this problem.I could make 1 page report from 1 .jrxml design file,but now I want to make a report of several pages fromseveral .jrxml design files(1 page each). I've tried to compile design files one by one and printthem to browser in type of application/pdf but the result is still 1 page report with uncontrolable view.Anyone have any ideas to help me solve this problem? Thank you in advance. Link to comment Share on other sites More sharing options...
Congor Posted January 23, 2007 Share Posted January 23, 2007 Hi, first of all, you can create a more pages report withone jrxml file. It is like that 1. create a .jrxml file (with iReport or by hand)2. compile it to a jasper file3. if you fill it with parameters/dataSources you will get a jrprint file out.4. From jrprint you can make pdf and other formats If you add a table to the report and then hand overa DataSource from which to fill the table and if thenthe table is too long to fit one page, a second (third..) page will be added. *(jasperreports-1.3.0demosamplestables) If you dont have content for the report that growsdown (like a table), the only way (i ve seen so far) to create a second page, is to create a second report and merge them together in a batch process. *(jasperreports-1.3.0demosamplesbatchexport) I hope that will help you a bit (Iam also still figuring out about JasperReports) Yves * There is a big sample project with demo sourcewhich is really worth checking it out. 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