pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (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 Sat, 30 Jun 2018 10:49:00 GMT

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

Tilman Hausherr commented on PDFBOX-4256:

The model hasn't been "pure" for some time... the best example are the extras done when setting
a field value, e.g. in {{PDButton.updateByValue}}. I'm wondering how other tools would see
this file, i.e. would they consider the value set or empty? I'm also wondering how this file
was created. If it was really exported from WORD 2010 then we may encounter others in the

> 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

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