summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-12 14:25:36 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-12 14:25:36 +0100
commitbe14be9262cfd2a5f4b811fcbc9f5dfa8b43c3f6 (patch)
tree7a4c10054ce0e35f1a4f858612982f56b5db0a9a /pdf-over-gui/src/main/java/at/asit
parent1eddc2b51034df2ce3e814c297311e27dccacee1 (diff)
downloadpdf-over-be14be9262cfd2a5f4b811fcbc9f5dfa8b43c3f6.tar.gz
pdf-over-be14be9262cfd2a5f4b811fcbc9f5dfa8b43c3f6.tar.bz2
pdf-over-be14be9262cfd2a5f4b811fcbc9f5dfa8b43c3f6.zip
Invisible signatures to availabel profiles added
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java11
1 files changed, 7 insertions, 4 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 37e7ceb6..cbfd8e24 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
@@ -62,10 +62,11 @@ public class Constants {
public static enum PROFILE {
SIGNATUREBLOCK_NORMAL("Signaturblock Normal") , //$NON-NLS-1$
SIGNATUREBLOCK_SMALL("Signaturblock Klein"), //$NON-NLS-1$
- AMTSSIGNATUREBLOCK("Amtssignaturblock"), //$NON-NLS-1$
- LOGO_ONLY("Nur Bildmarke"); //$NON-NLS-1$
+ AMTSSIGNATUREBLOCK("Amtssignatur"), //$NON-NLS-1$
+ LOGO_ONLY("Nur Bildmarke"), //$NON-NLS-1$
+ INVISIBLE("Unsichtbar");
- public static int length = 4;
+ public static int length = 5;
private String name;
PROFILE(String profile){
@@ -103,7 +104,9 @@ public class Constants {
return AMTSSIGNATUREBLOCK;
} else if (LOGO_ONLY.getName().equals(profile)) {
return LOGO_ONLY;
- }
+ } else if (INVISIBLE.getName().equals(profile)){
+ return INVISIBLE;
+ }
return null;
}
}