comparison artifacts/doc/conf/jasper/templates/sinfo.tkh.jrxml @ 8984:7c1611b5a59e

Work on SINFO Exporters
author gernotbelger
date Fri, 06 Apr 2018 13:53:37 +0200
parents
children c38098b15427
comparison
equal deleted inserted replaced
8983:16df9f7a9815 8984:7c1611b5a59e
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 -->
3 <!-- 2018-04-06T11:26:49 -->
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="595" pageHeight="842" columnWidth="545" leftMargin="30" 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"/>
8 <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
9 <style name="htmlStyle" isDefault="true" mode="Transparent" markup="html"/>
10 <field name="meta:header" class="java.lang.String"/>
11 <field name="meta:calcMode" class="java.lang.String"/>
12 <field name="meta:version_label" class="java.lang.String"/>
13 <field name="meta:version" class="java.lang.String"/>
14 <field name="meta:user_label" class="java.lang.String"/>
15 <field name="meta:user" class="java.lang.String"/>
16 <field name="meta:date_label" class="java.lang.String"/>
17 <field name="meta:date" class="java.lang.String"/>
18 <field name="meta:river_label" class="java.lang.String"/>
19 <field name="meta:river" class="java.lang.String"/>
20 <field name="meta:range_label" class="java.lang.String"/>
21 <field name="meta:range" class="java.lang.String"/>
22 <field name="meta:calculation_label" class="java.lang.String"/>
23 <field name="meta:calculation_name" class="java.lang.String"/>
24 <field name="meta:station_header" class="java.lang.String"/>
25 <field name="meta:flowdepthdevelopment_header" class="java.lang.String"/>
26 <field name="meta:flowdepthdevelopmentperyear_header" class="java.lang.String"/>
27 <field name="meta:waterleveldifference_header" class="java.lang.String"/>
28 <field name="meta:waterleveldifference_header2" class="java.lang.String"/>
29 <field name="meta:waterleveldifference_header_label" class="java.lang.String"/>
30 <field name="meta:bedheightdifference_header" class="java.lang.String"/>
31 <field name="meta:bedheightdifference_header2" class="java.lang.String"/>
32 <field name="meta:bedheightdifference_header_label" class="java.lang.String"/>
33 <field name="meta:flowdepthcurrent_header" class="java.lang.String"/>
34 <field name="meta:flowdepthcurrent_header2" class="java.lang.String"/>
35 <field name="meta:flowdepthhistorical_header" class="java.lang.String"/>
36 <field name="meta:flowdepthhistorical_header2" class="java.lang.String"/>
37 <field name="meta:flowdepthcurrent_header_label" class="java.lang.String"/>
38 <field name="meta:flowdepthhistorical_header_label" class="java.lang.String"/>
39 <field name="meta:flowdepth_header" class="java.lang.String"/>
40 <field name="meta:flowdepthdevelopment" class="java.lang.String"/>
41 <field name="meta:flowdepthmin_header" class="java.lang.String"/>
42 <field name="meta:flowdepthmax_header" class="java.lang.String"/>
43 <field name="meta:flowdepthdevelopment_header_label" class="java.lang.String"/>
44 <field name="meta:flowdepth_tkh_header" class="java.lang.String"/>
45 <field name="meta:tkh_header" class="java.lang.String"/>
46 <field name="meta:tkhkind_header" class="java.lang.String"/>
47 <field name="meta:waterlevel_header" class="java.lang.String"/>
48 <field name="meta:discharge_header" class="java.lang.String"/>
49 <field name="meta:waterlevel_name_header" class="java.lang.String"/>
50 <field name="meta:gauge_header" class="java.lang.String"/>
51 <field name="meta:bedheight_header" class="java.lang.String"/>
52 <field name="meta:sounding_name_header" class="java.lang.String"/>
53 <field name="meta:location_header" class="java.lang.String"/>
54 <field name="meta:river_unit" class="java.lang.String"/>
55 <field name="data:0" class="java.lang.String"/>
56 <field name="data:1" class="java.lang.String"/>
57 <field name="data:2" class="java.lang.String"/>
58 <field name="data:3" class="java.lang.String"/>
59 <field name="data:4" class="java.lang.String"/>
60 <field name="data:5" class="java.lang.String"/>
61 <field name="data:6" class="java.lang.String"/>
62 <field name="data:7" class="java.lang.String"/>
63 <field name="data:8" class="java.lang.String"/>
64 <background>
65 <band splitType="Stretch"/>
66 </background>
67 <title>
68 <band height="189" splitType="Stretch">
69 <textField>
70 <reportElement style="htmlStyle" x="0" y="0" width="515" height="30"/>
71 <textElement>
72 <font size="18"/>
73 </textElement>
74 <textFieldExpression><![CDATA[$F{meta:header} + " " + $F{meta:river}]]></textFieldExpression>
75 </textField>
76 <textField>
77 <reportElement style="htmlStyle" x="0" y="39" width="165" height="20"/>
78 <textFieldExpression><![CDATA[$F{meta:calcMode}]]></textFieldExpression>
79 </textField>
80 <textField>
81 <reportElement style="htmlStyle" x="0" y="69" width="123" height="20"/>
82 <textFieldExpression><![CDATA[$F{meta:version_label} + ":"]]></textFieldExpression>
83 </textField>
84 <textField>
85 <reportElement style="htmlStyle" x="123" y="69" width="392" height="20"/>
86 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression>
87 </textField>
88 <textField>
89 <reportElement style="htmlStyle" x="0" y="89" width="123" height="20"/>
90 <textFieldExpression><![CDATA[$F{meta:user_label} + ":"]]></textFieldExpression>
91 </textField>
92 <textField>
93 <reportElement style="htmlStyle" x="123" y="89" width="392" height="20"/>
94 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression>
95 </textField>
96 <textField>
97 <reportElement style="htmlStyle" x="0" y="109" width="123" height="20"/>
98 <textFieldExpression><![CDATA[$F{meta:date_label} + ":"]]></textFieldExpression>
99 </textField>
100 <textField>
101 <reportElement style="htmlStyle" x="123" y="109" width="392" height="20"/>
102 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression>
103 </textField>
104 <textField>
105 <reportElement style="htmlStyle" x="0" y="129" width="123" height="20"/>
106 <textFieldExpression><![CDATA[$F{meta:river_label} + ":"]]></textFieldExpression>
107 </textField>
108 <textField>
109 <reportElement style="htmlStyle" x="123" y="129" width="392" height="20"/>
110 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression>
111 </textField>
112 <textField>
113 <reportElement style="htmlStyle" x="0" y="149" width="123" height="20"/>
114 <textFieldExpression><![CDATA[$F{meta:range_label} + ":"]]></textFieldExpression>
115 </textField>
116 <textField>
117 <reportElement style="htmlStyle" x="123" y="149" width="392" height="20"/>
118 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression>
119 </textField>
120 <textField>
121 <reportElement style="htmlStyle" x="0" y="169" width="123" height="20"/>
122 <textFieldExpression><![CDATA[$F{meta:calculation_label} + ":"]]></textFieldExpression>
123 </textField>
124 <textField>
125 <reportElement style="htmlStyle" x="123" y="169" width="392" height="20"/>
126 <textFieldExpression><![CDATA[$F{meta:calculation_name}]]></textFieldExpression>
127 </textField>
128 </band>
129 </title>
130 <columnHeader>
131 <band height="25" splitType="Stretch">
132 <textField isStretchWithOverflow="true">
133 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="50" height="24"/>
134 <box padding="5"/>
135 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
136 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression>
137 </textField>
138 <textField isStretchWithOverflow="true">
139 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="50" y="0" width="50" height="24"/>
140 <box padding="5"/>
141 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
142 <textFieldExpression><![CDATA[$F{meta:tkh_header} + "<br/>[cm]"]]></textFieldExpression>
143 </textField>
144 <textField isStretchWithOverflow="true">
145 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="100" y="0" width="60" height="24"/>
146 <box padding="5"/>
147 <textElement verticalAlignment="Bottom"/>
148 <textFieldExpression><![CDATA[$F{meta:tkhkind_header}]]></textFieldExpression>
149 </textField>
150 <textField isStretchWithOverflow="true">
151 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="60" height="24"/>
152 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
153 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
154 <textFieldExpression><![CDATA[$F{meta:waterlevel_header}+ "<br/>[NHN + m]"]]></textFieldExpression>
155 </textField>
156 <textField isStretchWithOverflow="true">
157 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="220" y="0" width="50" height="24"/>
158 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
159 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
160 <textFieldExpression><![CDATA[$F{meta:discharge_header}+ "<br/>[m³/s]"]]></textFieldExpression>
161 </textField>
162 <textField isStretchWithOverflow="true">
163 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="270" y="0" width="70" height="24"/>
164 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
165 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
166 <textFieldExpression><![CDATA[$F{meta:waterlevel_name_header}]]></textFieldExpression>
167 </textField>
168 <textField isStretchWithOverflow="true">
169 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="340" y="0" width="70" height="24"/>
170 <box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
171 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
172 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression>
173 </textField>
174 <textField isStretchWithOverflow="true">
175 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="470" y="0" width="80" height="24"/>
176 <box padding="5"/>
177 <textElement verticalAlignment="Bottom"/>
178 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression>
179 </textField>
180 <textField isStretchWithOverflow="true">
181 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="60" height="24"/>
182 <box padding="5"/>
183 <textElement verticalAlignment="Bottom"/>
184 <textFieldExpression><![CDATA[$F{meta:bedheight_header}+ "<br/>[NHN + m]"]]></textFieldExpression>
185 </textField>
186 <line>
187 <reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="550" height="1"/>
188 </line>
189 </band>
190 </columnHeader>
191 <detail>
192 <band height="20" splitType="Prevent">
193 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
194 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="340" y="0" width="70" height="20"/>
195 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
196 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
197 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
198 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
199 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
200 </box>
201 <textElement textAlignment="Right"/>
202 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression>
203 </textField>
204 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
205 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="60" height="20"/>
206 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
207 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
208 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
209 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
210 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
211 </box>
212 <textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression>
213 </textField>
214 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
215 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="270" y="0" width="70" height="20"/>
216 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
217 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
218 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
219 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
220 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
221 </box>
222 <textElement textAlignment="Right"/>
223 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression>
224 </textField>
225 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
226 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="50" height="20"/>
227 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
228 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
229 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
230 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
231 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
232 </box>
233 <textElement textAlignment="Right" verticalAlignment="Top"/>
234 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression>
235 </textField>
236 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
237 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="50" y="0" width="50" height="20"/>
238 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
239 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
240 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
241 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
242 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
243 </box>
244 <textElement textAlignment="Right"/>
245 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression>
246 </textField>
247 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
248 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="100" y="0" width="60" height="20"/>
249 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
250 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
251 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
252 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
253 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
254 </box>
255 <textElement textAlignment="Left"/>
256 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression>
257 </textField>
258 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
259 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="60" height="20"/>
260 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
261 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
262 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
263 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
264 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
265 </box>
266 <textElement textAlignment="Right"/>
267 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression>
268 </textField>
269 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
270 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="220" y="0" width="50" height="20"/>
271 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
272 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
273 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
274 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
275 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
276 </box>
277 <textElement textAlignment="Right"/>
278 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression>
279 </textField>
280 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
281 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="470" y="0" width="80" height="20"/>
282 <box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5">
283 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
284 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
285 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
286 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
287 </box>
288 <textFieldExpression><![CDATA[$F{data:8}]]></textFieldExpression>
289 </textField>
290 </band>
291 </detail>
292 <pageFooter>
293 <band height="30" splitType="Stretch">
294 <textField isStretchWithOverflow="true">
295 <reportElement style="htmlStyle" x="437" y="10" width="55" height="20"/>
296 <textElement textAlignment="Right"/>
297 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
298 </textField>
299 <textField isStretchWithOverflow="true" evaluationTime="Report">
300 <reportElement style="htmlStyle" x="493" y="10" width="57" height="20"/>
301 <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression>
302 </textField>
303 </band>
304 </pageFooter>
305 <summary>
306 <band height="42" splitType="Stretch"/>
307 </summary>
308 </jasperReport>

http://dive4elements.wald.intevation.org