Revision 9569

View differences:

org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/buildNumber.properties
1
#Wed May 22 21:11:28 CEST 2024
2
buildNumber=183
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/reports/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>reports</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
		<buildCommand>
14
			<name>net.sf.jasperreports.builder</name>
15
			<arguments>
16
			</arguments>
17
		</buildCommand>
18
	</buildSpec>
19
	<natures>
20
		<nature>org.eclipse.jdt.core.javanature</nature>
21
		<nature>net.sf.jasperreports.nature</nature>
22
	</natures>
23
</projectDescription>
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/reports/featuretype.jrxml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!-- Created with Jaspersoft Studio version 6.5.1.final using JasperReports Library version 6.5.1  -->
3
<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="ListCampos_ARENA2_AC_VE_CO_PA" pageWidth="842" pageHeight="595" orientation="Landscape" columnWidth="802" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c0be5d23-c8fe-4122-82de-38d0c7354587">
4
	<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
5
	<queryString language="jsonql">
6
		<![CDATA[name]]>
7
	</queryString>
8
	<field name="name" class="java.lang.String">
9
		<property name="net.sf.jasperreports.json.field.expression" value="name"/>
10
		<fieldDescription><![CDATA[name]]></fieldDescription>
11
	</field>
12
	<field name="typeName" class="java.lang.String">
13
		<property name="net.sf.jasperreports.json.field.expression" value="typeName"/>
14
		<fieldDescription><![CDATA[typeName]]></fieldDescription>
15
	</field>
16
	<field name="size" class="java.lang.String">
17
		<property name="net.sf.jasperreports.json.field.expression" value="size"/>
18
		<fieldDescription><![CDATA[size]]></fieldDescription>
19
	</field>
20
	<field name="label" class="java.lang.String">
21
		<property name="net.sf.jasperreports.json.field.expression" value="label"/>
22
		<fieldDescription><![CDATA[label]]></fieldDescription>
23
	</field>
24
	<field name="shortlabel" class="java.lang.String">
25
		<property name="net.sf.jasperreports.json.field.expression" value="shortlabel"/>
26
		<fieldDescription><![CDATA[shortlabel]]></fieldDescription>
27
	</field>
28
	<field name="description" class="java.lang.String">
29
		<property name="net.sf.jasperreports.json.field.expression" value="description"/>
30
		<fieldDescription><![CDATA[description]]></fieldDescription>
31
	</field>
32
	<field name="isComputed" class="java.lang.String">
33
		<property name="net.sf.jasperreports.json.field.expression" value="isComputed"/>
34
		<fieldDescription><![CDATA[isComputed]]></fieldDescription>
35
	</field>
36
	<field name="isPk" class="java.lang.String">
37
		<property name="net.sf.jasperreports.json.field.expression" value="isPk"/>
38
		<fieldDescription><![CDATA[isPk]]></fieldDescription>
39
	</field>
40
	<field name="isFk" class="java.lang.String">
41
		<property name="net.sf.jasperreports.json.field.expression" value="isFk"/>
42
		<fieldDescription><![CDATA[isFk]]></fieldDescription>
43
	</field>
44
	<field name="isClosedList" class="java.lang.String">
45
		<property name="net.sf.jasperreports.json.field.expression" value="isClosedList"/>
46
		<fieldDescription><![CDATA[isClosedList]]></fieldDescription>
47
	</field>
48
	<field name="fkTable" class="java.lang.String"/>
49
	<background>
50
		<band splitType="Stretch"/>
51
	</background>
52
	<title>
53
		<band height="21" splitType="Stretch">
54
			<rectangle>
55
				<reportElement mode="Transparent" x="1" y="0" width="809" height="21" forecolor="#000000" uuid="b46571d9-a350-45dc-ba4c-1724bf24c7ec"/>
56
			</rectangle>
57
			<staticText>
58
				<reportElement x="10" y="0" width="200" height="20" uuid="26c9993f-76fe-40b9-816d-3a3cecb3909d"/>
59
				<textElement verticalAlignment="Middle"/>
60
				<text><![CDATA[Lista de campos]]></text>
61
			</staticText>
62
		</band>
63
	</title>
64
	<pageHeader>
65
		<band height="11" splitType="Stretch"/>
66
	</pageHeader>
67
	<columnHeader>
68
		<band height="20" splitType="Stretch">
69
			<staticText>
70
				<reportElement mode="Opaque" x="0" y="0" width="150" height="20" backcolor="#CFCACA" uuid="561e0f81-7dd7-437e-94e4-f15eb0b91852">
71
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ef405a95-0895-47e4-80a7-26e66fdf486b"/>
72
				</reportElement>
73
				<box>
74
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
75
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
76
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
77
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
78
				</box>
79
				<textElement textAlignment="Left" verticalAlignment="Middle">
80
					<font isBold="true" isItalic="false"/>
81
					<paragraph firstLineIndent="2" leftIndent="2"/>
82
				</textElement>
83
				<text><![CDATA[Nombre]]></text>
84
			</staticText>
85
			<staticText>
86
				<reportElement mode="Opaque" x="150" y="0" width="50" height="20" backcolor="#CFCACA" uuid="acc85315-9ee3-45d3-99c3-f9976f515a8e">
87
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1c662cfe-a4c8-4d8c-b919-6b450e79d7d6"/>
88
				</reportElement>
89
				<box>
90
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
91
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
92
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
93
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
94
				</box>
95
				<textElement textAlignment="Left" verticalAlignment="Middle">
96
					<font isBold="true"/>
97
					<paragraph firstLineIndent="2" leftIndent="2"/>
98
				</textElement>
99
				<text><![CDATA[Tipo]]></text>
100
			</staticText>
101
			<staticText>
102
				<reportElement mode="Opaque" x="200" y="0" width="30" height="20" backcolor="#CFCACA" uuid="723bb3b7-bd09-42da-8861-121a83ab2e77">
103
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1a39915a-420c-4a7a-870a-bfe099405200"/>
104
				</reportElement>
105
				<box>
106
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
107
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
108
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
109
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
110
				</box>
111
				<textElement textAlignment="Center" verticalAlignment="Middle">
112
					<font isBold="true"/>
113
				</textElement>
114
				<text><![CDATA[Tam.]]></text>
115
			</staticText>
116
			<staticText>
117
				<reportElement mode="Opaque" x="230" y="0" width="100" height="20" backcolor="#CFCACA" uuid="fcde1b23-3bf0-4ca3-a26c-283621fb1f86">
118
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="a96c89b0-3760-41fd-8135-4a17bc036cb7"/>
119
				</reportElement>
120
				<box>
121
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
122
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
123
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
124
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
125
				</box>
126
				<textElement textAlignment="Left" verticalAlignment="Middle">
127
					<font isBold="true"/>
128
					<paragraph firstLineIndent="2" leftIndent="2"/>
129
				</textElement>
130
				<text><![CDATA[Etiqueta]]></text>
131
			</staticText>
132
			<staticText>
133
				<reportElement mode="Opaque" x="330" y="0" width="110" height="20" backcolor="#CFCACA" uuid="7efe9eb5-a15c-46cc-8e04-b65e409673c2">
134
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="fc1b6a5f-7733-49f9-9594-4a0405aba348"/>
135
				</reportElement>
136
				<box>
137
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
138
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
139
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
140
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
141
				</box>
