comparison artifacts/doc/conf/jasper/templates/sinfo.flowdepth.jrxml @ 9150:23945061daec

gigantic refactoring: exporter, result, results to support multiple jaspers -> collisions
author gernotbelger
date Thu, 14 Jun 2018 16:56:31 +0200
parents 99c6bf20bd92
children a8d1784ad8e8
comparison
equal deleted inserted replaced
9149:5be112fba832 9150:23945061daec
1 <?xml version="1.0" encoding="UTF-8"?> 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 --> 2 <!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 4.5.0 -->
3 <!-- 2018-06-06T13:11:23 --> 3 <!-- 2018-06-14T13:41:07 -->
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"> 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"/> 5 <property name="ireport.zoom" value="1.0"/>
6 <property name="ireport.x" value="0"/> 6 <property name="ireport.x" value="0"/>
7 <property name="ireport.y" value="0"/> 7 <property name="ireport.y" value="0"/>
8 <style name="htmlStyle" markup="html" fontName="Roboto"> 8 <style name="htmlStyle" markup="html" fontName="Roboto">
104 </band> 104 </band>
105 </title> 105 </title>
106 <columnHeader> 106 <columnHeader>
107 <band height="25" splitType="Stretch"> 107 <band height="25" splitType="Stretch">
108 <line> 108 <line>
109 <reportElement positionType="FixRelativeToBottom" x="0" y="24" width="762" height="1"/> 109 <reportElement positionType="FixRelativeToBottom" x="5" y="24" width="762" height="1"/>
110 </line> 110 </line>
111 <textField isStretchWithOverflow="true"> 111 <textField isStretchWithOverflow="true">
112 <reportElement key="0" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" x="-5" y="0" width="55" height="24"/> 112 <reportElement key="0" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" isPrintRepeatedValues="false" x="0" y="0" width="55" height="24"/>
113 <box padding="5"/> 113 <box padding="5"/>
114 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 114 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
115 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression> 115 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression>
116 </textField> 116 </textField>
117 <textField isStretchWithOverflow="true"> 117 <textField isStretchWithOverflow="true">
118 <reportElement key="1" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="50" y="0" width="55" height="24"/> 118 <reportElement key="1" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="55" y="0" width="55" height="24"/>
119 <box padding="5"/> 119 <box padding="5"/>
120 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 120 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
121 <textFieldExpression><![CDATA[$F{meta:flowdepth_header} + "<br/>[m]"]]></textFieldExpression> 121 <textFieldExpression><![CDATA[$F{meta:flowdepth_header} + "<br/>[m]"]]></textFieldExpression>
122 </textField> 122 </textField>
123 <textField isStretchWithOverflow="true"> 123 <textField isStretchWithOverflow="true">
124 <reportElement key="flowdepthtkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="105" y="0" width="54" height="24"/> 124 <reportElement key="flowdepthtkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="110" y="0" width="54" height="24"/>
125 <box padding="5"/> 125 <box padding="5"/>
126 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 126 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
127 <textFieldExpression><![CDATA[$F{meta:flowdepth_tkh_header} + " [m]"]]></textFieldExpression> 127 <textFieldExpression><![CDATA[$F{meta:flowdepth_tkh_header} + " [m]"]]></textFieldExpression>
128 </textField> 128 </textField>
129 <textField isStretchWithOverflow="true"> 129 <textField isStretchWithOverflow="true">
130 <reportElement key="tkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="159" y="0" width="36" height="24"/> 130 <reportElement key="tkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="164" y="0" width="36" height="24"/>
131 <box padding="5"/> 131 <box padding="5"/>
132 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 132 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
133 <textFieldExpression><![CDATA[$F{meta:tkh_header} + "<br/>[cm]"]]></textFieldExpression> 133 <textFieldExpression><![CDATA[$F{meta:tkh_header} + "<br/>[cm]"]]></textFieldExpression>
134 </textField> 134 </textField>
135 <textField isStretchWithOverflow="true"> 135 <textField isStretchWithOverflow="true">
136 <reportElement key="4" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="195" y="0" width="60" height="24"/> 136 <reportElement key="4" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="200" y="0" width="60" height="24"/>
137 <box padding="5"> 137 <box padding="5">
138 <pen lineStyle="Solid"/> 138 <pen lineStyle="Solid"/>
139 </box> 139 </box>
140 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 140 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
141 <textFieldExpression><![CDATA[$F{meta:waterlevel_header} + "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression> 141 <textFieldExpression><![CDATA[$F{meta:waterlevel_header} + "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression>
142 </textField> 142 </textField>
143 <textField isStretchWithOverflow="true"> 143 <textField isStretchWithOverflow="true">
144 <reportElement key="5" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="255" y="0" width="40" height="24"/> 144 <reportElement key="5" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="260" y="0" width="40" height="24"/>
145 <box padding="5"/> 145 <box padding="5"/>
146 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 146 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
147 <textFieldExpression><![CDATA[$F{meta:discharge_header} + "<br/>[m³/s]"]]></textFieldExpression> 147 <textFieldExpression><![CDATA[$F{meta:discharge_header} + "<br/>[m³/s]"]]></textFieldExpression>
148 </textField> 148 </textField>
149 <textField isStretchWithOverflow="true"> 149 <textField isStretchWithOverflow="true">
150 <reportElement key="6" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="295" y="0" width="80" height="24"/> 150 <reportElement key="6" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="300" y="0" width="80" height="24"/>
151 <box padding="5"/> 151 <box padding="5"/>
152 <textElement verticalAlignment="Bottom"/> 152 <textElement verticalAlignment="Bottom"/>
153 <textFieldExpression><![CDATA[$F{meta:waterlevel_name_header}]]></textFieldExpression> 153 <textFieldExpression><![CDATA[$F{meta:waterlevel_name_header}]]></textFieldExpression>
154 </textField> 154 </textField>
155 <textField isStretchWithOverflow="true"> 155 <textField isStretchWithOverflow="true">
156 <reportElement key="7" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="375" y="0" width="110" height="24"/> 156 <reportElement key="7" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="380" y="0" width="110" height="24"/>
157 <box padding="5"/> 157 <box padding="5"/>
158 <textElement verticalAlignment="Bottom"/> 158 <textElement verticalAlignment="Bottom"/>
159 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression> 159 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression>
160 </textField> 160 </textField>
161 <textField isStretchWithOverflow="true"> 161 <textField isStretchWithOverflow="true">
162 <reportElement key="8" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="485" y="0" width="60" height="24"/> 162 <reportElement key="8" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="490" y="0" width="60" height="24"/>
163 <box padding="5"/> 163 <box padding="5"/>
164 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 164 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
165 <textFieldExpression><![CDATA[$F{meta:bedheight_header} + "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression> 165 <textFieldExpression><![CDATA[$F{meta:bedheight_header} + "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression>
166 </textField> 166 </textField>
167 <textField isStretchWithOverflow="true"> 167 <textField isStretchWithOverflow="true">
168 <reportElement key="9" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="545" y="0" width="95" height="24"/> 168 <reportElement key="9" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="550" y="0" width="95" height="24"/>
169 <box padding="5"/> 169 <box padding="5"/>
170 <textElement verticalAlignment="Bottom"/> 170 <textElement verticalAlignment="Bottom"/>
171 <textFieldExpression><![CDATA[$F{meta:sounding_name_header}]]></textFieldExpression> 171 <textFieldExpression><![CDATA[$F{meta:sounding_name_header}]]></textFieldExpression>
172 </textField> 172 </textField>
173 <textField isStretchWithOverflow="true"> 173 <textField isStretchWithOverflow="true">
174 <reportElement key="10" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="640" y="0" width="122" height="24"/> 174 <reportElement key="10" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="645" y="0" width="122" height="24"/>
175 <box padding="5"/> 175 <box padding="5"/>
176 <textElement verticalAlignment="Bottom"/> 176 <textElement verticalAlignment="Bottom"/>
177 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression> 177 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression>
178 </textField> 178 </textField>
179 </band> 179 </band>
180 </columnHeader> 180 </columnHeader>
181 <detail> 181 <detail>
182 <band height="15" splitType="Prevent"> 182 <band height="15" splitType="Prevent">
183 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 183 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
184 <reportElement key="0" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="-5" y="0" width="55" height="15"/> 184 <reportElement key="0" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="55" height="15"/>
185 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 185 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
186 <textElement textAlignment="Right" verticalAlignment="Top"> 186 <textElement textAlignment="Right" verticalAlignment="Top">
187 <font isBold="false"/> 187 <font isBold="false"/>
188 </textElement> 188 </textElement>
189 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> 189 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression>
190 </textField> 190 </textField>
191 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 191 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
192 <reportElement key="1" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="50" y="0" width="55" height="15"/> 192 <reportElement key="1" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="55" y="0" width="55" height="15"/>
193 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 193 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
194 <textElement textAlignment="Right" verticalAlignment="Top"/> 194 <textElement textAlignment="Right" verticalAlignment="Top"/>
195 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression> 195 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression>
196 </textField> 196 </textField>
197 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 197 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
198 <reportElement key="flowdepthtkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="105" y="0" width="54" height="15"/> 198 <reportElement key="flowdepthtkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="110" y="0" width="54" height="15"/>
199 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 199 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
200 <textElement textAlignment="Right" verticalAlignment="Top"/> 200 <textElement textAlignment="Right" verticalAlignment="Top"/>
201 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression> 201 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression>
202 </textField> 202 </textField>
203 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 203 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
204 <reportElement key="tkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="159" y="0" width="36" height="15"/> 204 <reportElement key="tkh" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="164" y="0" width="36" height="15"/>
205 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 205 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
206 <textElement textAlignment="Right" verticalAlignment="Top"/> 206 <textElement textAlignment="Right" verticalAlignment="Top"/>
207 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression> 207 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression>
208 </textField> 208 </textField>
209 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 209 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
210 <reportElement key="4" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="195" y="0" width="60" height="15"/> 210 <reportElement key="4" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="200" y="0" width="60" height="15"/>
211 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 211 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
212 <textElement textAlignment="Right" verticalAlignment="Top"/> 212 <textElement textAlignment="Right" verticalAlignment="Top"/>
213 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression> 213 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression>
214 </textField> 214 </textField>
215 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 215 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
216 <reportElement key="5" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="255" y="0" width="40" height="15"/> 216 <reportElement key="5" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="260" y="0" width="40" height="15"/>
217 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 217 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
218 <textElement textAlignment="Right" verticalAlignment="Top"/> 218 <textElement textAlignment="Right" verticalAlignment="Top"/>
219 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression> 219 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression>
220 </textField> 220 </textField>
221 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 221 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
222 <reportElement key="6" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="295" y="0" width="80" height="15"/> 222 <reportElement key="6" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="300" y="0" width="80" height="15"/>
223 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 223 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
224 <textElement verticalAlignment="Top"/> 224 <textElement verticalAlignment="Top"/>
225 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression> 225 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression>
226 </textField> 226 </textField>
227 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 227 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
228 <reportElement key="7" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="375" y="0" width="110" height="15"/> 228 <reportElement key="7" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="380" y="0" width="110" height="15"/>
229 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 229 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
230 <textElement verticalAlignment="Top"/> 230 <textElement verticalAlignment="Top"/>
231 <textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression> 231 <textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression>
232 </textField> 232 </textField>
233 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 233 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
234 <reportElement key="8" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="485" y="0" width="60" height="15"/> 234 <reportElement key="8" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="490" y="0" width="60" height="15"/>
235 <box topPadding="2" leftPadding="5" rightPadding="5"/> 235 <box topPadding="2" leftPadding="5" rightPadding="5"/>
236 <textElement textAlignment="Right" verticalAlignment="Top"/> 236 <textElement textAlignment="Right" verticalAlignment="Top"/>
237 <textFieldExpression><![CDATA[$F{data:8}]]></textFieldExpression> 237 <textFieldExpression><![CDATA[$F{data:8}]]></textFieldExpression>
238 </textField> 238 </textField>
239 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 239 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
240 <reportElement key="9" style="htmlStyle" positionType="Float" x="545" y="0" width="95" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true"> 240 <reportElement key="9" style="htmlStyle" positionType="Float" x="550" y="0" width="95" height="15" isRemoveLineWhenBlank="true" isPrintWhenDetailOverflows="true">
241 <property name="net.sf.jasperreports.export.pdf.force.linebreak.policy" value="true"/> 241 <property name="net.sf.jasperreports.export.pdf.force.linebreak.policy" value="true"/>
242 <property name="net.sf.jasperreports.text.save.line.breaks" value="false"/> 242 <property name="net.sf.jasperreports.text.save.line.breaks" value="false"/>
243 </reportElement> 243 </reportElement>
244 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 244 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
245 <textElement verticalAlignment="Top"/> 245 <textElement verticalAlignment="Top"/>
246 <textFieldExpression><![CDATA[$F{data:9}]]></textFieldExpression> 246 <textFieldExpression><![CDATA[$F{data:9}]]></textFieldExpression>
247 </textField> 247 </textField>
248 <textField isStretchWithOverflow="true" isBlankWhenNull="true"> 248 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
249 <reportElement key="10" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="640" y="0" width="122" height="15"/> 249 <reportElement key="10" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="645" y="0" width="122" height="15"/>
250 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/> 250 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5"/>
251 <textElement verticalAlignment="Top"/> 251 <textElement verticalAlignment="Top"/>
252 <textFieldExpression><![CDATA[$F{data:10}]]></textFieldExpression> 252 <textFieldExpression><![CDATA[$F{data:10}]]></textFieldExpression>
253 </textField> 253 </textField>
254 </band> 254 </band>

http://dive4elements.wald.intevation.org