summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java12
1 files changed, 5 insertions, 7 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 5a488a75..9fe44e1c 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,9 +157,11 @@ public class OpenState extends State {
// second check if qr code placeholder search is enabled
} else if (getStateMachine().getConfigProvider().getUseMarker()) {
-// SignaturePlaceholderExtractor extractor = new SignaturePlaceholderExtractor()
- SignaturePlaceholderData signaturePlaceholderData = SignaturePlaceholderExtractor
- .extract(pddocument, "1", 3); //$NON-NLS-1$
+ // 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 ");
if (null != signaturePlaceholderData) {
@@ -194,10 +196,6 @@ public class OpenState extends State {
// Do nothing
}
- } catch (PdfAsException e) {
- // fail silently. In case we got here no dialog has been shown.
- // Just
- // proceed with the usual process.
} catch (IOException e) {
// fail silently. In case we got here no dialog has been shown.
// Just