142
				<textElement textAlignment="Left" verticalAlignment="Middle">
143
					<font isBold="true"/>
144
					<paragraph firstLineIndent="2" leftIndent="2"/>
145
				</textElement>
146
				<text><![CDATA[Etiqueta corta]]></text>
147
			</staticText>
148
			<staticText>
149
				<reportElement mode="Opaque" x="440" y="0" width="90" height="20" backcolor="#CFCACA" uuid="63ddc8a5-8c10-4628-99ce-3846846ac8b6">
150
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="65792f80-2e67-47a8-a103-a31432299f03"/>
151
				</reportElement>
152
				<box>
153
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
154
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
155
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
156
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
157
				</box>
158
				<textElement textAlignment="Left" verticalAlignment="Middle">
159
					<font isBold="true"/>
160
					<paragraph firstLineIndent="2" leftIndent="2"/>
161
				</textElement>
162
				<text><![CDATA[DescripciĆ³n]]></text>
163
			</staticText>
164
			<staticText>
165
				<reportElement mode="Opaque" x="530" y="0" width="50" height="20" backcolor="#CFCACA" uuid="400ab098-1e21-40a2-b284-608d57e7da17">
166
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="eb10c995-fd20-4fec-87cb-a5a9192c86d9"/>
167
				</reportElement>
168
				<box>
169
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
170
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
171
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
172
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
173
				</box>
174
				<textElement textAlignment="Center" verticalAlignment="Middle">
175
					<font isBold="true"/>
176
				</textElement>
177
				<text><![CDATA[Calculado]]></text>
178
			</staticText>
179
			<staticText>
180
				<reportElement mode="Opaque" x="580" y="0" width="50" height="20" backcolor="#CFCACA" uuid="131420c1-19b2-4676-b8cc-679aac188a3c">
181
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="fa278be4-ab61-42e1-b3a3-1370b3846309"/>
182
				</reportElement>
183
				<box>
184
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
185
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
186
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
187
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
188
				</box>
189
				<textElement textAlignment="Center" verticalAlignment="Middle">
190
					<font isBold="true"/>
191
				</textElement>
192
				<text><![CDATA[PrimaryK]]></text>
193
			</staticText>
194
			<staticText>
195
				<reportElement mode="Opaque" x="630" y="0" width="50" height="20" backcolor="#CFCACA" uuid="24f634ee-d333-46a4-bd71-a540ed684c2e">
196
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="32ce0df8-837c-4b55-a049-23bd583d6a25"/>
197
				</reportElement>
198
				<box>
199
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
200
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
201
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
202
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
203
				</box>
204
				<textElement textAlignment="Center" verticalAlignment="Middle">
205
					<font isBold="true"/>
206
				</textElement>
207
				<text><![CDATA[ForeignK]]></text>
208
			</staticText>
209
			<staticText>
210
				<reportElement mode="Opaque" x="680" y="0" width="42" height="20" backcolor="#CFCACA" uuid="6a36fddc-ba45-4031-9626-11e97bd14c56">
211
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d6765947-a1b2-4450-b841-1036c007b152"/>
212
				</reportElement>
213
				<box>
214
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
215
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
216
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
217
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
218
				</box>
219
				<textElement textAlignment="Center" verticalAlignment="Middle">
220
					<font isBold="true"/>
221
				</textElement>
222
				<text><![CDATA[ClosedList]]></text>
223
			</staticText>
224
			<staticText>
225
				<reportElement mode="Opaque" x="722" y="0" width="88" height="20" backcolor="#CFCACA" uuid="00449e05-91c1-410e-99a1-0577fd61bef7">
226
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1123c352-46ce-4972-b06b-eacd943113db"/>
227
				</reportElement>
228
				<box>
229
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
230
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
231
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
232
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
233
				</box>
234
				<textElement textAlignment="Left" verticalAlignment="Middle">
235
					<font isBold="true"/>
236
					<paragraph firstLineIndent="2" leftIndent="2"/>
237
				</textElement>
238
				<text><![CDATA[ForeignK Table]]></text>
239
			</staticText>
240
		</band>
241
	</columnHeader>
242
	<detail>
243
		<band height="20" splitType="Stretch">
244
			<textField isStretchWithOverflow="true">
245
				<reportElement stretchType="ElementGroupHeight" x="0" y="0" width="150" height="20" uuid="9916cd96-d1f3-463f-b41a-dcd9c2884734">
246
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="ef405a95-0895-47e4-80a7-26e66fdf486b"/>
247
				</reportElement>
248
				<box topPadding="10" leftPadding="10" bottomPadding="10" rightPadding="10">
249
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
250
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
251
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
252
					<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
253
				</box>
254
				<textElement textAlignment="Left" verticalAlignment="Middle">
255
					<paragraph firstLineIndent="2" leftIndent="2"/>
256
				</textElement>
257
				<textFieldExpression><![CDATA[$F{name}]]></textFieldExpression>
258
			</textField>
259
			<textField isStretchWithOverflow="true">
260
				<reportElement stretchType="ElementGroupHeight" x="150" y="0" width="50" height="20" uuid="37df905d-44bf-4def-be2b-a9026899ae72">
261
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1c662cfe-a4c8-4d8c-b919-6b450e79d7d6"/>
262
				</reportElement>
263
				<box>
264
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
265
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
266
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
267
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
268
				</box>
269
				<textElement textAlignment="Left" verticalAlignment="Middle">
270
					<paragraph firstLineIndent="1" leftIndent="1"/>
271
				</textElement>
272
				<textFieldExpression><![CDATA[$F{typeName}]]></textFieldExpression>
273
			</textField>
274
			<textField isStretchWithOverflow="true">
275
				<reportElement stretchType="ElementGroupHeight" x="200" y="0" width="30" height="20" uuid="6cbe31fe-732e-4183-a78b-8141b777dcaf">
276
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1a39915a-420c-4a7a-870a-bfe099405200"/>
277
				</reportElement>
278
				<box>
279
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
280
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
281
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
282
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
283
				</box>
284
				<textElement textAlignment="Right" verticalAlignment="Middle">
285
					<paragraph rightIndent="2"/>
286
				</textElement>
287
				<textFieldExpression><![CDATA[$F{size}]]></textFieldExpression>
288
			</textField>
289
			<textField isStretchWithOverflow="true">
290
				<reportElement stretchType="ElementGroupHeight" x="230" y="0" width="100" height="20" uuid="78504a1e-642e-4a03-b18c-53aa10c8021f">
291
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="a96c89b0-3760-41fd-8135-4a17bc036cb7"/>
292
				</reportElement>
293
				<box>
294
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
295
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
296
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
297
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
298
				</box>
299
				<textElement textAlignment="Left" verticalAlignment="Middle">
300
					<paragraph firstLineIndent="2" leftIndent="2"/>
301
				</textElement>
302
				<textFieldExpression><![CDATA[$F{label}]]></textFieldExpression>
303
			</textField>
304
			<textField isStretchWithOverflow="true">
305
				<reportElement stretchType="ElementGroupHeight" x="330" y="0" width="110" height="20" uuid="b5ebaf97-869d-4890-b3c9-91e203e55467">
306
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="fc1b6a5f-7733-49f9-9594-4a0405aba348"/>
307
				</reportElement>
308
				<box>
309
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
310
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
311
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
312
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
313
				</box>
