aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java
diff options
context:
space:
mode:
authorThomas <>2023-01-12 12:58:24 +0100
committerThomas <>2023-01-12 12:58:24 +0100
commite0ac5d79c01e458eeb5eb4233f8a0360db878911 (patch)
treee1760ce016e3f6c8eb0563bff175bf75a90afde0 /pdf-as-lib/src/main/java
parente69ba716ebae7307645ff9c640967d58ef48b9f4 (diff)
downloadpdf-as-4-e0ac5d79c01e458eeb5eb4233f8a0360db878911.tar.gz
pdf-as-4-e0ac5d79c01e458eeb5eb4233f8a0360db878911.tar.bz2
pdf-as-4-e0ac5d79c01e458eeb5eb4233f8a0360db878911.zip
feat(signatureblock): optimize processing for signed documents with less space for signature block
Issue #73 add configuration property to stop signing process if document has less space for new signature block and new page is not allowed because document is already signed
Diffstat (limited to 'pdf-as-lib/src/main/java')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java
index 4d6cef47..21a8e3b9 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java
@@ -110,6 +110,8 @@ public interface IConfigurationConstants {
/**
* Visual Signature placement
*/
+
+ public static final String SIG_BLOCK_LESS_SPACE_STOPPING_WITH_ERROR = "sigblock.placement.less.space.failing";
public static final String BG_COLOR_DETECTION = "sigblock.placement.bgcolor.detection.enabled";
public static final String SIG_PLACEMENT_DEBUG_OUTPUT = "sigblock.placement.debug.file";