Skip to content

Commit 6108e48

Browse files
committed
Last page test
1 parent 3e05df6 commit 6108e48

File tree

1 file changed

+220
-10
lines changed

1 file changed

+220
-10
lines changed
Lines changed: 220 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- 2 -->
23
<fo:root xml:lang="en"
34
xmlns:fo="http://www.w3.org/1999/XSL/Format"
45
xmlns:fox="http://xmlgraphics.apache.org/fop/extensions">
5-
66
<fo:layout-master-set>
7-
<fo:simple-page-master
7+
<fo:simple-page-master
88
page-width="21cm"
99
page-height="29.7cm"
1010
master-name="simpleA4"
1111
margin-left="10pt"
1212
margin-right="10pt"
1313
margin-top="10pt"
1414
margin-bottom="10pt">
15-
<fo:region-body region-name="xsl-region-body" />
15+
<fo:region-body region-name="xsl-region-body" margin-bottom='15mm' />
16+
<fo:region-after region-name="xsl-region-after" extent="15mm"/>
1617
</fo:simple-page-master>
17-
1818
</fo:layout-master-set>
1919

2020
<fo:declarations>
@@ -32,20 +32,230 @@
3232
</rdf:Description>
3333
</rdf:RDF>
3434
</x:xmpmeta>
35-
</fo:declarations>
35+
</fo:declarations>
3636

3737
<fo:bookmark-tree>
38-
<fo:bookmark internal-destination="B1">
39-
<fo:bookmark-title>Bookmark 1</fo:bookmark-title>
38+
<fo:bookmark internal-destination="b1">
39+
<fo:bookmark-title>Bookmark 1</fo:bookmark-title>
40+
</fo:bookmark>
41+
<fo:bookmark internal-destination="b2">
42+
<fo:bookmark-title>Bookmark 2</fo:bookmark-title>
4043
</fo:bookmark>
4144
</fo:bookmark-tree>
4245

46+
<!--
47+
<fo:block text-align="end">
48+
Page <fo:page-number/> of
49+
50+
</fo:block>
51+
-->
52+
4353
<fo:page-sequence master-reference="simpleA4" initial-page-number="1">
54+
55+
<fo:static-content flow-name="xsl-region-after">
56+
<fo:block>
57+
<fo:block text-align="center" ><![CDATA[Page ]]><fo:page-number/><![CDATA[]]> / <fo:page-number-citation ref-id="EndOfDocument"/></fo:block>
58+
</fo:block>
59+
</fo:static-content>
60+
<fo:flow flow-name="xsl-region-body" >
61+
4462

