From 0084d5cb86fb5e596de9894d3ad32276a2d8ce91 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Mon, 12 Jul 2021 12:12:46 +0200 Subject: Added additional tooltip text for the PDF/A option --- .../java/at/asit/pdfover/gui/workflow/states/OpenState.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'pdf-over-gui/src/main/java/at') 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 -- cgit v1.2.3