You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Ernst Eibensteiner (JIRA)" <ji...@apache.org> on 2011/09/23 10:32:28 UTC
[jira] [Updated] (PDFBOX-1100) PDFMerger: Empty form fields
[ https://issues.apache.org/jira/browse/PDFBOX-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernst Eibensteiner updated PDFBOX-1100:
---------------------------------------
Attachment: dereferenceObjectStreams.patch
I've created a short patch that worked for me, but there is certainly a reason for the if clause!
I found out that COSObect 31 and 32 were added twice into the COSDictionary. The first one did not contain a {V} attribute, the second one did. So the patch adds both versions into the COOSDictionary.
Hopefully this helps.
> PDFMerger: Empty form fields
> ----------------------------
>
> Key: PDFBOX-1100
> URL: https://issues.apache.org/jira/browse/PDFBOX-1100
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 1.6.0
> Environment: Windows 2008 R2
> Reporter: Gerhard Temper
> Attachments: a.pdf, b.pdf, c.pdf, dereferenceObjectStreams.patch
>
>
> Merging two PDFs with form fields results in a PDF with empty fields.
> The issue seems to be similar to https://issues.apache.org/jira/browse/PDFBOX-1031, but in my case i see the fields but not the value in the fields.
> I use the following command to merge the PDFs:
> java -classpath pdfbox-app-1.6.0.jar org.apache.pdfbox.PDFMerger a.pdf b.pdf c.pdf
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira