Mercurial > dive4elements > river
annotate artifacts/doc/conf/jasper/templates/bundu.bezugswst.jrxml @ 9650:a2a42a6bac6b
Importer (s/u-info) extensions:
outer try/catch for parse and log of line no,
catching parsing exception if not enough value fields,
parsing error and warning log messages with line number,
detecting and rejecting duplicate data series,
better differentiation between error and warning log messages
author | mschaefer |
---|---|
date | Mon, 23 Mar 2020 14:57:03 +0100 |
parents | a8d1784ad8e8 |
children |
rev | line source |
---|---|
9313 | 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:53:20 --> |
9313 | 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 <style name="htmlStyle" isDefault="true" mode="Transparent" markup="html" fontName="Roboto"> | |
9 <paragraph lineSpacing="Single"/> | |
10 </style> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
11 <field name="meta:totalpages" class="java.lang.Integer"/> |
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
12 <field name="meta:startpageoffset" class="java.lang.Integer"/> |
9313 | 13 <field name="meta:header" class="java.lang.String"/> |
14 <field name="meta:calcMode" class="java.lang.String"/> | |
15 <field name="meta:version_label" class="java.lang.String"/> | |
16 <field name="meta:version" class="java.lang.String"/> | |
17 <field name="meta:user_label" class="java.lang.String"/> | |
18 <field name="meta:user" class="java.lang.String"/> | |
19 <field name="meta:date_label" class="java.lang.String"/> | |
20 <field name="meta:date" class="java.lang.String"/> | |
21 <field name="meta:river_label" class="java.lang.String"/> | |
22 <field name="meta:river" class="java.lang.String"/> | |
23 <field name="meta:range_label" class="java.lang.String"/> | |
24 <field name="meta:range" class="java.lang.String"/> | |
25 <field name="meta:calculation_label" class="java.lang.String"/> | |
26 <field name="meta:calculation_name" class="java.lang.String"/> | |
27 <field name="meta:station_header" class="java.lang.String"/> | |
28 <field name="meta:flowdepthdevelopment_header" class="java.lang.String"/> | |
29 <field name="meta:flowdepthdevelopmentperyear_header" class="java.lang.String"/> | |
30 <field name="meta:waterleveldifference_header" class="java.lang.String"/> | |
31 <field name="meta:waterleveldifference_header2" class="java.lang.String"/> | |
32 <field name="meta:waterleveldifference_header_label" class="java.lang.String"/> | |
33 <field name="meta:bedheightdifference_header" class="java.lang.String"/> | |
34 <field name="meta:bedheightdifference_header2" class="java.lang.String"/> | |
35 <field name="meta:bedheightdifference_header_label" class="java.lang.String"/> | |
36 <field name="meta:flowdepthcurrent_header" class="java.lang.String"/> | |
37 <field name="meta:flowdepthcurrent_header2" class="java.lang.String"/> | |
38 <field name="meta:flowdepthhistorical_header" class="java.lang.String"/> | |
39 <field name="meta:flowdepthhistorical_header2" class="java.lang.String"/> | |
40 <field name="meta:flowdepthcurrent_header_label" class="java.lang.String"/> | |
41 <field name="meta:flowdepthhistorical_header_label" class="java.lang.String"/> | |
42 <field name="meta:flowdepth_header" class="java.lang.String"/> | |
43 <field name="meta:flowdepthdevelopment" class="java.lang.String"/> | |
44 <field name="meta:flowdepthmin_header" class="java.lang.String"/> | |
45 <field name="meta:flowdepthmax_header" class="java.lang.String"/> | |
46 <field name="meta:flowdepthdevelopment_header_label" class="java.lang.String"/> | |
47 <field name="meta:flowdepth_tkh_header" class="java.lang.String"/> | |
48 <field name="meta:tkh_header" class="java.lang.String"/> | |
49 <field name="meta:tkhkind_header" class="java.lang.String"/> | |
50 <field name="meta:waterlevel_header" class="java.lang.String"/> | |
51 <field name="meta:discharge_header" class="java.lang.String"/> | |
52 <field name="meta:waterlevel_name_header" class="java.lang.String"/> | |
53 <field name="meta:gauge_header" class="java.lang.String"/> | |
54 <field name="meta:bedheight_header" class="java.lang.String"/> | |
55 <field name="meta:sounding_name_header" class="java.lang.String"/> | |
56 <field name="meta:location_header" class="java.lang.String"/> | |
57 <field name="meta:fix_date" class="java.lang.String"/> | |
58 <field name="meta:fix_q" class="java.lang.String"/> | |
59 <field name="meta:fix_w" class="java.lang.String"/> | |
60 <field name="meta:fix_state" class="java.lang.String"/> | |
61 <field name="meta:fix_delta_w" class="java.lang.String"/> | |
9322 | 62 <field name="meta:bezugswst_header" class="java.lang.String"/> |
63 <field name="meta:river_unit" class="java.lang.String"/> | |
9313 | 64 <field name="data:0" class="java.lang.String"/> |
65 <field name="data:1" class="java.lang.String"/> | |
66 <field name="data:2" class="java.lang.String"/> | |
67 <field name="data:3" class="java.lang.String"/> | |
68 <field name="data:4" class="java.lang.String"/> | |
69 <field name="data:5" class="java.lang.String"/> | |
70 <background> | |
71 <band splitType="Stretch"/> | |
72 </background> | |
73 <title> | |
74 <band height="169" splitType="Stretch"> | |
75 <textField> | |
76 <reportElement style="htmlStyle" x="0" y="0" width="515" height="30"/> | |
77 <textElement> | |
78 <font size="18"/> | |
79 </textElement> | |
80 <textFieldExpression><![CDATA[$F{meta:header} + " " + $F{meta:river}]]></textFieldExpression> | |
81 </textField> | |
82 <textField> | |
83 <reportElement style="htmlStyle" x="0" y="39" width="165" height="20"/> | |
84 <textFieldExpression><![CDATA[$F{meta:calcMode}]]></textFieldExpression> | |
85 </textField> | |
86 <textField> | |
87 <reportElement style="htmlStyle" x="0" y="69" width="123" height="20"/> | |
88 <textFieldExpression><![CDATA[$F{meta:version_label} + ":"]]></textFieldExpression> | |
89 </textField> | |
90 <textField> | |
91 <reportElement style="htmlStyle" x="123" y="69" width="392" height="20"/> | |
92 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression> | |
93 </textField> | |
94 <textField> | |
95 <reportElement style="htmlStyle" x="0" y="89" width="123" height="20"/> | |
96 <textFieldExpression><![CDATA[$F{meta:user_label} + ":"]]></textFieldExpression> | |
97 </textField> | |
98 <textField> | |
99 <reportElement style="htmlStyle" x="123" y="89" width="392" height="20"/> | |
100 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression> | |
101 </textField> | |
102 <textField> | |
103 <reportElement style="htmlStyle" x="0" y="109" width="123" height="20"/> | |
104 <textFieldExpression><![CDATA[$F{meta:date_label} + ":"]]></textFieldExpression> | |
105 </textField> | |
106 <textField> | |
107 <reportElement style="htmlStyle" x="123" y="109" width="392" height="20"/> | |
108 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression> | |
109 </textField> | |
110 <textField> | |
111 <reportElement style="htmlStyle" x="0" y="129" width="123" height="20"/> | |
112 <textFieldExpression><![CDATA[$F{meta:river_label} + ":"]]></textFieldExpression> | |
113 </textField> | |
114 <textField> | |
115 <reportElement style="htmlStyle" x="123" y="129" width="392" height="20"/> | |
116 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression> | |
117 </textField> | |
118 <textField> | |
119 <reportElement style="htmlStyle" x="0" y="149" width="123" height="20"/> | |
120 <textFieldExpression><![CDATA[$F{meta:range_label} + ":"]]></textFieldExpression> | |
121 </textField> | |
122 <textField> | |
123 <reportElement style="htmlStyle" x="123" y="149" width="392" height="20"/> | |
124 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression> | |
125 </textField> | |
126 </band> | |
127 </title> | |
128 <columnHeader> | |
129 <band height="25" splitType="Stretch"> | |
130 <line> | |
131 <reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="550" height="1"/> | |
132 </line> | |
133 <textField isStretchWithOverflow="true"> | |
9322 | 134 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="70" height="24"/> |
9313 | 135 <box padding="5"/> |
136 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
137 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression> | |
138 </textField> | |
139 <textField isStretchWithOverflow="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
140 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="70" y="0" width="90" height="24"/> |
9313 | 141 <box padding="5"/> |
142 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
9322 | 143 <textFieldExpression><![CDATA[$F{meta:bezugswst_header}+" ["+$F{meta:river_unit}+"]"]]></textFieldExpression> |
9313 | 144 </textField> |
145 <textField isStretchWithOverflow="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
146 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="70" height="24"/> |
9313 | 147 <box padding="5"/> |
148 <textElement textAlignment="Right" verticalAlignment="Bottom"/> | |
9322 | 149 <textFieldExpression><![CDATA[$F{meta:discharge_header}]]></textFieldExpression> |
9313 | 150 </textField> |
151 <textField isStretchWithOverflow="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
152 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="230" y="0" width="70" height="24"/> |
9313 | 153 <box padding="5"/> |
154 <textElement textAlignment="Left" verticalAlignment="Bottom"/> | |
9322 | 155 <textFieldExpression><![CDATA[$F{meta:waterlevel_name_header}]]></textFieldExpression> |
9313 | 156 </textField> |
157 <textField isStretchWithOverflow="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
158 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="300" y="0" width="110" height="24"/> |
9313 | 159 <box padding="5"/> |
9322 | 160 <textElement textAlignment="Left" verticalAlignment="Bottom"/> |
161 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression> | |
162 </textField> | |
163 <textField isStretchWithOverflow="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
164 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="110" height="24"/> |
9322 | 165 <box padding="5"/> |
166 <textElement textAlignment="Left" verticalAlignment="Bottom"/> | |
167 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression> | |
9313 | 168 </textField> |
169 </band> | |
170 </columnHeader> | |
171 <detail> | |
172 <band height="15" splitType="Prevent"> | |
173 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9322 | 174 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="70" height="15"/> |
9313 | 175 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> |
176 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
177 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
178 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
179 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
180 </box> | |
181 <textElement textAlignment="Right" verticalAlignment="Top"/> | |
182 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> | |
183 </textField> | |
184 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
185 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="70" y="0" width="90" height="15"/> |
9313 | 186 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> |
187 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
188 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
189 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
190 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
191 </box> | |
9322 | 192 <textElement textAlignment="Right" verticalAlignment="Top"/> |
9313 | 193 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression> |
194 </textField> | |
195 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
196 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="70" height="15"/> |
9313 | 197 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> |
198 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
199 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
200 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
201 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
202 </box> | |
203 <textElement textAlignment="Right" verticalAlignment="Top"/> | |
204 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression> | |
205 </textField> | |
206 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
207 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="230" y="0" width="70" height="15"/> |
9313 | 208 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> |
209 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
210 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
211 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
212 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
213 </box> | |
9322 | 214 <textElement textAlignment="Left" verticalAlignment="Top"/> |
9313 | 215 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression> |
216 </textField> | |
217 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
218 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="300" y="0" width="110" height="15"/> |
9313 | 219 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> |
220 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
221 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
222 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
223 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
224 </box> | |
225 <textElement textAlignment="Left" verticalAlignment="Top"/> | |
226 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression> | |
227 </textField> | |
228 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
229 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="110" height="15"/> |
9313 | 230 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"> |
231 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
232 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
233 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
234 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> | |
235 </box> | |
9322 | 236 <textElement textAlignment="Left" verticalAlignment="Top"/> |
9313 | 237 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression> |
238 </textField> | |
239 </band> | |
240 </detail> | |
241 <pageFooter> | |
242 <band height="15" splitType="Stretch"> | |
243 <textField isStretchWithOverflow="true"> | |
244 <reportElement style="htmlStyle" x="437" y="0" width="55" height="15"/> | |
245 <box topPadding="2" rightPadding="3"/> | |
246 <textElement textAlignment="Right"/> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
247 <textFieldExpression><![CDATA[$V{PAGE_NUMBER} +(($F{meta:startpageoffset} != null) ? $F{meta:startpageoffset} : 0 )]]></textFieldExpression> |
9313 | 248 </textField> |
249 <textField isStretchWithOverflow="true" evaluationTime="Report"> | |
250 <reportElement style="htmlStyle" x="493" y="0" width="57" height="15"/> | |
251 <box topPadding="2" leftPadding="0" bottomPadding="0" rightPadding="0"/> | |
9330
0a0937f33bb5
bundu.bezugswst first result for missing volume added
gernotbelger
parents:
9322
diff
changeset
|
252 <textFieldExpression><![CDATA["/ " + ( $V{PAGE_NUMBER}+( ($F{meta:totalpages} != null) ? $F{meta:totalpages} -$V{PAGE_NUMBER} : 0 ) )]]></textFieldExpression> |
9313 | 253 </textField> |
254 </band> | |
255 </pageFooter> | |
256 </jasperReport> |