summaryrefslogtreecommitdiff
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
parent0084d5cb86fb5e596de9894d3ad32276a2d8ce91 (diff)
downloadpdf-over-d6cdab72d792297bc9399a7ebfba251fb71cce90.tar.gz
pdf-over-d6cdab72d792297bc9399a7ebfba251fb71cce90.tar.bz2
pdf-over-d6cdab72d792297bc9399a7ebfba251fb71cce90.zip
Updated placeholder search implementation
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java6
-rw-r--r--pdf-over-signer/pdf-over-sigpdfas4/pom.xml7
2 files changed, 7 insertions, 6 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) {
diff --git a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
index c5c57d50..6664c8f6 100644
--- a/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
+++ b/pdf-over-signer/pdf-over-sigpdfas4/pom.xml
@@ -10,7 +10,7 @@
<name>PDF-Over PDF-AS 4 Signer</name>
<properties>
<project.maindir>${project.basedir}/../..</project.maindir>
- <pdf-as.version>4.2.0</pdf-as.version>
+ <pdf-as.version>4.2.0-pdfOver</pdf-as.version>
</properties>
<dependencies>
<dependency>
@@ -67,6 +67,11 @@
<url>https://apps.egiz.gv.at/maven/</url>
</repository>
<repository>
+ <id>EGIZ Maven Snapshot</id>
+ <name>EGIZ Maven Snapshot Repository</name>
+ <url>https://apps.egiz.gv.at/maven-snapshot/</url>
+ </repository>
+ <repository>
<id>local-repo</id>
<url>file://${project.maindir}/repo</url>
</repository>