Documentation for PDF bookmark tagging and export from Jasper Reports Server

0

Hi. I think maybe I just need to be pointed in the right direction - this is new to me. I have a very large (1700+ page) report that is essentially a repeating block of 3 to 5 page sub reports. I need a way to break this large report up into individual PDF files. I see that the PDFSAM program can split on bookmarks, so I thought I'd try to use the Jasper Reports bookmark tagging to identify an element on page 1 of each of these "sub" reports (not real Jasper Reports sub reports; they're just sections in my report). Anyway, I picked an element, set its PDF 508 tag to Heading, Heading 1, Full, set my iReport (4.02) to include the "is tagged" parameter for the PDF exporter, and hit the "go" button (figuratively speaking) - no luck. The resultant PDF does not contain bookmarks.

So, first challenge: get this to work direclty in iReport.

Second challenge: configure Jasper Reports Server to export the bookmarks as well (v4.0 right now....yeah, I know, I really want to upgrade - haven't had bandwidth)

Thanks in advance. -Ben

benu's picture
79
Joined: Dec 20 2006 - 6:20am
Last seen: 9 months 2 weeks ago

1 Answer:

0

Regarding PDF bookmarks, Did you set the report level or global parameter per this URL? By default it's false. http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasper.... You can set per-report or server-wide in WEB-INF/classes/jasperreports.properties in the server

net.sf.jasperreports.export.pdf.create.batch.mode.bookmarks=true

ernestoo's picture
8134
Joined: Nov 29 2010 - 11:59am
Last seen: 1 year 10 months ago
Ooops. Meant to just add that last post as a comment...sorry. -Ben
benu - 6 years 10 months ago
Do I need to do something with the hyperlink setup, as per this post? http://community.jaspersoft.com/questions/533437/how-support-toc-not-boo...
benu - 6 years 10 months ago
OK, I think I solved this. Turned out I did have to go into the hyperlink properties, set the expression to the appropriate field that I'm grouping on, and set the bookmark level to 1. It seems to be working OK now. Thanks.
benu - 6 years 10 months ago
show 1 more...
And, solved this one completely, though I'm still wishing there were better documentation around PDF export with bookmark support. Still, 1700 page PDF bookmarked and split into 400+ uniquely-named files using PDFSAM - life is good!
benu - 6 years 10 months ago
Feedback