Mercurial > dive4elements > river
annotate artifacts/doc/conf/jasper/sqmeasurements_en.jrxml @ 9670:07d854c325d8 3.2.x
Tighten code a bit
PostgreSQL database names might also contain dots and since the extra
pattern matches a subset of the other, it will never match anyhow.
Thus remove the extra pattern, a lot of duplicate code and some
superfluous debug logging.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 20 May 2020 17:50:27 +0200 |
parents | c985b27e3a8c |
children |
rev | line source |
---|---|
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="UTF-8"?> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
2 <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"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
3 <property name="ireport.zoom" value="1.5"/> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
4 <property name="ireport.x" value="0"/> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
5 <property name="ireport.y" value="0"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
6 <subDataset name="dataset1"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
7 <field name="date" class="java.lang.String"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
8 <field name="param" class="java.lang.String"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
9 <field name="transport" class="java.lang.String"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
10 <field name="discharge" class="java.lang.String"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
11 <field name="outlier" class="java.lang.String"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
12 <background> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
13 <band splitType="Stretch"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
14 </background> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
15 <title> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
16 <band height="31" splitType="Stretch"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
17 <staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
18 <reportElement x="0" y="1" width="177" height="30"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
19 <textElement> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
20 <font size="18"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
21 </textElement> |
8579
b058b4f153d3
(issue1753) Add english measurements jasper template
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8578
diff
changeset
|
22 <text><![CDATA[Basedata]]></text> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
23 </staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
24 </band> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
25 </title> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
26 <columnHeader> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
27 <band height="23" splitType="Stretch"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
28 <line> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
29 <reportElement x="0" y="19" width="515" height="1"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
30 </line> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
31 <staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
32 <reportElement x="0" y="0" width="60" height="20"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
33 <textElement verticalAlignment="Middle"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
34 <text><![CDATA[Parameter]]></text> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
35 </staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
36 <staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
37 <reportElement x="60" y="0" width="115" height="20"/> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
38 <textElement textAlignment="Right" verticalAlignment="Middle"/> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
39 <text><![CDATA[Transport in [kg/s]]]></text> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
40 </staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
41 <staticText> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
42 <reportElement x="175" y="0" width="102" height="20"/> |
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
43 <textElement textAlignment="Right" verticalAlignment="Middle"/> |
8579
b058b4f153d3
(issue1753) Add english measurements jasper template
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8578
diff
changeset
|
44 <text><![CDATA[Discharge in [m³/s]]]></text> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
45 </staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
46 <staticText> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
47 <reportElement x="277" y="0" width="104" height="20"/> |
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
48 <textElement textAlignment="Right" verticalAlignment="Middle" markup="styled"/> |
8579
b058b4f153d3
(issue1753) Add english measurements jasper template
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8578
diff
changeset
|
49 <text><![CDATA[Measurement Date]]></text> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
50 </staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
51 <staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
52 <reportElement x="392" y="0" width="123" height="20"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
53 <textElement textAlignment="Left" verticalAlignment="Middle" markup="styled"/> |
8579
b058b4f153d3
(issue1753) Add english measurements jasper template
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8578
diff
changeset
|
54 <text><![CDATA[Outlier in Iteration]]></text> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
55 </staticText> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
56 </band> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
57 </columnHeader> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
58 <detail> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
59 <band height="17" splitType="Stretch"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
60 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
61 <reportElement stretchType="RelativeToBandHeight" x="277" y="0" width="104" height="14"/> |
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
62 <textElement textAlignment="Right" verticalAlignment="Middle"/> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
63 <textFieldExpression><![CDATA[$F{date}]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
64 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
65 <textField isBlankWhenNull="true"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
66 <reportElement x="0" y="0" width="60" height="14"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
67 <textElement textAlignment="Center" verticalAlignment="Middle"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
68 <textFieldExpression><![CDATA[$F{param}]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
69 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
70 <textField isBlankWhenNull="true"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
71 <reportElement x="60" y="0" width="115" height="14"/> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
72 <textElement textAlignment="Right" verticalAlignment="Middle"/> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
73 <textFieldExpression><![CDATA[$F{transport}]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
74 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
75 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
8606
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
76 <reportElement stretchType="RelativeToBandHeight" x="175" y="0" width="102" height="14"/> |
c985b27e3a8c
(issue1753) Align data columns to the right side.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
8579
diff
changeset
|
77 <textElement textAlignment="Right" verticalAlignment="Middle"/> |
8578
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
78 <textFieldExpression><![CDATA[$F{discharge}]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
79 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
80 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
81 <reportElement stretchType="RelativeToBandHeight" x="392" y="0" width="123" height="14"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
82 <textElement textAlignment="Left" verticalAlignment="Middle"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
83 <textFieldExpression><![CDATA[$F{outlier}]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
84 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
85 </band> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
86 </detail> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
87 <pageFooter> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
88 <band height="30" splitType="Stretch"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
89 <textField evaluationTime="Report"> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
90 <reportElement x="458" y="9" width="57" height="20"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
91 <textElement/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
92 <textFieldExpression><![CDATA[" / " + ($V{PAGE_NUMBER} + 1)]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
93 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
94 <textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
95 <reportElement x="403" y="9" width="55" height="20"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
96 <textElement textAlignment="Right"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
97 <textFieldExpression><![CDATA[$V{PAGE_NUMBER} + 1]]></textFieldExpression> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
98 </textField> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
99 </band> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
100 </pageFooter> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
101 <summary> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
102 <band height="42" splitType="Stretch"/> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
103 </summary> |
4eb1a3c71579
(issue1753) Implement PDF export of SQ Measurement data.
Andre Heinecke <andre.heinecke@intevation.de>
parents:
diff
changeset
|
104 </jasperReport> |