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.

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