You may also have to add the appearance stream dictionaries to the update list.

field.getWidgets().get(0).getAppearanceCharacteristics().getCOSObject()
        field.getWidgets().get(0).getAppearance().getCOSObject()
field.getWidgets().get(0).getAppearance().getNormalAppearance().getCOSObject()

This may be too much or not be complete, the best would be to look at it with PDFDebugger.

Tilman

Am 25.08.2022 um 08:55 schrieb Tilman Hausherr:
Hi,

Checkboxes are updated with check() and unCheck().

If it still doesn't work, please upload the result file somewhere.

Tilman



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to