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

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports
  5. http://jasperreports.sourceforge.net/xsd/jasperreport.xsd"
  6. name="SecondDayAttendance"
  7. pageWidth="1008"
  8. pageHeight="612"
  9. orientation="Landscape"
  10. leftMargin="20"
  11. rightMargin="20"
  12. topMargin="20"
  13. bottomMargin="20"
  14. columnWidth="968">
  15. <property name="net.sf.jasperreports.default.font.name" value="DejaVu Sans"/>
  16. <property name="net.sf.jasperreports.default.pdf.font.name" value="DejaVu Sans"/>
  17. <property name="net.sf.jasperreports.default.pdf.encoding" value="Identity-H"/>
  18. <property name="net.sf.jasperreports.default.pdf.embedded" value="true"/>
  19. <!-- PARAMETERS -->
  20. <!--<parameter name="constituency" class="java.lang.String"/>
  21. <parameter name="training_center_name" class="java.lang.String"/>
  22. <parameter name="training_center_address" class="java.lang.String"/>
  23. <parameter name="constituency_no" class="java.lang.Integer"/>-->
  24. <field name="category" class="java.lang.String"/>
  25. <field name="training_center_name" class="java.lang.String"/>
  26. <field name="training_center_address" class="java.lang.String"/>
  27. <field name="constituency" class="java.lang.String"/>
  28. <field name="constituency_no" class="java.lang.String"/>
  29. <!-- FIELDS -->
  30. <field name="slno" class="java.lang.Integer"/>
  31. <field name="hallno" class="java.lang.String"/>
  32. <!--- <field name="training_center_name" class="java.lang.String"/>
  33. <field name="training_center_address" class="java.lang.String"/>
  34. <field name="constituency_no" class="java.lang.Integer"/>
  35. <field name="constituency" class="java.lang.String"/>-->
  36. <field name="unique_no" class="java.lang.String"/>
  37. <field name="team_code" class="java.lang.Integer"/>
  38. <field name="team_count" class="java.lang.Integer"/>
  39. <field name="name" class="java.lang.String"/>
  40. <field name="designation" class="java.lang.String"/>
  41. <field name="address1" class="java.lang.String"/>
  42. <field name="address2" class="java.lang.String"/>
  43. <field name="address3" class="java.lang.String"/>
  44. <field name="pincode" class="java.lang.String"/>
  45. <field name="r_mobile_no" class="java.lang.String"/>
  46. <field name="img_full_path" class="java.lang.String"/>
  47. <field name="office_name" class="java.lang.String"/>
  48. <variable name="SNO_VAR" class="java.lang.Integer" calculation="Count" resetType="Group" resetGroup="TeamHallGroup">
  49. <variableExpression><![CDATA[$F{unique_no}]]></variableExpression>
  50. </variable>
  51. <!-- GROUP BY TEAM -->
  52. <group name="TeamHallGroup" isStartNewPage="true">
  53. <groupExpression><![CDATA[
  54. $F{hallno}
  55. ]]></groupExpression>
  56. </group>
  57. <!-- PAGE HEADER -->
  58. <!--<pageHeader>
  59. <band height="120">
  60. <staticText>
  61. <reportElement x="0" y="0" width="968" height="25"/>
  62. <textElement textAlignment="Center">
  63. <font size="14" isBold="true"/>
  64. </textElement>
  65. <text><![CDATA[POLLING PERSONNEL SECOND DAY TRAINING ATTENDANCE SHEET]]></text>
  66. </staticText>
  67. <textField>
  68. <reportElement x="0" y="35" width="120" height="15"/>
  69. <textElement><font isBold="true"/></textElement>
  70. <textFieldExpression><![CDATA["CONSTITUENCY :"]]></textFieldExpression>
  71. </textField>
  72. <textField>
  73. <reportElement x="130" y="35" width="600" height="15"/>
  74. <textFieldExpression><![CDATA[$P{constituency_no} + " - " + $P{constituency}]]></textFieldExpression>
  75. </textField>
  76. <textField>
  77. <reportElement x="0" y="55" width="120" height="15"/>
  78. <textElement><font isBold="true"/></textElement>
  79. <textFieldExpression><![CDATA["TRAINING CENTER :"]]></textFieldExpression>
  80. </textField>
  81. <textField>
  82. <reportElement x="130" y="55" width="800" height="15"/>
  83. <textFieldExpression><![CDATA[$P{training_center_name} == null ? "-" : $P{training_center_name}]]></textFieldExpression>
  84. </textField>
  85. <textField>
  86. <reportElement x="130" y="70" width="800" height="15"/>
  87. <textFieldExpression><![CDATA[$P{training_center_address} == null ? "-" : $P{training_center_address}]]></textFieldExpression>
  88. </textField>
  89. <textField>
  90. <reportElement x="0" y="90" width="120" height="15"/>
  91. <textElement><font isBold="true"/></textElement>
  92. <textFieldExpression><![CDATA["HALL NO :"]]></textFieldExpression>
  93. </textField>
  94. <textField>
  95. <reportElement x="130" y="90" width="600" height="15"/>
  96. <textFieldExpression><![CDATA[$F{hallno}]]></textFieldExpression>
  97. </textField>
  98. </band>
  99. </pageHeader>-->
  100. <pageHeader>
  101. <band height="120">
  102. <staticText>
  103. <reportElement x="0" y="0" width="968" height="25"/>
  104. <textElement textAlignment="Center">
  105. <font size="14" isBold="true"/>
  106. </textElement>
  107. <text><![CDATA[POLLING PERSONNEL SECOND DAY TRAINING ATTENDANCE SHEET]]></text>
  108. </staticText>
  109. <!-- CONSTITUENCY LABEL -->
  110. <textField>
  111. <reportElement x="0" y="35" width="120" height="15"/>
  112. <textElement><font isBold="true"/></textElement>
  113. <textFieldExpression><![CDATA["CONSTITUENCY :"]]></textFieldExpression>
  114. </textField>
  115. <!-- CONSTITUENCY VALUE -->
  116. <textField>
  117. <reportElement x="130" y="35" width="600" height="15"/>
  118. <textFieldExpression><![CDATA[
  119. $F{constituency_no} + " - " + $F{constituency}
  120. ]]></textFieldExpression>
  121. </textField>
  122. <!-- TRAINING CENTER LABEL -->
  123. <textField>
  124. <reportElement x="0" y="55" width="120" height="15"/>
  125. <textElement><font isBold="true"/></textElement>
  126. <textFieldExpression><![CDATA["TRAINING CENTER :"]]></textFieldExpression>
  127. </textField>
  128. <!-- TRAINING CENTER NAME -->
  129. <textField>
  130. <reportElement x="130" y="55" width="800" height="15"/>
  131. <textFieldExpression><![CDATA[
  132. $F{training_center_name} == null ? "-" : $F{training_center_name}
  133. ]]></textFieldExpression>
  134. </textField>
  135. <!-- TRAINING CENTER ADDRESS -->
  136. <textField>
  137. <reportElement x="130" y="70" width="800" height="15"/>
  138. <textFieldExpression><![CDATA[
  139. $F{training_center_address} == null ? "-" : $F{training_center_address}
  140. ]]></textFieldExpression>
  141. </textField>
  142. <!-- HALL NO LABEL -->
  143. <textField>
  144. <reportElement x="0" y="90" width="120" height="15"/>
  145. <textElement><font isBold="true"/></textElement>
  146. <textFieldExpression><![CDATA["HALL NO :"]]></textFieldExpression>
  147. </textField>
  148. <!-- HALL NO VALUE -->
  149. <textField>
  150. <reportElement x="130" y="90" width="600" height="15"/>
  151. <textFieldExpression><![CDATA[$F{hallno}]]></textFieldExpression>
  152. </textField>
  153. </band>
  154. </pageHeader>
  155. <columnHeader>
  156. <band height="60">
  157. <frame>
  158. <reportElement x="0" y="0" width="968" height="60"/>
  159. <box>
  160. <pen lineWidth="1.0"/>
  161. </box>
  162. <!-- S.NO -->
  163. <staticText>
  164. <reportElement x="0" y="0" width="40" height="60"/>
  165. <box><pen lineWidth="0.6"/></box>
  166. <textElement textAlignment="Center" verticalAlignment="Middle">
  167. <font isBold="true"/>
  168. </textElement>
  169. <text><![CDATA[S.NO
  170. 1]]></text>
  171. </staticText>
  172. <!-- UNIQUE NO -->
  173. <staticText>
  174. <reportElement x="40" y="0" width="80" height="60"/>
  175. <box><pen lineWidth="0.6"/></box>
  176. <textElement textAlignment="Center" verticalAlignment="Middle">
  177. <font isBold="true"/>
  178. </textElement>
  179. <text><![CDATA[UNIQUE NO
  180. 2]]></text>
  181. </staticText>
  182. <!-- TEAM CODE -->
  183. <staticText>
  184. <reportElement x="120" y="0" width="40" height="60"/>
  185. <box><pen lineWidth="0.6"/></box>
  186. <textElement textAlignment="Center" verticalAlignment="Middle">
  187. <font isBold="true"/>
  188. </textElement>
  189. <text><![CDATA[TEAM CODE
  190. 3]]></text>
  191. </staticText>
  192. <!-- NAME / DESIGNATION / ADDRESS -->
  193. <staticText>
  194. <reportElement x="160" y="0" width="220" height="60"/>
  195. <box><pen lineWidth="0.6"/></box>
  196. <textElement textAlignment="Center" verticalAlignment="Middle">
  197. <font isBold="true"/>
  198. </textElement>
  199. <text><![CDATA[NAME, DESIGNATION AND ADDRESS
  200. 4]]></text>
  201. </staticText>
  202. <!-- CHANGES IF ANY -->
  203. <staticText>
  204. <reportElement x="380" y="0" width="160" height="60"/>
  205. <box><pen lineWidth="0.6"/></box>
  206. <textElement textAlignment="Center" verticalAlignment="Middle">
  207. <font isBold="true"/>
  208. </textElement>
  209. <text><![CDATA[CHANGES IF ANY
  210. 5]]></text>
  211. </staticText>
  212. <staticText>
  213. <reportElement x="540" y="0" width="100" height="60"/>
  214. <box><pen lineWidth="0.6"/></box>
  215. <textElement textAlignment="Center" verticalAlignment="Middle">
  216. <font isBold="true"/>
  217. </textElement>
  218. <text><![CDATA[POSTAL BALLOT RECEIVED OR NOT YES/NO
  219. 6]]></text>
  220. </staticText>
  221. <!-- PHOTO -->
  222. <staticText>
  223. <reportElement x="640" y="0" width="80" height="60"/>
  224. <box><pen lineWidth="0.6"/></box>
  225. <textElement textAlignment="Center" verticalAlignment="Middle">
  226. <font isBold="true"/>
  227. </textElement>
  228. <text><![CDATA[PHOTO
  229. 7]]></text>
  230. </staticText>
  231. <!-- CELL NO -->
  232. <staticText>
  233. <reportElement x="720" y="0" width="90" height="60"/>
  234. <box><pen lineWidth="0.6"/></box>
  235. <textElement textAlignment="Center" verticalAlignment="Middle">
  236. <font isBold="true"/>
  237. </textElement>
  238. <text><![CDATA[CELL NO
  239. 8]]></text>
  240. </staticText>
  241. <!-- CATEGORY -->
  242. <staticText>
  243. <reportElement x="810" y="0" width="60" height="60"/>
  244. <box><pen lineWidth="0.6"/></box>
  245. <textElement textAlignment="Center" verticalAlignment="Middle">
  246. <font isBold="true"/>
  247. </textElement>
  248. <text><![CDATA[CATEGORY
  249. 9]]></text>
  250. </staticText>
  251. <!-- SIGNATURE -->
  252. <staticText>
  253. <reportElement x="870" y="0" width="98" height="60"/>
  254. <box><pen lineWidth="0.6"/></box>
  255. <textElement textAlignment="Center" verticalAlignment="Middle">
  256. <font isBold="true"/>
  257. </textElement>
  258. <text><![CDATA[SIGNATURE
  259. 10]]></text>
  260. </staticText>
  261. </frame>
  262. </band>
  263. </columnHeader>
  264. <!-- COLUMN HEADER -->
  265. <!--<columnHeader>
  266. <band height="45">
  267. <frame>
  268. <reportElement x="0" y="0" width="968" height="45"/>
  269. <box>
  270. <pen lineWidth="1.0"/>
  271. </box>
  272. <staticText>
  273. <reportElement x="0" y="0" width="40" height="45"/>
  274. <box><pen lineWidth="0.6"/></box>
  275. <textElement textAlignment="Center" ><font isBold="true"/></textElement>
  276. <text><![CDATA[S.NO
  277. 1]]></text>
  278. </staticText>
  279. <staticText>
  280. <reportElement x="40" y="0" width="80" height="45"/>
  281. <box><pen lineWidth="0.6"/></box>
  282. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  283. <text><![CDATA[UNIQUE NO
  284. 2]]></text>
  285. </staticText>
  286. <staticText>
  287. <reportElement x="120" y="0" width="60" height="45"/>
  288. <box><pen lineWidth="0.6"/></box>
  289. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  290. <text><![CDATA[TEAM CODE
  291. 3]]></text>
  292. </staticText>
  293. <staticText>
  294. <reportElement x="180" y="0" width="280" height="45"/>
  295. <box><pen lineWidth="0.6"/></box>
  296. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  297. <text><![CDATA[NAME, DESIGNATION AND ADDRESS
  298. 4]]></text>
  299. </staticText>
  300. <staticText>
  301. <reportElement x="460" y="0" width="200" height="45"/>
  302. <box><pen lineWidth="0.6"/></box>
  303. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  304. <text><![CDATA[CHANGES IF ANY
  305. 5]]></text>
  306. </staticText>
  307. <staticText>
  308. <reportElement x="660" y="0" width="80" height="45"/>
  309. <box><pen lineWidth="0.6"/></box>
  310. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  311. <text><![CDATA[PHOTO
  312. 6]]></text>
  313. </staticText>
  314. <staticText>
  315. <reportElement x="740" y="0" width="90" height="45"/>
  316. <box><pen lineWidth="0.6"/></box>
  317. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  318. <text><![CDATA[CELL NO
  319. 7]]></text>
  320. </staticText>
  321. <staticText>
  322. <reportElement x="830" y="0" width="60" height="45"/>
  323. <box><pen lineWidth="0.6"/></box>
  324. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  325. <text><![CDATA[CATEGORY
  326. 8]]></text>
  327. </staticText>
  328. <staticText>
  329. <reportElement x="890" y="0" width="78" height="45"/>
  330. <box><pen lineWidth="0.6"/></box>
  331. <textElement textAlignment="Center"><font isBold="true"/></textElement>
  332. <text><![CDATA[SIGNATURE
  333. 9]]></text>
  334. </staticText>
  335. </frame>
  336. </band>
  337. </columnHeader>-->
  338. <!-- DETAIL -->
  339. <!-- DETAIL -->
  340. <detail>
  341. <band height="65" splitType="Stretch">
  342. <frame>
  343. <reportElement x="0" y="0" width="968" height="65"
  344. positionType="Float"
  345. stretchType="RelativeToBandHeight"/>
  346. <box>
  347. <pen lineWidth="1.0"/>
  348. </box>
  349. <!-- S.NO -->
  350. <!-- <textField textAdjust="StretchHeight">
  351. <reportElement x="0" y="0" width="40" height="65"
  352. positionType="Float"
  353. stretchType="RelativeToBandHeight"/>
  354. <box><pen lineWidth="0.6"/></box>
  355. <textElement textAlignment="Center" verticalAlignment="Middle">
  356. <font size="14"
  357. fontName="DejaVu Sans"
  358. pdfFontName="DejaVuSans.ttf"
  359. pdfEncoding="Identity-H"
  360. isPdfEmbedded="true"/>
  361. </textElement>
  362. <textFieldExpression><![CDATA[$V{SNO_VAR} + "\n\u2610"]]></textFieldExpression>
  363. </textField>-->
  364. <!-- S.NO -->
  365. <textField textAdjust="StretchHeight">
  366. <reportElement x="0" y="0" width="40" height="65"
  367. positionType="Float"
  368. stretchType="RelativeToBandHeight"/>
  369. <box><pen lineWidth="0.6"/></box>
  370. <textElement markup="styled" textAlignment="Center" verticalAlignment="Middle">
  371. <!-- <textFieldExpression><![CDATA[
  372. $F{slno} + "\n\u2610"
  373. ]]></textFieldExpression>-->
  374. </textElement>
  375. <textFieldExpression><![CDATA[
  376. $V{SNO_VAR} + "\n" +
  377. "<style fontName=\"DejaVu Sans\" pdfFontName=\"DejaVuSans.ttf\" pdfEncoding=\"Identity-H\" isPdfEmbedded=\"true\">\u2610</style>"
  378. ]]></textFieldExpression>
  379. </textField>
  380. <!-- UNIQUE NO -->
  381. <textField textAdjust="StretchHeight">
  382. <reportElement x="40" y="0" width="80" height="65"
  383. positionType="Float"
  384. stretchType="RelativeToBandHeight"/>
  385. <box><pen lineWidth="0.6"/></box>
  386. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  387. <textFieldExpression><![CDATA[$F{unique_no}]]></textFieldExpression>
  388. </textField>
  389. <!-- TEAM CODE -->
  390. <textField textAdjust="StretchHeight">
  391. <reportElement x="120" y="0" width="40" height="65"
  392. positionType="Float"
  393. stretchType="RelativeToBandHeight"/>
  394. <box><pen lineWidth="0.6"/></box>
  395. <textElement textAlignment="Center" verticalAlignment="Middle"/>
  396. <textFieldExpression><![CDATA[$F{team_code}]]></textFieldExpression>
  397. </textField>
  398. <!-- NAME + ADDRESS (YOUR ORIGINAL EXPRESSION) -->
  399. <textField textAdjust="StretchHeight">
  400. <reportElement x="160" y="0" width="220" height="65"
  401. positionType="Float"
  402. stretchType="RelativeToBandHeight"/>
  403. <box><pen lineWidth="0.6"/></box>
  404. <textElement markup="styled">
  405. <font size="8"/>
  406. <paragraph leftIndent="5"/>
  407. </textElement>
  408. <!-- ✅ UNCHANGED -->
  409. <!-- <textFieldExpression><![CDATA[
  410. $F{name} + "\n" +
  411. "<style isBold=\"true\">" + $F{designation} + "</style>\n" +
  412. ($F{office_name} == null ? "" : $F{office_name}.replace("&", "&amp;") + ", ") +
  413. ($F{address1} == null ? "" : $F{address1}.replace("&", "&amp;")) + ", " +
  414. ($F{address2} == null ? "" : $F{address2}.replace("&", "&amp;")) + ", " +
  415. ($F{address3} == null ? "" : $F{address3}.replace("&", "&amp;")) + " - " +
  416. ($F{pincode} == null ? "" : $F{pincode}.replace("&", "&amp;"))
  417. ]]></textFieldExpression>-->
  418. <textFieldExpression><![CDATA[
  419. ($F{name} == null ? "" : $F{name}.toUpperCase()) + "\n\n" +
  420. "<style isBold=\"true\">" +
  421. ($F{designation} == null ? "" : $F{designation}.toUpperCase()) +
  422. "</style>\n" +
  423. ($F{office_name} == null ? "" : $F{office_name}.toUpperCase().replace("&", "&amp;") + " ") +
  424. ($F{address1} == null ? "" : $F{address1}.toUpperCase().replace("&", "&amp;") + " ") +
  425. ($F{address2} == null ? "" : $F{address2}.toUpperCase().replace("&", "&amp;") + " ") +
  426. ($F{address3} == null ? "" : $F{address3}.toUpperCase().replace("&", "&amp;") + " ") +
  427. ($F{pincode} == null ? "" : $F{pincode}.toUpperCase().replace("&", "&amp;"))
  428. ]]></textFieldExpression>
  429. </textField>
  430. <!-- CHANGES -->
  431. <textField textAdjust="StretchHeight">
  432. <reportElement x="380" y="0" width="160" height="65"
  433. positionType="Float"
  434. stretchType="RelativeToBandHeight"/>
  435. <box><pen lineWidth="0.6"/></box>
  436. <textFieldExpression><![CDATA[""]]></textFieldExpression>
  437. </textField>
  438. <textField textAdjust="StretchHeight">
  439. <reportElement x="540" y="0" width="100" height="65"
  440. positionType="Float"
  441. stretchType="RelativeToBandHeight"/>
  442. <box><pen lineWidth="0.6"/></box>
  443. <textFieldExpression><![CDATA[""]]></textFieldExpression>
  444. </textField>
  445. <!-- IMAGE (KEEP FILLFRAME ✔) -->
  446. <!-- <image scaleImage="FillFrame"
  447. hAlign="Center"
  448. vAlign="Middle"
  449. onErrorType="Blank">
  450. <reportElement x="640" y="0" width="80" height="65"
  451. positionType="Float"
  452. stretchType="RelativeToBandHeight"/>
  453. <box><pen lineWidth="0.6"/></box>
  454. <imageExpression><![CDATA[
  455. $F{img_full_path} == null ? null : new java.net.URL($F{img_full_path})
  456. ]]></imageExpression>
  457. </image>-->
  458. <image scaleImage="FillFrame" onErrorType="Blank">
  459. <reportElement x="640" y="0" width="80" height="65">
  460. <printWhenExpression><![CDATA[$F{img_full_path} != null]]></printWhenExpression>
  461. </reportElement>
  462. <box>
  463. <pen lineWidth="0.6"/>
  464. </box>
  465. <imageExpression><![CDATA[
  466. new java.net.URL($F{img_full_path})
  467. ]]></imageExpression>
  468. </image>
  469. <staticText>
  470. <reportElement x="640" y="0" width="80" height="65">
  471. <printWhenExpression><![CDATA[$F{img_full_path} == null]]></printWhenExpression>
  472. </reportElement>
  473. <box>
  474. <pen lineWidth="0.6"/>
  475. </box>
  476. <textElement textAlignment="Center" verticalAlignment="Middle">
  477. <font size="10" isBold="true"/>
  478. </textElement>
  479. <text><![CDATA[No Photo Available]]></text>
  480. </staticText>
  481. <!-- CELL -->
  482. <textField textAdjust="StretchHeight">
  483. <reportElement x="720" y="0" width="90" height="65"
  484. positionType="Float"
  485. stretchType="RelativeToBandHeight"/>
  486. <box><pen lineWidth="0.6"/></box>
  487. <textElement textAlignment="Center" verticalAlignment="Middle"><font isBold="true"/></textElement>
  488. <textFieldExpression><![CDATA[
  489. $F{r_mobile_no} == null ? "-" : $F{r_mobile_no}
  490. ]]></textFieldExpression>
  491. </textField>
  492. <!-- CATEGORY -->
  493. <textField textAdjust="StretchHeight">
  494. <reportElement x="810" y="0" width="60" height="65"
  495. positionType="Float"
  496. stretchType="RelativeToBandHeight"/>
  497. <box><pen lineWidth="0.6"/></box>
  498. <textElement textAlignment="Center" verticalAlignment="Middle"><font isBold="true"/></textElement>
  499. <textFieldExpression><![CDATA[$F{category}]]></textFieldExpression>
  500. </textField>
  501. <!-- SIGN -->
  502. <textField textAdjust="StretchHeight">
  503. <reportElement x="870" y="0" width="98" height="65"
  504. positionType="Float"
  505. stretchType="RelativeToBandHeight"/>
  506. <box><pen lineWidth="0.6"/></box>
  507. <textFieldExpression><![CDATA[""]]></textFieldExpression>
  508. </textField>
  509. </frame>
  510. </band>
  511. </detail>
  512. <!-- FOOTER -->
  513. <pageFooter>
  514. <band height="45">
  515. <!-- BIG CHECKBOX -->
  516. <textField>
  517. <reportElement x="0" y="5" width="20" height="35"/>
  518. <textElement textAlignment="Center" verticalAlignment="Top">
  519. <font size="16"
  520. fontName="DejaVu Sans"
  521. pdfFontName="DejaVuSans.ttf"
  522. pdfEncoding="Identity-H"
  523. isPdfEmbedded="true"/>
  524. </textElement>
  525. <textFieldExpression><![CDATA["\u2611"]]></textFieldExpression>
  526. </textField>
  527. <!-- NOTE TEXT -->
  528. <textField isStretchWithOverflow="true">
  529. <reportElement x="25" y="5" width="725" height="35"/>
  530. <textElement textAlignment="Left">
  531. <font isBold="true" size="9"
  532. fontName="DejaVu Sans"
  533. pdfFontName="DejaVuSans.ttf"
  534. pdfEncoding="Identity-H"
  535. isPdfEmbedded="true"/>
  536. </textElement>
  537. <textFieldExpression><![CDATA[
  538. "Note : Respective Polling Officers must fill the columns DESIGNATION, PHOTO and CELL NO before signing the attendance.\n" +
  539. "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."
  540. ]]></textFieldExpression>
  541. </textField>
  542. <!-- PAGE NUMBER -->
  543. <textField>
  544. <reportElement x="750" y="20" width="218" height="15"/>
  545. <textElement textAlignment="Right">
  546. <font isBold="true" size="9"/>
  547. </textElement>
  548. <textFieldExpression><![CDATA[
  549. "Page Number : " + $V{PAGE_NUMBER}
  550. ]]></textFieldExpression>
  551. </textField>
  552. </band>
  553. </pageFooter>
  554. <!-- <pageFooter>
  555. <band height="45">
  556. <textField isStretchWithOverflow="true">
  557. <reportElement x="0" y="5" width="750" height="35"/>
  558. <textElement textAlignment="Left">
  559. <font isBold="true" size="9" fontName="DejaVu Sans"
  560. pdfFontName="DejaVuSans.ttf"
  561. pdfEncoding="Identity-H"
  562. isPdfEmbedded="true"/>
  563. </textElement>
  564. <textFieldExpression><![CDATA[
  565. "\u2611 Note : Respective Polling Officers must fill the columns DESIGNATION, PHOTO and CELL NO before signing the attendance.\n" +
  566. "If any corrections are found, please mention them in the \"Changes if any\" column.\n" +
  567. "If there are no changes, please tick the \"S.No\" cell."
  568. ]]></textFieldExpression>
  569. </textField>
  570. <textField>
  571. <reportElement x="750" y="20" width="218" height="15"/>
  572. <textElement textAlignment="Right">
  573. <font isBold="true" size="9"/>
  574. </textElement>
  575. <textFieldExpression><![CDATA[
  576. "Page Number : " + $V{PAGE_NUMBER}
  577. ]]></textFieldExpression>
  578. </textField>
  579. </band>
  580. </pageFooter>-->
  581. </jasperReport>