Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Gilad Denneboom
Here it is: https://issues.apache.org/jira/browse/PDFBOX-5637 On Sat, Jul 15, 2023 at 4:49 PM Gilad Denneboom wrote: > Will do! > > Thanks, Maruan. > > On Sat, Jul 15, 2023 at 12:29 PM sahy...@fileaffairs.de < > sahy...@fileaffairs.de> wrote: > >> >> >> Am Samstag, dem 15.07.2023 um 11:04 +0200

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Gilad Denneboom
Will do! Thanks, Maruan. On Sat, Jul 15, 2023 at 12:29 PM sahy...@fileaffairs.de < sahy...@fileaffairs.de> wrote: > > > Am Samstag, dem 15.07.2023 um 11:04 +0200 schrieb Gilad Denneboom: > > The CO-array (no spelling-mistake) is a part of the AcroForm object, > > which > > defines the order in w

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Gilad Denneboom
Not sure why you say it was not related... It is related because what this array contains are indirect references to the fields, and I thought the field objects themselves could be accessed using the reference numbers. It turns out not to be the case, but it's still relevant. On Sat, Jul 15, 2023

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Tilman Hausherr
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

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread sahy...@fileaffairs.de
Am Samstag, dem 15.07.2023 um 11:04 +0200 schrieb Gilad Denneboom: > 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.

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Gilad Denneboom
On an unrelated note, I keep getting an error message from tolenmil...@gmail.com whenever I send an email to this mailing-list. Could they maybe be removed from it? On Sat, Jul 15, 2023 at 10:50 AM Tilman Hausherr wrote: > I don't know what you mean with "CO array", I thought this was a typo > b

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Gilad Denneboom
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 PD

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Tilman Hausherr
I don't know what you mean with "CO array", I thought this was a typo because your image does not have a "CO" array. Re "but they seem to be quite oblique" - please try to run .getObject() on them. PDField.createField() does not create a new field, it just creates the PD-Object from a COSDic

Re: Find field via the Indirect Reference number to it

2023-07-15 Thread Gilad Denneboom
The CO array contains COSObjects, yes, but they seem to be quite oblique, with nothing more than a reference number. Are you saying I can use the COSObject itself to find the field? If so, how? Note I'm not trying to create new fields, just locate the existing ones referenced in this array. On Sat