andre@8578: <?xml version="1.0" encoding="UTF-8"?> andre@8578: <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@8578: <property name="ireport.zoom" value="1.5"/> andre@8578: <property name="ireport.x" value="0"/> andre@8578: <property name="ireport.y" value="43"/> andre@8578: <parameter name="MEASUREMENT_PAGE_NUM" class="java.lang.Integer"/> andre@8578: <field name="river" class="java.lang.String"/> andre@8578: <field name="periods" class="java.lang.String"/> andre@8578: <field name="outliertest" class="java.lang.String"/> andre@8578: <field name="date" class="java.lang.String"/> andre@8578: <field name="outliers" class="java.lang.String"/> andre@8578: <field name="calculation" class="java.lang.String"/> andre@8578: <field name="total" class="java.lang.String"/> andre@8578: <field name="out" class="java.lang.String"/> andre@8578: <field name="location" class="java.lang.String"/> andre@8578: <field name="sd" class="java.lang.String"/> andre@8578: <field name="a" class="java.lang.String"/> andre@8578: <field name="b" class="java.lang.String"/> andre@8578: <field name="km" class="java.lang.String"/> andre@8578: <field name="param" class="java.lang.String"/> andre@8578: <field name="qmax" class="java.lang.String"/> andre@8578: <field name="cduan" class="java.lang.String"/> andre@8578: <field name="cferg" class="java.lang.String"/> andre@8578: <field name="r2" class="java.lang.String"/> andre@8578: <field name="msGauge" class="java.lang.String"/> andre@8578: <field name="msName" class="java.lang.String"/> andre@8578: <background> andre@8578: <band splitType="Stretch"/> andre@8578: </background> andre@8578: <title> andre@8578: <band height="231" splitType="Stretch"> andre@8578: <staticText> andre@8578: <reportElement x="0" y="1" width="177" height="30"/> andre@8578: <textElement> andre@8578: <font size="18"/> andre@8578: </textElement> andre@8578: <text><![CDATA[Calculation result]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="177" y="0" width="338" height="31"/> andre@8578: <textElement> andre@8578: <font size="18"/> andre@8578: </textElement> andre@8578: <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField> andre@8578: <reportElement x="0" y="31" width="515" height="26"/> andre@8578: <textElement> andre@8578: <font size="14"/> andre@8578: </textElement> andre@8578: <textFieldExpression><![CDATA[$F{calculation}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="70" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[River:]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="123" y="70" width="392" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="90" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Location]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="123" y="90" width="392" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{location}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="150" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Date of creation:]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="123" y="150" width="392" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{date}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="170" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Periods:]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="123" y="170" width="392" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{periods}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="190" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Outliertest:]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="123" y="190" width="392" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{outliertest}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="210" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Outliers:]]></text> andre@8578: </staticText> andre@8578: <textField> andre@8578: <reportElement x="123" y="210" width="392" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{outliers}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isBlankWhenNull="false"> andre@8578: <reportElement x="123" y="110" width="392" height="20" isRemoveLineWhenBlank="true"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{msName}]]></textFieldExpression> andre@8578: </textField> andre@8578: <staticText> andre@8578: <reportElement x="0" y="130" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[hdyr. Reference Gauge:]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="0" y="110" width="123" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Measurement Station:]]></text> andre@8578: </staticText> andre@8578: <textField isBlankWhenNull="false"> andre@8578: <reportElement x="123" y="130" width="392" height="20" isRemoveLineWhenBlank="true"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{msGauge}]]></textFieldExpression> andre@8578: </textField> andre@8578: </band> andre@8578: </title> andre@8578: <columnHeader> andre@8578: <band height="25" splitType="Stretch"> andre@8578: <line> andre@8578: <reportElement x="0" y="19" width="515" height="1"/> andre@8578: </line> andre@8578: <staticText> andre@8578: <reportElement x="94" y="0" width="60" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[a]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="391" y="0" width="44" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[n <sub>outlier</sub>]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="470" y="0" width="45" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[C <sub>Ferguson</sub>]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="435" y="0" width="35" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[C<sub>Duan</sub>]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="265" y="0" width="60" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[Q<sub>max,measured</sub>]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="0" y="0" width="39" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[R-km ]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="325" y="0" width="26" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[r²]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="351" y="0" width="40" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[n<sub>total</sub>]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="189" y="0" width="76" height="20"/> andre@8578: <textElement verticalAlignment="Middle" markup="styled"/> andre@8578: <text><![CDATA[Standard err]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="154" y="0" width="35" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[b]]></text> andre@8578: </staticText> andre@8578: <staticText> andre@8578: <reportElement x="39" y="0" width="55" height="20"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <text><![CDATA[Parameter]]></text> andre@8578: </staticText> andre@8578: </band> andre@8578: </columnHeader> andre@8578: <detail> andre@8578: <band height="14" splitType="Stretch"> andre@8578: <textField isStretchWithOverflow="true" isBlankWhenNull="true"> andre@8578: <reportElement stretchType="RelativeToBandHeight" x="435" y="0" width="35" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{cduan}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isStretchWithOverflow="true" isBlankWhenNull="true"> andre@8578: <reportElement stretchType="RelativeToBandHeight" x="391" y="0" width="44" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{out}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isStretchWithOverflow="true" isBlankWhenNull="true"> andre@8578: <reportElement stretchType="RelativeToBandHeight" x="154" y="0" width="35" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{b}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isBlankWhenNull="true"> andre@8578: <reportElement x="39" y="0" width="55" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{param}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isBlankWhenNull="true"> andre@8578: <reportElement x="0" y="0" width="39" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{km}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isStretchWithOverflow="true" isBlankWhenNull="true"> andre@8578: <reportElement stretchType="RelativeToBandHeight" x="470" y="0" width="45" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{cferg}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isBlankWhenNull="true"> andre@8578: <reportElement x="94" y="0" width="60" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{a}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isBlankWhenNull="true"> andre@8578: <reportElement x="189" y="0" width="76" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{sd}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isStretchWithOverflow="true" isBlankWhenNull="true"> andre@8578: <reportElement stretchType="RelativeToBandHeight" x="265" y="0" width="60" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{qmax}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isStretchWithOverflow="true" isBlankWhenNull="true"> andre@8578: <reportElement stretchType="RelativeToBandHeight" x="351" y="0" width="40" height="14" isPrintWhenDetailOverflows="true"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{total}]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField isBlankWhenNull="true"> andre@8578: <reportElement x="325" y="0" width="26" height="14"/> andre@8578: <textElement verticalAlignment="Middle"/> andre@8578: <textFieldExpression><![CDATA[$F{r2}]]></textFieldExpression> andre@8578: </textField> andre@8578: </band> andre@8578: </detail> andre@8578: <pageFooter> andre@8578: <band height="29" splitType="Stretch"> andre@8578: <textField evaluationTime="Report"> andre@8578: <reportElement x="458" y="9" width="57" height="20"/> andre@8578: <textElement/> andre@8578: <textFieldExpression><![CDATA[" / " + ($V{PAGE_NUMBER} + $P{MEASUREMENT_PAGE_NUM})]]></textFieldExpression> andre@8578: </textField> andre@8578: <textField> andre@8578: <reportElement x="403" y="9" width="55" height="20"/> andre@8578: <textElement textAlignment="Right"/> andre@8578: <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> andre@8578: </textField> andre@8578: </band> andre@8578: </pageFooter> andre@8578: <summary> andre@8578: <band height="42" splitType="Stretch"/> andre@8578: </summary> andre@8578: </jasperReport>