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:46:01 UTC

[jira] [Created] (PDFBOX-3828) Generate appearance stream for multiselect listboxes

Tilman Hausherr created PDFBOX-3828:
---------------------------------------

             Summary: 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org