314
				<textElement textAlignment="Left" verticalAlignment="Middle">
315
					<paragraph firstLineIndent="2" leftIndent="2"/>
316
				</textElement>
317
				<textFieldExpression><![CDATA[$F{shortlabel}]]></textFieldExpression>
318
			</textField>
319
			<textField isStretchWithOverflow="true">
320
				<reportElement stretchType="ElementGroupHeight" x="440" y="0" width="90" height="20" uuid="f2e9c008-7352-4abf-a09e-29d6a55b7679">
321
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="65792f80-2e67-47a8-a103-a31432299f03"/>
322
				</reportElement>
323
				<box>
324
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
325
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
326
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
327
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
328
				</box>
329
				<textElement textAlignment="Left" verticalAlignment="Middle">
330
					<paragraph firstLineIndent="2" leftIndent="2"/>
331
				</textElement>
332
				<textFieldExpression><![CDATA[$F{description}]]></textFieldExpression>
333
			</textField>
334
			<textField isStretchWithOverflow="true">
335
				<reportElement stretchType="ElementGroupHeight" x="530" y="0" width="50" height="20" uuid="d9b7bce6-85d1-45b7-8058-31be93f5ebdc">
336
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="eb10c995-fd20-4fec-87cb-a5a9192c86d9"/>
337
				</reportElement>
338
				<box>
339
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
340
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
341
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
342
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
343
				</box>
344
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
345
				<textFieldExpression><![CDATA[$F{isComputed}]]></textFieldExpression>
346
			</textField>
347
			<textField isStretchWithOverflow="true">
348
				<reportElement stretchType="ElementGroupHeight" x="580" y="0" width="50" height="20" uuid="03e45862-75b1-4ae2-856e-2caff2928349">
349
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="fa278be4-ab61-42e1-b3a3-1370b3846309"/>
350
				</reportElement>
351
				<box>
352
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
353
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
354
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
355
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
356
				</box>
357
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
358
				<textFieldExpression><![CDATA[$F{isPk}]]></textFieldExpression>
359
			</textField>
360
			<textField isStretchWithOverflow="true">
361
				<reportElement stretchType="ElementGroupHeight" x="630" y="0" width="50" height="20" uuid="6110e57e-d514-4199-b888-8c5441abe789">
362
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="32ce0df8-837c-4b55-a049-23bd583d6a25"/>
363
				</reportElement>
364
				<box>
365
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
366
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
367
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
368
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
369
				</box>
370
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
371
				<textFieldExpression><![CDATA[$F{isFk}]]></textFieldExpression>
372
			</textField>
373
			<textField isStretchWithOverflow="true">
374
				<reportElement stretchType="ElementGroupHeight" x="722" y="0" width="88" height="20" uuid="f2edee8f-e60d-4105-a852-2e062632a664">
375
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="1123c352-46ce-4972-b06b-eacd943113db"/>
376
				</reportElement>
377
				<box>
378
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
379
					<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
380
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
381
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
382
				</box>
383
				<textElement textAlignment="Left" verticalAlignment="Middle">
384
					<paragraph firstLineIndent="2" leftIndent="2"/>
385
				</textElement>
386
				<textFieldExpression><![CDATA[$F{fkTable}]]></textFieldExpression>
387
			</textField>
388
			<textField isStretchWithOverflow="true">
389
				<reportElement stretchType="ElementGroupHeight" x="680" y="0" width="42" height="20" uuid="f4f9e8d2-1ee1-40b6-a6b3-48340294d2cb">
390
					<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="d6765947-a1b2-4450-b841-1036c007b152"/>
391
				</reportElement>
392
				<box>
393
					<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
394
					<leftPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
395
					<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
396
					<rightPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
397
				</box>
398
				<textElement textAlignment="Center" verticalAlignment="Middle"/>
399
				<textFieldExpression><![CDATA[$F{isClosedList}]]></textFieldExpression>
400
			</textField>
401
		</band>
402
	</detail>
403
	<columnFooter>
404
		<band height="19" splitType="Stretch">
405
			<textField>
406
				<reportElement x="710" y="0" width="50" height="19" uuid="799299b1-e727-4132-801e-ca1df0d96887"/>
407
				<textElement textAlignment="Right" verticalAlignment="Middle"/>
408
				<textFieldExpression><![CDATA[$V{PAGE_NUMBER}]]></textFieldExpression>
409
			</textField>
410
			<textField evaluationTime="Report">
411
				<reportElement x="760" y="0" width="40" height="19" uuid="8e90b6b5-011f-42cc-ae97-fe9cd0d7a9e8"/>
412
				<textElement textAlignment="Left" verticalAlignment="Middle"/>
413
				<textFieldExpression><![CDATA[" / " + $V{PAGE_NUMBER}]]></textFieldExpression>
414
			</textField>
415
		</band>
416
	</columnFooter>
417
	<pageFooter>
418
		<band height="3" splitType="Stretch"/>
419
	</pageFooter>
420
	<summary>
421
		<band height="2" splitType="Stretch"/>
422
	</summary>
423
</jasperReport>
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/reports/.settings/org.eclipse.core.resources.prefs
1
eclipse.preferences.version=1
2
encoding/featuretype.jrxml=UTF-8
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/reports/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
4
	<classpathentry exported="true" kind="con" path="net.sf.jasperreports.JR_CONTAINER"/>
5
	<classpathentry exported="true" kind="con" path="com.jaspersoft.server.JRS_CONTAINER"/>
6
	<classpathentry kind="output" path="bin"/>
