aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-cli/src
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-12-12 11:52:54 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2013-12-12 11:52:54 +0100
commit14c2411f9c8b96c19ea79004cc66e13cbb73f250 (patch)
tree966cb8470c9503ea7fba54c9818e52f1bff5d682 /pdf-as-cli/src
parent4be6889e90dff021cc625649f013c428b2ef4a47 (diff)
downloadpdf-as-4-14c2411f9c8b96c19ea79004cc66e13cbb73f250.tar.gz
pdf-as-4-14c2411f9c8b96c19ea79004cc66e13cbb73f250.tar.bz2
pdf-as-4-14c2411f9c8b96c19ea79004cc66e13cbb73f250.zip
Fixing std pos string for cli
Diffstat (limited to 'pdf-as-cli/src')
-rw-r--r--pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
index b930b107..eeff47c7 100644
--- a/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
+++ b/pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java
@@ -233,7 +233,7 @@ public class Main {
if (cli.hasOption(CLI_ARG_POSITION_SHORT)) {
positionString = cli.getOptionValue(CLI_ARG_POSITION_SHORT);
} else {
- positionString = STANDARD_POSITION_STRING;
+ positionString = null;
}
String profilID = null;
@@ -355,6 +355,7 @@ public class Main {
signParameter.setSignaturePosition(positionString);
signParameter.setSignatureProfileId(profilID);
System.out.println("Starting signature for " + pdfFile);
+ System.out.println("Selected signature Profile " + profilID);
SignResult result = pdfAs.sign(signParameter);
FileOutputStream fos = new FileOutputStream(outputPdfFile, false);