diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-07-21 12:48:02 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-07-21 12:48:02 +0200 |
commit | f19e4d8622a852a53951ee81396689216d7f7fa7 (patch) | |
tree | 33e46d80b503d123cfdf3a5e4df7b2a398f1321e | |
parent | 49a2fec5c4c92c45fe1198d83ab2c04c4d71a618 (diff) | |
download | pdf-as-4-f19e4d8622a852a53951ee81396689216d7f7fa7.tar.gz pdf-as-4-f19e4d8622a852a53951ee81396689216d7f7fa7.tar.bz2 pdf-as-4-f19e4d8622a852a53951ee81396689216d7f7fa7.zip |
Implemented Profile inheritance via .parent
24 files changed, 521 insertions, 777 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Profiles.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Profiles.java new file mode 100644 index 00000000..9969fdf0 --- /dev/null +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Profiles.java @@ -0,0 +1,42 @@ +package at.gv.egiz.pdfas.common.settings; + +import java.util.Map; +import java.util.Properties; + +public class Profiles { + + private String name; + private Profiles parent; + private boolean initialized; + + private static final String PARENT_CONFIG = ".parent"; + + public Profiles(String name) { + this.name = name; + this.initialized = false; + this.parent = null; + } + + public String getName() { + return this.name; + } + + public void findParent(Properties props, Map<String, Profiles> profiles) { + String parentString = props.getProperty("sig_obj." + this.name + PARENT_CONFIG); + if(parentString != null) { + this.parent = profiles.get(parentString); + } + } + + public Profiles getParent() { + return this.parent; + } + + public boolean isInitialized() { + return initialized; + } + + public void setInitialized(boolean initialized) { + this.initialized = initialized; + } +} diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java index 31dd6676..26505e50 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/settings/Settings.java @@ -23,7 +23,18 @@ ******************************************************************************/ package at.gv.egiz.pdfas.common.settings; -import at.gv.egiz.pdfas.common.exceptions.PdfAsSettingsException; +import java.io.File; +import java.io.FileInputStream; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Collection; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; +import java.util.Map; +import java.util.Map.Entry; +import java.util.Properties; +import java.util.Vector; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOCase; @@ -31,11 +42,7 @@ import org.apache.commons.io.filefilter.WildcardFileFilter; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.io.File; -import java.io.FileFilter; -import java.io.FileInputStream; -import java.io.IOException; -import java.util.*; +import at.gv.egiz.pdfas.common.exceptions.PdfAsSettingsException; public class Settings implements ISettings, IProfileConstants { @@ -74,11 +81,12 @@ public class Settings implements ISettings, IProfileConstants { while (includeIterator.hasNext()) { contextFolder = new File(configDir); String includeFileName = includeIterator.next(); - - File includeInstruction = new File(contextFolder, includeFileName); + + File includeInstruction = new File(contextFolder, + includeFileName); contextFolder = includeInstruction.getParentFile(); String includeName = includeInstruction.getName(); - + WildcardFileFilter fileFilter = new WildcardFileFilter( includeName, IOCase.SENSITIVE); Collection<File> includeFiles = null; @@ -102,65 +110,150 @@ public class Settings implements ISettings, IProfileConstants { } } - public void loadSettings(File workDirectory) throws PdfAsSettingsException { - //try { - String configDir = workDirectory.getAbsolutePath() + File.separator - + CFG_DIR; - String configFile = configDir + File.separator + CFG_FILE; - loadSettingsRecursive(workDirectory, new File(configFile)); - - /* - logger.debug("Loading cfg file: " + configFile); - - - properties.load(new FileInputStream(configFile)); + private void buildProfiles() { + Map<String, Profiles> profiles = new HashMap<String, Profiles>(); + + Iterator<String> itKeys = this.getFirstLevelKeys("sig_obj.types.") + .iterator(); + while (itKeys.hasNext()) { + String key = itKeys.next(); + String profile = key.substring("sig_obj.types.".length()); + //System.out.println("[" + profile + "]: " + this.getValue(key)); + if (this.getValue(key).equals("on")) { + Profiles prof = new Profiles(profile); + profiles.put(profile, prof); + } + } - Map<String, String> includes = this.getValuesPrefix(INCLUDE); - File contextFolder = new File(configDir); - if (includes != null) { - Iterator<String> includeIterator = includes.values().iterator(); - while (includeIterator.hasNext()) { - String includeFileName = includeIterator.next(); - if (includeFileName.contains("*")) { - WildcardFileFilter fileFilter = new WildcardFileFilter( - includeFileName, IOCase.SENSITIVE); - Collection<File> includeFiles = null; - - if (contextFolder != null && contextFolder.exists() - && contextFolder.isDirectory()) { - includeFiles = FileUtils.listFiles(contextFolder, - fileFilter, null); - } - if (includeFiles != null && !includeFiles.isEmpty()) { - logger.info("Including '" + includeFileName + "'."); - for (File includeFile : includeFiles) { - properties - .load(new FileInputStream(includeFile)); + // Initialize Parent Structure ... + Iterator<Entry<String, Profiles>> profileIterator = profiles.entrySet() + .iterator(); + while (profileIterator.hasNext()) { + Entry<String, Profiles> entry = profileIterator.next(); + entry.getValue().findParent(properties, profiles); + } + + // Debug Output + Iterator<Entry<String, Profiles>> profileIteratorDbg = profiles.entrySet() + .iterator(); + while (profileIteratorDbg.hasNext()) { + Entry<String, Profiles> entry = profileIteratorDbg.next(); + if(entry.getValue().getParent() == null) { + logger.debug("Got Profile: [{}] : {}", entry.getKey(), entry.getValue().getName()); + } else { + logger.debug("Got Profile: [{}] : {} (Parent {})", entry.getKey(), + entry.getValue().getName(), entry.getValue().getParent().getName()); + } + } + + // Resolve Parent Structures ... + while (!profiles.isEmpty()) { + List<String> removes = new ArrayList<String>(); + Iterator<Entry<String, Profiles>> profileIt = profiles.entrySet() + .iterator(); + while (profileIt.hasNext()) { + Entry<String, Profiles> entry = profileIt.next(); + + // Remove all base Profiles ... + if (entry.getValue().getParent() == null) { + entry.getValue().setInitialized(true); + removes.add(entry.getKey()); + } else { + Profiles parent = entry.getValue().getParent(); + if (parent.isInitialized()) { + // If Parent is initialized Copy Properties from Parent + // to this profile + String parentBase = "sig_obj." + parent.getName(); + String childBase = "sig_obj." + + entry.getValue().getName(); + Iterator<String> parentKeyIt = this.getKeys( + parentBase).iterator(); + while (parentKeyIt.hasNext()) { + String key = parentKeyIt.next(); + String keyToCopy = key.substring(parentBase + .length()); + if(!this.hasValue(childBase+keyToCopy)) { + properties.setProperty(childBase+keyToCopy, + this.getValue(parentBase+keyToCopy)); + //logger.debug("Replaced: {} with Value from {}", + // childBase+keyToCopy, parentBase+keyToCopy); + } else { + //logger.debug("NOT Replaced: {} with Value from {}", + // childBase+keyToCopy, parentBase+keyToCopy); } } - } else { - String includeFile = configDir + File.separator - + includeFileName; - logger.debug("Loading included cfg file: " - + includeFile); - try { - properties.load(new FileInputStream(includeFile)); - } catch (Throwable e) { - logger.error("Failed to load cfg file " - + includeFile, e); - } + + // Copy done + entry.getValue().setInitialized(true); + removes.add(entry.getKey()); } } } - */ - logger.debug("Configured Properties:"); - /* - * if(logger.isDebugEnabled()) { properties.list(System.out); } - */ - - //} catch (IOException e) { - // throw new PdfAsSettingsException("Failed to read settings!", e); - //} + + + // Remove all Profiles from Remove List + + if(removes.isEmpty() && !profiles.isEmpty()) { + logger.error("Failed to build inheritant Profiles, running in infinite loop! (aborting ...)"); + logger.error("Profiles that cannot be resolved completly:"); + Iterator<Entry<String, Profiles>> failedProfiles = profiles.entrySet().iterator(); + while (failedProfiles.hasNext()) { + Entry<String, Profiles> entry = failedProfiles.next(); + logger.error("Problem Profile: [{}] : {}", entry.getKey(), entry.getValue().getName()); + } + return; + } + + Iterator<String> removeIt = removes.iterator(); + while(removeIt.hasNext()) { + profiles.remove(removeIt.next()); + } + } + } + + public void loadSettings(File workDirectory) throws PdfAsSettingsException { + // try { + String configDir = workDirectory.getAbsolutePath() + File.separator + + CFG_DIR; + String configFile = configDir + File.separator + CFG_FILE; + loadSettingsRecursive(workDirectory, new File(configFile)); + buildProfiles(); + /* + * logger.debug("Loading cfg file: " + configFile); + * + * + * properties.load(new FileInputStream(configFile)); + * + * Map<String, String> includes = this.getValuesPrefix(INCLUDE); File + * contextFolder = new File(configDir); if (includes != null) { + * Iterator<String> includeIterator = includes.values().iterator(); + * while (includeIterator.hasNext()) { String includeFileName = + * includeIterator.next(); if (includeFileName.contains("*")) { + * WildcardFileFilter fileFilter = new WildcardFileFilter( + * includeFileName, IOCase.SENSITIVE); Collection<File> includeFiles = + * null; + * + * if (contextFolder != null && contextFolder.exists() && + * contextFolder.isDirectory()) { includeFiles = + * FileUtils.listFiles(contextFolder, fileFilter, null); } if + * (includeFiles != null && !includeFiles.isEmpty()) { + * logger.info("Including '" + includeFileName + "'."); for (File + * includeFile : includeFiles) { properties .load(new + * FileInputStream(includeFile)); } } } else { String includeFile = + * configDir + File.separator + includeFileName; + * logger.debug("Loading included cfg file: " + includeFile); try { + * properties.load(new FileInputStream(includeFile)); } catch (Throwable + * e) { logger.error("Failed to load cfg file " + includeFile, e); } } } + * } + */ + // logger.debug("Configured Properties:"); + /* + * if(logger.isDebugEnabled()) { properties.list(System.out); } + */ + + // } catch (IOException e) { + // throw new PdfAsSettingsException("Failed to read settings!", e); + // } } public String getValue(String key) { @@ -193,6 +286,19 @@ public class Settings implements ISettings, IProfileConstants { return getValuesPrefix(prefix, properties); } + public Vector<String> getKeys(String prefix) { + Iterator<Object> keyIterator = properties.keySet().iterator(); + Vector<String> valueMap = new Vector<String>(); + while (keyIterator.hasNext()) { + String key = keyIterator.next().toString(); + + if (key.startsWith(prefix)) { + valueMap.add(key); + } + } + return valueMap; + } + public Vector<String> getFirstLevelKeys(String prefix) { String mPrefix = prefix.endsWith(".") ? prefix : prefix + "."; Iterator<Object> keyIterator = properties.keySet().iterator(); diff --git a/pdf-as-lib/src/configuration/cfg/config.properties b/pdf-as-lib/src/configuration/cfg/config.properties index ea10d76e..53a7f3eb 100644 --- a/pdf-as-lib/src/configuration/cfg/config.properties +++ b/pdf-as-lib/src/configuration/cfg/config.properties @@ -79,34 +79,34 @@ include.advancedconfig = advancedconfig.properties # Konfiguration einzelner Profile.
# Standard-Profile
-include.01 = profiles/INVISIBLE.properties
-include.02 = profiles/SIGNATURBLOCK_DE.properties
-include.03 = profiles/SIGNATURBLOCK_DE_NOTE.properties
-include.04 = profiles/SIGNATURBLOCK_DE_PDFA.properties
-include.05 = profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties
-include.06 = profiles/SIGNATURBLOCK_EN.properties
-include.07 = profiles/SIGNATURBLOCK_EN_NOTE.properties
-include.08 = profiles/SIGNATURBLOCK_EN_PDFA.properties
-include.09 = profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties
-include.10 = profiles/SIGNATURBLOCK_MINIMAL_DE.properties
-include.11 = profiles/SIGNATURBLOCK_MINIMAL_EN.properties
-include.12 = profiles/SIGNATURBLOCK_SMALL_DE.properties
-include.13 = profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties
-include.14 = profiles/SIGNATURBLOCK_SMALL_EN.properties
-include.15 = profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties
+include.01 = profiles/*.properties
+#include.01 = profiles/INVISIBLE.properties
+#include.02 = profiles/SIGNATURBLOCK_DE.properties
+#include.03 = profiles/SIGNATURBLOCK_DE_NOTE.properties
+#include.04 = profiles/SIGNATURBLOCK_DE_PDFA.properties
+#include.05 = profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties
+#include.06 = profiles/SIGNATURBLOCK_EN.properties
+#include.07 = profiles/SIGNATURBLOCK_EN_NOTE.properties
+#include.08 = profiles/SIGNATURBLOCK_EN_PDFA.properties
+#include.09 = profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties
+#include.10 = profiles/SIGNATURBLOCK_MINIMAL_DE.properties
+#include.12 = profiles/SIGNATURBLOCK_SMALL_DE.properties
+#include.13 = profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties
+#include.14 = profiles/SIGNATURBLOCK_SMALL_EN.properties
+#include.15 = profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties
# Amtssignatur-Profile
-include.16 = profiles/AMTSSIGNATURBLOCK_DE.properties
-include.17 = profiles/AMTSSIGNATURBLOCK_EN.properties
-include.18 = profiles/AMTSSIGNATURBLOCK_DE_SMALL.properties
-include.19 = profiles/AMTSSIGNATURBLOCK_EN_SMALL.properties
+#include.16 = profiles/AMTSSIGNATURBLOCK_DE.properties
+#include.17 = profiles/AMTSSIGNATURBLOCK_EN.properties
+#include.18 = profiles/AMTSSIGNATURBLOCK_DE_SMALL.properties
+#include.19 = profiles/AMTSSIGNATURBLOCK_EN_SMALL.properties
# BAIK-Profile
-include.20 = profiles/BAIK_ARCHIV_SIGNATUR.properties
-include.21 = profiles/BAIK_URKUNDE_SIGNATUR.properties
+#include.20 = profiles/BAIK_ARCHIV_SIGNATUR.properties
+#include.21 = profiles/BAIK_URKUNDE_SIGNATUR.properties
-include.22 = profiles/justizsignatur.properties
+#include.22 = profiles/justizsignatur.properties
# Legt das Standard-Signaturprofil fest
sig_obj.type.default=SIGNATURBLOCK_SMALL_DE
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_MINIMAL.properties b/pdf-as-lib/src/configuration/cfg/profiles/BASE_MINIMAL.properties new file mode 100644 index 00000000..ec06fffb --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_MINIMAL.properties @@ -0,0 +1,33 @@ +###################################################################################################
+# PROFIL: minimaler Signaturblock (Deutsch)
+
+sig_obj.types.BASE_MINIMAL=on
+
+sig_obj.BASE_MINIMAL.description=minimale Standardsignatur Deutsch
+sig_obj.BASE_MINIMAL.key.SIG_META=Pr\u00fcfinformation
+
+sig_obj.BASE_MINIMAL.pos=w:230.0;f:80
+sig_obj.BASE_MINIMAL.adobeSignFieldValue=PDF-AS Signatur
+sig_obj.BASE_MINIMAL.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+sig_obj.BASE_MINIMAL.verifyURL=http://www.signaturpruefung.gv.at
+
+sig_obj.BASE_MINIMAL.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
+sig_obj.BASE_MINIMAL.value.SIG_LABEL=./images/signatur-logo_de.png
+sig_obj.BASE_MINIMAL.table.main.Style.imagescaletofit=65.0;65.0
+
+# WAI
+sig_obj.BASE_MINIMAL.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.BASE_MINIMAL.table.main.1=SIG_LABEL-i
+sig_obj.BASE_MINIMAL.table.main.2=SIG_META-v
+
+sig_obj.BASE_MINIMAL.table.main.ColsWidth=1
+sig_obj.BASE_MINIMAL.table.main.Style.bgcolor=255 255 255
+sig_obj.BASE_MINIMAL.table.main.Style.padding=4
+sig_obj.BASE_MINIMAL.table.main.Style.border=0
+sig_obj.BASE_MINIMAL.table.main.Style.halign=center
+sig_obj.BASE_MINIMAL.table.main.Style.valuehalign=left
+sig_obj.BASE_MINIMAL.table.main.Style.valign=middle
+sig_obj.BASE_MINIMAL.table.main.Style.font=HELVETICA,9,NORMAL
+sig_obj.BASE_MINIMAL.table.main.Style.valuefont=HELVETICA,9,NORMAL
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_MINIMAL_EN.properties b/pdf-as-lib/src/configuration/cfg/profiles/BASE_MINIMAL_EN.properties new file mode 100644 index 00000000..04e7ea91 --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_MINIMAL_EN.properties @@ -0,0 +1,16 @@ +###################################################################################################
+# PROFIL: minimaler Signaturblock (Englisch)
+
+sig_obj.BASE_MINIMAL_EN.description=minimale Standardsignatur Englisch
+sig_obj.BASE_MINIMAL_EN.parent=BASE_MINIMAL
+sig_obj.types.BASE_MINIMAL_EN=on
+
+sig_obj.BASE_MINIMAL_EN.key.SIG_META=Verification
+sig_obj.BASE_MINIMAL_EN.adobeSignReasonValue=Information about the verification can be found at http://www.signature-verification.gv.at
+sig_obj.BASE_MINIMAL_EN.verifyURL=http://www.signature-verification.gv.at
+
+sig_obj.BASE_MINIMAL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
+sig_obj.BASE_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+
+# WAI
+sig_obj.BASE_MINIMAL_EN.sigLogoAltText=A standard signature logo is shown.
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_NORMAL.properties b/pdf-as-lib/src/configuration/cfg/profiles/BASE_NORMAL.properties new file mode 100644 index 00000000..1f79d313 --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_NORMAL.properties @@ -0,0 +1,145 @@ +
+###################################################################################################
+# PROFIL: Signaturblock (Deutsch) mit neuem Layout
+
+# Kurzbeschreibung
+sig_obj.BASE_NORMAL.description=Standardsignaturblock mit neuem Layout
+
+# Aktiviert ("on") bzw. deaktiviert ("off") dieses Profil.
+# "verify_only" beschraenkt das Profil auf Signaturpruefung, d.h. es kann nicht zum Erstellen von
+# Signaturen verwendet werden.
+# "sign_only" beschraenkt das Profil insofern, dass es nur noch zum Signieren, nicht aber
+# zum Pruefen verwendet werden kann.
+sig_obj.types.BASE_NORMAL=on
+
+# Festlegung der einzelner Bezeichnungen im Signaturblock.
+sig_obj.BASE_NORMAL.key.SIG_SUBJECT=Unterzeichner
+sig_obj.BASE_NORMAL.key.SIG_DATE=Datum/Zeit-UTC
+sig_obj.BASE_NORMAL.key.SIG_ISSUER=Aussteller-Zertifikat
+sig_obj.BASE_NORMAL.key.SIG_NUMBER=Serien-Nr.
+sig_obj.BASE_NORMAL.key.SIG_META=Pr\u00fcfinformation
+sig_obj.BASE_NORMAL.key.SIG_NOTE=Hinweis
+
+
+# Festlegung des Unterzeichnernamens.
+# Es moeglich, den Namen des Signators dynamisch aus Informationen des verwendeten Zertifikats
+# zusammenzusetzen. Konkret kann auf die einzelnen RDN Teile des Issuer DN und des Subject DN
+# des Signaturzertifikats wie im folgenden Beispiel illustriert zugegriffen werden:
+#
+# (1) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.CN}${subject.O != null ? ("\n" + subject.O) : ""}
+# (2) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.T \!\= null ? (subject.T + " ") \: ""}${subject.CN}
+#
+# Beispiel (1) gibt die Organisation des Unterzeichners an, Beispiel (2) Titel und Name.
+#
+# Die Notation ${..} ermoeglicht die dynamische Auswertung eines Ausdrucks. Verfuegbar sind "subject"
+# und "issuer" und die im Zertifikat-DN vorhandenen RDNs.
+#
+# Achtung:
+# Fuer die binaere Signatur muss die maximale Anzahl zu erwartender Zeichen in der globalen Einstellung
+# defaults.phlength.SIG_SUBJECT=...
+# bzw. profileweise via
+# sig_obj.PROFIL.phlength.SIG_SUBJECT=...
+# festgelegt werden.
+sig_obj.BASE_NORMAL.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
+sig_obj.BASE_NORMAL.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
+sig_obj.BASE_NORMAL.value.SIG_NUMBER=${sn}
+sig_obj.BASE_NORMAL.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
+sig_obj.BASE_NORMAL.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00A7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
+## Profilspezifische Festlegung der Position des Signaturblocks
+#
+# sig_obj.PROFILE.pos=[p:["auto"|"new"|pagenumber];][x:["auto"|floatvalue];][y:["auto"|floatvalue];][w:["auto"|width_floatvalue];][f:footerheight_floatvalue]
+# z.B.
+# sig_obj.PROFILE.pos=p:1;x:40.0;y:800.0;w:400.0;f:80
+sig_obj.BASE_NORMAL.pos=f:80
+
+sig_obj.BASE_NORMAL.adobeSignFieldValue=PDF-AS Signatur
+# Text, der im Adobe Reader unter "Reason" angezeigt wird.
+sig_obj.BASE_NORMAL.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
+
+# URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin.
+#sig_obj.SIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at
+
+# WAI
+sig_obj.BASE_NORMAL.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+
+# Pruefhinweis im Signaturblock
+#sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
+
+# Signaturlogo im Signaturblock
+sig_obj.BASE_NORMAL.value.SIG_LABEL=./images/signatur-logo_de.png
+
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.BASE_NORMAL.table.main.1=SIG_LABEL-i|TABLE-info
+sig_obj.BASE_NORMAL.table.main.2=SIG_NOTE-cv
+
+sig_obj.BASE_NORMAL.table.main.ColsWidth=1 6
+sig_obj.BASE_NORMAL.table.main.Style.bgcolor=255 255 255
+sig_obj.BASE_NORMAL.table.main.Style.padding=4
+sig_obj.BASE_NORMAL.table.main.Style.border=0.1
+
+
+## Horizontale Ausrichtung der Eintraege im Signaturblock.
+#
+# sig_obj.PROFILE.table.TABLE_NAME.Style.halign=[left|center|right]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.valuehalign=[left|center|right]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.imagehalign=[left|center|right]
+sig_obj.BASE_NORMAL.table.main.Style.halign=center
+
+
+## Vertikale Ausrichtung der Eintraege im Signaturblock.
+#
+# sig_obj.PROFILE.table.TABLE_NAME.Style.valign=[bottom|middle|top]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.valuevalign=[bottom|middle|top]
+# sig_obj.PROFILE.table.TABLE_NAME.Style.imagevalign=[bottom|middle|top]
+sig_obj.BASE_NORMAL.table.main.Style.valuehalign=left
+sig_obj.BASE_NORMAL.table.main.Style.valign=top
+sig_obj.BASE_NORMAL.table.main.Style.imagevalign=middle
+
+
+## Schriftart
+#
+# sig_obj.PROFIL.table.TABLE_NAME.Style.font=FACE,WEIGHT,STYLE
+# Setzt die Schriftart fuer die gesamte Tabelle TABLE_NAME.
+#
+# sig_obj.PROFIL.table.TABLE_NAME.Style.valuefont=FACE,WEIGHT,STYLE
+# Setzt die Schriftart ausschliesslich fuer die Werte-Zellen der Tabelle TABLE_NAME.
+#
+# FACE: HELVETICA | TIMES_ROMAN | COURIER
+# WEIGHT: float value
+# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC | UNDERLINE | STRIKETHRU
+#
+# z.B. sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
+sig_obj.BASE_NORMAL.table.main.Style.font=HELVETICA,8,BOLD
+sig_obj.BASE_NORMAL.table.main.Style.valuefont=COURIER,8,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.BASE_NORMAL.table.info.ColsWidth=1 4
+sig_obj.BASE_NORMAL.table.info.1=SIG_SUBJECT-cv
+sig_obj.BASE_NORMAL.table.info.2=SIG_DATE-cv
+#sig_obj.BASE_NORMAL.table.info.3=SIG_ISSUER-cv
+#sig_obj.BASE_NORMAL.table.info.4=SIG_NUMBER-cv
+sig_obj.BASE_NORMAL.table.info.3=SIG_META-cv
+
+## Signaturkennzeichnung (fuer Adobe Acrobat)
+#
+# Ein-/Ausschalten der Signaturkennung:
+# sig_obj.PROFILE.adobeSignEnabled=true|false (default: true)
+#
+# Name fuer die Signaturkennzeichnung (binaer)
+# sig_obj.PROFILE.adobeSignText.binary=PDF-AS
+#
+# Name fuer die Signaturkennzeichnung (binaer)
+# sig_obj.PROFILE.adobeSignText.textual=PDF-AS
+#
+# Name fuer die PDF-Signatur
+# sig_obj.PROFILE.adobeSignFieldValue=PDF-AS Signatur
+#
+# "Reason"-Feld der jeweiligen Signatur
+# sig_obj.PROFILE.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at
+#
+# Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird)
+# sig_obj.PROFILE.verifyURL=http://www.signaturpruefung.gv.at
+#
+# Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung)
+# sig_obj.PROFILE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_NORMAL_EN.properties b/pdf-as-lib/src/configuration/cfg/profiles/BASE_NORMAL_EN.properties new file mode 100644 index 00000000..4bf7b04f --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_NORMAL_EN.properties @@ -0,0 +1,28 @@ +
+###################################################################################################
+# PROFIL: Signaturblock (English) mit neuem Layout
+
+# Kurzbeschreibung
+sig_obj.BASE_NORMAL_EN.description=Standardsignaturblock mit neuem Layout
+sig_obj.BASE_NORMAL_EN.parent=BASE_NORMAL
+sig_obj.types.BASE_NORMAL_EN=on
+
+# Festlegung der einzelner Bezeichnungen im Signaturblock.
+sig_obj.BASE_NORMAL_EN.key.SIG_SUBJECT=Signatory
+sig_obj.BASE_NORMAL_EN.key.SIG_DATE=Date/Time-UTC
+sig_obj.BASE_NORMAL_EN.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.BASE_NORMAL_EN.key.SIG_NUMBER=Serial-No.
+sig_obj.BASE_NORMAL_EN.key.SIG_META=Verification
+sig_obj.BASE_NORMAL_EN.key.SIG_NOTE=Note
+
+sig_obj.BASE_NORMAL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
+sig_obj.BASE_NORMAL_EN.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
+sig_obj.BASE_NORMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+
+sig_obj.BASE_NORMAL_EN.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
+
+# URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin.
+sig_obj.BASE_NORMAL_EN.verifyURL=http://www.signature-verification.gv.at
+
+# WAI
+sig_obj.BASE_NORMAL_EN.sigLogoAltText=A standard signature logo is shown.
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_SMALL.properties b/pdf-as-lib/src/configuration/cfg/profiles/BASE_SMALL.properties new file mode 100644 index 00000000..144050d9 --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_SMALL.properties @@ -0,0 +1,16 @@ +###################################################################################################
+# PROFIL: Signaturblock klein (Deutsch)
+
+sig_obj.BASE_SMALL.description=Standardsignatur klein Deutsch
+sig_obj.BASE_SMALL.parent=BASE_NORMAL
+sig_obj.types.BASE_SMALL=on
+
+sig_obj.BASE_SMALL.pos=f:80;w:230
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.BASE_SMALL.table.main.ColsWidth=1 4.5
+sig_obj.BASE_SMALL.table.main.Style.font=HELVETICA,5,BOLD
+sig_obj.BASE_SMALL.table.main.Style.valuefont=COURIER,5,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.BASE_SMALL.table.info.ColsWidth=1 2.7
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/BASE_SMALL_EN.properties b/pdf-as-lib/src/configuration/cfg/profiles/BASE_SMALL_EN.properties new file mode 100644 index 00000000..565e981b --- /dev/null +++ b/pdf-as-lib/src/configuration/cfg/profiles/BASE_SMALL_EN.properties @@ -0,0 +1,34 @@ +###################################################################################################
+# PROFIL: Signaturblock klein (Deutsch)
+
+sig_obj.BASE_SMALL_EN.description=Standardsignatur klein Deutsch
+sig_obj.BASE_SMALL_EN.parent=BASE_SMALL
+sig_obj.types.BASE_SMALL_EN=on
+
+sig_obj.BASE_SMALL_EN.pos=f:80;w:230
+
+sig_obj.BASE_SMALL_EN.key.SIG_SUBJECT=Signatory
+sig_obj.BASE_SMALL_EN.key.SIG_DATE=Date/Time-UTC
+sig_obj.BASE_SMALL_EN.key.SIG_ISSUER=Issuer-Certificate
+sig_obj.BASE_SMALL_EN.key.SIG_NUMBER=Serial-No.
+sig_obj.BASE_SMALL_EN.key.SIG_META=Verification
+sig_obj.BASE_SMALL_EN.key.SIG_NOTE=Note
+
+sig_obj.BASE_SMALL_EN.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
+
+sig_obj.BASE_SMALL_EN.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at
+sig_obj.BASE_SMALL_EN.verifyURL=http://www.signature-verification.gv.at
+
+sig_obj.BASE_SMALL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
+sig_obj.BASE_SMALL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
+
+# WAI
+sig_obj.BASE_SMALL_EN.sigLogoAltText=A standard signature logo is shown.
+
+#---------------------- MAIN TABLE -------------------------
+sig_obj.BASE_SMALL_EN.table.main.ColsWidth=1 4.5
+sig_obj.BASE_SMALL_EN.table.main.Style.font=HELVETICA,5,BOLD
+sig_obj.BASE_SMALL_EN.table.main.Style.valuefont=COURIER,5,NORMAL
+
+#---------------------- INFO TABLE -------------------------
+sig_obj.BASE_SMALL_EN.table.info.ColsWidth=1 2.7
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE.properties index e67b230b..11615c77 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE.properties @@ -4,142 +4,4 @@ # Kurzbeschreibung
sig_obj.SIGNATURBLOCK_DE.description=Standardsignatur Deutsch mit neuem Layout
-
-# Aktiviert ("on") bzw. deaktiviert ("off") dieses Profil.
-# "verify_only" beschraenkt das Profil auf Signaturpruefung, d.h. es kann nicht zum Erstellen von
-# Signaturen verwendet werden.
-# "sign_only" beschraenkt das Profil insofern, dass es nur noch zum Signieren, nicht aber
-# zum Pruefen verwendet werden kann.
-sig_obj.types.SIGNATURBLOCK_DE=on
-
-# Festlegung der einzelner Bezeichnungen im Signaturblock.
-sig_obj.SIGNATURBLOCK_DE.key.SIG_SUBJECT=Unterzeichner
-sig_obj.SIGNATURBLOCK_DE.key.SIG_DATE=Datum/Zeit-UTC
-sig_obj.SIGNATURBLOCK_DE.key.SIG_ISSUER=Aussteller-Zertifikat
-sig_obj.SIGNATURBLOCK_DE.key.SIG_NUMBER=Serien-Nr.
-sig_obj.SIGNATURBLOCK_DE.key.SIG_META=Pr\u00fcfinformation
-sig_obj.SIGNATURBLOCK_DE.key.SIG_NOTE=Hinweis
-
-
-# Festlegung des Unterzeichnernamens.
-# Es moeglich, den Namen des Signators dynamisch aus Informationen des verwendeten Zertifikats
-# zusammenzusetzen. Konkret kann auf die einzelnen RDN Teile des Issuer DN und des Subject DN
-# des Signaturzertifikats wie im folgenden Beispiel illustriert zugegriffen werden:
-#
-# (1) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.CN}${subject.O != null ? ("\n" + subject.O) : ""}
-# (2) sig_obj.PROFIL.value.SIG_SUBJECT= ${subject.T \!\= null ? (subject.T + " ") \: ""}${subject.CN}
-#
-# Beispiel (1) gibt die Organisation des Unterzeichners an, Beispiel (2) Titel und Name.
-#
-# Die Notation ${..} ermoeglicht die dynamische Auswertung eines Ausdrucks. Verfuegbar sind "subject"
-# und "issuer" und die im Zertifikat-DN vorhandenen RDNs.
-#
-# Achtung:
-# Fuer die binaere Signatur muss die maximale Anzahl zu erwartender Zeichen in der globalen Einstellung
-# defaults.phlength.SIG_SUBJECT=...
-# bzw. profileweise via
-# sig_obj.PROFIL.phlength.SIG_SUBJECT=...
-# festgelegt werden.
-sig_obj.SIGNATURBLOCK_DE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_DE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_DE.value.SIG_NUMBER=${sn}
-sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_DE.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00A7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
-## Profilspezifische Festlegung der Position des Signaturblocks
-#
-# sig_obj.PROFILE.pos=[p:["auto"|"new"|pagenumber];][x:["auto"|floatvalue];][y:["auto"|floatvalue];][w:["auto"|width_floatvalue];][f:footerheight_floatvalue]
-# z.B.
-# sig_obj.PROFILE.pos=p:1;x:40.0;y:800.0;w:400.0;f:80
-sig_obj.SIGNATURBLOCK_DE.pos=f:80
-
-# Text, der im Adobe Reader unter "Reason" angezeigt wird.
-sig_obj.SIGNATURBLOCK_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
-
-# URL fuer die Signaturpruefung durch das Adobe Acrobat Professional PDF-AS Plugin.
-#sig_obj.SIGNATURBLOCK_DE.verifyURL=http://www.signaturpruefung.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-
-# Pruefhinweis im Signaturblock
-#sig_obj.SIGNATURBLOCK_DE.value.SIG_META=Signaturpruefung unter: http://www.signaturpruefung.gv.at
-
-# Signaturlogo im Signaturblock
-sig_obj.SIGNATURBLOCK_DE.value.SIG_LABEL=./images/signatur-logo_de.png
-
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_DE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_DE.table.main.2=SIG_NOTE-cv
-
-
-sig_obj.SIGNATURBLOCK_DE.table.main.ColsWidth=1 6
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.border=0.1
-
-
-## Horizontale Ausrichtung der Eintraege im Signaturblock.
-#
-# sig_obj.PROFILE.table.TABLE_NAME.Style.halign=[left|center|right]
-# sig_obj.PROFILE.table.TABLE_NAME.Style.valuehalign=[left|center|right]
-# sig_obj.PROFILE.table.TABLE_NAME.Style.imagehalign=[left|center|right]
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.halign=center
-
-
-## Vertikale Ausrichtung der Eintraege im Signaturblock.
-#
-# sig_obj.PROFILE.table.TABLE_NAME.Style.valign=[bottom|middle|top]
-# sig_obj.PROFILE.table.TABLE_NAME.Style.valuevalign=[bottom|middle|top]
-# sig_obj.PROFILE.table.TABLE_NAME.Style.imagevalign=[bottom|middle|top]
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.imagevalign=middle
-
-
-## Schriftart
-#
-# sig_obj.PROFIL.table.TABLE_NAME.Style.font=FACE,WEIGHT,STYLE
-# Setzt die Schriftart fuer die gesamte Tabelle TABLE_NAME.
-#
-# sig_obj.PROFIL.table.TABLE_NAME.Style.valuefont=FACE,WEIGHT,STYLE
-# Setzt die Schriftart ausschliesslich fuer die Werte-Zellen der Tabelle TABLE_NAME.
-#
-# FACE: HELVETICA | TIMES_ROMAN | COURIER
-# WEIGHT: float value
-# STYLE: NORMAL | BOLD | ITALIC | BOLDITALIC | UNDERLINE | STRIKETHRU
-#
-# z.B. sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.font=HELVETICA,8,BOLD
-sig_obj.SIGNATURBLOCK_DE.table.main.Style.valuefont=COURIER,8,NORMAL
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_DE.table.info.ColsWidth=1 4
-sig_obj.SIGNATURBLOCK_DE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_DE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_DE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_DE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_DE.table.info.3=SIG_META-cv
-
-## Signaturkennzeichnung (fuer Adobe Acrobat)
-#
-# Ein-/Ausschalten der Signaturkennung:
-# sig_obj.PROFILE.adobeSignEnabled=true|false (default: true)
-#
-# Name fuer die Signaturkennzeichnung (binaer)
-# sig_obj.PROFILE.adobeSignText.binary=PDF-AS
-#
-# Name fuer die Signaturkennzeichnung (binaer)
-# sig_obj.PROFILE.adobeSignText.textual=PDF-AS
-#
-# Name fuer die PDF-Signatur
-# sig_obj.PROFILE.adobeSignFieldValue=PDF-AS Signatur
-#
-# "Reason"-Feld der jeweiligen Signatur
-# sig_obj.PROFILE.adobeSignReasonValue=Informationen zur Pr\u00FCfung finden Sie unter http://www.signaturpruefung.gv.at
-#
-# Prueflink fuer die Adobe Signaturkennzeichnung (nur relevant falls Adobe Plugin fuer Pruefung verwendet wird)
-# sig_obj.PROFILE.verifyURL=http://www.signaturpruefung.gv.at
-#
-# Alternativer Text fuer den Signaturblock (WAI) (globale Einstellung)
-# sig_obj.PROFILE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
+sig_obj.SIGNATURBLOCK_DE.parent=BASE_NORMAL
\ No newline at end of file diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties index f92f62bc..2fa16acc 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_NOTE.properties @@ -2,52 +2,8 @@ # PROFIL: Signaturblock (Deutsch) mit neuem Layout und Hinweistext
sig_obj.SIGNATURBLOCK_DE_NOTE.description=Standardsignatur Deutsch mit neuem Layout
-
+sig_obj.SIGNATURBLOCK_DE_NOTE.parent=BASE_NORMAL
sig_obj.types.SIGNATURBLOCK_DE_NOTE=on
-sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_SUBJECT=Unterzeichner
-sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_DATE=Datum/Zeit-UTC
-sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_ISSUER=Aussteller-Zertifikat
-sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_NUMBER=Serien-Nr.
-sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_META=Pr\u00fcfinformation
-sig_obj.SIGNATURBLOCK_DE_NOTE.key.SIG_NOTE=Hinweis
-
-sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_NUMBER=${sn}
-
-sig_obj.SIGNATURBLOCK_DE_NOTE.pos=f:80
-sig_obj.SIGNATURBLOCK_DE_NOTE.adobeSignFieldValue=PDF-AS Signatur
-sig_obj.SIGNATURBLOCK_DE_NOTE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
-sig_obj.SIGNATURBLOCK_DE_NOTE.verifyURL=http://www.signaturpruefung.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_DE_NOTE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-
-sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_LABEL=./images/signatur-logo_de.png
-sig_obj.SIGNATURBLOCK_DE_NOTE.value.SIG_NOTE=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument ist gem\u00e4\u00df \u00a7\u00A04 Abs.\u00A01 Signaturgesetz einem handschriftlich unterschriebenen Dokument grunds\u00e4tzlich rechtlich gleichgestellt.
-
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.ColsWidth=1 6
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.font=HELVETICA,8,BOLD
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.main.Style.valuefont=COURIER,8,NORMAL
-
#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.ColsWidth=1 4
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.3=SIG_META-cv
+sig_obj.SIGNATURBLOCK_DE_NOTE.table.info.ColsWidth=1 5
\ No newline at end of file diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties index 67180e8a..4af4d977 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA.properties @@ -2,56 +2,23 @@ # PROFIL: Signaturblock (Deutsch), PDF/A-1b
sig_obj.SIGNATURBLOCK_DE_PDFA.description=Standardsignatur Deutsch, PDF/A-1b
-
+sig_obj.SIGNATURBLOCK_DE_PDFA.parent=BASE_NORMAL
sig_obj.types.SIGNATURBLOCK_DE_PDFA=on
# enable/disable PDF/A1b support for this profile
sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_PDFA1B_VALID=true
-sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_SUBJECT=Unterzeichner
-sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_DATE=Datum/Zeit-UTC
-sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_ISSUER=Aussteller-Zertifikat
-sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_NUMBER=Serien-Nr.
-sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_META=Pr\u00fcfinformation
-sig_obj.SIGNATURBLOCK_DE_PDFA.key.SIG_NOTE=Hinweis
-
sig_obj.SIGNATURBLOCK_DE_PDFA.legacy.pos=true
-sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_NUMBER=${sn}
-sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00A7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
-
-sig_obj.SIGNATURBLOCK_DE_PDFA.pos=f:80
-sig_obj.SIGNATURBLOCK_DE_PDFA.adobeSignFieldValue=PDF-AS Signatur
-sig_obj.SIGNATURBLOCK_DE_PDFA.adobeSignReasonValue=Signaturpruefung unter: http://www.signaturpruefung.gv.at
-sig_obj.SIGNATURBLOCK_DE_PDFA.verifyURL=http://www.signaturpruefung.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_DE_PDFA.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-
-sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_DE_PDFA.value.SIG_LABEL=./images/signatur-logo_de.png
-
#---------------------- MAIN TABLE -------------------------
sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.1=SIG_LABEL-i|TABLE-info
sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.2=SIG_NOTE-cv
sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.ColsWidth=1 5.5
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.imagevalign=middle
+
sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
sig_obj.SIGNATURBLOCK_DE_PDFA.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
#---------------------- INFO TABLE -------------------------
sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.ColsWidth=1 3.5
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_DE_PDFA.table.info.3=SIG_META-cv
+
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties index bbe4b094..30778243 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_DE_PDFA_NOTE.properties @@ -2,54 +2,5 @@ # PROFIL: Signaturblock (Deutsch), PDF/A-1b und mit Hinweistext
sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.description=Standardsignatur Deutsch, PDF/A-1b
-
+sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.parent=BASE_NORMAL
sig_obj.types.SIGNATURBLOCK_DE_PDFA_NOTE=on
-
-# enable/disable PDF/A1b support for this profile
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_PDFA1B_VALID=true
-
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_SUBJECT=Unterzeichner
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_DATE=Datum/Zeit-UTC
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_ISSUER=Aussteller-Zertifikat
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_NUMBER=Serien-Nr.
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_META=Pr\u00fcfinformation
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.key.SIG_NOTE=Hinweis
-
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_NUMBER=${sn}
-
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.pos=f:80
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.adobeSignFieldValue=PDF-AS Signatur
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.adobeSignReasonValue=Signaturpruefung unter: http://www.signaturpruefung.gv.at
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.verifyURL=http://www.signaturpruefung.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_LABEL=./images/signatur-logo_de.png
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.value.SIG_NOTE=Dieses mit einer qualifizierten elektronischen Signatur versehene Dokument ist gem\u00e4\u00df \u00a7\u00A04 Abs.\u00A01 Signaturgesetz einem handschriftlich unterschriebenen Dokument grunds\u00e4tzlich rechtlich gleichgestellt.
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.ColsWidth=1 5.5
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.ColsWidth=1 3.5
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_DE_PDFA_NOTE.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN.properties index 4421a7bb..d8071d3e 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN.properties @@ -2,54 +2,5 @@ # PROFIL: Signaturblock (Englisch) mit neuem Layout
sig_obj.SIGNATURBLOCK_EN.description=Standardsignatur Englisch mit neuem Layout
-
+sig_obj.SIGNATURBLOCK_EN.parent=BASE_NORMAL_EN
sig_obj.types.SIGNATURBLOCK_EN=on
-
-sig_obj.SIGNATURBLOCK_EN.key.SIG_SUBJECT=Signatory
-sig_obj.SIGNATURBLOCK_EN.key.SIG_DATE=Date/Time-UTC
-sig_obj.SIGNATURBLOCK_EN.key.SIG_ISSUER=Issuer-Certificate
-sig_obj.SIGNATURBLOCK_EN.key.SIG_NUMBER=Serial-No.
-sig_obj.SIGNATURBLOCK_EN.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_EN.key.SIG_NOTE=Note
-
-sig_obj.SIGNATURBLOCK_EN.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_EN.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_EN.value.SIG_NUMBER=${sn}
-
-sig_obj.SIGNATURBLOCK_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_EN.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
-sig_obj.SIGNATURBLOCK_EN.value.SIG_LABEL=./images/signatur-logo_en.png
-
-sig_obj.SIGNATURBLOCK_EN.pos=f:80
-
-sig_obj.SIGNATURBLOCK_EN.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_EN.verifyURL=http://www.signature-verification.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_EN.sigLogoAltText=A standard signature logo is shown.
-
-
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_EN.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_EN.table.main.2=SIG_NOTE-cv
-
-
-sig_obj.SIGNATURBLOCK_EN.table.main.ColsWidth=1 6
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.font=HELVETICA,8,BOLD
-sig_obj.SIGNATURBLOCK_EN.table.main.Style.valuefont=COURIER,8,NORMAL
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_EN.table.info.ColsWidth=1 4
-sig_obj.SIGNATURBLOCK_EN.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_EN.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_EN.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_EN.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_EN.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties index 81e54be4..1598232a 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_NOTE.properties @@ -2,53 +2,8 @@ # PROFIL: Signaturblock (Englisch) mit neuem Layout und Hinweistext
sig_obj.SIGNATURBLOCK_EN_NOTE.description=Standardsignatur Englisch mit neuem Layout
-
+sig_obj.SIGNATURBLOCK_EN_NOTE.parent=SIGNATURBLOCK_EN
sig_obj.types.SIGNATURBLOCK_EN_NOTE=on
-sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_SUBJECT=Signatory
-sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_DATE=Date/Time-UTC
-sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_ISSUER=Issuer-Certificate
-sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_NUMBER=Serial-No.
-sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_EN_NOTE.key.SIG_NOTE=Note
-
-sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_NUMBER=${sn}
-
-sig_obj.SIGNATURBLOCK_EN_NOTE.pos=f:80
-sig_obj.SIGNATURBLOCK_EN_NOTE.adobeSignFieldValue=PDF-AS Signature
-sig_obj.SIGNATURBLOCK_EN_NOTE.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_EN_NOTE.verifyURL=http://www.signature-verification.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_EN_NOTE.sigLogoAltText=A standard signature logo is shown.
-
-sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_LABEL=./images/signatur-logo_en.png
-sig_obj.SIGNATURBLOCK_EN_NOTE.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
-
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.2=SIG_NOTE-cv
-
-
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.ColsWidth=1 6
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.font=HELVETICA,8,BOLD
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.main.Style.valuefont=COURIER,8,NORMAL
-
#---------------------- INFO TABLE -------------------------
sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.ColsWidth=1 5
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_EN_NOTE.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties index 7c04a953..0778c9e1 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA.properties @@ -2,54 +2,17 @@ # PROFIL: Signaturblock (Englisch), PDF/A-1b
sig_obj.SIGNATURBLOCK_EN_PDFA.description=Standardsignatur Englisch, PDF/A-1b
-
+sig_obj.SIGNATURBLOCK_EN_PDFA.parent=BASE_NORMAL_EN
sig_obj.types.SIGNATURBLOCK_EN_PDFA=on
# enable/disable PDF/A1b support for this profile
sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_PDFA1B_VALID=true
-sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_SUBJECT=Signatory
-sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_DATE=Date/Time-UTC
-sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_ISSUER=Issuer-Certificate
-sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_NUMBER=Serial-No.
-sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_EN_PDFA.key.SIG_NOTE=Note
-
-sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_NUMBER=${sn}
-sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
-
-sig_obj.SIGNATURBLOCK_EN_PDFA.pos=f:80
-sig_obj.SIGNATURBLOCK_EN_PDFA.adobeSignFieldValue=PDF-AS Signature
-sig_obj.SIGNATURBLOCK_EN_PDFA.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_EN_PDFA.verifyURL=http://www.signature-verification.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_EN_PDFA.sigLogoAltText=A standard signature logo is shown.
-
-sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_EN_PDFA.value.SIG_LABEL=./images/signatur-logo_en.png
-
#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.2=SIG_NOTE-cv
sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.ColsWidth=1 5.5
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.imagevalign=middle
sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
sig_obj.SIGNATURBLOCK_EN_PDFA.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
#---------------------- INFO TABLE -------------------------
sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.ColsWidth=1 4.5
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_EN_PDFA.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties index e71b403c..9a677d5f 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_EN_PDFA_NOTE.properties @@ -2,54 +2,5 @@ # PROFIL: Signaturblock (Englisch), PDF/A-1b und mit Hinweistext
sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.description=Standardsignatur Englisch, PDF/A-1b
-
+sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.parent=SIGNATURBLOCK_EN_PDFA
sig_obj.types.SIGNATURBLOCK_EN_PDFA_NOTE=on
-
-# enable/disable PDF/A1b support for this profile
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_PDFA1B_VALID=true
-
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_SUBJECT=Signatory
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_DATE=Date/Time-UTC
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_ISSUER=Issuer-Certificate
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_NUMBER=Serial-No.
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.key.SIG_NOTE=Note
-
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_NUMBER=${sn}
-
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.pos=f:80
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.adobeSignFieldValue=PDF-AS Signature
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.adobeSignReasonValue=Signature verification at http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.verifyURL=http://www.signature-verification.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.sigLogoAltText=A standard signature logo is shown.
-
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_LABEL=./images/signatur-logo_en.png
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.ColsWidth=1 5.5
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.font=TTF:DejaVuSansCondensed-Bold.ttf,8
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.main.Style.valuefont=TTF:DejaVuSansMono.ttf,8
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.ColsWidth=1 4.5
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_EN_PDFA_NOTE.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties index 4b7b54da..1821e6cd 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_DE.properties @@ -2,32 +2,5 @@ # PROFIL: minimaler Signaturblock (Deutsch)
sig_obj.types.SIGNATURBLOCK_MINIMAL_DE=on
-
+sig_obj.SIGNATURBLOCK_MINIMAL_DE.parent=BASE_MINIMAL
sig_obj.SIGNATURBLOCK_MINIMAL_DE.description=minimale Standardsignatur Deutsch
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.key.SIG_META=Pr\u00fcfinformation
-
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.pos=w:230.0;f:80
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.adobeSignFieldValue=PDF-AS Signatur
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.verifyURL=http://www.signaturpruefung.gv.at
-
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \n\nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.value.SIG_LABEL=./images/signatur-logo_de.png
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.imagescaletofit=65.0;65.0
-
-# WAI
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-
-#---------------------- MAIN TABLE -------------------------
-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
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.border=0
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_MINIMAL_DE.table.main.Style.valuehalign=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
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties index 1b63ae4e..bab20a78 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_MINIMAL_EN.properties @@ -2,32 +2,5 @@ # PROFIL: minimaler Signaturblock (Englisch)
sig_obj.SIGNATURBLOCK_MINIMAL_EN.description=minimale Standardsignatur Englisch
-
+sig_obj.SIGNATURBLOCK_MINIMAL_EN.parent=BASE_MINIMAL_EN
sig_obj.types.SIGNATURBLOCK_MINIMAL_EN=on
-
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.pos=w:230.0;f:80
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.adobeSignFieldValue=PDF-AS Signature
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.adobeSignReasonValue=Information about the verification can be found at http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.verifyURL=http://www.signature-verification.gv.at
-
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \n\nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.imagescaletofit=65.0;65.0
-
-# WAI
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.sigLogoAltText=A standard signature logo is shown.
-
-#---------------------- MAIN TABLE -------------------------
-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
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.padding=4
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.border=0
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_MINIMAL_EN.table.main.Style.valuehalign=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
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties index b19a9a0b..ca85a7c5 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE.properties @@ -2,50 +2,6 @@ # PROFIL: Signaturblock klein (Deutsch)
sig_obj.SIGNATURBLOCK_SMALL_DE.description=Standardsignatur klein Deutsch
-
+sig_obj.SIGNATURBLOCK_SMALL_DE.parent=BASE_SMALL_DE
sig_obj.types.SIGNATURBLOCK_SMALL_DE=on
-sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_SUBJECT=Unterzeichner
-sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_DATE=Datum/Zeit-UTC
-sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_ISSUER=Aussteller-Zertifikat
-sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_NUMBER=Serien-Nr.
-sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_META=Pr\u00fcfinformation
-sig_obj.SIGNATURBLOCK_SMALL_DE.key.SIG_NOTE=Hinweis
-
-sig_obj.SIGNATURBLOCK_SMALL_DE.pos=f:80;w:230
-sig_obj.SIGNATURBLOCK_SMALL_DE.adobeSignFieldValue=PDF-AS Signatur
-sig_obj.SIGNATURBLOCK_SMALL_DE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
-sig_obj.SIGNATURBLOCK_SMALL_DE.verifyURL=http://www.signaturpruefung.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_SMALL_DE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-
-sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_NUMBER=${sn}
-sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00A7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
-sig_obj.SIGNATURBLOCK_SMALL_DE.value.SIG_LABEL=./images/signatur-logo_de.png
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.ColsWidth=1 4.5
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.padding=2
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.font=HELVETICA,5,BOLD
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.main.Style.valuefont=COURIER,5,NORMAL
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.ColsWidth=1 2.7
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_SMALL_DE.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties index ac91c627..1cd1d96f 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_DE_NOTE.properties @@ -2,50 +2,5 @@ # PROFIL: Signaturblock klein (Deutsch) mit Hinweistext
sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.description=Standardsignatur klein Deutsch
-
+sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.parent=BASE_SMALL_DE
sig_obj.types.SIGNATURBLOCK_SMALL_DE_NOTE=on
-
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_SUBJECT=Unterzeichner
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_DATE=Datum/Zeit-UTC
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_ISSUER=Aussteller-Zertifikat
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_NUMBER=Serien-Nr.
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_META=Pr\u00fcfinformation
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.key.SIG_NOTE=Hinweis
-
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_NUMBER=${sn}
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_META=Informationen zur Pr\u00FCfung der elektronischen Signatur finden Sie unter: https://www.signaturpruefung.gv.at \nInformationen zur Pr\u00FCfung des Ausdrucks finden Sie unter: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_NOTE=Dieses Dokument wurde amtssigniert. Auch ein Ausdruck dieses Dokuments hat gem\u00e4\u00df \u00A7 20 E-Government-Gesetz die Beweiskraft einer \u00f6ffentlichen Urkunde.
-
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.pos=f:80;w:230
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.adobeSignFieldValue=PDF-AS Signatur
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.adobeSignReasonValue=Signaturpruefung unter http://www.signaturpruefung.gv.at
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.verifyURL=http://www.signaturpruefung.gv.at
-
-# WAI
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.sigLogoAltText=Abgebildet ist eine Standard-Signaturbildmarke.
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.value.SIG_LABEL=./images/signatur-logo_de.png
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.ColsWidth=1 4.5
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.padding=2
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.font=HELVETICA,5,BOLD
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.main.Style.valuefont=COURIER,5,NORMAL
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.ColsWidth=1 2.7
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_SMALL_DE_NOTE.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties index ad59903b..9e678af5 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN.properties @@ -2,51 +2,6 @@ # PROFIL: Signaturblock Small (Englisch)
sig_obj.SIGNATURBLOCK_SMALL_EN.description=Standardsignatur klein Englisch
-
+sig_obj.SIGNATURBLOCK_SMALL_EN.parent=BASE_SMALL_EN
sig_obj.types.SIGNATURBLOCK_SMALL_EN=on
-sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_SUBJECT=Signatory
-sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_DATE=Date/Time-UTC
-sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_ISSUER=Issuer-Certificate
-sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_NUMBER=Serial-No.
-sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_SMALL_EN.key.SIG_NOTE=Note
-
-sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_NUMBER=${sn}
-sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
-
-sig_obj.SIGNATURBLOCK_SMALL_EN.pos=f:80;w:260
-sig_obj.SIGNATURBLOCK_SMALL_EN.adobeSignFieldValue=PDF-AS Signature
-sig_obj.SIGNATURBLOCK_SMALL_EN.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_SMALL_EN.verifyURL=http://www.signature-verification.gv.at
-
-sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_SMALL_EN.value.SIG_LABEL=./images/signatur-logo_en.png
-
-# WAI
-sig_obj.SIGNATURBLOCK_SMALL_EN.sigLogoAltText=A standard signature logo is shown.
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.ColsWidth=1 4.5
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.padding=2
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.font=HELVETICA,5,BOLD
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.main.Style.valuefont=COURIER,5,NORMAL
-
-#---------------------- INFO TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.ColsWidth=1 2.7
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_SMALL_EN.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties index ec6e42b5..adcb7218 100644 --- a/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties +++ b/pdf-as-lib/src/configuration/cfg/profiles/SIGNATURBLOCK_SMALL_EN_NOTE.properties @@ -2,52 +2,8 @@ # PROFIL: Signaturblock Small (Englisch) mit Hinweistext
sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.description=Standardsignatur klein Englisch
-
+sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.parent=BASE_SMALL_EN
sig_obj.types.SIGNATURBLOCK_SMALL_EN_NOTE=on
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_SUBJECT=Signatory
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_DATE=Date/Time-UTC
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_ISSUER=Issuer-Certificate
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_NUMBER=Serial-No.
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_META=Verification
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.key.SIG_NOTE=Note
-
-
-ssig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_SUBJECT=${subject.T != null ? (subject.T + " ") : ""}${subject.CN}
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_ISSUER=${issuer.T != null ? (issuer.T + " ") : ""}${issuer.CN}
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_NUMBER=${sn}
-
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.pos=f:80;w:260
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.adobeSignFieldValue=PDF-AS Signature
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.adobeSignReasonValue=Signature verification at: http://www.signature-verification.gv.at
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.verifyURL=http://www.signature-verification.gv.at
-
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_META=Information about the verification of the electronic signature can be found at: https://www.signaturpruefung.gv.at \nInformation about the verification of the printout can be found at: https://www.behoerde.gv.at/el_signatur/
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_LABEL=./images/signatur-logo_en.png
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.value.SIG_NOTE=This document is signed with a qualified electronic signature. According to \u00a7\u00A04 art.\u00A01 of the Signature Act it in principle is legally equivalent to an handwritten signature.
-
-# WAI
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.sigLogoAltText=A standard signature logo is shown.
-
-#---------------------- MAIN TABLE -------------------------
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.1=SIG_LABEL-i|TABLE-info
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.2=SIG_NOTE-cv
-
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.ColsWidth=1 4.5
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.bgcolor=255 255 255
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.padding=2
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.border=0.1
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.halign=center
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.valuehalign=left
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.valign=top
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.imagevalign=middle
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.font=HELVETICA,5,BOLD
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.main.Style.valuefont=COURIER,5,NORMAL
-
#---------------------- INFO TABLE -------------------------
sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.ColsWidth=1 3.2
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.1=SIG_SUBJECT-cv
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.2=SIG_DATE-cv
-#sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.3=SIG_ISSUER-cv
-#sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.4=SIG_NUMBER-cv
-sig_obj.SIGNATURBLOCK_SMALL_EN_NOTE.table.info.3=SIG_META-cv
diff --git a/pdf-as-lib/src/main/resources/config/config.zip b/pdf-as-lib/src/main/resources/config/config.zip Binary files differindex ecda415b..161cdcff 100644 --- a/pdf-as-lib/src/main/resources/config/config.zip +++ b/pdf-as-lib/src/main/resources/config/config.zip |