Stempel / Unterschrift in Textbaustein einfügen
Die dafür benötigte JPG wird zuerst in das entsprechende FTP-Verzeichnis des Kunden hochgeladen.
Danach besteht die Möglichkeit dieses JPG direkt im Dynarex-Textbaustein mittels Toolbar (1) einzufügen und auf die gewünschte Größe anzupassen ().

Fotos automatisch nummerieren
In Altova als Benutzerdefiniertes Element | Benutzerdefinierter Block einfügen: <fo:block> <xsl:value-of select="document/case/media_files/images/media/position()"/> </fo:block> Da Fotos schon in der Schleife /case/media_file/... sind, genügt <xsl:value-of select="position()"/>
Adressen vergleichen
hier am Beispiel FH <> AG
/document/case/participants/participant[type=’VO‘] != /document/case/participants/participant[type=’CU‘]
hier am Beispiel VE = AG
/document/case/participants/participant[type=’CU‘] = /document/case/participants/participant[type=’IC‘]
Aktuelles Tagesdatum
format-date(current-date(), ‚[D,2-2].[M,2-2].[Y,4-4]‘)
Block für Büro-Adresse (Briefkopf Standard-Vorlage)
Das alles muss als Benutzerdefinierter Block eingefügt werden
<xsl:if test="string(document/sender/office/name1)!=''"> <fo:block font-size="16pt" font-family="Arial" ><xsl:value-of select="document/sender/office/name1"/></fo:block> </xsl:if> <xsl:if test="string(document/sender/office/name2)!=''"> <fo:block font-size="14pt" font-family="Arial" ><xsl:value-of select="document/sender/office/name2"/></fo:block> </xsl:if> <xsl:if test="string(document/sender/office/name3)!=''"> <fo:block font-size="12pt" font-family="Arial" ><xsl:value-of select="document/sender/office/name3"/></fo:block> </xsl:if> <xsl:if test="string(document/sender/office/address/street)!=''"> <fo:block font-size="12pt" font-family="Arial" ><xsl:value-of select="document/sender/office/address/street"/> <xsl:value-of select="string(document/sender/office/address/number)"/></fo:block> </xsl:if> <xsl:if test="string(document/sender/office/address/postalCode)!=''"> <fo:block font-size="12pt" font-family="Arial" ><xsl:value-of select="string(document/sender/office/address/postalCode)"/> <xsl:value-of select="document/sender/office/address/city"/></fo:block> </xsl:if>
Kopie-Flag
Das Flag steht standardmäßig nicht im case.XML drin sondern wird zur Laufzeit generiert. Eintrag direkt unter <document> --> <is_duplicate>true</is_duplicate> Statt Gutachten im Ausdruck neuer X-Path --> if ( string(/document/is_duplicate)='true' ) then 'Gutachtenduplikat' else 'G u t a c h t e n'
Vorsteuerabzugsberechtigung aus einer Adresse ziehen und nicht von der Ergebnisseite:
In diesem Beispiel kommt die Vorsteuerabzugsberechtigung aus dem Auftraggeber
if (upper-case(string(document/case/participants/participant[type=“CU“]/tax_deduction_text))=’KEINE ANGABE‘) then ‚[X] Keine Angabe‘ else
if (upper-case(string(document/case/participants/participant[type=“CU“]/tax_deduction_text))=’JA‘) then ‚[X] Ja‘ else ‚[X] Nein‘