7
</classpath>
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/i18n/text.properties
1
#Translations for language [es]
2
#Thu Nov 20 10:10:09 CET 2014
3
_Reports=Informes
4
_Report=Informe
5
_Publish_layers=Publicar las capas
6
_Configuration=Confiuraci\u00f3n
7
_Show_configuration=Muestra la configuraci\u00f3n
8
_Publish_selected_layers=Publica las capas seleccionadas
9
_Reports_configuration=Configuraci\u00f3n de informes
10
_Open_a_report_from_file=Abrea in informe desde fichero
11
_Select_a_report_file=Seleccione un fichero de informe
12
_Report_properties=Propiedades del informe
13
_Location=Ubicatci\u00f3n
14
_Service=Servicio
15
_Enabled=Habilitado
16
_Port=Puerto
17
_Timeout=Tiempo de espera
18
_Messages=Mensajes
19
_Apply=Aplicar
20
_Restart=Reiniciar
21
_Restart_the_data_service=Reiniciar el servicio de datos
22
_Stop=Parar
23
_Stop_the_data_service=Parar el servicio de datos
24
_Remove=Eliminar
25
_Copy_URL=Copiar URL
26
_Clean=Limpiar
27
_URL=URL
28
_Name=Nombre
29
_Limit=Limite
30
_Filter=Filtro
31
_Expose_geometry=Exponer geometria
32
_Insert_field=Insertar campo
33
_Insert_condition_for_report=Insertar condicion para informe
34
_Add=A\u00f1adir
35
_Insert_field_for_report=Insertar campo para informe
36
_Main=Principal
37
_Zoom=Zoom
38
_Center=Centrar
39
_Select=Seleccionar
40
_View=Vista
41
_Margins=Margenes
42
_Width=Ancho
43
_Height=Alto
44
_meters=metros
45
_pixels=pixels
46
_General=General
47
_Data_sets=Conjuntos de datos
48
_View_capture=Capturas de Vistas
49
_Close=Cerrar
50
_Use_all_features_in_the_dataset=Usar todas las features del dataset
51
_Maintain_current_selection_of_features=Mantener la seleccion corriente de features
52
_Use_the_features_selected_in_the_active_layer=Usar las features de la seleccion de la capa activa
53
_Use_features_selected_by_a_filter=Usar las features seleccionadas a partir de un filtro
54
_At_least_one_view_in_the_project_is_required_to_perform_this_action=Se precisa al menos una vista en el proyecto para realizar esta acci\u00f3n
55
_Warning=Advertencia
56
_Features=Features
57
_Publish_for_report_designer=Publicar para el dise\u00f1ador de informes
58
_Autostart=Autoarranque
59
_Show_report=Mostrar informe
60
_Title=T\u00edtulo
61
_Field=Campo
62
_Expression=Expresi\u00f3n
63
_Class=Clase
64
_Width=Ancho
65
_Fixed_width=Anchura fija
66
_Pattern=Patr\u00f3n
67
_Truncate_suffix=Sufijo truncado
68
_Subtitle=Subt\u00edtulo
69
_Print_background_on_odd_rows=Imprimir fondo en filas impares
70
_Use_full_page_with=Usar anchura de p\u00e1gina 
71
_Detail_height=Detalle de altura
72
_print_column_names=Imprimir nombre de columnas
73
_Layout=Dise\u00f1o
74
_Page_format=Formato p\u00e1gina
75
_Columns_per_page=Columnas por p\u00e1gina
76
_Margins=Margenes
77
_Top=Arriba
78
_Bottom=Abajo
79
_Left=Izquierda
80
_Right=Derecha
81
_Columns=Columnas
82
_Apply_changes=Aplicar cambios
83
_Classic=Cl\u00e1sico
84
_List=Lista
85
_Extended_list=Lista extendida
86
_A4_portrait=A4 vertical
87
_A4_landscape=A4 horizontal
88
_Legal_portrait=Legal vertical
89
_Legal_landscape=Legal horizontal
90
_Letter_portrait=Carta vertical
91
_Letter_landscape=Carta horizontal
92
_Width=Ancho
93
_Line_style=Estilo de linea
94
_Color=Color
95
_Font=Fuente
96
_Text_color=Color de texto
97
_Background_color=Color de fondo
98
_Rotation=Rotacio\u0144
99
_Stretching=Tipo de ajuste
100
_Transparent=Transparente
101
_Vertical_align=Alineaci\u00f3n vertical
102
_Horizontal_align=Alineaci\u00f3n horizontal
103
_With_overflow=Con desbordamiento
104
_User_defined=Definida por usuario
105
_Relative_to_band_height=Relativo al alto de banda
106
_Relative_to_tallest_object=Relativo al objeto m\u00e1s alto
107
_Justified=Justificado
108
_Middle=Medio
109
_Justify=Justificar
110
_General=General
111
_Border=Borde
112
_Padding=Relleno
113
_Group_by=Agrupaciones
114
_Default=Por defecto
115
_Default_with_headers=Por defecto con cabeceras
116
_Empty=Vacio
117
_Value_for_each=Por cada uno
118
_Value_for_each_with_headers=Por cada uno con cabeceras
119
_Value_in_header=En cabecera
120
_Value_in_header_and_for_each=En cabecera y en cada uno
121
_Value_in_header_and_for_each_with_header=En cabecera y por cada uno con cabecera
122
_Value_in_header_with_headers=En cabecera con cabeceras
123
_value_in_header_with_headers_and_column_name=En cabecera con cabeceras y nombre columna
124
_Average=Media
125
_Count=Conteo
126
_First=Primero
127
_Highest=M\u00e1s alto
128
_Lowest=M\u00e1s bajo
129
_Nothing=Ninguno
130
_Standard_deviation=Desviaci\u00f3n estandar
131
_Sum=Suma
132
_System=Sistema
133
_Variance=Varianza
134
_Aggregate_function=Funci\u00f3n de agregado
135
_Group_Layout=Dise\u00f1o de agrupaci\u00f3n
136
_Start_in_new_column=Empezar en nueva columna
137
_Start_in_new_page=Empezar en nueva p\u00e1gina
138
_Show_detail_band=Mostrar banda de detalles
139
_Column_name=Nombre de la columna
140
_Transparency=Transparencia
141
_Changes_has_not_been_saved_Are_you_sure_you_want_to_continue=Hay cambios no guardados. \u00bfDesea continuar?
142
_Changes_not_saved=Cambios no guardados
143
_Group_by_columns_has_not_been_ordered_previously_Do_you_want_them_to_be_ordered=Columnas designadas en las agrupaciones no han sido ordenadas previamente.\n\u00bfDesea que sean ordenarlas?
144
_Columns_not_ordered=Columnas no ordenadas
145
_Report_builder=Constructor de informe
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties
1
#Translations for language [en]
2
#Thu Nov 20 10:10:15 CET 2014
3
_Reports=Reports
4
_Report=Report
5
_Publish_layers=Publish layers
6
_Configuration=Configuration
7
_Show_configuration=Show configuration
8
_Publish_selected_layers=Publish selected layers
9
_Reports_configuration=Reports configuration
10
_Open_a_report_from_file=Open a report from file
11
_Select_a_report_file=Select a report file
12
_Report_properties=Report properties
13
_Location=Location
14
_Service=Service
15
_Enabled=Enabled
16
_Port=Port
17
_Timeout=Timeout
18
_Messages=Messages
19
_Apply=Apply
20
_Restart=Restart
21
_Restart_the_data_service=Restart the data service
22
_Stop=Stop
23
_Stop_the_data_service=Stop the data service
24
_Remove=Remove
25
_Copy_URL=Copy URL
26
_Clean=Clean
27
_URL=URL
28
_Name=Name
29
_Limit=Limit
30
_Filter=Filter
31
_Expose_geometry=Expose geometry
32
_Insert_field=Insert field
33
_Insert_condition_for_report=Insert condition for report
34
_Add=Add
35
_Insert_field_for_report=Insert field for report
36
_Main=Main
37
_Zoom=Zoom
38
_Center=Center
39
_Select=Select
40
_View=View
41
_Margins=Margins
42
_Width=Width
43
_Height=Height
44
_meters=meters
45
_pixels=pixels
46
_General=General
47
_Data_sets=Data sets
48
_View_capture=View captures
49
_Close=Close
50
_Use_all_features_in_the_dataset=Use al features in the dataset
51
_Maintain_current_selection_of_features=Maintain the current selection of features
52
_Use_the_features_selected_in_the_active_layer=Use the features selected in the active layer
53
_Use_features_selected_by_a_filter=Use selecteds features by a filter
54
_At_least_one_view_in_the_project_is_required_to_perform_this_action=At least one view in the project is required to perform this action
55
_Warning=Warning
56
_Features=Features
57
_Publish_for_report_designer=Publish for report designer
58
_Autostart=Autostart
59
_Show_report=Show report
60
_Title=Title
61
_Field=Field
62
_Expression=Expression
63
_Class=Class
64
_Width=Width
65
_Fixed_width=Fixed width
66
_Pattern=Pattern
67
_Truncate_suffix=Trucate suffix
68
_Subtitle=Subtitle
69
_Print_background_on_odd_rows=Print background on odd rows
70
_Use_full_page_with=Use full page with
71
_Detail_height=Detail height
72
_print_column_names=Print column names
73
_Layout=Layout
74
_Page_format=Page format
75
_Columns_per_page=Columns per page
76
_Margins=Margins
77
_Top=Top
78
_Bottom=Bottom
79
_Left=Left
80
_Right=Right
81
_Columns=Columns
82
_Apply_changes=Apply changes
83
_Classic=Classic
84
_List=List
85
_Extended_list=Extended list
86
_A4_portrait=A4 portrait
87
_A4_landscape=A4 landscape
88
_Legal_portrait=Legal portrait
89
_Legal_landscape=Legal landscape
90
_Letter_portrait=Letter portrait
91
_Letter_landscape=Letter landscape
92
_Width=Width
93
_Line_style=Line style
94
_Color=Color
95
_Font=Font
96
_Text_color=Text color
97
_Background_color=Background color
98
_Rotation=Rotation
99
_Stretching=Stretching
100
_Transparent=Transparent
101
_Vertical_align=Vertical align
102
_Horizontal_align=Horizontal align
103
_With_overflow=With overflow
104
_User_defined=User defined
105
_Relative_to_band_height=Relative to band height
106
_Relative_to_tallest_object=Relative to tallest object
107
_Justified=Justified
108
_Middle=Middle
109
_Justify=Justify
110
_General=General
111
_Border=Border
112
_Padding=Padding
113
_Group_by=Group by
114
_Default=Default
115
_Default_with_headers=Default with headers
116
_Empty=Empty
117
_Value_for_each=For each
118
_Value_for_each_with_headers=For each with headers
119
_Value_in_header=In header
120
_Value_in_header_and_for_each=In header and for each
121
_Value_in_header_and_for_each_with_header=In header and for each with header
122
_Value_in_header_with_headers=In header with headers
123
_value_in_header_with_headers_and_column_name=Value in header with headers and column name
124
_Average=Average
125
_Count=Count
126
_First=First
127
_Highest=Highest
128
_Lowest=Lowest
129
_Nothing=Nothing
130
_Standard_deviation=Standard deviation
131
_Sum=Sum
132
_System=System
133
_Variance=Variance
134
_Aggregate_function=Aggregate function
135
_Group_Layout=Group layout
136
_Start_in_new_column=Start in new column
137
_Start_in_new_page=Start in new page
138
_Show_detail_band=Show detail band
139
_Column_name=Column name
140
_Transparency=Transparency
141
_Changes_has_not_been_saved_Are_you_sure_you_want_to_continue=Changes has not been saved. \nAre you sure you want to continue?
142
_Changes_not_saved=Changes not saved
143
_Group_by_columns_has_not_been_ordered_previously_Do_you_want_them_to_be_ordered=Group by columns has not been ordered previously.\nDo you want them to be ordered?
144
_Columns_not_ordered=Columns not ordered
145
_Report_builder=Report builder
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/resources-plugin/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!-- gvSIG. Desktop Geographic Information System. Copyright (C) 2007-2014 gvSIG
3
  Association. This program is free software; you can redistribute it and/or modify
