-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathsample1.jrxml
162 lines (162 loc) · 6.61 KB
/
sample1.jrxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="UTF-8"?>
<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="report name" pageWidth="595" pageHeight="421" orientation="Landscape" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="578900e3-0c5e-4102-8e31-dc6c573ab805">
<property name="ireport.zoom" value="1.0"/>
<property name="ireport.x" value="0"/>
<property name="ireport.y" value="80"/>
<parameter name="parameter1" class="java.lang.Integer">
<defaultValueExpression><![CDATA[new java.lang.Integer(0)]]></defaultValueExpression>
</parameter>
<queryString>
<![CDATA[SELECT
sample1.`no` AS sample1_no,
sample1.`date` AS sample1_date,
sample1.`itemname` AS sample1_itemname,
sample1.`qty` AS sample1_qty,
sample1.`uom` AS sample1_uom
FROM
`sample1` sample1 where sample1.`no` > 0]]>
</queryString>
<field name="sample1_no" class="java.lang.Integer">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="sample1_date" class="java.sql.Date">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="sample1_itemname" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="sample1_qty" class="java.lang.Integer">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<field name="sample1_uom" class="java.lang.String">
<fieldDescription><![CDATA[]]></fieldDescription>
</field>
<variable name="total" class="java.lang.Integer" calculation="Sum"/>
<background>
<band height="381" splitType="Stretch">
<rectangle>
<reportElement uuid="d4e9ad60-460c-4fc0-b81f-e7282b9adb1d" x="0" y="110" width="555" height="244"/>
</rectangle>
<line>
<reportElement uuid="3749f14a-4d01-45a8-937f-781aeef9e0a5" x="93" y="110" width="1" height="244"/>
</line>
<line>
<reportElement uuid="66587396-6921-4d5c-abff-b4dba6fc578d" x="23" y="110" width="1" height="244"/>
</line>
<line>
<reportElement uuid="997e771e-3ff3-4bef-a712-d7760945c1dc" x="450" y="110" width="1" height="244"/>
</line>
</band>
</background>
<title>
<band splitType="Stretch"/>
</title>
<pageHeader>
<band height="131" splitType="Stretch">
<staticText>
<reportElement uuid="ad5b0d92-7ff8-4402-9166-05da6e0a84fc" x="0" y="110" width="24" height="20"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[No]]></text>
</staticText>
<staticText>
<reportElement uuid="affe03f3-b668-4f1a-8d39-94718b7827a9" x="33" y="110" width="69" height="20"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Date]]></text>
</staticText>
<staticText>
<reportElement uuid="fc9db07d-6f26-45d8-819c-b548a740c9a2" x="93" y="110" width="354" height="20"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Item]]></text>
</staticText>
<staticText>
<reportElement uuid="93ce04a6-cc27-41c2-ae4e-2e95f0f972bd" x="447" y="110" width="108" height="20"/>
<textElement textAlignment="Center">
<font size="12" isBold="true"/>
</textElement>
<text><![CDATA[Qty]]></text>
</staticText>
<line>
<reportElement uuid="a00332d1-c789-4556-aefb-0495752995ac" x="0" y="125" width="555" height="1"/>
</line>
<staticText>
<reportElement uuid="a004d480-5e99-4dca-a7bd-424124e6fd68" x="93" y="0" width="414" height="41"/>
<textElement>
<font size="26" isUnderline="true"/>
</textElement>
<text><![CDATA[This is sample report header]]></text>
</staticText>
<image>
<reportElement uuid="07eb9f30-8854-419a-adb4-fbe5322fb48e" x="7" y="4" width="76" height="67"/>
<imageExpression><![CDATA["./simitlogo.jpg"]]></imageExpression>
</image>
<textField pattern="dd/MM/yyyy">
<reportElement uuid="b800fb54-f9e9-45d3-aa58-83be22f288da" x="447" y="51" width="100" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="914d893a-3d28-4e7e-9188-7a92439e732e" x="434" y="87" width="80" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA["Page "+$V{PAGE_NUMBER}+" of"]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement uuid="bf87de04-8d4e-4aba-8769-908d465660d2" x="514" y="87" width="41" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
</band>
</pageHeader>
<columnHeader>
<band splitType="Stretch"/>
</columnHeader>
<detail>
<band height="27" splitType="Stretch">
<textField>
<reportElement uuid="a700271c-0c86-4819-923f-1beacc43a408" x="0" y="0" width="24" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{sample1_no}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="609b2097-449d-460c-b140-a97a00e3424b" x="24" y="0" width="69" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{sample1_date}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="ecefeccd-525f-4937-b15b-8a4d5ac50d3a" x="93" y="0" width="354" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{sample1_itemname}]]></textFieldExpression>
</textField>
<textField pattern="###0.00">
<reportElement uuid="48725a27-3053-4eb5-bbe0-3a295e90ba29" x="447" y="0" width="60" height="20"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA[$F{sample1_qty}]]></textFieldExpression>
</textField>
<textField>
<reportElement uuid="50360c1a-a9b4-4215-a5e4-21296efb93d1" x="507" y="0" width="48" height="20"/>
<textElement/>
<textFieldExpression><![CDATA[$F{sample1_uom}]]></textFieldExpression>
</textField>
</band>
</detail>
<columnFooter>
<band splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="45" splitType="Stretch">
<staticText>
<reportElement uuid="30bee12b-6c21-4697-bf1c-6c260a837581" x="5" y="16" width="429" height="20"/>
<textElement/>
<text><![CDATA[This is sample report footer]]></text>
</staticText>
</band>
</pageFooter>
<summary>
<band splitType="Stretch"/>
</summary>
</jasperReport>