Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="UTF-8"?>
- <!-- Created with Jaspersoft Studio version 6.3.1.final using JasperReports Library version 6.3.1 -->
- <!-- 2017-04-26T16:14:04 -->
- <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">
- <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
- <property name="com.jaspersoft.studio.unit." value="inch"/>
- <property name="com.jaspersoft.studio.unit.pageHeight" value="inch"/>
- <property name="com.jaspersoft.studio.unit.pageWidth" value="inch"/>
- <property name="com.jaspersoft.studio.unit.topMargin" value="inch"/>
- <property name="com.jaspersoft.studio.unit.bottomMargin" value="inch"/>
- <property name="com.jaspersoft.studio.unit.leftMargin" value="inch"/>
- <property name="com.jaspersoft.studio.unit.rightMargin" value="inch"/>
- <property name="com.jaspersoft.studio.unit.columnWidth" value="inch"/>
- <property name="com.jaspersoft.studio.unit.columnSpacing" value="inch"/>
- <subDataset name="LegendDataset" uuid="e0d72aca-6fd5-4935-b57f-ff5a436f2afb">
- <queryString>
- <![CDATA[]]>
- </queryString>
- <field name="label" class="java.lang.String">
- <fieldDescription><![CDATA[]]></fieldDescription>
- </field>
- <field name="bufferedImage" class="java.awt.Image"/>
- </subDataset>
- <parameter name="P_BASE64_IMAGE_STR" class="java.lang.String"/>
- <parameter name="P_HEADER_TEXT" class="java.lang.String"/>
- <parameter name="P_INFO_TEXT" class="java.lang.String"/>
- <parameter name="REPORT_DATE" class="java.lang.String">
- <defaultValueExpression><![CDATA[new SimpleDateFormat("dd.MM.yyyy HH:mm:ss zzz").format(new Date())]]></defaultValueExpression>
- </parameter>
- <parameter name="P_MAP_SCALE_STR" class="java.lang.String"/>
- <parameter name="P_LOGO_IMAGE" class="java.awt.Image" isForPrompting="false">
- <parameterDescription><![CDATA[logo]]></parameterDescription>
- <defaultValueExpression><![CDATA[]]></defaultValueExpression>
- </parameter>
- <parameter name="P_MAPS_DIRECTION_IMAGE" class="java.awt.Image" isForPrompting="false">
- <parameterDescription><![CDATA[North direction]]></parameterDescription>
- <defaultValueExpression><![CDATA[]]></defaultValueExpression>
- </parameter>
- <parameter name="ENTITY_DATASOURCE" class="net.sf.jasperreports.engine.data.JRBeanCollectionDataSource"/>
- <queryString>
- <![CDATA[]]>
- </queryString>
- <detail>
- <band height="842" splitType="Stretch">
- <property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.FreeLayout"/>
- <image scaleImage="RetainShape" hAlign="Center" vAlign="Middle">
- <reportElement x="2" y="95" width="591" height="540" uuid="0810a55c-ccf4-4370-8504-cd09d54a598d">
- <property name="com.jaspersoft.studio.unit.width" value="inch"/>
- </reportElement>
- <box padding="3">
- <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <imageExpression><![CDATA[new ByteArrayInputStream(org.apache.commons.codec.binary.Base64.decodeBase64($P{P_BASE64_IMAGE_STR}.getBytes("UTF-8")))]]></imageExpression>
- </image>
- <frame>
- <reportElement x="298" y="635" width="298" height="206" uuid="e807b35a-857c-43ba-a080-13f422eb1456"/>
- <box>
- <pen lineWidth="1.0"/>
- </box>
- <componentElement>
- <reportElement x="11" y="11" width="275" height="186" uuid="d6f579d3-75de-4745-8f94-c974d2e697a0"/>
- <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">
- <datasetRun subDataset="LegendDataset" uuid="ee194811-e7e5-4102-83ff-b150901d73c9">
- <dataSourceExpression><![CDATA[$P{ENTITY_DATASOURCE}]]></dataSourceExpression>
- </datasetRun>
- <jr:listContents height="186" width="275">
- <staticText>
- <reportElement x="10" y="10" width="130" height="20" uuid="4260f10d-ee62-4cf6-8023-d0dc2266f4dd"/>
- <textElement textAlignment="Center"/>
- <text><![CDATA[ENTITY LABEL]]></text>
- </staticText>
- <staticText>
- <reportElement x="150" y="10" width="100" height="20" uuid="88135c50-3c17-4b0f-b7e5-b05987f98b02"/>
- <textElement textAlignment="Center"/>
- <text><![CDATA[ENTITY SYMBOL]]></text>
- </staticText>
- <textField isStretchWithOverflow="true" isBlankWhenNull="true">
- <reportElement x="10" y="31" width="130" height="18" uuid="30885d06-38db-4b1c-a312-616a60ee1c42"/>
- <textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
- </textField>
- <image>
- <reportElement x="150" y="31" width="100" height="18" uuid="0020adca-acad-4915-9f0d-88d75e4897c7"/>
- <imageExpression><![CDATA[$F{bufferedImage}]]></imageExpression>
- </image>
- </jr:listContents>
- </jr:list>
- </componentElement>
- </frame>
- <image>
- <reportElement x="517" y="132" width="35" height="42" uuid="ccc961dd-a949-4b01-80a7-0375e0d8afa4"/>
- <imageExpression><![CDATA[$P{P_MAPS_DIRECTION_IMAGE}]]></imageExpression>
- </image>
- <staticText>
- <reportElement x="30" y="600" width="80" height="18" uuid="6c1afd65-a8d4-4e3f-9a56-d09abe7ec904"/>
- <textElement textAlignment="Right">
- <font fontName="DejaVu Sans" size="9" isBold="true"/>
- </textElement>
- <text><![CDATA[Ölçek: 1/]]></text>
- </staticText>
- <textField>
- <reportElement positionType="Float" x="110" y="600" width="100" height="18" uuid="6360a545-63af-48cc-987d-d828c24a3b2a"/>
- <textElement>
- <font fontName="DejaVu Sans" size="9" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{P_MAP_SCALE_STR}]]></textFieldExpression>
- </textField>
- <frame>
- <reportElement x="-10" y="635" width="308" height="206" uuid="2664b0ff-513c-4473-9721-ffcc201363a8"/>
- <box>
- <pen lineWidth="1.0"/>
- <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <textField isBlankWhenNull="true">
- <reportElement x="22" y="14" width="276" height="180" uuid="864141fe-879d-4fcf-88ab-32658ea5982f"/>
- <textElement>
- <font fontName="DejaVu Serif"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{P_INFO_TEXT}]]></textFieldExpression>
- </textField>
- </frame>
- <frame>
- <reportElement x="2" y="1" width="591" height="89" backcolor="#FFF0D1" uuid="bf7c0115-8930-473e-8ad3-f3fb6f45dc52"/>
- <box>
- <topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- <rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
- </box>
- <staticText>
- <reportElement x="78" y="23" width="138" height="43" uuid="87748af7-ac48-44bd-a9b0-0cd1311df098"/>
- <textElement textAlignment="Center" markup="html">
- <font fontName="DejaVu Sans" size="11"/>
- </textElement>
- <text><![CDATA[TC BAŞBAKANLIK <br/>AFET ACİL DURUM YÖNETİM BAŞKANLIĞI]]></text>
- </staticText>
- <textField isBlankWhenNull="true">
- <reportElement x="249" y="32" width="178" height="27" uuid="c8396731-5b17-4982-bac5-87c59f7227fd"/>
- <textElement textAlignment="Center" verticalAlignment="Middle">
- <font fontName="DejaVu Sans" size="12" isBold="true"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{P_HEADER_TEXT}]]></textFieldExpression>
- </textField>
- <textField>
- <reportElement x="518" y="64" width="60" height="19" uuid="aa434892-452e-4f32-b033-479f408a18bb"/>
- <textElement>
- <font fontName="DejaVu Serif"/>
- </textElement>
- <textFieldExpression><![CDATA[$P{REPORT_DATE}]]></textFieldExpression>
- </textField>
- <image>
- <reportElement x="7" y="15" width="77" height="50" uuid="257773fb-6395-4e3b-955b-43947cb46b3e"/>
- <imageExpression><![CDATA[$P{P_LOGO_IMAGE}]]></imageExpression>
- </image>
- </frame>
- </band>
- </detail>
- </jasperReport>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement