diff options
author | Thomas <> | 2023-06-26 21:11:26 +0200 |
---|---|---|
committer | Thomas <> | 2023-06-26 21:11:26 +0200 |
commit | 8e0ccca7cfd1680e33737e0db8d6e1091661568c (patch) | |
tree | 33ae7a462976eecbda355921706412a1ff60131a /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper | |
parent | 203eaa42d83da699ed9cc6c7e286906b5aeb6d44 (diff) | |
download | pdf-as-4-8e0ccca7cfd1680e33737e0db8d6e1091661568c.tar.gz pdf-as-4-8e0ccca7cfd1680e33737e0db8d6e1091661568c.tar.bz2 pdf-as-4-8e0ccca7cfd1680e33737e0db8d6e1091661568c.zip |
refact(placeholder): clean-up, bugfix and optimize QR-Code placeholder detection
Major re-factoring of QR-Code detection with huge clean-up of code.
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java index b29228c0..3ac91cab 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java @@ -536,7 +536,8 @@ public class PdfAsHelper { // set Signature Position signParameter.setSignaturePosition(documentToSign.getPosition()); - + signParameter.setPlaceHolderId(documentToSign.getPlaceHolderId()); + // Set Preprocessor if (coreParams.getPreprocessor() != null) { signParameter.setPreprocessorArguments(coreParams.getPreprocessor()); @@ -660,7 +661,8 @@ public class PdfAsHelper { // set Signature Position signParameter.setSignaturePosition(pdfToSign.getPosition()); - + signParameter.setPlaceHolderId(pdfToSign.getPlaceHolderId()); + signParameter.setDynamicSignatureBlockArguments(coreSignParams.getSignatureBlockParameters()); return pdfAs.startSign(signParameter); |