summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java18
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/config/ConfigurationContainerImpl.java2
2 files changed, 10 insertions, 10 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
index cbfd8e24..d6f83973 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java
@@ -60,9 +60,9 @@ public class Constants {
public static final Locale[] SUPPORTED_LOCALES = { Locale.GERMAN, Locale.ENGLISH };
public static enum PROFILE {
- SIGNATUREBLOCK_NORMAL("Signaturblock Normal") , //$NON-NLS-1$
- SIGNATUREBLOCK_SMALL("Signaturblock Klein"), //$NON-NLS-1$
- AMTSSIGNATUREBLOCK("Amtssignatur"), //$NON-NLS-1$
+ SIGNATURBLOCK("Signaturblock Normal") , //$NON-NLS-1$
+ SIGNATURBLOCK_SMALL("Signaturblock Klein"), //$NON-NLS-1$
+ AMTSSIGNATURBLOCK("Amtssignatur"), //$NON-NLS-1$
LOGO_ONLY("Nur Bildmarke"), //$NON-NLS-1$
INVISIBLE("Unsichtbar");
@@ -96,12 +96,12 @@ public class Constants {
}
public static PROFILE getProfile(String profile) {
- if (SIGNATUREBLOCK_NORMAL.getName().equals(profile)) {
- return SIGNATUREBLOCK_NORMAL;
- } else if (SIGNATUREBLOCK_SMALL.getName().equals(profile)) {
- return SIGNATUREBLOCK_SMALL;
- } else if (AMTSSIGNATUREBLOCK.getName().equals(profile)) {
- return AMTSSIGNATUREBLOCK;
+ if (SIGNATURBLOCK.getName().equals(profile)) {
+ return SIGNATURBLOCK;
+ } else if (SIGNATURBLOCK_SMALL.getName().equals(profile)) {
+ return SIGNATURBLOCK_SMALL;
+ } else if (AMTSSIGNATURBLOCK.getName().equals(profile)) {
+ return AMTSSIGNATURBLOCK;
} else if (LOGO_ONLY.getName().equals(profile)) {
return LOGO_ONLY;
} else if (INVISIBLE.getName().equals(profile)){
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 32b5ece3..300e2df1 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
@@ -731,7 +731,7 @@ public class ConfigurationContainerImpl implements ConfigurationContainer {
@Override
public PROFILE getSignatureProfile() {
if (this.signatureProfile == null) {
- this.signatureProfile = PROFILE.SIGNATUREBLOCK_NORMAL;
+ this.signatureProfile = PROFILE.SIGNATURBLOCK;
}
return this.signatureProfile;
}