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

PDStructureElement.getAttributes() ignores reference objects

    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

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              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