3469

ID3469
Data2016-08-12
Symbol2016/08/12/3469
InstytucjaMinisterstwo Rodziny, Pracy i Polityki Społecznej
NazwaOświadczenie o wysokość dochodu uzyskanego przez członka rodziny oraz o liczbie miesięcy, w których dochód był osiągany - w przypadku uzyskania dochodu w roku kalendarzowym poprzedzającym okres zasiłkowy (ZSR-14)
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2015/114/23/5/2
  • Ustawa z dnia 28 listopada 2003 r. o świadczeniach rodzinnych (Dz.U.z 2015r. poz. 114)

    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/2016/08/12/3469/" 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>ZSR-14 - Ministerstwo Rodziny, 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; ">
              <div style="position: absolute; height: 26px; width: 880px; left: 0px; top: 0px; ">
                <div 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">ZSR-14</div>
                <span style="position: absolute; height: 14px; color: #000000; width: 300px; font-size: 12px; left: 5px; font-weight: normal; top: 8px; " 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: 188px; width: 880px; left: 0px; top: 213px; ">
                <div style="position: absolute; height: 100%; width: 100%; border-style: solid; background-color: #ebd7ff; border-color: #ebd7ff; left: 0px; border-width: 1px; top: 0px; " class="SofBorderContainer violetAll">
                  <div style="position: absolute; color: #000000; font-size: 12px; left: 10px; font-weight: bold; top: 8px; " class="SofLabel sectionHeader">DANE OSOBY UBIEGAJĄCEJ SIĘ</div>
                  <div style="position: absolute; height: 155px; width: 870px; background-color: #ffffff; left: 10px; top: 23px; " class="SofBorderContainer">
                    <div style="position: absolute; color: #000000; width: 123px; font-size: 12px; left: 3px; top: 5px; " class="SofLabel">01. Numer PESEL (1)</div>
                    <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 265px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 18px; " 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="position: absolute; color: #000000; width: 856px; font-size: 12px; left: 4px; top: 137px; " class="SofLabel">(1) W przypadku gdy nie nadano numeru PESEL należy podać numer dokumentu potwierdzającego tożsamość.</div>
                    <div style="position: absolute; color: #000000; font-size: 12px; left: 291px; top: 5px; " class="SofLabel">02. Numer dokumentu (1)</div>
                    <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 361px; font-size: 18px; background-color: white; display: block; left: 291px; border: 1px solid black; top: 18px; " class="SofTextInput">
                      <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                        <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneOsobyUbiegajacejSie/wnio:NumerDokumentu"/>
                      </span>
                    </div>
                    <div style="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 49px; " class="SofLabel">03. Nazwisko</div>
                    <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 865px; font-size: 18px; background-color: white; display: block; left: 3px; border: 1px solid black; top: 62px; " class="SofTextInput">
                      <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="position: absolute; color: #000000; font-size: 12px; left: 3px; top: 93px; " class="SofLabel">04. Imię</div>
                    <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 721px; 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:DaneOsobyUbiegajacejSie/wnio:Imie"/>
                      </span>
                    </div>
                  </div>
                </div>
              </div>
              <div style="position: absolute; height: 175px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 410px; " class="SofBorderContainer lightGrayAll">
                <div style="position: absolute; color: #000000; font-size: 12px; left: 10px; font-weight: bold; top: 7px; " class="SofLabel sectionHeader">DANE IDENTYFIKACYJNE CZŁONKA RODZINY, KTÓREGO DOTYCZY OŚWIADCZENIE</div>
                <div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 68px; " class="SofLabel">Nazwisko</div>
                <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 865px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 81px; " class="SofTextInput">
                  <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                    <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:Nazwisko"/>
                  </span>
                </div>
                <div style="position: absolute; color: #000000; font-size: 12px; left: 13px; top: 112px; " class="SofLabel">Imię</div>
                <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 721px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 125px; " class="SofTextInput">
                  <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                    <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:Imie"/>
                  </span>
                </div>
                <div style="position: absolute; color: #000000; width: 123px; font-size: 12px; left: 13px; top: 24px; " class="SofLabel">Numer PESEL (1)</div>
                <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 265px; font-size: 18px; background-color: white; display: block; left: 13px; border: 1px solid black; top: 37px; " class="SofTextInput">
                  <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                    <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:PESEL"/>
                  </span>
                </div>
                <div style="position: absolute; color: #000000; width: 123px; font-size: 12px; left: 301px; top: 24px; " class="SofLabel">Numer dokumentu (1)</div>
                <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 361px; font-size: 18px; background-color: white; display: block; left: 301px; border: 1px solid black; top: 37px; " class="SofTextInput">
                  <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                    <xsl:value-of select="//wnio:TrescDokumentu/wnio:DaneIdentyfikacyjneCzlonkaRodziny/wnio:NumerDokumentu"/>
                  </span>
                </div>
                <div style="position: absolute; color: #000000; width: 856px; font-size: 12px; left: 14px; top: 156px; " class="SofLabel">(1) W przypadku gdy nie nadano numeru PESEL należy podać numer dokumentu potwierdzającego tożsamość.</div>
              </div>
              <div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 625px; " class="SofLabel global14Normal">Oświadczam, że w roku kalendarzowym (1):</div>
              <div style="position: absolute; color: #000000; font-size: 12px; left: 301px; top: 605px; " class="SofLabel">Rok (rrrr)</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 97px; font-size: 18px; background-color: white; display: block; left: 301px; border: 1px solid black; top: 618px; " class="SofTextInput">
                <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display: block;">
                  <xsl:value-of select="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:Rok"/>
                </span>
              </div>
              <div style="position: absolute; color: #000000; font-size: 14px; left: 409px; font-family: arial; font-weight: normal; top: 625px; " class="SofLabel global14Normal">od dnia:</div>
              <div style="position: absolute; color: #000000; font-size: 12px; left: 468px; top: 605px; " class="SofLabel">Data (dd / mm / rrrr)</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 191px; font-size: 18px; background-color: white; border-style: solid; display: block; left: 469px; border: 1px solid black; top: 618px; " 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:OswiadczenieOUzyskaniuDochodu/wnio:DataOd"/>
                  </xsl:call-template>
                </span>
                <span/>
              </div>
              <div style="position: absolute; color: #000000; font-size: 14px; left: 671px; font-family: arial; font-weight: normal; top: 625px; " class="SofLabel global14Normal">wyżej wymieniony członek</div>
              <div style="position: absolute; color: #000000; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 662px; " class="SofLabel global14Normal">rodziny uzyskał dochód w wysokości:</div>
              <div style="position: absolute; color: #000000; font-size: 14px; left: 455px; font-family: arial; font-weight: normal; top: 662px; " class="SofLabel global14Normal">zł.</div>
              <div style="position: absolute; height: 25px; text-align: right; color: #000000; overflow: hidden; width: 193px; font-size: 18px; background-color: white; display: block; left: 253px; border: 1px solid black; top: 654px; " class="SofTextInput">
                <span style="padding-left:5px ;line-height:25px;padding-right: 5px; display:block;">
                  <xsl:value-of select="translate(//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:WysokoscDochodu,'.',',')"/>
                </span>
              </div>
              <div style="position: absolute; color: #000000; width: 860px; font-size: 12px; left: 14px; top: 685px; " class="SofLabel">(1) Należy wpisać rok kalendarzowy, poprzedzający okres zasiłkowy, w którym nastąpiło uzyskanie dochodu.</div>
              <div style="position: absolute; height: 47px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 746px; " class="SofBorderContainer lightGrayAll">
                <span/>
              </div>
              <div style="position: absolute; height: 47px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 838px; " class="SofBorderContainer lightGrayAll">
                <span/>
              </div>
              <div style="position: absolute; height: 47px; width: 880px; border-style: solid; background-color: #E7E5E6; border-color: #E7E5E6; left: 0px; border-width: 1px; top: 949px; " class="SofBorderContainer lightGrayAll">
                <span/>
              </div>
              <div style="position: absolute; height: 29px; color: #000000; width: 860px; font-size: 14px; left: 14px; font-family: arial; font-weight: normal; top: 716px; " 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 style="display: inline-block; width: 245px;">
                      <span>Uzyskanie dochodu nastąpiło z tytułu:</span>
                    </span>
                    <span style="font-size: 12px; "/>
                  </div>
                  <div style="margin-top: 0px; margin-bottom: 0px; clear: both;">
                    <span style="font-size: 12px; ">
                      <span style="display: inline-block; width: 245px;"/>
                    </span>
                  </div>
                </div>
              </div>
              <div style="position: absolute; color: #000000; font-size: 14px; left: 71px; font-family: arial; font-weight: normal; top: 764px; " class="SofLabel global14Normal">zakończenia urlopu wychowawczego,</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 756px; " class="SofCheckBox">
                <xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:UzyskanieDochoduZTytulu/wnio:ZakonczenieUrlopuWychowawczego='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: 810px; " class="SofLabel global14Normal">uzyskania prawa do zasiłku lub stypendium dla bezrobotnych,</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 802px; " class="SofCheckBox">
                <xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:UzyskanieDochoduZTytulu/wnio:UzyskaniePrawaDoZasilkuStypendium='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: 856px; " class="SofLabel global14Normal">uzyskania zatrudnienia lub innej pracy zarobkowej, z wyłączeniem pracy wykonywanej na podstawie umowy o dzieło,</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 848px; " class="SofCheckBox">
                <xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:UzyskanieDochoduZTytulu/wnio:UzyskanieZatrudnieniaPracyZarobkowej='true'">
                  <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                </xsl:if>
              </div>
              <div style="position: absolute; text-align: justify; color: #000000; width: 770px; font-size: 14px; left: 71px; top: 895px; " class="SofLabel justified14">uzyskania zasiłku przedemerytalnego lub świadczenia przedemerytalnego, nauczycielskiego świadczenia kompensacyjnego, a także emerytury lub renty, renty rodzinnej lub renty socjalnej, z wyjątkiem rent przyznanych rolnikom w związku z przekazaniem lub dzierżawą gospodarstwa rolnego,</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 904px; " class="SofCheckBox">
                <xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:UzyskanieDochoduZTytulu/wnio:UzyskanieSwiadczeniaEmerytalnegoRentowego='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: 966px; " class="SofLabel global14Normal">rozpoczęcia pozarolniczej działalności gospodarczej,</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 959px; " class="SofCheckBox">
                <xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:UzyskanieDochoduZTytulu/wnio:RozpoczeciePozarolniczejDzialalnosciGospodarczej='true'">
                  <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                </xsl:if>
              </div>
              <div style="position: absolute; text-align: justify; color: #000000; width: 770px; font-size: 14px; left: 71px; top: 1004px; " class="SofLabel justified14">uzyskania zasiłku chorobowego, świadczenia rehabilitacyjnego lub zasiłku macierzyńskiego, przysługujących po utracie zatrudnienia lub innej pracy zarobkowej.</div>
              <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 25px; font-size: 14px; background-color: white; display: block; left: 37px; border: 1px solid black; top: 1005px; " class="SofCheckBox">
                <xsl:if test="//wnio:TrescDokumentu/wnio:OswiadczenieOUzyskaniuDochodu/wnio:UzyskanieDochoduZTytulu/wnio:UzyskanieSwiadczeniaZdrowotnego='true'">
                  <span style="text-align: center ; line-height: 25px;  display: block; ">X</span>
                </xsl:if>
              </div>
              <div style="position: absolute; color: #000000; font-style: italic; font-size: 14px; left: 13px; font-family: arial; font-weight: normal; top: 1091px; " class="SofLabel global14Italic">Oświadczam, że jestem świadoma/świadomy odpowiedzialności karnej za złożenie fałszywego oświadczenia.</div>
              <div style="position: absolute; height: 52px; width: 869px; left: 8px; top: 1153px; ">
                <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: 174px; top: 38px; " class="SofLabel">(Miejscowość)</div>
                  <div style="position: absolute; height: 25px; color: #000000; overflow: hidden; width: 457px; font-size: 18px; background-color: white; display: block; left: 3px; 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; overflow: hidden; width: 191px; font-size: 18px; background-color: white; border-style: dotted; display: block; left: 469px; 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: 455px; top: 38px; " class="SofLabel">(Data: dd / mm / rrrr)</div>
                  <div style="position: absolute; height: 18px; text-align: center; color: #000000; width: 202px; font-size: 14px; left: 668px; font-family: verdana; font-weight: normal; top: 22px; " class="SofLabel paragraph14Normal"/>
                  <div style="position: absolute; height: 59px; text-align: center; color: #000000; width: 182px; font-size: 12px; left: 679px; top: 41px; " class="SofLabel"/>
                </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: 3px; " class="SofLabel footnote">wersja: ZSR-14(1)</div>
                <div style="position: absolute; height: 14px; text-align: center; color: #000000; width: 850px; font-size: 11px; left: 10px; font-family: verdana; top: 3px; " class="SofLabel footnote">strona: 1/1</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: 80px; text-align: center; color: #000000; width: 100%; font-size: 16px; left: 0px; font-weight: bold; top: 89px; " class="SofLabel formTitle">
                OŚWIADCZENIE
                <br/>
                O WYSOKOŚĆ DOCHODU UZYSKANEGO PRZEZ CZŁONKA RODZINY ORAZ
                <br/>
                O LICZBIE MIESIĘCY, W KTÓRYCH DOCHÓD BYŁ OSIĄGANY - W PRZYPADKU UZYSKANIA
                <br/>
                DOCHODU W ROKU KALENDARZOWYM POPRZEDZAJĄCYM OKRES ZASIŁKOWY
              </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.6 * wielkosc czcionki w pikselach) średnia szerokość litery (mniej więcej) -->
          <xsl:value-of select="$dlugoscPolaWPikselach div (0.6 * string-length($tekst))"/>
        </xsl:variable>
        <xsl:variable name="docelowyRozmiarCzcionki">
          <xsl:choose>
            <xsl:when test="$czcionkaPokrywajacaPole &lt; $bazowyRozmiarCzcionki">
              <xsl:choose>
                <xsl:when test="$czcionkaPokrywajacaPole &lt; 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 &lt; $bazowyRozmiarCzcionki">
              <xsl:choose>
                <xsl:when test="$czcionkaPokrywajacaPole &lt; 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) &lt; (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 &gt; $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>