You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (Resolved JIRA)" <ji...@apache.org> on 2011/12/26 20:32:30 UTC

[jira] [Resolved] (PDFBOX-879) PDFMergerUtility

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

Andreas Lehmkühler resolved PDFBOX-879.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
         Assignee: Andreas Lehmkühler

I fixed this in revision 1224791. The PDFMergerUtility now uses the highest version of all pdfs for the destination document.

Thanks for the report!
                
> PDFMergerUtility
> ----------------
>
>                 Key: PDFBOX-879
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-879
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>    Affects Versions: 1.3.1
>         Environment: JDK 1.6.0_22
>            Reporter: MH
>            Assignee: Andreas Lehmkühler
>             Fix For: 1.7.0
>
>
> I concatenate PDFs with the PDFMergerUtility. As long as I concat my (with FOP) created PDFs that are in "PDF 1.4" format, I get no issue when viewing the result. But when one of the PDFs is a "PDF 1.2" document, the resulting PDF will also have "PDF 1.2" version. When viewing this concatenated PDF in Acrobat Reader (9), the first (originally PDF-1.2) document gets viewed without errors, but as soon as I scroll further to the second page (with the other PDF-1.4 PDFs), I get errors like
> "Fehler auf dieser Seite. Die Seite wird unter Umständen nicht richtig in Acrobat angezeigt. Wenden Sie sich an den Ersteller des PDF-Dokuments, um das Problem zu beheben." (Roughly: errors on this page.)
> or
> "Ungültiger Parameter." (Roughly: invalid parameter.)
> Note: when concatenated with iText 2.1.7, the resulting PDF has version "1.4" and no errors occur in Adobe Reader.
> Is it possible to tell the merger to set the PDF Version of the result PDF?

--
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