[
https://issues.apache.org/jira/browse/PDFBOX-3828?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16046725#comment-16046725
]
ASF subversion and git services commented on PDFBOX-3828:
---------------------------------------------------------
Commit 1798486 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1798486 ]
PDFBOX-3828: generate appearance stream for multiselect listboxes, correct
vertical size/position of highlighted part, don't have at least one element
highlighted
> Generate appearance stream for multiselect listboxes
> ----------------------------------------------------
>
> Key: PDFBOX-3828
> URL: https://issues.apache.org/jira/browse/PDFBOX-3828
> Project: PDFBox
> Issue Type: Improvement
> Components: AcroForm
> Affects Versions: 2.0.6
> Reporter: Tilman Hausherr
> Fix For: 2.0.7, 3.0.0
>
> Attachments: SO44456172-AcroForm-empty.pdf, SO44456172-AcroForm.pdf
>
>
> {{AppearanceGeneratorHelper.insertGeneratedSelectionHighlight()}} does not
> yet support multiselect listboxes. Two other problems are that the positions
> are incorrect (at least with the attached file), and that it insists on
> having at least one element selected. IMHO it is allowed to have none element
> selected in a listbox, see attached "empty" file, which I created by saving a
> file with Adobe Reader that had "needAppearances" set.
> I expanded the existing code for multiselect, and corrected the position
> problem with some trial-and-error.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]