blob: fdc70360cf569d83a0cfc9cf1b7e30c4271dd8a4 (
plain)
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- $Id$ -->
<testcase>
<info>
<p>
This test checks border and padding conditionality on table.
</p>
</info>
<fo>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
<fo:layout-master-set>
<fo:simple-page-master margin-top="10mm" master-name="FirstPage" page-width="210mm" page-height="297mm" margin-bottom="5mm" margin-right="5mm" margin-left="5mm">
<fo:region-body margin-bottom="25mm" margin-top="20mm" margin-right="7mm" margin-left="7mm" region-name="PageBody"/>
</fo:simple-page-master>
<fo:simple-page-master margin-top="10mm" margin-right="5mm" margin-left="5mm" margin-bottom="5mm" master-name="ReversePage" page-width="210mm" page-height="297mm">
<fo:region-body margin-bottom="30mm" margin-top="4mm" margin-right="7mm" margin-left="7mm" region-name="PageBody"/>
</fo:simple-page-master>
<fo:simple-page-master margin-top="10mm" margin-left="5mm" margin-right="5mm" master-name="ContinuationPage" page-width="210mm" page-height="297mm" margin-bottom="5mm">
<fo:region-body margin-top="20mm" margin-bottom="20mm" margin-right="7mm" margin-left="7mm" region-name="PageBody"/>
</fo:simple-page-master>
<fo:page-sequence-master master-name="PageSequence">
<fo:repeatable-page-master-alternatives>
<fo:conditional-page-master-reference odd-or-even="odd" page-position="first" master-reference="FirstPage"/>
<fo:conditional-page-master-reference odd-or-even="even" master-reference="ReversePage"/>
<fo:conditional-page-master-reference odd-or-even="odd" page-position="rest" master-reference="ContinuationPage"/>
</fo:repeatable-page-master-alternatives>
</fo:page-sequence-master>
</fo:layout-master-set>
<fo:page-sequence format="1" id="th_default_sequence1" force-page-count="auto" initial-page-number="auto" master-reference="PageSequence">
<fo:flow flow-name="PageBody">
<fo:block-container>
<fo:block>
<fo:block font-size="18pt" keep-with-next.within-column="always" space-before="7pt" text-align="left">Your retirement options</fo:block>
<fo:table id="1" border-collapse="separate" border-style="solid" border-width="2pt" keep-together.within-page="always" padding="10pt" space-before="7pt" table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:block>
<fo:block font-size="12pt" keep-with-next.within-column="always" space-before="7pt" role="H2" id="N100CD">You’ll need to choose an option for your pension savings, such as:</fo:block>
<fo:list-block font-size="10pt" space-before="7pt" >
<fo:list-item space-before="6pt">
<fo:list-item-label end-indent="label-end()" font-size="9pt" >
<fo:block>
<fo:inline>●</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:inline >Buy</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item space-before="6pt">
<fo:list-item-label end-indent="label-end()" font-size="9pt" >
<fo:block>
<fo:inline>●</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:inline >Re</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item space-before="6pt">
<fo:list-item-label end-indent="label-end()" font-size="9pt" >
<fo:block>
<fo:inline>●</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:inline >Take</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
<fo:list-block font-size="10pt" space-before="7pt" >
<fo:list-item space-before="6pt">
<fo:list-item-label end-indent="label-end()" font-size="9pt" >
<fo:block>
<fo:inline>●</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:inline >Mix</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
<fo:list-item space-before="6pt">
<fo:list-item-label end-indent="label-end()" font-size="9pt" >
<fo:block>
<fo:inline>●</fo:inline>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
<fo:inline >Leave</fo:inline>
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table id="2" border-collapse="separate" border-style="solid" keep-together.within-page="always" padding="10pt" space-before="7pt" table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:block font-size="12pt" keep-with-next.within-column="always" space-before="7pt" role="H2" id="N10114">test test test test test test test test </fo:block>
<fo:block font-size="10pt" >test test test test test test test test test test test test test test test </fo:block>
<fo:block font-size="10pt" space-before="7pt">
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
<fo:table table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:block font-size="10pt" space-before="7pt" text-align="center">
<fo:inline >test test test test test test test test test test test </fo:inline>
</fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block font-size="10pt" space-before="7pt">
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
<fo:block font-size="10pt" space-before="7pt">
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
<fo:block font-size="10pt" space-before="7pt">
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
<fo:block font-size="10pt" space-before="7pt">
test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test
</fo:block>
<fo:block font-size="10pt" space-before="7pt">test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:table id="3" border-collapse="separate" border-style="solid" keep-together.within-page="always" padding="10pt" space-before="7pt" table-layout="fixed" width="100%">
<fo:table-column column-width="proportional-column-width(100)" column-number="1"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:block font-size="10pt" >test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
<fo:block font-size="10pt" space-before="7pt">test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test </fo:block>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>
</fo>
<checks>
<eval expected="1" xpath="count(//pageViewport)"/>
<eval expected="587" xpath="count(//pageViewport[1]//word)"/>
</checks>
</testcase>
|