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 ?
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