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 --- .../at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java | 6 +++--- .../pdfover/gui/workflow/config/ConfigurationContainerImpl.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow') 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