Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3827

Setting empty values on listbox keeps marked item

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.6
    • 2.0.7, 3.0.0 PDFBox
    • AcroForm
    • None

    Description

      PDListBox multiListBox = (PDListBox) acroForm.getField("multiple_listbox");
      multiListBox.setValue(new ArrayList<>());
      

      When looking at the file with Adobe Reader, there is still an element selected.

      The cause is that the /I entry isn't removed.

      Attachments

        1. SO44456172-AcroForm.pdf
          46 kB
          Tilman Hausherr

        Activity

          People

            tilman Tilman Hausherr
            tilman Tilman Hausherr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: