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)
Embedded Table of Contents (TOC)
p3s
Hi all,
i want to place a TOC at the beginning of a report, based on the TOC-entries generated by groups of some list/grid objects. The syntax of the TOC should be a list of: GroupName (the name from the item expression of the list/grid groups) and the corresponding page number.
Can anyone give me a hint or a solution.
Thanks
Marcus
Find more posts tagged with
Comments
mwilliams
Hi Marcus,
There's no way to do that within a single report design. However, if you're looking for this in a PDF... You can run each report separately and use iText to build a single PDF with a table of contents on the front.
Hope this helps.
Virgil Dodson
There is also a possibility to use bookmarks to jump from one portion of the report to another (simple example enclosed) although the page numbers are harder to integrate this way since these page numbers will change depending on output type selected.
p3s
Hi Michael, hi Virgil,
much thanks for your replies.
Do you think that with BIRT it is possible, to use the following work around (i did the same with crystal reports)?
At the beginning of the report, the toc is placed as a list object which gets the data (GroupName/PageNumber) from a simple database table. That's easy;)
The table will be filled while the report is running with the current page numbers and current group names. With Crystal/Oracle i did this with a table function, which append an entry to a table and returns the "select *" from a table after insertion.
The question is: Is it possible with BIRT to call an sql command while the report is running and pass the current value of a group (or better it's bookmark name) and page number to this sql command?
If this is possible, BIRT is able to produce a TOC in 2 passes. That would be fine for me (better than nothing
).
Regards,
Marcus