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/06/12 15:33:00 UTC

[jira] [Updated] (PDFBOX-3827) Setting empty values on listbox keeps marked item

     [ https://issues.apache.org/jira/browse/PDFBOX-3827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-3827:
------------------------------------
    Attachment: SO44456172-AcroForm.pdf

> Setting empty values on listbox keeps marked item
> -------------------------------------------------
>
>                 Key: PDFBOX-3827
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3827
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.6
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.7, 3.0.0
>
>         Attachments: SO44456172-AcroForm.pdf
>
>
> {code:java}
> PDListBox multiListBox = (PDListBox) acroForm.getField("multiple_listbox");
> multiListBox.setValue(new ArrayList<>());
> {code}
> When looking at the file with Adobe Reader, there is still an element selected.
> The cause is that the /I entry isn't removed.



--
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