You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/12 15:36:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16046690#comment-16046690 ] 

ASF subversion and git services commented on PDFBOX-3827:
---------------------------------------------------------

Commit 1798480 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1798480 ]

PDFBOX-3827: remove /I entry when /V entry is removed

> 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