You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Timo Boehme (JIRA)" <ji...@apache.org> on 2012/05/22 15:53:41 UTC
[jira] [Closed] (PDFBOX-1106) PDFMergerUtility corrupts file
attachments
[ https://issues.apache.org/jira/browse/PDFBOX-1106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Timo Boehme closed PDFBOX-1106.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Assignee: Timo Boehme
Closed because the duplicate issue PDFBOX-1098 was fixed.
> PDFMergerUtility corrupts file attachments
> ------------------------------------------
>
> Key: PDFBOX-1106
> URL: https://issues.apache.org/jira/browse/PDFBOX-1106
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.6.0
> Environment: Windows 7, Acrobat Pro 9.4.4, Eclipse Helios SR2
> Reporter: Gilad Denneboom
> Assignee: Timo Boehme
> Priority: Minor
> Labels: PDFMergerUtility, attachments
> Fix For: 1.7.0
>
> Attachments: 1.pdf, 2.pdf, merged.pdf
>
>
> When combining files that contain (PDF) file attachments, the attachments carry over, but are corrupted in the merged file.
> Code used:
> PDFMergerUtility merger = new PDFMergerUtility();
> merger.addSource("c:/gilad/testing/in/1.pdf");
> merger.addSource("c:/gilad/testing/in/2.pdf");
> merger.setDestinationFileName("c:/gilad/testing/in/merged.pdf");
> try {
> merger.mergeDocuments();
> } catch (Exception e) {
> e.printStackTrace();
> }
--
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