mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-20 13:39:27 +00:00
Einpassung der Vorlage auf die Karten
This commit is contained in:
@@ -11,7 +11,7 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
<office:font-face-decls>
|
||||
<style:font-face style:name="Lohit Hindi1" svg:font-family="'Lohit Hindi'"/>
|
||||
<style:font-face style:name="Times New Roman" svg:font-family="'Times New Roman'" style:font-family-generic="roman" style:font-pitch="variable"/>
|
||||
<style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="swiss" style:font-pitch="variable"/>
|
||||
<style:font-face style:name="TheSans" svg:font-family="TheSans" style:font-family-generic="swiss" style:font-pitch="variable"/>
|
||||
<style:font-face style:name="Droid Sans Fallback" svg:font-family="'Droid Sans Fallback'" style:font-family-generic="system" style:font-pitch="variable"/>
|
||||
<style:font-face style:name="Lohit Hindi" svg:font-family="'Lohit Hindi'" style:font-family-generic="system" style:font-pitch="variable"/>
|
||||
</office:font-face-decls>
|
||||
@@ -21,7 +21,7 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
</style:style>
|
||||
<style:style style:name="P2" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:line-height="150%"/>
|
||||
<style:text-properties style:font-name="Arial" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
<style:text-properties style:font-name="TheSans" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
</style:style>
|
||||
<style:style style:name="P3" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false"/>
|
||||
@@ -33,26 +33,25 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
</style:style>
|
||||
<style:style style:name="P5" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:line-height="150%"/>
|
||||
<style:text-properties style:font-name="Arial" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
<style:text-properties style:font-name="TheSans" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
</style:style>
|
||||
<style:style style:name="P6" style:family="paragraph" style:parent-style-name="Standard">
|
||||
<style:paragraph-properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false"/>
|
||||
<style:text-properties fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
</style:style>
|
||||
<style:style style:name="P7" style:family="paragraph">
|
||||
<style:text-properties style:font-name="Arial" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
<style:text-properties style:font-name="TheSans" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
</style:style>
|
||||
<style:style style:name="T1" style:family="text">
|
||||
<style:text-properties style:font-name="Arial" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
<style:text-properties style:font-name="TheSans" fo:font-size="8pt" style:font-size-asian="8pt" style:font-size-complex="8pt"/>
|
||||
</style:style>
|
||||
|
||||
<style:style style:name="fr1" style:family="graphic" style:parent-style-name="Graphics">
|
||||
<style:graphic-properties style:vertical-pos="from-top" style:vertical-rel="paragraph" style:horizontal-pos="from-left" style:horizontal-rel="paragraph" fo:background-color="transparent" style:background-transparency="100%" style:shadow="none" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="standard">
|
||||
<style:graphic-properties style:vertical-pos="from-top" style:vertical-rel="page" style:horizontal-pos="from-left" style:horizontal-rel="page" fo:background-color="transparent" style:background-transparency="100%" style:shadow="none" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="standard">
|
||||
<style:background-image/>
|
||||
</style:graphic-properties>
|
||||
</style:style>
|
||||
<style:style style:name="gr1" style:family="graphic">
|
||||
<style:graphic-properties draw:stroke="none" svg:stroke-color="#000000" draw:fill="none" draw:fill-color="#ffffff" fo:min-height="0.51cm" style:run-through="foreground" style:wrap="run-through" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="from-top" style:vertical-rel="paragraph" style:horizontal-pos="from-left" style:horizontal-rel="paragraph"/>
|
||||
<style:graphic-properties draw:stroke="none" svg:stroke-color="#000000" draw:fill="none" draw:fill-color="#ffffff" fo:min-height="0.51cm" style:run-through="foreground" style:wrap="run-through" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="from-top" style:vertical-rel="page" style:horizontal-pos="from-left" style:horizontal-rel="page"/>
|
||||
</style:style>
|
||||
</office:automatic-styles>
|
||||
<office:body>
|
||||
@@ -83,46 +82,45 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
|
||||
|
||||
<text:p text:style-name="P1">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}3" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.765cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="1.773cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1">Pers.-Nr. <xsl:value-of select="personalnummer"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
<draw:frame draw:style-name="fr1" draw:name="Grafik_{$uid}" text:anchor-type="char" svg:x="0.55cm" svg:y="2.3cm" svg:width="2cm" svg:height="2.6cm" draw:z-index="{$idx}5">
|
||||
<draw:image xlink:href="Pictures/{$uid}.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}4" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.79cm" svg:height="0.511cm" svg:x="2.334cm" svg:y="2.282cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1">Ausgestellt am <xsl:value-of select="ausstellungsdatum"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}2" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.806cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="1.263cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="nachname"/><xsl:text> </xsl:text><xsl:value-of select="titelpost"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}1" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.827cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="0.753cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="vorname"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}0" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.733cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="0.243cm">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}0" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5cm" svg:height="0.3cm" svg:x="2.94cm" svg:y="2.4cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="titelpre"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame draw:style-name="fr1" draw:name="Grafik_{$uid}" text:anchor-type="char" svg:x="0.215cm" svg:y="0.046cm" svg:width="2cm" svg:height="2.701cm" draw:z-index="{$idx}5">
|
||||
<draw:image xlink:href="Pictures/{$uid}.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}1" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5cm" svg:height="0.3cm" svg:x="2.94cm" svg:y="2.93cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="vorname"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}2" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5cm" svg:height="0.3cm" svg:x="2.94cm" svg:y="3.46cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="nachname"/><xsl:text> </xsl:text><xsl:value-of select="titelpost"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}3" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5cm" svg:height="0.3cm" svg:x="2.94cm" svg:y="3.99cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1">Pers.-Nr. <xsl:value-of select="personalnummer"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}4" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5cm" svg:height="0.3cm" svg:x="2.94cm" svg:y="4.55cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1">Ausgestellt am <xsl:value-of select="ausstellungsdatum"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
</text:p>
|
||||
|
||||
</xsl:template>
|
||||
<xsl:template match="student">
|
||||
<xsl:variable name="uid" select="uid" />
|
||||
@@ -135,11 +133,11 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
|
||||
|
||||
<text:p text:style-name="P1">
|
||||
<draw:frame draw:style-name="fr1" draw:name="Grafik_{$uid}" text:anchor-type="char" svg:x="0.215cm" svg:y="0.046cm" svg:width="2cm" svg:height="2.701cm" draw:z-index="{$idx}5">
|
||||
<draw:frame draw:style-name="fr1" draw:name="Grafik_{$uid}" text:anchor-type="char" svg:x="0.55cm" svg:y="1.83cm" svg:width="1.75cm" svg:height="2.38cm" draw:z-index="{$idx}5">
|
||||
<draw:image xlink:href="Pictures/{$uid}.jpg" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}0" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.733cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="0.035cm">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}0" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.733cm" svg:height="0.3cm" svg:x="2.7cm" svg:y="2.25cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="titelpre"/></text:span>
|
||||
@@ -147,7 +145,7 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}1" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.827cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="0.46cm">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}1" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.827cm" svg:height="0.3cm" svg:x="2.7cm" svg:y="2.65cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="vorname"/></text:span>
|
||||
@@ -155,7 +153,7 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}2" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.806cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="0.896cm">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}2" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.806cm" svg:height="0.3cm" svg:x="2.7cm" svg:y="3.05cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="nachname"/><xsl:text> </xsl:text><xsl:value-of select="titelpost"/></text:span>
|
||||
@@ -163,7 +161,7 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}3" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.765cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="1.349cm">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}3" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.765cm" svg:height="0.3cm" svg:x="2.7cm" svg:y="3.45cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="gebdatum"/></text:span>
|
||||
@@ -171,54 +169,15 @@ xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:off
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}4" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.79cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="1.843cm">
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}4" draw:style-name="gr1" draw:text-style-name="P7" svg:width="5.79cm" svg:height="0.3cm" svg:x="2.7cm" svg:y="3.85cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="matrikelnummer"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}4" draw:style-name="gr1" draw:text-style-name="P7" svg:width="2.652cm" svg:height="0.511cm" svg:x="2.335cm" svg:y="2.282cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1">Gültig bis/valid thru</text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}5" draw:style-name="gr1" draw:text-style-name="P7" svg:width="1.816cm" svg:height="0.511cm" svg:x="5.704cm" svg:y="2.282cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="gueltigbis"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
</text:p>
|
||||
|
||||
</xsl:template>
|
||||
<xsl:template match="datum">
|
||||
<xsl:variable name="uid" select="uid" />
|
||||
<xsl:variable name="idx"><xsl:value-of select="position()-1"/></xsl:variable>
|
||||
<text:p text:style-name="P4"/>
|
||||
<text:p text:style-name="P3"/>
|
||||
<text:p text:style-name="P3"/>
|
||||
<text:p text:style-name="P3"/>
|
||||
<text:p text:style-name="P3"/>
|
||||
|
||||
|
||||
<text:p text:style-name="P1">
|
||||
|
||||
<draw:frame text:anchor-type="paragraph" draw:z-index="{$idx}5" draw:style-name="gr1" draw:text-style-name="P7" svg:width="1.816cm" svg:height="0.511cm" svg:x="5.704cm" svg:y="2.282cm">
|
||||
<draw:text-box>
|
||||
<text:p text:style-name="P7">
|
||||
<text:span text:style-name="T1"><xsl:value-of select="gueltigbis"/></text:span>
|
||||
</text:p>
|
||||
</draw:text-box>
|
||||
</draw:frame>
|
||||
|
||||
</text:p>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet >
|
||||
|
||||
Reference in New Issue
Block a user