You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Petras (JIRA)" <ji...@apache.org> on 2012/05/18 11:10:12 UTC

[jira] [Updated] (PDFBOX-1314) PDFParser should set to COSBase if this object is direct on indirect

     [ https://issues.apache.org/jira/browse/PDFBOX-1314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petras updated PDFBOX-1314:
---------------------------

    Summary: PDFParser should set to COSBase if this object is direct on indirect  (was: PDFParser should set if object is directly on indirectly referenced)
    
> PDFParser should set to COSBase if this object is direct on indirect
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-1314
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1314
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Petras
>              Labels: COSWriter, PDFParser
>
> PDFParser during PDF parsing does not update COSBase#direct property - it always return false when read. Especially this issue manifests for dictionary objects when PDF is saved - all PDF dictionary objects, if they do not have COSBase#direct property set or are not specifically treated by COSWriter (like XObject or Resources) are written indirectly. Though PDF specification allows dictionary objects to be indirect, but not for /Extensions dictionary in document catalog: "The extensions dictionary, all developer extensions dictionary entries in the extensions dictionary, as well as their entries, all shall be direct objects" (see ISO 32000-1: 7.12 Extensions Dictionary).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira