Advertisement
Guest User

Untitled

a guest
May 23rd, 2014
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Created with Jaspersoft Studio version last-->
  3. <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="order_invoice" pageWidth="595" pageHeight="842" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="8097441b-b627-4087-9c50-5a1364d01f22">
  4. <property name="ireport.zoom" value="1.771561000000006"/>
  5. <property name="ireport.x" value="9"/>
  6. <property name="ireport.y" value="361"/>
  7. <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
  8. <style name="Address" fontName="Arial" fontSize="14" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfEncoding="Cp1250"/>
  9. <style name="Normal" isDefault="true" markup="none" fontName="Arial" fontSize="10" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" isPdfEmbedded="true"/>
  10. <style name="Normal_Fett" markup="none" fontName="Arial" fontSize="10" isBold="true" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica-Bold" isPdfEmbedded="true"/>
  11. <subDataset name="Table Dataset 1" uuid="1429d4e4-622d-437d-b24c-5145bf03e416"/>
  12. <parameter name="ID" class="java.lang.Integer"/>
  13. <queryString language="xPath">
  14. <![CDATA[//order]]>
  15. </queryString>
  16. <field name="id" class="java.lang.String">
  17. <fieldDescription><![CDATA[id]]></fieldDescription>
  18. </field>
  19. <field name="created-at" class="java.lang.String">
  20. <fieldDescription><![CDATA[jasper-created-at]]></fieldDescription>
  21. </field>
  22. <field name="amount-net" class="java.lang.String">
  23. <fieldDescription><![CDATA[jasper-amount-net]]></fieldDescription>
  24. </field>
  25. <field name="amount-gross" class="java.lang.String">
  26. <fieldDescription><![CDATA[jasper-amount-gross]]></fieldDescription>
  27. </field>
  28. <field name="vat" class="java.lang.String">
  29. <fieldDescription><![CDATA[jasper-vat-as-amount]]></fieldDescription>
  30. </field>
  31. <field name="net-fee" class="java.lang.String">
  32. <fieldDescription><![CDATA[jasper-net-fee-as-amount]]></fieldDescription>
  33. </field>
  34. <field name="gross-fee" class="java.lang.String">
  35. <fieldDescription><![CDATA[jasper-gross-fee-as-amount]]></fieldDescription>
  36. </field>
  37. <field name="fee" class="java.lang.String">
  38. <fieldDescription><![CDATA[jasper-fee]]></fieldDescription>
  39. </field>
  40. <field name="payment-issued" class="java.lang.String">
  41. <fieldDescription><![CDATA[jasper-payment-issued]]></fieldDescription>
  42. </field>
  43. <field name="project-number" class="java.lang.String">
  44. <fieldDescription><![CDATA[project-number]]></fieldDescription>
  45. </field>
  46. <field name="invoice-number" class="java.lang.String">
  47. <fieldDescription><![CDATA[invoice-number]]></fieldDescription>
  48. </field>
  49. <field name="contact-person" class="java.lang.String">
  50. <fieldDescription><![CDATA[contact-person]]></fieldDescription>
  51. </field>
  52. <field name="agency-name" class="java.lang.String">
  53. <fieldDescription><![CDATA[agency-name]]></fieldDescription>
  54. </field>
  55. <field name="salutation" class="java.lang.String">
  56. <fieldDescription><![CDATA[user/salutation]]></fieldDescription>
  57. </field>
  58. <field name="firstname" class="java.lang.String">
  59. <fieldDescription><![CDATA[firstname]]></fieldDescription>
  60. </field>
  61. <field name="lastname" class="java.lang.String">
  62. <fieldDescription><![CDATA[user/lastname]]></fieldDescription>
  63. </field>
  64. <field name="street1" class="java.lang.String">
  65. <fieldDescription><![CDATA[user/address/street1]]></fieldDescription>
  66. </field>
  67. <field name="street2" class="java.lang.String">
  68. <fieldDescription><![CDATA[user/address/street2]]></fieldDescription>
  69. </field>
  70. <field name="zip" class="java.lang.String">
  71. <fieldDescription><![CDATA[user/address/zip]]></fieldDescription>
  72. </field>
  73. <field name="city" class="java.lang.String">
  74. <fieldDescription><![CDATA[user/address/city]]></fieldDescription>
  75. </field>
  76. <field name="order_invoice_nr" class="java.lang.String">
  77. <fieldDescription><![CDATA[order-invoice-nr]]></fieldDescription>
  78. </field>
  79. <field name="order_date" class="java.lang.String">
  80. <fieldDescription><![CDATA[order-date]]></fieldDescription>
  81. </field>
  82. <background>
  83. <band splitType="Stretch"/>
  84. </background>
  85. <title>
  86. <band height="616" splitType="Stretch">
  87. <rectangle>
  88. <reportElement x="56" y="378" width="480" height="80" uuid="0361a574-f7cb-4cff-960b-7a4f84345007"/>
  89. </rectangle>
  90. <rectangle>
  91. <reportElement x="66" y="134" width="235" height="109" forecolor="#B5B5B5" uuid="e3b7b381-bf14-4fed-b446-72b08c62d01b"/>
  92. <graphicElement>
  93. <pen lineWidth="0.5" lineStyle="Dotted"/>
  94. </graphicElement>
  95. </rectangle>
  96. <textField>
  97. <reportElement style="Address" x="69" y="158" width="200" height="16" uuid="de5ed78c-67f4-4075-8319-55f9ad42409a"/>
  98. <textElement>
  99. <font size="12"/>
  100. </textElement>
  101. <textFieldExpression><![CDATA[$F{salutation}.equals("m") ? "Mr." + " " + $F{lastname} : "Ms." + " " + $F{lastname}]]></textFieldExpression>
  102. </textField>
  103. <textField isBlankWhenNull="true">
  104. <reportElement style="Address" positionType="Float" x="69" y="190" width="200" height="16" uuid="fab7f20f-4763-4412-a591-e911963077ed"/>
  105. <textElement>
  106. <font size="12"/>
  107. </textElement>
  108. <textFieldExpression><![CDATA[$F{street2}]]></textFieldExpression>
  109. </textField>
  110. <textField>
  111. <reportElement style="Address" positionType="Float" x="69" y="206" width="200" height="16" uuid="0261c50e-4b44-4e4e-a7ca-2f80a736ca9d"/>
  112. <textElement>
  113. <font size="12"/>
  114. </textElement>
  115. <textFieldExpression><![CDATA[$F{zip} + " " + $F{city}]]></textFieldExpression>
  116. </textField>
  117. <line>
  118. <reportElement x="66" y="151" width="235" height="1" uuid="02debcf9-4a8b-420d-b6c0-5cda8358b561"/>
  119. </line>
  120. <staticText>
  121. <reportElement x="69" y="134" width="232" height="15" uuid="b25a42e5-1b17-487d-b44f-39780feab6d1"/>
  122. <textElement verticalAlignment="Bottom" markup="none">
  123. <font fontName="Times New Roman" size="9"/>
  124. </textElement>
  125. <text><![CDATA[Lorem Ipsum]]></text>
  126. </staticText>
  127. <textField>
  128. <reportElement style="Normal" x="360" y="231" width="176" height="12" uuid="b8957382-ec96-4539-bd9b-914633bdf6e4"/>
  129. <textElement textAlignment="Right" markup="none">
  130. <font fontName="Times New Roman" size="8"/>
  131. </textElement>
  132. <textFieldExpression><![CDATA[$F{payment-issued}]]></textFieldExpression>
  133. </textField>
  134. <line>
  135. <reportElement x="10" y="296" width="20" height="1" uuid="c4ef84f5-3c62-4e33-85b4-805abc03f6ea"/>
  136. </line>
  137. <staticText>
  138. <reportElement style="Normal_Fett" x="56" y="307" width="213" height="20" uuid="19f66e39-b0d3-4518-9424-cab34d7c1455"/>
  139. <textElement markup="none">
  140. <font fontName="Times New Roman" size="12" isBold="true" isUnderline="true"/>
  141. </textElement>
  142. <text><![CDATA[Invoice number: ]]></text>
  143. </staticText>
  144. <staticText>
  145. <reportElement style="Normal" positionType="Float" x="67" y="388" width="71" height="12" uuid="565add13-61f4-4916-a7df-7ad6b982d64d"/>
  146. <textElement>
  147. <font fontName="Times New Roman" size="8"/>
  148. </textElement>
  149. <text><![CDATA[from:]]></text>
  150. </staticText>
  151. <staticText>
  152. <reportElement style="Normal" positionType="Float" x="67" y="424" width="71" height="12" uuid="d3d4c40e-b4b9-4b47-b1f9-2be35b388fa9"/>
  153. <textElement>
  154. <font fontName="Times New Roman" size="8"/>
  155. </textElement>
  156. <text><![CDATA[Sum(net):]]></text>
  157. </staticText>
  158. <textField>
  159. <reportElement style="Address" positionType="Float" x="69" y="174" width="200" height="16" isRemoveLineWhenBlank="true" uuid="4f179089-7c08-499d-b5a6-1ab51390ca63"/>
  160. <textElement>
  161. <font size="12"/>
  162. </textElement>
  163. <textFieldExpression><![CDATA[$F{street1}]]></textFieldExpression>
  164. </textField>
  165. <textField>
  166. <reportElement style="Normal" positionType="Float" x="156" y="388" width="373" height="12" uuid="9fa7ccce-da6a-4645-b2e2-f93742e084e9"/>
  167. <textElement>
  168. <font fontName="Times New Roman" size="8"/>
  169. </textElement>
  170. <textFieldExpression><![CDATA[$F{created-at}]]></textFieldExpression>
  171. </textField>
  172. <staticText>
  173. <reportElement style="Normal" positionType="Float" x="67" y="412" width="71" height="12" uuid="6dc12ed6-01c3-4db8-ad78-128447a7a735"/>
  174. <textElement>
  175. <font fontName="Times New Roman" size="8"/>
  176. </textElement>
  177. <text><![CDATA[Invoice:]]></text>
  178. </staticText>
  179. <textField pattern="#,##0.00 ¤">
  180. <reportElement style="Normal" positionType="Float" x="144" y="508" width="42" height="12" uuid="e77f43eb-30bb-479c-8af7-08cb3ede8b79"/>
  181. <textElement textAlignment="Right">
  182. <font fontName="Times New Roman" size="8"/>
  183. </textElement>
  184. <textFieldExpression><![CDATA[$F{net-fee}]]></textFieldExpression>
  185. </textField>
  186. <staticText>
  187. <reportElement style="Normal" positionType="Float" x="67" y="400" width="71" height="12" uuid="f970602b-a24d-4f68-8e45-210b65206105"/>
  188. <textElement>
  189. <font fontName="Times New Roman" size="8"/>
  190. </textElement>
  191. <text><![CDATA[Agency:]]></text>
  192. </staticText>
  193. <textField pattern="#,##0.00 ¤">
  194. <reportElement style="Normal" positionType="Float" x="144" y="533" width="42" height="12" uuid="5e4b5e96-889f-45dc-b096-65ccd73514a1"/>
  195. <textElement textAlignment="Right">
  196. <font fontName="Times New Roman" size="8"/>
  197. </textElement>
  198. <textFieldExpression><![CDATA[$F{gross-fee}]]></textFieldExpression>
  199. </textField>
  200. <staticText>
  201. <reportElement style="Normal" positionType="Float" x="56" y="520" width="89" height="12" uuid="4643b849-8142-416b-820c-d26a85267772"/>
  202. <textElement>
  203. <font fontName="Times New Roman" size="8"/>
  204. </textElement>
  205. <text><![CDATA[VAT 9%:]]></text>
  206. </staticText>
  207. <textField pattern="#,##0.00 ¤" isBlankWhenNull="false">
  208. <reportElement style="Normal" positionType="Float" x="156" y="424" width="373" height="12" uuid="42657574-ba4f-451f-bea6-2ef2024c6429"/>
  209. <textElement>
  210. <font fontName="Times New Roman" size="8"/>
  211. </textElement>
  212. <textFieldExpression><![CDATA[$F{amount-net}]]></textFieldExpression>
  213. </textField>
  214. <staticText>
  215. <reportElement style="Normal" positionType="Float" x="67" y="436" width="71" height="12" uuid="69dd1454-e659-44f9-a57b-2830cbc8584e"/>
  216. <textElement>
  217. <font fontName="Times New Roman" size="8"/>
  218. </textElement>
  219. <text><![CDATA[Sum(gross):]]></text>
  220. </staticText>
  221. <line>
  222. <reportElement x="57" y="532" width="129" height="1" uuid="8dfc2783-3b74-4270-b70a-84805cd8c315"/>
  223. </line>
  224. <textField>
  225. <reportElement style="Normal" positionType="Float" x="156" y="400" width="373" height="12" uuid="80d1f9c8-7e96-4426-ad18-e545ba9781b0"/>
  226. <textElement>
  227. <font fontName="Times New Roman" size="8"/>
  228. </textElement>
  229. <textFieldExpression><![CDATA[$F{agency-name}]]></textFieldExpression>
  230. </textField>
  231. <textField>
  232. <reportElement style="Normal" positionType="Float" x="156" y="412" width="373" height="12" uuid="5c4a692b-8dae-44d4-99b7-affa168c9a40"/>
  233. <textElement>
  234. <font fontName="Times New Roman" size="8"/>
  235. </textElement>
  236. <textFieldExpression><![CDATA[$F{invoice-number}]]></textFieldExpression>
  237. </textField>
  238. <textField pattern="#,##0.00 ¤">
  239. <reportElement style="Normal" positionType="Float" x="144" y="520" width="42" height="12" uuid="b07d3b85-7da1-4213-8b84-0e636f27e58d"/>
  240. <textElement textAlignment="Right">
  241. <font fontName="Times New Roman" size="8"/>
  242. </textElement>
  243. <textFieldExpression><![CDATA[$F{vat}]]></textFieldExpression>
  244. </textField>
  245. <staticText>
  246. <reportElement style="Normal" positionType="Float" x="56" y="508" width="89" height="12" uuid="053e8317-9984-4c93-aa50-7eed9d81414d"/>
  247. <textElement>
  248. <font fontName="Times New Roman" size="8"/>
  249. </textElement>
  250. <text><![CDATA[Fee:]]></text>
  251. </staticText>
  252. <staticText>
  253. <reportElement style="Normal" positionType="Float" x="56" y="533" width="89" height="12" uuid="ef11aec8-c063-44bd-a7a1-74c50064fbea"/>
  254. <textElement>
  255. <font fontName="Times New Roman" size="8"/>
  256. </textElement>
  257. <text><![CDATA[Total (gross)]]></text>
  258. </staticText>
  259. <textField pattern="#,##0.00 ¤" isBlankWhenNull="false">
  260. <reportElement style="Normal" positionType="Float" x="156" y="436" width="372" height="12" uuid="0cd52151-7041-4d4f-b2d4-e2469dbe25f1"/>
  261. <textElement>
  262. <font fontName="Times New Roman" size="8"/>
  263. </textElement>
  264. <textFieldExpression><![CDATA[$F{amount-gross}]]></textFieldExpression>
  265. </textField>
  266. <staticText>
  267. <reportElement style="Normal" positionType="Float" x="57" y="587" width="316" height="29" uuid="b1688de4-4a8e-41d3-9142-924634f11703"/>
  268. <textElement markup="none">
  269. <font fontName="Times New Roman" size="8" isBold="false"/>
  270. </textElement>
  271. <text><![CDATA[Best regards]]></text>
  272. </staticText>
  273. <textField pattern="yyyy-MM-dd">
  274. <reportElement style="Normal_Fett" x="283" y="307" width="136" height="20" uuid="e8b2e184-f4cd-4283-b158-3dfbfad579d6"/>
  275. <textElement markup="none">
  276. <font fontName="Times New Roman" size="12" isBold="true" isUnderline="false"/>
  277. </textElement>
  278. <textFieldExpression><![CDATA[$F{order_invoice_nr}]]></textFieldExpression>
  279. </textField>
  280. <textField>
  281. <reportElement style="Normal" mode="Transparent" x="57" y="469" width="480" height="28" forecolor="#000000" backcolor="#FFFFFF" uuid="598d68f4-262a-4680-a9b7-82b8eac7d5b1"/>
  282. <box padding="0" topPadding="0" leftPadding="0" bottomPadding="0" rightPadding="0"/>
  283. <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" markup="none">
  284. <font fontName="Times New Roman" size="8" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false" pdfFontName="Helvetica" pdfEncoding="Cp1252" isPdfEmbedded="true"/>
  285. <paragraph lineSpacing="Single" lineSpacingSize="1.0" firstLineIndent="0" leftIndent="0" rightIndent="0" spacingBefore="0" spacingAfter="0" tabStopWidth="40"/>
  286. </textElement>
  287. <textFieldExpression><![CDATA["Lorem Ipsum"]]></textFieldExpression>
  288. </textField>
  289. <staticText>
  290. <reportElement style="Normal" x="56" y="353" width="480" height="20" uuid="04c98997-bd57-4e55-8937-877415dfcf9b"/>
  291. <textElement markup="none">
  292. <font fontName="Times New Roman" size="8"/>
  293. </textElement>
  294. <text><![CDATA[Lorem Ipsum]]></text>
  295. </staticText>
  296. <textField pattern="dd.MM.yyyy">
  297. <reportElement style="Normal" positionType="Float" x="56" y="340" width="373" height="12" uuid="4b5f4973-f851-4fc4-8d77-843d3c38bff0"/>
  298. <textElement>
  299. <font fontName="Times New Roman" size="8"/>
  300. </textElement>
  301. <textFieldExpression><![CDATA[$F{salutation}.equals("m") ? "Dear Mr." + " " + $F{lastname} + ",": "Dear Ms." + " " + $F{lastname} + ","]]></textFieldExpression>
  302. </textField>
  303. </band>
  304. </title>
  305. <pageFooter>
  306. <band height="75">
  307. <staticText>
  308. <reportElement style="Normal" positionType="Float" x="213" y="14" width="180" height="12" uuid="da3e6a95-847e-4cfa-aded-b57c43a33f5a"/>
  309. <textElement textAlignment="Center" markup="none">
  310. <font fontName="Times New Roman" size="8"/>
  311. </textElement>
  312. <text><![CDATA[Lorem Ipsum]]></text>
  313. </staticText>
  314. <staticText>
  315. <reportElement style="Normal" positionType="Float" x="57" y="14" width="156" height="12" uuid="13f1d0c0-2057-4a45-81f9-c36fa702ecdc"/>
  316. <textElement>
  317. <font fontName="Times New Roman" size="8"/>
  318. </textElement>
  319. <text><![CDATA[Lorem Ipsum]]></text>
  320. </staticText>
  321. <staticText>
  322. <reportElement style="Normal" positionType="Float" x="393" y="14" width="151" height="12" uuid="2974fed5-d2d0-4433-91d8-2bc5b261184b"/>
  323. <textElement textAlignment="Right" markup="none">
  324. <font fontName="Times New Roman" size="8"/>
  325. </textElement>
  326. <text><![CDATA[1234567890]]></text>
  327. </staticText>
  328. <staticText>
  329. <reportElement style="Normal" positionType="Float" x="57" y="26" width="156" height="12" uuid="35af7640-5faf-403a-834f-86f3e28f4538"/>
  330. <textElement>
  331. <font fontName="Times New Roman" size="8"/>
  332. </textElement>
  333. <text><![CDATA[Lorem Ipsum]]></text>
  334. </staticText>
  335. <staticText>
  336. <reportElement style="Normal" positionType="Float" x="393" y="26" width="151" height="12" uuid="9af111e6-db8c-48db-9bac-0d6fdce5262e"/>
  337. <textElement textAlignment="Right" markup="none">
  338. <font fontName="Times New Roman" size="8"/>
  339. </textElement>
  340. <text><![CDATA[loremipsum@example.com]]></text>
  341. </staticText>
  342. <staticText>
  343. <reportElement style="Normal" positionType="Float" x="213" y="26" width="180" height="12" uuid="46d3b124-807f-4a08-abdc-acc5bac24a7f"/>
  344. <textElement textAlignment="Center" markup="none">
  345. <font fontName="Times New Roman" size="8"/>
  346. </textElement>
  347. <text><![CDATA[Lorem Ipsum]]></text>
  348. </staticText>
  349. <staticText>
  350. <reportElement style="Normal" positionType="Float" x="57" y="38" width="156" height="12" uuid="9b9a38ea-98aa-4f45-b938-28a3ad74ffb5"/>
  351. <textElement>
  352. <font fontName="Times New Roman" size="8"/>
  353. </textElement>
  354. <text><![CDATA[Lorem Ipsum]]></text>
  355. </staticText>
  356. <staticText>
  357. <reportElement style="Normal" positionType="Float" x="393" y="38" width="151" height="12" uuid="9fb60612-41a7-40e3-a2ea-0e2ae86257f4"/>
  358. <textElement textAlignment="Right" markup="none">
  359. <font fontName="Times New Roman" size="8"/>
  360. </textElement>
  361. <text><![CDATA[Lorem Ipsum]]></text>
  362. </staticText>
  363. <staticText>
  364. <reportElement style="Normal" positionType="Float" x="213" y="38" width="180" height="12" uuid="6a9b0b20-dc82-491a-bba4-825dbe6f8996"/>
  365. <textElement textAlignment="Center" markup="none">
  366. <font fontName="Times New Roman" size="8"/>
  367. </textElement>
  368. <text><![CDATA[Lorem Ipsum]]></text>
  369. </staticText>
  370. </band>
  371. </pageFooter>
  372. </jasperReport>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement