From 5811f8300872b6a68033c20824bfaabc48ff1a38 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Thu, 10 Dec 2015 14:55:18 +0100 Subject: PDF/A compatibility now disabled by default --- .../asit/pdfover/gui/composites/AdvancedConfigurationComposite.java | 6 ++++-- .../at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java | 6 +++--- .../pdfover/gui/workflow/config/ConfigurationContainerImpl.java | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit') 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; -- cgit v1.2.3