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.

506 lines
20 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE jasperReport PUBLIC "-//JasperReports//DTD Report Design//EN"
  3. "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
  4. <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports"
  5. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  6. xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports
  7. http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"
  8. name="1stOrder"
  9. pageWidth="595"
  10. pageHeight="842"
  11. columnWidth="555"
  12. leftMargin="20"
  13. rightMargin="20"
  14. topMargin="20"
  15. bottomMargin="20"
  16. uuid="a1b2c3d4-0000-1111-2222-333344445555">
  17. <!-- Properties -->
  18. <property name="net.sf.jasperreports.awt.ignore.missing.font" value="true"/>
  19. <property name="lenient" value="true"/>
  20. <property name="net.sf.jasperreports.url.parameter.http.connectionTimeout" value="5000"/>
  21. <property name="net.sf.jasperreports.url.parameter.http.readTimeout" value="5000"/>
  22. <property name="net.sf.jasperreports.page.break.no.pagination" value="false"/>
  23. <property name="net.sf.jasperreports.print.keep.full.text" value="true"/>
  24. <!-- Normal Helvetica -->
  25. <style name="HelveticaNormal"
  26. fontSize="11"
  27. pdfFontName="Helvetica"
  28. pdfEncoding="Cp1252"
  29. isPdfEmbedded="false"/>
  30. <!-- Bold Helvetica -->
  31. <style name="HelveticaBold"
  32. style="HelveticaNormal"
  33. fontSize="11"
  34. pdfFontName="Helvetica-Bold"/>
  35. <!-- Helvetica Bold + Italic -->
  36. <style name="HelveticaBoldItalic"
  37. style="HelveticaNormal"
  38. fontSize="11"
  39. isItalic="true"
  40. pdfFontName="Helvetica-BoldOblique"/>
  41. <!-- ========================= PARAMETER ========================= -->
  42. <parameter name="sign_full_path" class="java.lang.Object"/>
  43. <!-- ========================= FIELDS ========================= -->
  44. <field name="unique_no" class="java.lang.String"/>
  45. <field name="name" class="java.lang.String"/>
  46. <field name="designation" class="java.lang.String"/>
  47. <field name="office_name" class="java.lang.String"/>
  48. <field name="address1" class="java.lang.String"/>
  49. <field name="address2" class="java.lang.String"/>
  50. <field name="address3" class="java.lang.String"/>
  51. <field name="pincode" class="java.lang.String"/>
  52. <field name="r_mobile_no" class="java.lang.String"/>
  53. <field name="category" class="java.lang.String"/>
  54. <field name="hallno" class="java.lang.String"/>
  55. <field name="img_full_path" class="java.lang.Object"/>
  56. <field name="training_center_name" class="java.lang.String"/>
  57. <field name="training_center_address" class="java.lang.String"/>
  58. <field name="training_center_phn" class="java.lang.String"/>
  59. <field name="bus_stop" class="java.lang.String"/>
  60. <field name="bus_no" class="java.lang.String"/>
  61. <field name="batch_no" class="java.lang.String"/>
  62. <!-- ========================= BACKGROUND ========================= -->
  63. <background>
  64. <band height="740">
  65. <!-- SIGNATURE IMAGE -->
  66. <image scaleImage="RetainShape" onErrorType="Blank">
  67. <reportElement x="375" y="330" width="200" height="90"/>
  68. <imageExpression><![CDATA[$P{sign_full_path}]]></imageExpression>
  69. </image>
  70. <!-- OFFICER TEXT -->
  71. <staticText>
  72. <reportElement x="280" y="385" width="350" height="90"/>
  73. <textElement textAlignment="Center" verticalAlignment="Top">
  74. <font size="12" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  75. </textElement>
  76. <text><![CDATA[
  77. DISTRICT ELECTION OFFICER &
  78. COMMISSIONER
  79. GREATER CHENNAI CORPORATION
  80. ]]></text>
  81. </staticText>
  82. </band>
  83. </background>
  84. <!-- ========================= PAGE HEADER ========================= -->
  85. <pageHeader>
  86. <band height="90">
  87. <!-- Title -->
  88. <staticText>
  89. <reportElement x="0" y="0" width="555" height="26"/>
  90. <textElement textAlignment="Center" verticalAlignment="Middle">
  91. <font size="20" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  92. </textElement>
  93. <text><![CDATA[Order of Appointment of Micro Observer]]></text>
  94. </staticText>
  95. <!-- Top horizontal line -->
  96. <line>
  97. <reportElement x="15" y="28" width="525" height="1"/>
  98. <graphicElement>
  99. <pen lineWidth="1.2"/>
  100. </graphicElement>
  101. </line>
  102. <!-- Description text (AUTO HEIGHT) -->
  103. <textField isStretchWithOverflow="true">
  104. <reportElement x="0" y="28" width="545" height="20" positionType="Float" style="HelveticaNormal"/>
  105. <textElement verticalAlignment="Top">
  106. <paragraph firstLineIndent="25" leftIndent="10"/>
  107. </textElement>
  108. <textFieldExpression><![CDATA[
  109. "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 "
  110. +" Micro Observer for General Elections to Tamil Nadu Legislative Assembly Election to be held on 23rd April 2026."]]></textFieldExpression>
  111. <!-- <textFieldExpression><![CDATA[-->
  112. <!-- "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."-->
  113. <!-- ]]></textFieldExpression>-->
  114. </textField>
  115. <!-- Bottom horizontal line -->
  116. <line>
  117. <reportElement x="0" y="87" width="555" height="1"/>
  118. <graphicElement>
  119. <pen lineWidth="1.2"/>
  120. </graphicElement>
  121. </line>
  122. </band>
  123. </pageHeader>
  124. <!-- ========================= DETAIL (MAIN BODY) ========================= -->
  125. <detail>
  126. <band height="640">
  127. <!-- Designation (LEFT) -->
  128. <staticText>
  129. <reportElement x="5" y="-15" width="90" height="18" style="HelveticaBold"/>
  130. <text><![CDATA[Designation:]]></text>
  131. </staticText>
  132. <textField>
  133. <reportElement x="75" y="-15" width="200" height="18" style="HelveticaBold"/>
  134. <!-- <textFieldExpression><![CDATA[$F{category}]]></textFieldExpression>-->
  135. <textFieldExpression><![CDATA["Micro Observer"]]></textFieldExpression>
  136. </textField>
  137. <!-- Unique No (RIGHT) -->
  138. <staticText>
  139. <reportElement x="360" y="-15" width="70" height="18" style="HelveticaBold"/>
  140. <text><![CDATA[Unique No:]]></text>
  141. </staticText>
  142. <textField>
  143. <reportElement x="435" y="-15" width="120" height="18" style="HelveticaBold"/>
  144. <textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
  145. </textField>
  146. <!-- Hall No (RIGHT) -->
  147. <staticText>
  148. <reportElement x="360" y="5" width="70" height="18" style="HelveticaBold"/>
  149. <text><![CDATA[Batch No:]]></text>
  150. </staticText>
  151. <textField>
  152. <reportElement x="435" y="5" width="120" height="18" style="HelveticaBold"/>
  153. <textFieldExpression><![CDATA[$F{batch_no}]]></textFieldExpression>
  154. </textField>
  155. <!-- PHOTO FRAME -->
  156. <frame>
  157. <!-- REQUIRED: reportElement must be FIRST inside frame -->
  158. <reportElement x="5" y="5" width="90" height="120"/>
  159. <!-- IMAGE -->
  160. <!--<image scaleImage="FillFrame" onErrorType="Blank">
  161. <reportElement x="0" y="0" width="90" height="120"/>
  162. <imageExpression><![CDATA[
  163. $F{img_full_path} == null ? null :
  164. new java.io.ByteArrayInputStream((byte[])$F{img_full_path})
  165. ]]></imageExpression>
  166. </image>-->
  167. <image scaleImage="FillFrame" onErrorType="Blank">
  168. <reportElement x="0" y="0" width="90" height="120">
  169. <printWhenExpression><![CDATA[$F{img_full_path} != null]]></printWhenExpression>
  170. </reportElement>
  171. <box>
  172. <pen lineWidth="0.6"/>
  173. </box>
  174. <imageExpression><![CDATA[
  175. new java.io.ByteArrayInputStream((byte[])$F{img_full_path})
  176. ]]></imageExpression>
  177. </image>
  178. <staticText>
  179. <reportElement x="0" y="0" width="90" height="120">
  180. <printWhenExpression><![CDATA[$F{img_full_path} == null]]></printWhenExpression>
  181. </reportElement>
  182. <box>
  183. <pen lineWidth="0.6"/>
  184. </box>
  185. <textElement textAlignment="Center" verticalAlignment="Middle">
  186. <font size="10" isBold="true"/>
  187. </textElement>
  188. <text><![CDATA[No Photo Available]]></text>
  189. </staticText>
  190. </frame>
  191. <!-- Name and Address heading -->
  192. <staticText>
  193. <reportElement x="105" y="5" width="200" height="18" style="HelveticaBold"/>
  194. <text><![CDATA[Name and Address]]></text>
  195. </staticText>
  196. <!-- NAME -->
  197. <textField>
  198. <reportElement x="105" y="25" width="250" height="18" style="HelveticaNormal"/>
  199. <textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
  200. </textField>
  201. <!-- Office Designation -->
  202. <textField>
  203. <reportElement x="105" y="45" width="250" height="18" style="HelveticaNormal"/>
  204. <textFieldExpression><![CDATA[$F{designation}]]></textFieldExpression>
  205. </textField>
  206. <!-- OFFICE / ADDRESS -->
  207. <textField isStretchWithOverflow="true">
  208. <reportElement x="105" y="65" width="500" height="18" style="HelveticaNormal"/>
  209. <textFieldExpression><![CDATA[$F{office_name}]]></textFieldExpression>
  210. </textField>
  211. <textField>
  212. <reportElement x="105" y="95" width="500" height="18" style="HelveticaNormal"/>
  213. <textFieldExpression><![CDATA[$F{address1}]]></textFieldExpression>
  214. </textField>
  215. <textField>
  216. <reportElement x="105" y="115" width="250" height="18" style="HelveticaNormal"/>
  217. <textFieldExpression><![CDATA[$F{address2}]]></textFieldExpression>
  218. </textField>
  219. <!-- Address line 3 + pincode -->
  220. <textField>
  221. <reportElement x="105" y="135" width="300" height="18" style="HelveticaNormal"/>
  222. <textFieldExpression><![CDATA[$F{address3}]]></textFieldExpression>
  223. </textField>
  224. <textField>
  225. <reportElement x="250" y="135" width="250" height="18" style="HelveticaNormal"/>
  226. <textFieldExpression><![CDATA[$F{pincode}]]></textFieldExpression>
  227. </textField>
  228. <!-- Mobile No label (RIGHT) -->
  229. <staticText>
  230. <reportElement x="340" y="135" width="70" height="18" style="HelveticaNormal"/>
  231. <text><![CDATA[Mobile No.:]]></text>
  232. </staticText>
  233. <!-- Mobile No value (RIGHT) -->
  234. <textField>
  235. <reportElement x="415" y="135" width="140" height="18" style="HelveticaNormal"/>
  236. <textFieldExpression><![CDATA[$F{r_mobile_no}]]></textFieldExpression>
  237. </textField>
  238. <!-- Training info (FULL WIDTH – BELOW address & mobile line) -->
  239. <!-- Training info (FULL WIDTH – BELOW address & mobile line) -->
  240. <textField isStretchWithOverflow="true">
  241. <reportElement
  242. x="5"
  243. y="155"
  244. width="555"
  245. height="18"
  246. style="HelveticaNormal"/>
  247. <textElement verticalAlignment="Top" markup="html">
  248. <paragraph firstLineIndent="45" leftIndent="10"/>
  249. </textElement>
  250. <!-- + "<b>" + ($F{training_center_name} == null ? "" : $F{training_center_name}) + "</b>,"
  251. + "<b>" + ($F{training_center_address} == null ? "" : $F{training_center_address}) + "</b>."
  252. + "<b> Ph.No:</b>"
  253. + "<b>" + ($F{training_center_phn} == null ? "" : $F{training_center_phn}) + "</b>."-->
  254. <textFieldExpression><![CDATA[
  255. "Your first training class will be held on "
  256. + "<b>11/04/2026</b>"
  257. + " at "
  258. + "<b>" + (
  259. $F{batch_no} != null && $F{batch_no}.equalsIgnoreCase("A")
  260. ? "10:00 AM"
  261. : ($F{batch_no} != null && $F{batch_no}.equalsIgnoreCase("B")
  262. ? "3:00 PM"
  263. : "")
  264. ) + "</b>"
  265. + " in "
  266. +"<b> Amma Maligai Auditorium,Greater Chennai Corporation, 16, E.V.R Periyar Salai, (Back Side of Ripon Buildings), Chennai-600003. </b>"
  267. ]]></textFieldExpression>
  268. </textField>
  269. <!-- Polling station information (BELOW training line) -->
  270. <textField isStretchWithOverflow="true">
  271. <reportElement x="5" y="195" width="555" height="20" positionType="Float" style="HelveticaNormal"/>
  272. <textFieldExpression><![CDATA[
  273. "The Polling station where you are going to work will be intimated to you in the next training class, on 22/04/2026.\n"
  274. ]]></textFieldExpression>
  275. </textField>
  276. <!-- NOTE SECTION (AUTO HEIGHT + PRECISE INDENTS) -->
  277. <staticText>
  278. <reportElement x="5" y="315" width="100" height="16" style="HelveticaBoldItalic"/>
  279. <text><![CDATA[Note :]]></text>
  280. </staticText>
  281. <!-- POINT 1 NUMBER -->
  282. <staticText>
  283. <reportElement x="10" y="335" width="15" height="16" style="HelveticaBoldItalic"/>
  284. <text><![CDATA[1.]]></text>
  285. </staticText>
  286. <textField isStretchWithOverflow="true">
  287. <reportElement x="23" y="335" width="532" height="16" style="HelveticaBoldItalic"/>
  288. <textFieldExpression><![CDATA[
  289. "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 officer incharge."
  290. ]]></textFieldExpression>
  291. </textField>
  292. <!-- POINT 2 NUMBER -->
  293. <staticText>
  294. <reportElement x="10" y="360" width="15" height="16" style="HelveticaBoldItalic"/>
  295. <text><![CDATA[2.]]></text>
  296. </staticText>
  297. <textField isStretchWithOverflow="true">
  298. <reportElement x="23" y="360" width="532" height="16" style="HelveticaBoldItalic"/>
  299. <textFieldExpression><![CDATA[
  300. "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."
  301. ]]></textFieldExpression>
  302. </textField>
  303. <!-- POINT 3 NUMBER -->
  304. <staticText>
  305. <reportElement x="10" y="385" width="15" height="16" style="HelveticaBoldItalic"/>
  306. <text><![CDATA[3.]]></text>
  307. </staticText>
  308. <!-- POINT 3 TEXT -->
  309. <textField isStretchWithOverflow="true">
  310. <reportElement x="23" y="385" width="532" height="16" style="HelveticaBoldItalic"/>
  311. <textFieldExpression><![CDATA[
  312. "Please bring EPIC Card in original and one photo copy of EPIC card."
  313. ]]></textFieldExpression>
  314. </textField>
  315. <!-- POINT 5 NUMBER -->
  316. <staticText>
  317. <reportElement x="10" y="410" width="15" height="16" style="HelveticaBoldItalic">
  318. <printWhenExpression><![CDATA[
  319. $F{img_full_path} == null || ((byte[])$F{img_full_path}).length == 0
  320. ]]></printWhenExpression>
  321. </reportElement>
  322. <text><![CDATA[4.]]></text>
  323. </staticText>
  324. <!-- POINT 5 TEXT -->
  325. <textField isStretchWithOverflow="true">
  326. <reportElement x="23" y="410" width="532" height="16" style="HelveticaBoldItalic">
  327. <printWhenExpression><![CDATA[
  328. $F{img_full_path} == null || ((byte[])$F{img_full_path}).length == 0
  329. ]]></printWhenExpression>
  330. </reportElement>
  331. <textFieldExpression><![CDATA[
  332. "Please bring two Passport Size Photos"
  333. ]]></textFieldExpression>
  334. </textField>
  335. <!-- Dashed horizontal line -->
  336. <line>
  337. <reportElement x="0" y="480" width="555" height="1"/>
  338. <graphicElement>
  339. <pen lineWidth="1.5" lineStyle="Dashed"/>
  340. </graphicElement>
  341. </line>
  342. <!-- ================= ACKNOWLEDGEMENT ================= -->
  343. <!-- ACKNOWLEDGEMENT TITLE -->
  344. <staticText>
  345. <reportElement x="150" y="495" width="260" height="28"/>
  346. <textElement textAlignment="Center">
  347. <font size="20" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  348. </textElement>
  349. <text><![CDATA[Acknowledgement]]></text>
  350. </staticText>
  351. <!-- ACKNOWLEDGEMENT UNDERLINE -->
  352. <line>
  353. <reportElement x="190" y="520" width="180" height="1"/>
  354. <graphicElement>
  355. <pen lineWidth="1.2"/>
  356. </graphicElement>
  357. </line>
  358. <staticText>
  359. <reportElement x="400" y="505" width="200" height="18"/>
  360. <textElement>
  361. <font size="11" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  362. </textElement>
  363. <text><![CDATA[Unique No.: ]]></text>
  364. </staticText>
  365. <textField>
  366. <reportElement x="480" y="505" width="200" height="18"/>
  367. <textElement>
  368. <font size="11" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  369. </textElement>
  370. <textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
  371. </textField>
  372. <!-- ACKNOWLEDGEMENT TEXT (FULL WIDTH WITH LEFT MARGIN) -->
  373. <textField isStretchWithOverflow="true">
  374. <reportElement x="25" y="510" width="515" height="60" positionType="Float" style="HelveticaNormal"/>
  375. <textElement textAlignment="Justified" markup="html">
  376. </textElement>
  377. <textFieldExpression><![CDATA[
  378. "I, " + $F{name}
  379. + ", hereby acknowledge the receipt of appointment order for the post of <br/>"
  380. + " Micro Observer during the General Elections to Tamil Nadu Legislative Assembly Election to be held on 23rd April, 2026."
  381. ]]></textFieldExpression>
  382. </textField>
  383. <!-- Signature label -->
  384. <staticText>
  385. <reportElement x="350" y="600" width="60" height="18" style="HelveticaNormal"/>
  386. <text><![CDATA[Signature:]]></text>
  387. </staticText>
  388. <!-- Signature line -->
  389. <line>
  390. <reportElement x="400" y="610" width="120" height="1" style="HelveticaNormal"/>
  391. <graphicElement>
  392. <pen lineWidth="1.2"/>
  393. </graphicElement>
  394. </line>
  395. <!-- Date label -->
  396. <staticText>
  397. <reportElement x="350" y="620" width="40" height="18" style="HelveticaNormal"/>
  398. <text><![CDATA[Date:]]></text>
  399. </staticText>
  400. <!-- Date line -->
  401. <line>
  402. <reportElement x="400" y="630" width="120" height="1" style="HelveticaNormal"/>
  403. <graphicElement>
  404. <pen lineWidth="1.2"/>
  405. </graphicElement>
  406. </line>
  407. </band>
  408. </detail>
  409. </jasperReport>