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
            Priority: Minor


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to