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

Return default value for CheckBox / RadioButton if /V entry is missing (widget /AS entries are present)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.11
    • 2.0.12, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      The /V entry is missing for the radio and checkbox fields in the attached file. getValue() returns nothing. A look at the widget shows that /AS is set. Shouldn't this be used as fallback? The value is the one that isn't COSName.Off.

      For the attached file, I looked at the radiobutton "Marital Status" and the checkbox "AS".

      Attachments

        Activity

          People

            msahyoun Maruan Sahyoun
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: