LibrePDF / OpenPDF

OpenPDF is a free Java library for creating and editing PDF files, with a LGPL and MPL open source license. OpenPDF is based on a fork of iText. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Other
3.5k stars 582 forks source link

Example code for RadioCheckField #1198

Open asturio opened 1 month ago

asturio commented 1 month ago

Is your feature request related to a problem? Please describe. We used to use RadioCheckField in 1.3.30 to create Radiogroups and Checkboxes. For that we used: getRadioField() and getCheckField(). These methods do not exist in 1.4 and 2.0 anymore, and the deprecation JavaDoc said use getKidField() and getFullField() respectively.

One of the problems if OpenPDF (since iText 2.1.7) is that the documentation is not really good, and the coverage is low, some changes may break the code more often than desired :-(

Describe the solution you'd like An example of the usage of the actual RadioCheckField would be great. Using:

Describe alternatives you've considered Alternatives could be:

asturio commented 1 month ago

@Lonzak Just opened this Issue, but maybe you can take a look at this one?