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

Maruan Sahyoun commented on PDFBOX-2516:
----------------------------------------

[~lehmi] As part of PDFBOX-2261 e.g. when setting the value for a PDRadioButton 
a RuntimeException is thrown if the value is not a COSName. Could that be 
changed to
 - either using an IOException so it’s easier to handle and be inline with most 
of the exceptions we throw
 - be implemented differently so setValue is not a method of the parent class 
but child classes implement them individually so type constraints could be 
reflected in the method parameters so the method signature would provide a hint?

WDYT?

> Further align AcroForms and Fields PDModel with PDF specification
> -----------------------------------------------------------------
>
>                 Key: PDFBOX-2516
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2516
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>
> The PDModel for AcroForms and the fields being part of it  
> (o.a.p.pdmodel.interactive.form) needs to be enhanced. Sample issues:
>  - RadioButton and Checkbox don’t support DV entries although they should
>  - inheritable attributes only support inheritance either form their parent 
> or the root of the AcroForms model which is not inline with the specification



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to