ICEpdf
  1. ICEpdf
  2. PDF-210

PInfo class does not correctly resolve indirect references

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: 4.1.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      Viewer RI

      Description

      While testing a PDF I happened to fall upon this issue. The PDF in question had indirect object references for the Trailers Info entries. For some reason the PInfo doesn't extend Dictionary and resolve the references correctly.

      I wrote this class a really long time ago and apparently didn't yet fully understand the importance of the library when resolving the dictionary entries.

      Real simple bug to fix, make PInfo extend Dictionary and create an new constructor that setups the libary correctly. Update the current constructor so that it gets the library from the security manager.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #22463 Wed Sep 29 12:55:09 MDT 2010 patrick.corless PDF-210 updated PInfo to correctly resolve indirect object references.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/PInfo.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/PTrailer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: