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

FDFExport/Import gives strange results

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.7, 2.0.0
    • 1.8.8, 2.0.0
    • Utilities
    • 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. result.pdf
          9 kB
          Gilad Denneboom
        2. test.fdf
          0.4 kB
          Gilad Denneboom
        3. test.pdf
          13 kB
          Gilad Denneboom

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: