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)
Another Report with Printable Table of Contents (TOC)
micajblock
Thanks to Dr. Andrew Paine for pointing me in the right direction. The general idea is to have two tables. The TOC table and the detail table.<br />
<br />
The detail table sets a global variable in the onCreate event and the TOC table reads the global variablein the onRender event.<br />
<br />
In order for the page numbers to appear correctly in other formats (PDF, WORD) please change the 'Layout Preference' property from Auto Layout to Fixed Layout.<br />
<br />
Note for OS BIRT: The example uses a technique where at generation time it gets the page numbers and then displays them at render time. In order for this to work the run and render tasks need to be separate. In OS BIRT the preview and run servlet use the runandrender task not two separate tasks, hence my example will not work. IN OS BIRT Designer all view options use the runandrender task. In order for this to work in OS BIRT Designer open the report in a viewer and then export it to another format. When running the report in OS BIRT Viewer use the frameset command not the run command (as the run command also uses the runandrender task).
Find more posts tagged with
Comments
There are no comments yet