pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilad Denneboom (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PDFBOX-1036) FDFExport/Import gives strange results
Date Fri, 10 Jun 2011 08:04:59 GMT
FDFExport/Import gives strange results

                 Key: PDFBOX-1036
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1036
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
    Affects Versions: 1.5.0
         Environment: Windows 7, Acrobat Pro 9.4.4, Eclipse Helios SR2
            Reporter: Gilad Denneboom

1. Create a new, blank PDF in Acrobat.
2. Add a text form field and set the contents to "some text".
3. Run ExportFDF and then ImportFDF on this file.

The result is a messed-up text box. See the attached files.
Also I've noticed that the FDF created by PDFBox is very different to the one created by Acrobat.

Here's my code:
        ExportFDF.main(new String[]{"c:/gilad/input/test.pdf", "c:/gilad/input/test.fdf"});
	ImportFDF.main(new String[]{"c:/gilad/input/test.pdf", "c:/gilad/input/test.fdf", "c:/gilad/input/result.pdf"});

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message