<?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="INDIVIDUAL_ITEM_AGENDA_VEICULO"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="595"
		 pageHeight="842"
		 columnWidth="535"
		 columnSpacing="0"
		 leftMargin="30"
		 rightMargin="30"
		 topMargin="20"
		 bottomMargin="20"
		 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="LOGO" isForPrompting="false" class="java.lang.String"/>
	<parameter name="NOME_EMPRESA" isForPrompting="true" class="java.lang.String"/>
	<parameter name="CNPJ_NOME" isForPrompting="true" class="java.lang.String"/>
	<parameter name="INSCRICAO" isForPrompting="true" class="java.lang.String"/>
	<parameter name="DATA_INICIAL" isForPrompting="false" class="java.util.Date"/>
	<parameter name="DATA_FINAL" isForPrompting="false" class="java.util.Date"/>
	<parameter name="INSCRICAO_ESTADUAL_NOME" isForPrompting="false" class="java.lang.String"/>
	<parameter name="LOGO_RELATORIO" isForPrompting="false" class="net.sf.jasperreports.engine.JRImageRenderer"/>
	<parameter name="SUBREPORT_DIR_IND" isForPrompting="false" class="java.lang.String">
		<defaultValueExpression ><![CDATA["D:\\Projetos\\Mentor2\\Mentor Novo\\relatorios\\individuais\\subreports\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="ID_ITEM_AGENDA" isForPrompting="false" class="java.lang.Long"/>
	<parameter name="MOSTRAR_HISTORICO" isForPrompting="false" class="java.lang.Short"/>
	<parameter name="SUBREPORT_DIR" isForPrompting="true" class="java.lang.String">
		<defaultValueExpression ><![CDATA["D:\\Projetos\\Mentor2\\Mentor Novo\\reports\\"]]></defaultValueExpression>
	</parameter>
	<queryString><![CDATA[SELECT

    IAV.id_item_agenda_veiculo,
    IAV.id_agenda_veiculo,
    V.placa,
    V.marca_modelo,
    AV.descricao,
    IAV.data_agendamento,
    IAV.data_realizacao,
    IAV.id_usuario,
    P1.nome AS "NOME_USUARIO",
    IAV.id_pessoa,
    P2.nome AS "NOME_PESSOA",
    IAV.observacao,
    IAV.ID_VEICULO

FROM       item_agenda_veiculo IAV
INNER JOIN VEICULO               V ON V.ID_VEICULO            = IAV.ID_VEICULO
INNER JOIN AGENDA_VEICULO       AV ON AV.id_agenda_veiculo    = IAV.id_agenda_veiculo
INNER JOIN USUARIO               U ON U.id_usuario            = IAV.id_usuario
INNER JOIN PESSOA               P1 ON P1.id_pessoa            = U.id_pessoa
INNER JOIN PESSOA               P2 ON P2.id_pessoa            = IAV.id_pessoa

WHERE IAV.id_item_agenda_veiculo = $P{ID_ITEM_AGENDA}]]></queryString>

	<field name="ID_ITEM_AGENDA_VEICULO" class="java.lang.Integer"/>
	<field name="ID_AGENDA_VEICULO" class="java.lang.Integer"/>
	<field name="PLACA" class="java.lang.String"/>
	<field name="MARCA_MODELO" class="java.lang.String"/>
	<field name="DESCRICAO" class="java.lang.String"/>
	<field name="DATA_AGENDAMENTO" class="java.sql.Date"/>
	<field name="DATA_REALIZACAO" class="java.sql.Date"/>
	<field name="ID_USUARIO" class="java.lang.Integer"/>
	<field name="NOME_USUARIO" class="java.lang.String"/>
	<field name="ID_PESSOA" class="java.lang.Integer"/>
	<field name="NOME_PESSOA" class="java.lang.String"/>
	<field name="OBSERVACAO" class="java.lang.String"/>
	<field name="ID_VEICULO" class="java.lang.Integer"/>

	<variable name="dataRel" class="java.util.Date" resetType="Page" calculation="Nothing">
		<initialValueExpression><![CDATA[new java.util.Date()]]></initialValueExpression>
	</variable>

		<group  name="ItemAgenda" >
			<groupExpression><![CDATA[]]></groupExpression>
			<groupHeader>
			<band height="30"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="3"
						y="0"
						width="55"
						height="10"
						key="staticText-18"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Identificador:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="60"
						y="0"
						width="50"
						height="10"
						key="textField-18"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{ID_ITEM_AGENDA_VEICULO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="3"
						y="10"
						width="55"
						height="10"
						key="staticText-19"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Agendamento:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="60"
						y="10"
						width="50"
						height="10"
						key="textField-19"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{ID_AGENDA_VEICULO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="3"
						y="20"
						width="55"
						height="10"
						key="staticText-20"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Placa:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="60"
						y="20"
						width="50"
						height="10"
						key="textField-20"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{PLACA}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="156"
						y="20"
						width="50"
						height="10"
						key="textField-21"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{MARCA_MODELO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="111"
						y="20"
						width="43"
						height="10"
						key="staticText-34"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Descrição:]]></text>
				</staticText>
				<rectangle>
					<reportElement
						mode="Transparent"
						x="0"
						y="0"
						width="534"
						height="30"
						key="rectangle-2"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.3" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<group  name="Cadastro" >
			<groupExpression><![CDATA[]]></groupExpression>
			<groupHeader>
			<band height="62"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="3"
						y="1"
						width="55"
						height="10"
						key="staticText-21"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Agenda Veículo:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="60"
						y="1"
						width="157"
						height="10"
						key="textField-22"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{DESCRICAO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="3"
						y="11"
						width="55"
						height="10"
						key="staticText-22"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($F{DATA_AGENDAMENTO} != null)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Data Agend.:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="60"
						y="11"
						width="50"
						height="10"
						key="textField-23"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($F{DATA_AGENDAMENTO} != null)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{DATA_AGENDAMENTO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="3"
						y="21"
						width="55"
						height="10"
						key="staticText-23"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Data Realiz.:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" pattern="dd/MM/yyyy" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="60"
						y="21"
						width="50"
						height="10"
						key="textField-24"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($F{DATA_REALIZACAO} != null)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.util.Date"><![CDATA[$F{DATA_REALIZACAO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="241"
						y="0"
						width="81"
						height="10"
						key="staticText-24"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Usuário Agendamento:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="324"
						y="0"
						width="22"
						height="10"
						key="textField-25"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{ID_USUARIO}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="350"
						y="0"
						width="121"
						height="10"
						key="textField-26"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NOME_USUARIO}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="241"
						y="10"
						width="81"
						height="10"
						key="staticText-25"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Pessoa Agendamento:]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="324"
						y="10"
						width="22"
						height="10"
						key="textField-27"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Right">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{ID_PESSOA}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="350"
						y="10"
						width="121"
						height="10"
						key="textField-28"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{NOME_PESSOA}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="0"
						y="30"
						width="535"
						height="10"
						key="staticText-26"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Bold" size="7" isBold="true"/>
					</textElement>
				<text><![CDATA[Observação]]></text>
				</staticText>
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="40"
						width="534"
						height="10"
						key="textField-29"
						stretchType="RelativeToTallestObject"
						positionType="Float"/>
					<box>					<pen lineWidth="0.2" lineStyle="Solid"/>
					<topPen lineWidth="0.2" lineStyle="Solid"/>
					<leftPen lineWidth="0.2" lineStyle="Solid"/>
					<bottomPen lineWidth="0.2" lineStyle="Solid"/>
					<rightPen lineWidth="0.2" lineStyle="Solid"/>
</box>
					<textElement textAlignment="Left">
						<font size="7"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{OBSERVACAO}]]></textFieldExpression>
				</textField>
				<rectangle>
					<reportElement
						x="0"
						y="52"
						width="534"
						height="10"
						key="rectangle-1"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($P{MOSTRAR_HISTORICO}.intValue() == 1)]]></printWhenExpression>
						</reportElement>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.2"/>
