Jump to content
Changes to the Jaspersoft community edition download ×

Multiple Reports into One Book

Recommended Posts

By: deconcoder - deconcoder

Multiple Reports into One Book

2006-02-15 16:17

I need to spool multiple, different reports, into one PDF and have the page numbers work. Looks like the JasperExportManager has no such support so I probably have to just gen a PDF for each report, then use iText to string them all together and renumber them.


As the Democrats would say, is there a better way?





By: Denny Valliant - xenden

RE: Multiple Reports into One Book

2006-02-16 12:01

There is always a better way.


What's better for one isn't always better for another tho, and thus the difficulties.


Without more info about your situation, I can't say, but there have been plenty of suggestions on concatonating pdfs, designs, etc. on this forum in the past, maybe search through it a little and see what other people have come up with, and let us know what worked for you.





By: deconcoder - deconcoder

RE: Multiple Reports into One Book

2006-02-20 07:01

I spooled each page out to a JasperPrint object, then used the mechanism documented here for passing a list to the exporter. Fixing up the page numbers was easy: I added a PAGE_OFFSET variable and just increment that after creating each print object. Simple. Works well.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...