1547
ID | 1547 |
Data | 2014-03-05 |
Symbol | 2014/03/05/1547 |
Instytucja | Ministerstwo Pracy i Polityki Społecznej |
Nazwa | Wniosek o wpis do rejestru żłobków i klubów dziecięcych - RKZ-1 |
Czy Aktualny | 0 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2014/03/05/1547/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0" xsi:schemaLocation="http://www.w3.org/1999/XSL/Transform http://www.w3.org/2007/schema-for-xslt20.xsd">
<xsl:template match="/">
<html>
<head>
<title>RKZ-1 - Ministerstwo Pracy i Polityki Społecznej</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body style="text-align: center; font-family: Arial; ">
<div style="position: relative; margin-right: auto; height: 1280px; text-align: left; overflow: hidden; width: 880px; margin-left: auto; background-color: white; margin-bottom: 15px; margin-top: 15px; border: 1px solid black; page-break-after: always; ">
<div style="position: absolute; height: 82px; width: 390px; border-style: solid; background-color: #ffffff; left: 0px; border-width: 1px; top: 124px; " class="SofBorderContainer">
<span/>
</div>
<div style="position: absolute; height: 90px; width: 880px; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 803px; " class="SofBorderContainer greenAll">
<span/>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: bold; top: 132px; " class="SofLabel global14Bold">Adnotacja urzędowa:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 15px; font-family: arial; font-weight: normal; top: 152px; " class="SofLabel global14Normal">Numer wpisu do rejestru:</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 361px; font-size: 18px; background-color: white; display: block; left: 15px; border: 1px solid black; top: 169px; " 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:NumerZlobkaKlubuDzieciecego"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="361"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; height: 52px; width: 869px; left: 8px; top: 235px; ">
<div style="position: absolute; height: 52px; width: 100%; background-color: #ffffff; left: 0px; top: 0px; " class="SofBorderContainer">
<div style="position: absolute; height: 14px; color: #000000; width: 84px; font-size: 12px; left: 374px; top: 36px; " class="SofLabel">(Miejscowość)</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 457px; font-size: 18px; background-color: white; display: block; left: 203px; border: 1px solid black; top: 6px; " 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="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 191px; font-size: 18px; background-color: white; border-style: dotted; display: block; left: 669px; border: 1px solid black; top: 6px; " 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="position: absolute; height: 14px; text-align: center; color: #000000; width: 190px; font-size: 12px; left: 655px; top: 36px; " class="SofLabel">(Data: dd / mm / rrrr)</div>
</div>
</div>
<div style="position: absolute; height: 291px; width: 880px; left: 0px; top: 302px; ">
<div style="position: absolute; height: 100%; width: 100%; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 0px; " class="SofBorderContainer greenAll">
<div style="position: absolute; color: #000000; font-size: 12px; left: 11px; font-weight: bold; top: 6px; " class="SofLabel sectionHeader">NAZWA I ADRES ORGANU PROWADZĄCEGO REJESTR:</div>
<div style="position: absolute; height: 258px; width: 860px; background-color: #ffffff; left: 10px; top: 23px; " class="SofBorderContainer">
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 206px; " class="SofLabel">06. Kod pocztowy</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 145px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 221px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;display: block;">
<xsl:if test="//wnio:TrescDokumentu/wnio:NazwaAdresOrganuProwadzacegoRejestr/wnio:KodPocztowy!= ''">
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:NazwaAdresOrganuProwadzacegoRejestr/wnio:KodPocztowy, 1, 2)"/>
-
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:NazwaAdresOrganuProwadzacegoRejestr/wnio:KodPocztowy, 3, 4)"/>
</xsl:if>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 171px; top: 206px; " class="SofLabel">07. Poczta</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 673px; font-size: 18px; background-color: white; display: block; left: 171px; border: 1px solid black; top: 221px; " 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:NazwaAdresOrganuProwadzacegoRejestr/wnio:Poczta"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="673"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 74px; " class="SofLabel">02. Miejscowość</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 673px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 89px; " 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:NazwaAdresOrganuProwadzacegoRejestr/wnio:Miejscowosc"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="673"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 3px; " class="SofLabel">01. Nazwa organu</div>
<div style="position: absolute; line-height: 20px; height: 54px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 18px; " 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:NazwaAdresOrganuProwadzacegoRejestr/wnio:NazwaOrganu"/>
<xsl:with-param name="wysokosc" select="54"/>
<xsl:with-param name="szerokosc" select="841"/>
<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:NazwaAdresOrganuProwadzacegoRejestr/wnio:NazwaOrganu"/>
</xsl:call-template>
</div>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 118px; " class="SofLabel">03. Ulica</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 133px; " 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:NazwaAdresOrganuProwadzacegoRejestr/wnio:Ulica"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="841"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 162px; " class="SofLabel">04. Numer budynku</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 169px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 177px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:NazwaAdresOrganuProwadzacegoRejestr/wnio:NumerBudynku"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 195px; top: 162px; " class="SofLabel">05. Numer lokalu</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 169px; font-size: 18px; background-color: white; display: block; left: 195px; border: 1px solid black; top: 177px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:NazwaAdresOrganuProwadzacegoRejestr/wnio:NumerLokalu"/>
</span>
</div>
</div>
</div>
</div>
<div style="position: absolute; color: #000000; width: 800px; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 669px; " class="SofLabel global14Normal">
Na podstawie art. 28 ustawy z dnia 4 lutego 2011 r. o opiece nad dziećmi w wieku do lat 3 (Dz. U. z 2013 r. poz. 1457) wnoszę
<br/>
o dokonanie wpisu do rejestru żłobków i klubów dziecięcych
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 709px; " class="SofLabel global14Normal">1. Forma organizacyjna opieki:</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 209px; top: 705px; " class="SofLabel">1)</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 735px; " class="SofLabel global14Normal">żłobek</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 731px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:FormaInstytucji/wnio:Zlobek='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 771px; " class="SofLabel global14Normal">klub dziecięcy</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 767px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:FormaInstytucji/wnio:KlubDzieciecy='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 812px; " class="SofLabel global14Normal">2. Nazwa żłobka lub klubu dziecięcego:</div>
<div style="position: absolute; line-height: 20px; height: 54px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 829px; " 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:Wniosek/wnio:NazwaInstytucji"/>
<xsl:with-param name="wysokosc" select="54"/>
<xsl:with-param name="szerokosc" select="841"/>
<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:Wniosek/wnio:NazwaInstytucji"/>
</xsl:call-template>
</div>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 900px; " class="SofLabel global14Normal">3. Nazwa lub imię i nazwisko podmiotu, który będzie prowadził żłobek lub klub dziecięcy:</div>
<div style="position: absolute; line-height: 20px; height: 54px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 917px; " 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:Wniosek/wnio:NazwaImieNazwiskoPodmiotu"/>
<xsl:with-param name="wysokosc" select="54"/>
<xsl:with-param name="szerokosc" select="841"/>
<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:Wniosek/wnio:NazwaImieNazwiskoPodmiotu"/>
</xsl:call-template>
</div>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 978px; " class="SofLabel global14Normal">4. Siedziba lub adres podmiotu, który będzie prowadził żłobek lub klub dziecięcy:</div>
<div style="position: absolute; height: 220px; width: 880px; left: 0px; top: 995px; ">
<div style="position: absolute; height: 100%; width: 100%; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 0px; " class="SofBorderContainer greenAll">
<span style="position: absolute; color: #000000; font-size: 12px; left: 11px; font-weight: bold; top: 6px; " class="SofLabel sectionHeader"/>
<div style="position: absolute; height: 187px; width: 860px; background-color: #ffffff; left: 10px; top: 23px; " class="SofBorderContainer">
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 135px; " class="SofLabel">05. Kod pocztowy</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 145px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 150px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;display: block;">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:KodPocztowy!= ''">
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:KodPocztowy, 1, 2)"/>
-
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:KodPocztowy, 3, 4)"/>
</xsl:if>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 171px; top: 135px; " class="SofLabel">06. Poczta</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 673px; font-size: 18px; background-color: white; display: block; left: 171px; border: 1px solid black; top: 150px; " 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:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:Poczta"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="673"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 3px; " class="SofLabel">01. Miejscowość</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 673px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 18px; " 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:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:Miejscowosc"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="673"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 47px; " class="SofLabel">02. Ulica</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 62px; " 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:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:Ulica"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="841"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 91px; " class="SofLabel">03. Numer budynku</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 169px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 106px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:NumerBudynku"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 195px; top: 91px; " class="SofLabel">04. Numer lokalu</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 169px; font-size: 18px; background-color: white; display: block; left: 195px; border: 1px solid black; top: 106px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:SiedzibaAdresPodmiotu/wnio:NumerLokalu"/>
</span>
</div>
</div>
</div>
</div>
<div style="position: absolute; height: 16px; width: 880px; left: 0px; top: 1223px; ">
<div style="position: absolute; height: 14px; text-align: right; color: #000000; width: 300px; font-size: 11px; left: 559px; font-family: verdana; top: 1px; " class="SofLabel footnote">wersja: (1)</div>
<div style="position: absolute; height: 14px; text-align: center; color: #000000; width: 850px; font-size: 11px; left: 10px; font-family: verdana; top: 1px; " class="SofLabel footnote">strona: 1/2</div>
<div style="position: absolute; height: 1px; width: 100%; left: 0px; border-top: 2px solid black; top: 1px; " class="SofHRule">
<span/>
</div>
</div>
<div style="position: absolute; height: 40px; text-align: center; color: #000000; width: 100%; font-size: 16px; left: 0px; font-weight: bold; top: 617px; " class="SofLabel formTitle">
WNIOSEK
<br/>
O WPIS DO REJESTRU ŻŁOBKÓW I KLUBÓW DZIECIĘCYCH
</div>
</div>
<div style="position: relative; margin-right: auto; height: 1280px; text-align: left; overflow: hidden; width: 880px; margin-left: auto; background-color: white; margin-bottom: 15px; margin-top: 15px; border: 1px solid black; ">
<div style="position: absolute; height: 26px; width: 880px; left: 0px; top: 0px; ">
<span style="position: absolute; height: 24px; text-align: right; color: #000000; width: 545px; font-size: 20px; left: 322px; font-weight: bold; top: 0px; " class="SofLabel formName"/>
<span style="position: absolute; height: 14px; color: #000000; width: 300px; font-size: 12px; left: 5px; font-weight: normal; top: 6px; " class="SofLabel page"/>
<div style="position: absolute; height: 1px; width: 100%; left: 0px; border-top: 2px solid black; top: 25px; " class="SofHRule">
<span/>
</div>
</div>
<div style="position: absolute; height: 153px; width: 880px; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 208px; " class="SofBorderContainer greenAll">
<span/>
</div>
<div style="position: absolute; height: 156px; width: 880px; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 803px; " class="SofBorderContainer greenAll">
<span/>
</div>
<div style="position: absolute; height: 47px; width: 880px; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 1004px; " class="SofBorderContainer greenAll">
<span/>
</div>
<div style="position: absolute; height: 62px; width: 880px; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 86px; " class="SofBorderContainer greenAll">
<span/>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 476px; top: 29px; " class="SofLabel">2)</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 33px; " class="SofLabel global14Normal">5. Numer NIP podmiotu, który będzie prowadził żłobek lub klub dziecięcy:</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 504px; top: 91px; " class="SofLabel">2)</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 241px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 50px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:NIPPodmiotu"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 94px; " class="SofLabel global14Normal">6. Numer REGON podmiotu, który będzie prowadził żłobek lub klub dziecięcy:</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 337px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 111px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:REGONPodmiotu"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 368px; " class="SofLabel global14Normal">9. Liczba miejsc w żłobku lub klubie dziecięcym:</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 97px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 385px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:LiczbaMiejscWInstytucji"/>
</span>
</div>
<div style="position: absolute; color: #000000; width: 864px; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 216px; " class="SofLabel global14Normal">8. Numer lub indeks podmiotu, który będzie prowadził żłobek lub klub dziecięcy, identyfikujący ten podmiot we właściwym rejestrze publicznym, potwierdzający jego status:</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 265px; top: 228px; " class="SofLabel">4)</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 253px; " class="SofLabel">Nazwa rejestru:</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 270px; " 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:Wniosek/wnio:NumerIndeksPodmotu/wnio:NazwaRejestru"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="841"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 304px; " class="SofLabel">Numer lub indeks:</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 361px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 321px; " 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:Wniosek/wnio:NumerIndeksPodmotu/wnio:NumerIndeks"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="361"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 155px; " class="SofLabel global14Normal">7. Numer PESEL podmiotu, który będzie prowadził żłobek lub klub dziecięcy:</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 496px; top: 151px; " class="SofLabel">3)</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 265px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 172px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:PESEL"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 424px; " class="SofLabel global14Normal">10. Oświadczenia:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 47px; font-family: arial; font-weight: normal; top: 450px; " class="SofLabel global14Normal">Niniejszym oświadczam, że posiadam tytuł prawny do lokalu położonego w:</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 446px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:Oswiadczam='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; height: 220px; width: 880px; left: 0px; top: 482px; ">
<div style="position: absolute; height: 100%; width: 100%; border-style: solid; background-color: #d2ffd2; border-color: #d2ffd2; left: 0px; border-width: 1px; top: 0px; " class="SofBorderContainer greenAll">
<span style="position: absolute; color: #000000; font-size: 12px; left: 11px; font-weight: bold; top: 6px; " class="SofLabel sectionHeader"/>
<div style="position: absolute; height: 187px; width: 860px; background-color: #ffffff; left: 10px; top: 23px; " class="SofBorderContainer">
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 135px; " class="SofLabel">05. Kod pocztowy</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 145px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 150px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;display: block;">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:KodPocztowy!= ''">
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:KodPocztowy, 1, 2)"/>
-
<xsl:value-of select="substring(//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:KodPocztowy, 3, 4)"/>
</xsl:if>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 171px; top: 135px; " class="SofLabel">06. Poczta</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 673px; font-size: 18px; background-color: white; display: block; left: 171px; border: 1px solid black; top: 150px; " 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:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:Poczta"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="673"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 3px; " class="SofLabel">01. Miejscowość</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 673px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 18px; " 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:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:Miejscowosc"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="673"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 47px; " class="SofLabel">02. Ulica</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 841px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 62px; " 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:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:Ulica"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="18"/>
<xsl:with-param name="dlugoscPolaWPikselach" select="841"/>
</xsl:call-template>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 91px; " class="SofLabel">03. Numer budynku</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 169px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 106px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:NumerBudynku"/>
</span>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 195px; top: 91px; " class="SofLabel">04. Numer lokalu</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 169px; font-size: 18px; background-color: white; display: block; left: 195px; border: 1px solid black; top: 106px; " class="SofTextInput">
<span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
<xsl:value-of select="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:AdresLokalu/wnio:NumerLokalu"/>
</span>
</div>
</div>
</div>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 225px; top: 705px; " class="SofLabel">1)</div>
<div style="position: absolute; color: #000000; width: 843px; font-size: 14px; left: 27px; font-family: arial; font-weight: normal; top: 709px; " class="SofLabel global14Normal">- w którym będzie prowadzony:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 735px; " class="SofLabel global14Normal">żłobek</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 731px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:RodzajZakladuOpiekunczego/wnio:Zlobek='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 771px; " class="SofLabel global14Normal">klub dziecięcy</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 767px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieOPosiadaniuPrawaDoLokalu/wnio:RodzajZakladuOpiekunczego/wnio:KlubDzieciecy='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 813px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieSpelnieniuWymaganLokalowych/wnio:Oswiadczam='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 450px; top: 815px; " class="SofLabel">1)</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 47px; font-family: arial; font-weight: normal; top: 820px; " class="SofLabel global14Normal">Niniejszym oświadczam, że lokal, w którym będzie prowadzony:</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 853px; " class="SofLabel global14Normal">żłobek</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 849px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieSpelnieniuWymaganLokalowych/wnio:RodzajZakladuOpiekunczego/wnio:Zlobek='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 889px; " class="SofLabel global14Normal">klub dziecięcy</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 885px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieSpelnieniuWymaganLokalowych/wnio:RodzajZakladuOpiekunczego/wnio:KlubDzieciecy='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; height: 37px; color: #000000; width: 823px; font-size: 14px; left: 47px; font-family: arial; font-weight: normal; top: 919px; " class="SofLabel global14Normal">spełnia wymagania lokalowe i sanitarne, o których mowa w przepisach wydanych na podstawie art. 25 ust. 3 ustawy z dnia 4 lutego 2011 r. o opiece nad dziećmi w wieku do lat 3.</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 47px; font-family: arial; font-weight: normal; top: 972px; " class="SofLabel global14Normal">Niniejszym oświadczam, że nie byłam/łem karana/ny za przestępstwo popełnione umyślnie.</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 625px; top: 968px; " class="SofLabel">3)</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 968px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieONiekaralnosci='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 14px; left: 47px; font-family: arial; font-weight: normal; top: 1018px; " class="SofLabel global14Normal">Niniejszym oświadczam, że dokonałam/łem opłaty za wpis do rejestru.</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 1014px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:OswiadczenieODokonaniuOplatyZaWpisDoRejestru='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; height: 45px; color: #000000; width: 823px; font-size: 14px; left: 47px; font-family: arial; font-weight: normal; top: 1060px; " class="SofLabel global14Normal">
<div style="line-height: 100%; margin-top: 0px; margin-bottom: 0px;">
<div style="margin-top: 0px; margin-bottom: 0px; clear: both;">
<span>Niniejszym wyrażam zgodę na doręczanie pism w tej sprawie za pomocą środków komunikacji elektronicznej w rozumieniu</span>
<span> przepisów art. 39</span>
<sup>1</sup>
<span> § 1 ustawy z dnia 14 czerwca 1960 r. — Kodeks postępowania administracyjnego (Dz. U. z 2013 r. poz. 267).</span>
</div>
</div>
</div>
<div style="position: absolute; height: 25px; color: #000000; default-background-color: #ffffff; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 1060px; " class="SofCheckBox">
<xsl:if test="//wnio:TrescDokumentu/wnio:Wniosek/wnio:Oswiadczenia/wnio:WyrazenieZgodyNaDoreczeniePism='true'">
<span style="text-align: center ; line-height: 25px; display: block; ">X</span>
</xsl:if>
</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 1162px; " class="SofLabel">1) Należy zaznaczyć właściwy kwadrat.</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 1175px; " class="SofLabel">2) Dotyczy podmiotu, któremu numer ten nadano.</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 1188px; " class="SofLabel">3) Dotyczy podmiotu będącego osobą fizyczną.</div>
<div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 1201px; " class="SofLabel">4) Dotyczy podmiotu będącego osobą prawną lub jednostką organizacyjną nieposiadającą osobowości prawnej.</div>
<div style="position: absolute; height: 16px; width: 880px; left: 0px; top: 1223px; ">
<div style="position: absolute; height: 14px; text-align: right; color: #000000; width: 300px; font-size: 11px; left: 559px; font-family: verdana; top: 1px; " class="SofLabel footnote">wersja: (1)</div>
<div style="position: absolute; height: 14px; text-align: center; color: #000000; width: 850px; font-size: 11px; left: 10px; font-family: verdana; top: 1px; " class="SofLabel footnote">strona: 2/2</div>
<div style="position: absolute; height: 1px; width: 100%; left: 0px; border-top: 2px solid black; top: 1px; " class="SofHRule">
<span/>
</div>
</div>
<div style="position: absolute; height: 1px; width: 100px; left: 13px; border-top: 2px solid black; top: 1154px; " class="SofHRule">
<span/>
</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="dlugoscTekstuWPikselach">
<!-- chodzi o makstylana dlugosc - przypadek kiedy caly tekst skladal sie z liter 'W' -->
<xsl:value-of select="string-length($tekst) * $bazowyRozmiarCzcionki"/>
</xsl:variable>
<xsl:variable name="roznicaDlugosciTekstuIPolaWPikselach">
<xsl:value-of select="$dlugoscTekstuWPikselach - $dlugoscPolaWPikselach"/>
</xsl:variable>
<xsl:variable name="docelowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$roznicaDlugosciTekstuIPolaWPikselach < 0">1</xsl:when>
<xsl:otherwise>
<xsl:variable name="ulamekOJakiZmniejszamyCzcionke">
<xsl:value-of select="($roznicaDlugosciTekstuIPolaWPikselach div $dlugoscTekstuWPikselach)"/>
</xsl:variable>
<xsl:value-of select="1 - $ulamekOJakiZmniejszamyCzcionke"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<span>
<xsl:attribute name="style">
<xsl:value-of select="concat('font-size:', $docelowyRozmiarCzcionki, 'em')"/>
</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:choose>
<xsl:when test="contains($tekstPoOstatnimPrzejsciuDoNowejLini,'
')">
<xsl:call-template name="formatTextArea">
<xsl:with-param name="tekst" select="$tekst"/>
<xsl:with-param name="wysokosc" select="$wysokosc"/>
<xsl:with-param name="szerokosc" select="$szerokosc"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="$bazowyRozmiarCzcionki"/>
<xsl:with-param name="wysokoscLini" select="$wysokoscLini"/>
<xsl:with-param name="liczbaPrzejscDoNowychLini" select="$liczbaPrzejscDoNowychLini + 1"/>
<xsl:with-param name="tekstPoOstatnimPrzejsciuDoNowejLini">
<xsl:value-of select="substring-after($tekstPoOstatnimPrzejsciuDoNowejLini,'
')"/>
</xsl:with-param>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="redukcjaCzcionkiTextArea">
<xsl:with-param name="tekst" select="$tekst"/>
<xsl:with-param name="wysokosc" select="$wysokosc"/>
<xsl:with-param name="szerokosc" select="$szerokosc"/>
<xsl:with-param name="bazowyRozmiarCzcionki" select="$bazowyRozmiarCzcionki"/>
<xsl:with-param name="wysokoscLini" select="$wysokoscLini"/>
<xsl:with-param name="liczbaPrzejscDoNowychLini" select="$liczbaPrzejscDoNowychLini"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="redukcjaCzcionkiTextArea">
<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:variable name="liczbaLini">
<xsl:value-of select="floor((string-length($tekst) * $bazowyRozmiarCzcionki) div $szerokosc) + $liczbaPrzejscDoNowychLini"/>
</xsl:variable>
<xsl:variable name="liczbaLiniKtoraSieMiesci">
<xsl:value-of select="ceiling($wysokosc div $wysokoscLini)"/>
</xsl:variable>
<xsl:variable name="roznicaLiczyLini">
<xsl:value-of select="$liczbaLini - $liczbaLiniKtoraSieMiesci"/>
</xsl:variable>
<xsl:variable name="docelowyRozmiarCzcionki">
<xsl:choose>
<xsl:when test="$roznicaLiczyLini < 0">1</xsl:when>
<xsl:otherwise>
<xsl:variable name="ulamekOJakiZmniejszamyCzcionke">
<xsl:value-of select="$liczbaLini div $liczbaLiniKtoraSieMiesci"/>
</xsl:variable>
<xsl:value-of select="1 div $ulamekOJakiZmniejszamyCzcionke"/>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="docelowaWysokoscLini">
<xsl:value-of select="($wysokoscLini * $docelowyRozmiarCzcionki)"/>
</xsl:variable>
<div>
<xsl:attribute name="style">
<xsl:value-of select="concat('font-size:', $docelowyRozmiarCzcionki, 'em;', 'line-height:', $docelowaWysokoscLini, 'px; word-wrap : break-word;')"/>
</xsl:attribute>
<xsl:call-template name="podzialTekstuWTextArea">
<xsl:with-param name="tekst" select="$tekst"/>
<xsl:with-param name="docelowyRozmiarCzcionki" select="$docelowyRozmiarCzcionki"/>
<xsl:with-param name="docelowaWysokoscLini" select="$docelowaWysokoscLini"/>
</xsl:call-template>
</div>
</xsl:template>
<xsl:template name="podzialTekstuWTextArea">
<xsl:param name="tekst"/>
<xsl:param name="docelowyRozmiarCzcionki"/>
<xsl:param name="docelowaWysokoscLini"/>
<xsl:choose>
<xsl:when test="contains($tekst,'
')">
<div>
<xsl:value-of select="substring-before($tekst,'
')"/>
</div>
<xsl:call-template name="podzialTekstuWTextArea">
<xsl:with-param name="tekst" select="substring-after($tekst,'
')"/>
<xsl:with-param name="docelowyRozmiarCzcionki" select="$docelowyRozmiarCzcionki"/>
<xsl:with-param name="docelowaWysokoscLini" select="$docelowaWysokoscLini"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<div>
<xsl:value-of select="$tekst"/>
</div>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>