You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
703 lines
26 KiB
703 lines
26 KiB
<?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="SecondDayAttendance"
|
|
pageWidth="1008"
|
|
pageHeight="612"
|
|
orientation="Landscape"
|
|
leftMargin="20"
|
|
rightMargin="20"
|
|
topMargin="20"
|
|
bottomMargin="20"
|
|
columnWidth="968">
|
|
<property name="net.sf.jasperreports.default.font.name" value="DejaVu Sans"/>
|
|
<property name="net.sf.jasperreports.default.pdf.font.name" value="DejaVu Sans"/>
|
|
<property name="net.sf.jasperreports.default.pdf.encoding" value="Identity-H"/>
|
|
<property name="net.sf.jasperreports.default.pdf.embedded" value="true"/>
|
|
|
|
<!-- PARAMETERS -->
|
|
<!--<parameter name="constituency" class="java.lang.String"/>
|
|
<parameter name="training_center_name" class="java.lang.String"/>
|
|
<parameter name="training_center_address" class="java.lang.String"/>
|
|
|
|
<parameter name="constituency_no" class="java.lang.Integer"/>-->
|
|
<field name="category" class="java.lang.String"/>
|
|
<field name="training_center_name" class="java.lang.String"/>
|
|
<field name="training_center_address" class="java.lang.String"/>
|
|
<field name="constituency" class="java.lang.String"/>
|
|
<field name="constituency_no" class="java.lang.String"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- FIELDS -->
|
|
|
|
<field name="slno" class="java.lang.Integer"/>
|
|
<field name="hallno" class="java.lang.String"/>
|
|
<!--- <field name="training_center_name" class="java.lang.String"/>
|
|
<field name="training_center_address" class="java.lang.String"/>
|
|
<field name="constituency_no" class="java.lang.Integer"/>
|
|
<field name="constituency" class="java.lang.String"/>-->
|
|
|
|
<field name="unique_no" class="java.lang.String"/>
|
|
<field name="team_code" class="java.lang.Integer"/>
|
|
<field name="team_count" class="java.lang.Integer"/>
|
|
<field name="name" class="java.lang.String"/>
|
|
<field name="designation" class="java.lang.String"/>
|
|
<field name="address1" class="java.lang.String"/>
|
|
<field name="address2" class="java.lang.String"/>
|
|
<field name="address3" class="java.lang.String"/>
|
|
<field name="pincode" class="java.lang.String"/>
|
|
<field name="r_mobile_no" class="java.lang.String"/>
|
|
|
|
<field name="img_full_path" class="java.lang.String"/>
|
|
<field name="office_name" class="java.lang.String"/>
|
|
<variable name="SNO_VAR" class="java.lang.Integer" calculation="Count" resetType="Group" resetGroup="TeamHallGroup">
|
|
<variableExpression><![CDATA[$F{unique_no}]]></variableExpression>
|
|
</variable>
|
|
|
|
<!-- GROUP BY TEAM -->
|
|
|
|
<group name="TeamHallGroup" isStartNewPage="true">
|
|
<groupExpression><![CDATA[
|
|
$F{hallno}
|
|
]]></groupExpression>
|
|
</group>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- PAGE HEADER -->
|
|
<!--<pageHeader>
|
|
<band height="120">
|
|
|
|
<staticText>
|
|
<reportElement x="0" y="0" width="968" height="25"/>
|
|
<textElement textAlignment="Center">
|
|
<font size="14" isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[POLLING PERSONNEL SECOND DAY TRAINING ATTENDANCE SHEET]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="0" y="35" width="120" height="15"/>
|
|
<textElement><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA["CONSTITUENCY :"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="130" y="35" width="600" height="15"/>
|
|
<textFieldExpression><![CDATA[$P{constituency_no} + " - " + $P{constituency}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="0" y="55" width="120" height="15"/>
|
|
<textElement><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA["TRAINING CENTER :"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="130" y="55" width="800" height="15"/>
|
|
|
|
<textFieldExpression><![CDATA[$P{training_center_name} == null ? "-" : $P{training_center_name}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="130" y="70" width="800" height="15"/>
|
|
<textFieldExpression><![CDATA[$P{training_center_address} == null ? "-" : $P{training_center_address}]]></textFieldExpression>
|
|
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="0" y="90" width="120" height="15"/>
|
|
<textElement><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA["HALL NO :"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="130" y="90" width="600" height="15"/>
|
|
<textFieldExpression><![CDATA[$F{hallno}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
|
|
|
|
|
|
</band>
|
|
</pageHeader>-->
|
|
|
|
|
|
<pageHeader>
|
|
<band height="120">
|
|
|
|
<staticText>
|
|
<reportElement x="0" y="0" width="968" height="25"/>
|
|
<textElement textAlignment="Center">
|
|
<font size="14" isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[POLLING PERSONNEL SECOND DAY TRAINING ATTENDANCE SHEET]]></text>
|
|
</staticText>
|
|
|
|
<!-- CONSTITUENCY LABEL -->
|
|
<textField>
|
|
<reportElement x="0" y="35" width="120" height="15"/>
|
|
<textElement><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA["CONSTITUENCY :"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- CONSTITUENCY VALUE -->
|
|
<textField>
|
|
<reportElement x="130" y="35" width="600" height="15"/>
|
|
<textFieldExpression><![CDATA[
|
|
$F{constituency_no} + " - " + $F{constituency}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- TRAINING CENTER LABEL -->
|
|
<textField>
|
|
<reportElement x="0" y="55" width="120" height="15"/>
|
|
<textElement><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA["TRAINING CENTER :"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- TRAINING CENTER NAME -->
|
|
<textField>
|
|
<reportElement x="130" y="55" width="800" height="15"/>
|
|
<textFieldExpression><![CDATA[
|
|
$F{training_center_name} == null ? "-" : $F{training_center_name}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- TRAINING CENTER ADDRESS -->
|
|
<textField>
|
|
<reportElement x="130" y="70" width="800" height="15"/>
|
|
<textFieldExpression><![CDATA[
|
|
$F{training_center_address} == null ? "-" : $F{training_center_address}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- HALL NO LABEL -->
|
|
<textField>
|
|
<reportElement x="0" y="90" width="120" height="15"/>
|
|
<textElement><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA["HALL NO :"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- HALL NO VALUE -->
|
|
<textField>
|
|
<reportElement x="130" y="90" width="600" height="15"/>
|
|
<textFieldExpression><![CDATA[$F{hallno}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</band>
|
|
</pageHeader>
|
|
|
|
<columnHeader>
|
|
<band height="60">
|
|
|
|
<frame>
|
|
<reportElement x="0" y="0" width="968" height="60"/>
|
|
<box>
|
|
<pen lineWidth="1.0"/>
|
|
</box>
|
|
|
|
<!-- S.NO -->
|
|
<staticText>
|
|
<reportElement x="0" y="0" width="40" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[S.NO
|
|
1]]></text>
|
|
</staticText>
|
|
|
|
<!-- UNIQUE NO -->
|
|
<staticText>
|
|
<reportElement x="40" y="0" width="80" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[UNIQUE NO
|
|
2]]></text>
|
|
</staticText>
|
|
|
|
<!-- TEAM CODE -->
|
|
<staticText>
|
|
<reportElement x="120" y="0" width="40" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[TEAM CODE
|
|
3]]></text>
|
|
</staticText>
|
|
|
|
<!-- NAME / DESIGNATION / ADDRESS -->
|
|
<staticText>
|
|
<reportElement x="160" y="0" width="220" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[NAME, DESIGNATION AND ADDRESS
|
|
4]]></text>
|
|
</staticText>
|
|
|
|
<!-- CHANGES IF ANY -->
|
|
<staticText>
|
|
<reportElement x="380" y="0" width="160" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[CHANGES IF ANY
|
|
5]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="540" y="0" width="100" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[POSTAL BALLOT RECEIVED OR NOT YES/NO
|
|
6]]></text>
|
|
</staticText>
|
|
|
|
|
|
<!-- PHOTO -->
|
|
<staticText>
|
|
<reportElement x="640" y="0" width="80" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[PHOTO
|
|
7]]></text>
|
|
</staticText>
|
|
|
|
<!-- CELL NO -->
|
|
<staticText>
|
|
<reportElement x="720" y="0" width="90" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[CELL NO
|
|
8]]></text>
|
|
</staticText>
|
|
|
|
<!-- CATEGORY -->
|
|
<staticText>
|
|
<reportElement x="810" y="0" width="60" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[CATEGORY
|
|
9]]></text>
|
|
</staticText>
|
|
|
|
<!-- SIGNATURE -->
|
|
<staticText>
|
|
<reportElement x="870" y="0" width="98" height="60"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font isBold="true"/>
|
|
</textElement>
|
|
<text><![CDATA[SIGNATURE
|
|
10]]></text>
|
|
</staticText>
|
|
|
|
</frame>
|
|
|
|
</band>
|
|
</columnHeader>
|
|
|
|
<!-- COLUMN HEADER -->
|
|
<!--<columnHeader>
|
|
<band height="45">
|
|
|
|
<frame>
|
|
<reportElement x="0" y="0" width="968" height="45"/>
|
|
<box>
|
|
<pen lineWidth="1.0"/>
|
|
</box>
|
|
|
|
<staticText>
|
|
<reportElement x="0" y="0" width="40" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" ><font isBold="true"/></textElement>
|
|
<text><![CDATA[S.NO
|
|
1]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="40" y="0" width="80" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[UNIQUE NO
|
|
2]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="120" y="0" width="60" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[TEAM CODE
|
|
3]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="180" y="0" width="280" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[NAME, DESIGNATION AND ADDRESS
|
|
4]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="460" y="0" width="200" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[CHANGES IF ANY
|
|
5]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="660" y="0" width="80" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[PHOTO
|
|
6]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="740" y="0" width="90" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[CELL NO
|
|
7]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="830" y="0" width="60" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[CATEGORY
|
|
8]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="890" y="0" width="78" height="45"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center"><font isBold="true"/></textElement>
|
|
<text><![CDATA[SIGNATURE
|
|
9]]></text>
|
|
</staticText>
|
|
|
|
</frame>
|
|
|
|
</band>
|
|
</columnHeader>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- DETAIL -->
|
|
<!-- DETAIL -->
|
|
<detail>
|
|
<band height="65" splitType="Stretch">
|
|
|
|
<frame>
|
|
<reportElement x="0" y="0" width="968" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
|
|
<box>
|
|
<pen lineWidth="1.0"/>
|
|
</box>
|
|
|
|
<!-- S.NO -->
|
|
<!-- <textField textAdjust="StretchHeight">
|
|
<reportElement x="0" y="0" width="40" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font size="14"
|
|
fontName="DejaVu Sans"
|
|
pdfFontName="DejaVuSans.ttf"
|
|
pdfEncoding="Identity-H"
|
|
isPdfEmbedded="true"/>
|
|
</textElement>
|
|
|
|
<textFieldExpression><![CDATA[$V{SNO_VAR} + "\n\u2610"]]></textFieldExpression>
|
|
</textField>-->
|
|
<!-- S.NO -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="0" y="0" width="40" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement markup="styled" textAlignment="Center" verticalAlignment="Middle">
|
|
|
|
|
|
<!-- <textFieldExpression><![CDATA[
|
|
$F{slno} + "\n\u2610"
|
|
]]></textFieldExpression>-->
|
|
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[
|
|
$V{SNO_VAR} + "\n" +
|
|
"<style fontName=\"DejaVu Sans\" pdfFontName=\"DejaVuSans.ttf\" pdfEncoding=\"Identity-H\" isPdfEmbedded=\"true\">\u2610</style>"
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- UNIQUE NO -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="40" y="0" width="80" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
|
<textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- TEAM CODE -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="120" y="0" width="40" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle"/>
|
|
<textFieldExpression><![CDATA[$F{team_code}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- NAME + ADDRESS (YOUR ORIGINAL EXPRESSION) -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="160" y="0" width="220" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement markup="styled">
|
|
<font size="8"/>
|
|
<paragraph leftIndent="5"/>
|
|
</textElement>
|
|
|
|
<!-- ✅ UNCHANGED -->
|
|
<!-- <textFieldExpression><![CDATA[
|
|
$F{name} + "\n" +
|
|
"<style isBold=\"true\">" + $F{designation} + "</style>\n" +
|
|
($F{office_name} == null ? "" : $F{office_name}.replace("&", "&") + ", ") +
|
|
($F{address1} == null ? "" : $F{address1}.replace("&", "&")) + ", " +
|
|
($F{address2} == null ? "" : $F{address2}.replace("&", "&")) + ", " +
|
|
($F{address3} == null ? "" : $F{address3}.replace("&", "&")) + " - " +
|
|
($F{pincode} == null ? "" : $F{pincode}.replace("&", "&"))
|
|
]]></textFieldExpression>-->
|
|
<textFieldExpression><![CDATA[
|
|
($F{name} == null ? "" : $F{name}.toUpperCase()) + "\n\n" +
|
|
|
|
"<style isBold=\"true\">" +
|
|
($F{designation} == null ? "" : $F{designation}.toUpperCase()) +
|
|
"</style>\n" +
|
|
|
|
($F{office_name} == null ? "" : $F{office_name}.toUpperCase().replace("&", "&") + " ") +
|
|
($F{address1} == null ? "" : $F{address1}.toUpperCase().replace("&", "&") + " ") +
|
|
($F{address2} == null ? "" : $F{address2}.toUpperCase().replace("&", "&") + " ") +
|
|
($F{address3} == null ? "" : $F{address3}.toUpperCase().replace("&", "&") + " ") +
|
|
($F{pincode} == null ? "" : $F{pincode}.toUpperCase().replace("&", "&"))
|
|
]]></textFieldExpression>
|
|
|
|
</textField>
|
|
|
|
|
|
<!-- CHANGES -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="380" y="0" width="160" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textFieldExpression><![CDATA[""]]></textFieldExpression>
|
|
</textField>
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="540" y="0" width="100" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textFieldExpression><![CDATA[""]]></textFieldExpression>
|
|
</textField>
|
|
|
|
|
|
<!-- IMAGE (KEEP FILLFRAME ✔) -->
|
|
<!-- <image scaleImage="FillFrame"
|
|
hAlign="Center"
|
|
vAlign="Middle"
|
|
onErrorType="Blank">
|
|
<reportElement x="640" y="0" width="80" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<imageExpression><![CDATA[
|
|
$F{img_full_path} == null ? null : new java.net.URL($F{img_full_path})
|
|
]]></imageExpression>
|
|
</image>-->
|
|
<image scaleImage="FillFrame" onErrorType="Blank">
|
|
<reportElement x="640" y="0" width="80" height="65">
|
|
<printWhenExpression><![CDATA[$F{img_full_path} != null]]></printWhenExpression>
|
|
</reportElement>
|
|
|
|
<box>
|
|
<pen lineWidth="0.6"/>
|
|
</box>
|
|
|
|
<imageExpression><![CDATA[
|
|
new java.net.URL($F{img_full_path})
|
|
]]></imageExpression>
|
|
</image>
|
|
<staticText>
|
|
<reportElement x="640" y="0" width="80" height="65">
|
|
<printWhenExpression><![CDATA[$F{img_full_path} == null]]></printWhenExpression>
|
|
</reportElement>
|
|
|
|
<box>
|
|
<pen lineWidth="0.6"/>
|
|
</box>
|
|
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font size="10" isBold="true"/>
|
|
</textElement>
|
|
|
|
<text><![CDATA[No Photo Available]]></text>
|
|
</staticText>
|
|
|
|
<!-- CELL -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="720" y="0" width="90" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle"><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA[
|
|
$F{r_mobile_no} == null ? "-" : $F{r_mobile_no}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- CATEGORY -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="810" y="0" width="60" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textElement textAlignment="Center" verticalAlignment="Middle"><font isBold="true"/></textElement>
|
|
<textFieldExpression><![CDATA[$F{category}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- SIGN -->
|
|
<textField textAdjust="StretchHeight">
|
|
<reportElement x="870" y="0" width="98" height="65"
|
|
positionType="Float"
|
|
stretchType="RelativeToBandHeight"/>
|
|
<box><pen lineWidth="0.6"/></box>
|
|
<textFieldExpression><![CDATA[""]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</frame>
|
|
|
|
</band>
|
|
</detail>
|
|
|
|
|
|
|
|
<!-- FOOTER -->
|
|
<pageFooter>
|
|
<band height="45">
|
|
|
|
<!-- BIG CHECKBOX -->
|
|
<textField>
|
|
<reportElement x="0" y="5" width="20" height="35"/>
|
|
<textElement textAlignment="Center" verticalAlignment="Top">
|
|
<font size="16"
|
|
fontName="DejaVu Sans"
|
|
pdfFontName="DejaVuSans.ttf"
|
|
pdfEncoding="Identity-H"
|
|
isPdfEmbedded="true"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA["\u2611"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- NOTE TEXT -->
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="25" y="5" width="725" height="35"/>
|
|
<textElement textAlignment="Left">
|
|
<font isBold="true" size="9"
|
|
fontName="DejaVu Sans"
|
|
pdfFontName="DejaVuSans.ttf"
|
|
pdfEncoding="Identity-H"
|
|
isPdfEmbedded="true"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[
|
|
"Note : Respective Polling Officers must fill the columns DESIGNATION, PHOTO and CELL NO before signing the attendance.\n" +
|
|
"If any corrections are found, please mention them in the \"Changes if any\" column.If there are no changes, please tick the \"S.No\" cell."
|
|
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- PAGE NUMBER -->
|
|
<textField>
|
|
<reportElement x="750" y="20" width="218" height="15"/>
|
|
<textElement textAlignment="Right">
|
|
<font isBold="true" size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[
|
|
"Page Number : " + $V{PAGE_NUMBER}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</band>
|
|
</pageFooter>
|
|
|
|
<!-- <pageFooter>
|
|
<band height="45">
|
|
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="0" y="5" width="750" height="35"/>
|
|
<textElement textAlignment="Left">
|
|
<font isBold="true" size="9" fontName="DejaVu Sans"
|
|
pdfFontName="DejaVuSans.ttf"
|
|
pdfEncoding="Identity-H"
|
|
isPdfEmbedded="true"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[
|
|
"\u2611 Note : Respective Polling Officers must fill the columns DESIGNATION, PHOTO and CELL NO before signing the attendance.\n" +
|
|
"If any corrections are found, please mention them in the \"Changes if any\" column.\n" +
|
|
"If there are no changes, please tick the \"S.No\" cell."
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="750" y="20" width="218" height="15"/>
|
|
<textElement textAlignment="Right">
|
|
<font isBold="true" size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[
|
|
"Page Number : " + $V{PAGE_NUMBER}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</band>
|
|
</pageFooter>-->
|
|
|
|
|
|
|
|
</jasperReport>
|