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

FDFDocument.loadXFDF not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.5, 3.0.0 PDFBox
    • PDModel

    Description

      I have attached sample files that I used for testing in the external issue URL.

      I am trying to read in the values of each of the fields to create a font subset, however when I try to read the value of the fields, a blank line is returned. On closer inspection, the value stored in the field is a COSName object. When I set the value manually using field.setValue the value stored is a COSString object and it works correctly.

      Also, when trying to save the xfdf, the values are omitted.

      Expected:
      Imported XFDF values are stored as COSString objects
      saveXFDF correctly outputs values.

      Attachments

        Issue Links

          Activity

            People

              msahyoun Maruan Sahyoun
              misterwise Matt Wise
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: