<?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="informacaocomplementar" language="groovy" pageWidth="579" pageHeight="149976" whenNoDataType="AllSectionsNoDetail" columnWidth="579" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="0"/>
	<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_CH" mode="Opaque" backcolor="#1C13CE" 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 1">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">
		<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="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 3_CH" mode="Opaque" backcolor="#BFE1FF">
		<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>
	<parameter name="formatoInfComplementar" class="java.lang.String"/>
	<parameter name="infos" class="java.util.Map"/>
	<field name="informacao" class="java.lang.String"/>
	<field name="id" class="java.lang.Integer"/>
	<field name="tipo" class="java.lang.Object"/>
	<field name="tipo.nome" class="java.lang.String"/>
	<field name="usuario" class="java.lang.String"/>
	<field name="usuario.nome" class="java.lang.String"/>
	<field name="dataHoraCriacao" class="java.lang.Object"/>
	<field name="dataHoraCriacao.time" class="java.util.Date"/>
	<field name="informacaoComoImagem" class="java.awt.Image"/>
	<detail>
		<band height="44" splitType="Stretch">
			<textField isStretchWithOverflow="true">
				<reportElement x="4" y="18" width="546" height="25" isPrintWhenDetailOverflows="true" forecolor="#666666">
					<printWhenExpression><![CDATA[$P{formatoInfComplementar}.equals("1")]]></printWhenExpression>
				</reportElement>
				<box topPadding="4">
					<pen lineWidth="0.0"/>
					<topPen lineWidth="0.0"/>
					<leftPen lineWidth="0.0"/>
					<bottomPen lineWidth="0.0"/>
					<rightPen lineWidth="0.0"/>
				</box>
				<textElement markup="html">
					<font fontName="SansSerif" size="8"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{informacao}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement mode="Opaque" x="0" y="0" width="579" height="16" isPrintWhenDetailOverflows="true" forecolor="#666666" backcolor="#FFFFFF"/>
				<box leftPadding="4">
					<pen lineWidth="0.5" lineColor="#333333"/>
					<topPen lineWidth="0.0" lineColor="#333333"/>
					<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
					<bottomPen lineWidth="0.5" lineColor="#333333"/>
					<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#FFFFFF"/>
				</box>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="8" isBold="true"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{tipo.nome}]]></textFieldExpression>
			</textField>
			<image scaleImage="RealHeight" isUsingCache="true">
				<reportElement isPrintRepeatedValues="false" x="4" y="18" width="546" height="25" isPrintInFirstWholeBand="true">
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
					<property name="net.sf.jasperreports.style.scaleImage" value="RealHeight"/>
					<printWhenExpression><![CDATA[$P{formatoInfComplementar}.equals("2")]]></printWhenExpression>
				</reportElement>
				<imageExpression class="java.awt.Image"><![CDATA[$F{informacaoComoImagem}]]></imageExpression>
			</image>
		</band>
		<band height="14" splitType="Prevent">
			<staticText>
				<reportElement positionType="Float" x="4" y="0" width="52" height="14" forecolor="#666666"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<text><![CDATA[Criado em: ]]></text>
			</staticText>
			<textField>
				<reportElement positionType="Float" x="69" y="0" width="177" height="14" forecolor="#666666"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["por " + $F{usuario.nome}]]></textFieldExpression>
			</textField>
			<textField pattern="dd/MM/yyyy">
				<reportElement positionType="Float" x="36" y="0" width="56" height="14" forecolor="#666666"/>
				<textElement verticalAlignment="Middle">
					<font fontName="SansSerif" size="6"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[$F{dataHoraCriacao.time}]]></textFieldExpression>
			</textField>
			<line>
				<reportElement x="0" y="0" width="579" height="1" forecolor="#000000"/>
				<graphicElement>
					<pen lineWidth="0.5"/>
				</graphicElement>
			</line>
		</band>
	</detail>
</jasperReport>
