ICEpdf
  1. ICEpdf
  2. PDF-145

FOP generate outlines are not displayed

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Hide
        Patrick Corless added a comment -

        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.

        Show
        Patrick Corless added a comment - 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.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: