summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2021-07-12 13:05:09 +0200
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2021-07-12 13:05:09 +0200
commitd6cdab72d792297bc9399a7ebfba251fb71cce90 (patch)
tree510b2650e12ce60c166a02c7b88c0c28f06042a4 /pdf-over-gui/src/main
parent0084d5cb86fb5e596de9894d3ad32276a2d8ce91 (diff)
downloadpdf-over-d6cdab72d792297bc9399a7ebfba251fb71cce90.tar.gz
pdf-over-d6cdab72d792297bc9399a7ebfba251fb71cce90.tar.bz2
pdf-over-d6cdab72d792297bc9399a7ebfba251fb71cce90.zip
Updated placeholder search implementation
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
index 9fe44e1c..e9f23b2c 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
@@ -157,11 +157,7 @@ public class OpenState extends State {
// second check if qr code placeholder search is enabled
} else if (getStateMachine().getConfigProvider().getUseMarker()) {
- // TODO FIX
-// SignaturePlaceholderExtractor extractor = new SignaturePlaceholderExtractor("1", 3, pddocument);
-// SignaturePlaceholderData signaturePlaceholderData = SignaturePlaceholderExtractor
-// .extract(pddocument, "1", 3); //$NON-NLS-1$
- SignaturePlaceholderData signaturePlaceholderData = new SignaturePlaceholderData( "profile", "type", "sigKey", "String ");
+ SignaturePlaceholderData signaturePlaceholderData = SignatureFieldsExtractor.getNextSignaturePlaceHolder(pddocument);
if (null != signaturePlaceholderData) {