comparison artifacts/doc/conf/jasper/templates/waterlevel_new.jrxml @ 9486:ce13a2f07290

pdf exports added for fixation+bundu (waterlevel)
author gernotbelger
date Mon, 17 Sep 2018 19:07:57 +0200
parents
children
comparison
equal deleted inserted replaced
9485:dd05a5eef210 9486:ce13a2f07290
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Created with Jaspersoft Studio version 6.6.0.final using JasperReports Library version 4.5.0 -->
3 <!-- 2018-09-17T18:59:50 -->
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>
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:calculation_label" class="java.lang.String"/>
24 <field name="meta:calculation_name" class="java.lang.String"/>
25 <field name="meta:station_header" class="java.lang.String"/>
26 <field name="meta:flowdepthdevelopment_header" class="java.lang.String"/>
27 <field name="meta:flowdepthdevelopmentperyear_header" class="java.lang.String"/>
28 <field name="meta:waterleveldifference_header" class="java.lang.String"/>
29 <field name="meta:waterleveldifference_header2" class="java.lang.String"/>
30 <field name="meta:waterleveldifference_header_label" class="java.lang.String"/>
31 <field name="meta:bedheightdifference_header" class="java.lang.String"/>
32 <field name="meta:bedheightdifference_header2" class="java.lang.String"/>
33 <field name="meta:bedheightdifference_header_label" class="java.lang.String"/>
34 <field name="meta:flowdepthcurrent_header" class="java.lang.String"/>
35 <field name="meta:flowdepthcurrent_header2" class="java.lang.String"/>
36 <field name="meta:flowdepthhistorical_header" class="java.lang.String"/>
37 <field name="meta:flowdepthhistorical_header2" class="java.lang.String"/>
38 <field name="meta:flowdepthcurrent_header_label" class="java.lang.String"/>
39 <field name="meta:flowdepthhistorical_header_label" class="java.lang.String"/>
40 <field name="meta:flowdepth_header" class="java.lang.String"/>
41 <field name="meta:flowdepthdevelopment" class="java.lang.String"/>
42 <field name="meta:flowdepthmin_header" class="java.lang.String"/>
43 <field name="meta:flowdepthmax_header" class="java.lang.String"/>
44 <field name="meta:flowdepthdevelopment_header_label" class="java.lang.String"/>
45 <field name="meta:flowdepth_tkh_header" class="java.lang.String"/>
46 <field name="meta:w_at_gauge_header" class="java.lang.String"/>
47 <field name="meta:w_at_gauge_header_2" 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"/>
62 <field name="data:0" class="java.lang.String"/>
63 <field name="data:1" class="java.lang.String"/>
64 <field name="data:2" class="java.lang.String"/>
65 <field name="data:3" class="java.lang.String"/>
66 <field name="data:4" class="java.lang.String"/>
67 <field name="data:5" class="java.lang.String"/>
68 <field name="data:6" class="java.lang.String"/>
69 <background>
70 <band splitType="Stretch"/>
71 </background>
72 <title>
73 <band height="169" splitType="Stretch">
74 <textField>
75 <reportElement style="htmlStyle" x="0" y="0" width="515" height="30"/>
76 <textElement>
77 <font size="18"/>
78 </textElement>
79 <textFieldExpression><![CDATA[$F{meta:header} + " " + $F{meta:river}]]></textFieldExpression>
80 </textField>
81 <textField>
82 <reportElement style="htmlStyle" x="0" y="39" width="165" height="20"/>
83 <textFieldExpression><![CDATA[$F{meta:calcMode}]]></textFieldExpression>
84 </textField>
85 <textField>
86 <reportElement style="htmlStyle" x="0" y="69" width="123" height="20"/>
87 <textFieldExpression><![CDATA[$F{meta:version_label} + ":"]]></textFieldExpression>
88 </textField>
89 <textField>
90 <reportElement style="htmlStyle" x="123" y="69" width="392" height="20"/>
91 <textFieldExpression><![CDATA[$F{meta:version}]]></textFieldExpression>
92 </textField>
93 <textField>
94 <reportElement style="htmlStyle" x="0" y="89" width="123" height="20"/>
95 <textFieldExpression><![CDATA[$F{meta:user_label} + ":"]]></textFieldExpression>
96 </textField>
97 <textField>
98 <reportElement style="htmlStyle" x="123" y="89" width="392" height="20"/>
99 <textFieldExpression><![CDATA[$F{meta:user}]]></textFieldExpression>
100 </textField>
101 <textField>
102 <reportElement style="htmlStyle" x="0" y="109" width="123" height="20"/>
103 <textFieldExpression><![CDATA[$F{meta:date_label} + ":"]]></textFieldExpression>
104 </textField>
105 <textField>
106 <reportElement style="htmlStyle" x="123" y="109" width="392" height="20"/>
107 <textFieldExpression><![CDATA[$F{meta:date}]]></textFieldExpression>
108 </textField>
109 <textField>
110 <reportElement style="htmlStyle" x="0" y="129" width="123" height="20"/>
111 <textFieldExpression><![CDATA[$F{meta:river_label} + ":"]]></textFieldExpression>
112 </textField>
113 <textField>
114 <reportElement style="htmlStyle" x="123" y="129" width="392" height="20"/>
115 <textFieldExpression><![CDATA[$F{meta:river}]]></textFieldExpression>
116 </textField>
117 <textField>
118 <reportElement style="htmlStyle" x="0" y="149" width="123" height="20"/>
119 <textFieldExpression><![CDATA[$F{meta:range_label} + ":"]]></textFieldExpression>
120 </textField>
121 <textField>
122 <reportElement style="htmlStyle" x="123" y="149" width="392" height="20"/>
123 <textFieldExpression><![CDATA[$F{meta:range}]]></textFieldExpression>
124 </textField>
125 </band>
126 </title>
127 <columnHeader>
128 <band height="25" splitType="Stretch">
129 <line>
130 <reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="550" height="1"/>
131 </line>
132 <textField isStretchWithOverflow="true">
133 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="60" 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="60" y="0" width="77" height="24"/>
140 <box padding="5"/>
141 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
142 <textFieldExpression><![CDATA[$F{meta:fix_w}]]></textFieldExpression>
143 </textField>
144 <textField isStretchWithOverflow="true">
145 <reportElement key="delete" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="137" y="-1" width="0" height="24"/>
146 <box padding="5"/>
147 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
148 <textFieldExpression><![CDATA[$F{meta:w_at_gauge_header}]]></textFieldExpression>
149 </textField>
150 <textField isStretchWithOverflow="true">
151 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="137" y="0" width="70" height="24"/>
152 <box padding="5"/>
153 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
154 <textFieldExpression><![CDATA[$F{meta:fix_q}]]></textFieldExpression>
155 </textField>
156 <textField isStretchWithOverflow="true">
157 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="207" y="0" width="83" height="24"/>
158 <box padding="5"/>
159 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
160 <textFieldExpression><![CDATA[$F{meta:w_at_gauge_header_2}]]></textFieldExpression>
161 </textField>
162 <textField isStretchWithOverflow="true">
163 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="290" y="0" width="120" height="24"/>
164 <box padding="5"/>
165 <textElement textAlignment="Left" verticalAlignment="Bottom"/>
166 <textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression>
167 </textField>
168 <textField isStretchWithOverflow="true">
169 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="140" height="24"/>
170 <box padding="5"/>
171 <textElement textAlignment="Left" verticalAlignment="Bottom"/>
172 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression>
173 </textField>
174 </band>
175 </columnHeader>
176 <detail>
177 <band height="15" splitType="Prevent">
178 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
179 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="60" height="15"/>
180 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
181 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
182 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
183 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
184 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
185 </box>
186 <textElement textAlignment="Right" verticalAlignment="Top"/>
187 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression>
188 </textField>
189 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
190 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="60" y="0" width="77" height="15"/>
191 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
192 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
193 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
194 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
195 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
196 </box>
197 <textElement textAlignment="Right" verticalAlignment="Top"/>
198 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression>
199 </textField>
200 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
201 <reportElement key="delete" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="137" y="-1" width="0" height="15"/>
202 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
203 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
204 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
205 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
206 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
207 </box>
208 <textElement textAlignment="Right" verticalAlignment="Top"/>
209 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression>
210 </textField>
211 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
212 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="137" y="0" width="70" height="15"/>
213 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
214 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
215 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
216 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
217 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
218 </box>
219 <textElement textAlignment="Right" verticalAlignment="Top"/>
220 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression>
221 </textField>
222 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
223 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="207" y="0" width="83" height="15"/>
224 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
225 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
226 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
227 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
228 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
229 </box>
230 <textElement textAlignment="Right" verticalAlignment="Top"/>
231 <textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression>
232 </textField>
233 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
234 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="290" y="0" width="120" height="15"/>
235 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
236 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
237 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
238 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
239 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
240 </box>
241 <textElement textAlignment="Left" verticalAlignment="Top"/>
242 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression>
243 </textField>
244 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
245 <reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="140" height="15"/>
246 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
247 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
248 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
249 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
250 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
251 </box>
252 <textElement textAlignment="Left" verticalAlignment="Top"/>
253 <textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression>
254 </textField>
255 </band>
256 </detail>
257 <pageFooter>
258 <band height="15" splitType="Stretch">
259 <textField isStretchWithOverflow="true">
260 <reportElement style="htmlStyle" x="437" y="0" width="55" height="15"/>
261 <box topPadding="2" rightPadding="3"/>
262 <textElement textAlignment="Right"/>
263 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
264 </textField>
265 <textField isStretchWithOverflow="true" evaluationTime="Report">
266 <reportElement style="htmlStyle" x="493" y="0" width="57" height="15"/>
267 <box topPadding="2" leftPadding="0" bottomPadding="0" rightPadding="0"/>
268 <textFieldExpression><![CDATA["/ " + $V{PAGE_NUMBER}]]></textFieldExpression>
269 </textField>
270 </band>
271 </pageFooter>
272 </jasperReport>

http://dive4elements.wald.intevation.org