andre@8583: <?xml version="1.0" encoding="UTF-8"?>
andre@8583: <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="flysreport" language="groovy" pageWidth="595" pageHeight="842" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20">
andre@8583: 	<property name="ireport.zoom" value="1.0"/>
andre@8583: 	<property name="ireport.x" value="0"/>
andre@8583: 	<property name="ireport.y" value="0"/>
andre@8583: 	<field name="river" class="java.lang.String"/>
andre@8583: 	<field name="meter" class="java.lang.String"/>
andre@8583: 	<field name="date" class="java.lang.String"/>
andre@8583: 	<field name="calculation" class="java.lang.String"/>
andre@8583: 	<field name="differences" class="java.lang.String"/>
andre@8583: 	<field name="km" class="java.lang.String"/>
andre@8584: 	<field name="range" class="java.lang.String"/>
andre@8583: 	<background>
andre@8583: 		<band splitType="Stretch"/>
andre@8583: 	</background>
andre@8583: 	<title>
andre@8584: 		<band height="154" splitType="Stretch">
andre@8583: 			<staticText>
andre@8583: 				<reportElement x="0" y="1" width="155" height="30"/>
andre@8583: 				<textElement>
andre@8583: 					<font size="18"/>
andre@8583: 				</textElement>
andre@8583: 				<text><![CDATA[Calculation result]]></text>
andre@8583: 			</staticText>
andre@8583: 			<textField>
andre@8583: 				<reportElement x="155" y="0" width="360" height="31"/>
andre@8583: 				<textElement>
andre@8583: 					<font size="18"/>
andre@8583: 				</textElement>
andre@8583: 				<textFieldExpression><![CDATA[$F{river}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<textField>
andre@8583: 				<reportElement x="0" y="31" width="515" height="26"/>
andre@8583: 				<textElement>
andre@8583: 					<font size="14"/>
andre@8583: 				</textElement>
andre@8583: 				<textFieldExpression><![CDATA[$F{calculation}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<staticText>
andre@8583: 				<reportElement x="0" y="70" width="123" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<text><![CDATA[River:]]></text>
andre@8583: 			</staticText>
andre@8583: 			<textField>
andre@8583: 				<reportElement x="123" y="70" width="392" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<textFieldExpression><![CDATA[$F{river}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<staticText>
andre@8583: 				<reportElement x="0" y="90" width="123" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<text><![CDATA[Date of creation:]]></text>
andre@8583: 			</staticText>
andre@8583: 			<textField>
andre@8583: 				<reportElement x="123" y="90" width="392" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<staticText>
tom@8736: 				<reportElement x="0" y="130" width="123" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<text><![CDATA[Differences:]]></text>
andre@8583: 			</staticText>
andre@8583: 			<textField isStretchWithOverflow="true">
tom@8736: 				<reportElement stretchType="RelativeToTallestObject" x="122" y="130" width="392" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<textFieldExpression><![CDATA[$F{differences}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8584: 			<textField>
tom@8736: 				<reportElement x="122" y="110" width="392" height="20"/>
andre@8583: 				<textElement/>
andre@8584: 				<textFieldExpression><![CDATA[$F{range}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<staticText>
tom@8736: 				<reportElement x="0" y="110" width="123" height="20"/>
andre@8583: 				<textElement/>
andre@8584: 				<text><![CDATA[Range:]]></text>
andre@8583: 			</staticText>
andre@8583: 		</band>
andre@8583: 	</title>
andre@8583: 	<columnHeader>
andre@8583: 		<band height="24" splitType="Stretch">
andre@8583: 			<line>
andre@8583: 				<reportElement x="0" y="19" width="515" height="1"/>
andre@8583: 			</line>
andre@8583: 			<staticText>
andre@8583: 				<reportElement x="0" y="0" width="155" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<text><![CDATA[River-Km]]></text>
andre@8583: 			</staticText>
andre@8583: 			<staticText>
andre@8583: 				<reportElement x="155" y="0" width="150" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<text><![CDATA[Difference [m]]]></text>
andre@8583: 			</staticText>
andre@8583: 		</band>
andre@8583: 	</columnHeader>
andre@8583: 	<detail>
andre@8583: 		<band height="14" splitType="Stretch">
andre@8583: 			<textField isBlankWhenNull="true">
andre@8583: 				<reportElement x="0" y="0" width="155" height="14"/>
andre@8583: 				<textElement/>
andre@8583: 				<textFieldExpression><![CDATA[$F{km}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<textField isBlankWhenNull="true">
andre@8583: 				<reportElement x="155" y="0" width="150" height="14"/>
andre@8583: 				<textElement/>
andre@8583: 				<textFieldExpression><![CDATA[$F{meter}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 		</band>
andre@8583: 	</detail>
andre@8583: 	<pageFooter>
andre@8583: 		<band height="29" splitType="Stretch">
andre@8583: 			<textField evaluationTime="Report">
andre@8583: 				<reportElement x="457" y="9" width="57" height="20"/>
andre@8583: 				<textElement/>
andre@8583: 				<textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 			<textField>
andre@8583: 				<reportElement x="402" y="9" width="55" height="20"/>
andre@8583: 				<textElement textAlignment="Right"/>
andre@8583: 				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
andre@8583: 			</textField>
andre@8583: 		</band>
andre@8583: 	</pageFooter>
andre@8583: 	<summary>
andre@8583: 		<band height="42" splitType="Stretch"/>
andre@8583: 	</summary>
andre@8583: </jasperReport>