diff options
author | Thomas <> | 2023-06-27 07:05:44 +0200 |
---|---|---|
committer | Thomas <> | 2023-06-27 07:05:44 +0200 |
commit | 1e580545ff0dd4c15ce05045ab1a9573dec6f9d3 (patch) | |
tree | 221157ed082d4cbf3c894aa476f550e06875923e /pdf-as-lib/src | |
parent | 1a46583236b58a77b11abc91681f697c4cb7e46e (diff) | |
download | pdf-as-4-1e580545ff0dd4c15ce05045ab1a9573dec6f9d3.tar.gz pdf-as-4-1e580545ff0dd4c15ce05045ab1a9573dec6f9d3.tar.bz2 pdf-as-4-1e580545ff0dd4c15ce05045ab1a9573dec6f9d3.zip |
feat(placeholder): add configuration value to disable profile over-write by placehoder information
Diffstat (limited to 'pdf-as-lib/src')
-rw-r--r-- | pdf-as-lib/src/configuration/cfg/advancedconfig.properties | 2 | ||||
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/api/IConfigurationConstants.java | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/pdf-as-lib/src/configuration/cfg/advancedconfig.properties b/pdf-as-lib/src/configuration/cfg/advancedconfig.properties index 7eb1ec37..d00f2872 100644 --- a/pdf-as-lib/src/configuration/cfg/advancedconfig.properties +++ b/pdf-as-lib/src/configuration/cfg/advancedconfig.properties @@ -41,6 +41,8 @@ # MATCH_MODE_SORTED = 3
#placeholder_mode=
+# Allow profile over-write from placeholder content [true|false], default=true
+#placeholder_profile_overwrite=true
### stop processing it signature-block can not valid placed on document
sigblock.placement.less.space.failing=false
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 8314eef6..40a1bb15 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 @@ -47,6 +47,7 @@ public interface IConfigurationConstants { public static final String PLACEHOLDER_ID = "placeholder_id"; public static final String PLACEHOLDER_MODE = "placeholder_mode"; + public static final String PLACEHOLDER_PROFILE_OVERWRITE = "placeholder_profile_overwrite"; public static final String PLACEHOLDER_SEARCH_ENABLED = "enable_placeholder_search"; public static final String DEFAULT_SIGNATURE_PROFILE = SIG_OBJECT + SEPERATOR + TYPE + SEPERATOR + DEFAULT; |