<?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="report name" language="groovy" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="557" leftMargin="19" rightMargin="19" topMargin="14" bottomMargin="14">
	<property name="ireport.zoom" value="1.5"/>
	<property name="ireport.x" value="255"/>
	<property name="ireport.y" value="0"/>
	<style name="table">
		<box topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0">
			<pen lineWidth="1.0" lineColor="#000000"/>
			<topPen lineWidth="0.0"/>
			<leftPen lineWidth="0.5"/>
			<bottomPen lineWidth="0.5" lineStyle="Dotted"/>
			<rightPen lineWidth="0.5"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#8FAFCC">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#012B77" radius="3">
		<pen lineWidth="1.0"/>
		<box bottomPadding="0">
			<pen lineWidth="0.5" lineColor="#000000"/>
			<topPen lineStyle="Double"/>
			<leftPen lineStyle="Double"/>
			<bottomPen lineStyle="Double"/>
			<rightPen lineStyle="Double"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TH" mode="Opaque" backcolor="#73B0E6">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_CH" mode="Opaque" backcolor="#CFDBE6">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 2_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 3">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 3_TH" mode="Opaque" backcolor="#00008B">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 3_CH" mode="Opaque" backcolor="#E6E6FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 3_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 4">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 4_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 4_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 4_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 5">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 5_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 5_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 5_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 6">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 6_TH" mode="Opaque" backcolor="#0101C5">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 6_CH" mode="Opaque" backcolor="#E6EFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 6_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 7">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 7_TH" mode="Opaque" backcolor="#0000FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 7_CH" mode="Opaque" backcolor="#E6E6FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 7_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 8">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 8_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 8_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 8_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 9">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 9_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 9_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 9_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 10">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 10_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 10_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 10_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 11">
		<box>
			<pen lineWidth="1.0" lineColor="#FFFFFF"/>
		</box>
	</style>
	<style name="table 11_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#FFFFFF"/>
		</box>
	</style>
	<style name="table 11_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#FFFFFF"/>
		</box>
	</style>
	<style name="table 11_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#FFFFFF"/>
		</box>
	</style>
	<subDataset name="Dataset Item Cotacao">
		<field name="numeracao" class="java.lang.Integer"/>
		<field name="produto.nome" class="java.lang.String"/>
		<field name="produto.descricao" class="java.lang.String"/>
		<field name="unidadeMedida.nome" class="java.lang.String"/>
		<field name="qtde" class="java.math.BigDecimal"/>
		<field name="dataLimiteColetaPreco.time" class="java.util.Date"/>
		<field name="prazoEntrega" class="java.lang.Integer"/>
		<field name="tipoMovimentacao.nome" class="java.lang.String"/>
		<field name="infAdProd" class="java.lang.String"/>
	</subDataset>
	<parameter name="SR_OPER" class="java.lang.Object"/>
	<parameter name="usuario" class="java.lang.Object"/>
	<parameter name="logo" class="java.io.InputStream"/>
	<field name="empresa" class="java.lang.Object"/>
	<field name="empresa.cnpj" class="java.lang.String"/>
	<field name="empresa.nome" class="java.lang.String"/>
	<field name="empresa.email" class="java.lang.String"/>
	<field name="empresa.telefone" class="java.lang.String"/>
	<field name="nome" class="java.lang.String"/>
	<field name="dataEmissao.time" class="java.util.Date"/>
	<field name="comprador.nome" class="java.lang.String"/>
	<field name="comprador.email" class="java.lang.String"/>
	<field name="dataLimiteColetaPreco.time" class="java.util.Date"/>
	<field name="comprador.telefoneFax" class="java.lang.String"/>
	<field name="itensCotacaoCompra" class="java.util.List"/>
	<field name="observacoes" class="java.lang.String"/>
	<field name="empresa.enderecoCompleto" class="java.lang.String"/>
	<field name="empresa.inscricaoEstadual" class="java.lang.String"/>
	<variable name="email" class="java.lang.String">
		<variableExpression><![CDATA[$P{usuario}.getEmail()]]></variableExpression>
	</variable>
	<variable name="nome" class="java.lang.String">
		<variableExpression><![CDATA[$P{usuario}.getNome()]]></variableExpression>
	</variable>
	<variable name="ULTIMA_PAGINA" class="java.lang.String">
		<variableExpression><![CDATA[$V{PAGE_NUMBER}]]></variableExpression>
	</variable>
	<variable name="dataatual" class="java.util.Date">
		<variableExpression><![CDATA[new java.util.Date()]]></variableExpression>
	</variable>
	<pageHeader>
		<band height="52">
			<elementGroup/>
			<textField>
				<reportElement x="395" y="0" width="162" height="18" forecolor="#333333"/>
				<box>
					<pen lineWidth="1.0"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement textAlignment="Right" verticalAlignment="Top">
					<font fontName="SansSerif" size="10" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["COTAÇÃO: "+$F{nome}]]></textFieldExpression>
			</textField>
			<image isUsingCache="true">
				<reportElement x="0" y="0" width="126" height="40"/>
				<box>
					<rightPen lineWidth="0.0"/>
				</box>
				<imageExpression class="java.io.InputStream"><![CDATA[$P{logo}]]></imageExpression>
			</image>
			<textField>
				<reportElement x="139" y="0" width="305" height="10" forecolor="#333333"/>
				<box leftPadding="5"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="7" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{empresa.nome}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="139" y="10" width="305" height="10" forecolor="#666666"/>
				<box leftPadding="5"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["CNPJ: "+$F{empresa.cnpj}+" - Inscrição Estadual: "+$F{empresa.inscricaoEstadual}]]></textFieldExpression>
			</textField>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="139" y="20" width="352" height="10" forecolor="#666666"/>
				<box leftPadding="5"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{empresa.enderecoCompleto}+"  "]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement positionType="Float" x="139" y="40" width="305" height="10" forecolor="#666666"/>
				<box leftPadding="5"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["E-mail: "+$F{empresa.email}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy" isBlankWhenNull="true">
				<reportElement x="444" y="18" width="113" height="12" isPrintWhenDetailOverflows="true" forecolor="#333333"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="SansSerif" size="6" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{dataEmissao.time}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement positionType="Float" x="0" y="51" width="555" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="202" y="30" width="353" height="10" forecolor="#333333">
					<printWhenExpression><![CDATA[$F{comprador.nome}]]></printWhenExpression>
				</reportElement>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="SansSerif" size="6" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Comprador: "+$F{comprador.nome}+
($F{comprador.email} ?" - "+$F{comprador.email} : "")]]></textFieldExpression>
			</textField>
			<textField isBlankWhenNull="true">
				<reportElement positionType="Float" x="139" y="30" width="352" height="10" forecolor="#666666"/>
				<box leftPadding="5"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Telefone(s): "+$F{empresa.telefone}]]></textFieldExpression>
			</textField>
		</band>
	</pageHeader>
	<detail>
		<band height="57" splitType="Stretch">
			<line>
				<reportElement x="0" y="20" width="557" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<textField>
				<reportElement x="14" y="37" width="364" height="12" forecolor="#666666"/>
				<textElement>
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Comprador:  "+$F{comprador.nome} +($F{comprador.email} ?  " | " + $F{comprador.email} : "") + ($F{comprador.telefoneFax} ? " | " + $F{comprador.telefoneFax} : "")]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="14" y="0" width="140" height="20" forecolor="#333333"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="11" isBold="true" isUnderline="false"/>
				</textElement>
				<text><![CDATA[Dados da cotação]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="55" width="557" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="88" y="25" width="289" height="12" forecolor="#666666"/>
				<textElement>
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{dataEmissao.time}]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="14" y="25" width="74" height="12" forecolor="#666666"/>
				<textElement>
					<font fontName="DejaVu Sans" size="8"/>
				</textElement>
				<text><![CDATA[Data de emissão:]]></text>
			</staticText>
		</band>
		<band height="59">
			<printWhenExpression><![CDATA[$F{itensCotacaoCompra}]]></printWhenExpression>
			<componentElement>
				<reportElement key="" x="0" y="20" width="557" height="38" forecolor="#FF0000" backcolor="#524B8F"/>
				<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
					<datasetRun subDataset="Dataset Item Cotacao">
						<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($F{itensCotacaoCompra})]]></dataSourceExpression>
					</datasetRun>
					<jr:column width="24">
						<jr:tableHeader height="21" rowSpan="1">
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="24" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.0" lineStyle="Solid"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.2" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Item]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<box>
								<topPen lineWidth="0.0"/>
								<rightPen lineWidth="0.0"/>
							</box>
							<textField isStretchWithOverflow="true">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="24" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{numeracao}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="41">
						<jr:tableHeader height="21" rowSpan="1">
							<box>
								<pen lineColor="#FFFFFF"/>
								<topPen lineColor="#FFFFFF"/>
								<leftPen lineColor="#FFFFFF"/>
								<bottomPen lineColor="#FFFFFF"/>
								<rightPen lineColor="#FFFFFF"/>
							</box>
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="41" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Produto]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<box>
								<topPen lineWidth="0.0"/>
								<leftPen lineWidth="0.0" lineStyle="Solid"/>
								<bottomPen lineWidth="0.0" lineStyle="Solid"/>
								<rightPen lineWidth="0.0"/>
							</box>
							<textField isStretchWithOverflow="true">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="41" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{produto.nome}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="169">
						<jr:tableHeader height="21" rowSpan="1">
							<box>
								<pen lineColor="#FFFFFF"/>
								<topPen lineColor="#FFFFFF"/>
								<leftPen lineColor="#FFFFFF"/>
								<bottomPen lineColor="#FFFFFF"/>
								<rightPen lineColor="#FFFFFF"/>
							</box>
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="169" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Left" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Descrição]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<box>
								<topPen lineWidth="0.0"/>
								<leftPen lineWidth="0.0"/>
								<rightPen lineWidth="0.0"/>
							</box>
							<textField isStretchWithOverflow="true">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="169" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Left" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{produto.descricao}]]></textFieldExpression>
							</textField>
							<textField isStretchWithOverflow="true">
								<reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="169" height="18" forecolor="#666666">
									<printWhenExpression><![CDATA[$F{infAdProd}]]></printWhenExpression>
								</reportElement>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Left" verticalAlignment="Middle">
									<font fontName="DejaVu Sans" size="7"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{produto.descricao}+" - "+$F{infAdProd}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="50">
						<jr:tableHeader height="21" rowSpan="1">
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="50" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Unidade]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<textField>
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="50" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="DejaVu Sans" size="7"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{unidadeMedida.nome}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="39">
						<jr:tableHeader height="21" rowSpan="1">
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="39" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Qtde]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<textField pattern="###0.000" isBlankWhenNull="false">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="39" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7"/>
								</textElement>
								<textFieldExpression class="java.math.BigDecimal"><![CDATA[$F{qtde}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="58">
						<jr:tableHeader height="21" rowSpan="1">
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="58" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Data limite para coleta de preços]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<textField pattern="dd/MM/yyyy">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="58" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7"/>
								</textElement>
								<textFieldExpression class="java.util.Date"><![CDATA[$F{dataLimiteColetaPreco.time}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="64">
						<jr:tableHeader height="21" rowSpan="1">
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="64" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.2" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Prazo entrega (dias) ]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<textField isStretchWithOverflow="true">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="64" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7" isBold="false"/>
								</textElement>
								<textFieldExpression class="java.lang.Integer"><![CDATA[$F{prazoEntrega}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
					<jr:column width="112">
						<jr:tableHeader height="21" rowSpan="1">
							<staticText>
								<reportElement mode="Opaque" x="0" y="0" width="112" height="20" forecolor="#333333" backcolor="#F2F6FA"/>
								<box>
									<pen lineWidth="1.0" lineStyle="Solid"/>
									<topPen lineWidth="0.5" lineStyle="Solid"/>
									<leftPen lineWidth="0.2" lineStyle="Solid" lineColor="#FFFFFF"/>
									<bottomPen lineWidth="0.5" lineStyle="Solid"/>
									<rightPen lineWidth="0.0" lineStyle="Solid"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Tipo de movimentação]]></text>
							</staticText>
						</jr:tableHeader>
						<jr:detailCell height="18" rowSpan="1">
							<textField isStretchWithOverflow="true" pattern="">
								<reportElement stretchType="RelativeToTallestObject" x="0" y="0" width="112" height="18" forecolor="#666666"/>
								<box>
									<topPen lineWidth="0.5"/>
									<leftPen lineWidth="0.0"/>
									<bottomPen lineWidth="0.0"/>
									<rightPen lineWidth="0.0"/>
								</box>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="SansSerif" size="7" isBold="false"/>
								</textElement>
								<textFieldExpression class="java.lang.String"><![CDATA[$F{tipoMovimentacao.nome}]]></textFieldExpression>
							</textField>
						</jr:detailCell>
					</jr:column>
				</jr:table>
			</componentElement>
			<staticText>
				<reportElement x="14" y="0" width="296" height="20" forecolor="#333333"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="11" isBold="true" isUnderline="false"/>
				</textElement>
				<text><![CDATA[Itens da cotação]]></text>
			</staticText>
			<line>
				<reportElement positionType="Float" x="0" y="58" width="557" height="1"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
		</band>
		<band height="68">
			<printWhenExpression><![CDATA[$F{observacoes}]]></printWhenExpression>
			<textField isStretchWithOverflow="true" isBlankWhenNull="true">
				<reportElement x="14" y="22" width="543" height="44" forecolor="#333333">
					<printWhenExpression><![CDATA[$F{observacoes}]]></printWhenExpression>
				</reportElement>
				<box topPadding="5"/>
				<textElement verticalAlignment="Top">
					<font fontName="SansSerif" size="7"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{observacoes}+" "]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="14" y="1" width="311" height="20" forecolor="#333333"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="11" isBold="true" isUnderline="false"/>
				</textElement>
				<text><![CDATA[Observações sobre a cotação:]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="21" width="557" height="1" forecolor="#333333"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="67" width="557" height="1" forecolor="#333333"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
		</band>
	</detail>
	<pageFooter>
		<band height="23">
			<textField isBlankWhenNull="true">
				<reportElement mode="Opaque" x="14" y="9" width="188" height="12" forecolor="#333333"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$P{usuario}.nome+" - "+$V{email}]]></textFieldExpression>
			</textField>
			<textField pattern="d/M/yyyy">
				<reportElement x="474" y="1" width="81" height="10" forecolor="#333333"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$V{dataatual}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement x="545" y="11" width="10" height="10" forecolor="#333333"/>
				<box leftPadding="1"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="SansSerif" size="6" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$V{PAGE_NUMBER}+"  "]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Page">
				<reportElement x="474" y="11" width="71" height="10" forecolor="#333333"/>
				<textElement textAlignment="Right" verticalAlignment="Middle">
					<font fontName="SansSerif" size="6" isBold="false"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Página  "+$V{PAGE_NUMBER} + "   de "]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
</jasperReport>
