Mercurial > dive4elements > river
comparison artifacts/doc/conf/jasper/templates/sinfo.flowdepth.jrxml @ 8863:1009cab0f86b
Some work on flow depth exporter
author | gernotbelger |
---|---|
date | Fri, 19 Jan 2018 18:47:53 +0100 |
parents | 7bbfb24e6eec |
children | 7c1611b5a59e |
comparison
equal
deleted
inserted
replaced
8862:5b5bdce5a216 | 8863:1009cab0f86b |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
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"> | 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="842" pageHeight="595" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20"> |
3 <property name="ireport.zoom" value="1.0"/> | 3 <property name="ireport.zoom" value="1.0"/> |
4 <property name="ireport.x" value="0"/> | 4 <property name="ireport.x" value="0"/> |
5 <property name="ireport.y" value="0"/> | 5 <property name="ireport.y" value="0"/> |
6 | 6 |
7 <style name="htmlStyle" markup="html" /> | |
8 | |
9 <field name="meta:header" class="java.lang.String"/> | |
10 <field name="meta:calcMode" class="java.lang.String"/> | |
11 <field name="meta:version_label" class="java.lang.String"/> | |
7 <field name="meta:version" class="java.lang.String"/> | 12 <field name="meta:version" class="java.lang.String"/> |
13 <field name="meta:user_label" class="java.lang.String"/> | |
8 <field name="meta:user" class="java.lang.String"/> | 14 <field name="meta:user" class="java.lang.String"/> |
15 <field name="meta:date_label" class="java.lang.String"/> | |
9 <field name="meta:date" class="java.lang.String"/> | 16 <field name="meta:date" class="java.lang.String"/> |
17 <field name="meta:river_label" class="java.lang.String"/> | |
10 <field name="meta:river" class="java.lang.String"/> | 18 <field name="meta:river" class="java.lang.String"/> |
19 <field name="meta:range_label" class="java.lang.String"/> | |
11 <field name="meta:range" class="java.lang.String"/> | 20 <field name="meta:range" class="java.lang.String"/> |
21 | |
22 <field name="meta:station_header" class="java.lang.String"/> | |
23 <field name="meta:flowdepth_header" class="java.lang.String"/> | |
24 <field name="meta:flowdepth_tkh_header" class="java.lang.String"/> | |
25 <field name="meta:tkh_header" class="java.lang.String"/> | |
26 <field name="meta:waterlevel_header" class="java.lang.String"/> | |
27 <field name="meta:discharge_header" class="java.lang.String"/> | |
28 <field name="meta:waterlevel_name_header" class="java.lang.String"/> | |
29 <field name="meta:gauge_header" class="java.lang.String"/> | |
30 <field name="meta:bedheight_header" class="java.lang.String"/> | |
31 <field name="meta:sounding_name_header" class="java.lang.String"/> | |
32 <field name="meta:location_header" class="java.lang.String"/> | |
33 <field name="meta:river_unit" class="java.lang.String"/> | |
12 | 34 |
13 <field name="data:0" class="java.lang.String"/> | 35 <field name="data:0" class="java.lang.String"/> |
14 <field name="data:1" class="java.lang.String"/> | 36 <field name="data:1" class="java.lang.String"/> |
15 <field name="data:2" class="java.lang.String"/> | 37 <field name="data:2" class="java.lang.String"/> |
16 <field name="data:3" class="java.lang.String"/> | 38 <field name="data:3" class="java.lang.String"/> |
17 <field name="data:4" class="java.lang.String"/> | 39 <field name="data:4" class="java.lang.String"/> |
18 <field name="data:5" class="java.lang.String"/> | 40 <field name="data:5" class="java.lang.String"/> |
41 <field name="data:6" class="java.lang.String"/> | |
42 <field name="data:7" class="java.lang.String"/> | |
43 <field name="data:8" class="java.lang.String"/> | |
44 <field name="data:9" class="java.lang.String"/> | |
45 <field name="data:10" class="java.lang.String"/> | |
46 | |
19 <!-- | 47 <!-- |
20 <field name="data:6" class="java.lang.String"/> | 48 <field name="data:6" class="java.lang.String"/> |
21 <field name="data:7" class="java.lang.String"/> | 49 <field name="data:7" class="java.lang.String"/> |
22 <field name="data:8" class="java.lang.String"/> | 50 <field name="data:8" class="java.lang.String"/> |
23 <field name="data:9" class="java.lang.String"/> | 51 <field name="data:9" class="java.lang.String"/> |
28 <background> | 56 <background> |
29 <band splitType="Stretch"/> | 57 <band splitType="Stretch"/> |
30 </background> | 58 </background> |
31 <title> | 59 <title> |
32 <band height="182" splitType="Stretch"> | 60 <band height="182" splitType="Stretch"> |
33 <staticText> | 61 |
34 <reportElement x="0" y="1" width="165" height="30"/> | 62 <textField> |
63 <reportElement x="0" y="1" width="515" height="30"/> | |
35 <textElement> | 64 <textElement> |
36 <font size="18"/> | 65 <font size="18"/> |
37 </textElement> | 66 </textElement> |
38 <text><![CDATA[Ergebnisausgabe]]></text> | 67 <textFieldExpression><![CDATA[$F{meta:header} + " " + $F{meta:river}]]></textFieldExpression> |
39 </staticText> | 68 </textField> |
40 <!-- | 69 |
41 <textField> | 70 <textField> |
42 <reportElement x="165" y="0" width="350" height="31"/> | 71 <reportElement x="0" y="40" width="165" height="20"/> |
43 <textElement> | 72 <textElement/> |
44 <font size="18"/> | 73 <textFieldExpression><![CDATA[$F{meta:calcMode}]]></textFieldExpression> |
45 </textElement> | 74 </textField> |
75 | |
76 <textField> | |
77 <reportElement x="0" y="70" width="123" height="20"/> | |
78 <textElement/> | |
79 <textFieldExpression><![CDATA[$F{meta:version_label} + ":"]]></textFieldExpression> | |
80 </textField> | |
81 <textField> | |
82 <reportElement x="123" y="70" width="392" height="20"/> | |
83 <textElement/> | |
46 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression> | 84 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression> |
47 </textField> | 85 </textField> |
48 <textField> | 86 |
49 <reportElement x="165" y="0" width="350" height="31"/> | 87 <textField> |
50 <textElement> | 88 <reportElement x="0" y="90" width="123" height="20"/> |
51 <font size="18"/> | 89 <textElement/> |
52 </textElement> | 90 <textFieldExpression><![CDATA[$F{meta:user_label} + ":"]]></textFieldExpression> |
91 </textField> | |
92 <textField> | |
93 <reportElement x="123" y="90" width="392" height="20"/> | |
94 <textElement/> | |
53 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression> | 95 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression> |
54 </textField> | 96 </textField> |
55 <textField> | 97 |
56 <reportElement x="165" y="0" width="350" height="31"/> | 98 <textField> |
57 <textElement> | |
58 <font size="18"/> | |
59 </textElement> | |
60 <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression> | |
61 </textField> | |
62 <textField> | |
63 <reportElement x="0" y="31" width="515" height="26"/> | |
64 <textElement> | |
65 <font size="14"/> | |
66 </textElement> | |
67 <textFieldExpression><![CDATA[$F{calculation}]]></textFieldExpression> | |
68 </textField> | |
69 --> | |
70 | |
71 <staticText> | |
72 <reportElement x="0" y="70" width="123" height="20"/> | |
73 <textElement/> | |
74 <text><![CDATA[FLYS-Version:]]></text> | |
75 </staticText> | |
76 <textField> | |
77 <reportElement x="123" y="70" width="392" height="20"/> | |
78 <textElement/> | |
79 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression> | |
80 </textField> | |
81 | |
82 <staticText> | |
83 <reportElement x="0" y="90" width="123" height="20"/> | |
84 <textElement/> | |
85 <text><![CDATA[Bearbeiter:]]></text> | |
86 </staticText> | |
87 <textField> | |
88 <reportElement x="123" y="90" width="392" height="20"/> | |
89 <textElement/> | |
90 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression> | |
91 </textField> | |
92 | |
93 <staticText> | |
94 <reportElement x="0" y="110" width="123" height="20"/> | 99 <reportElement x="0" y="110" width="123" height="20"/> |
95 <textElement/> | 100 <textElement/> |
96 <text><![CDATA[Datum der Erstellung:]]></text> | 101 <textFieldExpression><![CDATA[$F{meta:date_label} + ":"]]></textFieldExpression> |
97 </staticText> | 102 </textField> |
98 <textField> | 103 <textField> |
99 <reportElement x="123" y="110" width="392" height="20"/> | 104 <reportElement x="123" y="110" width="392" height="20"/> |
100 <textElement/> | 105 <textElement/> |
101 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression> | 106 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression> |
102 </textField> | 107 </textField> |
103 | 108 |
104 <staticText> | 109 <textField> |
105 <reportElement x="0" y="130" width="123" height="20"/> | 110 <reportElement x="0" y="130" width="123" height="20"/> |
106 <textElement/> | 111 <textElement/> |
107 <text><![CDATA[Gewässer:]]></text> | 112 <textFieldExpression><![CDATA[$F{meta:river_label} + ":"]]></textFieldExpression> |
108 </staticText> | 113 </textField> |
109 <textField> | 114 <textField> |
110 <reportElement x="123" y="130" width="392" height="20"/> | 115 <reportElement x="123" y="130" width="392" height="20"/> |
111 <textElement/> | 116 <textElement/> |
112 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression> | 117 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression> |
113 </textField> | 118 </textField> |
114 | 119 |
115 <staticText> | 120 <textField> |
116 <reportElement x="0" y="150" width="123" height="20"/> | 121 <reportElement x="0" y="150" width="123" height="20"/> |
117 <textElement/> | 122 <textElement/> |
118 <text><![CDATA[Bereich:]]></text> | 123 <textFieldExpression><![CDATA[$F{meta:range_label} + ":"]]></textFieldExpression> |
119 </staticText> | 124 </textField> |
125 | |
126 | |
120 <textField> | 127 <textField> |
121 <reportElement x="123" y="150" width="392" height="20"/> | 128 <reportElement x="123" y="150" width="392" height="20"/> |
122 <textElement/> | 129 <textElement/> |
123 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression> | 130 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression> |
124 </textField> | 131 </textField> |
125 </band> | 132 </band> |
126 </title> | 133 </title> |
127 <columnHeader> | 134 <columnHeader> |
128 <band height="25" splitType="Stretch"> | 135 <band height="30" splitType="Stretch"> |
129 <line> | 136 <line> |
130 <reportElement x="0" y="19" width="515" height="1"/> | 137 <reportElement x="0" y="29" width="762" height="1"/> |
131 </line> | 138 </line> |
132 <staticText> | 139 <textField> |
133 <reportElement x="0" y="0" width="60" height="20"/> | 140 <reportElement x="0" y="0" width="50" height="30" style="htmlStyle"/> |
134 <textElement/> | 141 <textElement/> |
135 <text><![CDATA[Fluss-Km]]></text> | 142 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression> |
136 </staticText> | 143 </textField> |
137 <staticText> | 144 <textField> |
138 <reportElement x="60" y="0" width="65" height="20"/> | 145 <reportElement x="50" y="0" width="50" height="30" style="htmlStyle"/> |
139 <textElement/> | 146 <textElement /> |
140 <text><![CDATA[W [NN + m]]]></text> | 147 <textFieldExpression><![CDATA[$F{meta:flowdepth_header} + "<br/>[m]"]]></textFieldExpression> |
141 </staticText> | 148 </textField> |
142 <staticText> | 149 <textField> |
143 <reportElement x="125" y="0" width="65" height="20"/> | 150 <reportElement x="100" y="0" width="85" height="30" style="htmlStyle"/> |
144 <textElement/> | 151 <textElement/> |
145 <text><![CDATA[Q [m³/s]]]></text> | 152 <textFieldExpression><![CDATA[$F{meta:flowdepth_tkh_header} + "<br/>[m]"]]></textFieldExpression> |
146 </staticText> | 153 </textField> |
147 <staticText> | 154 <textField> |
148 <reportElement x="190" y="0" width="85" height="20"/> | 155 <reportElement x="185" y="0" width="25" height="30" style="htmlStyle"/> |
149 <textElement/> | 156 <textElement/> |
150 <text><![CDATA[Bezeichnung]]></text> | 157 <textFieldExpression><![CDATA[$F{meta:tkh_header} + "<br/>[cm]"]]></textFieldExpression> |
151 </staticText> | 158 </textField> |
152 <staticText> | 159 <textField> |
153 <reportElement x="275" y="0" width="110" height="20"/> | 160 <reportElement x="210" y="0" width="65" height="30" style="htmlStyle"/> |
154 <textElement/> | 161 <textElement/> |
155 <text><![CDATA[Lage]]></text> | 162 <textFieldExpression><![CDATA[$F{meta:waterlevel_header} + "[" + $F{meta:river_unit} + "]"]]></textFieldExpression> |
156 </staticText> | 163 </textField> |
157 <staticText> | 164 <textField> |
158 <reportElement x="385" y="0" width="130" height="20"/> | 165 <reportElement x="275" y="0" width="40" height="30" style="htmlStyle"/> |
159 <textElement/> | 166 <textElement/> |
160 <text><![CDATA[Bezugspegel]]></text> | 167 <textFieldExpression><![CDATA[$F{meta:discharge_header} + "<br/>[m³/s]"]]></textFieldExpression> |
161 </staticText> | 168 </textField> |
169 <textField> | |
170 <reportElement x="315" y="0" width="85" height="30" style="htmlStyle"/> | |
171 <textElement/> | |
172 <textFieldExpression><![CDATA[$F{meta:waterlevel_name_header}]]></textFieldExpression> | |
173 </textField> | |
174 <textField> | |
175 <reportElement x="400" y="0" width="100" height="30" style="htmlStyle"/> | |
176 <textElement/> | |
177 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression> | |
178 </textField> | |
179 <textField> | |
180 <reportElement x="500" y="0" width="65" height="30" style="htmlStyle"/> | |
181 <textElement/> | |
182 <textFieldExpression><![CDATA[$F{meta:bedheight_header} + "[" + $F{meta:river_unit} + "]"]]></textFieldExpression> | |
183 </textField> | |
184 <textField> | |
185 <reportElement x="565" y="0" width="85" height="30" style="htmlStyle"/> | |
186 <textElement/> | |
187 <textFieldExpression><![CDATA[$F{meta:sounding_name_header}]]></textFieldExpression> | |
188 </textField> | |
189 <textField> | |
190 <reportElement x="650" y="0" width="110" height="30" style="htmlStyle"/> | |
191 <textElement/> | |
192 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression> | |
193 </textField> | |
162 </band> | 194 </band> |
163 </columnHeader> | 195 </columnHeader> |
164 <detail> | 196 <detail> |
165 <band height="14" splitType="Stretch"> | 197 <band height="14" splitType="Stretch"> |
166 <textField isBlankWhenNull="true"> | 198 <textField isBlankWhenNull="true"> |
167 <reportElement x="0" y="0" width="60" height="14"/> | 199 <reportElement x="0" y="0" width="40" height="14"/> |
168 <textElement/> | 200 <textElement textAlignment="Right"/> |
169 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> | 201 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> |
170 </textField> | 202 </textField> |
171 <textField isBlankWhenNull="true"> | 203 <textField isBlankWhenNull="true"> |
172 <reportElement x="60" y="0" width="65" height="14"/> | 204 <reportElement x="50" y="0" width="40" height="14" /> |
173 <textElement/> | 205 <textElement textAlignment="Right"/> |
174 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression> | 206 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression> |
175 </textField> | 207 </textField> |
176 <textField isBlankWhenNull="true"> | 208 <textField isBlankWhenNull="true"> |
177 <reportElement x="125" y="0" width="65" height="14"/> | 209 <reportElement x="100" y="0" width="75" height="14"/> |
178 <textElement/> | 210 <textElement textAlignment="Right"/> |
179 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression> | 211 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression> |
180 </textField> | 212 </textField> |
181 <textField isStretchWithOverflow="true" isBlankWhenNull="false"> | 213 <textField isBlankWhenNull="true"> |
182 <reportElement stretchType="RelativeToBandHeight" x="190" y="0" width="85" height="14"/> | 214 <reportElement x="185" y="0" width="15" height="14"/> |
183 <textElement/> | 215 <textElement textAlignment="Right"/> |
184 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression> | 216 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression> |
185 </textField> | 217 </textField> |
186 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | 218 <textField isBlankWhenNull="true"> |
187 <reportElement stretchType="RelativeToBandHeight" x="275" y="0" width="110" height="14" isPrintWhenDetailOverflows="true"/> | 219 <reportElement x="210" y="0" width="55" height="14"/> |
188 <textElement/> | 220 <textElement textAlignment="Right"/> |
189 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression> | 221 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression> |
190 </textField> | 222 </textField> |
191 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | 223 <textField isBlankWhenNull="true"> |
192 <reportElement stretchType="RelativeToBandHeight" x="385" y="0" width="130" height="14"/> | 224 <reportElement x="275" y="0" width="30" height="14"/> |
193 <textElement/> | 225 <textElement textAlignment="Right"/> |
194 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression> | 226 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression> |
227 </textField> | |
228 <textField isBlankWhenNull="true"> | |
229 <reportElement x="315" y="0" width="85" height="14"/> | |
230 <textElement/> | |
231 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression> | |
232 </textField> | |
233 <textField isBlankWhenNull="true"> | |
234 <reportElement x="400" y="0" width="100" height="14"/> | |
235 <textElement/> | |
236 <textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression> | |
237 </textField> | |
238 <textField isBlankWhenNull="true"> | |
239 <reportElement x="500" y="0" width="55" height="14"/> | |
240 <textElement textAlignment="Right"/> | |
241 <textFieldExpression><![CDATA[$F{data:8}]]></textFieldExpression> | |
242 </textField> | |
243 <textField isBlankWhenNull="true"> | |
244 <reportElement x="565" y="0" width="85" height="14"/> | |
245 <textElement/> | |
246 <textFieldExpression><![CDATA[$F{data:9}]]></textFieldExpression> | |
247 </textField> | |
248 <textField isBlankWhenNull="true"> | |
249 <reportElement x="650" y="0" width="110" height="14" stretchType="RelativeToBandHeight"/> | |
250 <textElement/> | |
251 <textFieldExpression><![CDATA[$F{data:10}]]></textFieldExpression> | |
195 </textField> | 252 </textField> |
196 </band> | 253 </band> |
197 </detail> | 254 </detail> |
198 <pageFooter> | 255 <pageFooter> |
199 <band height="29" splitType="Stretch"> | 256 <band height="29" splitType="Stretch"> |
200 <textField evaluationTime="Report"> | 257 <textField evaluationTime="Report"> |
201 <reportElement x="458" y="9" width="57" height="20"/> | 258 <reportElement x="705" y="9" width="57" height="20"/> |
202 <textElement/> | 259 <textElement/> |
203 <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression> | 260 <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression> |
204 </textField> | 261 </textField> |
205 <textField> | 262 <textField> |
206 <reportElement x="403" y="9" width="55" height="20"/> | 263 <reportElement x="650" y="9" width="55" height="20"/> |
207 <textElement textAlignment="Right"/> | 264 <textElement textAlignment="Right"/> |
208 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> | 265 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> |
209 </textField> | 266 </textField> |
210 </band> | 267 </band> |
211 </pageFooter> | 268 </pageFooter> |