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="W" class="java.lang.String"/> andre@8583: <field name="date" class="java.lang.String"/> andre@8583: <field name="Q" class="java.lang.String"/> andre@8583: <field name="calculation" class="java.lang.String"/> andre@8583: <field name="range" class="java.lang.String"/> andre@8583: <field name="wUnit" class="java.lang.String"/> andre@8583: <field name="gauge" class="java.lang.String"/> andre@8583: <field name="datum" class="java.lang.String"/> andre@8583: <field name="valid_since" class="java.lang.String"/> andre@8583: <background> andre@8583: <band splitType="Stretch"/> andre@8583: </background> andre@8583: <title> andre@8583: <band height="195" splitType="Stretch"> andre@8583: <staticText> andre@8583: <reportElement x="0" y="0" width="155" height="30"/> andre@8583: <textElement> andre@8583: <font size="18"/> andre@8583: </textElement> andre@8583: <text><![CDATA[Ergebnisausgabe]]></text> andre@8583: </staticText> andre@8583: <textField> andre@8583: <reportElement x="155" y="0" width="360" height="30"/> 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[Gewässer:]]></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[Datum der Erstellung:]]></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> andre@8583: <reportElement x="0" y="110" width="123" height="20"/> andre@8583: <textElement/> andre@8583: <text><![CDATA[Ort/Bereich:]]></text> andre@8583: </staticText> andre@8583: <textField> andre@8583: <reportElement x="123" y="110" width="392" height="20"/> andre@8583: <textElement/> andre@8583: <textFieldExpression><![CDATA[$F{range}]]></textFieldExpression> andre@8583: </textField> andre@8583: <staticText> andre@8583: <reportElement x="0" y="130" width="123" height="20" isRemoveLineWhenBlank="true"> andre@8583: <printWhenExpression><![CDATA[!$F{gauge}.isEmpty()]]></printWhenExpression> andre@8583: </reportElement> andre@8583: <textElement/> andre@8583: <text><![CDATA[Pegel:]]></text> andre@8583: </staticText> andre@8583: <textField> andre@8583: <reportElement x="123" y="150" width="392" height="20" isRemoveLineWhenBlank="true"/> andre@8583: <textElement/> andre@8583: <textFieldExpression><![CDATA[$F{datum}]]></textFieldExpression> andre@8583: </textField> andre@8583: <staticText> andre@8583: <reportElement x="0" y="150" width="123" height="20" isRemoveLineWhenBlank="true"> andre@8583: <printWhenExpression><![CDATA[!$F{datum}.isEmpty()]]></printWhenExpression> andre@8583: </reportElement> andre@8583: <textElement/> andre@8583: <text><![CDATA[Pegelnullpunkt:]]></text> andre@8583: </staticText> andre@8583: <textField> andre@8583: <reportElement x="123" y="130" width="392" height="20" isRemoveLineWhenBlank="true"/> andre@8583: <textElement/> andre@8583: <textFieldExpression><![CDATA[$F{gauge}]]></textFieldExpression> andre@8583: </textField> andre@8583: <textField> andre@8583: <reportElement x="123" y="170" width="392" height="20" isRemoveLineWhenBlank="true"/> andre@8583: <textElement/> andre@8583: <textFieldExpression><![CDATA[$F{valid_since}]]></textFieldExpression> andre@8583: </textField> andre@8583: <staticText> andre@8583: <reportElement x="0" y="170" width="123" height="20" isRemoveLineWhenBlank="true"> andre@8583: <printWhenExpression><![CDATA[!$F{valid_since}.isEmpty()]]></printWhenExpression> andre@8583: </reportElement> andre@8583: <textElement/> andre@8583: <text><![CDATA[Gültig seit:]]></text> andre@8583: </staticText> andre@8583: </band> andre@8583: </title> andre@8583: <columnHeader> andre@8583: <band height="25" 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="155" y="0" width="150" height="20"/> andre@8583: <textElement/> andre@8583: <text><![CDATA[Q [m³/s]]]></text> andre@8583: </staticText> andre@8583: <textField> andre@8583: <reportElement x="0" y="0" width="155" height="20"/> andre@8583: <textElement/> andre@8583: <textFieldExpression><![CDATA["W [" + $F{wUnit} + "]"]]></textFieldExpression> andre@8583: </textField> 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{W}]]></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{Q}]]></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="458" 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="403" 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>