<?xml version="1.0" encoding="UTF-8"?>
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Registračný formulár" pageWidth="595" pageHeight="842" columnWidth="511" leftMargin="42" rightMargin="42" topMargin="42" bottomMargin="42">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="165"/>
	<style name="Title" fontName="Arial" fontSize="18" isBold="true" pdfFontName="Times-Bold"/>
	<style name="Text" fontName="Arial" fontSize="10"/>
	<style name="Data" isBlankWhenNull="true" fontName="Arial" fontSize="11"/>
	<parameter name="PROGRAM" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<parameter name="USER" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA[]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[]]>
	</queryString>
	<field name="DodavatelNazov" class="java.lang.String"/>
	<field name="DodavatelInfo" class="java.lang.String"/>
	<field name="Pokladnica" class="java.lang.String"/>
	<field name="Karta" class="java.lang.String"/>
	<field name="Firma" class="java.lang.String"/>
	<field name="Ico" class="java.lang.String"/>
	<field name="Meno" class="java.lang.String"/>
	<field name="Adresa" class="java.lang.String">
		<fieldDescription><![CDATA[A=predaj uctenka,B=vydaj,I=predaj faktura]]></fieldDescription>
	</field>
	<field name="Tel" class="java.lang.String"/>
	<field name="Email" class="java.lang.String"/>
	<field name="Ponuky" class="java.lang.Boolean"/>
	<pageHeader>
		<band height="90" splitType="Stretch">
			<staticText>
				<reportElement style="Title" x="149" y="0" width="212" height="22" forecolor="#000000"/>
				<box leftPadding="0"/>
				<textElement textAlignment="Center" verticalAlignment="Top" rotation="None" markup="none">
					<font pdfFontName="Times-Roman"/>
				</textElement>
				<text><![CDATA[Registračný formulár]]></text>
			</staticText>
			<textField>
				<reportElement style="Text" x="361" y="0" width="150" height="10"/>
				<textElement textAlignment="Right" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{PROGRAM}]]></textFieldExpression>
			</textField>
			<textField pattern="dd.MM.yyyy HH:mm:ss">
				<reportElement style="Text" x="361" y="30" width="150" height="10"/>
				<textElement textAlignment="Right" verticalAlignment="Top">
					<font size="7" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="false">
				<reportElement key="" style="Text" x="361" y="10" width="150" height="10"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Pokladnica: "+$F{Pokladnica}]]></textFieldExpression>
			</textField>
			<image scaleImage="RealHeight" vAlign="Top" onErrorType="Blank">
				<reportElement positionType="Float" x="-1" y="0" width="130" height="42"/>
				<box topPadding="3" rightPadding="3"/>
				<imageExpression class="java.lang.String"><![CDATA["../custom/logo_print.png"]]></imageExpression>
			</image>
			<textField isBlankWhenNull="false">
				<reportElement key="" style="Text" x="361" y="20" width="150" height="10"/>
				<textElement textAlignment="Right">
					<font size="7" isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Vytlačil: "+$P{USER}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement key="" style="Data" positionType="Float" x="0" y="61" width="361" height="18"/>
				<textElement>
					<font size="11" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DodavatelInfo}
