You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2023/06/01 17:33:24 UTC

svn commit: r1910171 - /pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateRadioButtons.java

Author: tilman
Date: Thu Jun  1 17:33:24 2023
New Revision: 1910171

URL: http://svn.apache.org/viewvc?rev=1910171&view=rev
Log:
PDFBOX-5614: set print flag

Modified:
    pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateRadioButtons.java

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateRadioButtons.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateRadioButtons.java?rev=1910171&r1=1910170&r2=1910171&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateRadioButtons.java (original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateRadioButtons.java Thu Jun  1 17:33:24 2023
@@ -78,6 +78,7 @@ public class CreateRadioButtons
         {
             PDAnnotationWidget widget = new PDAnnotationWidget();
             widget.setRectangle(new PDRectangle(30, PDRectangle.A4.getHeight() - 40 - i * 35, 30, 30));
+            widget.setPrinted(true);
             widget.setAppearanceCharacteristics(appearanceCharacteristics);
             PDBorderStyleDictionary borderStyleDictionary = new PDBorderStyleDictionary();
             borderStyleDictionary.setWidth(2);