From c45c60eecc2f4445ae552a870aa095039644420c Mon Sep 17 00:00:00 2001 From: tknall Date: Tue, 17 Jun 2008 06:33:31 +0000 Subject: (Default) configuration updated regarding new configuration keys. Update concerting exclusion of minimal layout profiles for verification. APIDemo updated. Many printStackTraces replaces with logger-messages. Web-Application: New error code (251) introduced: Textual signature of files with no extractable textual content (e.g. files that solely contain images) is prevented. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@293 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- work/cfg/config.properties | 32 ++++++++++++++++++++++++-------- work/cfg/help_text.properties | 1 + 2 files changed, 25 insertions(+), 8 deletions(-) (limited to 'work') diff --git a/work/cfg/config.properties b/work/cfg/config.properties index e5b4528..0f54030 100644 --- a/work/cfg/config.properties +++ b/work/cfg/config.properties @@ -187,6 +187,14 @@ defaults.phlength.SIG_VALUE=90 defaults.phlength.SIG_ID=70 defaults.phlength.SIG_NAME=130 +# default reserved space for certificates within binary signatures +# per profile: sig_obj.PROFILE.phlength.certificate=xyz +defaults.phlength.certificate=10000 + +# default line break tolerance +# per profile: sig_obj.PROFILE.phlength.line_break_tolerance=xyz +defaults.phlength.line_break_tolerance=10 + #absolute positioning #sig_obj.PROFIL.pos=p:1;x:40.0;y:800.0;w:400.0 @@ -338,20 +346,24 @@ sig_obj.SIGNATURBLOCK_MINIMAL_DE.key.SIG_META=Pr sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_META=Informationen zur Prüfung der elektronischen Signatur und des Ausdrucks finden Sie unter:\nhttps://www.buergerkarte.at/signature-verification sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_LABEL=./images/signatur-logo_de.png -sig_obj.SIGNATURBLOCK_MINIMAL_DE.pos=w:350.0 +sig_obj.SIGNATURBLOCK_MINIMAL_DE.pos=w:230.0 #---------------------- MAIN TABLE ------------------------- -sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.1=SIG_LABEL-i|SIG_META-v +sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.1=SIG_LABEL-i +sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.2=SIG_META-v -sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.ColsWidth=1 4 +sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.ColsWidth=1 sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.bgcolor=255 255 255 sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.padding=3 -sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.border=0.1 +sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.border=0 sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.halign=left sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.valign=middle sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.font=HELVETICA,9,NORMAL sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.valuefont=HELVETICA,9,NORMAL +# scaling of image (in pdf units) +sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.imagescaletofit=65.0;65.0 + ################################################################################################### # PROFIL: minimaler Signaturblock (Englisch) @@ -362,20 +374,24 @@ sig_obj.SIGNATURBLOCK_MINIMAL_EN.key.SIG_META=Verification sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_META=Information about the verification of the electronic signature and of the printout can be found at:\nhttps://www.buergerkarte.at/signature-verification sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png -sig_obj.SIGNATURBLOCK_MINIMAL_EN.pos=w:350.0 +sig_obj.SIGNATURBLOCK_MINIMAL_EN.pos=w:230.0 #---------------------- MAIN TABLE ------------------------- -sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.1=SIG_LABEL-i|SIG_META-v +sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.1=SIG_LABEL-i +sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.2=SIG_META-v -sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.ColsWidth=1 4 +sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.ColsWidth=1 sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.bgcolor=255 255 255 sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.padding=3 -sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.border=0.1 +sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.border=0 sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.halign=left sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.valign=middle sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.font=HELVETICA,9,NORMAL sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.valuefont=HELVETICA,9,NORMAL +# scaling of image (in pdf units) +sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.imagescaletofit=65.0;65.0 + ################################################################################################### # PROFIL: Signaturblock (Englisch) diff --git a/work/cfg/help_text.properties b/work/cfg/help_text.properties index 4dcd300..b99ff77 100644 --- a/work/cfg/help_text.properties +++ b/work/cfg/help_text.properties @@ -33,6 +33,7 @@ error.code.228=Der angegebene Wert f error.code.229=Der angegebene Wert für die y-Position in der absoluten Position darf nicht kleiner gleich 0 sein. error.code.250=Das angegebene Dokument ist leer. +error.code.251=Das angegebene Dokument enthält keinen extrahierbaren Text. Falls sich der Inhalt ausschließlich aus Bildern zusammensetzt, wird die Verwendung einer binären Signatur empfohlen. #SignatureException error.code.300=Die Signatur kann nicht erstellt werden. -- cgit v1.2.3