Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.01 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1 -->
  3. <!-- 2017-04-26T16:14:04 -->
  4. <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="SampleReport" printOrder="Horizontal" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="595" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="792ec822-ecac-4f03-ba2e-6e48662d5fe5">
  5. <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
  6. <property name="com.jaspersoft.studio.unit." value="inch"/>
  7. <property name="com.jaspersoft.studio.unit.pageHeight" value="inch"/>
  8. <property name="com.jaspersoft.studio.unit.pageWidth" value="inch"/>
  9. <property name="com.jaspersoft.studio.unit.topMargin" value="inch"/>
  10. <property name="com.jaspersoft.studio.unit.bottomMargin" value="inch"/>
  11. <property name="com.jaspersoft.studio.unit.leftMargin" value="inch"/>
  12. <property name="com.jaspersoft.studio.unit.rightMargin" value="inch"/>
  13. <property name="com.jaspersoft.studio.unit.columnWidth" value="inch"/>
  14. <property name="com.jaspersoft.studio.unit.columnSpacing" value="inch"/>
  15. <subDataset name="LegendDataset" uuid="e0d72aca-6fd5-4935-b57f-ff5a436f2afb">
  16. <queryString>
  17. <![CDATA[]]>
  18. </queryString>
  19. <field name="label" class="java.lang.String">
  20. <fieldDescription><![CDATA[]]></fieldDescription>
  21. </field>
  22. <field name="bufferedImage" class="java.awt.Image"/>
  23. </subDataset>
  24. <parameter name="P_BASE64_IMAGE_STR" class="java.lang.String"/>
  25. <parameter name="P_HEADER_TEXT" class="java.lang.String"/>
  26. <parameter name="P_INFO_TEXT" class="java.lang.String"/>
  27. <parameter name="REPORT_DATE" class="java.lang.String">
  28. <defaultValueExpression><![CDATA[new SimpleDateFormat("dd.MM.yyyy HH:mm:ss zzz").format(new Date())]]></defaultValueExpression>
  29. </parameter>
  30. <parameter name="P_MAP_SCALE_STR" class="java.lang.String"/>
  31. <parameter name="P_LOGO_IMAGE" class="java.awt.Image" isForPrompting="false">
  32. <parameterDescription><![CDATA[logo]]></parameterDescription>
  33. <defaultValueExpression><![CDATA[]]></defaultValueExpression>
  34. </parameter>
  35. <parameter name="P_MAPS_DIRECTION_IMAGE" class="java.awt.Image" isForPrompting="false">
  36. <parameterDescription><![CDATA[North direction]]></parameterDescription>
  37. <defaultValueExpression><![CDATA[]]></defaultValueExpression>
  38. </parameter>
  39. <parameter name="ENTITY_DATASOURCE" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
  40. <queryString>
  41. <![CDATA[]]>
  42. </queryString>
  43. <detail>
  44. <band height="842" splitType="Stretch">
  45. <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
  46. <image scaleImage="RetainShape" hAlign="Center" vAlign="Middle">
  47. <reportElement x="2" y="95" width="591" height="540" uuid="0810a55c-ccf4-4370-8504-cd09d54a598d">
  48. <property name="com.jaspersoft.studio.unit.width" value="inch"/>
  49. </reportElement>
  50. <box padding="3">
  51. <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  52. <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  53. <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  54. <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  55. </box>
  56. <imageExpression><![CDATA[new ByteArrayInputStream(org.apache.commons.codec.binary.Base64.decodeBase64($P{P_BASE64_IMAGE_STR}.getBytes("UTF-8")))]]></imageExpression>
  57. </image>
  58. <frame>
  59. <reportElement x="298" y="635" width="298" height="206" uuid="e807b35a-857c-43ba-a080-13f422eb1456"/>
  60. <box>
  61. <pen lineWidth="1.0"/>
  62. </box>
  63. <componentElement>
  64. <reportElement x="11" y="11" width="275" height="186" uuid="d6f579d3-75de-4745-8f94-c974d2e697a0"/>
  65. <jr:list xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd" printOrder="Vertical">
  66. <datasetRun subDataset="LegendDataset" uuid="ee194811-e7e5-4102-83ff-b150901d73c9">
  67. <dataSourceExpression><![CDATA[$P{ENTITY_DATASOURCE}]]></dataSourceExpression>
  68. </datasetRun>
  69. <jr:listContents height="186" width="275">
  70. <staticText>
  71. <reportElement x="10" y="10" width="130" height="20" uuid="4260f10d-ee62-4cf6-8023-d0dc2266f4dd"/>
  72. <textElement textAlignment="Center"/>
  73. <text><![CDATA[ENTITY LABEL]]></text>
  74. </staticText>
  75. <staticText>
  76. <reportElement x="150" y="10" width="100" height="20" uuid="88135c50-3c17-4b0f-b7e5-b05987f98b02"/>
  77. <textElement textAlignment="Center"/>
  78. <text><![CDATA[ENTITY SYMBOL]]></text>
  79. </staticText>
  80. <textField isStretchWithOverflow="true" isBlankWhenNull="true">
  81. <reportElement x="10" y="31" width="130" height="18" uuid="30885d06-38db-4b1c-a312-616a60ee1c42"/>
  82. <textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
  83. </textField>
  84. <image>
  85. <reportElement x="150" y="31" width="100" height="18" uuid="0020adca-acad-4915-9f0d-88d75e4897c7"/>
  86. <imageExpression><![CDATA[$F{bufferedImage}]]></imageExpression>
  87. </image>
  88. </jr:listContents>
  89. </jr:list>
  90. </componentElement>
  91. </frame>
  92. <image>
  93. <reportElement x="517" y="132" width="35" height="42" uuid="ccc961dd-a949-4b01-80a7-0375e0d8afa4"/>
  94. <imageExpression><![CDATA[$P{P_MAPS_DIRECTION_IMAGE}]]></imageExpression>
  95. </image>
  96. <staticText>
  97. <reportElement x="30" y="600" width="80" height="18" uuid="6c1afd65-a8d4-4e3f-9a56-d09abe7ec904"/>
  98. <textElement textAlignment="Right">
  99. <font fontName="DejaVu Sans" size="9" isBold="true"/>
  100. </textElement>
  101. <text><![CDATA[Ölçek: 1/]]></text>
  102. </staticText>
  103. <textField>
  104. <reportElement positionType="Float" x="110" y="600" width="100" height="18" uuid="6360a545-63af-48cc-987d-d828c24a3b2a"/>
  105. <textElement>
  106. <font fontName="DejaVu Sans" size="9" isBold="true"/>
  107. </textElement>
  108. <textFieldExpression><![CDATA[$P{P_MAP_SCALE_STR}]]></textFieldExpression>
  109. </textField>
  110. <frame>
  111. <reportElement x="-10" y="635" width="308" height="206" uuid="2664b0ff-513c-4473-9721-ffcc201363a8"/>
  112. <box>
  113. <pen lineWidth="1.0"/>
  114. <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  115. <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  116. <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  117. <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  118. </box>
  119. <textField isBlankWhenNull="true">
  120. <reportElement x="22" y="14" width="276" height="180" uuid="864141fe-879d-4fcf-88ab-32658ea5982f"/>
  121. <textElement>
  122. <font fontName="DejaVu Serif"/>
  123. </textElement>
  124. <textFieldExpression><![CDATA[$P{P_INFO_TEXT}]]></textFieldExpression>
  125. </textField>
  126. </frame>
  127. <frame>
  128. <reportElement x="2" y="1" width="591" height="89" backcolor="#FFF0D1" uuid="bf7c0115-8930-473e-8ad3-f3fb6f45dc52"/>
  129. <box>
  130. <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  131. <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  132. <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  133. <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
  134. </box>
  135. <staticText>
  136. <reportElement x="78" y="23" width="138" height="43" uuid="87748af7-ac48-44bd-a9b0-0cd1311df098"/>
  137. <textElement textAlignment="Center" markup="html">
  138. <font fontName="DejaVu Sans" size="11"/>
  139. </textElement>
  140. <text><![CDATA[TC BAŞBAKANLIK <br/>AFET ACİL DURUM YÖNETİM BAŞKANLIĞI]]></text>
  141. </staticText>
  142. <textField isBlankWhenNull="true">
  143. <reportElement x="249" y="32" width="178" height="27" uuid="c8396731-5b17-4982-bac5-87c59f7227fd"/>
  144. <textElement textAlignment="Center" verticalAlignment="Middle">
  145. <font fontName="DejaVu Sans" size="12" isBold="true"/>
  146. </textElement>
  147. <textFieldExpression><![CDATA[$P{P_HEADER_TEXT}]]></textFieldExpression>
  148. </textField>
  149. <textField>
  150. <reportElement x="518" y="64" width="60" height="19" uuid="aa434892-452e-4f32-b033-479f408a18bb"/>
  151. <textElement>
  152. <font fontName="DejaVu Serif"/>
  153. </textElement>
  154. <textFieldExpression><![CDATA[$P{REPORT_DATE}]]></textFieldExpression>
  155. </textField>
  156. <image>
  157. <reportElement x="7" y="15" width="77" height="50" uuid="257773fb-6395-4e3b-955b-43947cb46b3e"/>
  158. <imageExpression><![CDATA[$P{P_LOGO_IMAGE}]]></imageExpression>
  159. </image>
  160. </frame>
  161. </band>
  162. </detail>
  163. </jasperReport>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement