11462
ID | 11462 |
Data | 2022-04-01 |
Symbol | 2022/04/01/11462 |
Instytucja | Ministerstwo Rodziny i Polityki Społecznej |
Nazwa | Oświadczenie o planowanym terminie ukończenia nauki w szkole lub szkole wyższej - ZKDR-01 |
Czy Aktualny | 1 |
---|
Ustawy (1)
URI://Dziennik_Ustaw/2021/2070/16b/1 | Art. 16b ust. 1 ustawy z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne (Dz. U. z 2021 r. poz. 2070) |
---|
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wnio="http://crd.gov.pl/wzor/2022/04/01/11462/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2007/schema-for-xslt20.xsd">
<xsl:template match="/">
<html>
<head>
<title>ZKDR-01 - Ministerstwo Rodziny i Polityki Społecznej</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body style="font-family: Arial; text-align: center; ">
<div style="background-color: white; border: 1px solid black; margin-left: auto; overflow: hidden; width: 880px; margin-top: 15px; position: relative; margin-bottom: 15px; height: 1280px; margin-right: auto; text-align: left; ">
<div style="top: 0px; left: 0px; width: 880px; position: absolute; height: 26px; ">
<div style="color: #000000; top: 0px; left: 322px; font-weight: bold; width: 545px; font-size: 20px; position: absolute; height: 24px; text-align: right; " class="SofLabel formName">ZKDR-01</div>
<span style="color: #000000; top: 8px; left: 5px; font-weight: normal; width: 300px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel page"/>
<div style="border-top: 2px solid black; top: 25px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
<span/>
</div>
</div>
<div style="top: 175px; left: 0px; width: 880px; position: absolute; height: 209px; ">
<div style="background-color: #e3e5f4; top: 0px; left: 0px; width: 100%; border-color: #e3e5f4; border-width: 1px; position: absolute; border-style: solid; height: 100%; " class="SofBorderContainer purpleAll">
<div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">DANE WNIOSKODAWCY</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 23px; left: 13px; " class="SofLabel"/>
<div style="background-color: #ffffff; width: 870px; position: absolute; top: 38px; left: 10px; height: 161px; " class="SofBorderContainer">
<div style="width: 123px; font-size: 12px; position: absolute; color: #000000; top: 93px; left: 3px; " class="SofLabel">03. Numer PESEL</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 3px; display: block; width: 265px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:PESEL"/>
</span>
</div>
<div style="width: 856px; font-size: 12px; position: absolute; color: #000000; top: 143px; left: 3px; " class="SofLabel"/>
<div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 291px; " class="SofLabel">04. Data urodzenia (dd / mm / rrrr)</div>
<div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 106px; left: 291px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
<span style="padding-left:5px ; line-height:25px; display: block;">
<xsl:call-template name="formatDaty">
<xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:DataUrodzenia"/>
</xsl:call-template>
</span>
<span/>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 93px; left: 507px; " class="SofLabel">05. Seria i numer dokumentu potwierdzającego tożsamość</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 106px; left: 507px; display: block; width: 361px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:SeriaNumerDokumentu"/>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 49px; left: 3px; " class="SofLabel">02. Nazwisko</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 62px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:Nazwisko"/>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 5px; left: 3px; " class="SofLabel">01. Imię</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 18px; left: 3px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:Imie"/>
</span>
</div>
</div>
</div>
</div>
<div style="color: #000000; top: 389px; left: 7px; font-weight: bold; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Bold">Oświadczam, że:</div>
<div style="background-color: #E7E5E6; top: 406px; left: 0px; width: 880px; border-color: #E7E5E6; border-width: 1px; position: absolute; border-style: solid; height: 180px; " class="SofBorderContainer lightGrayAll">
<div style="font-size: 12px; position: absolute; color: #000000; top: 7px; left: 13px; font-weight: bold; " class="SofLabel sectionHeader">DANE DZIECKA, KTÓREGO DOTYCZY OŚWIADCZENIE</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 68px; left: 13px; " class="SofLabel">Nazwisko:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 81px; left: 13px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:Nazwisko"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 24px; left: 13px; " class="SofLabel">Imię:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 37px; left: 13px; display: block; width: 865px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:Imie"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="865"/>
</xsl:call-template>
</span>
</div>
<div style="width: 123px; font-size: 12px; position: absolute; color: #000000; top: 112px; left: 13px; " class="SofLabel">Numer PESEL:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 125px; left: 13px; display: block; width: 265px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:PESEL"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="265"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 112px; left: 517px; " class="SofLabel">Seria i numer dokumentu potwierdzającego tożsamość:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 125px; left: 517px; display: block; width: 361px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:SeriaNumerDokumentu"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="361"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 112px; left: 301px; " class="SofLabel">Data urodzenia: (dd / mm / rrrr)</div>
<div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 125px; left: 301px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
<span style="padding-left:5px ; line-height:25px; display: block;">
<xsl:call-template name="formatDaty">
<xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:DataUrodzenia"/>
</xsl:call-template>
</span>
<span/>
</div>
<div style="width: 856px; font-size: 12px; position: absolute; color: #000000; top: 162px; left: 13px; " class="SofLabel"/>
</div>
<div style="color: #000000; top: 596px; left: 7px; font-weight: normal; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">uczy się w:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 620px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:TypSzkoly/wnio:Szkola='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="color: #000000; top: 627px; left: 71px; width: 804px; font-size: 14px; position: absolute; text-align: justify; height: 36px; " class="SofLabel justified14">szkole</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 659px; left: 37px; display: block; width: 25px; font-size: 14px; position: absolute; height: 25px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:TypSzkoly/wnio:SzkolaWyzsza='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="color: #000000; top: 666px; left: 71px; width: 804px; font-size: 14px; position: absolute; text-align: justify; height: 36px; " class="SofLabel justified14">szkole wyższej</div>
<div style="color: #000000; top: 701px; left: 13px; font-weight: normal; font-size: 14px; font-family: arial; position: absolute; " class="SofLabel global14Normal">Planowany termin ukończenia nauki to:</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 682px; left: 277px; " class="SofLabel">Data: (dd / mm / rrrr)</div>
<div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 695px; left: 277px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: solid; height: 25px; " class="SofDateField">
<span style="padding-left:5px ; line-height:25px; display: block;">
<xsl:call-template name="formatDaty">
<xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:DataUkonczeniaNauki"/>
</xsl:call-template>
</span>
<span/>
</div>
<div style="background-color: #E7E5E6; top: 733px; left: 0px; width: 880px; border-color: #E7E5E6; border-width: 1px; position: absolute; border-style: solid; height: 88px; " class="SofBorderContainer lightGrayAll">
<div style="font-size: 12px; position: absolute; color: #000000; top: 8px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">RODZAJ SZKOŁY LUB SZKOŁY WYŻSZEJ, DO KTÓREJ UCZĘSZCZA DZIECKO</div>
<div style="background-color: #E7E5E6; top: 28px; left: 10px; width: 870px; border-color: #E7E5E6; position: absolute; height: 56px; " class="SofBorderContainer lightGrayAll">
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 1px; left: 3px; display: block; width: 840px; font-size: 18px; position: absolute; height: 54px; " class="SofTextArea dotted">
<div style="padding-left:5px ; padding-top:2px; display: block;">
<xsl:call-template name="formatTextArea">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:RodzajSzkoly"/>
<xsl:with-param name="wysokosc" select="54"/>
<xsl:with-param name="szerokosc" select="840"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="wysokoscLini" select="20"/>
<xsl:with-param name="liczbaPrzejscDoNowychLini" select="0"/>
<xsl:with-param name="tekstPoOstatnimPrzejsciuDoNowejLini" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:RodzajSzkoly"/>
</xsl:call-template>
</div>
</div>
</div>
</div>
<div style="background-color: #E7E5E6; top: 825px; left: 0px; width: 880px; border-color: #E7E5E6; border-width: 1px; position: absolute; border-style: solid; height: 270px; " class="SofBorderContainer lightGrayAll">
<div style="font-size: 12px; position: absolute; color: #000000; top: 7px; left: 10px; font-weight: bold; " class="SofLabel sectionHeader">DANE ADRESOWE SZKOŁY LUB SZKOŁY WYŻSZEJ, DO KTÓREJ UCZĘSZCZA DZIECKO</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 68px; left: 13px; " class="SofLabel">Kod pocztowy:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 81px; left: 13px; display: block; width: 145px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;display: block;">
<xsl:if test="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:KodPocztowy!= ''">
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:KodPocztowy, 1, 2)"/>
-
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:KodPocztowy, 3, 4)"/>
</xsl:if>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 24px; left: 13px; " class="SofLabel">Gmina / Dzielnica:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 37px; left: 13px; display: block; width: 864px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:GminaDzielnica"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="864"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 112px; left: 13px; " class="SofLabel">Ulica:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 125px; left: 13px; display: block; width: 864px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:Ulica"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="864"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 156px; left: 13px; " class="SofLabel">Numer domu:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 169px; left: 13px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:NumerDomu"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="169"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 156px; left: 205px; " class="SofLabel">Numer lokalu:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 169px; left: 205px; display: block; width: 169px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:NumerLokalu"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="169"/>
</xsl:call-template>
</span>
</div>
<div style="width: 189px; font-size: 12px; position: absolute; color: #000000; top: 200px; left: 13px; " class="SofLabel">Zagraniczny kod pocztowy:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 213px; left: 13px; display: block; width: 289px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:ZagranicznyKodPocztowy"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="289"/>
</xsl:call-template>
</span>
</div>
<div style="width: 457px; font-size: 12px; position: absolute; color: #000000; top: 200px; left: 325px; " class="SofLabel">Nazwa państwa:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 213px; left: 325px; display: block; width: 552px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:NazwaPanstwa"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="552"/>
</xsl:call-template>
</span>
</div>
<div style="font-size: 12px; position: absolute; color: #000000; top: 68px; left: 181px; " class="SofLabel">Miejscowość:</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 81px; left: 181px; display: block; width: 696px; font-size: 18px; border-color: #696969; position: absolute; height: 25px; " class="SofComboBox dotted">
<span style="padding-left: 5px;display: block;line-height:25px;">
<xsl:call-template name="redukcjaCzcionki">
<xsl:with-param name="tekst" select="//wnio:TrescDokumentu/wnio:DaneDziecka/wnio:AdresSzkoly/wnio:Miejscowosc"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="696"/>
</xsl:call-template>
</span>
</div>
<div style="width: 790px; font-size: 12px; position: absolute; color: #000000; top: 250px; left: 13px; " class="SofLabel"/>
</div>
<div style="color: #000000; top: 1125px; left: 30px; font-weight: normal; width: 804px; font-size: 14px; font-family: arial; font-style: italic; position: absolute; height: 36px; " class="SofLabel global14Italic">Oświadczam, że jestem świadoma/świadomy odpowiedzialności karnej za złożenie fałszywego oświadczenia.</div>
<div style="top: 1159px; left: 5px; width: 869px; position: absolute; height: 52px; ">
<div style="background-color: #ffffff; width: 100%; position: absolute; top: 0px; left: 0px; height: 52px; " class="SofBorderContainer">
<div style="color: #000000; top: 38px; left: 174px; width: 84px; font-size: 12px; position: absolute; height: 14px; " class="SofLabel">(Miejscowość)</div>
<div style="border: 1px solid black; background-color: white; overflow: hidden; color: #000000; top: 6px; left: 3px; display: block; width: 457px; font-size: 18px; position: absolute; height: 25px; " class="SofTextInput dotted">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Miejscowosc"/>
</span>
</div>
<div style="background-color: white; border: 1px solid black; overflow: hidden; color: #000000; top: 6px; left: 469px; display: block; width: 191px; font-size: 18px; position: absolute; border-style: dotted; height: 25px; " class="SofDateField dotted">
<span style="padding-left:5px ; line-height:25px; display: block;">
<xsl:call-template name="formatDaty">
<xsl:with-param name="wartosc" select="//wnio:TrescDokumentu/wnio:Data"/>
</xsl:call-template>
</span>
<span/>
</div>
<div style="color: #000000; top: 38px; left: 455px; width: 190px; font-size: 12px; position: absolute; height: 14px; text-align: center; " class="SofLabel">(Data: dd / mm / rrrr)</div>
<div style="color: #000000; top: 22px; left: 668px; font-weight: normal; width: 202px; font-size: 14px; font-family: verdana; position: absolute; height: 18px; text-align: center; " class="SofLabel paragraph14Normal"/>
<div style="color: #000000; top: 41px; left: 679px; width: 182px; font-size: 12px; position: absolute; height: 59px; text-align: center; " class="SofLabel"/>
</div>
</div>
<div style="top: 1223px; left: 0px; width: 880px; position: absolute; height: 16px; ">
<div style="color: #000000; top: 3px; left: 559px; width: 300px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: right; " class="SofLabel footnote">wersja: ZKDR-01(2)</div>
<div style="color: #000000; top: 3px; left: 10px; width: 850px; font-size: 11px; font-family: verdana; position: absolute; height: 14px; text-align: center; " class="SofLabel footnote">strona: 1/1</div>
<div style="border-top: 2px solid black; top: 1px; left: 0px; width: 100%; position: absolute; height: 1px; " class="SofHRule">
<span/>
</div>
</div>
<div style="color: #000000; top: 50px; left: 0px; font-weight: bold; width: 100%; font-size: 16px; position: absolute; text-align: center; height: 70px; " class="SofLabel formTitle">
OŚWIADCZENIE
<br/>
O PLANOWANYM TERMINIE UKOŃCZENIA NAUKI W SZKOLE
<br/>
LUB SZKOLE WYŻSZEJ
</div>
</div>
</body>
</html>
</xsl:template>
<xsl:template match="wnio:Informacja1//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="wnio:Informacja2//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="wnio:Informacja3//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template match="wnio:Informacja4//*">
<xsl:call-template name="Info">
<xsl:with-param name="node" select="."/>
</xsl:call-template>
</xsl:template>
<xsl:template name="Info">
<xsl:choose>
<xsl:when test="name(.) = 'TextFlow'">
<xsl:apply-templates/>
</xsl:when>
<xsl:when test="name(.) = 'br'">
<xsl:choose>
<xsl:when test="name(..) = 'dl'">
<xsl:apply-templates/>
</xsl:when>
<xsl:otherwise>
<xsl:element name="{name(.)}">
<xsl:apply-templates/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:element name="{name(.)}">
<xsl:for-each select="@*">
<xsl:attribute name="{name(.)}">
<xsl:value-of select="."/>
</xsl:attribute>
</xsl:for-each>
<xsl:apply-templates/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="redukcjaCzcionki">
<xsl:param name="tekst"/>
<xsl:param name="bazowyRozmiarCzcionki"/>
<xsl:param name="dlugoscPolaWPikselach"/>
<xsl:variable name="czcionkaPokrywajacaPole">
<!-- (0.7 * wielkosc czcionki w pikselach) średnia szerokość litery (mniej więcej) -->
<xsl:value-of select="$dlugoscPolaWPikselach div (0.7 * string-length($tekst))"/>
</xsl:variable>
<xsl:variable name="docelowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < $bazowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < 6">6</xsl:when>
<!--6 minimalny rozmiar czcionki -->
<xsl:otherwise>
<xsl:value-of select="ceiling($czcionkaPokrywajacaPole)"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$bazowyRozmiarCzcionki"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<span>
<xsl:attribute name="style">
<xsl:value-of select="concat('font-size:', $docelowyRozmiarCzcionki, 'px')"/>
</xsl:attribute>
<xsl:value-of select="$tekst"/>
</span>
</xsl:template>
<xsl:template name="formatDaty">
<xsl:param name="wartosc"/>
<xsl:if test="$wartosc != ''">
<xsl:value-of select="substring($wartosc, 9, 2)"/>
/
<xsl:value-of select="substring($wartosc, 6, 2)"/>
/
<xsl:value-of select="substring($wartosc, 1, 4)"/>
</xsl:if>
</xsl:template>
<xsl:template name="formatKoduPocztowego">
<xsl:param name="wartosc"/>
<xsl:if test="$wartosc != ''">
<xsl:value-of select="substring($wartosc, 1, 2)"/>
-
<xsl:value-of select="substring($wartosc, 3, 4)"/>
</xsl:if>
</xsl:template>
<xsl:template name="formatTextArea">
<xsl:param name="tekst"/>
<xsl:param name="wysokosc"/>
<xsl:param name="szerokosc"/>
<xsl:param name="bazowyRozmiarCzcionki"/>
<xsl:param name="wysokoscLini"/>
<xsl:param name="liczbaPrzejscDoNowychLini"/>
<xsl:param name="tekstPoOstatnimPrzejsciuDoNowejLini"/>
<xsl:variable name="liczbaPodPierwiastkiem">
<xsl:value-of select="($szerokosc * $wysokosc) div string-length($tekst)"/>
</xsl:variable>
<xsl:variable name="pierwiastek">
<xsl:call-template name="sqrt">
<xsl:with-param name="number" select="$liczbaPodPierwiastkiem"/>
</xsl:call-template>
</xsl:variable>
<xsl:variable name="czcionkaPokrywajacaPole">
<xsl:value-of select="ceiling($pierwiastek)"/>
</xsl:variable>
<xsl:variable name="rozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < $bazowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$czcionkaPokrywajacaPole < 6">6</xsl:when>
<!--6 minimalny rozmiar czcionki -->
<xsl:otherwise>
<xsl:value-of select="$czcionkaPokrywajacaPole"/>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$bazowyRozmiarCzcionki"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div>
<xsl:attribute name="style">
<xsl:choose>
<xsl:when test="($szerokosc * $wysokosc) < (string-length($tekst) * $bazowyRozmiarCzcionki * $bazowyRozmiarCzcionki)">
<xsl:value-of select="concat('font-size:', $rozmiarCzcionki, 'px; word-wrap : break-word;')"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="'word-wrap : break-word;'"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
<xsl:value-of select="$tekst"/>
</div>
</xsl:template>
<xsl:template name="sqrt">
<xsl:param name="number" select="0"/>
<xsl:param name="try" select="1"/>
<xsl:param name="iter" select="1"/>
<xsl:param name="maxiter" select="10"/>
<xsl:choose>
<xsl:when test="$try * $try = $number or $iter > $maxiter">
<xsl:value-of select="$try"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="sqrt">
<xsl:with-param name="number" select="$number"/>
<xsl:with-param name="try" select="$try - (($try * $try - $number) div (2 * $try))"/>
<xsl:with-param name="iter" select="$iter + 1"/>
<xsl:with-param name="maxiter" select="$maxiter"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>