summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authorTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-12-10 14:55:18 +0100
committerTobias Kellner <tobias.kellner@iaik.tugraz.at>2015-12-10 14:55:45 +0100
commit5811f8300872b6a68033c20824bfaabc48ff1a38 (patch)
treed0dfc83475839b4093de79eb94a0bfa031a548e1 /pdf-over-gui/src/main/java/at/asit
parentc2cdf1bdef0fdce4fb4fd4f0b928ed01c44d3bf7 (diff)
downloadpdf-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/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java6
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigProviderImpl.java6
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java2
3 files changed, 8 insertions, 6 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;