PdfBox-Android icon indicating copy to clipboard operation
PdfBox-Android copied to clipboard

Give the possability to use a Cross/X to check a PDCheckBox

Open Backfisch145 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. In our usecase, we want to be able to use an X instead of a check, to mark a PDCheckBox as checked.

Describe the solution you'd like It would be perfect if you could use a function like .checkCross() or something like that, that draws an X instead of a check

Check the type of feature request:

  • [ ] Feature available in a newer PDFBox desktop version
  • [ ] Feature not yet ported to PdfBox-Android
  • [x] Other

Additional context None

Backfisch145 avatar Aug 02 '23 13:08 Backfisch145

See the CreateCheckBox.java example in PDFBox for desktop. The cross would be done by calling appearanceCharacteristics.setNormalCaption("4");.

THausherr avatar Aug 22 '23 13:08 THausherr