Stempelvorlagen, shiftkey, ctrlkey, Archiv

Englische Zeugnisvorlage mit Stempel druckt nun auch mehrseitig.
Zeugnis und Diplomasupplement können im FAS auch als .odt und .doc durch
drücken der Umschalt- bzw. Strg-Taste generiert werden.
Menüpunkt "Zeugnis" (Karteireiter) umbenannt in "Archiv".
This commit is contained in:
kindlm
2015-02-02 16:30:09 +01:00
parent d70bd7dad7
commit 578329d821
6 changed files with 93 additions and 53 deletions
+49 -37
View File
@@ -290,6 +290,10 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
<style:style style:name="P27" style:family="paragraph" style:parent-style-name="Standard">
<style:text-properties fo:font-size="5pt" officeooo:rsid="000f65a0" officeooo:paragraph-rsid="000f65a0" style:font-size-asian="1.75pt" style:font-size-complex="2pt"/>
</style:style>
<style:style style:name="Seitenumbruch" style:family="paragraph" style:parent-style-name="Standard">
<style:paragraph-properties fo:break-before="page"/>
<style:text-properties fo:font-size="16pt" fo:font-weight="bold" officeooo:rsid="000de2a1" officeooo:paragraph-rsid="000de2a1" style:font-size-asian="16pt" style:font-weight-asian="bold" style:font-size-complex="16pt" style:font-weight-complex="bold"/>
</style:style>
<style:style style:name="T1" style:family="text">
<style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/>
</style:style>
@@ -310,7 +314,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
</style:style>
</office:automatic-styles>
<office:body>
<xsl:apply-templates select="zeugnis"/>
<xsl:apply-templates select="zeugnis"/>
</office:body>
</office:document-content>
</xsl:template>
@@ -323,42 +327,50 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<draw:frame draw:style-name="fr1" draw:name="Rahmen1" text:anchor-type="page" text:anchor-page-number="1" svg:y="21.001cm" draw:z-index="0">
<draw:text-box fo:min-height="0.499cm" fo:min-width="2cm">
<table:table table:name="Tabelle3" table:style-name="Tabelle3">
<table:table-column table:style-name="Tabelle3.A"/>
<table:table-column table:style-name="Tabelle3.B"/>
<table:table-column table:style-name="Tabelle3.C"/>
<table:table-row>
<table:table-cell table:style-name="Tabelle3.A1" office:value-type="string">
<text:p text:style-name="P17">Vienna, <xsl:value-of select="ort_datum" /></text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.B1" office:value-type="string">
<text:p text:style-name="P16"/>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.C1" office:value-type="string">
<text:p text:style-name="P16"/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Tabelle3.A2" office:value-type="string">
<text:p text:style-name="P17">Place, Date</text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.B2" office:value-type="string">
<text:p text:style-name="P16"/>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.C2" office:value-type="string">
<text:p text:style-name="P17"><xsl:value-of select="studiengangsleiter" /></text:p>
<text:p text:style-name="P17">Program Director</text:p>
</table:table-cell>
</table:table-row>
</table:table>
</draw:text-box>
</draw:frame>
<draw:frame xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" draw:style-name="fr3" draw:name="Bild1" text:anchor-type="page" text:anchor-page-number="1" svg:x="5.2cm" svg:width="3.51cm" svg:height="3.51cm" draw:z-index="1">
<draw:image xlink:href="Pictures/10000201000002290000022939997AEC.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
</draw:frame>
<text:p text:style-name="P6">Transcript of Records</text:p>
<!-- Wichtig für Mehrfachdruck (mehrere Studenten ausgewählt): Wenn ein Element (in diesem Fall Stempel und Unterschriftenblock) relativ zur SEITE ausgerichtet werden soll,
muss für jedes Dokument (jeder neue Durchlauf der Schleife) ein draw:frame-Tag definiert werden. Diese müssen ALLE VOR den ersten text:p-Elementen stehen.
Deshalb wirde erst die Schleife für die draw:frames aufgerufen, dann folg tder Inhalt -->
<xsl:if test="position()=1">
<xsl:for-each select="../zeugnis">
<xsl:variable select="position()" name="number"/><!-- Variable number definieren, die nach jedem Dokument um eines erhöht wird (position) -->
<draw:frame draw:style-name="fr1" draw:name="Rahmen{$number}" text:anchor-type="page" text:anchor-page-number="{$number}" svg:y="21.001cm" draw:z-index="0">
<draw:text-box fo:min-height="0.499cm" fo:min-width="2cm">
<table:table table:name="Tabelle3" table:style-name="Tabelle3">
<table:table-column table:style-name="Tabelle3.A"/>
<table:table-column table:style-name="Tabelle3.B"/>
<table:table-column table:style-name="Tabelle3.C"/>
<table:table-row>
<table:table-cell table:style-name="Tabelle3.A1" office:value-type="string">
<text:p text:style-name="P17">Vienna, <xsl:value-of select="ort_datum" /></text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.B1" office:value-type="string">
<text:p text:style-name="P16"/>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.C1" office:value-type="string">
<text:p text:style-name="P16"/>
</table:table-cell>
</table:table-row>
<table:table-row>
<table:table-cell table:style-name="Tabelle3.A2" office:value-type="string">
<text:p text:style-name="P17">Place, Date</text:p>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.B2" office:value-type="string">
<text:p text:style-name="P16"/>
</table:table-cell>
<table:table-cell table:style-name="Tabelle3.C2" office:value-type="string">
<text:p text:style-name="P17"><xsl:value-of select="studiengangsleiter" /></text:p>
<text:p text:style-name="P17">Program Director</text:p>
</table:table-cell>
</table:table-row>
</table:table>
</draw:text-box>
</draw:frame>
<draw:frame xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" draw:style-name="fr3" draw:name="Bild{$number}" text:anchor-type="page" text:anchor-page-number="{$number}" svg:x="5.2cm" svg:width="3.51cm" svg:height="3.51cm" draw:z-index="1">
<draw:image xlink:href="Pictures/10000201000002290000022939997AEC.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
</draw:frame>
</xsl:for-each>
</xsl:if>
<text:p text:style-name="Seitenumbruch">Transcript of Records</text:p>
<text:p text:style-name="P6">
<xsl:choose>
<xsl:when test="string-length(semester_bezeichnung)=0">
+4 -2
View File
@@ -327,10 +327,12 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>
<!-- Wichtig für Mehrfachdruck (mehrere Studenten ausgewählt): Wenn ein Element (in diesem Fall Stempel und Unterschriftenblock) relativ zur SEITE ausgerichtet werden soll,
muss für jedes Dokument (jeder neue Durchlauf der Schleife) ein draw:frame-Tag definiert werden. Diese müssen ALLE VOR den ersten text:p-Elementen stehen.
Deshalb wirde erst die Schleife für die draw:frames aufgerufen, dann folg tder Inhalt -->
<xsl:if test="position()=1">
<xsl:for-each select="../zeugnis">
<xsl:variable select="position()" name="number"/>
<xsl:variable select="position()" name="number"/><!-- Variable number definieren, die nach jedem Dokument um eines erhöht wird (position) -->
<draw:frame draw:style-name="fr1" draw:name="Rahmen{$number}" text:anchor-type="page" text:anchor-page-number="{$number}" svg:y="21.001cm" draw:z-index="0">
<draw:text-box fo:min-height="0.499cm" fo:min-width="2cm">
<table:table table:name="Tabelle3" table:style-name="Tabelle3">