Subversion Repositories Sigmater

Rev

Blame | Last modification | View Log | Download | RSS feed

<?xml version="1.0" encoding="UTF-8"?>
<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">
        <property name="ireport.scriptlethandling" value="0"/>
        <import value="net.sf.jasperreports.engine.*"/>
        <import value="java.util.*"/>
        <import value="net.sf.jasperreports.engine.data.*"/>
        <reportFont name="Arial_Normal" isDefault="true" fontName="Arial" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
        <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"/>
        <parameter name="DenominazioneComune" class="java.lang.String"/>
        <parameter name="ProvinciaComune" class="java.lang.String"/>
        <parameter name="BelfioreComune" class="java.lang.String"/>
        <parameter name="Data" class="java.util.Date"/>
        <field name="subReport" class="net.sf.jasperreports.engine.JasperReport"/>
        <field name="beans" class="java.util.Collection"/>
        <field name="sezione" class="java.lang.String"/>
        <field name="foglio" class="java.lang.String"/>
        <field name="allegato" class="java.lang.String"/>
        <field name="sviluppo" class="java.lang.String"/>
        <background>
                <band splitType="Stretch"/>
        </background>
        <title>
                <band height="42" splitType="Stretch">
                        <staticText>
                                <reportElement x="1" y="0" width="801" height="42"/>
                                <textElement verticalAlignment="Middle">
                                        <font size="24" isBold="true" pdfFontName="Helvetica-Bold"/>
                                </textElement>
                                <text><![CDATA[Report estrazione cartografia]]></text>
                        </staticText>
                </band>
        </title>
        <pageHeader>
                <band height="70" splitType="Stretch">
                        <staticText>
                                <reportElement key="staticText" mode="Transparent" x="615" y="0" width="120" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font size="12" isBold="false"/>
                                </textElement>
                                <text><![CDATA[Belfiore del comune:]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
                                <reportElement key="textField-1" mode="Transparent" x="735" y="0" width="68" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
                                </textElement>
                                <textFieldExpression class="java.lang.String"><![CDATA[$P{BelfioreComune}]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement key="staticText" mode="Transparent" x="1" y="0" width="175" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font size="12" isBold="false"/>
                                </textElement>
                                <text><![CDATA[Denominazione del comune:]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
                                <reportElement key="textField-1" mode="Transparent" x="176" y="0" width="305" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
                                </textElement>
                                <textFieldExpression class="java.lang.String"><![CDATA[$P{DenominazioneComune}]]></textFieldExpression>
                        </textField>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
                                <reportElement key="textField-1" mode="Transparent" x="560" y="0" width="41" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
                                </textElement>
                                <textFieldExpression class="java.lang.String"><![CDATA[$P{ProvinciaComune}]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement key="staticText" mode="Transparent" x="481" y="0" width="79" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font size="12" isBold="false"/>
                                </textElement>
                                <text><![CDATA[Provincia di:]]></text>
                        </staticText>
                        <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false">
                                <reportElement key="textField-1" mode="Transparent" x="194" y="21" width="147" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font fontName="Arial" size="13" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" pdfEncoding="Cp1252" isPdfEmbedded="false"/>
                                </textElement>
                                <textFieldExpression class="java.lang.String"><![CDATA[new java.text.SimpleDateFormat("dd/MM/yyyy").format($P{Data})]]></textFieldExpression>
                        </textField>
                        <staticText>
                                <reportElement key="staticText" mode="Transparent" x="1" y="21" width="193" height="21" forecolor="#000000" backcolor="#FFFFFF"/>
                                <box>
                                        <topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                        <rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
                                </box>
                                <textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
                                        <font size="12" isBold="false" isItalic="false"/>
                                </textElement>
                                <text><![CDATA[Data di riferimento dell'estrazione:]]></text>
                        </staticText>
                </band>
        </pageHeader>
        <columnHeader>
                <band height="7" splitType="Stretch"/>
        </columnHeader>
        <detail>
                <band height="63" splitType="Stretch">
                        <subreport>
                                <reportElement x="0" y="0" width="802" height="41"/>
                                <subreportParameter name="allegato">
                                        <subreportParameterExpression><![CDATA[$F{allegato}]]></subreportParameterExpression>
                                </subreportParameter>
                                <subreportParameter name="foglio">
                                        <subreportParameterExpression><![CDATA[$F{foglio}]]></subreportParameterExpression>
                                </subreportParameter>
                                <subreportParameter name="sezione">
                                        <subreportParameterExpression><![CDATA[$F{sezione}]]></subreportParameterExpression>
                                </subreportParameter>
                                <subreportParameter name="sviluppo">
                                        <subreportParameterExpression><![CDATA[$F{sviluppo}]]></subreportParameterExpression>
                                </subreportParameter>
                                <dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{beans})]]></dataSourceExpression>
                                <subreportExpression class="net.sf.jasperreports.engine.JasperReport"><![CDATA[$F{subReport}]]></subreportExpression>
                        </subreport>
                        <break>
                                <reportElement x="0" y="51" width="100" height="1"/>
                        </break>
                </band>
        </detail>
        <columnFooter>
                <band splitType="Stretch"/>
        </columnFooter>
        <pageFooter>
                <band height="29" splitType="Stretch">
                        <textField pattern="EEEEE dd MMMMM yyyy">
                                <reportElement x="8" y="6" width="186" height="20"/>
                                <textElement/>
                                <textFieldExpression class="java.util.Date"><![CDATA[new java.util.Date()]]></textFieldExpression>
                        </textField>
                        <textField>
                                <reportElement x="672" y="6" width="80" height="20"/>
                                <textElement textAlignment="Right"/>
                                <textFieldExpression class="java.lang.String"><![CDATA["Pagina "+$V{PAGE_NUMBER}+" di"]]></textFieldExpression>
                        </textField>
                        <textField evaluationTime="Report">
                                <reportElement x="757" y="6" width="40" height="20"/>
                                <textElement/>
                                <textFieldExpression class="java.lang.String"><![CDATA[" " + $V{PAGE_NUMBER}]]></textFieldExpression>
                        </textField>
                </band>
        </pageFooter>
        <summary>
                <band height="42" splitType="Stretch"/>
        </summary>
</jasperReport>