45-
<fo:flow flow-name="xsl-region-body" >
4663
<fo:block>
47-
<fo:block role="H1" text-align="center" id="B1" >Header 1</fo:block>
64+
<fo:block id="b1" role="H1" text-align="center" ><![CDATA[Header 1]]></fo:block>
65+
66+
67+
<fo:table border-collapse="separate" width="100%" table-layout="fixed">
68+
<fo:table-column column-width="30%" />
69+
<fo:table-column column-width="30%" />
70+
<fo:table-column column-width="40%" />
71+
<fo:table-header font-weight="bold" text-align="center">
72+
<fo:table-row>
73+
<fo:table-cell padding="2mm" text-align="center" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
74+
<fo:block font-weight="bold" ><![CDATA[Name]]></fo:block>
75+
</fo:table-cell>
76+
<fo:table-cell padding="2mm" text-align="center" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
77+
<fo:block font-weight="bold" ><![CDATA[Surname]]></fo:block>
78+
</fo:table-cell>
79+
<fo:table-cell padding="2mm" text-align="center" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
80+
<fo:block font-weight="bold" ><![CDATA[Title]]></fo:block>
81+
</fo:table-cell>
82+
</fo:table-row>
83+
</fo:table-header>
84+
<fo:table-body >
85+
<fo:table-row>
86+
<fo:table-cell padding="2mm" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
87+
<fo:block ><![CDATA[Luthien &]]></fo:block>
88+
</fo:table-cell>
89+
<fo:table-cell padding="2mm" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
90+
<fo:block ><![CDATA[Tinuviel]]></fo:block>
91+
</fo:table-cell>
92+
<fo:table-cell padding="2mm" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
93+
<fo:block ><![CDATA[Queen]]></fo:block>
94+
</fo:table-cell>
95+
</fo:table-row>
96+
<fo:table-row>
97+
<fo:table-cell padding="2mm" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
98+
<fo:block ><![CDATA[Thorin]]></fo:block>
99+
</fo:table-cell>
100+
<fo:table-cell padding="2mm" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
101+
<fo:block ><![CDATA[Oakshield]]></fo:block>
102+
</fo:table-cell>
103+
<fo:table-cell padding="2mm" border-top='1pt solid black' border-bottom='1pt solid black' border-left='1pt solid black' border-right='1pt solid black' number-columns-spanned="1">
104+
<fo:block ><![CDATA[King]]></fo:block>
105+
</fo:table-cell>
106+
</fo:table-row>
107+
</fo:table-body>
108+
</fo:table>
109+
110+
<fo:block page-break-before="always"></fo:block>
111+
<fo:list-block>
112+
<fo:list-item>
113+
<fo:list-item-label end-indent="label-end()">
114+
<fo:block margin-top="10px" ><fo:inline font-style="normal" >1.</fo:inline></fo:block>
115+
</fo:list-item-label>
116+
<fo:list-item-body start-indent="body-start()">
117+
<fo:block> <fo:block margin-top="10px" ><![CDATA[Element 1]]></fo:block>
118+
</fo:block>
119+
</fo:list-item-body>
120+
</fo:list-item>
121+
<fo:list-item>
122+
<fo:list-item-label end-indent="label-end()">
123+
<fo:block margin-top="10px" ><fo:inline font-style="normal" >2.</fo:inline></fo:block>
124+
</fo:list-item-label>
125+
<fo:list-item-body start-indent="body-start()">
126+
<fo:block> <fo:block margin-top="10px" ><![CDATA[Element 2]]></fo:block>
127+
</fo:block>
128+
</fo:list-item-body>
129+
</fo:list-item>
130+
<fo:list-item>
131+
<fo:list-item-label end-indent="label-end()">
132+
<fo:block ><fo:inline font-style="normal" >3.</fo:inline></fo:block>
133+
</fo:list-item-label>
134+
<fo:list-item-body start-indent="body-start()">
135+
<fo:block> <fo:block ><![CDATA[Element 3]]></fo:block>
136+
<fo:list-block>
137+
<fo:list-item>
138+
<fo:list-item-label end-indent="label-end()">
139+
<fo:block ><fo:inline font-style="normal" >&#183;</fo:inline></fo:block>
140+
</fo:list-item-label>
141+
<fo:list-item-body start-indent="body-start()">
142+
<fo:block> <fo:block ><![CDATA[Element 2a]]></fo:block>
143+
</fo:block>
144+
</fo:list-item-body>
145+
</fo:list-item>
146+
<fo:list-item>
147+
<fo:list-item-label end-indent="label-end()">
148+
<fo:block ><fo:inline font-style="normal" >&#183;</fo:inline></fo:block>
149+
</fo:list-item-label>
150+
<fo:list-item-body start-indent="body-start()">
151+
<fo:block> <fo:block ><![CDATA[Element 2b]]></fo:block>
152+
<fo:list-block>
153+
<fo:list-item>
154+
<fo:list-item-label end-indent="label-end()">
155+
<fo:block ><fo:inline font-style="normal" >1.</fo:inline></fo:block>
156+
</fo:list-item-label>
157+
<fo:list-item-body start-indent="body-start()">
158+
<fo:block> <fo:block ><![CDATA[Element 2c1]]></fo:block>
159+
</fo:block>
160+
</fo:list-item-body>
161+
</fo:list-item>
162+
<fo:list-item>
163+
<fo:list-item-label end-indent="label-end()">
164+
<fo:block ><fo:inline font-style="normal" >2.</fo:inline></fo:block>
165+
</fo:list-item-label>
166+
<fo:list-item-body start-indent="body-start()">
167+
<fo:block> <fo:block ><![CDATA[Element 2c2]]></fo:block>
168+
</fo:block>
169+
</fo:list-item-body>
170+
</fo:list-item>
171+
<fo:list-item>
172+
<fo:list-item-label end-indent="label-end()">
173+
<fo:block ><fo:inline font-style="normal" >3.</fo:inline></fo:block>
174+
</fo:list-item-label>
175+
<fo:list-item-body start-indent="body-start()">
176+
<fo:block> <fo:inline ><![CDATA[test]]></fo:inline>
177+
<fo:basic-link external-destination="url('https://www.fugerit.org')" color="blue" text-decoration="underline"><![CDATA[https://www.fugerit.org]]></fo:basic-link>
178+
<fo:inline ><![CDATA[test b]]></fo:inline>
179+
</fo:block>
180+
</fo:list-item-body>
181+
</fo:list-item>
182+
</fo:list-block>
183+
</fo:block>
184+
</fo:list-item-body>
185+
</fo:list-item>
186+
</fo:list-block>
187+
</fo:block>
188+
</fo:list-item-body>
189+
</fo:list-item>
190+
<fo:list-item>
191+
<fo:list-item-label end-indent="label-end()">
192+
<fo:block ><fo:inline font-style="normal" >4.</fo:inline></fo:block>
193+
</fo:list-item-label>
194+
<fo:list-item-body start-indent="body-start()">
195+
<fo:block> <fo:block ><![CDATA[Element 4]]></fo:block>
196+
<fo:list-block>
197+
<fo:list-item>
198+
<fo:list-item-label end-indent="label-end()">
199+
<fo:block ><fo:inline font-style="normal" >-</fo:inline></fo:block>
200+
</fo:list-item-label>
201+
<fo:list-item-body start-indent="body-start()">
202+
<fo:block> <fo:block ><![CDATA[Element 4a]]></fo:block>
203+
</fo:block>
204+
</fo:list-item-body>
205+
</fo:list-item>
206+
<fo:list-item>
207+
<fo:list-item-label end-indent="label-end()">
208+
<fo:block ><fo:inline font-style="normal" >-</fo:inline></fo:block>
209+
</fo:list-item-label>
210+
<fo:list-item-body start-indent="body-start()">
211+
<fo:block> <fo:block ><![CDATA[Element 4b]]></fo:block>
212+
<fo:list-block>
213+
<fo:list-item>
214+
<fo:list-item-label end-indent="label-end()">
215+
<fo:block ><fo:inline font-style="normal" >1.</fo:inline></fo:block>
216+
</fo:list-item-label>
217+
<fo:list-item-body start-indent="body-start()">
218+
<fo:block> <fo:block ><![CDATA[Element 2c1]]></fo:block>
219+
</fo:block>
220+
</fo:list-item-body>
221+
</fo:list-item>
222+
<fo:list-item>
223+
<fo:list-item-label end-indent="label-end()">
224+
<fo:block ><fo:inline font-style="normal" >2.</fo:inline></fo:block>
225+
</fo:list-item-label>
226+
<fo:list-item-body start-indent="body-start()">
227+
<fo:block> <fo:block ><![CDATA[Element 2c2]]></fo:block>
228+
</fo:block>
229+
</fo:list-item-body>
230+
</fo:list-item>
231+
</fo:list-block>
232+
</fo:block>
233+
</fo:list-item-body>
234+
</fo:list-item>
235+
</fo:list-block>
236+
</fo:block>
237+
</fo:list-item-body>
238+
</fo:list-item>
239+
<fo:list-item>
240+
<fo:list-item-label end-indent="label-end()">
241+
<fo:block ><fo:inline font-style="normal" >5.</fo:inline></fo:block>
242+
</fo:list-item-label>
243+
<fo:list-item-body start-indent="body-start()">
244+
<fo:block> <fo:block ><![CDATA[Element 5]]></fo:block>
245+
</fo:block>
246+
</fo:list-item-body>
247+
</fo:list-item>
248+
</fo:list-block>
249+
<fo:block id="b2" role="H2" text-align="center" ><![CDATA[Header 2]]></fo:block>
250+
<fo:block ><![CDATA[sample normal text]]></fo:block>
251+
<fo:block font-weight="bold" ><![CDATA[sample bold text]]></fo:block>
252+
<fo:block font-style="italic" ><![CDATA[sample italic text]]></fo:block>
253+
48254
</fo:block>
49-
</fo:flow>
255+
256+
<fo:block id="EndOfDocument"></fo:block></fo:flow>
257+
50258
</fo:page-sequence>
259+
260+
51261
</fo:root>

0 commit comments

Comments
 (0)