comparison artifacts/doc/conf/jasper/beddifference.jrxml @ 7908:df9ac27d6b74

Fixed flys/issue1628. Made "unit" a configurable field in PDF export.
author Sascha L. Teichmann <teichmann@intevation.de>
date Tue, 03 Jun 2014 15:42:49 +0200
parents
children 931dffefc3dd
comparison
equal deleted inserted replaced
7907:b3534220aac7 7908:df9ac27d6b74
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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="595" pageHeight="842" columnWidth="515" leftMargin="60" rightMargin="20" topMargin="20" bottomMargin="20">
3 <property name="ireport.zoom" value="1.0"/>
4 <property name="ireport.x" value="0"/>
5 <property name="ireport.y" value="0"/>
6 <field name="river" class="java.lang.String"/>
7 <field name="meter" class="java.lang.String"/>
8 <field name="date" class="java.lang.String"/>
9 <field name="calculation" class="java.lang.String"/>
10 <field name="differences" class="java.lang.String"/>
11 <field name="km" class="java.lang.String"/>
12 <field name="ye_mode" class="java.lang.String"/>
13 <field name="unit" class="java.lang.String"/>
14 <background>
15 <band splitType="Stretch"/>
16 </background>
17 <title>
18 <band height="161" splitType="Stretch">
19 <staticText>
20 <reportElement x="0" y="1" width="155" height="30"/>
21 <textElement>
22 <font size="18"/>
23 </textElement>
24 <text><![CDATA[Ergebnisausgabe]]></text>
25 </staticText>
26 <textField>
27 <reportElement x="155" y="0" width="360" height="31"/>
28 <textElement>
29 <font size="18"/>
30 </textElement>
31 <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression>
32 </textField>
33 <textField>
34 <reportElement x="0" y="31" width="515" height="26"/>
35 <textElement>
36 <font size="14"/>
37 </textElement>
38 <textFieldExpression><![CDATA[$F{calculation}]]></textFieldExpression>
39 </textField>
40 <staticText>
41 <reportElement x="0" y="70" width="123" height="20"/>
42 <textElement/>
43 <text><![CDATA[Gewässer:]]></text>
44 </staticText>
45 <textField>
46 <reportElement x="123" y="70" width="392" height="20"/>
47 <textElement/>
48 <textFieldExpression><![CDATA[$F{river}]]></textFieldExpression>
49 </textField>
50 <staticText>
51 <reportElement x="0" y="90" width="123" height="20"/>
52 <textElement/>
53 <text><![CDATA[Datum der Erstellung:]]></text>
54 </staticText>
55 <textField>
56 <reportElement x="123" y="90" width="392" height="20"/>
57 <textElement/>
58 <textFieldExpression><![CDATA[$F{date}]]></textFieldExpression>
59 </textField>
60 <staticText>
61 <reportElement x="0" y="130" width="123" height="20"/>
62 <textElement/>
63 <text><![CDATA[Differenzen:]]></text>
64 </staticText>
65 <textField isStretchWithOverflow="true">
66 <reportElement stretchType="RelativeToTallestObject" x="123" y="130" width="392" height="20"/>
67 <textElement/>
68 <textFieldExpression><![CDATA[$F{differences}]]></textFieldExpression>
69 </textField>
70 <textField isStretchWithOverflow="true">
71 <reportElement stretchType="RelativeToTallestObject" x="123" y="110" width="392" height="20"/>
72 <textElement/>
73 <textFieldExpression><![CDATA[$F{ye_mode}]]></textFieldExpression>
74 </textField>
75 <staticText>
76 <reportElement x="0" y="110" width="123" height="20"/>
77 <textElement/>
78 <text><![CDATA[Jahr/Epoche:]]></text>
79 </staticText>
80 </band>
81 </title>
82 <columnHeader>
83 <band height="24" splitType="Stretch">
84 <line>
85 <reportElement x="0" y="19" width="515" height="1"/>
86 </line>
87 <staticText>
88 <reportElement x="0" y="0" width="155" height="20"/>
89 <textElement/>
90 <text><![CDATA[Fluss-Km]]></text>
91 </staticText>
92 <textField>
93 <reportElement x="155" y="0" width="150" height="20"/>
94 <textElement markup="none"/>
95 <textFieldExpression><![CDATA[$F{unit}]]></textFieldExpression>
96 </textField>
97 </band>
98 </columnHeader>
99 <detail>
100 <band height="14" splitType="Stretch">
101 <textField isBlankWhenNull="true">
102 <reportElement x="0" y="0" width="155" height="14"/>
103 <textElement/>
104 <textFieldExpression><![CDATA[$F{km}]]></textFieldExpression>
105 </textField>
106 <textField isBlankWhenNull="true">
107 <reportElement x="155" y="0" width="150" height="14"/>
108 <textElement/>
109 <textFieldExpression><![CDATA[$F{meter}]]></textFieldExpression>
110 </textField>
111 </band>
112 </detail>
113 <pageFooter>
114 <band height="29" splitType="Stretch">
115 <textField evaluationTime="Report">
116 <reportElement x="457" y="9" width="57" height="20"/>
117 <textElement/>
118 <textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression>
119 </textField>
120 <textField>
121 <reportElement x="402" y="9" width="55" height="20"/>
122 <textElement textAlignment="Right"/>
123 <textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
124 </textField>
125 </band>
126 </pageFooter>
127 <summary>
128 <band height="42" splitType="Stretch"/>
129 </summary>
130 </jasperReport>

http://dive4elements.wald.intevation.org