summaryrefslogtreecommitdiff
path: root/pdf-over-commons/src/main/java/at/asit
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-18 13:54:40 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-18 13:54:40 +0100
commitaf14459241ed7c653531f769216d4e97d3c9ef2f (patch)
tree93aac9da617dc60d11585f2fb43fae1404434569 /pdf-over-commons/src/main/java/at/asit
parentf3c085a81d933dd22373a75e2d8fa194056b02d6 (diff)
downloadpdf-over-af14459241ed7c653531f769216d4e97d3c9ef2f.tar.gz
pdf-over-af14459241ed7c653531f769216d4e97d3c9ef2f.tar.bz2
pdf-over-af14459241ed7c653531f769216d4e97d3c9ef2f.zip
changes in pom and SignatureProfle
Diffstat (limited to 'pdf-over-commons/src/main/java/at/asit')
-rw-r--r--pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java15
1 files changed, 6 insertions, 9 deletions
diff --git a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java
index 84de1aaa..d9694f18 100644
--- a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java
+++ b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java
@@ -2,13 +2,12 @@ package at.asit.pdfover.commons;
public enum Profile {
- SIGNATURBLOCK("Signaturblock Normal") , //$NON-NLS-1$
- SIGNATURBLOCK_SMALL("Signaturblock Klein"), //$NON-NLS-1$
+ SIGNATURBLOCK_SMALL("Signaturblock Normal"), //$NON-NLS-1$
AMTSSIGNATURBLOCK("Amtssignatur"), //$NON-NLS-1$
- LOGO_ONLY("Nur Bildmarke"), //$NON-NLS-1$
+ BASE_LOGO("Nur Bildmarke"), //$NON-NLS-1$
INVISIBLE("Unsichtbar");
- public static int length = 5;
+ public static int length = 4;
private String name;
Profile(String profile){
@@ -38,14 +37,12 @@ public enum Profile {
}
public static Profile getProfile(String profile) {
- if (SIGNATURBLOCK.getName().equals(profile)) {
- return SIGNATURBLOCK;
- } else if (SIGNATURBLOCK_SMALL.getName().equals(profile)) {
+ 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 (BASE_LOGO.getName().equals(profile)) {
+ return BASE_LOGO;
} else if (INVISIBLE.getName().equals(profile)){
return INVISIBLE;
}