</graphicElement>
				</rectangle>
				<staticText>
					<reportElement
						x="5"
						y="52"
						width="61"
						height="10"
						key="staticText-27"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($P{MOSTRAR_HISTORICO}.intValue() == 1)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<text><![CDATA[Identificador]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="67"
						y="52"
						width="80"
						height="10"
						key="staticText-28"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($P{MOSTRAR_HISTORICO}.intValue() == 1)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<text><![CDATA[Agenda Veículo]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="225"
						y="52"
						width="70"
						height="10"
						key="staticText-29"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($P{MOSTRAR_HISTORICO}.intValue() == 1)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<text><![CDATA[Data Agendamento]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="300"
						y="52"
						width="70"
						height="10"
						key="staticText-30"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($P{MOSTRAR_HISTORICO}.intValue() == 1)]]></printWhenExpression>
						</reportElement>
					<box></box>
					<textElement>
						<font size="7"/>
					</textElement>
				<text><![CDATA[Data Realização]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="504"
						y="27"
						width="0"
						height="1"
						key="staticText-31"/>
					<box></box>
					<textElement>
						<font/>
					</textElement>
				<text><![CDATA[Texto Estático]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="346"
						y="0"
						width="5"
						height="10"
						key="staticText-32"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<text><![CDATA[-]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="346"
						y="10"
						width="5"
						height="10"
						key="staticText-33"
						positionType="Float"/>
					<box></box>
					<textElement textAlignment="Center">
						<font size="7"/>
					</textElement>
				<text><![CDATA[-]]></text>
				</staticText>
				<rectangle>
					<reportElement
						mode="Transparent"
						x="0"
						y="0"
						width="534"
						height="30"
						key="rectangle-3"
						positionType="Float"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.3" lineStyle="Solid"/>
</graphicElement>
				</rectangle>
			</band>
			</groupHeader>
			<groupFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
			</groupFooter>
		</group>
		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="55"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="178"
						y="8"
						width="279"
						height="17"
						key="textField-12"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{NOME_EMPRESA}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="182"
						y="32"
						width="27"
						height="12"
						key="staticText-16"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-BoldOblique" size="8" isBold="true" isItalic="true"/>
					</textElement>
				<text><![CDATA[CNPJ :]]></text>
				</staticText>
				<staticText>
					<reportElement
						x="291"
						y="32"
						width="77"
						height="12"
						key="staticText-17"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement>
						<font pdfFontName="Helvetica-BoldOblique" size="8" isBold="true" isItalic="true"/>
					</textElement>
				<text><![CDATA[Inscrição Estadual :]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="210"
						y="32"
						width="80"
						height="12"
						key="textField-15"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Top">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{CNPJ_NOME}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="369"
						y="32"
						width="85"
						height="12"
						key="textField-16"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement verticalAlignment="Top">
						<font size="8"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$P{INSCRICAO_ESTADUAL_NOME}]]></textFieldExpression>
				</textField>
				<line direction="TopDown">
					<reportElement
						x="0"
						y="53"
						width="535"
						height="1"
						key="line-4"/>
					<graphicElement stretchType="NoStretch">
					<pen lineWidth="0.25" lineStyle="Solid"/>
</graphicElement>
				</line>
				<image  onErrorType="Blank" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="0"
						y="0"
						width="154"
						height="52"
						key="image-1"/>
					<box></box>
					<graphicElement stretchType="NoStretch"/>
					<imageExpression class="net.sf.jasperreports.engine.JRRenderable"><![CDATA[$P{LOGO_RELATORIO}]]></imageExpression>
				</image>
			</band>
		</title>
		<pageHeader>
			<band height="14"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						x="0"
						y="0"
						width="535"
						height="14"
						key="staticText-5"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Top">
						<font pdfFontName="Helvetica-Bold" size="10" isBold="true"/>
					</textElement>
				<text><![CDATA[Item Agenda Veículo]]></text>
				</staticText>
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="10"  isSplitAllowed="true" >
				<subreport  isUsingCache="true">
					<reportElement
						x="0"
						y="0"
						width="534"
						height="10"
						key="subreport-1"
						positionType="Float">
							<printWhenExpression><![CDATA[new Boolean($P{MOSTRAR_HISTORICO}.intValue() == 1)]]></printWhenExpression>
						</reportElement>
					<subreportParameter  name="ID_VEICULO">
						<subreportParameterExpression><![CDATA[$F{ID_VEICULO}]]></subreportParameterExpression>
					</subreportParameter>
					<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
					<subreportExpression  class="java.lang.String"><![CDATA[$P{SUBREPORT_DIR_IND} + "SUB_IND_ITEM_AGENDA_VEICULO.jasper"]]></subreportExpression>
				</subreport>
			</band>
		</detail>
		<columnFooter>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnFooter>
		<pageFooter>
			<band height="17"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="505"
						y="0"
						width="11"
						height="15"
						key="textField-8"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<textField isStretchWithOverflow="false" isBlankWhenNull="true" evaluationTime="Report" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="524"
						y="0"
						width="11"
						height="15"
						key="textField-9"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font pdfFontName="Helvetica-Bold" size="9" isBold="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.Integer"><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="516"
						y="0"
						width="8"
						height="15"
						key="staticText-8"/>
					<box>					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
					<textElement textAlignment="Center" verticalAlignment="Middle">
						<font pdfFontName="Helvetica-Bold" isBold="true"/>
					</textElement>
				<text><![CDATA[/]]></text>
				</staticText>
				<textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="RemotePage"  hyperlinkTarget="Self" >
					<reportElement
						x="385"
						y="3"
						width="120"
						height="14"
						forecolor="#0099FF"
						key="textField-17"/>
					<box></box>
					<textElement textAlignment="Center">
						<font pdfFontName="Helvetica-Oblique" size="9" isItalic="true" isUnderline="true"/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA["www.contatosistemas.com"]]></textFieldExpression>
						<hyperlinkReferenceExpression><![CDATA["HTTP://WWW.CONTATOSISTEMAS.COM"]]></hyperlinkReferenceExpression>
				</textField>
			</band>
		</pageFooter>
		<summary>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</summary>
</jasperReport>
