<?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="wf_os" pageWidth="595" pageHeight="842" columnWidth="535" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<queryString>
		<![CDATA[ {sqlSentence} ]]>
	</queryString>
<!-- START BLOCK : fields -->
	<field name="{fieldName}" class="java.lang.String" >
		<fieldDescription><![CDATA[{fieldName}]]></fieldDescription>
	</field>

<!-- END BLOCK : fields -->
	<background>
		<band />
	</background>
	<title>
		<band height="50" >
			<line>
				<reportElement x="0" y="6" width="555" height="1"/>
			</line>
			<line>
				<reportElement positionType="FixRelativeToBottom" x="0" y="47" width="555" height="1"/>
			</line>
			<image>
				<reportElement x="2" y="13" width="152" height="28"/>
				<imageExpression class="java.lang.String"><![CDATA["{logoReporte}"]]></imageExpression>
			</image>
			<staticText>
  		  <reportElement x="110" y="10" width="424" height="35"/>
				<textElement textAlignment="Center">
					<font size="26" isBold="true"/>
				</textElement>
				<text><![CDATA[{tableName} Report]]></text>
			</staticText>
		</band>
	</title>
	<pageHeader>
		<band />
	</pageHeader>
	<detail>
		<band height="{heightDetail}" >
<!-- START BLOCK : detailFields -->
      <staticText>
				<reportElement x="{labelPosX}" y="{fieldPosY}" width="130" height="14"/>
				<textElement/>
				<text><![CDATA[{fieldLabel}]]></text>
			</staticText>
			<textField>
				<reportElement x="{fieldPosX}" y="{fieldPosY}" width="200" height="14"/>
				<textElement/>
				<textFieldExpression class="java.lang.String"><![CDATA[$F{fieldName}]]></textFieldExpression>
			</textField>
<!-- END BLOCK : detailFields -->
		</band>
	</detail>
	<columnFooter>
		<band />
	</columnFooter>
	<pageFooter>
		<band height="26" >
			<textField evaluationTime="Report" pattern="" isBlankWhenNull="false">
				<reportElement key="textField" x="516" y="6" width="36" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField" x="342" y="6" width="170" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Right">
					<font size="10"/>
				</textElement>
				<textFieldExpression class="java.lang.String"><![CDATA["Page " + $V{PAGE_NUMBER} + " of "]]></textFieldExpression>
			</textField>
			<textField pattern="" isBlankWhenNull="false">
				<reportElement key="textField" x="1" y="6" width="209" height="19" forecolor="#000000" backcolor="#FFFFFF"/>
				<box>
					<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement>
					<font size="10"/>
				</textElement>
				<textFieldExpression class="java.util.Date"><![CDATA[new Date()]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
	<summary>
		<band />
	</summary>
</jasperReport>
