pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-4256) Can't get CheckBox / RadioButton value if /V entry missing but widget /AS entries present
Date Wed, 04 Jul 2018 06:33:00 GMT

    [ https://issues.apache.org/jira/browse/PDFBOX-4256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532321#comment-16532321

ASF subversion and git services commented on PDFBOX-4256:

Commit 1835045 from msahyoun@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1835045 ]

PDFBOX-4256: use Off as the default value for a button field in case there is no value set
-> see PDF spec

> 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
>             Fix For: 3.0.0 PDFBox
>         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

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org

View raw message