Community
Participate
Working Groups
When viewing a report as a pdf file, the bookmarks / table of contents are always fully expanded. The readability of the TOC / Bookmarks improves enormously when a option is added to expand or collapse a bookmark /toc when viewing a PDF. So what I mean is when you have a long list of TOC / Bookmarks at a certain level and you are creating /viewing a pdf. That list of TOC / Bookmarks is always fully expanded. When there is a option to say that at a certain level the bookmarks must not be expanded, the list of TOC / Bookmarks is then shorter a better readable. Maybe this option can be added to 'Table of Contents' group of the Edit Group window. iText is used to generate PDF files, I think there is a option in itext: chapter.setBookmarkOpen (false); to do this.
We can support this feature in futher release.
This seems to me to be a simple fix. We should add a property to the TOC property that is set to collapse or no collapse. In the PDF Emitter the change required is this; TOCHandler.java String fontStyle = style.getFontStyle( ); String fontWeight = style.getFontWeight( ); int styleValue = PropertyUtil.getFontStyle( fontStyle, fontWeight ); outline.setStyle( styleValue ); //add this line to collapse //should be based on property outline.setOpen(false);
hi all, what the status of this bug? we need a solution to this problem we have a lot of TOC in a report and our users complain that the TOC is fully expanded...