You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2015/06/18 04:06:00 UTC

[jira] [Created] (PDFBOX-2833) Add an API to get the COSObjectKey of a given object

John Hewson created PDFBOX-2833:
-----------------------------------

             Summary: 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org