<?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="VirtualizerReport" language="java" pageWidth="595" pageHeight="842" columnWidth="270" columnSpacing="15" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
	<variable name="Value" class="java.lang.Double">
		<variableExpression>new Double(500 + 500 * Math.sin($V{REPORT_COUNT}.doubleValue() * Math.log(1 + $V{REPORT_COUNT}.doubleValue())))</variableExpression>
	</variable>
	<title>
		<band height="30">
			<staticText>
				<reportElement key="staticText-1" mode="Opaque" x="0" y="0" width="555" height="30"/>
				<textElement textAlignment="Center">
					<font fontName="DejaVu Sans" size="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<text><![CDATA[This report displays a very long list of pseudorandom numbers to show that JasperReports can handle very large documents using the so-called virtualizer.]]></text>
			</staticText>
		</band>
	</title>
	<detail>
		<band height="20">
			<textField pattern="#0.0000">
				<reportElement key="textField-1" mode="Opaque" x="0" y="0" width="100" height="20"/>
				<textElement textAlignment="Right">
					<font fontName="DejaVu Sans" size="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression class="java.lang.Double"><![CDATA[$V{Value}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<pageFooter>
		<band height="20">
			<textField pattern="">
				<reportElement key="textField-1" mode="Opaque" x="170" y="0" width="100" height="20"/>
				<textElement textAlignment="Right">
					<font fontName="DejaVu Sans" size="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["page " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report" pattern="">
				<reportElement key="textField-1" mode="Opaque" x="270" y="0" width="100" height="20"/>
				<textElement>
					<font fontName="DejaVu Sans" size="12" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[" of " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
</jasperReport>
