summaryrefslogtreecommitdiff
path: root/pdf-over-commons/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-commons/src/main/java')
-rw-r--r--pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java11
1 files changed, 11 insertions, 0 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 f06d489d..d26c8877 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
@@ -39,4 +39,15 @@ public enum Profile {
}
}
+ public boolean hasText() {
+ return ((this == SIGNATURBLOCK_SMALL) || (this == AMTSSIGNATURBLOCK));
+ }
+
+ public boolean hasLogo() {
+ return (this != INVISIBLE);
+ }
+
+ public boolean isVisibleSignature() {
+ return (this != INVISIBLE);
+ }
}