From 423a6c69234e7c47dd7f2771e527acecfb9d15a5 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 4 Nov 2014 11:46:09 +0100 Subject: Log output for Placeholder detection --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pdf-as-pdfbox/src/main/java') diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java index 0aa6d9a3..b01351b6 100644 --- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java +++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java @@ -140,14 +140,18 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants { if (signaturePlaceholderData != null) { // Placeholder found! - + logger.info("Placeholder data found."); if (signaturePlaceholderData.getProfile() != null) { + logger.debug("Placeholder Profile set to: " + signaturePlaceholderData.getProfile()); requestedSignature .setSignatureProfileID(signaturePlaceholderData .getProfile()); } tablePos = signaturePlaceholderData.getTablePos(); + if(tablePos != null) { + logger.debug("Placeholder Position set to: " + tablePos.toString()); + } } PDSignature signature = new PDSignature(); -- cgit v1.2.3