[
https://issues.apache.org/jira/browse/PDFBOX-4086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16345131#comment-16345131
]
Maruan Sahyoun commented on PDFBOX-4086:
----------------------------------------
If I'm not mistaken the issue is that there is the AcroForm with widget entries
and in addition there are annotations duplicating the annotations at the same
location but being a different object. Now PDFBox merges the AcroForm
(correctly wrt the current code) but ignores the fields which are defined in
the pages annotation tree.
As of know PDFBox when looking for fields doesn't include the annotations in
the pages annotation but only looks for the entries in AcroForm. That's a known
limitation and duplicates PDFBOX-3667.
> Cannot merge two PDF forms
> --------------------------
>
> Key: PDFBOX-4086
> URL: https://issues.apache.org/jira/browse/PDFBOX-4086
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm, Utilities
> Affects Versions: 2.0.8
> Reporter: Michal Kostal
> Priority: Major
> Attachments: AML1.PDF, AML2.PDF, result.pdf
>
>
> Merging two different document results to creating an pdf where is the only
> first document two times.
> There are two input documents (they differs in different text in 'Produkt'
> attribute in the first section) attached.
> The attached result.pdf is the output of command:
> > java -jar pdfbox-app-2.0.8.jar PDFMerger AML1.pdf AML2.pdf result.pdf
> The result.pdf is not merged AML1.pdf with AML2.pdf but only two times
> AML1.pdf.
> I tried examining pdf, but I am not so expert so I do not see anything
> special. BTW when I opens the documents in Reader and saves it, it merges
> correctly.
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]