Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
How to create a printable TOC
brickuz
Hi,
Is it possible to create a TOC-page that is printable?
Right now I got a report with several stacked groups to sort and publish data. The contents looks fine in the TOC (bookmarks) when I export to PDF but the dynamic TOC shown there is not possible to print (or at least I don't know how).
Are there any easy way to generate a TOC as a page in the report, so that a printed version would look something like this:
Headline 1...... 2
Headline 2...... 2
Headline 3...... 4
[page break]
Headline 1
-data
Headline 2
-data
[page break]
-data
[page break]
Headline 3
- data
If there is no easy way, are there any ways at all (scripts etc.) to get the wanted result?
If anyone knows a way to print the bookmarks from Adobe Reader that would be sufficient too.
Best Regards,
Erik
Find more posts tagged with
Comments
StevenHovater
hi Erik
If I could get through the problem that the bookmark pagenumbers returned from a rptdocument are incorrect, then I would have a solution.
Basically, it works like this. I've written code that breaks up the document generation into two steps, the run and then the render.
The run task produces a rptdocument, which I process looking for the TOC entries. For each TOC entry, I get the page number (which is coming back incorrect - I'm trying to get a solution to that right now). Assume that works for the moment.
The TOC list is written to a tsv file. The rptdesign has a second data source that's a flatfile data source that's used in the design for the printable TOC.
The subsequent generation of the document produces a final document with the TOC included.
So, if I can get the correct page number back from the rptdesign, we'd be in business!
cheers
Steve