Mercurial > dive4elements > river
annotate artifacts/doc/conf/jasper/templates/sinfo.tkh.jrxml @ 9415:9744ce3c3853
Rework of fixanalysis computation and dWt and WQ facets. Got rid of strange remapping and bitshifting code by explicitely saving the column information and using it in the facets.
The facets also put the valid station range into their xml-metadata
author | gernotbelger |
---|---|
date | Thu, 16 Aug 2018 16:27:53 +0200 |
parents | a8d1784ad8e8 |
children | f303d693a70f |
rev | line source |
---|---|
8984 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 4.5.0 --> | |
9345 | 3 <!-- 2018-07-31T13:54:11 --> |
8998 | 4 <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"> |
8984 | 5 <property name="ireport.zoom" value="1.0"/> |
6 <property name="ireport.x" value="0"/> | |
7 <property name="ireport.y" value="0"/> | |
9109 | 8 <style name="htmlStyle" isDefault="true" mode="Transparent" markup="html" fontName="Roboto"/> |
8984 | 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"/> | |
12 <field name="meta:version" class="java.lang.String"/> | |
13 <field name="meta:user_label" class="java.lang.String"/> | |
14 <field name="meta:user" class="java.lang.String"/> | |
15 <field name="meta:date_label" class="java.lang.String"/> | |
16 <field name="meta:date" class="java.lang.String"/> | |
17 <field name="meta:river_label" class="java.lang.String"/> | |
18 <field name="meta:river" class="java.lang.String"/> | |
19 <field name="meta:range_label" class="java.lang.String"/> | |
20 <field name="meta:range" class="java.lang.String"/> | |
21 <field name="meta:calculation_label" class="java.lang.String"/> | |
22 <field name="meta:calculation_name" class="java.lang.String"/> | |
23 <field name="meta:station_header" class="java.lang.String"/> | |
24 <field name="meta:flowdepthdevelopment_header" class="java.lang.String"/> | |
25 <field name="meta:flowdepthdevelopmentperyear_header" class="java.lang.String"/> | |
26 <field name="meta:waterleveldifference_header" class="java.lang.String"/> | |
27 <field name="meta:waterleveldifference_header2" class="java.lang.String"/> | |
28 <field name="meta:waterleveldifference_header_label" class="java.lang.String"/> | |
29 <field name="meta:bedheightdifference_header" class="java.lang.String"/> | |
30 <field name="meta:bedheightdifference_header2" class="java.lang.String"/> | |
31 <field name="meta:bedheightdifference_header_label" class="java.lang.String"/> | |
32 <field name="meta:flowdepthcurrent_header" class="java.lang.String"/> | |
33 <field name="meta:flowdepthcurrent_header2" class="java.lang.String"/> | |
34 <field name="meta:flowdepthhistorical_header" class="java.lang.String"/> | |
35 <field name="meta:flowdepthhistorical_header2" class="java.lang.String"/> | |
36 <field name="meta:flowdepthcurrent_header_label" class="java.lang.String"/> | |
37 <field name="meta:flowdepthhistorical_header_label" class="java.lang.String"/> | |
38 <field name="meta:flowdepth_header" class="java.lang.String"/> | |
39 <field name="meta:flowdepthdevelopment" class="java.lang.String"/> | |
40 <field name="meta:flowdepthmin_header" class="java.lang.String"/> | |
41 <field name="meta:flowdepthmax_header" class="java.lang.String"/> | |
42 <field name="meta:flowdepthdevelopment_header_label" class="java.lang.String"/> | |
43 <field name="meta:flowdepth_tkh_header" class="java.lang.String"/> | |
44 <field name="meta:tkh_header" class="java.lang.String"/> | |
45 <field name="meta:tkhkind_header" class="java.lang.String"/> | |
46 <field name="meta:waterlevel_header" class="java.lang.String"/> | |
47 <field name="meta:discharge_header" class="java.lang.String"/> | |
48 <field name="meta:waterlevel_name_header" class="java.lang.String"/> | |
49 <field name="meta:gauge_header" class="java.lang.String"/> | |
50 <field name="meta:bedheight_header" class="java.lang.String"/> | |
51 <field name="meta:sounding_name_header" class="java.lang.String"/> | |
52 <field name="meta:location_header" class="java.lang.String"/> | |
53 <field name="meta:river_unit" class="java.lang.String"/> | |
54 <field name="data:0" class="java.lang.String"/> | |
55 <field name="data:1" class="java.lang.String"/> | |
56 <field name="data:2" class="java.lang.String"/> | |
57 <field name="data:3" class="java.lang.String"/> | |
58 <field name="data:4" class="java.lang.String"/> | |
59 <field name="data:5" class="java.lang.String"/> | |
60 <field name="data:6" class="java.lang.String"/> | |
61 <field name="data:7" class="java.lang.String"/> | |
62 <field name="data:8" class="java.lang.String"/> | |
63 <background> | |
64 <band splitType="Stretch"/> | |
65 </background> | |
66 <title> | |
67 <band height="189" splitType="Stretch"> | |
68 <textField> | |
69 <reportElement style="htmlStyle" x="0" y="0" width="515" height="30"/> | |
70 <textElement> | |
71 <font size="18"/> | |
72 </textElement> | |
73 <textFieldExpression><![CDATA[$F{meta:header} + " " + $F{meta:river}]]></textFieldExpression> | |
74 </textField> | |
75 <textField> | |
76 <reportElement style="htmlStyle" x="0" y="39" width="165" height="20"/> | |
77 <textFieldExpression><![CDATA[$F{meta:calcMode}]]></textFieldExpression> | |
78 </textField> | |
79 <textField> | |
80 <reportElement style="htmlStyle" x="0" y="69" width="123" height="20"/> | |
81 <textFieldExpression><![CDATA[$F{meta:version_label} + ":"]]></textFieldExpression> | |
82 </textField> | |
83 <textField> | |
84 <reportElement style="htmlStyle" x="123" y="69" width="392" height="20"/> | |
85 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression> | |
86 </textField> | |
87 <textField> | |
88 <reportElement style="htmlStyle" x="0" y="89" width="123" height="20"/> | |
89 <textFieldExpression><![CDATA[$F{meta:user_label} + ":"]]></textFieldExpression> | |
90 </textField> | |
91 <textField> | |
92 <reportElement style="htmlStyle" x="123" y="89" width="392" height="20"/> | |
93 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression> | |
94 </textField> | |
95 <textField> | |
96 <reportElement style="htmlStyle" x="0" y="109" width="123" height="20"/> | |
97 <textFieldExpression><![CDATA[$F{meta:date_label} + ":"]]></textFieldExpression> | |
98 </textField> | |
99 <textField> | |
100 <reportElement style="htmlStyle" x="123" y="109" width="392" height="20"/> | |
101 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression> | |
102 </textField> | |
103 <textField> | |
104 <reportElement style="htmlStyle" x="0" y="129" width="123" height="20"/> | |
105 <textFieldExpression><![CDATA[$F{meta:river_label} + ":"]]></textFieldExpression> | |
106 </textField> | |
107 <textField> | |
108 <reportElement style="htmlStyle" x="123" y="129" width="392" height="20"/> | |
109 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression> | |
110 </textField> | |
111 <textField> | |
112 <reportElement style="htmlStyle" x="0" y="149" width="123" height="20"/> | |
113 <textFieldExpression><![CDATA[$F{meta:range_label} + ":"]]></textFieldExpression> | |
114 </textField> | |
115 <textField> | |
116 <reportElement style="htmlStyle" x="123" y="149" width="392" height="20"/> | |
117 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression> | |
118 </textField> | |
119 <textField> | |
120 <reportElement style="htmlStyle" x="0" y="169" width="123" height="20"/> | |
121 <textFieldExpression><![CDATA[$F{meta:calculation_label} + ":"]]></textFieldExpression> | |
122 </textField> | |
123 <textField> | |
124 <reportElement style="htmlStyle" x="123" y="169" width="392" height="20"/> | |
125 <textFieldExpression><![CDATA[$F{meta:calculation_name}]]></textFieldExpression> | |
126 </textField> | |
127 </band> | |
128 </title> | |
129 <columnHeader> | |
130 <band height="25" splitType="Stretch"> | |
131 <textField isStretchWithOverflow="true"> | |
9110 | 132 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="-5" y="0" width="55" height="24"/> |
8984 | 133 <box padding="5"/> |
134 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
135 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression> | |
136 </textField> | |
137 <textField isStretchWithOverflow="true"> | |
138 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="50" y="0" width="50" height="24"/> | |
139 <box padding="5"/> | |
140 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
141 <textFieldExpression><![CDATA[$F{meta:tkh_header} + "<br/>[cm]"]]></textFieldExpression> | |
142 </textField> | |
143 <textField isStretchWithOverflow="true"> | |
144 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="100" y="0" width="60" height="24"/> | |
145 <box padding="5"/> | |
146 <textElement verticalAlignment="Bottom"/> | |
147 <textFieldExpression><![CDATA[$F{meta:tkhkind_header}]]></textFieldExpression> | |
148 </textField> | |
149 <textField isStretchWithOverflow="true"> | |
150 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="60" height="24"/> | |
151 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> | |
152 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
9110 | 153 <textFieldExpression><![CDATA[$F{meta:waterlevel_header}+ "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression> |
8984 | 154 </textField> |
155 <textField isStretchWithOverflow="true"> | |
156 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="220" y="0" width="50" height="24"/> | |
157 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> | |
158 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
159 <textFieldExpression><![CDATA[$F{meta:discharge_header}+ "<br/>[m³/s]"]]></textFieldExpression> | |
160 </textField> | |
161 <textField isStretchWithOverflow="true"> | |
8998 | 162 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="370" y="0" width="100" height="24"/> |
8984 | 163 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> |
164 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
165 <textFieldExpression><![CDATA[$F{meta:waterlevel_name_header}]]></textFieldExpression> | |
166 </textField> | |
167 <textField isStretchWithOverflow="true"> | |
8998 | 168 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="470" y="0" width="120" height="24"/> |
8984 | 169 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> |
8998 | 170 <textElement textAlignment="Left" verticalAlignment="Bottom"/> |
8984 | 171 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression> |
172 </textField> | |
173 <textField isStretchWithOverflow="true"> | |
8998 | 174 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="590" y="0" width="160" height="24"/> |
8984 | 175 <box padding="5"/> |
176 <textElement verticalAlignment="Bottom"/> | |
177 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression> | |
178 </textField> | |
179 <textField isStretchWithOverflow="true"> | |
8998 | 180 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="270" y="0" width="100" height="24"/> |
8984 | 181 <box padding="5"/> |
8998 | 182 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
9110 | 183 <textFieldExpression><![CDATA[$F{meta:bedheight_header}+ "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression> |
8984 | 184 </textField> |
185 <line> | |
8998 | 186 <reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="740" height="1"/> |
8984 | 187 </line> |
188 </band> | |
189 </columnHeader> | |
190 <detail> | |
9120 | 191 <band height="15" splitType="Prevent"> |
8984 | 192 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 193 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="370" y="0" width="100" height="15"/> |
194 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 195 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
196 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
197 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
198 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
199 </box> | |
200 <textElement textAlignment="Right"/> | |
201 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression> | |
202 </textField> | |
9128
99c6bf20bd92
isStretchWithOverflow=true; Zeilenumbruch immer an
gernotbelger
parents:
9120
diff
changeset
|
203 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 204 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="470" y="0" width="120" height="15"/> |
205 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 206 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
207 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
208 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
209 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
210 </box> | |
211 <textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression> | |
212 </textField> | |
213 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9120 | 214 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="270" y="0" width="100" height="15"/> |
215 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 216 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
217 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
218 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
219 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
220 </box> | |
221 <textElement textAlignment="Right"/> | |
222 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression> | |
223 </textField> | |
224 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9120 | 225 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="-5" y="0" width="55" height="15"/> |
226 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 227 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
228 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
229 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
230 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
231 </box> | |
232 <textElement textAlignment="Right" verticalAlignment="Top"/> | |
233 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> | |
234 </textField> | |
235 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9120 | 236 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="50" y="0" width="50" height="15"/> |
237 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 238 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
239 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
240 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
241 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
242 </box> | |
243 <textElement textAlignment="Right"/> | |
244 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression> | |
245 </textField> | |
246 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9120 | 247 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="100" y="0" width="60" height="15"/> |
248 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 249 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
250 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
251 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
252 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
253 </box> | |
254 <textElement textAlignment="Left"/> | |
255 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression> | |
256 </textField> | |
257 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9120 | 258 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="60" height="15"/> |
259 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 260 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
261 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
262 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
263 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
264 </box> | |
265 <textElement textAlignment="Right"/> | |
266 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression> | |
267 </textField> | |
268 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9120 | 269 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="220" y="0" width="50" height="15"/> |
270 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 271 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
272 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
273 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
274 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
275 </box> | |
276 <textElement textAlignment="Right"/> | |
277 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression> | |
278 </textField> | |
9128
99c6bf20bd92
isStretchWithOverflow=true; Zeilenumbruch immer an
gernotbelger
parents:
9120
diff
changeset
|
279 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 280 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="590" y="0" width="160" height="15"/> |
281 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> | |
8984 | 282 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> |
283 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
284 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
285 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
286 </box> | |
287 <textFieldExpression><![CDATA[$F{data:8}]]></textFieldExpression> | |
288 </textField> | |
289 </band> | |
290 </detail> | |
291 <pageFooter> | |
9120 | 292 <band height="15" splitType="Stretch"> |
8984 | 293 <textField isStretchWithOverflow="true"> |
9120 | 294 <reportElement style="htmlStyle" x="615" y="0" width="55" height="15"/> |
295 <box topPadding="2" rightPadding="3"/> | |
8984 | 296 <textElement textAlignment="Right"/> |
297 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> | |
298 </textField> | |
299 <textField isStretchWithOverflow="true" evaluationTime="Report"> | |
9120 | 300 <reportElement style="htmlStyle" x="671" y="0" width="57" height="15"/> |
301 <box topPadding="2"/> | |
302 <textFieldExpression><![CDATA["/ " + $V{PAGE_NUMBER}]]></textFieldExpression> | |
8984 | 303 </textField> |
304 </band> | |
305 </pageFooter> | |
306 </jasperReport> |