<?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="RelatorioVendasPacotesBoletosItemTotais" pageWidth="802" pageHeight="555" orientation="Landscape" columnWidth="802" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="f17327a0-45d8-4ec1-8350-688df66785dc">
	<property name="ireport.zoom" value="1.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="Crosstab Data Text" hAlign="Center"/>
	<field name="trecho" class="java.lang.String"/>
	<field name="categoria" class="java.lang.String"/>
	<field name="qtde" class="java.lang.Long"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band splitType="Stretch"/>
	</title>
	<pageHeader>
		<band splitType="Stretch"/>
	</pageHeader>
	<columnHeader>
		<band splitType="Stretch"/>
	</columnHeader>
	<detail>
		<band splitType="Stretch"/>
	</detail>
	<columnFooter>
		<band splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="42" splitType="Stretch">
			<crosstab>
				<reportElement x="0" y="0" width="802" height="42" uuid="11ab8dba-b64d-42a5-8183-4f96945e471b"/>
				<crosstabHeaderCell>
					<cellContents mode="Transparent">
						<textField isStretchWithOverflow="true" isBlankWhenNull="true">
							<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="70" height="30" uuid="bd7d94f6-bbdd-4740-9b04-a7e3cca6a4b8"/>
							<textElement textAlignment="Left" verticalAlignment="Middle"/>
							<textFieldExpression><![CDATA[$R{label.trecho}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabHeaderCell>
				<rowGroup name="trecho" width="75" totalPosition="End">
					<bucket class="java.lang.String">
						<bucketExpression><![CDATA[$F{trecho}]]></bucketExpression>
					</bucket>
					<crosstabRowHeader>
						<cellContents backcolor="#F0F8FF" mode="Transparent">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<textField isStretchWithOverflow="true" isBlankWhenNull="true">
								<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="70" height="25" uuid="5ac119e3-c56d-4a78-af58-55fbbae1fb62"/>
								<textElement textAlignment="Left" verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$V{trecho}]]></textFieldExpression>
							</textField>
						</cellContents>
					</crosstabRowHeader>
					<crosstabTotalRowHeader>
						<cellContents backcolor="#BFE1FF" mode="Transparent">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<textField isStretchWithOverflow="true" isBlankWhenNull="true">
								<reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="70" height="25" uuid="aaea0dcd-4bbd-4e74-af61-156b53ed452e"/>
								<textElement verticalAlignment="Middle" markup="none"/>
								<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
							</textField>
						</cellContents>
					</crosstabTotalRowHeader>
				</rowGroup>
				<columnGroup name="categoria" height="30" totalPosition="End">
					<bucket class="java.lang.String">
						<bucketExpression><![CDATA[$F{categoria}]]></bucketExpression>
					</bucket>
					<crosstabColumnHeader>
						<cellContents backcolor="#F0F8FF" mode="Transparent">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<textField isStretchWithOverflow="true" isBlankWhenNull="true">
								<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="50" height="30" uuid="64ed6da8-89e3-4fae-a948-7bb7719e7a5d"/>
								<textElement verticalAlignment="Middle"/>
								<textFieldExpression><![CDATA[$V{categoria}]]></textFieldExpression>
							</textField>
						</cellContents>
					</crosstabColumnHeader>
					<crosstabTotalColumnHeader>
						<cellContents backcolor="#BFE1FF" mode="Transparent">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<textField isStretchWithOverflow="true" isBlankWhenNull="true">
								<reportElement stretchType="RelativeToTallestObject" x="2" y="0" width="50" height="30" uuid="edafe8ad-5ad1-4535-a36f-6a6bbfbb5f53"/>
								<textElement textAlignment="Center" verticalAlignment="Middle" markup="none"/>
								<textFieldExpression><![CDATA[$R{label.total}]]></textFieldExpression>
							</textField>
						</cellContents>
					</crosstabTotalColumnHeader>
				</columnGroup>
				<measure name="qtdeMeasure" class="java.lang.Long" calculation="Sum">
					<measureExpression><![CDATA[$F{qtde}]]></measureExpression>
				</measure>
				<crosstabCell width="54" height="25">
					<cellContents>
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField isStretchWithOverflow="true" isBlankWhenNull="true">
							<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="50" height="25" uuid="9ed4ee50-4738-4745-a56f-ec162ceb470f"/>
							<textElement verticalAlignment="Middle"/>
							<textFieldExpression><![CDATA[$V{qtdeMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
				<crosstabCell width="54" height="25" rowTotalGroup="trecho">
					<cellContents backcolor="#BFE1FF" mode="Transparent">
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField isStretchWithOverflow="true" isBlankWhenNull="true">
							<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="50" height="25" uuid="fafd0589-4c7e-4e5c-8071-a71208b9a83e"/>
							<textElement verticalAlignment="Middle"/>
							<textFieldExpression><![CDATA[$V{qtdeMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
				<crosstabCell width="53" columnTotalGroup="categoria">
					<cellContents backcolor="#BFE1FF" mode="Transparent">
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField isStretchWithOverflow="true" isBlankWhenNull="true">
							<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="50" height="25" uuid="873b4066-9eaa-44ed-bfc0-36bee7ff8e6b"/>
							<textElement verticalAlignment="Middle"/>
							<textFieldExpression><![CDATA[$V{qtdeMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
				<crosstabCell width="53" rowTotalGroup="trecho" columnTotalGroup="categoria">
					<cellContents backcolor="#BFE1FF" mode="Transparent">
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField isStretchWithOverflow="true" isBlankWhenNull="true">
							<reportElement style="Crosstab Data Text" stretchType="RelativeToTallestObject" x="2" y="0" width="50" height="25" uuid="c810a783-02ec-4cb3-83b7-cbc5afc05d30"/>
							<textElement verticalAlignment="Middle"/>
							<textFieldExpression><![CDATA[$V{qtdeMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
			</crosstab>
		</band>
	</summary>
</jasperReport>
