From be14be9262cfd2a5f4b811fcbc9f5dfa8b43c3f6 Mon Sep 17 00:00:00 2001 From: Andreas Abraham Date: Thu, 12 Nov 2020 14:25:36 +0100 Subject: Invisible signatures to availabel profiles added --- pdf-over-gui/src/main/java/at/asit/pdfover/gui/Constants.java | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'pdf-over-gui/src/main/java/at/asit') 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; } } -- cgit v1.2.3