[ https://issues.apache.org/jira/browse/PDFBOX-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528156#comment-16528156 ]
Maruan Sahyoun commented on PDFBOX-4256: ---------------------------------------- If we agree that the PDModel is moving towards an "application" logic -> yes. Currently the PDModel is an abstraction of the underlying low level PDF objects. If we implement that there is no PDModel way to get that there is no value set. > Can't get CheckBox / RadioButton value if /V entry missing but widget /AS > entries present > ----------------------------------------------------------------------------------------- > > Key: PDFBOX-4256 > URL: https://issues.apache.org/jira/browse/PDFBOX-4256 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 2.0.11 > Reporter: Tilman Hausherr > Priority: Major > Attachments: SHIP_CCF_LastName_FirstName_YYYYMMDD_v1_Sample.pdf > > > 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". -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org