mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Merge branch 'signatur'
This commit is contained in:
+151
-2
@@ -1295,6 +1295,155 @@ if($result = $db->db_query("SELECT 1 FROM system.tbl_app WHERE app='bewerbung'")
|
||||
}
|
||||
}
|
||||
|
||||
// Archiv boolean fuer public.tbl_akte
|
||||
if(!@$db->db_query("SELECT archiv FROM public.tbl_akte LIMIT 1"))
|
||||
{
|
||||
// Defaultwerte und Update werden hier nacheinander durchgefuehrt da dies
|
||||
// schneller ist als ein ALTER TABLE mit inkludiertem Defaultwert
|
||||
$qry = "ALTER TABLE public.tbl_akte ADD COLUMN archiv boolean;
|
||||
UPDATE public.tbl_akte SET archiv=true WHERE dokument_kurzbz='Zeugnis';
|
||||
UPDATE public.tbl_akte SET archiv=false WHERE dokument_kurzbz<>'Zeugnis';
|
||||
ALTER TABLE public.tbl_akte ALTER COLUMN archiv SET DEFAULT false;
|
||||
ALTER TABLE public.tbl_akte ALTER COLUMN archiv SET NOT NULL;
|
||||
COMMENT ON COLUMN public.tbl_akte.archiv IS 'Is the document part of the archive';";
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>tbl_akte.archiv: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte archiv in public.tbl_akte hinzugefügt';
|
||||
}
|
||||
|
||||
// signiert boolean fuer public.tbl_akte
|
||||
if(!@$db->db_query("SELECT signiert FROM public.tbl_akte LIMIT 1"))
|
||||
{
|
||||
// Defaultwerte und Update werden hier nacheinander durchgefuehrt da dies
|
||||
// schneller ist als ein ALTER TABLE mit inkludiertem Defaultwert
|
||||
$qry = "ALTER TABLE public.tbl_akte ADD COLUMN signiert boolean;
|
||||
UPDATE public.tbl_akte SET signiert = false;
|
||||
ALTER TABLE public.tbl_akte ALTER COLUMN signiert SET DEFAULT false;
|
||||
ALTER TABLE public.tbl_akte ALTER COLUMN signiert SET NOT NULL;
|
||||
COMMENT ON COLUMN public.tbl_akte.signiert IS 'Is the document digitally signed'";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>App: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte signiert in public.tbl_akte hinzugefügt';
|
||||
}
|
||||
|
||||
// stud_selfservice boolean fuer public.tbl_akte
|
||||
if(!@$db->db_query("SELECT stud_selfservice FROM public.tbl_akte LIMIT 1"))
|
||||
{
|
||||
// Defaultwerte und Update werden hier nacheinander durchgefuehrt da dies
|
||||
// schneller ist als ein ALTER TABLE mit inkludiertem Defaultwert
|
||||
$qry = "ALTER TABLE public.tbl_akte ADD COLUMN stud_selfservice boolean;
|
||||
UPDATE public.tbl_akte SET stud_selfservice = false;
|
||||
ALTER TABLE public.tbl_akte ALTER COLUMN stud_selfservice SET DEFAULT false;
|
||||
ALTER TABLE public.tbl_akte ALTER COLUMN stud_selfservice SET NOT NULL;
|
||||
COMMENT ON COLUMN public.tbl_akte.stud_selfservice IS 'Is the document downloadable for students'";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>App: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte stud_selfservice in public.tbl_akte hinzugefügt';
|
||||
}
|
||||
|
||||
// Berechtigung fuer Vorlagen setzen die vormals direkt in PDFExport.php geprueft wurden
|
||||
function AddBerechtigungVorlage($berechtigung_arr, $vorlage_arr)
|
||||
{
|
||||
global $db;
|
||||
|
||||
$berechtigung = '{';
|
||||
foreach($berechtigung_arr as $item)
|
||||
{
|
||||
$berechtigung .= '"'.$db->db_escape($item).'",';
|
||||
}
|
||||
$berechtigung = mb_substr($berechtigung, 0, -1).'}';
|
||||
|
||||
foreach($vorlage_arr as $vorlage)
|
||||
{
|
||||
$qry = "SELECT 1 FROM public.tbl_vorlagestudiengang
|
||||
WHERE berechtigung is null AND vorlage_kurzbz=".$db->db_add_param($vorlage);
|
||||
|
||||
$result = $db->db_query($qry);
|
||||
if($db->db_num_rows($result)>0)
|
||||
{
|
||||
$qry = "UPDATE public.tbl_vorlagestudiengang SET berechtigung='".$berechtigung."'
|
||||
WHERE berechtigung is null AND vorlage_kurzbz=".$db->db_add_param($vorlage);
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>Vorlage Berechtigung: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Berechtigung '.$berechtigung.' fuer Vorlage '.$vorlage.' gesetzt';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
AddBerechtigungVorlage(array('admin','assistenz'),array('Lehrveranstaltungszeugnis','Zertifikat','Diplomurkunde',
|
||||
'Diplomzeugnis','Bescheid', 'BescheidEng','Bakkurkunde','BakkurkundeEng','Bakkzeugnis',
|
||||
'PrProtokollBakk','PrProtokollDipl','Lehrauftrag','DiplomurkundeEng','Zeugnis','ZeugnisEng','StudienerfolgEng',
|
||||
'Sammelzeugnis','PrProtDiplEng','PrProtBakkEng','BakkzeugnisEng','DiplomzeugnisEng','statusbericht',
|
||||
'DiplSupplement','Zutrittskarte','Projektbeschr','Ausbildungsver','AusbildStatus','PrProtBA','PrProtMA',
|
||||
'PrProtBAEng','PrProtMAEng','Studienordnung','Erfolgsnachweis','ErfolgsnwHead','Studienblatt','LV_Informationen',
|
||||
'LVZeugnis','AnwListBarcode','Honorarvertrag','AusbVerEng','AusbVerEngHead','Zeugnis','ZeugnisNeu','ZeugnisEngNeu',
|
||||
'ErfolgsnachweisE','ErfolgsnwHeadE','Magisterurkunde','Masterurkunde','Defensiourkunde','Magisterzeugnis',
|
||||
'Laufzettel','StudienblattEng','Zahlung1','Terminliste','Studienbuchblatt','Veranstaltungen',
|
||||
'Inskription','Studienerfolg','OutgoingLearning','OutgoingChangeL','LearningAgree','Zahlung','DichiaSost'
|
||||
));
|
||||
AddBerechtigungVorlage(array('lehre/lvplan'), array('Ressource'));
|
||||
AddBerechtigungVorlage(array('wawi/inventar','assistenz','basis/betriebsmittel'), array('Uebernahme'));
|
||||
AddBerechtigungVorlage(array('wawi/bestellung'), array('Bestellung'));
|
||||
AddBerechtigungVorlage(array('admin','mitarbeiter','assistenz'), array('AccountInfo'));
|
||||
|
||||
// archivierbar boolean fuer public.tbl_vorlage
|
||||
if(!@$db->db_query("SELECT archivierbar FROM public.tbl_vorlage LIMIT 1"))
|
||||
{
|
||||
$qry = "ALTER TABLE public.tbl_vorlage ADD COLUMN archivierbar boolean DEFAULT false;
|
||||
UPDATE public.tbl_vorlage SET archivierbar=true
|
||||
WHERE vorlage_kurzbz in('DiplSupplement','Zeugnis','ZeugnisEng', 'Bescheid',' BescheidEng');
|
||||
COMMENT ON COLUMN public.tbl_vorlage.archivierbar IS 'Can this document be archived'";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>App: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte archivierbar in public.tbl_vorlage hinzugefügt';
|
||||
}
|
||||
|
||||
// signierbar boolean fuer public.tbl_vorlage
|
||||
if(!@$db->db_query("SELECT signierbar FROM public.tbl_vorlage LIMIT 1"))
|
||||
{
|
||||
$qry = "ALTER TABLE public.tbl_vorlage ADD COLUMN signierbar boolean DEFAULT false;
|
||||
COMMENT ON COLUMN public.tbl_vorlage.signierbar IS 'Can this document be digitally signed'";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>App: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte signierbar in public.tbl_vorlage hinzugefügt';
|
||||
}
|
||||
|
||||
// stud_selfservice boolean fuer public.tbl_vorlage
|
||||
if(!@$db->db_query("SELECT stud_selfservice FROM public.tbl_vorlage LIMIT 1"))
|
||||
{
|
||||
$qry = "ALTER TABLE public.tbl_vorlage ADD COLUMN stud_selfservice boolean DEFAULT false;
|
||||
COMMENT ON COLUMN public.tbl_vorlage.stud_selfservice IS 'Can this documents be downloaded if archived'";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>App: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte stud_selfserice in public.tbl_vorlage hinzugefügt';
|
||||
}
|
||||
|
||||
// dokument_kurzbz fuer public.tbl_vorlage
|
||||
if(!@$db->db_query("SELECT dokument_kurzbz FROM public.tbl_vorlage LIMIT 1"))
|
||||
{
|
||||
$qry = "ALTER TABLE public.tbl_vorlage ADD COLUMN dokument_kurzbz varchar(8);
|
||||
ALTER TABLE public.tbl_vorlage ADD CONSTRAINT fk_vorlage_dokument FOREIGN KEY (dokument_kurzbz) REFERENCES public.tbl_dokument (dokument_kurzbz) ON DELETE RESTRICT ON UPDATE CASCADE;
|
||||
COMMENT ON COLUMN public.tbl_vorlage.dokument_kurzbz IS 'Connects a Template with the corresponding Dokument'";
|
||||
|
||||
if(!$db->db_query($qry))
|
||||
echo '<strong>App: '.$db->db_last_error().'</strong><br>';
|
||||
else
|
||||
echo '<br>Neue Spalte dokument_kurzbz in public.tbl_vorlage hinzugefügt';
|
||||
}
|
||||
|
||||
// Remove NOT NULL constraint on vorlaufszeit on public.tbl_ampel
|
||||
if($result = @$db->db_query("SELECT is_nullable FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA = 'public' AND TABLE_NAME = 'tbl_ampel' AND COLUMN_NAME = 'vorlaufzeit' AND is_nullable = 'NO'"))
|
||||
{
|
||||
@@ -2216,7 +2365,7 @@ $tabellen=array(
|
||||
"lehre.tbl_zeugnisnote" => array("lehrveranstaltung_id","student_uid","studiensemester_kurzbz","note","uebernahmedatum","benotungsdatum","bemerkung","updateamum","updatevon","insertamum","insertvon","ext_id","punkte"),
|
||||
"public.ci_apikey" => array("apikey_id","key","level","ignore_limits","date_created"),
|
||||
"public.tbl_adresse" => array("adresse_id","person_id","name","strasse","plz","ort","gemeinde","nation","typ","heimatadresse","zustelladresse","firma_id","updateamum","updatevon","insertamum","insertvon","ext_id","rechnungsadresse","anmerkung"),
|
||||
"public.tbl_akte" => array("akte_id","person_id","dokument_kurzbz","uid","inhalt","mimetype","erstelltam","gedruckt","titel","bezeichnung","updateamum","updatevon","insertamum","insertvon","ext_id","dms_id","nachgereicht","anmerkung","titel_intern","anmerkung_intern","nachgereicht_am","ausstellungsnation","formal_geprueft_amum"),
|
||||
"public.tbl_akte" => array("akte_id","person_id","dokument_kurzbz","uid","inhalt","mimetype","erstelltam","gedruckt","titel","bezeichnung","updateamum","updatevon","insertamum","insertvon","ext_id","dms_id","nachgereicht","anmerkung","titel_intern","anmerkung_intern","nachgereicht_am","ausstellungsnation","formal_geprueft_amum","archiv","signiert","stud_selfservice"),
|
||||
"public.tbl_ampel" => array("ampel_id","kurzbz","beschreibung","benutzer_select","deadline","vorlaufzeit","verfallszeit","insertamum","insertvon","updateamum","updatevon","email","verpflichtend","buttontext"),
|
||||
"public.tbl_ampel_benutzer_bestaetigt" => array("ampel_benutzer_bestaetigt_id","ampel_id","uid","insertamum","insertvon"),
|
||||
"public.tbl_aufmerksamdurch" => array("aufmerksamdurch_kurzbz","beschreibung","ext_id","bezeichnung", "aktiv"),
|
||||
@@ -2296,7 +2445,7 @@ $tabellen=array(
|
||||
"public.tbl_studiensemester" => array("studiensemester_kurzbz","bezeichnung","start","ende","studienjahr_kurzbz","ext_id","beschreibung","onlinebewerbung"),
|
||||
"public.tbl_tag" => array("tag"),
|
||||
"public.tbl_variable" => array("name","uid","wert"),
|
||||
"public.tbl_vorlage" => array("vorlage_kurzbz","bezeichnung","anmerkung","mimetype","attribute"),
|
||||
"public.tbl_vorlage" => array("vorlage_kurzbz","bezeichnung","anmerkung","mimetype","attribute","archivierbar","signierbar","stud_selfservice","dokument_kurzbz"),
|
||||
"public.tbl_vorlagedokument" => array("vorlagedokument_id","sort","vorlagestudiengang_id","dokument_kurzbz"),
|
||||
"public.tbl_vorlagestudiengang" => array("vorlagestudiengang_id","vorlage_kurzbz","studiengang_kz","version","text","oe_kurzbz","style","berechtigung","anmerkung_vorlagestudiengang","aktiv","sprache","subject","orgform_kurzbz"),
|
||||
"testtool.tbl_ablauf" => array("ablauf_id","gebiet_id","studiengang_kz","reihung","gewicht","semester", "insertamum","insertvon","updateamum", "updatevon","ablauf_vorgaben_id","studienplan_id"),
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+639
-629
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
>
|
||||
|
||||
@@ -323,6 +324,9 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<style:style style:name="fr3" style:family="graphic" style:parent-style-name="Graphics">
|
||||
<style:graphic-properties style:run-through="foreground" style:wrap="run-through" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="bottom" style:vertical-rel="page-content" style:horizontal-pos="from-left" style:horizontal-rel="page-content" 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:style>
|
||||
<style:style style:name="frSignatur" style:family="graphic" style:parent-style-name="Frame">
|
||||
<style:graphic-properties 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" fo:padding="0cm" fo:border="none" style:shadow="none" draw:shadow-opacity="100%" 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:style>
|
||||
</office:automatic-styles>
|
||||
<office:body>
|
||||
<xsl:apply-templates select="zeugnis"/>
|
||||
@@ -341,7 +345,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<!-- 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:if test="position()=1 and not(../signed)">
|
||||
<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">
|
||||
@@ -495,6 +499,13 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<text:p text:style-name="P23">Grades:<text:tab/>Passed with distinction, Passed with merit, Passed</text:p>
|
||||
<text:p text:style-name="P19"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="../signed">
|
||||
<text:p text:style-name="P1">
|
||||
<draw:frame draw:style-name="frSignatur" draw:name="Bild1" text:anchor-type="paragraph" svg:width="16.401cm" svg:height="4.235cm" draw:z-index="0">
|
||||
<draw:image xlink:href="Pictures/Platzhalter_QR_FHC_AMT_PRIVAT_GROSS_EN.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
</text:p>
|
||||
</xsl:if>
|
||||
</office:text>
|
||||
</xsl:template>
|
||||
<xsl:template match="unterrichtsfach">
|
||||
|
||||
+522
-510
File diff suppressed because it is too large
Load Diff
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
>
|
||||
|
||||
@@ -312,6 +313,9 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<style:style style:name="fr3" style:family="graphic" style:parent-style-name="Graphics">
|
||||
<style:graphic-properties style:run-through="foreground" style:wrap="run-through" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="bottom" style:vertical-rel="page-content" style:horizontal-pos="from-left" style:horizontal-rel="page-content" 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:style>
|
||||
<style:style style:name="frSignatur" style:family="graphic" style:parent-style-name="Frame">
|
||||
<style:graphic-properties 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" fo:padding="0cm" fo:border="none" style:shadow="none" draw:shadow-opacity="100%" 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:style>
|
||||
</office:automatic-styles>
|
||||
<office:body>
|
||||
<xsl:apply-templates select="zeugnis"/>
|
||||
@@ -330,7 +334,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<!-- 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:if test="position()=1 and not(../signed)">
|
||||
<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">
|
||||
@@ -415,6 +419,13 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<text:p text:style-name="P22">Beurteilung: bestanden, nicht bestanden, nicht teilgenommen</text:p>
|
||||
<text:p text:style-name="P22">Gesetzliche Grundlage: gem. § 4 abs. 3 des Bundesgesetzes über Fachhochschul-Studiengänge (FHStG), BGBl. Nr. 340/1993 idgF</text:p>
|
||||
<text:p text:style-name="P7"/>
|
||||
<xsl:if test="../signed">
|
||||
<text:p text:style-name="P1">
|
||||
<draw:frame draw:style-name="frSignatur" draw:name="Bild1" text:anchor-type="paragraph" svg:width="16.401cm" svg:height="4.235cm" draw:z-index="0">
|
||||
<draw:image xlink:href="Pictures/Platzhalter_QR_FHC_AMT_PRIVAT_GROSS_DE.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
</text:p>
|
||||
</xsl:if>
|
||||
</office:text>
|
||||
</xsl:template>
|
||||
<xsl:template match="unterrichtsfach">
|
||||
@@ -442,4 +453,4 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
</table:table-cell>
|
||||
</table:table-row>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
|
||||
>
|
||||
|
||||
@@ -320,6 +321,9 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<style:style style:name="fr3" style:family="graphic" style:parent-style-name="Graphics">
|
||||
<style:graphic-properties style:run-through="foreground" style:wrap="run-through" style:number-wrapped-paragraphs="no-limit" style:vertical-pos="bottom" style:vertical-rel="page-content" style:horizontal-pos="from-left" style:horizontal-rel="page-content" 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:style>
|
||||
<style:style style:name="frSignatur" style:family="graphic" style:parent-style-name="Frame">
|
||||
<style:graphic-properties 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" fo:padding="0cm" fo:border="none" style:shadow="none" draw:shadow-opacity="100%" 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:style>
|
||||
</office:automatic-styles>
|
||||
<office:body>
|
||||
<xsl:apply-templates select="zeugnis"/>
|
||||
@@ -338,7 +342,7 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<!-- 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:if test="position()=1 and not(../signed)">
|
||||
<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">
|
||||
@@ -477,6 +481,13 @@ xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn
|
||||
<text:p text:style-name="P23">Notenstufen:<text:tab/>mit ausgezeichnetem Erfolg bestanden, mit gutem Erfolg bestanden, bestanden</text:p>
|
||||
<text:p text:style-name="P19"/>
|
||||
</xsl:if>
|
||||
<xsl:if test="../signed">
|
||||
<text:p text:style-name="P1">
|
||||
<draw:frame draw:style-name="frSignatur" draw:name="Bild1" text:anchor-type="paragraph" svg:width="16.401cm" svg:height="4.235cm" draw:z-index="0">
|
||||
<draw:image xlink:href="Pictures/Platzhalter_QR_FHC_AMT_PRIVAT_GROSS_DE.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
</text:p>
|
||||
</xsl:if>
|
||||
</office:text>
|
||||
</xsl:template>
|
||||
<xsl:template match="unterrichtsfach">
|
||||
|
||||
@@ -61,6 +61,11 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="pruefung">
|
||||
<!--
|
||||
Der Bescheid wird nur aufgrund der zuletzt vorhandenen Abschlusspruefung ausgestellt
|
||||
Diese wird als erstes vom RDF geliefert
|
||||
-->
|
||||
<xsl:if test="position()=1">
|
||||
<office:text text:use-soft-page-breaks="true" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0">
|
||||
<text:sequence-decls>
|
||||
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
|
||||
@@ -121,17 +126,30 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
|
||||
<text:p text:style-name="P1">(Council of the University of Applied Sciences Technikum Wien) within four weeks of</text:p>
|
||||
<text:p text:style-name="P1">notification.</text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">Vienna, <xsl:value-of select="sponsion" /></text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">For the UAS Council</text:p>
|
||||
<text:p text:style-name="P1">The Rector</text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"><xsl:value-of select="rektor" /></text:p>
|
||||
|
||||
<xsl:choose>
|
||||
<xsl:when test="../signed">
|
||||
<text:p text:style-name="P3">
|
||||
<draw:frame draw:style-name="fr1" draw:name="Bild1" text:anchor-type="paragraph" svg:width="17cm" svg:height="4.235cm" draw:z-index="0">
|
||||
<draw:image xlink:href="Pictures/Platzhalter_QR_FHC_GROSS_AMT_EN.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
</text:p>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">Vienna, <xsl:value-of select="sponsion" /></text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">For the UAS Council</text:p>
|
||||
<text:p text:style-name="P1">The Rector</text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"><xsl:value-of select="rektor" /></text:p>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</office:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
||||
+27
-10
@@ -61,6 +61,11 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="pruefung">
|
||||
<!--
|
||||
Der Bescheid wird nur aufgrund der zuletzt vorhandenen Abschlusspruefung ausgestellt
|
||||
Diese wird als erstes vom RDF geliefert
|
||||
-->
|
||||
<xsl:if test="position()=1">
|
||||
<office:text text:use-soft-page-breaks="true" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0">
|
||||
<text:sequence-decls>
|
||||
<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
|
||||
@@ -136,15 +141,27 @@ xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
|
||||
<text:p text:style-name="P1">von vier Wochen ab Zustellung bei der belangten Behörde (Kollegium der Fachhochschule</text:p>
|
||||
<text:p text:style-name="P1">Technikum Wien) einzubringen.</text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">Wien, <xsl:value-of select="sponsion" /></text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">Für das Fachhochschulkollegium</text:p>
|
||||
<text:p text:style-name="P1">Der Rektor</text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"><xsl:value-of select="rektor" /></text:p>
|
||||
<xsl:choose>
|
||||
<xsl:when test="../signed">
|
||||
<text:p text:style-name="P1">
|
||||
<draw:frame draw:style-name="fr1" draw:name="Bild1" text:anchor-type="paragraph" svg:width="17cm" svg:height="4.235cm" draw:z-index="0">
|
||||
<draw:image xlink:href="Pictures/Platzhalter_QR_FHC_GROSS_AMT_DE.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad"/>
|
||||
</draw:frame>
|
||||
</text:p>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<text:p text:style-name="P1">Wien, <xsl:value-of select="sponsion" /></text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1">Für das Fachhochschulkollegium</text:p>
|
||||
<text:p text:style-name="P1">Der Rektor</text:p>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"/>
|
||||
<text:p text:style-name="P1"><xsl:value-of select="rektor" /></text:p>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</office:text>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
||||
Reference in New Issue
Block a user