diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-12-10 14:55:18 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2015-12-10 14:55:45 +0100 |
commit | 5811f8300872b6a68033c20824bfaabc48ff1a38 (patch) | |
tree | d0dfc83475839b4093de79eb94a0bfa031a548e1 /pdf-over-gui/src | |
parent | c2cdf1bdef0fdce4fb4fd4f0b928ed01c44d3bf7 (diff) | |
download | pdf-over-5811f8300872b6a68033c20824bfaabc48ff1a38.tar.gz pdf-over-5811f8300872b6a68033c20824bfaabc48ff1a38.tar.bz2 pdf-over-5811f8300872b6a68033c20824bfaabc48ff1a38.zip |
PDF/A compatibility now disabled by default
Diffstat (limited to 'pdf-over-gui/src')
5 files changed, 10 insertions, 8 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java index 49b760be..b9021094 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java @@ -1155,10 +1155,12 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite { .getString("advanced_config.Signature_Title")); //$NON-NLS-1$ this.btnAutomatischePositionierung.setText(Messages .getString("advanced_config.AutoPosition")); //$NON-NLS-1$ - this.btnPdfACompat.setText(Messages - .getString("advanced_config.PdfACompat")); //$NON-NLS-1$ this.btnAutomatischePositionierung.setToolTipText(Messages .getString("advanced_config.AutoPosition_ToolTip")); //$NON-NLS-1$ + this.btnPdfACompat.setText(Messages + .getString("advanced_config.PdfACompat")); //$NON-NLS-1$ + this.btnPdfACompat.setToolTipText(Messages + .getString("advanced_config.PdfACompat_ToolTip")); //$NON-NLS-1$ this.lblTransparenz.setText(Messages .getString("advanced_config.SigPHTransparency")); //$NON-NLS-1$ this.lblTransparenzLinks.setText(Messages diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java index ad9c4580..99fd9747 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java @@ -129,7 +129,7 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator, String compat = config.getProperty(Constants.CFG_SIGNATURE_PDFA_COMPAT); if (compat != null) - setSignaturePdfACompat(!compat.equalsIgnoreCase(Constants.FALSE)); + setSignaturePdfACompat(compat.equalsIgnoreCase(Constants.TRUE)); String bkuUrl = config .getProperty(Constants.CFG_MOBILE_BKU_URL); @@ -346,8 +346,8 @@ public class ConfigProviderImpl implements ConfigProvider, ConfigManipulator, props.setProperty(Constants.CFG_SIGNATURE_LOCALE, LocaleSerializer.getParsableString(signatureLocale)); } - if (!getSignaturePdfACompat()) - props.setProperty(Constants.CFG_SIGNATURE_PDFA_COMPAT, Constants.FALSE); + if (getSignaturePdfACompat()) + props.setProperty(Constants.CFG_SIGNATURE_PDFA_COMPAT, Constants.TRUE); SignaturePosition pos = getDefaultSignaturePositionPersistent(); if (pos == null) { diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java index cbc4a90e..7ae29f41 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java @@ -80,7 +80,7 @@ public class ConfigurationContainerImpl implements ConfigurationContainer { protected Locale signatureLocale = null; /** Holds the PDF/A compatibility setting */ - protected boolean pdfACompat = true; + protected boolean pdfACompat = false; /** Holds the output folder */ protected String folder = null; 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 1ab34e0e..fab1103a 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 @@ -20,7 +20,7 @@ advanced_config.OutputFolder.Dialog_Title=Select Output folder advanced_config.OutputFolder_Title=&Output location 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 signature PDF/A compatible (increases pdf size) advanced_config.ProxyHost=Host\: advanced_config.ProxyHost_Template=Hostname or IP of the proxy server advanced_config.ProxyHost_ToolTip=To use a proxy server enter the hostname or the IP here 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 edaa6deb..29e2e958 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 @@ -20,7 +20,7 @@ advanced_config.OutputFolder.Dialog_Title=Ausgabeordner w\u00E4hlen advanced_config.OutputFolder_Title=Ausgabe&ort 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) 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 |