[
https://issues.apache.org/jira/browse/PDFBOX-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069231#comment-16069231
]
Martin Mancuska commented on PDFBOX-3843:
-----------------------------------------
Right now I tried your code on version 2.0.6 and it works fine. I've checked
what version of pdfbox we're using and it is version 1.8.
Ok, problem is on our side. I will try to update the pdfbox to the newest
version.
Issue can be closed. Thanks and sorry.
> Rect of Annotation contains indirect elements + Patch
> -----------------------------------------------------
>
> Key: PDFBOX-3843
> URL: https://issues.apache.org/jira/browse/PDFBOX-3843
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Affects Versions: 2.0.6
> Reporter: Martin Mancuska
> Priority: Minor
> Labels: annotation, patch
> Fix For: 2.0.7, 3.0.0
>
> Attachments: 081204_gcada.pdf, AnnotRectangleIndirectElems.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]