<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.17.0.final using JasperReports Library version 6.17.0-6d93193241dd8cc42629e188b94f9e0bc5722efd  -->
<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="provincias" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="40031e2a-3ea8-433b-bcee-bd919098c97c">
	<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="Report"/>
	<queryString language="SQL">
		<![CDATA[SELECT CodigoProvincia, NombreProvincia 
FROM rp_provincia order by 1
LIMIT 20]]>
	</queryString>
	<field name="CodigoProvincia" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="CodigoProvincia"/>
		<property name="com.jaspersoft.studio.field.label" value="CodigoProvincia"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="rp_provincia"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<field name="NombreProvincia" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="NombreProvincia"/>
		<property name="com.jaspersoft.studio.field.label" value="NombreProvincia"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="rp_provincia"/>
		<fieldDescription><![CDATA[]]></fieldDescription>
	</field>
	<group name="Provincia" isStartNewPage="true">
		<groupExpression><![CDATA[$F{CodigoProvincia}]]></groupExpression>
		<groupHeader>
			<band height="2">
				<property name="com.jaspersoft.studio.unit.height" value="px"/>
			</band>
		</groupHeader>
		<groupFooter>
			<band height="2">
				<property name="com.jaspersoft.studio.unit.height" value="px"/>
			</band>
		</groupFooter>
	</group>
	<background>
		<band splitType="Stretch"/>
	</background>
	<pageHeader>
		<band height="50"/>
	</pageHeader>
	<detail>
		<band height="85" splitType="Stretch">
			<property name="com.jaspersoft.studio.unit.height" value="px"/>
			<textField pattern="dd/MM/yyyy">
				<reportElement x="453" y="-30" width="100" height="20" uuid="0b442793-ca0c-459e-82dc-cd59086e9c8f"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
			</textField>
			<staticText>
				<reportElement x="190" y="-50" width="169" height="30" uuid="00841ee8-e283-47d7-a28f-1bc6ab8989f1"/>
				<textElement textAlignment="Center">
					<font size="16" isBold="true"/>
				</textElement>
				<text><![CDATA[Listado de Provincias]]></text>
			</staticText>
			<image>
				<reportElement x="0" y="-50" width="60" height="40" uuid="ba447b0d-d29a-4518-b741-d1dabf84ce55"/>
				<imageExpression><![CDATA["https://fhumanes.com/_imagenes/simit.png"]]></imageExpression>
			</image>
			<staticText>
				<reportElement x="401" y="-30" width="52" height="20" uuid="36868341-9824-4cf0-80bd-83db2f1a45d0"/>
				<textElement textAlignment="Right">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Fecha: ]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="4" width="70" height="16" uuid="82486760-01b9-4b37-b5be-ef984390dd2a">
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d208e59d-f34c-45f6-ae71-835b9cfe7ce2"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<bottomPen lineWidth="1.0" lineStyle="Dotted"/>
				</box>
				<textElement textAlignment="Center">
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Código]]></text>
			</staticText>
			<staticText>
				<reportElement x="70" y="4" width="320" height="16" uuid="6d04c09d-da5b-4627-accc-7836ff202fb9">
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="e5194626-c66b-416b-be8a-4e277f12a497"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<bottomPen lineWidth="1.0" lineStyle="Dotted"/>
				</box>
				<textElement>
					<font isBold="true"/>
				</textElement>
				<text><![CDATA[Nombre de la provincia]]></text>
			</staticText>
			<textField>
				<reportElement x="70" y="20" width="320" height="16" backcolor="#CCFFFF" uuid="574ec772-cd4b-4116-af3c-d62e221d9f83">
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="e5194626-c66b-416b-be8a-4e277f12a497"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="0.5" lineStyle="Dotted" lineColor="#A1ABA7"/>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textFieldExpression><![CDATA[$F{NombreProvincia}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="0" y="20" width="70" height="16" backcolor="#CCFFFF" uuid="21073196-b665-43b5-997b-ce5405985cf5">
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d208e59d-f34c-45f6-ae71-835b9cfe7ce2"/>
					<property name="com.jaspersoft.studio.unit.height" value="px"/>
				</reportElement>
				<box>
					<pen lineWidth="0.5" lineStyle="Dotted" lineColor="#A1ABA7"/>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center"/>
				<textFieldExpression><![CDATA[$F{CodigoProvincia}]]></textFieldExpression>
			</textField>
			<subreport>
				<reportElement isPrintRepeatedValues="false" x="3" y="57" width="553" height="28" uuid="d320832b-e336-4a91-b514-2561dab9f271"/>
				<subreportParameter name="CodigoProvincia">
					<subreportParameterExpression><![CDATA[$F{CodigoProvincia}]]></subreportParameterExpression>
				</subreportParameter>
				<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
				<subreportExpression><![CDATA["municipios_sub.jrxml"]]></subreportExpression>
			</subreport>
		</band>
		<band height="70">
			<property name="com.jaspersoft.studio.unit.height" value="px"/>
		</band>
	</detail>
	<pageFooter>
		<band height="33">
			<textField>
				<reportElement x="370" y="3" width="100" height="30" uuid="749ad5c3-3e87-412b-b027-3f370363b60a"/>
				<textElement textAlignment="Right"/>
				<textFieldExpression><![CDATA["Page " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
			<textField evaluationTime="Report">
				<reportElement x="470" y="3" width="100" height="30" uuid="b99c74a7-4009-4186-a9e5-ff7383b9f321"/>
				<textElement textAlignment="Left"/>
				<textFieldExpression><![CDATA[" of " + $V{PAGE_NUMBER}]]></textFieldExpression>
			</textField>
		</band>
	</pageFooter>
</jasperReport>
