You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Mehdi Houshmand (JIRA)" <ji...@apache.org> on 2011/06/21 11:56:47 UTC

[jira] [Commented] (PDFBOX-1043) PDF Version not read in the document catalog

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

Mehdi Houshmand commented on PDFBOX-1043:
-----------------------------------------

I've attached a patch to fix this issue. 

However, the spec is somewhat ambiguous about the use case. The intention for this feature is for "Incremental Updates", such that trailers can be appended to the end of the document, and should one of their /Version parameter be greater than that of the header, the version in the header is overridden. Our use case is that we don't know until half-way through writing the PDF document what version to specify. In this scenario, there is only a single trailer and the /Version parameter will override the header.

> PDF Version not read in the document catalog
> --------------------------------------------
>
>                 Key: PDFBOX-1043
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1043
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: Parsing, PDModel
>    Affects Versions: 1.5.0
>         Environment: Ubuntu 11.04
>            Reporter: Mehdi Houshmand
>            Priority: Minor
>         Attachments: documentcatalog.patch
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> The version of the PDF document is read ONLY in the header. PDF 1.4 allows the version to also be specified in the document catalog (see section 3.6.1 PDF 1.5 reference).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira