[
https://issues.apache.org/jira/browse/PDFBOX-3683?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun updated PDFBOX-3683:
-----------------------------------
Description:
Setting the value for a radio button the behavior is unexpected as when setting
the value the entries in {{/Opts}} need to be used is there is such entry
otherwise the names for the {{On}} values in the normal appearances entries
need to be used. When getting the value always the set names entry is returned.
Also see the discussion at PDFBOX-3656.
The {{/Opts}} entries shall only be considered when exporting or importing the
AcroForm fields data.
was:
Setting the value for a radio button the behavior is unexpected as when setting
the value the entries in {/Opts} need to be used is there is such entry
otherwise the names for the {{On}} values in the normal appearances entries
need to be used. When getting the value always the set names entry is returned.
Also see the discussion at PDFBOX-3656.
The {{/Opts}} entries shall only be considered when exporting or importing the
AcroForm fields data.
> Unexpected behavior when setting value for radio button with /Opts entry
> -------------------------------------------------------------------------
>
> Key: PDFBOX-3683
> URL: https://issues.apache.org/jira/browse/PDFBOX-3683
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.4, 2.0.5, 2.1.0
> Reporter: Maruan Sahyoun
> Fix For: 2.1.0
>
>
> Setting the value for a radio button the behavior is unexpected as when
> setting the value the entries in {{/Opts}} need to be used is there is such
> entry otherwise the names for the {{On}} values in the normal appearances
> entries need to be used. When getting the value always the set names entry is
> returned.
> Also see the discussion at PDFBOX-3656.
> The {{/Opts}} entries shall only be considered when exporting or importing
> the AcroForm fields data.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]