From b0b9a063b8ef0641839206fd574dc62f96da162c Mon Sep 17 00:00:00 2001 From: tknall Date: Fri, 28 Jan 2011 11:06:52 +0000 Subject: Logging in case of too small signature blocks extended (now a warning is logged regardless the fact WHY a signature block is small (API, Placeholder or Configuration)). The default threshold value is 150. An optional configuration key (global "default.signature_block_width_warning_threshold=xyz" and local per profile "sig_obj.PROFILE.signature_block_width_warning_threshold=xyz") has been added in order to make the threshold configurable (there might be profiles some day that need to be small, e.g. some versions of minimal layout blocks). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@739 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- work/cfg/config.properties | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'work') diff --git a/work/cfg/config.properties b/work/cfg/config.properties index e1384a1..a75d0ba 100644 --- a/work/cfg/config.properties +++ b/work/cfg/config.properties @@ -168,6 +168,14 @@ defaults.phlength.timestamp=5000 # profilweise: sig_obj.PROFILE.phlength.line_break_tolerance=xyz defaults.phlength.line_break_tolerance=10 +# Falls die Breite eines Signaturblocks definiert wird (über API, Commandline oder über das Profil), +# die unterhalb eines sinnvollen Wertes liegt, dann wird im Log eine Warnung ausgegeben, da +# Signaturblöcke unter Umständen nicht mehr sinnvoll dargestellt werden können. +# Der Standard-Schwellwert für diese Warnungen (= 150) kann global oder profilweise festgelegt +# werden (z.B. um die Warnung zu deaktivieren, kann der Wert auf 0 gesetzt werden). +# default.signature_block_width_warning_threshold=xyz +# sig_obj.PROFILE.signature_block_width_warning_threshold=xyz + # PDF/A-1b Unterstützung für alle Profile einschalten default.SIG_PDFA1B_VALID=false -- cgit v1.2.3