<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.6.0.final using JasperReports Library version 6.6.0  -->
<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="report4" language="groovy" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="10a1c2a1-a5b9-4e92-a78e-20918fd63df4">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="tax2011"/>
	<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
	<style name="Title" forecolor="#FFFFFF" fontName="Arial" fontSize="26" isBold="true" pdfFontName="Helvetica-Bold"/>
	<style name="SubTitle" forecolor="#666666" fontName="Arial" fontSize="18"/>
	<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="12"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["C:\\Documents and Settings\\costis\\My Documents\\WORK\\"]]></defaultValueExpression>
	</parameter>
	<queryString>
		<![CDATA[SELECT
     supplier.`sname` AS supplier_sname,
     supplier.`idsupplier` AS supplier_idsupplier,
     supplier.`safm` AS supplier_safm
FROM
     `supplier` supplier
ORDER BY
     supplier_sname]]>
	</queryString>
	<field name="supplier_sname" class="java.lang.String"/>
	<field name="supplier_idsupplier" class="java.lang.Long"/>
	<field name="supplier_safm" class="java.lang.String"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="70" splitType="Stretch">
			<image>
				<reportElement x="-20" y="0" width="595" height="64" uuid="5e5b152e-43c1-456a-ae42-81e02a5265c5"/>
				<imageExpression><![CDATA["wood.jpg"]]></imageExpression>
			</image>
			<staticText>
				<reportElement style="SubTitle" x="63" y="39" width="200" height="22" forecolor="#FFFFFF" uuid="0876087c-4b62-460f-8c89-f7b3925f55fa"/>
				<textElement textAlignment="Right"/>
				<text><![CDATA[Wood SubTitle]]></text>
			</staticText>
			<staticText>
				<reportElement x="-11" y="0" width="524" height="39" forecolor="#FFFFFF" uuid="18bc5caa-27e7-4fc2-bf15-e423bc652de4"/>
				<textElement>
					<font size="30" isBold="true"/>
				</textElement>
				<text><![CDATA[Static Text]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band height="36" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="35" width="555" height="1" uuid="1ac69205-f8a2-465e-9933-7cd8451929e8"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
			<staticText>
				<reportElement style="Column header" x="0" y="19" width="185" height="15" uuid="196bd83c-a5c5-4763-9714-e6b8b86f97f7"/>
				<text><![CDATA[supplier_sname]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="185" y="19" width="185" height="15" uuid="24607264-81b4-4191-b1a3-85a8a28e1088"/>
				<text><![CDATA[supplier_idsupplier]]></text>
			</staticText>
			<staticText>
				<reportElement style="Column header" x="370" y="19" width="185" height="15" uuid="aff75df5-38aa-45be-92e6-d7c4d3641220"/>
				<text><![CDATA[supplier_safm]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="43" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="15" width="555" height="1" uuid="cef99ddd-2ee7-4cf4-9189-dba4739dd126"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement style="Detail" x="0" y="0" width="185" height="15" uuid="c713cf3e-8c7e-4b0c-a328-3edc2669be31"/>
				<textFieldExpression><![CDATA[$F{supplier_sname}]]></textFieldExpression>
			</textField>
			<textField pattern="00000">
				<reportElement style="Detail" x="185" y="0" width="185" height="15" uuid="629be5eb-daa3-4efa-a9f6-55c84f908855"/>
				<textFieldExpression><![CDATA[$F{supplier_idsupplier}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement style="Detail" x="370" y="0" width="185" height="15" uuid="4a132e0c-a8c7-4847-838d-064839efb2b9"/>
				<textFieldExpression><![CDATA[$F{supplier_safm}]]></textFieldExpression>
			</textField>
			<subreport runToBottom="false">
				<reportElement x="18" y="16" width="535" height="22" uuid="c00071f7-c507-42ba-9926-0fe03059056f"/>
				<subreportParameter name="shop">
					<subreportParameterExpression><![CDATA[$F{supplier_idsupplier}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA["subreport4_1.jasper"]]></subreportExpression>
			</subreport>
		</band>
	</detail>
	<columnFooter>
		<band height="45" splitType="Stretch">
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="3" width="555" height="1" uuid="86918d22-5cd9-437a-9d15-51ba1848557c"/>
				<graphicElement>
					<pen lineWidth="0.5" lineColor="#999999"/>
				</graphicElement>
			</line>
		</band>
	</columnFooter>
	<pageFooter>
		<band height="20" splitType="Stretch">
			<textField>
				<reportElement style="Column header" x="433" y="0" width="80" height="20" uuid="0a336dfe-7db9-4e5c-aca7-539f55d335de"/>
				<textElement textAlignment="Right">
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement style="Column header" x="513" y="0" width="40" height="20" uuid="dbe219e2-de78-4826-b44c-1ca5d3f115f9"/>
				<textElement>
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="EEEEE dd MMMMM yyyy">
				<reportElement style="Column header" x="0" y="0" width="197" height="20" uuid="928e731d-3796-4430-add8-13400f697ce6"/>
				<textElement>
					<font size="10" isBold="false"/>
				</textElement>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band splitType="Stretch"/>
	</summary>
</jasperReport>
