Mercurial > dive4elements > river
annotate artifacts/doc/conf/jasper/templates/sinfo.flowdepthdevelopment.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 |
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:13 --> |
8984 | 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"> |
5 <property name="ireport.zoom" value="1.0"/> | |
6 <property name="ireport.x" value="0"/> | |
7 <property name="ireport.y" value="0"/> | |
9120 | 8 <style name="htmlStyle" isDefault="true" mode="Transparent" markup="html" fontName="Roboto"> |
9 <box topPadding="2" leftPadding="5" rightPadding="5"/> | |
10 </style> | |
8984 | 11 <field name="meta:header" class="java.lang.String"/> |
12 <field name="meta:calcMode" class="java.lang.String"/> | |
13 <field name="meta:version_label" class="java.lang.String"/> | |
14 <field name="meta:version" class="java.lang.String"/> | |
15 <field name="meta:user_label" class="java.lang.String"/> | |
16 <field name="meta:user" class="java.lang.String"/> | |
17 <field name="meta:date_label" class="java.lang.String"/> | |
18 <field name="meta:date" class="java.lang.String"/> | |
19 <field name="meta:river_label" class="java.lang.String"/> | |
20 <field name="meta:river" class="java.lang.String"/> | |
21 <field name="meta:range_label" class="java.lang.String"/> | |
22 <field name="meta:range" 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:flowdepthdevelopment_header_label" class="java.lang.String"/> | |
41 <field name="meta:flowdepth_tkh_header" class="java.lang.String"/> | |
42 <field name="meta:tkh_header" class="java.lang.String"/> | |
43 <field name="meta:waterlevel_header" class="java.lang.String"/> | |
44 <field name="meta:discharge_header" class="java.lang.String"/> | |
45 <field name="meta:waterlevel_name_header" class="java.lang.String"/> | |
46 <field name="meta:gauge_header" class="java.lang.String"/> | |
47 <field name="meta:bedheight_header" class="java.lang.String"/> | |
48 <field name="meta:sounding_name_header" class="java.lang.String"/> | |
49 <field name="meta:location_header" class="java.lang.String"/> | |
50 <field name="meta:river_unit" class="java.lang.String"/> | |
51 <field name="data:0" class="java.lang.String"/> | |
52 <field name="data:1" class="java.lang.String"/> | |
53 <field name="data:2" class="java.lang.String"/> | |
54 <field name="data:3" class="java.lang.String"/> | |
55 <field name="data:4" class="java.lang.String"/> | |
56 <field name="data:5" class="java.lang.String"/> | |
57 <field name="data:6" class="java.lang.String"/> | |
58 <field name="data:7" class="java.lang.String"/> | |
9150
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
59 <field name="data:8" class="java.lang.String"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
60 <field name="data:9" class="java.lang.String"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
61 <field name="data:10" class="java.lang.String"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
62 <field name="data:11" class="java.lang.String"/> |
8984 | 63 <background> |
64 <band splitType="Stretch"/> | |
65 </background> | |
66 <title> | |
8998 | 67 <band height="190" splitType="Stretch"> |
8984 | 68 <textField> |
69 <reportElement style="htmlStyle" x="0" y="1" 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="40" width="165" height="20"/> | |
77 <textFieldExpression><![CDATA[$F{meta:calcMode}]]></textFieldExpression> | |
78 </textField> | |
79 <textField> | |
80 <reportElement style="htmlStyle" x="0" y="70" width="123" height="20"/> | |
81 <textFieldExpression><![CDATA[$F{meta:version_label} + ":"]]></textFieldExpression> | |
82 </textField> | |
83 <textField> | |
84 <reportElement style="htmlStyle" x="123" y="70" width="392" height="20"/> | |
85 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression> | |
86 </textField> | |
87 <textField> | |
88 <reportElement style="htmlStyle" x="0" y="90" width="123" height="20"/> | |
89 <textFieldExpression><![CDATA[$F{meta:user_label} + ":"]]></textFieldExpression> | |
90 </textField> | |
91 <textField> | |
92 <reportElement style="htmlStyle" x="123" y="90" width="392" height="20"/> | |
93 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression> | |
94 </textField> | |
95 <textField> | |
96 <reportElement style="htmlStyle" x="0" y="110" width="123" height="20"/> | |
97 <textFieldExpression><![CDATA[$F{meta:date_label} + ":"]]></textFieldExpression> | |
98 </textField> | |
99 <textField> | |
100 <reportElement style="htmlStyle" x="123" y="110" width="392" height="20"/> | |
101 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression> | |
102 </textField> | |
103 <textField> | |
104 <reportElement style="htmlStyle" x="0" y="130" width="123" height="20"/> | |
105 <textFieldExpression><![CDATA[$F{meta:river_label} + ":"]]></textFieldExpression> | |
106 </textField> | |
107 <textField> | |
108 <reportElement style="htmlStyle" x="123" y="130" width="392" height="20"/> | |
109 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression> | |
110 </textField> | |
111 <textField> | |
112 <reportElement style="htmlStyle" x="0" y="150" width="123" height="20"/> | |
113 <textFieldExpression><![CDATA[$F{meta:range_label} + ":"]]></textFieldExpression> | |
114 </textField> | |
115 <textField> | |
116 <reportElement style="htmlStyle" x="123" y="150" width="392" height="20"/> | |
117 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression> | |
118 </textField> | |
119 <textField> | |
120 <reportElement style="htmlStyle" x="0" y="170" width="123" height="20"/> | |
121 <textFieldExpression><![CDATA[$F{meta:flowdepthdevelopment_header_label}]]></textFieldExpression> | |
122 </textField> | |
123 <textField> | |
124 <reportElement style="htmlStyle" x="123" y="170" width="392" height="20"/> | |
125 <textFieldExpression><![CDATA[$F{meta:flowdepthdevelopment}]]></textFieldExpression> | |
126 </textField> | |
127 </band> | |
128 </title> | |
129 <columnHeader> | |
130 <band height="75" splitType="Stretch"> | |
131 <textField> | |
132 <reportElement style="htmlStyle" x="0" y="0" width="60" height="75"/> | |
133 <box padding="5"/> | |
8998 | 134 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 135 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression> |
136 </textField> | |
137 <textField> | |
138 <reportElement style="htmlStyle" x="60" y="0" width="80" height="75"/> | |
139 <box padding="5"/> | |
8998 | 140 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 141 <textFieldExpression><![CDATA[$F{meta:flowdepthdevelopment_header} + "<br/>[cm]"]]></textFieldExpression> |
142 </textField> | |
143 <textField> | |
144 <reportElement key="" style="htmlStyle" x="140" y="0" width="80" height="75"/> | |
145 <box padding="5"/> | |
8998 | 146 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 147 <textFieldExpression><![CDATA[$F{meta:flowdepthdevelopmentperyear_header} + "<br/>[cm/a]"]]></textFieldExpression> |
148 </textField> | |
149 <textField> | |
150 <reportElement key="" style="htmlStyle" x="305" y="0" width="85" height="40"/> | |
151 <box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8998 | 152 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 153 <textFieldExpression><![CDATA[$F{meta:bedheightdifference_header} + "<br/>[m³/s]"]]></textFieldExpression> |
154 </textField> | |
155 <textField> | |
156 <reportElement key="" style="htmlStyle" x="305" y="40" width="85" height="35"/> | |
157 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> | |
8998 | 158 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 159 <textFieldExpression><![CDATA[$F{meta:bedheightdifference_header2}]]></textFieldExpression> |
160 </textField> | |
161 <textField> | |
162 <reportElement style="htmlStyle" x="390" y="0" width="85" height="40"/> | |
163 <box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8998 | 164 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 165 <textFieldExpression><![CDATA[$F{meta:flowdepthcurrent_header} + "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression> |
166 </textField> | |
167 <textField> | |
168 <reportElement style="htmlStyle" x="390" y="40" width="85" height="35"/> | |
169 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> | |
8998 | 170 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 171 <textFieldExpression><![CDATA[$F{meta:flowdepthcurrent_header2}]]></textFieldExpression> |
172 </textField> | |
173 <textField> | |
174 <reportElement style="htmlStyle" x="475" y="0" width="85" height="40"/> | |
175 <box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8998 | 176 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 177 <textFieldExpression><![CDATA[$F{meta:flowdepthhistorical_header}+"<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression> |
178 </textField> | |
179 <textField> | |
180 <reportElement style="htmlStyle" x="475" y="40" width="85" height="35"/> | |
181 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> | |
8998 | 182 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
8984 | 183 <textFieldExpression><![CDATA[$F{meta:flowdepthhistorical_header2}]]></textFieldExpression> |
184 </textField> | |
185 <textField> | |
9120 | 186 <reportElement style="htmlStyle" x="560" y="0" width="202" height="75"/> |
8984 | 187 <box padding="5"/> |
188 <textElement verticalAlignment="Bottom"/> | |
189 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression> | |
190 </textField> | |
191 <line> | |
192 <reportElement style="htmlStyle" x="0" y="74" width="762" height="1"/> | |
193 </line> | |
9150
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
194 <textField> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
195 <reportElement key="" style="htmlStyle" x="220" y="40" width="85" height="35"/> |
9163 | 196 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/> |
9150
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
197 <textElement textAlignment="Right" verticalAlignment="Bottom"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
198 <textFieldExpression><![CDATA[$F{meta:waterleveldifference_header2}]]></textFieldExpression> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
199 </textField> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
200 <textField> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
201 <reportElement key="" style="htmlStyle" x="220" y="1" width="85" height="40"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
202 <box padding="0"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
203 <textElement textAlignment="Right" verticalAlignment="Bottom"> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
204 <font pdfEncoding=""/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
205 </textElement> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
206 <textFieldExpression><![CDATA[$F{meta:waterleveldifference_header}+"<br/>["+$F{meta:river_unit}+"]"]]></textFieldExpression> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
207 </textField> |
8984 | 208 </band> |
209 </columnHeader> | |
210 <detail> | |
9120 | 211 <band height="15" splitType="Stretch"> |
8998 | 212 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 213 <reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="0" y="0" width="60" height="15"/> |
214 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8984 | 215 <textElement textAlignment="Right"/> |
216 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> | |
217 </textField> | |
8998 | 218 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 219 <reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="60" y="0" width="80" height="15"/> |
220 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8984 | 221 <textElement textAlignment="Right"/> |
222 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression> | |
223 </textField> | |
8998 | 224 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 225 <reportElement key="" style="htmlStyle" stretchType="RelativeToBandHeight" x="140" y="0" width="80" height="15"/> |
226 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8984 | 227 <textElement textAlignment="Right"/> |
228 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression> | |
229 </textField> | |
8998 | 230 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 231 <reportElement key="TEST" style="htmlStyle" stretchType="RelativeToBandHeight" x="220" y="0" width="85" height="15"/> |
232 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8984 | 233 <textElement textAlignment="Right"/> |
234 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression> | |
235 </textField> | |
8998 | 236 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
9120 | 237 <reportElement key="" style="htmlStyle" stretchType="RelativeToBandHeight" x="305" y="0" width="85" height="15"/> |
238 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> | |
8984 | 239 <textElement textAlignment="Right"/> |
240 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression> | |
241 </textField> | |
9150
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
242 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
243 <reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="475" y="0" width="85" height="15"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
244 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
245 <textElement textAlignment="Right"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
246 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
247 </textField> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
248 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
249 <reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="560" y="0" width="202" height="15"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
250 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
251 <textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
252 </textField> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
253 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
254 <reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="390" y="0" width="85" height="15"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
255 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
256 <textElement textAlignment="Right"/> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
257 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression> |
23945061daec
gigantic refactoring: exporter, result, results
gernotbelger
parents:
9128
diff
changeset
|
258 </textField> |
8984 | 259 </band> |
260 </detail> | |
261 <pageFooter> | |
9120 | 262 <band height="15" splitType="Stretch"> |
9128
99c6bf20bd92
isStretchWithOverflow=true; Zeilenumbruch immer an
gernotbelger
parents:
9120
diff
changeset
|
263 <textField isStretchWithOverflow="true" evaluationTime="Report"> |
9120 | 264 <reportElement style="htmlStyle" x="705" y="0" width="57" height="15"/> |
265 <box leftPadding="0"/> | |
266 <textFieldExpression><![CDATA["/ " + $V{PAGE_NUMBER}]]></textFieldExpression> | |
8984 | 267 </textField> |
9128
99c6bf20bd92
isStretchWithOverflow=true; Zeilenumbruch immer an
gernotbelger
parents:
9120
diff
changeset
|
268 <textField isStretchWithOverflow="true"> |
9120 | 269 <reportElement style="htmlStyle" x="650" y="0" width="55" height="15"/> |
270 <box rightPadding="3"/> | |
8984 | 271 <textElement textAlignment="Right"/> |
272 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression> | |
273 </textField> | |
274 </band> | |
275 </pageFooter> | |
276 </jasperReport> |