comparison artifacts/doc/conf/jasper/templates/sinfo.collision.detail.jrxml @ 9172:3ace6db2f87b

collision details+pdf-export
author gernotbelger
date Fri, 22 Jun 2018 14:34:33 +0200
parents 23945061daec
children f692f5a0536a
comparison
equal deleted inserted replaced
9171:f1be005f0c46 9172:3ace6db2f87b
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-13T17:02:35 --> 3 <!-- 2018-06-22T14:12:56 -->
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" orientation="Landscape" columnWidth="762" 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="595" pageHeight="842" 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" isDefault="true" mode="Transparent" markup="html" fontName="Roboto"> 8 <style name="htmlStyle" isDefault="true" mode="Transparent" markup="html" fontName="Roboto">
9 <paragraph lineSpacing="Single"/> 9 <paragraph lineSpacing="Single"/>
70 <field name="meta:duration_2_header" class="java.lang.String"/> 70 <field name="meta:duration_2_header" class="java.lang.String"/>
71 <field name="meta:w_3_header" class="java.lang.String"/> 71 <field name="meta:w_3_header" class="java.lang.String"/>
72 <field name="meta:q_3_header" class="java.lang.String"/> 72 <field name="meta:q_3_header" class="java.lang.String"/>
73 <field name="meta:bezeichnung_3_header" class="java.lang.String"/> 73 <field name="meta:bezeichnung_3_header" class="java.lang.String"/>
74 <field name="meta:duration_3_header" class="java.lang.String"/> 74 <field name="meta:duration_3_header" class="java.lang.String"/>
75 <field name="meta:gaugew_header" class="java.lang.String"/>
76 <field name="meta:dischargezone_header" class="java.lang.String"/>
75 <field name="data:0" class="java.lang.String"/> 77 <field name="data:0" class="java.lang.String"/>
76 <field name="data:1" class="java.lang.String"/> 78 <field name="data:1" class="java.lang.String"/>
77 <field name="data:2" class="java.lang.String"/> 79 <field name="data:2" class="java.lang.String"/>
78 <field name="data:3" class="java.lang.String"/> 80 <field name="data:3" class="java.lang.String"/>
79 <field name="data:4" class="java.lang.String"/> 81 <field name="data:4" class="java.lang.String"/>
108 </band> 110 </band>
109 </title> 111 </title>
110 <columnHeader> 112 <columnHeader>
111 <band height="25" splitType="Stretch"> 113 <band height="25" splitType="Stretch">
112 <line> 114 <line>
113 <reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="762" height="1"/> 115 <reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="515" height="1"/>
114 </line> 116 </line>
115 <textField isStretchWithOverflow="true"> 117 <textField isStretchWithOverflow="true">
116 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="60" height="24"> 118 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="60" height="24">
117 <property name="net.sf.jasperreports.text.hyphenation" value="true"/> 119 <property name="net.sf.jasperreports.text.hyphenation" value="true"/>
118 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/> 120 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>
121 <box padding="5"/> 123 <box padding="5"/>
122 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 124 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
123 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression> 125 <textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression>
124 </textField> 126 </textField>
125 <textField isStretchWithOverflow="true"> 127 <textField isStretchWithOverflow="true">
126 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="68" y="-1" width="60" height="24"> 128 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="60" y="0" width="90" height="24">
129 <property name="net.sf.jasperreports.text.hyphenation" value="true"/>
130 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>
131 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/>
132 </reportElement>
133 <box padding="5"/>
134 <textElement textAlignment="Left" verticalAlignment="Bottom"/>
135 <textFieldExpression><![CDATA[$F{meta:date_label}]]></textFieldExpression>
136 </textField>
137 <textField isStretchWithOverflow="true">
138 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="150" y="0" width="60" height="24">
127 <property name="net.sf.jasperreports.text.hyphenation" value="true"/> 139 <property name="net.sf.jasperreports.text.hyphenation" value="true"/>
128 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/> 140 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>
129 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/> 141 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/>
130 </reportElement> 142 </reportElement>
131 <box padding="5"/> 143 <box padding="5"/>
132 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 144 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
133 <textFieldExpression><![CDATA["TEST"]]></textFieldExpression> 145 <textFieldExpression><![CDATA[$F{meta:gaugew_header}]]></textFieldExpression>
134 </textField> 146 </textField>
135 <textField isStretchWithOverflow="true"> 147 <textField isStretchWithOverflow="true">
136 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="-1" width="180" height="24"> 148 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="210" y="0" width="140" height="24">
149 <property name="net.sf.jasperreports.text.hyphenation" value="true"/>
150 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>
151 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/>
152 </reportElement>
153 <box padding="5"/>
154 <textElement textAlignment="Left" verticalAlignment="Bottom"/>
155 <textFieldExpression><![CDATA[$F{meta:gauge_header}]]></textFieldExpression>
156 </textField>
157 <textField isStretchWithOverflow="true">
158 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="350" y="0" width="60" height="24">
137 <property name="net.sf.jasperreports.text.hyphenation" value="true"/> 159 <property name="net.sf.jasperreports.text.hyphenation" value="true"/>
138 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/> 160 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>
139 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/> 161 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/>
140 </reportElement> 162 </reportElement>
141 <box padding="5"/> 163 <box padding="5"/>
142 <textElement textAlignment="Right" verticalAlignment="Bottom"/> 164 <textElement textAlignment="Right" verticalAlignment="Bottom"/>
143 <textFieldExpression><![CDATA[""+$F{meta:startpageoffset}+";" + $F{meta:totalpages}]]></textFieldExpression> 165 <textFieldExpression><![CDATA[$F{meta:discharge_header}+" [m³/s]"]]></textFieldExpression>
166 </textField>
167 <textField isStretchWithOverflow="true">
168 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="105" height="24">
169 <property name="net.sf.jasperreports.text.hyphenation" value="true"/>
170 <property name="net.sf.jasperreports.text.save.line.breaks" value="true"/>
171 <property name="net.sf.jasperreports.export.xls.wrap.text" value="true"/>
172 </reportElement>
173 <box padding="5"/>
174 <textElement textAlignment="Left" verticalAlignment="Bottom"/>
175 <textFieldExpression><![CDATA[$F{meta:dischargezone_header}]]></textFieldExpression>
144 </textField> 176 </textField>
145 </band> 177 </band>
146 </columnHeader> 178 </columnHeader>
147 <detail> 179 <detail>
148 <band height="15" splitType="Prevent"> 180 <band height="15" splitType="Prevent">
155 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/> 187 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
156 </box> 188 </box>
157 <textElement textAlignment="Right" verticalAlignment="Top"/> 189 <textElement textAlignment="Right" verticalAlignment="Top"/>
158 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression> 190 <textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression>
159 </textField> 191 </textField>
192 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
193 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="60" y="0" width="90" height="15"/>
194 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
195 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
196 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
197 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
198 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
199 </box>
200 <textElement textAlignment="Left" verticalAlignment="Top"/>
201 <textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression>
202 </textField>
203 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
204 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="150" y="0" width="60" height="15"/>
205 <box topPadding="2" leftPadding="5" bottomPadding="0" rightPadding="5">
206 <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
207 <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
208 <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
209 <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
210 </box>
211 <textElement textAlignment="Right" verticalAlignment="Top"/>
212 <textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression>
213 </textField>
214 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
215 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="210" y="0" width="140" height="15"/>
216 <box topPadding="2" 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="Left" verticalAlignment="Top"/>
223 <textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression>
224 </textField>
225 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
226 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="350" y="0" width="60" height="15"/>
227 <box topPadding="2" 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:4}]]></textFieldExpression>
235 </textField>
236 <textField isStretchWithOverflow="true" isBlankWhenNull="true">
237 <reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="410" y="0" width="105" height="15"/>
238 <box topPadding="2" 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="Left" verticalAlignment="Top"/>
245 <textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression>
246 </textField>
160 </band> 247 </band>
161 </detail> 248 </detail>
162 <pageFooter> 249 <pageFooter>
163 <band height="15" splitType="Stretch"> 250 <band height="15" splitType="Stretch">
164 <textField isStretchWithOverflow="true"> 251 <textField isStretchWithOverflow="true">
165 <reportElement style="htmlStyle" x="634" y="0" width="55" height="15"/> 252 <reportElement style="htmlStyle" x="402" y="0" width="55" height="15"/>
166 <box topPadding="2" rightPadding="3"/> 253 <box topPadding="2" rightPadding="3"/>
167 <textElement textAlignment="Right"/> 254 <textElement textAlignment="Right"/>
168 <textFieldExpression><![CDATA[$V{PAGE_NUMBER} +(($F{meta:startpageoffset} != null) ? $F{meta:startpageoffset} : 0 )]]></textFieldExpression> 255 <textFieldExpression><![CDATA[$V{PAGE_NUMBER} +(($F{meta:startpageoffset} != null) ? $F{meta:startpageoffset} : 0 )]]></textFieldExpression>
169 </textField> 256 </textField>
170 <textField isStretchWithOverflow="true" evaluationTime="Report"> 257 <textField isStretchWithOverflow="true" evaluationTime="Report">
171 <reportElement style="htmlStyle" x="690" y="0" width="57" height="15"/> 258 <reportElement style="htmlStyle" x="458" y="0" width="57" height="15"/>
172 <box topPadding="2" leftPadding="0" bottomPadding="0" rightPadding="0"/> 259 <box topPadding="2" leftPadding="0" bottomPadding="0" rightPadding="0"/>
173 <textFieldExpression><![CDATA["/ " + ( $V{PAGE_NUMBER}+( ($F{meta:totalpages} != null) ? $F{meta:totalpages} -$V{PAGE_NUMBER} : 0 ) )]]></textFieldExpression> 260 <textFieldExpression><![CDATA["/ " + ( $V{PAGE_NUMBER}+( ($F{meta:totalpages} != null) ? $F{meta:totalpages} -$V{PAGE_NUMBER} : 0 ) )]]></textFieldExpression>
174 </textField> 261 </textField>
175 </band> 262 </band>
176 </pageFooter> 263 </pageFooter>

http://dive4elements.wald.intevation.org