jani99harsh Posted April 19, 2017 Share Posted April 19, 2017 I have to prepare reports using five different sql queries. Each query will give out one report table.So I wrote 5 jrxml files each corresponding to one of the above query with their own headings, title settings, footers, pagenumbers, etc.Now, I am able to compile, print and export each of the above jrxmls into 5 different pdfs.However, client wants all the reports collated into one single pdf. That is in the final pdf, first four pages will be say report one, next five pages report two, then report three and so on and so forth.1) How to achieve this ?2) Each report has page number as 1/4, 2/4, 3/4 etc. Where the second part i.e. the complete page number is evaluated with evaluation time as report. So when I will collate all reports in single pdf (if possible), will it also be possible to re-number the pages in justification to final pdf ? Link to comment Share on other sites More sharing options...
Alex42 Posted April 19, 2017 Share Posted April 19, 2017 One option is to use your created reports as subreports in a main one. Another option is to use Jasper Books.You will have to take care of pagination by yourself if you want something special besides the default Link to comment Share on other sites More sharing options...
Alex42 Posted April 19, 2017 Share Posted April 19, 2017 One option is to use your created reports as subreports in a main one. Another option is to use Jasper Books. You will have to take care of pagination by yourself if you want something special besides the default Link to comment Share on other sites More sharing options...
hozawa Posted April 19, 2017 Share Posted April 19, 2017 If you are programming, you can just concatenate your jasper objects. I think there was a method to get the page number. Just pass the page number as a parameter. I've done this several times before so know that this works. 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