diff options
author | Thomas Lenz <thomas.lenz@iaik.tugraz.at> | 2023-01-12 12:30:11 +0000 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@iaik.tugraz.at> | 2023-01-12 12:30:11 +0000 |
commit | 6fada4e066d79f55491ceafa84eb4a436b519913 (patch) | |
tree | e0c57f79dc1a57d3f6c4e3af1d982b750bad96f9 /pdf-as-lib/src | |
parent | e78fccac558a93f18bae96ddb6c8e131afaf946d (diff) | |
parent | ab328e055e01b12a91c8ccee4ac0cbea3e0fb282 (diff) | |
download | pdf-as-4-6fada4e066d79f55491ceafa84eb4a436b519913.tar.gz pdf-as-4-6fada4e066d79f55491ceafa84eb4a436b519913.tar.bz2 pdf-as-4-6fada4e066d79f55491ceafa84eb4a436b519913.zip |
Merge branch 'feature/issue_73' into 'development'
feat(signatureblock): optimize processing for signed documents with less space for signature block
See merge request egiz/pdf-as-4!9
Diffstat (limited to 'pdf-as-lib/src')
-rw-r--r-- | pdf-as-lib/src/configuration/cfg/advancedconfig.properties | 6 | ||||
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/pdf-as-lib/src/configuration/cfg/advancedconfig.properties b/pdf-as-lib/src/configuration/cfg/advancedconfig.properties index c5fd06e9..9ba105d1 100644 --- a/pdf-as-lib/src/configuration/cfg/advancedconfig.properties +++ b/pdf-as-lib/src/configuration/cfg/advancedconfig.properties @@ -21,7 +21,6 @@ #enable_placeholder_search=true
-
#Aktiviert oder deaktiviert die Kompatibilität mit dem PAdES Signaturstandard manuell
#sig_obj.PAdESCompatibility=[true|false]
@@ -42,6 +41,11 @@ # MATCH_MODE_SORTED = 3
#placeholder_mode=
+
+### stop processing it signature-block can not valid placed on document
+sigblock.placement.less.space.failing=false
+
+
##################
# Signaturdienste
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"; |