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