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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to