From 83ed17d71280c2e40995b17f8ef97ac76ba62e67 Mon Sep 17 00:00:00 2001 From: emusic Date: Wed, 29 Jan 2020 16:01:18 +0100 Subject: set placeholder location if there is placeholder data --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox2/PADESPDFBOXSigner.java | 1 + 1 file changed, 1 insertion(+) (limited to 'pdf-as-pdfbox-2/src/main/java/at/gv') 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) { -- cgit v1.2.3