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="SubreportParticelleRimosse" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30">
3
	<parameter name="differenceTypeAsString" class="java.lang.String"/>
4
	<field name="numFiduciale" class="java.lang.String"/>
5
	<field name="dataAggiornamento" class="java.util.Date"/>
6
	<field name="dataFine" class="java.util.Date"/>
7
	<field name="tipoFiduciale" class="java.lang.Integer"/>
8
	<variable name="record_COUNT" class="java.lang.Integer" calculation="Count">
9
		<variableExpression><![CDATA[$F{numFiduciale}]]></variableExpression>
10
		<initialValueExpression><![CDATA[new java.lang.Integer(0)]]></initialValueExpression>
11
	</variable>
12
	<background>
13
		<band splitType="Stretch"/>
14
	</background>
15
	<title>
16
		<band height="20" splitType="Stretch">
17
			<rectangle>
18
				<reportElement x="0" y="0" width="555" height="20" forecolor="#FFB100" backcolor="#FFB100"/>
19
			</rectangle>
20
			<textField>
21
				<reportElement x="0" y="0" width="474" height="20"/>
22
				<textElement verticalAlignment="Middle">
23
					<font size="12" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/>
24
				</textElement>
25
				<textFieldExpression class="java.lang.String"><![CDATA["Elenco fiduciali " + ($P{differenceTypeAsString}.equals("rimosso") ? "rimossi": $P{differenceTypeAsString}.equals("aggiunto") ? "aggiunti" : "modificati")]]></textFieldExpression>
26
			</textField>
27
		</band>
28
	</title>
29
	<pageHeader>
30
		<band height="20" splitType="Stretch">
31
			<textField>
32
				<reportElement x="0" y="0" width="248" height="20">
33
					<printWhenExpression><![CDATA[Boolean.valueOf($V{PAGE_NUMBER}.intValue() > 1)]]></printWhenExpression>
34
				</reportElement>
35
				<textElement verticalAlignment="Middle">
36
					<font size="12" isBold="true" pdfFontName="Helvetica-Bold" isPdfEmbedded="false"/>
37
				</textElement>
38
				<textFieldExpression class="java.lang.String"><![CDATA["...continua fiduciali " + ($P{differenceTypeAsString}.equals("rimosso") ? "rimossi": $P{differenceTypeAsString}.equals("aggiunto") ? "aggiunti" : "modificati")]]></textFieldExpression>
39
			</textField>
40
		</band>
41
	</pageHeader>
42
	<columnHeader>
43
		<band height="20" splitType="Stretch">
44
			<staticText>
45
				<reportElement x="0" y="0" width="100" height="20"/>
46
				<textElement textAlignment="Left" verticalAlignment="Middle">
47
					<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
48
				</textElement>
49
				<text><![CDATA[Numero]]></text>
50
			</staticText>
51
			<staticText>
52
				<reportElement x="200" y="0" width="135" height="20"/>
53
				<textElement textAlignment="Left" verticalAlignment="Middle">
54
					<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
55
				</textElement>
56
				<text><![CDATA[Data aggiornamento]]></text>
57
			</staticText>
58
			<staticText>
59
				<reportElement x="335" y="0" width="116" height="20"/>
60
				<textElement textAlignment="Left" verticalAlignment="Middle">
61
					<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
62
				</textElement>
63
				<text><![CDATA[Data fine validità]]></text>
64
			</staticText>
65
			<staticText>
66
				<reportElement x="100" y="0" width="100" height="20"/>
67
				<textElement textAlignment="Left" verticalAlignment="Middle">
68
					<font size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
69
				</textElement>
70
				<text><![CDATA[Tipo fiduciale]]></text>
71
			</staticText>
72
		</band>
73
	</columnHeader>
74
	<detail>
75
		<band height="20" splitType="Stretch">
76
			<textField>
77
				<reportElement x="0" y="0" width="100" height="20"/>
78
				<textElement/>
79
				<textFieldExpression class="java.lang.String"><![CDATA[$F{numFiduciale}]]></textFieldExpression>
80
			</textField>
81
			<textField pattern="" isBlankWhenNull="false">
82
				<reportElement x="100" y="0" width="100" height="20"/>
83
				<textElement/>
84
				<textFieldExpression class="java.lang.Integer"><![CDATA[$F{tipoFiduciale}]]></textFieldExpression>
85
			</textField>
86
			<textField>
87
				<reportElement x="200" y="0" width="100" height="20"/>
88
				<textElement/>
89
				<textFieldExpression class="java.lang.String"><![CDATA[new java.text.SimpleDateFormat("dd/MM/yyyy").format($F{dataAggiornamento})]]></textFieldExpression>
90
			</textField>
91
			<textField>
92
				<reportElement x="335" y="0" width="100" height="20"/>
93
				<textElement/>
94
				<textFieldExpression class="java.lang.String"><![CDATA[new java.text.SimpleDateFormat("yyyy").format($F{dataFine}).equals("9999") ? "-" : new java.text.SimpleDateFormat("dd/MM/yyyy").format($F{dataFine})]]></textFieldExpression>
95
			</textField>
96
		</band>
97
	</detail>
98
	<columnFooter>
99
		<band splitType="Stretch"/>
100
	</columnFooter>
101
	<pageFooter>
102
		<band splitType="Stretch"/>
103
	</pageFooter>
104
	<summary>
105
		<band height="20" splitType="Stretch">
106
			<rectangle>
107
				<reportElement x="0" y="0" width="555" height="20" forecolor="#FFB100" backcolor="#FFB100"/>
108
			</rectangle>
109
			<textField>
110
				<reportElement x="200" y="0" width="100" height="20"/>
111
				<textElement verticalAlignment="Middle">
112
					<font isBold="true" pdfFontName="Helvetica-Bold"/>
113
				</textElement>
114
				<textFieldExpression class="java.lang.Integer"><![CDATA[$V{record_COUNT}]]></textFieldExpression>
115
			</textField>
116
			<textField>
117
				<reportElement x="0" y="0" width="200" height="20"/>
118
				<textElement verticalAlignment="Middle">
119
					<font isBold="true" pdfFontName="Helvetica-Bold"/>
120
				</textElement>
121
				<textFieldExpression class="java.lang.String"><![CDATA["Totale fiduciali " + ($P{differenceTypeAsString}.equals("rimosso") ? "rimossi": $P{differenceTypeAsString}.equals("aggiunto") ? "aggiunti" : "modificati") + ": "]]></textFieldExpression>
122
			</textField>
123
		</band>
124
	</summary>
125
</jasperReport>