diff artifacts/doc/conf/jasper/beddifference_en.jrxml @ 8584:ce325339e9ba

(issue1754) Add range to W / Bed difference export. This also fixes the Title layout in waterlevel report and removes the year/epoch field from the english beddifference report.
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 16 Mar 2015 17:38:08 +0100
parents 138feb491c8a
children ff33c24c2b64
line wrap: on
line diff
--- a/artifacts/doc/conf/jasper/beddifference_en.jrxml	Mon Mar 16 17:08:04 2015 +0100
+++ b/artifacts/doc/conf/jasper/beddifference_en.jrxml	Mon Mar 16 17:38:08 2015 +0100
@@ -9,12 +9,12 @@
 	<field name="calculation" class="java.lang.String"/>
 	<field name="differences" class="java.lang.String"/>
 	<field name="km" class="java.lang.String"/>
-	<field name="ye_mode" class="java.lang.String"/>
+	<field name="range" class="java.lang.String"/>
 	<background>
 		<band splitType="Stretch"/>
 	</background>
 	<title>
-		<band height="161" splitType="Stretch">
+		<band height="154" splitType="Stretch">
 			<staticText>
 				<reportElement x="0" y="1" width="155" height="30"/>
 				<textElement>
@@ -57,24 +57,24 @@
 				<textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
 			</textField>
 			<staticText>
-				<reportElement x="0" y="130" width="123" height="20"/>
+				<reportElement x="0" y="110" width="123" height="20"/>
 				<textElement/>
 				<text><![CDATA[Differences:]]></text>
 			</staticText>
 			<textField isStretchWithOverflow="true">
-				<reportElement stretchType="RelativeToTallestObject" x="123" y="130" width="392" height="20"/>
+				<reportElement stretchType="RelativeToTallestObject" x="123" y="110" width="392" height="20"/>
 				<textElement/>
 				<textFieldExpression><![CDATA[$F{differences}]]></textFieldExpression>
 			</textField>
-			<textField isStretchWithOverflow="true">
-				<reportElement stretchType="RelativeToTallestObject" x="123" y="110" width="392" height="20"/>
+			<textField>
+				<reportElement x="123" y="130" width="392" height="20"/>
 				<textElement/>
-				<textFieldExpression><![CDATA[$F{ye_mode}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{range}]]></textFieldExpression>
 			</textField>
 			<staticText>
-				<reportElement x="0" y="110" width="123" height="20"/>
+				<reportElement x="0" y="130" width="123" height="20"/>
 				<textElement/>
-				<text><![CDATA[Year/Epoch:]]></text>
+				<text><![CDATA[Range:]]></text>
 			</staticText>
 		</band>
 	</title>

http://dive4elements.wald.intevation.org