Am 07.11.2019 um 14:07 schrieb Jason Pyeron:
Most of the form is saving and displaying just fine, since we carefully
call setNeedToBeUpdated(true) after setting fields.
Radio buttons seem to require a bit more. The actual value is there, but the
display appearance is blank when going from Off to value, and the old value
display is still shown when from going from old value to new value.
Where is this properly documented? I have reviewed the examples, pdfbox
website, stackoverflow, google, etc.
It's not documented, the whole incremental thing is hard to understand
even for me... I suspect you need to add "setNeedToBeUpdated(true)" on
the appearance state / dictionary too. Do a normal save and then look at
your PDF with PDFDebugger to see what's in the field / the annotation.
Then do an incrementalSave and look whether something is missing.
It may also be possible that you can profit from the experimental branch
from PDFBOX-45 (pdfbox/branches/issue45). See the comments around April
2019.
Tilman
v/r,
Jason
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org