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/01/11 19:50:34 UTC
[jira] [Resolved] (PDFBOX-2582) Form fields missing entirely or
incorrect in PDField list
[ https://issues.apache.org/jira/browse/PDFBOX-2582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maruan Sahyoun resolved PDFBOX-2582.
------------------------------------
Resolution: Not a Problem
The software works as designed here. Follow up issue created to enhance the user experience.
> 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
> Fix For: 1.8.9, 2.0.0
>
> 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)