diff artifacts/doc/conf/jasper/beddifference.jrxml @ 7916:c0843a658474

Adapted bed differences PDF export to CSV export and some cleanup of field names.
author Tom Gottfried <tom@intevation.de>
date Wed, 04 Jun 2014 18:22:14 +0200
parents 931dffefc3dd
children 6fef38a526c7
line wrap: on
line diff
--- a/artifacts/doc/conf/jasper/beddifference.jrxml	Wed Jun 04 15:34:22 2014 +0200
+++ b/artifacts/doc/conf/jasper/beddifference.jrxml	Wed Jun 04 18:22:14 2014 +0200
@@ -4,15 +4,20 @@
 	<property name="ireport.x" value="0"/>
 	<property name="ireport.y" value="0"/>
 	<field name="river" class="java.lang.String"/>
-	<field name="meter" class="java.lang.String"/>
+	<field name="diff" class="java.lang.String"/>
 	<field name="date" class="java.lang.String"/>
 	<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="unit" class="java.lang.String"/>
+	<field name="diffheader" class="java.lang.String"/>
 	<field name="diffpairheader" class="java.lang.String"/>
 	<field name="diffpair" class="java.lang.String"/>
+	<field name="morph1header" class="java.lang.String"/>
+	<field name="morph1" class="java.lang.String"/>
+	<field name="morph2header" class="java.lang.String"/>
+	<field name="morph2" class="java.lang.String"/>
+	<field name="kmheader" class="java.lang.String"/>
 	<background>
 		<band splitType="Stretch"/>
 	</background>
@@ -86,40 +91,60 @@
 			<line>
 				<reportElement x="0" y="19" width="515" height="1"/>
 			</line>
-			<staticText>
-				<reportElement x="0" y="0" width="155" height="20"/>
-				<textElement/>
-				<text><![CDATA[Fluss-Km]]></text>
-			</staticText>
 			<textField>
-				<reportElement x="155" y="0" width="150" height="20"/>
+				<reportElement x="0" y="0" width="54" height="20"/>
 				<textElement markup="none"/>
-				<textFieldExpression><![CDATA[$F{unit}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{kmheader}]]></textFieldExpression>
 			</textField>
 			<textField>
-				<reportElement x="305" y="4" width="140" height="20"/>
+				<reportElement x="167" y="0" width="96" height="20"/>
+				<textElement markup="none"/>
+				<textFieldExpression><![CDATA[$F{diffheader}]]></textFieldExpression>
+			</textField>
+			<textField>
+				<reportElement x="54" y="0" width="113" height="19"/>
 				<textElement/>
 				<textFieldExpression><![CDATA[$F{diffpairheader}]]></textFieldExpression>
 			</textField>
+			<textField>
+				<reportElement x="263" y="0" width="123" height="20"/>
+				<textElement/>
+				<textFieldExpression><![CDATA[$F{morph1header}]]></textFieldExpression>
+			</textField>
+			<textField>
+				<reportElement x="386" y="0" width="128" height="19"/>
+				<textElement/>
+				<textFieldExpression><![CDATA[$F{morph2header}]]></textFieldExpression>
+			</textField>
 		</band>
 	</columnHeader>
 	<detail>
 		<band height="18" splitType="Stretch">
 			<textField isBlankWhenNull="true">
-				<reportElement x="0" y="0" width="155" height="14"/>
+				<reportElement x="0" y="0" width="54" height="14"/>
 				<textElement/>
 				<textFieldExpression><![CDATA[$F{km}]]></textFieldExpression>
 			</textField>
 			<textField isBlankWhenNull="true">
-				<reportElement x="155" y="0" width="150" height="14"/>
+				<reportElement x="167" y="0" width="96" height="14"/>
 				<textElement/>
-				<textFieldExpression><![CDATA[$F{meter}]]></textFieldExpression>
+				<textFieldExpression><![CDATA[$F{diff}]]></textFieldExpression>
 			</textField>
 			<textField isBlankWhenNull="true">
-				<reportElement x="305" y="0" width="97" height="14"/>
+				<reportElement x="54" y="0" width="113" height="14"/>
 				<textElement/>
 				<textFieldExpression><![CDATA[$F{diffpair}]]></textFieldExpression>
 			</textField>
+			<textField isBlankWhenNull="true">
+				<reportElement x="263" y="0" width="123" height="14"/>
+				<textElement/>
+				<textFieldExpression><![CDATA[$F{morph1}]]></textFieldExpression>
+			</textField>
+			<textField isBlankWhenNull="true">
+				<reportElement x="386" y="0" width="128" height="14"/>
+				<textElement/>
+				<textFieldExpression><![CDATA[$F{morph2}]]></textFieldExpression>
+			</textField>
 		</band>
 	</detail>
 	<pageFooter>

http://dive4elements.wald.intevation.org