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

Rect of Annotation contains indirect elements + Patch

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.13
    • Fix Version/s: 1.8.14
    • Component/s: PDModel
    • Labels:
    • Flags:
      Patch

      Description

      During processing of attached PDF file (081204_gcada.pdf) I've found out that method PDAnnotation.getRectangle() is not able to get elements from Rect of annotation if these elements are indirect cos objects ([10 0 R 11 0 R 12 0 R 13 0 R]) -> returns null.
      It works only if elements are direct cos objects.

      Affected annotation is present on page with reference number 266 0 R (page 25).

      Also I've attached a patch which solves this problems.

        Attachments

        1. AnnotRectangleIndirectElems.patch
          2 kB
          Martin Mancuska
        2. 081204_gcada.pdf
          1.29 MB
          Martin Mancuska

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              mato7d5 Martin Mancuska
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: