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 +++++------- .../main/resources/at/asit/pdfover/gui/messages.properties | 2 +- .../resources/at/asit/pdfover/gui/messages_de.properties | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) (limited to 'pdf-over-gui') 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 diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties index 6ad3466e..8304a2d4 100644 --- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties @@ -28,7 +28,7 @@ advanced_config.OutputFolder.Dialog_Title=Select Output folder advanced_config.OutputFolder_Title=&Output settings advanced_config.OutputFolder_ToolTip=Select the folder where the signed document will be saved automatically (clear this field to disable automatic saving, enter a single dot (".") to denote the input document directory) advanced_config.PdfACompat=PDF/A compatibility -advanced_config.PdfACompat_ToolTip=Whether to make signature PDF/A compatible (increases pdf size) +advanced_config.PdfACompat_ToolTip=Whether to make the signature PDF/A compatible (increases pdf size). This option requires a source document that is already in PDF/A format. advanced_config.Placeholder_Enabled=Enable placeholder search advanced_config.Placeholder_Title=Placeholder advanced_config.ProxyHost=Host\: diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties index 033df83d..80ab21f6 100644 --- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties +++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties @@ -21,7 +21,7 @@ advanced_config.OutputFolder.Dialog_Title=Ausgabeordner w\u00E4hlen advanced_config.OutputFolder_Title=Ausgabe Einstellungen advanced_config.OutputFolder_ToolTip=W\u00E4hlen Sie einen Ordner, in dem signierte Dokumente automatisch abgelegt werden (deaktivert, wenn das Feld leer ist; ein einzelner Punkt (".") w\u00E4hlt das Verzeichnis des Ursprungsdokuments) advanced_config.PdfACompat=PDF/A-Kompatibilit\u00E4t -advanced_config.PdfACompat_ToolTip=Ob die Signatur PDF/A-kompatibel sein soll (erh\u00F6ht PDF-Gr\u00F6\u00DFe) +advanced_config.PdfACompat_ToolTip=Ob die Signatur PDF/A-kompatibel sein soll (erh\u00F6ht PDF-Gr\u00F6\u00DFe). Diese Option setzt voraus, dass das original Dokument bereits im PDF/A Format ist. advanced_config.ProxyHost=Host\: advanced_config.ProxyHost_Template=Hostname oder IP des Proxy-Servers advanced_config.ProxyHost_ToolTip=Um einen Proxy zu verwenden Hostname/IP hier eingeben -- cgit v1.2.3