You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/07/07 13:27:00 UTC

[jira] [Comment Edited] (PDFBOX-3857) Can not extract exported values for PDRadioButton

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

Tilman Hausherr edited comment on PDFBOX-3857 at 7/7/17 1:26 PM:
-----------------------------------------------------------------

From the javadoc:
{quote}
The export values are defined in the field dictionaries /Opt key.

...

Returns:
List containing all possible export values. If there is no Opt entry an empty list will be returned. 
{quote}
There is no /Opt entry. What made you think that there is one? It is not mandatory.


was (Author: tilman):
From the javadoc:
{quote}
The export values are defined in the field dictionaries /Opt key.

...

Returns:
List containing all possible export values. If there is no Opt entry an empty list will be returned. 
{code}
There is no /Opt entry. What made you think that there is one?

> Can not extract exported values for  PDRadioButton
> --------------------------------------------------
>
>                 Key: PDFBOX-3857
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3857
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.2
>         Environment: Linux, Java
>            Reporter: Miloslav KonopĂ­k
>              Labels: newbie
>         Attachments: form-test.pdf
>
>
> It seems that it is not possible to extract exported values for PDRadioButton or PDCheckBox.
> The command ((PDRadioButton) field).getExportValues() always returns an empty list.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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