Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.0.1
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:any
Description
When Testing our exported PDF version of the ICEpd Wiki I noticed that ICEpdf was not showing the document outline. I did a quick look to see what was going on and we appear to have a problem with how FOP generates the outine. Normally a document outlines name tree would have a count attribute to help speed up the traversal of the tree. However FOP is not putting in the count and our Outlines class was wired not to load the outline if the count is zero or in this case not defined.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
I updated the Outlines code so that we use an Integer instead of an int for the count value. This allows us to fine out if there is actually a zero count or if the value is not initialized and thus null.
Document outlines loaded now as expected.