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.
463 lines
18 KiB
463 lines
18 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN"
|
|
"http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
|
|
|
|
<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="2ndOrder"
|
|
|
|
pageWidth="595"
|
|
pageHeight="842"
|
|
|
|
columnWidth="555"
|
|
leftMargin="20"
|
|
rightMargin="20"
|
|
topMargin="20"
|
|
bottomMargin="5"
|
|
|
|
uuid="a1b2c3d4-0000-1111-2222-333344445555">
|
|
|
|
|
|
<!-- Properties -->
|
|
<property name="net.sf.jasperreports.awt.ignore.missing.font" value="true"/>
|
|
<property name="lenient" value="true"/>
|
|
<property name="net.sf.jasperreports.url.parameter.http.connectionTimeout" value="5000"/>
|
|
<property name="net.sf.jasperreports.url.parameter.http.readTimeout" value="5000"/>
|
|
|
|
|
|
|
|
<!-- Normal Helvetica -->
|
|
<style name="HelveticaNormal"
|
|
fontSize="11"
|
|
pdfFontName="Helvetica"
|
|
pdfEncoding="Cp1252"
|
|
isPdfEmbedded="false"/>
|
|
|
|
<!-- Bold Helvetica -->
|
|
<style name="HelveticaBold"
|
|
style="HelveticaNormal"
|
|
fontSize="12"
|
|
pdfEncoding="Cp1252"
|
|
pdfFontName="Helvetica-Bold"/>
|
|
|
|
<!-- Helvetica Bold + Italic -->
|
|
<style name="HelveticaBoldItalic"
|
|
style="HelveticaNormal"
|
|
fontSize="10"
|
|
|
|
isItalic="true"
|
|
pdfFontName="Helvetica-BoldOblique"/>
|
|
|
|
|
|
|
|
<!-- ========================= PARAMETERS ========================= -->
|
|
<parameter name="tickRowNum" class="java.lang.Integer"/>
|
|
<parameter name="tickImage" class="java.lang.Object"/>
|
|
<parameter name="isPO" class="java.lang.Boolean"/>
|
|
|
|
<!-- ========================= FIELDS ========================= -->
|
|
|
|
<field name="slno" class="java.lang.Integer"/>
|
|
<field name="unique_no" class="java.lang.Integer"/>
|
|
<field name="work_ac_no" class="java.lang.Integer"/>
|
|
<field name="ac_name" class="java.lang.String"/>
|
|
<field name="team_code" class="java.lang.Object"/>
|
|
<field name="hall_no" class="java.lang.Object"/>
|
|
<field name="category" class="java.lang.String"/>
|
|
<field name="poll_person" class="java.lang.String"/>
|
|
<field name="designation" class="java.lang.String"/>
|
|
<field name="r_mobile_no" class="java.lang.Object"/>
|
|
|
|
<field name="img_full_path" class="java.lang.String"/>
|
|
<field name="sign_full_path" class="java.lang.Object"/>
|
|
|
|
<field name="office" class="java.lang.String"/>
|
|
<field name="office_address" class="java.lang.String"/>
|
|
|
|
<field name="poll_no" class="java.lang.String"/>
|
|
<field name="poll_station" class="java.lang.String"/>
|
|
|
|
<field name="ZP_ID" class="java.lang.Integer"/>
|
|
<field name="ZP_MOBILE" class="java.lang.String"/>
|
|
<field name="ZP_NAME" class="java.lang.String"/>
|
|
<field name="AZP_MOBILE" class="java.lang.String"/>
|
|
<field name="AZP_NAME" class="java.lang.String"/>
|
|
|
|
|
|
<!-- ========================= VARIABLE (MUST COME BEFORE GROUP) ========================= -->
|
|
<variable name="rowNum"
|
|
class="java.lang.Integer"
|
|
calculation="Count"
|
|
resetType="Group"
|
|
resetGroup="teamGroup">
|
|
<variableExpression><![CDATA[$F{team_code}]]></variableExpression>
|
|
</variable>
|
|
|
|
<variable name="globalRowNum"
|
|
class="java.lang.Integer"
|
|
calculation="Count"
|
|
resetType="Report">
|
|
<variableExpression><![CDATA[$F{team_code}]]></variableExpression>
|
|
</variable>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- ========================= Group ========================= -->
|
|
<group name="teamGroup">
|
|
<groupExpression><![CDATA[$F{team_code}]]></groupExpression>
|
|
|
|
<!-- ================= GROUP HEADER ================= -->
|
|
<groupHeader>
|
|
<band height="75">
|
|
|
|
|
|
|
|
<textField>
|
|
<reportElement x="0" y="0" width="40" height="20" style="HelveticaBold"/>
|
|
<textFieldExpression><![CDATA[$F{work_ac_no} + " ."]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="25" y="0" width="150" height="20" style="HelveticaBold"/>
|
|
<textFieldExpression><![CDATA[$F{ac_name}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<staticText>
|
|
<reportElement x="200" y="0" width="150" height="20" style="HelveticaNormal"/>
|
|
<text><![CDATA[Assembly Constituency.]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="400" y="0" width="110" height="20" style="HelveticaBold"/>
|
|
<text><![CDATA[Hall No :]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="450" y="0" width="40" height="20" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{hall_no}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<staticText>
|
|
<reportElement x="0" y="20" width="250" height="20" style="HelveticaBold"/>
|
|
<text><![CDATA[Date of Poll : 23/04/2026 (Thursday)]]></text>
|
|
</staticText>
|
|
|
|
<staticText>
|
|
<reportElement x="300" y="20" width="110" height="20" style="HelveticaBold"/>
|
|
<text><![CDATA[Team Number :]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="390" y="21" width="30" height="20" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{team_code}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- <staticText>
|
|
<reportElement x="440" y="60" width="110" height="20" style="HelveticaBold"/>
|
|
<text><![CDATA[Zonal Party :]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="515" y="61" width="30" height="20" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{ZP_ID}]]></textFieldExpression>
|
|
</textField> -->
|
|
|
|
<!-- underline -->
|
|
<line>
|
|
<reportElement x="0" y="36" width="555" height="1"/>
|
|
</line>
|
|
|
|
<staticText>
|
|
<reportElement x="0" y="38" width="310" height="20" style="HelveticaBold"/>
|
|
<text><![CDATA[Polling Station No. and Address :]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="190" y="39" width="350" height="30" style="HelveticaNormal"/>
|
|
<!-- <textFieldExpression><![CDATA[$F{poll_no} + " - " + $F{poll_station}]]></textFieldExpression> -->
|
|
<textFieldExpression><![CDATA[
|
|
($F{poll_no} == null || $F{poll_no}.trim().isEmpty() || "999".equals($F{poll_no}.trim()))
|
|
? $F{poll_station}
|
|
: $F{poll_no} + " - " + $F{poll_station}
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- underline -->
|
|
<line>
|
|
<reportElement x="0" y="69" width="555" height="1"/>
|
|
</line>
|
|
|
|
</band>
|
|
</groupHeader>
|
|
|
|
|
|
<!-- ================= GROUP FOOTER ================= -->
|
|
<groupFooter>
|
|
<band height="311" splitType="Prevent">
|
|
|
|
<staticText>
|
|
<reportElement x="5" y="5" width="210" height="16" style="HelveticaBold"/>
|
|
<text><![CDATA[Zonal party officer Name]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="215" y="6" width="150" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{ZP_NAME}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<staticText>
|
|
<reportElement x="5" y="25" width="210" height="16" style="HelveticaBold"/>
|
|
<text><![CDATA[Zonal party Mobile Number]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="215" y="26" width="150" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{ZP_MOBILE}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
|
|
<!-- Zonal Info -->
|
|
<staticText>
|
|
<reportElement x="5" y="45" width="210" height="16" style="HelveticaBold"/>
|
|
<text><![CDATA[Assistant Zonal party officer Name]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="215" y="46" width="150" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{AZP_NAME}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<staticText>
|
|
<reportElement x="5" y="65" width="210" height="16" style="HelveticaBold"/>
|
|
<text><![CDATA[Assistant Zonal party Mobile Number]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="215" y="66" width="150" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{AZP_MOBILE}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- Signature -->
|
|
<image scaleImage="RetainShape" onErrorType="Blank">
|
|
<reportElement x="320" y="50" width="220" height="80"/>
|
|
<imageExpression><![CDATA[$F{sign_full_path}]]></imageExpression>
|
|
</image>
|
|
|
|
<staticText>
|
|
<reportElement x="250" y="100" width="320" height="45"/>
|
|
<textElement textAlignment="Center">
|
|
<font size="11" pdfFontName="Helvetica-Bold"/>
|
|
</textElement>
|
|
<text><![CDATA[
|
|
DISTRICT ELECTION OFFICER &
|
|
COMMISSIONER, GREATER CHENNAI CORPORATION
|
|
]]></text>
|
|
</staticText>
|
|
|
|
<!-- Notes -->
|
|
<staticText>
|
|
<reportElement x="5" y="160" width="50" height="16" style="HelveticaBoldItalic"/>
|
|
<text><![CDATA[Note :]]></text>
|
|
</staticText>
|
|
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="10" y="180" width="525" height="16" style="HelveticaBoldItalic"/>
|
|
<textFieldExpression><![CDATA[
|
|
"1. Non compliance of the order is an offence punishable under sec 134 of R.P. Act 1951"
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="10" y="200" width="525" height="16" style="HelveticaBoldItalic"/>
|
|
<textFieldExpression><![CDATA[
|
|
"2. You are required to be present in the polling station from 2 PM on 22/04/2026 onwards till handing over the polled materials to the Zonal party on 23/04/2026."
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="10" y="230" width="525" height="16" style="HelveticaBoldItalic"/>
|
|
<textFieldExpression><![CDATA[
|
|
"3. You are advised to follow all the instructions scruplously with regard to maintenance of statutory / non statutory registers and forms during the poll."
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- Note 4: Only for Presiding Officer -->
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="10" y="260" width="525" height="16" style="HelveticaBoldItalic">
|
|
<printWhenExpression><![CDATA[$P{isPO} != null && $P{isPO}.booleanValue() == true]]></printWhenExpression>
|
|
</reportElement>
|
|
<textFieldExpression><![CDATA[
|
|
"4. You are directed to mark the poll statistics in the ECINET PRO app as per previous instructions. Failure to comply may lead to severe action."
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</band>
|
|
</groupFooter>
|
|
</group>
|
|
|
|
|
|
|
|
<!-- ========================= PAGE HEADER ========================= -->
|
|
<pageHeader>
|
|
<band height="75">
|
|
|
|
<staticText>
|
|
<reportElement x="0" y="0" width="555" height="22"/>
|
|
<textElement textAlignment="Center">
|
|
<font size="14"/>
|
|
</textElement>
|
|
<text><![CDATA[Order of Appointment of Presiding and Polling Officers]]></text>
|
|
</staticText>
|
|
|
|
<line>
|
|
<reportElement x="110" y="19" width="338" height="1"/>
|
|
</line>
|
|
|
|
<!-- description first -->
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement
|
|
x="0"
|
|
y="28"
|
|
width="545"
|
|
height="32"
|
|
style="HelveticaNormal"/>
|
|
|
|
<textElement verticalAlignment="Top">
|
|
<paragraph
|
|
firstLineIndent="10"
|
|
leftIndent="10"
|
|
lineSpacing="Single"/>
|
|
</textElement>
|
|
|
|
<!-- <textField isStretchWithOverflow="false">
|
|
<reportElement x="0" y="0" width="555" height="48"/>
|
|
<textElement>
|
|
<font size="10"/>
|
|
<paragraph firstLineIndent="10"/>
|
|
</textElement> -->
|
|
<textFieldExpression><![CDATA[
|
|
" In pursuance of sub-section(1) and sub-section(3) of Section 26 of the Representation of the People Act,1951 (43 of 1951). I hereby appoint the officers specified below as Presiding Officer and Polling Officers respectively for the General Elections to the Tamil Nadu Legislative Assembly Election to be held on 23rd April, 2026."
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</band>
|
|
</pageHeader>
|
|
|
|
|
|
|
|
<!-- ========================= DETAIL (MAIN BODY) ========================= -->
|
|
<detail>
|
|
<band height="70">
|
|
|
|
<textField>
|
|
<reportElement x="15" y="0" width="30" height="16" style="HelveticaBold"/>
|
|
<textFieldExpression><![CDATA[$V{rowNum} + ")"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="30" y="0" width="180" height="16" style="HelveticaBold"/>
|
|
<textFieldExpression><![CDATA[$F{category}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="150" y="0" width="250" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{poll_person}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
|
|
<frame>
|
|
<reportElement x="450" y="5" width="50" height="50">
|
|
<printWhenExpression><![CDATA[$F{img_full_path} == null]]></printWhenExpression>
|
|
</reportElement>
|
|
|
|
<!-- Border box -->
|
|
<rectangle>
|
|
<reportElement x="0" y="0" width="50" height="55"/>
|
|
</rectangle>
|
|
|
|
<!-- No Photo text -->
|
|
<!-- ✅ TEXT WITH WRAP -->
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="2" y="5" width="46" height="40"/>
|
|
|
|
<textElement textAlignment="Center" verticalAlignment="Middle">
|
|
<font size="7"/>
|
|
</textElement>
|
|
|
|
<textFieldExpression><![CDATA["No Photo Available"]]></textFieldExpression>
|
|
</textField>
|
|
|
|
</frame>
|
|
|
|
<!-- The actual photo -->
|
|
<image scaleImage="FillFrame" hAlign="Center" vAlign="Middle" onErrorType="Blank">
|
|
<reportElement x="450" y="5" width="50" height="50">
|
|
<printWhenExpression><![CDATA[$F{img_full_path} != null]]></printWhenExpression>
|
|
</reportElement>
|
|
<imageExpression><![CDATA[$F{img_full_path}]]></imageExpression>
|
|
</image>
|
|
|
|
<!-- ✅ Tick mark: renders only for the matching person -->
|
|
<image scaleImage="RetainShape" onErrorType="Blank">
|
|
<reportElement x="500" y="5" width="30" height="30">
|
|
<printWhenExpression><![CDATA[$V{rowNum}.intValue() == $P{tickRowNum}.intValue()]]></printWhenExpression>
|
|
</reportElement>
|
|
<imageExpression><![CDATA[$P{tickImage}]]></imageExpression>
|
|
</image>
|
|
|
|
<textField>
|
|
<reportElement x="150" y="13" width="250" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{designation}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<staticText>
|
|
<reportElement x="15" y="25" width="80" height="16" style="HelveticaBold"/>
|
|
<text><![CDATA[Unique No :]]></text>
|
|
</staticText>
|
|
|
|
<textField>
|
|
<reportElement x="95" y="25" width="120" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- <textField>
|
|
<reportElement x="150" y="25" width="300" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA[$F{office}]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<textField>
|
|
<reportElement x="150" y="38" width="300" height="16"/>
|
|
<textFieldExpression><![CDATA[$F{office_address}]]></textFieldExpression>
|
|
</textField> -->
|
|
|
|
<textField isStretchWithOverflow="true">
|
|
<reportElement x="150" y="25" width="295" height="36" style="HelveticaNormal"/>
|
|
<textElement>
|
|
<font size="9"/>
|
|
</textElement>
|
|
<textFieldExpression><![CDATA[
|
|
($F{office} == null ? "" : $F{office})
|
|
+ "\n"
|
|
+ ($F{office_address} == null ? "" : $F{office_address})
|
|
+ " Mobile No : " + ($F{r_mobile_no} == null ? "" : $F{r_mobile_no})
|
|
]]></textFieldExpression>
|
|
</textField>
|
|
|
|
<!-- <textField>
|
|
<reportElement x="150" y="51" width="200" height="16" style="HelveticaNormal"/>
|
|
<textFieldExpression><![CDATA["Mobile No : " + $F{r_mobile_no}]]></textFieldExpression>
|
|
</textField> -->
|
|
|
|
<line>
|
|
<reportElement x="0" y="65" width="555" height="1" positionType="Float"/>
|
|
</line>
|
|
|
|
</band>
|
|
</detail>
|
|
</jasperReport>
|
|
|