aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/demo
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-02-11 13:51:37 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2011-02-11 13:51:37 +0000
commit8c93b081b6f66262bd32adb8beb849cfa3c58cf9 (patch)
tree1f998bbff01a5127b37561110602b0a763b4ab37 /src/main/java/demo
parenteae34b94fec4016a6476887b6d091a7bdc5941fc (diff)
downloadpdf-as-3-8c93b081b6f66262bd32adb8beb849cfa3c58cf9.tar.gz
pdf-as-3-8c93b081b6f66262bd32adb8beb849cfa3c58cf9.tar.bz2
pdf-as-3-8c93b081b6f66262bd32adb8beb849cfa3c58cf9.zip
added comment
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@746 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/demo')
-rw-r--r--src/main/java/demo/SignatureCreationDemo.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main/java/demo/SignatureCreationDemo.java b/src/main/java/demo/SignatureCreationDemo.java
index d42bc9e..32708b8 100644
--- a/src/main/java/demo/SignatureCreationDemo.java
+++ b/src/main/java/demo/SignatureCreationDemo.java
@@ -13,10 +13,6 @@ import at.gv.egiz.pdfas.api.io.DataSource;
import at.gv.egiz.pdfas.api.sign.SignParameters;
import at.gv.egiz.pdfas.api.sign.SignResult;
import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning;
-import at.gv.egiz.pdfas.api.sign.pos.axis.AbsoluteAxisAlgorithm;
-import at.gv.egiz.pdfas.api.sign.pos.page.AbsolutePageAlgorithm;
-import at.gv.egiz.pdfas.api.sign.pos.page.PageAlgorithm;
-import at.gv.egiz.pdfas.api.timestamp.DummyTimeStamper;
import at.gv.egiz.pdfas.io.FileBasedDataSink;
import at.gv.egiz.pdfas.io.FileBasedDataSource;
@@ -81,7 +77,7 @@ public class SignatureCreationDemo {
// based on default configuration
// note: any modifications are bound to the SignParameters object instance.
// It is not possible to permanently change profile configuration.
- signParameters.setProfileOverrideValue("SIG_NAME", "Max Mustermann");
+ signParameters.setProfileOverrideValue("SIG_NAME", "Max Mustermann"); // you may use expressions here like ${subject.EMAIL}
signParameters.setProfileOverrideValue("SIG_META", "This is a modified note.");
// sign