pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1747420 - /pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
Date Wed, 08 Jun 2016 17:06:24 GMT
Author: tilman
Date: Wed Jun  8 17:06:24 2016
New Revision: 1747420

URL: http://svn.apache.org/viewvc?rev=1747420&view=rev
Log:
PDFBOX-3373: add signature field to acroform field list

Modified:
    pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java

Modified: pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java?rev=1747420&r1=1747419&r2=1747420&view=diff
==============================================================================
--- pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
(original)
+++ pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
Wed Jun  8 17:06:24 2016
@@ -76,6 +76,7 @@ public final class CreateEmptySignatureF
         widget.setPage(page);
         page.getAnnotations().add(widget);
         
+        acroForm.getFields().add(signatureField);        
 
         document.save("target/EmptySignatureForm.pdf");
         document.close();



Mime
View raw message