You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2015/02/03 02:34:34 UTC
[jira] [Resolved] (PDFBOX-2640) Fields within a fields kids entry
are not correctly recognized
[ https://issues.apache.org/jira/browse/PDFBOX-2640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maruan Sahyoun resolved PDFBOX-2640.
------------------------------------
Resolution: Fixed
Fields within /Kids entries are properly resolved
> Fields within a fields kids entry are not correctly recognized
> ---------------------------------------------------------------
>
> Key: PDFBOX-2640
> URL: https://issues.apache.org/jira/browse/PDFBOX-2640
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 2.0.0
> Reporter: Maruan Sahyoun
> Assignee: Maruan Sahyoun
> Fix For: 2.0.0
>
>
> From the users mailing list:
> 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?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org