pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1730883 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java
Date Wed, 17 Feb 2016 17:34:25 GMT
Author: tilman
Date: Wed Feb 17 17:34:25 2016
New Revision: 1730883

URL: http://svn.apache.org/viewvc?rev=1730883&view=rev
Log:
PDFBOX-3030: connect to parent page

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java?rev=1730883&r1=1730882&r2=1730883&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java
Wed Feb 17 17:34:25 2016
@@ -83,6 +83,7 @@ public final class CreateSimpleForm
         PDAnnotationWidget widget = textBox.getWidgets().get(0);
         PDRectangle rect = new PDRectangle(50, 750, 200, 50);
         widget.setRectangle(rect);
+        widget.setPage(page);
         
         // Add the annotation to the page
         page.getAnnotations().add(widget);



Mime
View raw message