diff artifacts/doc/conf/jasper/templates/sinfo.flowdepthdevelopment.jrxml @ 8998:c38098b15427

Work on uinfo
author gernotbelger
date Thu, 12 Apr 2018 19:15:11 +0200
parents 7c1611b5a59e
children 7134a4c7d1b6
line wrap: on
line diff
--- a/artifacts/doc/conf/jasper/templates/sinfo.flowdepthdevelopment.jrxml	Thu Apr 12 19:14:19 2018 +0200
+++ b/artifacts/doc/conf/jasper/templates/sinfo.flowdepthdevelopment.jrxml	Thu Apr 12 19:15:11 2018 +0200
@@ -1,11 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 4.5.0  -->
-<!-- 2018-04-05T10:22:02 -->
+<!-- 2018-04-12T10:43:25 -->
 <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" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20">
 	<property name="ireport.zoom" value="1.0"/>
 	<property name="ireport.x" value="0"/>
 	<property name="ireport.y" value="0"/>
-	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
 	<style name="htmlStyle" isDefault="true" mode="Transparent" markup="html"/>
 	<field name="meta:header" class="java.lang.String"/>
 	<field name="meta:calcMode" class="java.lang.String"/>
@@ -59,7 +58,7 @@
 		<band splitType="Stretch"/>
 	</background>
 	<title>
-		<band height="222" splitType="Stretch">
+		<band height="190" splitType="Stretch">
 			<textField>
 				<reportElement style="htmlStyle" x="0" y="1" width="515" height="30"/>
 				<textElement>
@@ -126,65 +125,65 @@
 			<textField>
 				<reportElement style="htmlStyle" x="0" y="0" width="60" height="75"/>
 				<box padding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:station_header}]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement style="htmlStyle" x="60" y="0" width="80" height="75"/>
 				<box padding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:flowdepthdevelopment_header} + "<br/>[cm]"]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement key="" style="htmlStyle" x="140" y="0" width="80" height="75"/>
 				<box padding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:flowdepthdevelopmentperyear_header} + "<br/>[cm/a]"]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement key="" style="htmlStyle" x="220" y="40" width="85" height="35"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:waterleveldifference_header2}]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement key="" style="htmlStyle" x="305" y="0" width="85" height="40"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:bedheightdifference_header} + "<br/>[m³/s]"]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement key="" style="htmlStyle" x="305" y="40" width="85" height="35"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:bedheightdifference_header2}]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement style="htmlStyle" x="390" y="0" width="85" height="40"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:flowdepthcurrent_header} + "<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement style="htmlStyle" x="390" y="40" width="85" height="35"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:flowdepthcurrent_header2}]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement style="htmlStyle" x="475" y="0" width="85" height="40"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:flowdepthhistorical_header}+"<br/>[" + $F{meta:river_unit} + "]"]]></textFieldExpression>
 			</textField>
 			<textField>
 				<reportElement style="htmlStyle" x="475" y="40" width="85" height="35"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="5" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom"/>
+				<textElement textAlignment="Right" verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:flowdepthhistorical_header2}]]></textFieldExpression>
 			</textField>
 			<textField>
-				<reportElement style="htmlStyle" x="560" y="0" width="180" height="75"/>
+				<reportElement style="htmlStyle" x="560" y="0" width="191" height="75"/>
 				<box padding="5"/>
 				<textElement verticalAlignment="Bottom"/>
 				<textFieldExpression><![CDATA[$F{meta:location_header}]]></textFieldExpression>
@@ -195,7 +194,7 @@
 			<textField>
 				<reportElement key="" style="htmlStyle" x="220" y="0" width="85" height="40"/>
 				<box topPadding="0" leftPadding="5" bottomPadding="0" rightPadding="5"/>
-				<textElement verticalAlignment="Bottom">
+				<textElement textAlignment="Right" verticalAlignment="Bottom">
 					<font pdfEncoding=""/>
 				</textElement>
 				<textFieldExpression><![CDATA[$F{meta:waterleveldifference_header}+"<br/>["+$F{meta:river_unit}+"]"]]></textFieldExpression>
@@ -204,49 +203,49 @@
 	</columnHeader>
 	<detail>
 		<band height="20" splitType="Stretch">
-			<textField isBlankWhenNull="true">
-				<reportElement style="htmlStyle" x="475" y="0" width="85" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="475" y="0" width="85" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:6}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement style="htmlStyle" x="560" y="0" width="180" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="560" y="0" width="191" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textFieldExpression><![CDATA[$F{data:7}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement style="htmlStyle" x="390" y="0" width="85" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="390" y="0" width="85" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:5}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement style="htmlStyle" x="0" y="0" width="60" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="0" y="0" width="60" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:0}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement style="htmlStyle" x="60" y="0" width="80" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement style="htmlStyle" stretchType="RelativeToBandHeight" x="60" y="0" width="80" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:1}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement key="" style="htmlStyle" x="140" y="0" width="80" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement key="" style="htmlStyle" stretchType="RelativeToBandHeight" x="140" y="0" width="80" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:2}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement key="" style="htmlStyle" x="220" y="0" width="85" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement key="" style="htmlStyle" stretchType="RelativeToBandHeight" x="220" y="0" width="85" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:3}]]></textFieldExpression>
 			</textField>
-			<textField isBlankWhenNull="true">
-				<reportElement key="" style="htmlStyle" x="305" y="0" width="85" height="20"/>
+			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
+				<reportElement key="" style="htmlStyle" stretchType="RelativeToBandHeight" x="305" y="0" width="85" height="20"/>
 				<box topPadding="5" leftPadding="5" bottomPadding="0" rightPadding="5"/>
 				<textElement textAlignment="Right"/>
 				<textFieldExpression><![CDATA[$F{data:4}]]></textFieldExpression>

http://dive4elements.wald.intevation.org