[
https://issues.apache.org/jira/browse/PDFBOX-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14950227#comment-14950227
]
Maruan Sahyoun commented on PDFBOX-2639:
----------------------------------------
This allows to set the value using PDField.setValue() and avoids the casts
necessary prior to the change. For PDSignature this is not possible so will
throw {{UnsupportedOperationException}} which I documented in the javadoc.
> Enhance the AcroForms related API
> ---------------------------------
>
> Key: PDFBOX-2639
> URL: https://issues.apache.org/jira/browse/PDFBOX-2639
> Project: PDFBox
> Issue Type: Improvement
> Components: AcroForm
> Reporter: Maruan Sahyoun
> Priority: Minor
> Fix For: 2.1.0
>
>
> This is a general issue to gather input for potential enhancements to use
> PDFBox for forms creation and filling. Sub tasks to that issue will track
> individual enhancements which might result from that input.
> Possible enhancements
> - -currently getWidget() only returns a single Widget but a field might have
> multiple- > use getWidgets()
> - adding a Widget to already existing ones could be simplified
> - working with Widgets within RadioButtons might be enhanced to easier
> check/uncheck a Radiobutton option
> - make it easier to set the fields value
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]