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.

341 lines
14 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="form12Report"
  9. pageWidth="595"
  10. pageHeight="842"
  11. columnWidth="505"
  12. leftMargin="40"
  13. rightMargin="50"
  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. <!-- Normal Helvetica -->
  23. <style name="HelveticaNormal"
  24. fontSize="14"
  25. pdfFontName="Helvetica"
  26. pdfEncoding="Cp1252"
  27. isPdfEmbedded="false"/>
  28. <!-- Bold Helvetica -->
  29. <style name="HelveticaBold"
  30. style="HelveticaNormal"
  31. fontSize="14"
  32. pdfFontName="Helvetica-Bold"/>
  33. <!-- Helvetica Bold + Italic -->
  34. <style name="HelveticaBoldItalic"
  35. style="HelveticaNormal"
  36. fontSize="11"
  37. isItalic="true"
  38. pdfFontName="Helvetica-BoldOblique"/>
  39. <!-- ========================= FIELDS ========================= -->
  40. <field name="unique_no" class="java.lang.String"/>
  41. <field name="person_name" class="java.lang.String"/>
  42. <!-- <field name="hallno" class="java.lang.String"/>-->
  43. <field name="r_mobile_no" class="java.lang.String"/>
  44. <field name="office_address" class="java.lang.String"/>
  45. <!-- <field name="sl_no" class="java.lang.String"/>-->
  46. <!-- <field name="part_no" class="java.lang.String"/>-->
  47. <!-- <field name="epic_no" class="java.lang.String"/>-->
  48. <!-- ========================= PAGE HEADER ========================= -->
  49. <pageHeader>
  50. <band height="80">
  51. <staticText>
  52. <reportElement x="0" y="20" width="505" height="26"/>
  53. <textElement textAlignment="Center" verticalAlignment="Middle">
  54. <font size="20" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  55. </textElement>
  56. <text><![CDATA[Form 12]]></text>
  57. </staticText>
  58. <textField>
  59. <reportElement x="0" y="0" width="505" height="26"/>
  60. <textElement textAlignment="Right" verticalAlignment="Middle">
  61. <font size="13" fontName="Helvetica" pdfFontName="Helvetica-Bold"/>
  62. <!-- <paragraph firstLineIndent="40" rightIndent="30"/>-->
  63. </textElement>
  64. <textFieldExpression><![CDATA[
  65. "Unique No : "
  66. + ($F{unique_no} == null ? "" : $F{unique_no})
  67. ]]></textFieldExpression>
  68. </textField>
  69. <!--Main Title -->
  70. <staticText>
  71. <reportElement x="0" y="40" width="505" height="20" style="HelveticaNormal"/>
  72. <textElement textAlignment="Center" verticalAlignment="Middle">
  73. </textElement>
  74. <text><![CDATA[[See rules 19 and 20]]]></text>
  75. </staticText>
  76. <!-- Title -->
  77. <staticText>
  78. <reportElement x="0" y="60" width="505" height="20" style="HelveticaBold"/>
  79. <textElement textAlignment="Center" verticalAlignment="Middle">
  80. </textElement>
  81. <text><![CDATA[Letter of Intimation to Returning Officer]]></text>
  82. </staticText>
  83. </band>
  84. </pageHeader>
  85. <!-- ========================= DETAIL (MAIN BODY) ========================= -->
  86. <detail>
  87. <band height="640">
  88. <!-- First Text (AUTO HEIGHT) -->
  89. <textField isStretchWithOverflow="true">
  90. <reportElement x="0" y="10" width="545" height="26" style="HelveticaBold"/>
  91. <textElement verticalAlignment="Top">
  92. <paragraph firstLineIndent="20" leftIndent="5"/>
  93. </textElement>
  94. <textFieldExpression><![CDATA["To"]]></textFieldExpression>
  95. </textField>
  96. <!-- Text (AUTO HEIGHT) -->
  97. <textField isStretchWithOverflow="true">
  98. <reportElement x="0" y="25" width="545" height="20" style="HelveticaNormal"/>
  99. <textElement verticalAlignment="Top">
  100. <paragraph firstLineIndent="30" leftIndent="30"/>
  101. </textElement>
  102. <textFieldExpression><![CDATA["The Returning Officer"]]></textFieldExpression>
  103. </textField>
  104. <!-- Second Text (AUTO HEIGHT) -->
  105. <textField isStretchWithOverflow="true">
  106. <reportElement x="0" y="40" width="545" height="20" style="HelveticaNormal"/>
  107. <textElement verticalAlignment="Top">
  108. <paragraph firstLineIndent="30" leftIndent="30"/>
  109. </textElement>
  110. <textFieldExpression><![CDATA["Assesmbly Constituency."]]></textFieldExpression>
  111. </textField>
  112. <line>
  113. <reportElement x="60" y="75" width="170" height="1"/>
  114. <graphicElement>
  115. <pen lineWidth="1.2"/>
  116. </graphicElement>
  117. </line>
  118. <ellipse>
  119. <reportElement x="245" y="75" width="1" height="1"/>
  120. <graphicElement>
  121. <pen lineWidth="1.2"/>
  122. </graphicElement>
  123. </ellipse>
  124. <!-- Third Text (AUTO HEIGHT) -->
  125. <textField>
  126. <reportElement x="0" y="90" width="545" height="20" style="HelveticaBold"/>
  127. <textElement verticalAlignment="Top">
  128. <paragraph firstLineIndent="20" leftIndent="5"/>
  129. </textElement>
  130. <textFieldExpression><![CDATA["Sir,"]]></textFieldExpression>
  131. </textField>
  132. <textField isStretchWithOverflow="true">
  133. <reportElement x="0" y="110" width="545" height="20" style="HelveticaNormal"/>
  134. <textElement verticalAlignment="Middle">
  135. <paragraph firstLineIndent="35" leftIndent="26" rightIndent="26"/>
  136. </textElement>
  137. <textFieldExpression><![CDATA[ "I intend to cast my vote by post at the ensuring election to the Legislative Assembly from the Assembly Constituency."
  138. ]]></textFieldExpression>
  139. </textField>
  140. <line>
  141. <reportElement x="215" y="146" width="170" height="1"/>
  142. <graphicElement>
  143. <pen lineWidth="1.2"/>
  144. </graphicElement>
  145. </line>
  146. <textField isStretchWithOverflow="true">
  147. <reportElement x="0" y="180" width="545" height="20" style="HelveticaNormal"/>
  148. <textElement verticalAlignment="Top">
  149. <paragraph firstLineIndent="35" leftIndent="26" rightIndent="40"/>
  150. </textElement>
  151. <textFieldExpression><![CDATA[
  152. "My name is entered at S.No. in Part No. of the election roll for Assembly Constituency."
  153. ]]></textFieldExpression>
  154. </textField>
  155. <line>
  156. <reportElement x="245" y="196" width="45" height="1"/>
  157. <graphicElement>
  158. <pen lineWidth="1.2"/>
  159. </graphicElement>
  160. </line>
  161. <line>
  162. <reportElement x="375" y="196" width="45" height="1"/>
  163. <graphicElement>
  164. <pen lineWidth="1.2"/>
  165. </graphicElement>
  166. </line>
  167. <line>
  168. <reportElement x="140" y="216" width="180" height="1"/>
  169. <graphicElement>
  170. <pen lineWidth="1.2"/>
  171. </graphicElement>
  172. </line>
  173. <textField isStretchWithOverflow="true">
  174. <reportElement x="0" y="250" width="545" height="20" style="HelveticaNormal"/>
  175. <textElement verticalAlignment="Top">
  176. <paragraph firstLineIndent="35" leftIndent="26" rightIndent="40"/>
  177. </textElement>
  178. <textFieldExpression><![CDATA[
  179. "My EPIC No, is "
  180. ]]></textFieldExpression>
  181. </textField>
  182. <line>
  183. <reportElement x="180" y="264" width="120" height="1"/>
  184. <graphicElement>
  185. <pen lineWidth="1.2"/>
  186. </graphicElement>
  187. </line>
  188. <ellipse>
  189. <reportElement x="315" y="264" width="1" height="1"/>
  190. <graphicElement>
  191. <pen lineWidth="1.2"/>
  192. </graphicElement>
  193. </ellipse>
  194. <!-- Sixth Text (AUTO HEIGHT) -->
  195. <textField isStretchWithOverflow="true">
  196. <reportElement x="0" y="280" width="545" height="20" style="HelveticaNormal"/>
  197. <textElement verticalAlignment="Top">
  198. <paragraph firstLineIndent="35" leftIndent="26" rightIndent="40"/>
  199. </textElement>
  200. <textFieldExpression><![CDATA[
  201. "The ballot paper may be sent to me at the following address:"
  202. ]]></textFieldExpression>
  203. </textField>
  204. <!-- Sixth Text (AUTO HEIGHT) -->
  205. <line>
  206. <reportElement x="17" y="330" width="270" height="1"/>
  207. <graphicElement>
  208. <pen lineWidth="1.2"/>
  209. </graphicElement>
  210. </line>
  211. <line>
  212. <reportElement x="17" y="360" width="270" height="1"/>
  213. <graphicElement>
  214. <pen lineWidth="1.2"/>
  215. </graphicElement>
  216. </line>
  217. <line>
  218. <reportElement x="17" y="390" width="270" height="1"/>
  219. <graphicElement>
  220. <pen lineWidth="1.2"/>
  221. </graphicElement>
  222. </line>
  223. <textField isStretchWithOverflow="true">
  224. <reportElement x="0" y="410" width="505" height="20" style="HelveticaNormal"/>
  225. <textElement verticalAlignment="Top" textAlignment="Right">
  226. <paragraph firstLineIndent="45" rightIndent="18"/>
  227. </textElement>
  228. <textFieldExpression><![CDATA["Yours faithfully,"
  229. ]]></textFieldExpression>
  230. </textField>
  231. <!-- NOTE SECTION (AUTO HEIGHT + PRECISE INDENTS) -->
  232. <textField isStretchWithOverflow="true">
  233. <reportElement x="0" y="430" width="350" height="20" style="HelveticaNormal" positionType="Float"/>
  234. <textElement verticalAlignment="Top">
  235. <paragraph firstLineIndent="10" leftIndent="5" rightIndent="30"/>
  236. </textElement>
  237. <textFieldExpression><![CDATA["Name : " + ($F{person_name} == null ? "" : $F{person_name})]]></textFieldExpression>
  238. </textField>
  239. <textField isStretchWithOverflow="true">
  240. <reportElement x="0" y="450" width="505" height="20" style="HelveticaNormal" positionType="Float"/>
  241. <textElement verticalAlignment="Top">
  242. <paragraph leftIndent="15" rightIndent="30"/>
  243. </textElement>
  244. <textFieldExpression><![CDATA["Office Name : " + ($F{office_address} == null ? "" : $F{office_address})]]></textFieldExpression>
  245. </textField>
  246. <textField isStretchWithOverflow="true">
  247. <reportElement x="0" y="470" width="300" height="20" style="HelveticaNormal" positionType="Float"/>
  248. <textElement verticalAlignment="Top">
  249. <paragraph firstLineIndent="10" leftIndent="5" rightIndent="30"/>
  250. </textElement>
  251. <textFieldExpression><![CDATA["MobileNo : " + ($F{r_mobile_no} == null ? "" : $F{r_mobile_no})]]></textFieldExpression>
  252. </textField>
  253. <!-- Name -->
  254. <textField isStretchWithOverflow="true">
  255. <reportElement x="0" y="490" width="150" height="20" style="HelveticaNormal" positionType="Float"/>
  256. <textElement verticalAlignment="Top">
  257. <paragraph firstLineIndent="10" leftIndent="5"/>
  258. </textElement>
  259. <textFieldExpression><![CDATA["Place:"]]></textFieldExpression>
  260. </textField>
  261. <line>
  262. <reportElement x="110" y="504" width="100" height="1" positionType="Float"/>
  263. <graphicElement>
  264. <pen lineWidth="1.2"/>
  265. </graphicElement>
  266. </line>
  267. <!-- Office Designation -->
  268. <textField>
  269. <reportElement x="0" y="510" width="150" height="20" style="HelveticaNormal" positionType="Float"/>
  270. <textElement verticalAlignment="Top">
  271. <paragraph firstLineIndent="10" leftIndent="5"/>
  272. </textElement>
  273. <textFieldExpression><![CDATA["Date:"]]></textFieldExpression>
  274. </textField>
  275. <!-- OFFICE / ADDRESS -->
  276. <line>
  277. <reportElement x="110" y="524" width="100" height="1" positionType="Float"/>
  278. <graphicElement>
  279. <pen lineWidth="1.2"/>
  280. </graphicElement>
  281. </line>
  282. <!-- Seventh Text (AUTO HEIGHT) -->
  283. <textField isStretchWithOverflow="true">
  284. <reportElement x="0" y="560" width="545" height="20" style="HelveticaNormal" positionType="Float"/>
  285. <textElement verticalAlignment="Top">
  286. <paragraph firstLineIndent="35" leftIndent="25" rightIndent="40"/>
  287. </textElement>
  288. <textFieldExpression><![CDATA[
  289. "NOTE: While filling out this form, your Constituency and electoral roll details must be furnished correctly."
  290. ]]></textFieldExpression>
  291. </textField>
  292. </band>
  293. </detail>
  294. </jasperReport>