[PATCH] Fixed wrong order of column headers in sinfo tkh pdf report

Wald Commits scm-commit at wald.intevation.org
Thu Oct 18 14:10:34 CEST 2018


# HG changeset patch
# User mschaefer
# Date 1539864620 -7200
# Node ID f303d693a70f7e2071941e4a842edb4be241f756
# Parent  6dd539efebb19892d8543006885e7e1fddb9b145
Fixed wrong order of column headers in sinfo tkh pdf report

diff -r 6dd539efebb1 -r f303d693a70f artifacts/doc/conf/jasper/templates/sinfo.tkh.jrxml
--- 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"/>


More information about the Dive4Elements-commits mailing list