[
https://issues.apache.org/jira/browse/PDFBOX-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16530211#comment-16530211
]
Maruan Sahyoun commented on PDFBOX-4256:
----------------------------------------
Seems that I to do a little more research.
>From the PDF 2.0 spec:
{quote}
The value of the V key shall also be the value of the AS key. If they are not
equal, then the value of the AS key shall be used instead of the V key to
determine which appearance to use.
{quote}
> 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: Improvement
> Components: AcroForm
> Affects Versions: 2.0.11
> Reporter: Tilman Hausherr
> Assignee: Maruan Sahyoun
> Priority: Major
> Attachments: SHIP_CCF_LastName_FirstName_YYYYMMDD_v1_Sample.pdf,
> SHIP_CCF_LastName_FirstName_YYYYMMDD_v1_Sample_data.xml
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]