<?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="SUB_IND_ENDERECO"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="535"
		 pageHeight="842"
		 columnWidth="535"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 whenNoDataType="AllSectionsNoDetail"
		 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.*" />


	<field name="bairro" class="java.lang.String">
		<fieldDescription><![CDATA[bairro]]></fieldDescription>
	</field>
	<field name="cep" class="java.lang.String">
		<fieldDescription><![CDATA[cep]]></fieldDescription>
	</field>
	<field name="cidade" class="java.lang.String">
		<fieldDescription><![CDATA[cidade.descricao]]></fieldDescription>
	</field>
	<field name="codigoEstado" class="java.lang.String">
		<fieldDescription><![CDATA[cidade.uf.codIbge]]></fieldDescription>
	</field>
	<field name="codigoMunicipio" class="java.lang.String">
		<fieldDescription><![CDATA[cidade.codIbge]]></fieldDescription>
	</field>
	<field name="codigoPais" class="java.lang.String">
		<fieldDescription><![CDATA[cidade.uf.pais.codIbge]]></fieldDescription>
	</field>
	<field name="complemento" class="java.lang.String">
		<fieldDescription><![CDATA[complemento]]></fieldDescription>
	</field>
	<field name="logradouro" class="java.lang.String">
		<fieldDescription><![CDATA[logradouro]]></fieldDescription>
	</field>
	<field name="numero" class="java.lang.String">
		<fieldDescription><![CDATA[numero]]></fieldDescription>
	</field>
	<field name="sigla" class="java.lang.String">
		<fieldDescription><![CDATA[cidade.uf.sigla]]></fieldDescription>
	</field>
	<field name="nome_pais" class="java.lang.String">
		<fieldDescription><![CDATA[cidade.uf.pais.descricao]]></fieldDescription>
	</field>

		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</title>
		<pageHeader>
			<band height="10"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						mode="Transparent"
						x="-2"
						y="0"
						width="535"
						height="10"
						forecolor="#000000"
						backcolor="#FFFFFF"
						key="staticText-12"
						positionType="Float"/>
					<box>					<pen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
					<topPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.25" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
						<font fontName="SansSerif" pdfFontName="Helvetica-Bold" size="7" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
					</textElement>
				<text><![CDATA[Endereço]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="69"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="17"
						y="2"
						width="56"
						height="10"
						key="staticText-1"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[CEP:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="17"
						y="13"
						width="56"
						height="10"
						key="staticText-2"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Endereço:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="301"
						y="13"
						width="38"
						height="10"
						key="staticText-3"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Nº:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="283"
						y="35"
						width="56"
						height="10"
						key="staticText-4"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[UF:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="301"
						y="24"
						width="38"
						height="10"
						key="staticText-5"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Cidade:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="17"
						y="24"
						width="56"
						height="10"
						key="staticText-6"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Bairro:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="80"
						y="2"
						width="77"
						height="10"
						key="textField-1"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{cep}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="80"
						y="24"
						width="191"
						height="10"
						key="textField-2"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{bairro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="80"
						y="13"
						width="216"
						height="10"
						key="textField-3"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{logradouro}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="346"
						y="13"
						width="180"
						height="10"
						key="textField-4"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{numero}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="346"
						y="24"
						width="180"
						height="10"
						key="textField-5"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{cidade}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="346"
						y="35"
						width="89"
						height="10"
						key="textField-6"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{sigla}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="266"
						y="59"
						width="73"
						height="10"
						key="staticText-7"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Código País:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="-2"
						y="59"
						width="75"
						height="10"
						key="staticText-8"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Código Estado:]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="266"
						y="48"
						width="73"
						height="10"
						key="staticText-9"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Código Município:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="79"
						y="59"
						width="100"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{codigoEstado}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="346"
						y="48"
						width="100"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{codigoMunicipio}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="347"
						y="59"
						width="100"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{codigoPais}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="8"
						y="35"
						width="65"
						height="10"
						key="staticText-10"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Complemento:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="80"
						y="35"
						width="203"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{complemento}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="-2"
						y="47"
						width="75"
						height="10"
						key="staticText-11"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[País:]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="80"
						y="47"
						width="178"
						height="10"
						key="textField"/>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{nome_pais}]]></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>
