summaryrefslogtreecommitdiff
path: root/pdf-over-commons/src/main/java/at/asit/pdfover
diff options
context:
space:
mode:
authorAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-25 08:56:42 +0100
committerAndreas Abraham <andreas.abraham@egiz.gv.at>2020-11-25 08:56:42 +0100
commite39bbddffd31c5900f47f6c0ceb9fc66037f040b (patch)
tree24dec3840e38d5cbf50cb72b4266b418e23fb5fb /pdf-over-commons/src/main/java/at/asit/pdfover
parent49f4b55deefd0970b3f034d8c427b1be077fe247 (diff)
downloadpdf-over-e39bbddffd31c5900f47f6c0ceb9fc66037f040b.tar.gz
pdf-over-e39bbddffd31c5900f47f6c0ceb9fc66037f040b.tar.bz2
pdf-over-e39bbddffd31c5900f47f6c0ceb9fc66037f040b.zip
fixed url problem A-Trust
Diffstat (limited to 'pdf-over-commons/src/main/java/at/asit/pdfover')
-rw-r--r--pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java6
1 files changed, 5 insertions, 1 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 c15fc225..057b5826 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
@@ -7,7 +7,7 @@ public enum Profile {
BASE_LOGO, //$NON-NLS-1$
INVISIBLE;
- public static int length = 4;
+ public static int length = Profile.values().length;
public static Profile getProfile(String name) {
if (SIGNATURBLOCK_SMALL.name().equals(name)) {
@@ -22,5 +22,9 @@ public enum Profile {
return null;
}
+ public static String getDefaultProfile(){
+ return SIGNATURBLOCK_SMALL.name();
+ }
+
}