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)
Is that possible to dynamically adapt a TOC (Table of Contents)?
pdeswert
Hi all,
I have got a data set called "Packages" having the following columns: "name", "path", "description" and "level". A package can contain packages. When a package is contained by another package then its path = the path of the containing package + "::" + name of the containing package. The level of contained package = the level of the containing package + 1.
Obviously, that dataset contains an hierarchical structure. The hierarchical structure of the packages is rendered in my BIRT report by indenting the name and description of the package using its level.
Each package name is besides an entry in the table of contents of the document. I would like that the table of contents reflects the hierarchical structure of the packages as well. I have therefore to manipulate the TOC tree of the document. For instance, if the level of the current package = level of the previous package + 1 then I would set the TOCnode of the previous as parent of the TOCNode of the current package. Is there a way to access the TOC Tree structure from the scripts of the report elements?
Many thanks for your help and suggestions.
Pierre
Find more posts tagged with
Comments
There are no comments yet