Hi, can you upload the PDF in question to a public location to take a view. Attachments won't work for the mailing list.
BR Maruan Am Donnerstag, dem 02.05.2024 um 12:01 +0200 schrieb Ulf Dittmer: > Hi- > > I'm running the PrintFields example code > (https://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java > /org/apache/pdfbox/examples/interactive/form/PrintFields.java) to > find all the form field names for a PDF, but it's missing a checkbox > that I'd need to set. > > The checkbox in question is on page 5, no. 46 "pro Monat". The "pro > Stunde" checkbox is there, as are the two text fields. > > The relevant output of PrintFields is > > txtf_46_Entgelt_pro_Stunde > |--txtf_46_Entgelt_pro_Stunde.txtf_46_Entgelt_pro_Stunde = , > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > alternate name=46 - Höhe und Berechnungsart des Arbeitsentgelts - > Entgelt pro Stunde (brutto in Euro), mapping name=null > flags=8388608, isNoExport=false, isReadOnly=false, isRequired=false > chbx_46_Arbeitsentgelt > |--chbx_46_Arbeitsentgelt.chbx_46_Arbeitsentgelt = Off, > type=org.apache.pdfbox.pdmodel.interactive.form.PDCheckBox > alternate name=46 - Höhe und Berechnungsart des Arbeitsentgelts, > mapping name=null > flags=0, isNoExport=false, isReadOnly=false, isRequired=false > txtf_46_Entgelt_pro_Monat > |--txtf_46_Entgelt_pro_Monat.txtf_46_Entgelt_pro_Monat = , > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > alternate name=46 - Höhe und Berechnungsart des Arbeitsentgelts - > Entgelt pro Monat (brutto in Euro), mapping name=null > flags=8388608, isNoExport=false, isReadOnly=false, isRequired=false > > Is the PDF broken in some way, or am I missing something? > > Let me know if I can supply any further information. I'd be thankful > for any additional information. > > Ulf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org > For additional commands, e-mail: users-h...@pdfbox.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org