4
  it under the terms of the GNU General Public License as published by the Free Software
5
  Foundation; either version 3 of the License, or (at your option) any later version.
6
  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
7
  without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8
  PURPOSE. See the GNU General Public License for more details. You should have received
9
  a copy of the GNU General Public License along with this program; if not, write to
10
  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
11
  USA. For any additional information, do not hesitate to contact us at info AT gvsig.com,
12
  or visit our website www.gvsig.com. -->
13
<plugin-config>
14
  <depends plugin-name="org.gvsig.app.mainplugin" />
15
  <depends plugin-name="org.gvsig.app.document.table.app.mainplugin"/>
16
  <depends plugin-name="org.gvsig.pdf.app.mainplugin"/>
17
  <resourceBundle name="text" />
18
  <libraries library-dir="lib" />
19
  <extensions>
20

  
21

  
22
    <extension class-name="org.gvsig.report.app.mainplugin.ReportExtension"
23
      description="" active="true" priority="1">
24
            <action 
25
                name="report-publish-layer"
26
                label="_Publish_for_report_designer" 
27
                position="606500000"  
28
                tooltip="/_Publish_for_report_designer" 
29
                action-command="report-publish-layer"
30
                icon="report-publish-layer"
31
                accelerator=""
32
            />
33
            <action 
34
                name="report-publish-table"
35
                label="_Publish_for_report_designer" 
36
                position="508300000"  
37
                tooltip="/_Publish_for_report_designer" 
38
                action-command="report-publish-table"
39
                icon="report-publish-table"
40
                accelerator=""
41
            />
42

  
43
            <menu
44
                name="report-publish-layer"
45
                text="Layer/_Publish_for_report_designer"
46
                />
47
            <menu
48
                name="report-publish-table"
49
                text="Table/_Publish_for_report_designer"
50
                />
51
    </extension>
52

  
53

  
54
  </extensions>
55
</plugin-config>
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/assembly/gvsig-plugin-package.xml
1
<!--
2

  
3
    gvSIG. Desktop Geographic Information System.
4

  
5
    Copyright (C) 2007-2013 gvSIG Association.
6

  
7
    This program is free software; you can redistribute it and/or
8
    modify it under the terms of the GNU General Public License
9
    as published by the Free Software Foundation; either version 3
10
    of the License, or (at your option) any later version.
11

  
12
    This program is distributed in the hope that it will be useful,
13
    but WITHOUT ANY WARRANTY; without even the implied warranty of
14
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
    GNU General Public License for more details.
16

  
17
    You should have received a copy of the GNU General Public License
18
    along with this program; if not, write to the Free Software
19
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20
    MA  02110-1301, USA.
21

  
22
    For any additional information, do not hesitate to contact us
23
    at info AT gvsig.com, or visit our website www.gvsig.com.
24

  
25
-->
26
<assembly>
27
    <id>gvsig-plugin-package</id>
28
    <formats>
29
        <format>zip</format>
30
    </formats>
31
    <baseDirectory>${project.artifactId}</baseDirectory>
32
    <includeBaseDirectory>true</includeBaseDirectory>
33
    <files>
34
        <file>
35
            <source>target/${project.artifactId}-${project.version}.jar</source>
36
            <outputDirectory>lib</outputDirectory>
37
        </file>
38
        <file>
39
            <source>target/package.info</source>
40
        </file>
41
    </files>
42

  
43
    <fileSets>
44
        <fileSet>
45
            <directory>src/main/resources-plugin</directory>
46
            <outputDirectory>.</outputDirectory>
47
        </fileSet>
48
    </fileSets>
49

  
50

  
51
    <dependencySets>
52
        <dependencySet>
53
            <useProjectArtifact>false</useProjectArtifact>
54
            <useTransitiveDependencies>false</useTransitiveDependencies>
55
            <outputDirectory>lib</outputDirectory>
56
            <includes>
57
                <include>org.gvsig:org.gvsig.report.lib.api</include>
58
                <include>org.gvsig:org.gvsig.report.lib.impl</include>
59
                <include>org.gvsig:org.gvsig.report.swing.api</include>
60
                <include>org.gvsig:org.gvsig.report.swing.impl</include>
61
                
62
                <include>org.apache.httpcomponents:httpcore-nio</include>
63
                <include>org.apache.httpcomponents:httpcore</include>
64
                           
65
                <include>net.sf.jasperreports:jasperreports</include>
66
                <include>net.sf.jasperreports:jasperreports-metadata</include>
67
                <!--
68
                <include>net.sf.jasperreports:jasperreports-fonts</include>
69
                Lleva dejavu, casi que prefiero la liberation.
70
                -->
71
                <include>net.sf.jasperreports:jasperreports-fonts</include>
72
                <!--<include>com.mpobjects.jasperreports.font:jasperreports-fonts-liberation</include>-->
73
                <include>net.sf.jasperreports:jasperreports-functions</include>
74
                <include>net.sf.jasperreports:jasperreports-custom-visualization</include>
75
                <!--<include>net.sf.jasperreports:jasperreports-chart-themes</include>-->
76
                <include>net.sf.jasperreports:jasperreports-chart-customizers</include>
77
                <include>net.sf.jasperreports:jasperreports-annotation-processors</include>
78

  
79
                  <include>org.apache.poi:poi</include>
80
                  <include>org.apache.poi:poi-ooxml</include>
81
                  <include>org.apache.poi:poi-ooxml-schemas</include>
82
                  <include>org.apache.xmlbeans:xmlbeans</include>
83
                  <include>com.github.virtuald:curvesapi</include>
84
                  <include>com.zaxxer:SparseBitSet</include>
85
                  <include>org.apache.commons:commons-math3</include>
86

  
87

  
88
                <include>commons-beanutils:commons-beanutils</include>
89
                <include>commons-digester:commons-digester</include>
90
                <include>commons-logging:commons-logging</include>
91
                <include>com.lowagie:itext</include>
92
                <!--
93
                <include>bouncycastle:bcmail-jdk14</include>
94
                <include>bouncycastle:bcprov-jdk14</include>
95
                <include>org.bouncycastle:bctsp-jdk14</include>
96
                <include>org.bouncycastle:bcprov-jdk14</include>
97
                <include>org.bouncycastle:bcmail-jdk14</include>
98
                -->
99
                <include>org.jfree:jcommon</include>
100
                <include>org.jfree:jfreechart</include>
101
                <include>org.eclipse.jdt.core.compiler:ecj</include>
102
                <include>org.codehaus.castor:castor-xml</include>
103
                <include>org.codehaus.castor:castor-core</include>
104
                <include>commons-lang:commons-lang</include>
105
                <include>javax.inject:javax.inject</include>
106
                <include>stax:stax</include>
107
                <include>org.springframework:spring-context</include>
108
                <include>org.springframework:spring-aop</include>
109
                <!--<include>aopalliance:aopalliance</include>-->
110
                <include>org.springframework:spring-beans</include>
111
                <include>org.springframework:spring-core</include>
112
                <include>org.springframework:spring-expression</include>
113
                <include>org.springframework:spring-asm</include>
114
                
115
                <!--
116
                <include>stax:stax-api</include>
117
                -->
118
                <include>javax.xml.stream:stax-api</include>
119
                <include>com.fasterxml.jackson.core:jackson-core</include>
120
                <include>com.fasterxml.jackson.core:jackson-databind</include>
121
                <include>com.fasterxml.jackson.core:jackson-annotations</include>
122
                <include>com.ibm.icu:icu4j</include>
123
                             
124
                <include>ar.com.fdvs:DynamicJasper</include>
125
                <!--
126
                No se si es correcto incluir estas fuentes de letra.
127
                -->
128
                <include>ar.com.fdvs:DynamicJasper-core-fonts</include>
129
                
130
                             
131

  
132
            </includes>
133
        </dependencySet>
134
    </dependencySets>
135

  
136
</assembly>
137

  
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/java/org/gvsig/report/app/mainplugin/ReportExtension.java
1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
5
 *
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 *
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 *
16
 * You should have received a copy of the GNU General Public License
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.report.app.mainplugin;
25

  
26
import java.awt.Dimension;
27
import java.awt.event.ActionEvent;
28
import java.util.ArrayList;
29
import java.util.List;
30
import javax.swing.AbstractAction;
31
import javax.swing.Action;
32
import static javax.swing.Action.ACTION_COMMAND_KEY;
33
import static javax.swing.Action.NAME;
34
import org.apache.commons.io.FileUtils;
35
import org.apache.commons.lang3.StringUtils;
36
import org.gvsig.andami.IconThemeHelper;
37
import org.gvsig.andami.plugins.Extension;
38
import org.gvsig.app.ApplicationLocator;
39
import org.gvsig.app.ApplicationManager;
40
import org.gvsig.app.project.ProjectManager;
41
import org.gvsig.app.project.documents.table.TableDocument;
42
import org.gvsig.app.project.documents.table.TableManager;
43
import org.gvsig.app.project.documents.table.gui.FeatureTableDocumentPanel;
44
import org.gvsig.app.project.documents.view.ViewDocument;
45
import org.gvsig.app.project.documents.view.ViewManager;
46
import org.gvsig.configurableactions.ConfigurableActionsMamager;
47
import org.gvsig.fmap.dal.feature.EditableFeatureType;
48
import org.gvsig.fmap.dal.feature.FeatureStore;
49
import org.gvsig.fmap.dal.swing.featuretype.FeatureTypePanel;
50
import org.gvsig.fmap.mapcontext.layers.FLayer;
51
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect;
52
import org.gvsig.propertypage.PropertiesPageManager;
53
import org.gvsig.report.app.mainplugin.document.gui.projectpanel.ProjectReportPanelPageFactory;
54
import org.gvsig.report.lib.api.Report;
55
import org.gvsig.report.lib.api.ReportConfig;
56
import org.gvsig.report.lib.api.ReportDataSets;
57
import org.gvsig.report.lib.api.ReportLocator;
58
import org.gvsig.report.lib.api.ReportManager;
59
import org.gvsig.report.lib.api.ReportServerConfig;
60
import org.gvsig.report.swing.api.JReport;
61
import org.gvsig.report.swing.api.ReportSwingLocator;
62
import org.gvsig.report.swing.api.ReportSwingManager;
63
import org.gvsig.tools.ToolsLocator;
64
import org.gvsig.tools.dynobject.DynObject;
65
import org.gvsig.tools.exception.BaseException;
66
import org.gvsig.tools.i18n.I18nManager;
67
import org.gvsig.tools.observer.Notification;
68
import org.gvsig.tools.observer.Observable;
69
import org.gvsig.tools.observer.Observer;
70
import org.gvsig.tools.resourcesstorage.FilesResourcesStorage;
71
import org.gvsig.tools.swing.api.ToolsSwingLocator;
72
import org.gvsig.tools.swing.api.ToolsSwingUtils;
73
import org.gvsig.tools.swing.api.windowmanager.WindowManager;
74
import org.gvsig.tools.visitor.VisitCanceledException;
75
import org.gvsig.tools.visitor.Visitor;
76
import org.gvsig.tools.util.ToolsUtilLocator;
77

  
78
/**
79
 *
80
 * @author jjdelcerro
81
 */
