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 2017/11/25 16:11:56 UTC
svn commit: r1816314 -
/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java
Author: tilman
Date: Sat Nov 25 16:11:56 2017
New Revision: 1816314
URL: http://svn.apache.org/viewvc?rev=1816314&view=rev
Log:
PDFBOX-2852: clarify comment
Modified:
pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java
Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java?rev=1816314&r1=1816313&r2=1816314&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java (original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleFormWithEmbeddedFont.java Sat Nov 25 16:11:56 2017
@@ -73,7 +73,7 @@ public class CreateSimpleFormWithEmbedde
textBox.setDefaultAppearance(defaultAppearanceString);
acroForm.getFields().add(textBox);
- // Specify the annotation associated with the field
+ // Specify the widget annotation associated with the field
PDAnnotationWidget widget = textBox.getWidgets().get(0);
PDRectangle rect = new PDRectangle(50, 700, 200, 50);
widget.setRectangle(rect);