Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1036

FDFExport/Import gives strange results

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.7, 2.0.0
    • Fix Version/s: 1.8.8, 2.0.0
    • Component/s: Utilities
    • Environment:
      Windows 7, Acrobat Pro 9.4.4, Eclipse Helios SR2

      Description

      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"}

      );

        Attachments

        1. test.pdf
          13 kB
          Gilad Denneboom
        2. test.fdf
          0.4 kB
          Gilad Denneboom
        3. result.pdf
          9 kB
          Gilad Denneboom

          Activity

            People

            • Assignee:
              msahyoun Maruan Sahyoun
              Reporter:
              giladd Gilad Denneboom
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: