-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path07-tabela.jrxml
169 lines (169 loc) · 7.75 KB
/
07-tabela.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
163
164
165
166
167
168
169
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.1.1.final using JasperReports Library version 6.1.1 -->
<!-- 2015-10-16T15:30:38 -->
<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="tabela" pageWidth="595" pageHeight="842" whenNoDataType="AllSectionsNoDetail" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="16eddf64-7231-432b-a2eb-14a8e1fe9d94">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="curso_jasper"/>
<property name="net.sf.jasperreports.export.xls.one.page.per.sheet" value="true"/>
<property name="newproperty" value="true"/>
<property name="net.sf.jasperreports.export.xls.sheet.names.all" value="a/b"/>
<property name="com.jaspersoft.studio.unit." value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageHeight" value="pixel"/>
<property name="com.jaspersoft.studio.unit.pageWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.topMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.bottomMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.leftMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.rightMargin" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnWidth" value="pixel"/>
<property name="com.jaspersoft.studio.unit.columnSpacing" value="pixel"/>
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<style name="Table_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<subDataset name="Dataset2" uuid="540e058d-6c63-4090-8abb-1f73a562b986">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="curso_jasper"/>
<property name="com.jaspersoft.studio.data.sql.tables" value=""/>
<queryString>
<![CDATA[select * from noticia]]>
</queryString>
<field name="ID" class="java.lang.Integer"/>
<field name="TITULO" class="java.lang.String"/>
<field name="TEXTO" class="java.lang.String"/>
</subDataset>
<queryString>
<![CDATA[]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="54" splitType="Stretch">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<staticText>
<reportElement x="182" y="12" width="190" height="30" uuid="3297607b-1a45-4066-a96a-2ca4d0d681cf"/>
<textElement textAlignment="Center" verticalAlignment="Middle">
<font size="14" isBold="true"/>
</textElement>
<text><![CDATA[Exemplo: tabela]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="50">
<staticText>
<reportElement x="0" y="5" width="100" height="30" uuid="b759a2e9-3b1c-407c-a385-a180bdc78978"/>
<text><![CDATA[page header]]></text>
</staticText>
</band>
</pageHeader>
<pageFooter>
<band height="54" splitType="Stretch">
<staticText>
<reportElement x="0" y="5" width="100" height="30" uuid="28d0458f-45bb-49f1-8b19-efd2a96e9aaa"/>
<text><![CDATA[page footer]]></text>
</staticText>
<textField>
<reportElement x="352" y="0" width="100" height="30" uuid="8b3588fd-ef70-40e8-aa74-9048feced7b6"/>
<textElement textAlignment="Right"/>
<textFieldExpression><![CDATA["Page " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
<textField evaluationTime="Report">
<reportElement x="452" y="0" width="100" height="30" uuid="071f5bbb-0298-43c8-ab7c-ca98a92edc33"/>
<textElement textAlignment="Left"/>
<textFieldExpression><![CDATA[" of " + $V{PAGE_NUMBER}]]></textFieldExpression>
</textField>
</band>
</pageFooter>
<summary>
<band height="70">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
<componentElement>
<reportElement x="0" y="0" width="555" height="60" uuid="b32c8a68-9b30-4f0f-99e5-903a6f25bfe0">
<property name="com.jaspersoft.studio.unit.height" value="pixel"/>
</reportElement>
<jr:table xmlns:jr="http://jasperreports.sourceforge.net/jasperreports/components" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/components http://jasperreports.sourceforge.net/xsd/components.xsd">
<datasetRun subDataset="Dataset2" uuid="64ccc5a9-e14f-4e35-8e2a-391b94b1c2d1">
<connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression>
</datasetRun>
<jr:column width="66" uuid="bc5ea3c1-4900-4afe-983c-8951c865dfbb">
<jr:columnHeader style="Table_CH" height="30">
<staticText>
<reportElement x="0" y="0" width="66" height="30" uuid="c977f578-ce1f-4e5c-840a-4875b5ead87c"/>
<box padding="5"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[ID]]></text>
</staticText>
</jr:columnHeader>
<jr:detailCell style="Table_TD" height="30">
<textField>
<reportElement x="0" y="0" width="66" height="30" uuid="10d73dc4-7ffc-4ef3-ade9-0e396c4a5217"/>
<box padding="5"/>
<textFieldExpression><![CDATA[$F{ID}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column width="66" uuid="fa91cf04-00bd-4686-b3a0-0d7a100227d4">
<jr:columnHeader style="Table_CH" height="30">
<staticText>
<reportElement x="0" y="0" width="66" height="30" uuid="3e70c671-eecc-442c-8958-64004f4dfeed"/>
<box padding="5"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[TITULO]]></text>
</staticText>
</jr:columnHeader>
<jr:detailCell style="Table_TD" height="30">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="66" height="30" uuid="460d5b24-1e8c-4882-953f-fe8c81a24027"/>
<box padding="5"/>
<textElement>
<font size="10"/>
</textElement>
<textFieldExpression><![CDATA[$F{TITULO}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
<jr:column width="423" uuid="3ea2e749-2a5c-4462-823d-6c0bcecaa317">
<jr:columnHeader style="Table_CH" height="30">
<staticText>
<reportElement x="0" y="0" width="423" height="30" uuid="d16f596b-3417-47a5-8fe2-28e7008223a0"/>
<box padding="5"/>
<textElement textAlignment="Left" verticalAlignment="Middle"/>
<text><![CDATA[TEXTO]]></text>
</staticText>
</jr:columnHeader>
<jr:detailCell style="Table_TD" height="30">
<textField isStretchWithOverflow="true">
<reportElement x="0" y="0" width="423" height="30" uuid="84dd4bcf-9868-4c4b-af76-562f99523eb0"/>
<box padding="5"/>
<textFieldExpression><![CDATA[$F{TEXTO}]]></textFieldExpression>
</textField>
</jr:detailCell>
</jr:column>
</jr:table>
</componentElement>
</band>
</summary>
</jasperReport>