Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4197

PDStructureElement.getAttributes() ignores reference objects

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Attribute dictionaries attached to a structure element may be either direct or references.  getAttributes() handles the direct case but ignores object references without error messages.  This can also lead to invalid revision numbers attached to the attribute dictionaries it does handle properly.

       

      The fix would be to add another branch to the iteration loop in PDStructureElement.getAttributes(), to handle object references.

      Attachments

        1. sample.pdf
          95 kB
          Bill Janssen

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tilman Tilman Hausherr
            janssen Bill Janssen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment