From 14c2411f9c8b96c19ea79004cc66e13cbb73f250 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 12 Dec 2013 11:52:54 +0100 Subject: Fixing std pos string for cli --- pdf-as-cli/src/main/java/at/gv/egiz/pdfas/cli/Main.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3