~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/template/template.xml

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"  ?>
 
2
<!-- Created with iReport - A designer for JasperReports -->
 
3
<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
 
4
<jasperReport
 
5
                 name="template"
 
6
                 columnCount="1"
 
7
                 printOrder="Vertical"
 
8
                 orientation="Portrait"
 
9
                 pageWidth="595"
 
10
                 pageHeight="842"
 
11
                 columnWidth="535"
 
12
                 columnSpacing="0"
 
13
                 leftMargin="30"
 
14
                 rightMargin="30"
 
15
                 topMargin="20"
 
16
                 bottomMargin="20"
 
17
                 whenNoDataType="NoPages"
 
18
                 isTitleNewPage="false"
 
19
                 isSummaryNewPage="false">
 
20
  
 
21
        <property name="ireport.scriptlethandling" value="0" />
 
22
        <property name="ireport.encoding" value="UTF-8" />
 
23
        <import value="java.util.*" />
 
24
        <import value="net.sf.jasperreports.engine.*" />
 
25
        <import value="net.sf.jasperreports.engine.data.*" />
 
26
 
 
27
        <parameter name="ReportName" isForPrompting="false" class="java.lang.String"/>
 
28
        <parameter name="OrganisationUnit" isForPrompting="false" class="java.lang.String"/>
 
29
        <parameter name="Period" isForPrompting="false" class="java.lang.String"/>
 
30
 
 
31
        <field name="name" class="java.lang.String"/>
 
32
        <field name="value" class="java.lang.Double"/>
 
33
 
 
34
                <background>
 
35
                        <band height="0"  isSplitAllowed="true" >
 
36
                        </band>
 
37
                </background>
 
38
                <title>
 
39
                        <band height="98"  isSplitAllowed="true" >
 
40
                                <staticText>
 
41
                                        <reportElement
 
42
                                                mode="Transparent"
 
43
                                                x="7"
 
44
                                                y="15"
 
45
                                                width="92"
 
46
                                                height="18"
 
47
                                                forecolor="#000000"
 
48
                                                backcolor="#FFFFFF"
 
49
                                                key="staticText-1"
 
50
                                                stretchType="NoStretch"
 
51
                                                positionType="FixRelativeToTop"
 
52
                                                isPrintRepeatedValues="true"
 
53
                                                isRemoveLineWhenBlank="false"
 
54
                                                isPrintInFirstWholeBand="false"
 
55
                                                isPrintWhenDetailOverflows="false"/>
 
56
                                        <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
 
57
                                        <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">                                         
 
58
            <font fontName="Times New Roman" pdfFontName="Times-Roman" size="24" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
 
59
                                        </textElement>
 
60
                                <text><![CDATA[Наименование Ð·Ð°Ð±Ð¾Ð»ÐµÐ²Ð°Ð½Ð¸Ð¹]]></text>
 
61
                                </staticText>
 
62
                                <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
 
63
                                        <reportElement
 
64
                                                mode="Transparent"
 
65
                                                x="104"
 
66
                                                y="15"
 
67
                                                width="376"
 
68
                                                height="18"
 
69
                                                forecolor="#000000"
 
70
                                                backcolor="#FFFFFF"
 
71
                                                key="textField"
 
72
                                                stretchType="NoStretch"
 
73
                                                positionType="FixRelativeToTop"
 
74
                                                isPrintRepeatedValues="true"
 
75
                                                isRemoveLineWhenBlank="false"
 
76
                                                isPrintInFirstWholeBand="false"
 
77
                                                isPrintWhenDetailOverflows="false"/>
 
78
                                        <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
 
79
                                        <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
 
80
                                                <font fontName="Times New Roman" pdfFontName="Times-Roman" size="24" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
 
81
                                        </textElement>
 
82
                                <textFieldExpression   class="java.lang.String"><![CDATA[$P{ReportName}]]></textFieldExpression>
 
83
                                </textField>
 
84
                                <staticText>
 
85
                                        <reportElement
 
86
                                                mode="Transparent"
 
87
                                                x="7"
 
88
                                                y="38"
 
89
                                                width="92"
 
90
                                                height="16"
 
91
                                                forecolor="#000000"
 
92
                                                backcolor="#FFFFFF"
 
93
                                                key="staticText-4"
 
94
                                                stretchType="NoStretch"
 
95
                                                positionType="FixRelativeToTop"
 
96
                                                isPrintRepeatedValues="true"
 
97
                                                isRemoveLineWhenBlank="false"
 
98
                                                isPrintInFirstWholeBand="false"
 
99
                                                isPrintWhenDetailOverflows="false"/>
 
