diff artifacts/doc/conf/jasper/templates/sinfo.tkh.jrxml @ 9545:f303d693a70f

Fixed wrong order of column headers in sinfo tkh pdf report
author mschaefer
date Thu, 18 Oct 2018 14:10:20 +0200
parents a8d1784ad8e8
children
line wrap: on
line diff
--- a/artifacts/doc/conf/jasper/templates/sinfo.tkh.jrxml	Wed Oct 17 17:40:48 2018 +0200
+++ b/artifacts/doc/conf/jasper/templates/sinfo.tkh.jrxml	Thu Oct 18 14:10:20 2018 +0200
@@ -150,13 +150,13 @@
 				<reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="160" y="0" width="60" height="24"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
 				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
-				<textFieldExpression><![CDATA[$F{meta:waterlevel_header}+  "<br/>["  + $F{meta:river_unit} + "]"]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{meta:bedheight_header}+  "<br/>["  + $F{meta:river_unit} + "]"]]></textFieldExpression>
 			</textField>
 			<textField isStretchWithOverflow="true">
 				<reportElement key="" style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="220" y="0" width="50" height="24"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
 				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
-				<textFieldExpression><![CDATA[$F{meta:discharge_header}+ "<br/>[m³/s]"]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{meta:waterlevel_header}+  "<br/>["  + $F{meta:river_unit} + "]"]]></textFieldExpression>
 			</textField>
 			<textField isStretchWithOverflow="true">
 				<reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="370" y="0" width="100" height="24"/>
@@ -180,7 +180,7 @@
 				<reportElement style="htmlStyle" positionType="Float" stretchType="RelativeToBandHeight" x="270" y="0" width="100" height="24"/>
 				<box padding="5"/>
 				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
-				<textFieldExpression><![CDATA[$F{meta:bedheight_header}+  "<br/>["  + $F{meta:river_unit} + "]"]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{meta:discharge_header}+ "<br/>[m³/s]"]]></textFieldExpression>
 			</textField>
 			<line>
 				<reportElement style="htmlStyle" positionType="FixRelativeToBottom" x="0" y="24" width="740" height="1"/>

http://dive4elements.wald.intevation.org