desa.jrxml 11.6 KB
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.20.5.final using JasperReports Library version 6.20.5-3efcf2e67f959db3888d79f73dde2dbd7acb4f8e  -->
<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="desa" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="4856c77b-d44e-4202-bd2a-52961badbc11">
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="POSTGRES"/>
	<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
	<parameter name="logo" class="java.lang.String"/>
	<parameter name="judul" class="java.lang.String"/>
	<queryString>
		<![CDATA[select * FROM res_desa JOIN res_kecamatan ON res_desa.kecamatan_id = res_kecamatan.id;]]>
	</queryString>
	<field name="kategori" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="kategori"/>
		<property name="com.jaspersoft.studio.field.label" value="kategori"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="kecamatan_id" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="kecamatan_id"/>
		<property name="com.jaspersoft.studio.field.label" value="kecamatan_id"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="nama" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nama"/>
		<property name="com.jaspersoft.studio.field.label" value="nama"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="kode" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="kode"/>
		<property name="com.jaspersoft.studio.field.label" value="kode"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="status" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="status"/>
		<property name="com.jaspersoft.studio.field.label" value="status"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="created" class="java.sql.Timestamp">
		<property name="com.jaspersoft.studio.field.name" value="created"/>
		<property name="com.jaspersoft.studio.field.label" value="created"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="updated" class="java.sql.Timestamp">
		<property name="com.jaspersoft.studio.field.name" value="updated"/>
		<property name="com.jaspersoft.studio.field.label" value="updated"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="create_uid" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="create_uid"/>
		<property name="com.jaspersoft.studio.field.label" value="create_uid"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="update_uid" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="update_uid"/>
		<property name="com.jaspersoft.studio.field.label" value="update_uid"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="id" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="id"/>
		<property name="com.jaspersoft.studio.field.label" value="id"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_desa"/>
	</field>
	<field name="ibu_kota" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="ibu_kota"/>
		<property name="com.jaspersoft.studio.field.label" value="ibu_kota"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="dati2_id" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="dati2_id"/>
		<property name="com.jaspersoft.studio.field.label" value="dati2_id"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_13" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="nama"/>
		<property name="com.jaspersoft.studio.field.label" value="nama"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_14" class="java.lang.String">
		<property name="com.jaspersoft.studio.field.name" value="kode"/>
		<property name="com.jaspersoft.studio.field.label" value="kode"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_15" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="status"/>
		<property name="com.jaspersoft.studio.field.label" value="status"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_16" class="java.sql.Timestamp">
		<property name="com.jaspersoft.studio.field.name" value="created"/>
		<property name="com.jaspersoft.studio.field.label" value="created"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_17" class="java.sql.Timestamp">
		<property name="com.jaspersoft.studio.field.name" value="updated"/>
		<property name="com.jaspersoft.studio.field.label" value="updated"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_18" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="create_uid"/>
		<property name="com.jaspersoft.studio.field.label" value="create_uid"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_19" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="update_uid"/>
		<property name="com.jaspersoft.studio.field.label" value="update_uid"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<field name="COLUMN_20" class="java.lang.Integer">
		<property name="com.jaspersoft.studio.field.name" value="id"/>
		<property name="com.jaspersoft.studio.field.label" value="id"/>
		<property name="com.jaspersoft.studio.field.tree.path" value="res_kecamatan"/>
	</field>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="95" splitType="Stretch">
			<staticText>
				<reportElement x="143" y="30" width="269" height="30" uuid="458b62a6-e929-4690-a8a0-c260967c1d92"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
				<text><![CDATA[DAFTAR DESA]]></text>
			</staticText>
			<line>
				<reportElement x="0" y="78" width="551" height="2" uuid="58a6f365-7fe2-4fb4-aba8-0f209ed61cdc"/>
				<graphicElement>
					<pen lineWidth="4.0"/>
				</graphicElement>
			</line>
			<image>
				<reportElement x="30" y="0" width="50" height="50" uuid="50dbfa59-96c9-41cb-a70d-a08a651b64c3"/>
				<imageExpression><![CDATA[$P{logo}]]></imageExpression>
			</image>
			<textField>
				<reportElement x="110" y="0" width="319" height="30" uuid="6d898831-9762-49db-b6c9-54f1008550b3"/>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="14" isBold="true"/>
				</textElement>
				<textFieldExpression><![CDATA[$P{judul}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<columnHeader>
		<band height="23" splitType="Stretch">
			<staticText>
				<reportElement mode="Opaque" x="161" y="2" width="210" height="21" backcolor="#F7E516" uuid="90dcd08e-2762-4ebc-8e47-c6c9b38b3963"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Nama]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="371" y="2" width="181" height="21" backcolor="#F7E516" uuid="e4952f3b-1f39-4e22-886d-42e1c8acf898"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Kecamatan]]></text>
			</staticText>
			<staticText>
				<reportElement mode="Opaque" x="1" y="2" width="160" height="21" backcolor="#F7E516" uuid="6865babf-a72f-4756-89f8-1fbddee8a04e"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle">
					<font size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Kode]]></text>
			</staticText>
		</band>
	</columnHeader>
	<detail>
		<band height="22" splitType="Stretch">
			<textField>
				<reportElement x="1" y="0" width="160" height="21" uuid="dda6768d-88be-454b-b73e-7361554e643e">
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="add93502-c54f-4ef3-912a-338d7f0ff64b"/>
				</reportElement>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{kode}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="161" y="0" width="210" height="21" uuid="e07771a9-7326-46ef-b09c-e0b5a02dad3c"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{nama}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="371" y="0" width="181" height="21" uuid="16c4ca1b-1279-4bdd-9997-cc24d1b72a54"/>
				<box>
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
				</box>
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
				<textFieldExpression><![CDATA[$F{COLUMN_13}]]></textFieldExpression>
			</textField>
		</band>
	</detail>
	<columnFooter>
		<band height="45" splitType="Stretch"/>
	</columnFooter>
	<pageFooter>
		<band height="54" splitType="Stretch"/>
	</pageFooter>
	<summary>
		<band height="42" splitType="Stretch"/>
	</summary>
</jasperReport>