[ https://issues.apache.org/jira/browse/PDFBOX-2631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296832#comment-14296832 ]
Maruan Sahyoun commented on PDFBOX-2631: ---------------------------------------- API wise this is correct as getKids() is supposed to return the /Kids dictionary key. What could be enhanced though is getting/setting the Widgets as - currently getWidget() only returns a single Widget but a field might have multiple - 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 I’ve created PDFBOX-2639 to gather input about enhancing the usage of PDFBox for forms creation and filling. Please feel free to add to that. > Single radio-button group has no children > ----------------------------------------- > > Key: PDFBOX-2631 > URL: https://issues.apache.org/jira/browse/PDFBOX-2631 > Project: PDFBox > Issue Type: Bug > Components: AcroForm > Affects Versions: 1.8.8 > Environment: Windows 7, Eclipse, JRE 1.8.0_25 > Reporter: Gilad Denneboom > Assignee: Maruan Sahyoun > Priority: Minor > Attachments: test2.pdf > > > (Continuation of https://issues.apache.org/jira/browse/PDFBOX-2617) > A group of radio-buttons is an object of the PDRadioCollection class and each > child of that group is an PDCheckbox object. > However, if the group only contains one widget the getKids method of the > PDRadioCollection object returns null. > There should be at least one child for any such group. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org