100
                                        <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
 
101
                                        <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
 
102
                                                <font fontName="Times New Roman" pdfFontName="Times-Roman" size="24" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
 
103
                                        </textElement>
 
104
                                <text><![CDATA[Наименование Ð·Ð°Ð±Ð¾Ð»ÐµÐ²Ð°Ð½Ð¸Ð¹]]></text>
 
105
                                </staticText>
 
106
                                <staticText>
 
107
                                        <reportElement
 
108
                                                mode="Transparent"
 
109
                                                x="7"
 
110
                                                y="58"
 
111
                                                width="92"
 
112
                                                height="16"
 
113
                                                forecolor="#000000"
 
114
                                                backcolor="#FFFFFF"
 
115
                                                key="staticText-5"
 
116
                                                stretchType="NoStretch"
 
117
                                                positionType="FixRelativeToTop"
 
118
                                                isPrintRepeatedValues="true"
 
119
                                                isRemoveLineWhenBlank="false"
 
120
                                                isPrintInFirstWholeBand="false"
 
121
                                                isPrintWhenDetailOverflows="false"/>
 
122
                                        <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
 
123
                                        <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
 
124
                                                <font fontName="Times New Roman" pdfFontName="Times-Roman" size="24" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
 
125
                                        </textElement>
 
126
                                <text><![CDATA[Наименование Ð·Ð°Ð±Ð¾Ð»ÐµÐ²Ð°Ð½Ð¸Ð¹]]></text>
 
127
                                </staticText>
 
128
                                <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
 
129
                                        <reportElement
 
130
                                                mode="Transparent"
 
131
                                                x="104"
 
132
                                                y="38"
 
133
                                                width="376"
 
134
                                                height="16"
 
135
                                                forecolor="#000000"
 
136
                                                backcolor="#FFFFFF"
 
137
                                                key="textField"
 
138
                                                stretchType="NoStretch"
 
139
                                                positionType="FixRelativeToTop"
 
140
                                                isPrintRepeatedValues="true"
 
141
                                                isRemoveLineWhenBlank="false"
 
142
                                                isPrintInFirstWholeBand="false"
 
143
                                                isPrintWhenDetailOverflows="false"/>
 
144
                                        <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
 
145
                                        <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
 
146
                                                <font fontName="Times New Roman" pdfFontName="Times-Roman" size="24" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
 
147
                                        </textElement>
 
148
                                <textFieldExpression   class="java.lang.String"><![CDATA[$P{OrganisationUnit}]]></textFieldExpression>
 
149
                                </textField>
 
150
                                <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
 
151
                                        <reportElement
 
152
                                                mode="Transparent"
 
153
                                                x="104"
 
154
                                                y="58"
 
155
                                                width="376"
 
156
                                                height="16"
 
157
                                                forecolor="#000000"
 
158
                                                backcolor="#FFFFFF"
 
159
                                                key="textField"
 
160
                                                stretchType="NoStretch"
 
161
                                                positionType="FixRelativeToTop"
 
162
                                                isPrintRepeatedValues="true"
 
163
                                                isRemoveLineWhenBlank="false"
 
164
                                                isPrintInFirstWholeBand="false"
 
165
                                                isPrintWhenDetailOverflows="false"/>
 
166
                                        <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
 
167
                                        <textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
 
168
                                                <font fontName="Times New Roman" pdfFontName="Times-Roman" size="24" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" />
 
169
                                        </textElement>
 
170
                                <textFieldExpression   class="java.lang.String"><![CDATA[$P{Period}]]></textFieldExpression>
 
171
                                </textField>
 
172
                        </band>
 
173
                </title>
 
174
                <pageHeader>
 
175
                        <band height="544"  isSplitAllowed="true" >
 
176
                        </band>
 
177
                </pageHeader>
 
178
                <columnHeader>
 
179
                        <band height="0"  isSplitAllowed="true" >
 
180
                        </band>
 
181
                </columnHeader>
 
182
                <detail>
 
183
                        <band height="0"  isSplitAllowed="true" >
 
184
                        </band>
 
185
                </detail>
 
186
                <columnFooter>
 
187
                        <band height="0"  isSplitAllowed="true" >
 
188
                        </band>
 
189
                </columnFooter>
 
190
                <pageFooter>
 
191
                        <band height="0"  isSplitAllowed="true" >
 
192
                        </band>
 
193
                </pageFooter>
 
194
                <summary>
 
195
                        <band height="160"  isSplitAllowed="true" >
 
196
                        </band>
 
197
                </summary>
 
198
</jasperReport>