aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox-2/src/main/java
diff options
context:
space:
mode:
authoremusic <emina.music@egiz.gv.at>2020-01-29 16:01:18 +0100
committeremusic <emina.music@egiz.gv.at>2020-01-29 16:01:18 +0100
commit83ed17d71280c2e40995b17f8ef97ac76ba62e67 (patch)
tree13b0aab55ffb3fd26204b25d68bdc1dfe8931d03 /pdf-as-pdfbox-2/src/main/java
parentcc3e985f2ed5c78b04f494feb2abdb534479a06e (diff)
downloadpdf-as-4-83ed17d71280c2e40995b17f8ef97ac76ba62e67.tar.gz
pdf-as-4-83ed17d71280c2e40995b17f8ef97ac76ba62e67.tar.bz2
pdf-as-4-83ed17d71280c2e40995b17f8ef97ac76ba62e67.zip
set placeholder location if there is placeholder data
Diffstat (limited to 'pdf-as-pdfbox-2/src/main/java')
-rw-r--r--pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java
index aa61d623..d657ae79 100644
--- a/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java
+++ b/pdf-as-pdfbox-2/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java
@@ -161,6 +161,7 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants {
TablePos tablePos = null;
+ if(signaturePlaceholderData!=null)
signature.setLocation(signaturePlaceholderData.getPlaceholderName());
if (signaturePlaceholderData != null) {