[ 
https://issues.apache.org/jira/browse/PDFBOX-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Hewson updated PDFBOX-1982:
--------------------------------

    Affects Version/s: 2.0.0

> Standardise AcroForm Fields
> ---------------------------
>
>                 Key: PDFBOX-1982
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1982
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: AcroForm
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>
> While working on adding the patch in PDFBOX-1847 I noticed that the digital 
> signature form field, PDSignature is deprecated, having been replaced by 
> PDSignatureField.
> Currently some aspects of the fields do not correspond with the PDF 
> specification, in particular the hierarchy of the fields and their naming. 
> There are currently 43 open issues for the AcroForm component and no issues 
> have been closed since 2011, so I've attempted some basic refactoring to give 
> us a clean slate for adding new features and fixing old bugs.
> Here's the current hierarchy of fields in PDFBox:
> PDField
>     PDChoiceButton
>         PDCheckbox
>         PDRadioCollection
>     PDPushButton
>     PDSignatureField
>     PDUnknownField
>     PDVariableText
>         PDChoiceField
>         PDTextbox
> And here's the actual hierarchy from the PDF specification:
> Field
>     Button
>         Check Box
>         Radio Button
>         Pushbutton
>     Text
>     Choice
>         List Box
>         Combo Box
>     Signature
> Note that PDPushButton is in the wrong place in the hierarchy and List Box 
> and Combo Box are missing.



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

Reply via email to