Bonjour,
j'ai un rapport avec une crosstab. Lorsque la crosstab fait une page le pied de page apparait sur cette page. Lorsque la crosstab fait plusieurs pages le pieds de page est imprimé uniquement sur la première page et pas les suivantes. Pourtant sur d'autres rapports où j'ai designé le pieds de page de la même manière (mais qui ne comporte pas de crosstab) le pieds de page s'imprime sur toutes les pages.

Voici mon "jrxml"

Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
 
<?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="activityStatusReport" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20">
	<property name="ireport.zoom" value="2.0"/>
	<property name="ireport.x" value="0"/>
	<property name="ireport.y" value="0"/>
	<style name="Title" fontName="Times New Roman" fontSize="50" isBold="true" pdfFontName="Times-Bold"/>
	<style name="SubTitle" forecolor="#736343" fontName="Arial" fontSize="18"/>
	<style name="Column header" forecolor="#666666" fontName="Arial" fontSize="12" isBold="true"/>
	<style name="Detail" fontName="Arial" fontSize="12"/>
	<style name="Row" mode="Transparent">
		<conditionalStyle>
			<conditionExpression><![CDATA[$V{REPORT_COUNT}%2 == 0]]></conditionExpression>
			<style backcolor="#E6DAC3"/>
		</conditionalStyle>
	</style>
	<style name="table">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1">
		<box>
			<pen lineWidth="1.0" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TH" mode="Opaque" backcolor="#F0F8FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_CH" mode="Opaque" backcolor="#BFE1FF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="table 1_TD" mode="Opaque" backcolor="#FFFFFF">
		<box>
			<pen lineWidth="0.5" lineColor="#000000"/>
		</box>
	</style>
	<style name="Crosstab Data Text" hAlign="Center"/>
	<subDataset name="Table Dataset 1">
		<queryString language="SQL">
			<![CDATA[]]>
		</queryString>
	</subDataset>
	<subDataset name="dataset1"/>
	<subDataset name="Table Dataset 2"/>
	<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
		<defaultValueExpression><![CDATA["/tmp"]]></defaultValueExpression>
	</parameter>
	<field name="protocolName" class="java.lang.String"/>
	<field name="softwareVersion" class="java.lang.String"/>
	<field name="actName" class="java.lang.String"/>
	<field name="scrName" class="java.lang.String"/>
	<field name="subId" class="java.lang.Integer"/>
	<field name="sstStatus" class="java.lang.String"/>
	<field name="subCenter" class="java.lang.Integer"/>
	<background>
		<band splitType="Stretch"/>
	</background>
	<title>
		<band height="42">
			<staticText>
				<reportElement x="351" y="21" width="53" height="20"/>
				<textElement textAlignment="Right">
					<font fontName="Arial" size="10" isBold="true"/>
				</textElement>
				<text><![CDATA[Center:]]></text>
			</staticText>
			<staticText>
				<reportElement x="2" y="25" width="53" height="17"/>
				<textElement>
					<font fontName="Arial" size="12" isBold="true"/>
				</textElement>
				<text><![CDATA[Protocol:]]></text>
			</staticText>
			<staticText>
				<reportElement x="0" y="0" width="204" height="25"/>
				<textElement>
					<font fontName="Arial" size="18" isBold="true"/>
				</textElement>
				<text><![CDATA[Activity Status]]></text>
			</staticText>
			<textField>
				<reportElement x="55" y="25" width="149" height="16"/>
				<textElement>
					<font fontName="Arial" size="12"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{protocolName}]]></textFieldExpression>
			</textField>
			<textField>
				<reportElement x="406" y="21" width="145" height="20"/>
				<textElement>
					<font fontName="Arial" size="12"/>
				</textElement>
				<textFieldExpression><![CDATA[$F{subCenter}]]></textFieldExpression>
			</textField>
		</band>
	</title>
	<pageFooter>
		<band height="26">
			<frame>
				<reportElement mode="Opaque" x="2" y="0" width="553" height="24" forecolor="#D0B48E" backcolor="#F2EBDF"/>
				<textField pattern="ddMMMyyyy HH:mm:ss">
					<reportElement style="Column header" x="433" y="0" width="119" height="13" forecolor="#000000"/>
					<textElement verticalAlignment="Middle">
						<font size="8" isBold="false"/>
					</textElement>
					<textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="216" y="3" width="39" height="20"/>
					<textElement textAlignment="Right">
						<font fontName="Arial" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$V{PAGE_NUMBER}+"/"]]></textFieldExpression>
				</textField>
				<textField evaluationTime="Report">
					<reportElement x="255" y="3" width="40" height="20"/>
					<textElement>
						<font fontName="Arial" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA["" + $V{PAGE_NUMBER}]]></textFieldExpression>
				</textField>
				<textField>
					<reportElement x="464" y="12" width="88" height="11"/>
					<textElement>
						<font fontName="Arial" size="8"/>
					</textElement>
					<textFieldExpression><![CDATA[$F{softwareVersion}]]></textFieldExpression>
				</textField>
			</frame>
		</band>
	</pageFooter>
	<summary>
		<band height="50">
			<crosstab ignoreWidth="false">
				<reportElement stretchType="RelativeToBandHeight" x="3" y="6" width="548" height="44"/>
				<rowGroup name="ACT_NAME" width="104" totalPosition="End">
					<bucket class="java.lang.String">
						<bucketExpression><![CDATA[$F{actName}]]></bucketExpression>
					</bucket>
					<crosstabRowHeader>
						<cellContents backcolor="#F0F8FF" mode="Opaque">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<textField>
								<reportElement style="Crosstab Data Text" x="0" y="0" width="102" height="21"/>
								<textElement>
									<font fontName="Arial" size="8"/>
								</textElement>
								<textFieldExpression><![CDATA[$V{ACT_NAME}]]></textFieldExpression>
							</textField>
						</cellContents>
					</crosstabRowHeader>
					<crosstabTotalRowHeader>
						<cellContents backcolor="#BFE1FF" mode="Opaque">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<staticText>
								<reportElement x="0" y="0" width="102" height="25"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial" size="8" isBold="true"/>
								</textElement>
								<text><![CDATA[Total]]></text>
							</staticText>
						</cellContents>
					</crosstabTotalRowHeader>
				</rowGroup>
				<columnGroup name="SST_STATUS" height="37" totalPosition="End">
					<bucket class="java.lang.String">
						<bucketExpression><![CDATA[$F{sstStatus}]]></bucketExpression>
					</bucket>
					<crosstabColumnHeader>
						<cellContents backcolor="#F0F8FF" mode="Opaque">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<textField>
								<reportElement style="Crosstab Data Text" x="2" y="0" width="44" height="37" isPrintInFirstWholeBand="true"/>
								<textElement>
									<font fontName="Arial" size="7"/>
								</textElement>
								<textFieldExpression><![CDATA[($V{SST_STATUS}.equals("131")? "Completed":$V{SST_STATUS}.equals("132")? "Completed with Information not available":$V{SST_STATUS}.equals("133")? "Completed with Forced Validation ":$V{SST_STATUS}.equals("141")? "Completed after unmarking ":$V{SST_STATUS}.equals("142")? " Information Not Available after marking ":$V{SST_STATUS}.equals("143")? "Forced Validation after marking":$V{SST_STATUS}.equals("151")? "Completed after unmarking ":$V{SST_STATUS}.equals("152")? " Information Not Available after marking ":$V{SST_STATUS}.equals("153")? "Forced Validation after marking":$V{SST_STATUS}.equals("999")? "Never entered":$V{SST_STATUS}.equals("111")? "Marked":$V{SST_STATUS}.equals("121")? "Marked":$V{SST_STATUS}.equals("134")? "Data pending":$V{SST_STATUS}.equals("141")? "Completed after marking":$V{SST_STATUS}.equals("151")? "Completed after marking":$V{SST_STATUS}.equals("142")? "Information Not Available after marking":$V{SST_STATUS}.equals("152")? "Information Not Available after marking":$V{SST_STATUS}.equals("143")? "Forced Validation after marking":$V{SST_STATUS}.equals("153")? "Forced Validation after marking":$V{SST_STATUS}.equals("144")? "Data pending after marking":$V{SST_STATUS}.equals("154")? "Data pending after marking":$V{SST_STATUS}.equals("112")? "Marked with Information not available":$V{SST_STATUS}.equals("122")? "Marked with Information not available":$V{SST_STATUS}.equals("113")? "Marked with Forced Validation ":$V{SST_STATUS}.equals("123")? "Marked with Forced Validation ":$V{SST_STATUS})]]></textFieldExpression>
							</textField>
						</cellContents>
					</crosstabColumnHeader>
					<crosstabTotalColumnHeader>
						<cellContents backcolor="#BFE1FF" mode="Opaque">
							<box>
								<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
							</box>
							<staticText>
								<reportElement x="1" y="0" width="53" height="37"/>
								<textElement textAlignment="Center" verticalAlignment="Middle">
									<font fontName="Arial" size="7"/>
								</textElement>
								<text><![CDATA[Total Number of subjects for which the activity exists]]></text>
							</staticText>
						</cellContents>
					</crosstabTotalColumnHeader>
				</columnGroup>
				<measure name="SUB_IDMeasure" class="java.lang.Integer" calculation="Count">
					<measureExpression><![CDATA[$F{subId}]]></measureExpression>
				</measure>
				<crosstabCell width="48" height="21">
					<cellContents>
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField>
							<reportElement style="Crosstab Data Text" x="2" y="0" width="44" height="21"/>
							<textElement>
								<font fontName="Arial" size="7"/>
							</textElement>
							<textFieldExpression><![CDATA[$V{SUB_IDMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
				<crosstabCell width="48" height="25" rowTotalGroup="ACT_NAME">
					<cellContents backcolor="#BFE1FF" mode="Opaque">
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField>
							<reportElement style="Crosstab Data Text" x="2" y="0" width="44" height="25"/>
							<textElement verticalAlignment="Middle">
								<font fontName="Arial" size="8" isBold="true"/>
							</textElement>
							<textFieldExpression><![CDATA[$V{SUB_IDMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
				<crosstabCell width="56" height="21" columnTotalGroup="SST_STATUS">
					<cellContents backcolor="#BFE1FF" mode="Opaque">
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField>
							<reportElement style="Crosstab Data Text" x="1" y="0" width="53" height="21"/>
							<textElement>
								<font fontName="Arial" size="7"/>
							</textElement>
							<textFieldExpression><![CDATA[$V{SUB_IDMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
				<crosstabCell width="56" rowTotalGroup="ACT_NAME" columnTotalGroup="SST_STATUS">
					<cellContents backcolor="#BFE1FF" mode="Opaque">
						<box>
							<pen lineWidth="0.5" lineStyle="Solid" lineColor="#000000"/>
						</box>
						<textField>
							<reportElement style="Crosstab Data Text" x="1" y="0" width="53" height="25"/>
							<textElement verticalAlignment="Middle">
								<font fontName="Arial" size="8" isBold="true"/>
							</textElement>
							<textFieldExpression><![CDATA[$V{SUB_IDMeasure}]]></textFieldExpression>
						</textField>
					</cellContents>
				</crosstabCell>
			</crosstab>
		</band>
	</summary>
</jasperReport>

Merci d'avance pour vos réponses