Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

merging PDFs loses attachment #1144

KRISHNAVIB started this conversation in General
Discussion options

Hi There,
I was trying to merge two PDFs in which one of the PDF is having attachment (docx file). After merging both PDFs using OpenPDF , we can see the attachment which was there in one of the PDF is not in the final output file i.e: Merged File.
IS OpenPDF capable of handling attachments while merging PDFs.
Can anyone help?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

Merging PDFs with PdfCopy only merges page-level material from the source PDFs, not document-level material like general file attachments. If you want to merge PDFs and keep document-level material from one of the documents, open that file in a PdfStamper and use importPage to add the pages from the other documents.

You must be logged in to vote
1 reply
Comment options

Tried that, but that doesn't carry attachment. Can you elaborate?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /