aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-11-04 11:46:09 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-11-04 11:46:09 +0100
commit423a6c69234e7c47dd7f2771e527acecfb9d15a5 (patch)
treedceddcea8819554fe4b1494b841edde4c8976a16 /pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib
parent865748fad0446ba7a5012fc45a778bb5e79532bd (diff)
downloadpdf-as-4-423a6c69234e7c47dd7f2771e527acecfb9d15a5.tar.gz
pdf-as-4-423a6c69234e7c47dd7f2771e527acecfb9d15a5.tar.bz2
pdf-as-4-423a6c69234e7c47dd7f2771e527acecfb9d15a5.zip
Log output for Placeholder detection
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib')
-rw-r--r--pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java6
1 files changed, 5 insertions, 1 deletions
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();