Subversion Repositories Sigmater

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 Andrea 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="sampleReport" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
3
	<property name="ireport.scriptlethandling" value="0"/>
4
	<import value="net.sf.jasperreports.engine.*"/>
5
	<import value="java.util.*"/>
6
	<import value="net.sf.jasperreports.engine.data.*"/>
7
	<reportFont name="Arial_Normal" isDefault="true" fontName="Arial" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
8
	<reportFont name="Arial_Bold" isDefault="false" fontName="Arial" size="8" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
9
	<parameter name="DenominazioneComune" class="java.lang.String"/>
10
	<parameter name="ProvinciaComune" class="java.lang.String"/>
11
	<parameter name="BelfioreComune" class="java.lang.String"/>
12
	<parameter name="Data" class="java.util.Date"/>
13
	<field name="subReport" class="net.sf.jasperreports.engine.JasperReport"/>
14
	<field name="beans" class="java.util.Collection"/>
15
	<field name="sezione" class="java.lang.String"/>
16
	<field name="foglio" class="java.lang.String"/>
17
	<field name="allegato" class="java.lang.String"/>
18
	<field name="sviluppo" class="java.lang.String"/>
19
	<background>
20
		<band splitType="Stretch"/>
21
	</background>
22
	<title>
23
		<band height="42" splitType="Stretch">
24
			<staticText>
25
				<reportElement x="1" y="0" width="801" height="42"/>
26
				<textElement verticalAlignment="Middle">
27
					<font size="24" isBold="true" pdfFontName="Helvetica-Bold"/>
28
				</textElement>
29
				<text><![CDATA[Report estrazione cartografia]]></text>
30
			</staticText>
31
		</band>
32
	</title>
33
	<pageHeader>
34
		<band height="70" splitType="Stretch">
35
			<staticText>
36
				<reportElement key="staticText" mode="Transparent" x="615" y="0" width="120" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
37
				<box>
38
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
39
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
40
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
41
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
42
				</box>
43
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
44
					<font size="12" isBold="false"/>
45
				</textElement>
46
				<text><![CDATA[Belfiore del comune:]]></text>
47
			</staticText>
48
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
49
				<reportElement key="textField-1" mode="Transparent" x="735" y="0" width="68" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
50
				<box>
51
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
52
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
53
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
54
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
55
				</box>
56
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
57
					<font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
58
				</textElement>
59
				<textFieldExpression class="java.lang.String"><![CDATA[$P{BelfioreComune}]]></textFieldExpression>
60
			</textField>
61
			<staticText>
62
				<reportElement key="staticText" mode="Transparent" x="1" y="0" width="175" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
63
				<box>
64
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
65
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
66
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
67
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
68
				</box>
69
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
70
					<font size="12" isBold="false"/>
71
				</textElement>
72
				<text><![CDATA[Denominazione del comune:]]></text>
73
			</staticText>
74
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
75
				<reportElement key="textField-1" mode="Transparent" x="176" y="0" width="305" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
76
				<box>
77
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
78
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
79
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
80
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
81
				</box>
82
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
83
					<font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
84
				</textElement>
85
				<textFieldExpression class="java.lang.String"><![CDATA[$P{DenominazioneComune}]]></textFieldExpression>
86
			</textField>
87
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
88
				<reportElement key="textField-1" mode="Transparent" x="560" y="0" width="41" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
89
				<box>
90
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
91
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
92
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
93
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
94
				</box>
95
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
96
					<font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
97
				</textElement>
98
				<textFieldExpression class="java.lang.String"><![CDATA[$P{ProvinciaComune}]]></textFieldExpression>
99
			</textField>
100
			<staticText>
101
				<reportElement key="staticText" mode="Transparent" x="481" y="0" width="79" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
102
				<box>
103
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
104
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
105
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
106
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
107
				</box>
108
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
109
					<font size="12" isBold="false"/>
110
				</textElement>
111
				<text><![CDATA[Provincia di:]]></text>
112
			</staticText>
113
			<textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
114
				<reportElement key="textField-1" mode="Transparent" x="194" y="21" width="147" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
115
				<box>
116
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
117
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
118
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
119
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
120
				</box>
121
				<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
122
					<font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
123
				</textElement>
124
				<textFieldExpression class="java.lang.String"><![CDATA[new java.text.SimpleDateFormat("dd/MM/yyyy").format($P{Data})]]></textFieldExpression>
125
			</textField>
126
			<staticText>
127
				<reportElement key="staticText" mode="Transparent" x="1" y="21" width="193" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
128
				<box>
129
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
130
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
131
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
132
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
133
				</box>
134
				<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
135
					<font size="12" isBold="false" isItalic="false"/>
136
				</textElement>
137
				<text><![CDATA[Data di riferimento dell'estrazione:]]></text>
138
			</staticText>
139
		</band>
140
	</pageHeader>
141
	<columnHeader>
142
		<band height="7" splitType="Stretch"/>
143
	</columnHeader>
144
	<detail>
145
		<band height="63" splitType="Stretch">
146
			<subreport>
147
				<reportElement x="0" y="0" width="802" height="41"/>
148
				<subreportParameter name="allegato">
149
					<subreportParameterExpression><![CDATA[$F{allegato}]]></subreportParameterExpression>
150
				</subreportParameter>
151
				<subreportParameter name="foglio">
152
					<subreportParameterExpression><![CDATA[$F{foglio}]]></subreportParameterExpression>
153
				</subreportParameter>
154
				<subreportParameter name="sezione">
155
					<subreportParameterExpression><![CDATA[$F{sezione}]]></subreportParameterExpression>
156
				</subreportParameter>
157
				<subreportParameter name="sviluppo">
158
					<subreportParameterExpression><![CDATA[$F{sviluppo}]]></subreportParameterExpression>
159
				</subreportParameter>
160
				<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{beans})]]></dataSourceExpression>
161
				<subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$F{subReport}]]></subreportExpression>
162
			</subreport>
163
			<break>
164
				<reportElement x="0" y="51" width="100" height="1"/>
165
			</break>
166
		</band>
167
	</detail>
168
	<columnFooter>
169
		<band splitType="Stretch"/>
170
	</columnFooter>
171
	<pageFooter>
172
		<band height="29" splitType="Stretch">
173
			<textField pattern="EEEEE dd MMMMM yyyy">
174
				<reportElement x="8" y="6" width="186" height="20"/>
175
				<textElement/>
176
				<textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
177
			</textField>
178
			<textField>
179
				<reportElement x="672" y="6" width="80" height="20"/>
180
				<textElement textAlignment="Right"/>
181
				<textFieldExpression class="java.lang.String"><![CDATA["Pagina "+$V{PAGE_NUMBER}+" di"]]></textFieldExpression>
182
			</textField>
183
			<textField evaluationTime="Report">
184
				<reportElement x="757" y="6" width="40" height="20"/>
185
				<textElement/>
186
				<textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
187
			</textField>
188
		</band>
189
	</pageFooter>
190
	<summary>
191
		<band height="42" splitType="Stretch"/>
192
	</summary>
193
</jasperReport>