pdfbox-commits mailing list archives

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

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

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

Modified: pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java?rev=1747421&r1=1747420&r2=1747421&view=diff
==============================================================================
--- pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
(original)
+++ pdfbox/branches/2.0/examples/src/main/java/org/apache/pdfbox/examples/signature/CreateEmptySignatureForm.java
Wed Jun  8 17:06:52 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