82
@SuppressWarnings("UseSpecificCatch")
83
public class ReportExtension extends Extension {
84

  
85
    /*
86
    https://community.jaspersoft.com/jaspersoft-studio/issues/8416
87
    https://community.jaspersoft.com/wiki/webservice-datasource-documentation
88
    
89
     */
90
    private ReportState reportState;
91

  
92
    @Override
93
    public void initialize() {
94
        IconThemeHelper.registerIcon("action", "report-publish-layer", this);
95
        IconThemeHelper.registerIcon("action", "report-publish-table", this);
96
        this.reportState = ReportState.get();
97
    }
98

  
99
    @Override
100
    public void postInitialize() {
101
        new org.gvsig.report.app.mainplugin.document.ReportDocumentsManager().selfRegister();
102

  
103
        ApplicationManager application = ApplicationLocator.getManager();
104
        ProjectManager projectManager = application.getProjectManager();
105
        ViewManager viewManager = (ViewManager) projectManager.getDocumentManager(ViewManager.TYPENAME);
106
        viewManager.addTOCContextAction("report-publish-layer");
107

  
108
        PropertiesPageManager propertiesManager = ToolsUtilLocator.getPropertiesPageManager();
109
        propertiesManager.registerFactory(new ProjectReportPanelPageFactory());
110

  
111
        registerInCatalog();
112

  
113
        ConfigurableActionsMamager cfgActionsManager = ToolsUtilLocator.getConfigurableActionsMamager();
114
        cfgActionsManager.addConfigurableAction(FeatureTypePanel.CONFIGURABLE_PANEL_ID, new ShowReportAction());
115

  
116
    }
117

  
118
    private void registerInCatalog() {
119
        final ApplicationManager application = ApplicationLocator.getApplicationManager();
120
        application.addPropertiesObserver(new Observer() {
121
            @Override
122
            public void update(Observable observable, Object notification) {
123
                if (!(notification instanceof Notification)) {
124
                    return;
125
                }
126
                String propertyName = (String) ((Notification) notification).getValue(0);
127
                if (!StringUtils.equalsIgnoreCase(propertyName, "Catalog.Manager")) {
128
                    return;
129
                }
130
                DynObject catalogManager = (DynObject) application.getProperty("Catalog.Manager");
131
                if (catalogManager == null) {
132
                    return;
133
                }
134
                try {
135
                    String[] catalogNodes = new String[]{
136
                        "STORES_REPOSITORY_TABLE",
137
                        "DATABASE_TABLE",
138
                        "FOLDERS_FILE",
139
                        "BOOKMARKS_BOOKMARK"
140
                    };
141
                    for (String catalogNode : catalogNodes) {
142
                        Object action = catalogManager.invokeDynMethod(
143
                                "getAction",
144
                                new Object[]{
145
                                    AddDatasetFromCatalogAction.NAME,
146
                                    catalogNode
147
                                }
148
                        );
149
                        if (action == null) {
150
                            catalogManager.invokeDynMethod(
151
                                    "addAction",
152
                                    new Object[]{
153
                                        AddDatasetFromCatalogAction.NAME,
154
                                        catalogNode,
155
                                        new AddDatasetFromCatalogAction()
156
                                    }
157
                            );
158
                        }
159
                    }
160
                } catch (Exception ex) {
161
                    logger.warn("Can't add action to catalog", ex);
162
                }
163
            }
164
        });
165
    }
166

  
167
    @Override
168
    public void execute(String action) {
169
        final I18nManager i18n = ToolsLocator.getI18nManager();
170
        final ApplicationManager application = ApplicationLocator.getManager();
171
        final ReportSwingManager reportSwingManager = ReportSwingLocator.getReportSwingManager();
172

  
173
        if (StringUtils.equalsIgnoreCase(action, "report-publish-layer")) {
174
            ViewDocument view = (ViewDocument) application.getActiveDocument(ViewManager.TYPENAME);
175
            if (view == null) {
176
                return;
177
            }
178
            final List<FLyrVect> layers = new ArrayList<>();
179
            try {
180
                view.getMapContext().getLayers().accept(new Visitor() {
181
                    @Override
182
                    public void visit(Object o) throws VisitCanceledException, BaseException {
183
                        FLayer layer = (FLayer) o;
184
                        if (layer instanceof FLyrVect && layer.isActive()) {
185
                            layers.add((FLyrVect) layer);
186
                        }
187
                    }
188
                });
189
            } catch (Exception ex) {
190
                logger.warn("Can't publish layers.", ex);
191
            }
192
            if (!layers.isEmpty()) {
193
                ReportServerConfig config = this.reportState.getConfig();
194
                ReportDataSets datasets = config.getDatasets();
195
                for (FLyrVect layer : layers) {
196
                    if (datasets.contains(layer.getFeatureStore())) {
197
                        //continue;
198
                    }
199
                    datasets.add(
200
                            layer.getName(),
201
                            layer.getFeatureStore()
202
                    );
203
                }
204
            }
205
        }
206
        if (StringUtils.equalsIgnoreCase(action, "report-publish-table")) {
207
            TableDocument doc = (TableDocument) application.getActiveDocument(TableManager.TYPENAME);
208
            if (doc == null) {
209
                return;
210
            }
211
            FeatureTableDocumentPanel tablePanel = (FeatureTableDocumentPanel) doc.getMainComponent();
212
            FeatureStore store = tablePanel.getFeatureStore();
213
            ReportServerConfig config = this.reportState.getConfig();
214
            ReportDataSets datasets = config.getDatasets();
215
            datasets.add(doc.getName(), store);
216
        }
217
    }
218

  
219
    @Override
220
    public boolean canQueryByAction() {
221
        return true;
222
    }
223

  
224
    @Override
225
    public boolean isEnabled(String action) {
226
        ApplicationManager application = ApplicationLocator.getManager();
227
        if (StringUtils.equalsIgnoreCase(action, "report-publish-layer")) {
228
            ViewDocument view = (ViewDocument) application.getActiveDocument(ViewManager.TYPENAME);
229
            if (view == null) {
230
                return false;
231
            }
232
            return view.getMapContext().hasActiveVectorLayers();
233
        }
234
        if (StringUtils.equalsIgnoreCase(action, "report-publish-table")) {
235
            return true;
236
        }
237
        return false;
238
    }
239

  
240
    @Override
241
    public boolean isVisible(String action) {
242
        ApplicationManager application = ApplicationLocator.getManager();
243
        if (StringUtils.equalsIgnoreCase(action, "report-publish-layer")) {
244
            ViewDocument view = (ViewDocument) application.getActiveDocument(ViewManager.TYPENAME);
245
            return view != null;
246
        }
247
        if (StringUtils.equalsIgnoreCase(action, "report-publish-table")) {
248
            TableDocument doc = (TableDocument) application.getActiveDocument(TableManager.TYPENAME);
249
            return doc != null;
250
        }
251
        return false;
252
    }
253

  
254
    @Override
255
    public boolean isEnabled() {
256
        return false;
257
    }
258

  
259
    @Override
260
    public boolean isVisible() {
261
        return false;
262
    }
263

  
264
    private class ShowReportAction extends AbstractAction {
265

  
266
        @SuppressWarnings("OverridableMethodCallInConstructor")
267
        public ShowReportAction() {
268
            I18nManager i18n = ToolsLocator.getI18nManager();
269

  
270
            this.putValue(NAME, i18n.getTranslation("_Show_report"));
271
            this.putValue(ACTION_COMMAND_KEY, "ShowReport");
272
            this.putValue(
273
                    Action.SMALL_ICON,
274
                    ToolsSwingLocator.getIconThemeManager().getCurrent().get("report-select-reports")
275
            );
276
        }
277

  
278
        @Override
279
        public void actionPerformed(ActionEvent ae) {
280
            FeatureTypePanel panel = (FeatureTypePanel) ae.getSource();
281
            EditableFeatureType featureType = panel.fetch(null);
282
            FeatureStore store = featureType.getAsFeatureStore();
283

  
284
            ReportManager reportManager = ReportLocator.getReportManager();
285
            FilesResourcesStorage resourceStorage = new FilesResourcesStorage(
286
                    FileUtils.getFile(
287
                            getPlugin().getPluginDirectory(),
288
                            "reports"
289
                    ).getAbsolutePath()
290
            );
291
            ReportConfig reportConfig = reportManager.createReportConfig();
292
            reportConfig.setReportResourcesStorage(resourceStorage);
293
            reportConfig.setDataSet(reportManager.createDataSet(store));
294
            reportConfig.setReportTemplate("featuretype.jasper");
295
            Report report = reportManager.createReport(reportConfig);
296
            I18nManager i18n = ToolsLocator.getI18nManager();
297
            WindowManager winManager = ToolsSwingLocator.getWindowManager();
298
            ReportSwingManager reportSwingManager = ReportSwingLocator.getReportSwingManager();
299
            JReport reportPanel = reportSwingManager.createJReport(report);
300
            reportPanel.asJComponent().setPreferredSize(new Dimension(800, 500));
301
            winManager.showWindow(
302
                    reportPanel.asJComponent(),
303
                    ToolsSwingUtils.makeTitle("_Report", report.getName(), null),
304
                    WindowManager.MODE.WINDOW
305
            );
306

  
307
        }
308
    }
309

  
310
}
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/java/org/gvsig/report/app/mainplugin/AddDatasetFromCatalogAction.java
1
package org.gvsig.report.app.mainplugin;
2

  
3
import java.awt.event.ActionEvent;
4
import javax.swing.AbstractAction;
5
import javax.swing.Action;
6
import javax.swing.JOptionPane;
7
import org.gvsig.fmap.dal.DALLocator;
8
import org.gvsig.fmap.dal.DataManager;
9
import org.gvsig.fmap.dal.DataStore;
10
import org.gvsig.fmap.dal.OpenDataStoreParameters;
11
import org.gvsig.fmap.dal.feature.FeatureStore;
12
import org.gvsig.report.lib.api.ReportDataSets;
13
import org.gvsig.report.lib.api.ReportLocator;
14
import org.gvsig.report.lib.api.ReportManager;
15
import org.gvsig.tools.ToolsLocator;
16
import org.gvsig.tools.i18n.I18nManager;
17
import org.gvsig.tools.swing.api.ToolsSwingLocator;
18
import org.gvsig.tools.swing.api.threadsafedialogs.ThreadSafeDialogsManager;
19
import org.slf4j.Logger;
20
import org.slf4j.LoggerFactory;
21

  
22
/**
23
 *
24
 * @author jjdelcerro
25
 */
