97 lines
4.6 KiB
XML
97 lines
4.6 KiB
XML
<?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="Tb_template" language="groovy" pageWidth="555" pageHeight="802" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="da6f7cff-86dc-4624-b468-4a1cd82ee44f">
|
|
<property name="ireport.zoom" value="1.0"/>
|
|
<property name="ireport.x" value="0"/>
|
|
<property name="ireport.y" value="0"/>
|
|
<parameter name="EXE_EXERCICIO" class="java.lang.Integer"/>
|
|
<parameter name="MUN_CODIGO" class="java.lang.Integer"/>
|
|
<queryString>
|
|
<![CDATA[select id,nome from agtemplate.tb_template where 1 = 1]]>
|
|
</queryString>
|
|
<field name="id" class="java.lang.Integer"/>
|
|
<field name="nome" class="java.lang.String"/>
|
|
<columnHeader>
|
|
<band height="31">
|
|
<staticText>
|
|
<reportElement positionType="Float" mode="Opaque" x="0" y="0" width="555" height="30" backcolor="#E9E9E9" uuid="c2b3210b-4a3f-44c0-8c99-55f096af817e" />
|
|
<box leftPadding="10">
|
|
<bottomPen lineWidth="1.0"/>
|
|
</box>
|
|
<textElement verticalAlignment="Middle" lineSpacing="Single">
|
|
<font fontName="Arial" size="14" isBold="true" pdfFontName="Helvetica-Bold"/>
|
|
<paragraph lineSpacing="Single"/>
|
|
</textElement>
|
|
<text><![CDATA[tb_template]]></text>
|
|
</staticText>
|
|
</band>
|
|
</columnHeader>
|
|
<detail>
|
|
<band height="60" splitType="Stretch">
|
|
<staticText>
|
|
<reportElement positionType="Float" x="0" y="0" width="555" height="20" uuid="7982a95f-71fe-48ee-acfc-4194dacb7427"/>
|
|
<box leftPadding="10">
|
|
<topPen lineWidth="1.0" lineStyle="Double"/>
|
|
<bottomPen lineWidth="1.0" lineStyle="Double"/>
|
|
</box>
|
|
<textElement verticalAlignment="Middle">
|
|
<font fontName="Arial" size="12" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/>
|
|
<paragraph lineSpacing="Single"/>
|
|
</textElement>
|
|
<text><![CDATA[id]]></text>
|
|
</staticText>
|
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
|
<reportElement positionType="Float" x="0" y="20" width="555" height="10" uuid="cd7676af-3d49-41c9-bf77-919a812f8597"/>
|
|
<box topPadding="10" bottomPadding="10"/>
|
|
<textElement textAlignment="Justified" verticalAlignment="Top">
|
|
<font fontName="Arial"/>
|
|
<paragraph lineSpacing="Single"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[$F{id}]]></textFieldExpression>
|
|
</textField>
|
|
<staticText>
|
|
<reportElement positionType="Float" x="0" y="30" width="555" height="20" uuid="bf977995-9fe7-43d4-bb77-13a8ca3f6720"/>
|
|
<box leftPadding="10">
|
|
<topPen lineWidth="1.0" lineStyle="Double"/>
|
|
<bottomPen lineWidth="1.0" lineStyle="Double"/>
|
|
</box>
|
|
<textElement verticalAlignment="Middle">
|
|
<font fontName="Arial" size="12" isBold="true" isUnderline="false" pdfFontName="Helvetica-Bold"/>
|
|
<paragraph lineSpacing="Single"/>
|
|
</textElement>
|
|
<text><![CDATA[nome]]></text>
|
|
</staticText>
|
|
<textField isStretchWithOverflow="true" isBlankWhenNull="true">
|
|
<reportElement positionType="Float" x="0" y="50" width="555" height="10" uuid="15ba1b89-0821-48fa-8e39-b48ba7f6852a"/>
|
|
<box topPadding="10" bottomPadding="10"/>
|
|
<textElement textAlignment="Justified" verticalAlignment="Top">
|
|
<font fontName="Arial"/>
|
|
<paragraph lineSpacing="Single"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[$F{nome}]]></textFieldExpression>
|
|
</textField>
|
|
</band>
|
|
</detail>
|
|
<noData>
|
|
<band height="68">
|
|
<staticText>
|
|
<reportElement positionType="Float" mode="Opaque" x="0" y="30" width="555" height="38"/>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">
|
|
<font fontName="Arial" size="12" isBold="true" pdfFontName="Helvetica-Bold"/>
|
|
</textElement>
|
|
<text><![CDATA[NENHUM REGISTO ENCONTRADO]]></text>
|
|
</staticText>
|
|
<staticText>
|
|
<reportElement positionType="Float" mode="Opaque" x="0" y="0" width="555" height="30" backcolor="#E9E9E9" uuid="89c4ff5b-4350-49d1-a220-b67c9decc1b6" />
|
|
<box leftPadding="10">
|
|
<bottomPen lineWidth="1.0"/>
|
|
</box>
|
|
<textElement verticalAlignment="Middle" lineSpacing="Single">
|
|
<font fontName="Arial" size="14" isBold="true" pdfFontName="Helvetica-Bold"/>
|
|
<paragraph lineSpacing="Single"/>
|
|
</textElement>
|
|
<text><![CDATA[tb_template]]></text>
|
|
</staticText>
|
|
</band>
|
|
</noData>
|
|
</jasperReport>
|