[ 
https://issues.apache.org/jira/browse/PDFBOX-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099682#comment-14099682
 ] 

Andreas Lehmkühler commented on PDFBOX-2261:
--------------------------------------------

I've reorganized the creation/handling of acroform elements. I've lend the 
names John proposed for the new classes.
- PDFieldTreeNode is the superclass for all possible elements
- new class PDNonTerminalNode extends PDFieldTreeNode
- PDField extends PDFieldTreeNode
- inheritable fields (flags and fieldtype)
-- PDNonTerminalNode: provides the direct values only, it doesn't search the 
parent hierarchy
-- PDField: provides the direct values, iif not present, it searches the parent 
hierarchy
- inheritable fields (value and defaultvalue): TODO the usage is still 
inconsistent


> Extremely long hang during getFields() on a few PDF files
> ---------------------------------------------------------
>
>                 Key: PDFBOX-2261
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2261
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 1.8.6
>            Reporter: Tim Allison
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: 966679.pdf, RadioButtons.pdf, screenshot-pdfdebugger.png
>
>
> When I run oap.examples.fdf.PrintFields from trunk, the code seems to hang 
> during acroForm.getFields().  This is a heavy load hang.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to