[ 
https://issues.apache.org/jira/browse/PDFBOX-2833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591121#comment-14591121
 ] 

ASF subversion and git services commented on PDFBOX-2833:
---------------------------------------------------------

Commit 1686134 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1686134 ]

PDFBOX-2833: Add an API to get the COSObjectKey of a given object

> Add an API to get the COSObjectKey of a given object
> ----------------------------------------------------
>
>                 Key: PDFBOX-2833
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2833
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Assignee: John Hewson
>            Priority: Minor
>
> When debugging it's useful to be able to get an indirect COS object's 
> generation and id numbers. However, for PD objects there's no way to retrieve 
> the COSObject which points to the result of getCOSObject().
> Only COSDocument contains this information, so I'm adding a new method which 
> looks up the COSObjectKey for a given COSBase, assuming that object is 
> indirect (e.g. the target of a COSObject).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to