<?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="reportName" language="groovy" pageWidth="842" pageHeight="595" orientation="Landscape" whenNoDataType="NoDataSection" columnWidth="782" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" isSummaryNewPage="true" isSummaryWithPageHeaderAndFooter="true">
	<property name="ireport.scriptlethandling" value="0"/>
	<property name="ireport.encoding" value="UTF-8"/>
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<import value="net.sf.jasperreports.engine.*"/>
	<import value="java.util.*"/>
	<import value="net.sf.jasperreports.engine.data.*"/>
	<style name="Crosstab Data Text" isDefault="false" hAlign="Center"/>
	<style name="table" isDefault="false" fill="Solid" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false">
		<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
			<pen lineWidth="0.0" lineColor="#000000"/>
			<topPen lineWidth="0.0"/>
			<leftPen lineWidth="0.0"/>
			<bottomPen lineWidth="0.0"/>
			<rightPen lineWidth="0.0"/>
		</box>
	</style>
	<style name="table_TH" isDefault="false" mode="Opaque" backcolor="#C7C7C7" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false">
		<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
			<pen lineWidth="1.0" lineColor="#000000"/>
			<topPen lineWidth="1.0"/>
			<leftPen lineWidth="0.0"/>
			<bottomPen lineWidth="1.0"/>
			<rightPen lineWidth="0.0"/>
		</box>
	</style>
	<style name="table_CH" isDefault="false" mode="Opaque" backcolor="#FFFFFF" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false">
		<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
			<pen lineWidth="1.0" lineColor="#000000"/>
			<topPen lineWidth="0.0"/>
			<leftPen lineWidth="0.0"/>
			<bottomPen lineWidth="1.0"/>
			<rightPen lineWidth="0.0"/>
		</box>
	</style>
	<style name="table_TD" isDefault="false" mode="Opaque" backcolor="#FFFFFF" fontSize="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false">
		<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
			<pen lineWidth="1.0" lineColor="#000000"/>
			<topPen lineWidth="1.0"/>
			<leftPen lineWidth="0.0"/>
			<bottomPen lineWidth="1.0"/>
			<rightPen lineWidth="0.0"/>
		</box>
		<conditionalStyle>
			<conditionExpression><![CDATA[new Boolean($V{REPORT_COUNT}.intValue()%2==0)]]></conditionExpression>
			<style isDefault="false" style="table_TD" backcolor="#F7F7F7"/>
		</conditionalStyle>
	</style>
	<style name="table_CF" isDefault="false" mode="Opaque" backcolor="#EDEDED" fontSize="12" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false">
		<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
			<pen lineWidth="1.0"/>
			<topPen lineWidth="1.0"/>
			<leftPen lineWidth="0.0"/>
			<bottomPen lineWidth="1.0"/>
			<rightPen lineWidth="0.0"/>
		</box>
	</style>
	<subDataset name="dataset1">
		<field name="description" class="java.lang.String"/>
	</subDataset>
	<parameter name="reportTitle" class="java.lang.String"/>
	<parameter name="currentUser" class="java.lang.String"/>
	<parameter name="logoUrl" class="java.lang.String"/>
	<parameter name="startDateString" class="java.lang.String"/>
	<parameter name="endDateString" class="java.lang.String"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["C:\\Documents and Settings\\kromhoutg\\My Documents\\reports\\"]]></defaultValueExpression>
	</parameter>
	<queryString language="SQL">
		<![CDATA[]]>
	</queryString>
	<field name="summaryOfCalculationMethod" class="java.lang.String"/>
	<field name="dataList" class="java.util.List"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="121" splitType="Stretch">
			<textField>
				<reportElement key="staticText-1" x="0" y="57" width="340" height="30"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="20"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression>
			</textField>
			<image>
				<reportElement x="0" y="0" width="340" height="57"/>
				<imageExpression class="java.net.URL"><![CDATA[new URL($P{logoUrl})]]></imageExpression>
			</image>
			<textField pattern="dd-MMM-yyyy" isBlankWhenNull="true">
				<reportElement x="0" y="87" width="340" height="20"/>
				<textElement textAlignment="Center" verticalAlignment="Middle" markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{startDateString}+" to "+$P{endDateString}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band height="268" splitType="Stretch">
			<componentElement>
				<reportElement x="0" y="0" width="662" height="26"/>
				<jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
					<datasetRun subDataset="dataset1">
						<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{dataList})]]></dataSourceExpression>
					</datasetRun>
					<jr:listContents height="26" width="662">
						<textField>
							<reportElement x="0" y="0" width="400" height="20"/>
							<textElement/>
							<textFieldExpression class="java.lang.String"><![CDATA[$F{description}]]></textFieldExpression>
						</textField>
					</jr:listContents>
				</jr:list>
			</componentElement>
		</band>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="40" splitType="Stretch">
			<textField pattern="dd-MMM-yyyy">
				<reportElement x="82" y="0" width="200" height="20"/>
				<textElement/>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="662" y="20" width="80" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement x="742" y="20" width="40" height="20"/>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="0" width="82" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="82" y="20" width="200" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="82" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<lastPageFooter>
		<band height="40">
			<textField evaluationTime="Report">
				<reportElement x="742" y="20" width="40" height="20"/>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="dd-MMM-yyyy">
				<reportElement x="82" y="0" width="200" height="20"/>
				<textElement/>
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="0" width="82" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA["Generated: "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="82" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA["By: "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="82" y="20" width="200" height="20"/>
				<textElement markup="none"/>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{currentUser}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="662" y="20" width="80" height="20"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression class="java.lang.String"><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
			</textField>
		</band>
	</lastPageFooter>
	<summary>
		<band height="369">
			<textField>
				<reportElement key="staticText-1" x="221" y="12" width="340" height="30"/>
				<textElement textAlignment="Center" verticalAlignment="Top" markup="none">
					<font size="20"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Summary of Calculation Method"]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="50" width="782" height="311"/>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{summaryOfCalculationMethod}]]></textFieldExpression>
			</textField>
		</band>
	</summary>
	<noData>
		<band height="85" splitType="Stretch">
			<textField>
				<reportElement x="0" y="35" width="782" height="50"/>
				<textElement textAlignment="Center" markup="none">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["No data to display. \n"+
"Please run report again."]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement key="staticText-1" x="0" y="0" width="782" height="35"/>
				<textElement textAlignment="Center" markup="none">
					<font size="20"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{reportTitle}]]></textFieldExpression>
			</textField>
		</band>
	</noData>
</jasperReport>
