Source

habisoft / jrxml / FichaCadastro_subreport4.jrxml

Full commit
<?xml version="1.0" encoding="UTF-8"  ?>
<!-- Created with iReport - A designer for JasperReports -->
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
<jasperReport
		 name="FichaCadastro_subreport4"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="535"
		 pageHeight="802"
		 columnWidth="535"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="NoPages"
		 isTitleNewPage="false"
		 isSummaryNewPage="false">
	<property name="ireport.scriptlethandling" value="0" />
	<property name="ireport.encoding" value="UTF-8" />
	<import value="java.util.*" />
	<import value="net.sf.jasperreports.engine.*" />
	<import value="net.sf.jasperreports.engine.data.*" />

	<parameter name="DATA_HOJE" isForPrompting="false" class="java.util.Date">
		<defaultValueExpression ><![CDATA[new java.util.Date()]]></defaultValueExpression>
	</parameter>

	<field name="familia.informacoesDeSaude.informacoesAdicionais" class="java.lang.String"/>
	<field name="nome" class="java.lang.String"/>
	<field name="laudoAssistente" class="java.lang.String"/>
	<field name="beneficioPretendido" class="java.lang.String"/>
	<field name="status.nome" class="java.lang.String"/>

		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="400"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="0"
						y="2"
						width="534"
						height="17"
						key="staticText-1"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" pdfFontName="Helvetica-Bold" isBold="true"/>
					</textElement>
				<text><![CDATA[Informações Adicionais:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="19"
						width="534"
						height="78"
						key="textField-1"
						isRemoveLineWhenBlank="true"
						isPrintWhenDetailOverflows="true"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{familia.informacoesDeSaude.informacoesAdicionais}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						mode="Opaque"
						x="0"
						y="96"
						width="534"
						height="18"
						backcolor="#EEEEEE"
						key="staticText-2"/>
					<box leftPadding="1" rightPadding="1" topPadding="1" bottomPadding="1">					<pen lineWidth="0.0" lineColor="#000000"/>
					<topPen lineWidth="0.0" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Declaração do Requerente]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="0"
						y="117"
						width="534"
						height="15"
						key="staticText-3"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma"/>
					</textElement>
				<text><![CDATA[Declaro serem verdadeiras as informações acima expostas, estando ciente das penalidades.]]></text>
				</staticText>
				<line direction="TopDown">
					<reportElement
						x="110"
						y="162"
						width="317"
						height="0"
						key="line-1"/>
					<graphicElement stretchType="NoStretch"/>
				</line>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="164"
						width="533"
						height="14"
						key="textField-2"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{nome}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="-1"
						y="177"
						width="533"
						height="14"
						key="textField-3"/>
					<box></box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["Presidente Kennedy, ES. " + new java.text.SimpleDateFormat("dd/MM/yyyy").format($P{DATA_HOJE})]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						mode="Opaque"
						x="0"
						y="198"
						width="534"
						height="18"
						backcolor="#EEEEEE"
						key="staticText-4"/>
					<box leftPadding="1" rightPadding="1" topPadding="1" bottomPadding="1">					<pen lineWidth="0.0" lineColor="#000000"/>
					<topPen lineWidth="0.0" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center">
						<font fontName="Tahoma" pdfFontName="Helvetica-Bold" size="12" isBold="true"/>
					</textElement>
				<text><![CDATA[Laudo da Assistente Social]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="222"
						width="533"
						height="160"
						key="textField-4"
						isRemoveLineWhenBlank="true"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{laudoAssistente}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="1"
						y="383"
						width="59"
						height="17"
						key="staticText-5"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" pdfFontName="Helvetica-Bold" isBold="true"/>
					</textElement>
				<text><![CDATA[Pretensão:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="279"
						y="383"
						width="51"
						height="17"
						key="staticText-6"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma" pdfFontName="Helvetica-Bold" isBold="true"/>
					</textElement>
				<text><![CDATA[Situação:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="59"
						y="383"
						width="219"
						height="17"
						key="textField-5"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{beneficioPretendido}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="331"
						y="383"
						width="162"
						height="17"
						key="textField-6"/>
					<box></box>
					<textElement>
						<font fontName="Tahoma"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{status.nome}]]></textFieldExpression>
				</textField>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>