[
https://issues.apache.org/jira/browse/PDFBOX-2582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun reassigned PDFBOX-2582:
--------------------------------------
Assignee: Maruan Sahyoun
> Form fields missing entirely or incorrect in PDField list
> ---------------------------------------------------------
>
> Key: PDFBOX-2582
> URL: https://issues.apache.org/jira/browse/PDFBOX-2582
> Project: PDFBox
> Issue Type: Bug
> Components: AcroForm
> Affects Versions: 1.8.8, 2.0.0
> Environment: Windows 7, JRE 1.8.0_25
> Reporter: Gilad Denneboom
> Assignee: Maruan Sahyoun
> Labels: acroform
> Attachments: Rollover Mock 5.pdf
>
>
> Running this code on the attached file results in incorrect and missing
> results:
> PDDocument doc = PDDocument.load( new File(filePath) );
> PDAcroForm form = doc.getDocumentCatalog().getAcroForm();
> List<PDField> fields = form.getFields();
> for ( int i=0; i<fields.size(); i++ ) {
> System.out.println("Name:" + fields.get(i).getFullyQualifiedName());
> }
> The output is:
> Name:2
> Name:Step 2
> Name:Image 2
> Name:Button 2
> Name:Button 5
> Name:Image 5
> The file was generated in InDesign and the form fields created there, so they
> should be recognizable. You can see that the part of the form fields after
> the dot was removed and the two fields on page 4 are missing entirely.
> I tested it using 1.8.8 and a very recent 2.0.0 snapshot, both yielded the
> same results.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)