On 15.07.2023 11:04, Gilad Denneboom wrote:
The CO-array (no spelling-mistake) is a part of the AcroForm object, which
defines the order in which fields are calculated (see Table 218 in the PDF
ISO specs). But it only contains (indirect) references to the fields.

However, your tip put me on the right path and I was able to get the actual
PDField objects by comparing the values in this array to the
values returned by the getCOSObject method of the PDFields under PDAcroForm.

It would actually be nice to have a direct getter and setter for it under
PDAcroForm... Maybe in future versions?

So your image had nothing to do with your request.

Please share such a PDF. It should be possible to make such a change, and wouldn't be difficult. The only problem is that the PD object wouldn't be the same PD object than when received from AcroForm (but still the same COSObject).

Tilman

PS I've just tried to unsubscribe that annoying user using my moderator status but haven't received a confirmation.


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

Reply via email to