+"\n(ďalej iba správca)"]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement key="" style="Data" x="-1" y="46" width="362" height="15"/>
				<textElement>
					<font size="12" isBold="true" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{DodavatelNazov}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<detail>
		<band height="20">
			<staticText>
				<reportElement style="Data" x="233" y="0" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Karta: ]]></text>
			</staticText>
			<textField pattern="">
				<reportElement style="Data" x="291" y="0" width="220" height="20"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Karta}]]></textFieldExpression>
			</textField>
		</band>
		<band height="40" splitType="Stretch">
			<printWhenExpression><![CDATA[$F{Firma}.length()>0]]></printWhenExpression>
			<staticText>
				<reportElement style="Data" x="233" y="0" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Firma: ]]></text>
			</staticText>
			<staticText>
				<reportElement style="Data" positionType="FixRelativeToBottom" x="233" y="20" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[IČO: ]]></text>
			</staticText>
			<textField pattern="">
				<reportElement style="Data" positionType="FixRelativeToBottom" x="291" y="20" width="220" height="20"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Ico}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="">
				<reportElement style="Data" x="291" y="0" width="220" height="13"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Firma}]]></textFieldExpression>
			</textField>
		</band>
		<band height="80">
			<staticText>
				<reportElement style="Data" positionType="FixRelativeToBottom" x="233" y="60" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[E-mail: ]]></text>
			</staticText>
			<staticText>
				<reportElement style="Data" positionType="FixRelativeToBottom" x="233" y="40" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Tel. číslo: ]]></text>
			</staticText>
			<staticText>
				<reportElement style="Data" x="233" y="20" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Adresa: ]]></text>
			</staticText>
			<staticText>
				<reportElement style="Data" x="233" y="0" width="58" height="20"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Meno: ]]></text>
			</staticText>
			<textField pattern="">
				<reportElement style="Data" x="291" y="0" width="220" height="20"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Meno}]]></textFieldExpression>
			</textField>
			<textField pattern="">
				<reportElement style="Data" positionType="FixRelativeToBottom" x="291" y="40" width="220" height="20"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Tel}]]></textFieldExpression>
			</textField>
			<textField pattern="">
				<reportElement style="Data" positionType="FixRelativeToBottom" x="291" y="60" width="220" height="20"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Email}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" pattern="">
				<reportElement style="Data" x="291" y="20" width="220" height="13"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Adresa}]]></textFieldExpression>
			</textField>
		</band>
		<band height="321">
			<staticText>
				<reportElement style="Text" x="0" y="63" width="511" height="106"/>
				<textElement>
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[Podpisom tohto formuláru udeľujem v súlade so zákonom č. 122/2013 Z.z. o ochrane osobných údajov v znení neskorších predpisov bezplatne výslovný súhlas s tým, aby správca spracúvaval tu poskytnuté osobné údaje, za účelom ich ďalšieho marketingového spracovania.

Svoj súhlas so spracovaním uvedených údajov udeľujem dobrovoľne a môžem ho kedykoľvek bezplatne na adrese správcu odvolať.]]></text>
			</staticText>
			<staticText>
				<reportElement style="Text" x="0" y="181" width="511" height="28"/>
				<textElement>
					<font isItalic="true"/>
				</textElement>
				<text><![CDATA[s tým, aby mi správca zasielal obchodné oznámenia o ponuke tovarov a služieb prostredníctvom elektronickej pošty v zmysle zákona č.351/2011 Z.r. o eletronických komunikáciách]]></text>
			</staticText>
			<textField>
				<reportElement style="Text" x="0" y="169" width="511" height="12"/>
				<textElement markup="none">
					<font isBold="true" isItalic="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{Ponuky}?"Súhlasím":"Nesúhlasím"]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="Data" positionType="FixRelativeToBottom" x="233" y="307" width="58" height="14"/>
				<textElement textAlignment="Right">
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Podpis: ]]></text>
			</staticText>
			<staticText>
				<reportElement style="Data" positionType="FixRelativeToBottom" x="291" y="307" width="220" height="14"/>
				<textElement>
					<font isBold="false" isItalic="false"/>
				</textElement>
				<text><![CDATA[................................................................]]></text>
			</staticText>
			<textField pattern="dd.MM.yyyy">
				<reportElement style="Data" positionType="FixRelativeToBottom" x="43" y="307" width="81" height="14"/>
				<textElement markup="none">
					<font isBold="false" isItalic="false"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement style="Data" positionType="FixRelativeToBottom" x="0" y="307" width="43" height="14"/>
				<textElement>
					<font isBold="true" isItalic="false"/>
				</textElement>
				<text><![CDATA[Dátum:]]></text>
			</staticText>
		</band>
	</detail>
</jasperReport>
