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.
 
 
 
 
 

499 lines
20 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="1stOrder"
pageWidth="595"
pageHeight="842"
columnWidth="555"
leftMargin="20"
rightMargin="20"
topMargin="20"
bottomMargin="20"
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="11"
pdfFontName="Helvetica-Bold"/>
<!-- Helvetica Bold + Italic -->
<style name="HelveticaBoldItalic"
style="HelveticaNormal"
fontSize="11"
isItalic="true"
pdfFontName="Helvetica-BoldOblique"/>
<!-- ========================= PARAMETER ========================= -->
<parameter name="sign_full_path" class="java.lang.Object"/>
<!-- ========================= FIELDS ========================= -->
<field name="unique_no" class="java.lang.String"/>
<field name="name" class="java.lang.String"/>
<field name="designation" class="java.lang.String"/>
<field name="office_name" 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="category" class="java.lang.String"/>
<field name="hallno" class="java.lang.String"/>
<field name="img_full_path" class="java.lang.Object"/>
<field name="training_center_name" class="java.lang.String"/>
<field name="training_center_address" class="java.lang.String"/>
<field name="training_center_phn" class="java.lang.String"/>
<field name="bus_stop" class="java.lang.String"/>
<field name="bus_no" class="java.lang.String"/>
<!-- ========================= BACKGROUND ========================= -->
<background>
<band height="740">
<!-- SIGNATURE IMAGE -->
<image scaleImage="RetainShape" onErrorType="Blank">
<reportElement x="375" y="330" width="200" height="90"/>
<imageExpression><![CDATA[$P{sign_full_path}]]></imageExpression>
</image>
<!-- OFFICER TEXT -->
<staticText>
<reportElement x="280" y="385" width="350" height="90"/>
<textElement textAlignment="Center" verticalAlignment="Top">
<font size="12" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[
DISTRICT ELECTION OFFICER &
COMMISSIONER
GREATER CHENNAI CORPORATION
]]></text>
</staticText>
</band>
</background>
<!-- ========================= PAGE HEADER ========================= -->
<pageHeader>
<band height="90">
<!-- Title -->
<staticText>
<reportElement x="0" y="0" width="555" height="26"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="20" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Order of Appointment of Presiding and Polling Officers]]></text>
</staticText>
<!-- Top horizontal line -->
<line>
<reportElement x="15" y="28" width="525" height="1"/>
<graphicElement>
<pen lineWidth="1.2"/>
</graphicElement>
</line>
<!-- Description text (AUTO HEIGHT) -->
<textField isStretchWithOverflow="true">
<reportElement x="0" y="28" width="545" height="20" positionType="Float" style="HelveticaNormal"/>
<textElement verticalAlignment="Top">
<paragraph firstLineIndent="25" leftIndent="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 officer specified below as "
+ $F{category} +
" for General Elections to Tamil Nadu Legislative Assembly Election to be held on 23rd April 2026."]]></textFieldExpression>
<!-- <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 officer specified below as Presiding Officer for General Elections to Tamil Nadu Legislative Assembly Election to be held on 23th April, 2026."-->
<!-- ]]></textFieldExpression>-->
</textField>
<!-- Bottom horizontal line -->
<line>
<reportElement x="0" y="87" width="555" height="1"/>
<graphicElement>
<pen lineWidth="1.2"/>
</graphicElement>
</line>
</band>
</pageHeader>
<!-- ========================= DETAIL (MAIN BODY) ========================= -->
<detail>
<band height="650">
<!-- Designation (LEFT) -->
<staticText>
<reportElement x="5" y="-15" width="90" height="18" style="HelveticaBold"/>
<text><![CDATA[Designation:]]></text>
</staticText>
<textField>
<reportElement x="75" y="-15" width="200" height="18" style="HelveticaBold"/>
<textFieldExpression><![CDATA[$F{category}]]></textFieldExpression>
</textField>
<!-- Unique No (RIGHT) -->
<staticText>
<reportElement x="360" y="-15" width="70" height="18" style="HelveticaBold"/>
<text><![CDATA[Unique No:]]></text>
</staticText>
<textField>
<reportElement x="435" y="-15" width="120" height="18" style="HelveticaBold"/>
<textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
</textField>
<!-- Hall No (RIGHT) -->
<staticText>
<reportElement x="360" y="5" width="70" height="18" style="HelveticaBold"/>
<text><![CDATA[Hall No:]]></text>
</staticText>
<textField>
<reportElement x="435" y="5" width="120" height="18" style="HelveticaBold"/>
<textFieldExpression><![CDATA[$F{hallno}]]></textFieldExpression>
</textField>
<!-- PHOTO FRAME -->
<frame>
<!-- REQUIRED: reportElement must be FIRST inside frame -->
<reportElement x="5" y="5" width="90" height="120"/>
<!-- IMAGE -->
<image scaleImage="FillFrame" onErrorType="Blank">
<reportElement x="0" y="0" width="90" height="120"/>
<!-- <imageExpression><![CDATA[
new java.io.ByteArrayInputStream((byte[])$F{img_full_path})
]]></imageExpression> -->
<!-- <imageExpression><![CDATA[
new java.io.ByteArrayInputStream($F{img_full_path})
]]></imageExpression> -->
<imageExpression><![CDATA[
$F{img_full_path} == null ? null :
new java.io.ByteArrayInputStream((byte[])$F{img_full_path})
]]></imageExpression>
</image>
</frame>
<!-- Name and Address heading -->
<staticText>
<reportElement x="105" y="5" width="200" height="18" style="HelveticaBold"/>
<text><![CDATA[Name and Address]]></text>
</staticText>
<!-- NAME -->
<textField>
<reportElement x="105" y="25" width="250" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
</textField>
<!-- Office Designation -->
<textField>
<reportElement x="105" y="45" width="250" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{designation}]]></textFieldExpression>
</textField>
<!-- OFFICE / ADDRESS -->
<textField isStretchWithOverflow="true">
<reportElement x="105" y="65" width="500" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{office_name}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="105" y="95" width="500" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{address1}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="105" y="115" width="250" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{address2}]]></textFieldExpression>
</textField>
<!-- Address line 3 + pincode -->
<textField>
<reportElement x="105" y="135" width="300" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{address3}]]></textFieldExpression>
</textField>
<textField>
<reportElement x="250" y="135" width="250" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{pincode}]]></textFieldExpression>
</textField>
<!-- Mobile No label (RIGHT) -->
<staticText>
<reportElement x="340" y="135" width="70" height="18" style="HelveticaNormal"/>
<text><![CDATA[Mobile No.:]]></text>
</staticText>
<!-- Mobile No value (RIGHT) -->
<textField>
<reportElement x="415" y="135" width="140" height="18" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[$F{r_mobile_no}]]></textFieldExpression>
</textField>
<!-- Training info (FULL WIDTH – BELOW address & mobile line) -->
<!-- Training info (FULL WIDTH – BELOW address & mobile line) -->
<textField isStretchWithOverflow="true">
<reportElement
x="5"
y="155"
width="555"
height="18"
style="HelveticaNormal"/>
<textElement verticalAlignment="Top" markup="html">
<paragraph firstLineIndent="45" leftIndent="10"/>
</textElement>
<textFieldExpression><![CDATA[
"Your first training class will be held on "
+ "<b>28/03/2026</b>"
+ " at "
+ "<b>9 a.m</b>"
+ " in "
+ "<b>" + ($F{training_center_name} == null ? "" : $F{training_center_name}) + "</b>,"
+ "<b>" + ($F{training_center_address} == null ? "" : $F{training_center_address}) + "</b>."
+ "<b> Ph.No:</b>"
+ "<b>" + ($F{training_center_phn} == null ? "" : $F{training_center_phn}) + "</b>."
]]></textFieldExpression>
</textField>
<!-- Polling station information (BELOW training line) -->
<textField isStretchWithOverflow="true">
<reportElement x="5" y="195" width="555" height="20" positionType="Float" style="HelveticaNormal"/>
<textFieldExpression><![CDATA[
"The Polling station where you are going to work will be intimated to you in the last training class.\n"
]]></textFieldExpression>
</textField>
<!-- NOTE SECTION (AUTO HEIGHT + PRECISE INDENTS) -->
<staticText>
<reportElement x="5" y="315" width="100" height="16" style="HelveticaBoldItalic"/>
<text><![CDATA[Note :]]></text>
</staticText>
<!-- POINT 1 NUMBER -->
<staticText>
<reportElement x="10" y="335" width="15" height="16" style="HelveticaBoldItalic"/>
<text><![CDATA[1.]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="23" y="335" width="532" height="16" style="HelveticaBoldItalic"/>
<textFieldExpression><![CDATA[
"If you are an Elector, as per the latest published Electoral Roll and wish to vote using Postal Ballot, Fill Form 12 in complete and hand over to your Returning officer."
]]></textFieldExpression>
</textField>
<!-- POINT 2 NUMBER -->
<staticText>
<reportElement x="10" y="360" width="15" height="16" style="HelveticaBoldItalic"/>
<text><![CDATA[2.]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="23" y="360" width="532" height="16" style="HelveticaBoldItalic"/>
<textFieldExpression><![CDATA[
"Non compliance of the order is an offence punishable under sec 134 of R.P. Act, 1951 (43 of 1951) Breach of official duty in connection with election."
]]></textFieldExpression>
</textField>
<!-- POINT 3 NUMBER -->
<staticText>
<reportElement x="10" y="385" width="15" height="16" style="HelveticaBoldItalic"/>
<text><![CDATA[3.]]></text>
</staticText>
<!-- POINT 3 TEXT -->
<textField isStretchWithOverflow="true">
<reportElement x="23" y="385" width="532" height="16" style="HelveticaBoldItalic"/>
<textFieldExpression><![CDATA[
"You are advised to bring the following documents, and the same have to be handed over to the Returning Officer/Assistant Returning Officer on 28/03/2026 without fail."
]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="20" y="410" width="20" height="16" style="HelveticaBoldItalic"/>
<text><![CDATA[a)]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="40" y="410" width="510" height="16" style="HelveticaBoldItalic"/>
<textFieldExpression><![CDATA[
"Please bring EPIC Card in original and one photo copy of EPIC card."
]]></textFieldExpression>
</textField>
<staticText>
<reportElement x="10" y="425" width="15" height="16" style="HelveticaBoldItalic"/>
<text><![CDATA[4.]]></text>
</staticText>
<textField isStretchWithOverflow="true">
<reportElement x="23" y="425" width="532" height="16" style="HelveticaBoldItalic"/>
<textFieldExpression><![CDATA[
"Nearest Bus Stand " + $F{bus_stop} + " ; Bus Route : " + $F{bus_no} + "."
]]></textFieldExpression>
</textField>
<!-- POINT 5 NUMBER -->
<staticText>
<reportElement x="10" y="440" width="15" height="16" style="HelveticaBoldItalic">
<printWhenExpression><![CDATA[
$F{img_full_path} == null || ((byte[])$F{img_full_path}).length == 0
]]></printWhenExpression>
</reportElement>
<text><![CDATA[5.]]></text>
</staticText>
<!-- POINT 5 TEXT -->
<textField isStretchWithOverflow="true">
<reportElement x="23" y="440" width="532" height="16" style="HelveticaBoldItalic">
<printWhenExpression><![CDATA[
$F{img_full_path} == null || ((byte[])$F{img_full_path}).length == 0
]]></printWhenExpression>
</reportElement>
<textFieldExpression><![CDATA[
"Please bring two Passport Size Photos"
]]></textFieldExpression>
</textField>
<!-- Dashed horizontal line -->
<line>
<reportElement x="0" y="480" width="555" height="1"/>
<graphicElement>
<pen lineWidth="1.5" lineStyle="Dashed"/>
</graphicElement>
</line>
<!-- ================= ACKNOWLEDGEMENT ================= -->
<!-- ACKNOWLEDGEMENT TITLE -->
<staticText>
<reportElement x="150" y="495" width="260" height="28"/>
<textElement textAlignment="Center">
<font size="20" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Acknowledgement]]></text>
</staticText>
<!-- ACKNOWLEDGEMENT UNDERLINE -->
<line>
<reportElement x="190" y="520" width="180" height="1"/>
<graphicElement>
<pen lineWidth="1.2"/>
</graphicElement>
</line>
<staticText>
<reportElement x="400" y="505" width="200" height="18"/>
<textElement>
<font size="11" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
</textElement>
<text><![CDATA[Unique No.: ]]></text>
</staticText>
<textField>
<reportElement x="480" y="505" width="200" height="18"/>
<textElement>
<font size="11" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
</textElement>
<textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
</textField>
<!-- ACKNOWLEDGEMENT TEXT (FULL WIDTH WITH LEFT MARGIN) -->
<textField isStretchWithOverflow="true">
<reportElement x="25" y="510" width="515" height="60" positionType="Float" style="HelveticaNormal"/>
<textElement textAlignment="Justified">
</textElement>
<textFieldExpression><![CDATA[
"I, " + $F{name}
+ ", hereby acknowledge the receipt of appointment order for the post of "
+ $F{category}
+ " during the General Elections to Tamil Nadu Legislative Assembly Election to be held on 23rd April, 2026."
]]></textFieldExpression>
</textField>
<!-- Signature label -->
<staticText>
<reportElement x="350" y="600" width="60" height="18" style="HelveticaNormal"/>
<text><![CDATA[Signature:]]></text>
</staticText>
<!-- Signature line -->
<line>
<reportElement x="400" y="610" width="120" height="1" style="HelveticaNormal"/>
<graphicElement>
<pen lineWidth="1.2"/>
</graphicElement>
</line>
<!-- Date label -->
<staticText>
<reportElement x="350" y="620" width="40" height="18" style="HelveticaNormal"/>
<text><![CDATA[Date:]]></text>
</staticText>
<!-- Date line -->
<line>
<reportElement x="400" y="630" width="120" height="1" style="HelveticaNormal"/>
<graphicElement>
<pen lineWidth="1.2"/>
</graphicElement>
</line>
</band>
</detail>
</jasperReport>