Hi Martin, I've created https://issues.apache.org/jira/browse/PDFBOX-2640 and already have a fix for that which I committed in rev. 1655672 - thanks for bringing that up.
The printout of PrintFields is now 1 top-level fields were found on the form |--topmostSubform[0] | |--topmostSubform[0].Page1[0] | | |--topmostSubform[0].Page1[0]._01_Subtitul[0] = [vybrat:], type=org.apache.pdfbox.pdmodel.interactive.form.PDComboBox | | |--topmostSubform[0].Page1[0]._02_Registrovany_Nazev[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._03_Ulice[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._04_Mesto[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._05_PSC[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._06_Prijmeni[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._07_Jmeno[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._08_Titul[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._09_Funkce[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._10_Tel\ | | | |--topmostSubform[0].Page1[0]._10_Tel\._1[0] = , type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField | | |--topmostSubform[0].Page1[0]._11_Tel\ Best regards Maruan Am 29.01.2015 um 14:35 schrieb Martin Jelínek <[email protected]>: > Hello everyone, > > I'm using latest PDFBox 2.0.0 snaphots for filling out a form. Processing was > working fine both for AcroForm fields and for XFA, but latest changes > (probably sometimes between Jan 22 - Jan 25) caused that fields in a form are > not discovered. > > The file I'm using is available here: http://www.msmt.cz/file/34489_1_1/ > > When I run PrintFields from examples - > http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/fdf/PrintFields.java?view=markup > - on the file, the output I get is: > 1 top-level fields were found on the form > |--topmostSubform[0] > > But when I use older version of 2.0.0 branch, all fields are printed: > 1 top-level fields were found on the form > |--topmostSubform[0] > | |--topmostSubform[0].Page1[0] > | | |--topmostSubform[0].Page1[0]._01_Subtitul[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDComboBox > | | |--topmostSubform[0].Page1[0]._02_Registrovany_Nazev[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > | | |--topmostSubform[0].Page1[0]._03_Ulice[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > | | |--topmostSubform[0].Page1[0]._04_Mesto[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > | | |--topmostSubform[0].Page1[0]._05_PSC[0], > type=org.apache.pdfbox.pdmodel.interactive.form.PDTextField > ... > > The problem seems to be at the line: > List<COSObjectable> kids = field.getKids(); > The list is empty for the top-level field. Anyone has a clue what could be > wrong? > > Best regards, > Martin Jelinek > > -- > [email protected] > http://www.barinka.net/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >

