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)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment