<?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="components_block_subreportComponentList"
		 columnCount="1"
		 printOrder="Vertical"
		 orientation="Portrait"
		 pageWidth="535"
		 pageHeight="802"
		 columnWidth="535"
		 columnSpacing="0"
		 leftMargin="0"
		 rightMargin="0"
		 topMargin="0"
		 bottomMargin="0"
		 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="SUBREPORT_DIR" isForPrompting="true" class="java.lang.String">
		<defaultValueExpression ><![CDATA["informes\\"]]></defaultValueExpression>
	</parameter>
	<parameter name="CI" isForPrompting="false" class="java.lang.Integer"/>
	<queryString language="hql"><![CDATA[from InformeContenidoListaInstancias
where id_componente_instancia = $P{CI}]]></queryString>

	<field name="idComponenteInstancia" class="java.lang.Integer"/>
	<field name="idContenidoLista" class="java.lang.Integer"/>
	<field name="nombre" class="java.lang.String"/>

		<background>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</background>
		<title>
			<band height="20"  isSplitAllowed="true" >
				<staticText>
					<reportElement
						mode="Opaque"
						x="1"
						y="2"
						width="372"
						height="17"
						forecolor="#000000"
						backcolor="#E5EEFB"
						key="staticText-1"
						positionType="Float"/>
					<box>					<pen lineWidth="0.5" lineStyle="Solid" lineColor="#003399"/>
					<topPen lineWidth="0.5" lineStyle="Solid" lineColor="#003399"/>
					<leftPen lineWidth="0.5" lineStyle="Solid" lineColor="#003399"/>
					<bottomPen lineWidth="0.5" lineStyle="Solid" lineColor="#003399"/>
					<rightPen lineWidth="0.5" lineStyle="Solid" lineColor="#003399"/>
</box>
					<textElement>
						<font size="12"/>
					</textElement>
				<text><![CDATA[ List of Instances:]]></text>
				</staticText>
			</band>
		</title>
		<pageHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</pageHeader>
		<columnHeader>
			<band height="0"  isSplitAllowed="true" >
			</band>
		</columnHeader>
		<detail>
			<band height="24"  isSplitAllowed="true" >
				<textField isStretchWithOverflow="true" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
					<reportElement
						x="12"
						y="3"
						width="371"
						height="18"
						key="textField"/>
					<box></box>
					<textElement>
						<font/>
					</textElement>
				<textFieldExpression   class="java.lang.String"><![CDATA[$F{nombre}]]></textFieldExpression>
				</textField>
				<staticText>
					<reportElement
						x="1"
						y="3"
						width="10"
						height="16"
						key="staticText-2"/>
					<box></box>
					<textElement textAlignment="Center">
						<font/>
					</textElement>
				<text><![CDATA[-]]></text>
				</staticText>
			</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>
