Jief Knudsen created PDFBOX-4888:
------------------------------------
Summary: PDFMergerUtility doesn't rename common fields
Key: PDFBOX-4888
URL: https://issues.apache.org/jira/browse/PDFBOX-4888
Project: PDFBox
Issue Type: Bug
Affects Versions: 2.0.20
Reporter: Jief Knudsen
I am merging 2 pdfs. They have fields with the same name.
I though PDFMergerUtility would rename these field, so when I open it, I still
have the correct values in each field.
I am using PDFMergerUtility, with *_PDFBOX_LEGACY_MODE_*
I am merging "f1040sb" and "8938 1-2(non flat).pdf".
One common field is, for example, "topmostSubform[0].Page1[0].f1_11[0]"
Am I wrong thinking it should be renamed ?
I tried the workaround to render each page as an image and add it to a
destination pdf (not using PDFMergerUtility). Of course, it worked (no field
anymore), but destination pdf is big.
Should I rename fields myself before merging ?
NOTE : when I try to attach files, I got : "Jira could not attach the file as
there was a missing token. Please try attaching the file again."
Files available here : https://we.tl/t-acYJKeGq5q
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]