26
@SuppressWarnings("UseSpecificCatch")
27
public class AddDatasetFromCatalogAction extends AbstractAction {
28

  
29
    private static final Logger LOGGER = LoggerFactory.getLogger(AddDatasetFromCatalogAction.class);
30

  
31
    public static final String NAME = "PublishForReportDesigner";
32

  
33
    public AddDatasetFromCatalogAction() {
34
        I18nManager i18n = ToolsLocator.getI18nManager();
35
        this.putValue(
36
                Action.ACTION_COMMAND_KEY,
37
                NAME
38
        );
39
        this.putValue(
40
                Action.NAME,
41
                i18n.getTranslation("_Publish_for_report_designer")
42
        );
43
        this.putValue(
44
                Action.SMALL_ICON,
45
                ToolsSwingLocator.getIconThemeManager().getCurrent().get("report-publish-layer")
46
        );
47

  
48
    }
49

  
50
    @Override
51
    public void actionPerformed(ActionEvent e) {
52
        try {
53
            ReportManager reportManager = ReportLocator.getReportManager();
54
            ReportDataSets datasets = reportManager.getDefaultServer().getConfig().getDatasets();
55

  
56
            OpenDataStoreParameters storeParams = (OpenDataStoreParameters) e.getSource();
57
            DataManager dataManager = DALLocator.getDataManager();
58
            DataStore store = dataManager.openStore(storeParams.getProviderName(), storeParams);
59

  
60
            datasets.add(store.getName(), (FeatureStore) store);
61
        } catch (Exception ex) {
62
            I18nManager i18n = ToolsLocator.getI18nManager();
63
            ThreadSafeDialogsManager dialogs = ToolsSwingLocator.getThreadSafeDialogsManager();
64
            dialogs.messageDialog(
65
                    i18n.getTranslation("_The_indicated_data_source_does_not_support_this_operation"), 
66
                    null, 
67
                    i18n.getTranslation("_Warning"), 
68
                    JOptionPane.WARNING_MESSAGE, 
69
                    "CantPublishStoreForReportDesigner"
70
            );
71
            LOGGER.warn("Can't publish store for report designer.", ex);
72
        }
73
    }
74

  
75
}
org.gvsig.report/tags/org.gvsig.report-1.0.177/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/java/org/gvsig/report/app/mainplugin/ReportState.java
1

  
2
package org.gvsig.report.app.mainplugin;
3

  
4
import java.beans.PropertyChangeEvent;
5
import java.beans.PropertyChangeListener;
6
import java.io.File;
7
import java.util.EventListener;
8
import javax.swing.SwingUtilities;
9
import org.apache.commons.collections.buffer.CircularFifoBuffer;
10
import org.apache.commons.lang3.tuple.ImmutablePair;
11
import org.gvsig.app.ApplicationLocator;
12
import org.gvsig.app.ApplicationManager;
13
import org.gvsig.app.project.Project;
14
import org.gvsig.app.project.ProjectManager;
15
import org.gvsig.app.project.ProjectNotification;
16
import org.gvsig.report.lib.api.ReportLocator;
17
import org.gvsig.report.lib.api.ReportManager;
18
import org.gvsig.report.lib.api.ReportServer;
19
import org.gvsig.report.lib.api.ReportServerConfig;
20
import org.gvsig.report.swing.api.JReportServer;
21
import org.gvsig.report.swing.api.ReportSwingLocator;
22
import org.gvsig.report.swing.api.ReportSwingManager;
23
import org.gvsig.tools.observer.Observable;
24
import org.gvsig.tools.observer.Observer;
25
import org.gvsig.tools.util.BaseListenerSupport;
26

  
27
/**
28
 *
29
 * @author jjdelcerro
30
 */
31
public class ReportState {
32
    
33
    private static final String REPORTS_CONFIG = "reports.config";
34
    
35
    private static ReportState reportState = null;
36
    
37
    public static ReportState get() {
38
        if( reportState == null ) {
39
            reportState = new ReportState();
40
        }
41
        return reportState;
42
    }
43
    
44
    private ReportServer server = null;
45
    private JReportServer serverPanel = null;
46
    private CircularFifoBuffer serverlog = null;
47
    private ReportServer.LoggerListener logListener = null;
48
    private AppReportServices services = null;
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff