You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

headfoot.fo 45KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  3. <fo:layout-master-set>
  4. <fo:simple-page-master master-name="first"
  5. margin-right="1.5cm"
  6. margin-left="1.5cm"
  7. margin-bottom="2cm"
  8. margin-top="1cm"
  9. page-width="21cm"
  10. page-height="29.7cm">
  11. <fo:region-body margin-top="7cm"/>
  12. <fo:region-before extent="7cm"/>
  13. <fo:region-after extent="1.5cm"/>
  14. </fo:simple-page-master>
  15. </fo:layout-master-set>
  16. <fo:page-sequence master-reference="first">
  17. <fo:static-content flow-name="xsl-region-before">
  18. <fo:block line-height="14pt" font-size="10pt"
  19. text-align="end">table examples</fo:block>
  20. </fo:static-content>
  21. <fo:static-content flow-name="xsl-region-after">
  22. <fo:block line-height="14pt" font-size="10pt"
  23. text-align="end">Page <fo:page-number/></fo:block>
  24. </fo:static-content>
  25. <fo:flow flow-name="xsl-region-body">
  26. <fo:block space-before.optimum="15cm">
  27. Table 1: with header
  28. </fo:block>
  29. <fo:table table-layout="fixed" width="100%">
  30. <fo:table-column column-width="2cm"/>
  31. <fo:table-column column-width="2cm"/>
  32. <fo:table-column column-width="2cm"/>
  33. <fo:table-column column-width="2cm"/>
  34. <fo:table-column column-width="2cm"/>
  35. <fo:table-column column-width="2cm"/>
  36. <fo:table-header>
  37. <fo:table-row>
  38. <fo:table-cell>
  39. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  40. border-width="1pt" border-color="black" background-color="#F7F24D">
  41. Col.1
  42. </fo:block>
  43. </fo:table-cell>
  44. <fo:table-cell>
  45. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  46. border-width="1pt" border-color="black" background-color="#F7F24D">
  47. Col.2
  48. </fo:block>
  49. </fo:table-cell>
  50. <fo:table-cell>
  51. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  52. border-width="1pt" border-color="black" background-color="#F7F24D">
  53. Col.3
  54. </fo:block>
  55. </fo:table-cell>
  56. <fo:table-cell>
  57. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  58. border-width="1pt" border-color="black" background-color="#F7F24D">
  59. Col.4
  60. </fo:block>
  61. </fo:table-cell>
  62. <fo:table-cell>
  63. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  64. border-width="1pt" border-color="black" background-color="#F7F24D">
  65. Col.5
  66. </fo:block>
  67. </fo:table-cell>
  68. <fo:table-cell>
  69. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  70. border-width="1pt" border-color="black" background-color="#F7F24D">
  71. Col.6
  72. </fo:block>
  73. </fo:table-cell>
  74. </fo:table-row>
  75. </fo:table-header>
  76. <fo:table-body>
  77. <fo:table-row>
  78. <fo:table-cell>
  79. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  80. 1
  81. </fo:block>
  82. </fo:table-cell>
  83. <fo:table-cell>
  84. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  85. 2
  86. </fo:block>
  87. </fo:table-cell>
  88. <fo:table-cell>
  89. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  90. 3
  91. </fo:block>
  92. </fo:table-cell>
  93. <fo:table-cell>
  94. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  95. 4
  96. </fo:block>
  97. </fo:table-cell>
  98. <fo:table-cell>
  99. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  100. 5
  101. </fo:block>
  102. </fo:table-cell>
  103. <fo:table-cell>
  104. <fo:block text-align="center" vertical-align="middle">
  105. 6
  106. </fo:block>
  107. </fo:table-cell>
  108. </fo:table-row>
  109. <fo:table-row>
  110. <fo:table-cell>
  111. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  112. 1
  113. </fo:block>
  114. </fo:table-cell>
  115. <fo:table-cell>
  116. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  117. 2
  118. </fo:block>
  119. </fo:table-cell>
  120. <fo:table-cell>
  121. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  122. 3
  123. </fo:block>
  124. </fo:table-cell>
  125. <fo:table-cell>
  126. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  127. 4
  128. </fo:block>
  129. </fo:table-cell>
  130. <fo:table-cell>
  131. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  132. 5
  133. </fo:block>
  134. </fo:table-cell>
  135. <fo:table-cell>
  136. <fo:block text-align="center" vertical-align="middle">
  137. 6
  138. </fo:block>
  139. </fo:table-cell>
  140. </fo:table-row>
  141. <fo:table-row>
  142. <fo:table-cell>
  143. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  144. 1
  145. </fo:block>
  146. </fo:table-cell>
  147. <fo:table-cell>
  148. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  149. 2
  150. </fo:block>
  151. </fo:table-cell>
  152. <fo:table-cell>
  153. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  154. 3
  155. </fo:block>
  156. </fo:table-cell>
  157. <fo:table-cell>
  158. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  159. 4
  160. </fo:block>
  161. </fo:table-cell>
  162. <fo:table-cell>
  163. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  164. 5
  165. </fo:block>
  166. </fo:table-cell>
  167. <fo:table-cell>
  168. <fo:block text-align="center" vertical-align="middle">
  169. 6
  170. </fo:block>
  171. </fo:table-cell>
  172. </fo:table-row>
  173. <fo:table-row>
  174. <fo:table-cell>
  175. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  176. 1
  177. </fo:block>
  178. </fo:table-cell>
  179. <fo:table-cell>
  180. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  181. 2
  182. </fo:block>
  183. </fo:table-cell>
  184. <fo:table-cell>
  185. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  186. 3
  187. </fo:block>
  188. </fo:table-cell>
  189. <fo:table-cell>
  190. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  191. 4
  192. </fo:block>
  193. </fo:table-cell>
  194. <fo:table-cell>
  195. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  196. 5
  197. </fo:block>
  198. </fo:table-cell>
  199. <fo:table-cell>
  200. <fo:block text-align="center" vertical-align="middle">
  201. 6
  202. </fo:block>
  203. </fo:table-cell>
  204. </fo:table-row>
  205. <fo:table-row>
  206. <fo:table-cell>
  207. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  208. 1
  209. </fo:block>
  210. </fo:table-cell>
  211. <fo:table-cell>
  212. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  213. 2
  214. </fo:block>
  215. </fo:table-cell>
  216. <fo:table-cell>
  217. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  218. 3
  219. </fo:block>
  220. </fo:table-cell>
  221. <fo:table-cell>
  222. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  223. 4
  224. </fo:block>
  225. </fo:table-cell>
  226. <fo:table-cell>
  227. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  228. 5
  229. </fo:block>
  230. </fo:table-cell>
  231. <fo:table-cell>
  232. <fo:block text-align="center" vertical-align="middle">
  233. 6
  234. </fo:block>
  235. </fo:table-cell>
  236. </fo:table-row>
  237. <fo:table-row>
  238. <fo:table-cell>
  239. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  240. 1
  241. </fo:block>
  242. </fo:table-cell>
  243. <fo:table-cell>
  244. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  245. 2
  246. </fo:block>
  247. </fo:table-cell>
  248. <fo:table-cell>
  249. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  250. 3
  251. </fo:block>
  252. </fo:table-cell>
  253. <fo:table-cell>
  254. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  255. 4
  256. </fo:block>
  257. </fo:table-cell>
  258. <fo:table-cell>
  259. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  260. 5
  261. </fo:block>
  262. </fo:table-cell>
  263. <fo:table-cell>
  264. <fo:block text-align="center" vertical-align="middle">
  265. 6
  266. </fo:block>
  267. </fo:table-cell>
  268. </fo:table-row>
  269. <fo:table-row>
  270. <fo:table-cell>
  271. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  272. 1
  273. </fo:block>
  274. </fo:table-cell>
  275. <fo:table-cell>
  276. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  277. 2
  278. </fo:block>
  279. </fo:table-cell>
  280. <fo:table-cell>
  281. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  282. 3
  283. </fo:block>
  284. </fo:table-cell>
  285. <fo:table-cell>
  286. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  287. 4
  288. </fo:block>
  289. </fo:table-cell>
  290. <fo:table-cell>
  291. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  292. 5
  293. </fo:block>
  294. </fo:table-cell>
  295. <fo:table-cell>
  296. <fo:block text-align="center" vertical-align="middle">
  297. 6
  298. </fo:block>
  299. </fo:table-cell>
  300. </fo:table-row>
  301. </fo:table-body>
  302. </fo:table>
  303. <fo:block space-before.optimum="15cm">
  304. Table 2: with footer
  305. </fo:block>
  306. <fo:table table-layout="fixed" width="100%">
  307. <fo:table-column column-width="2cm"/>
  308. <fo:table-column column-width="2cm"/>
  309. <fo:table-column column-width="2cm"/>
  310. <fo:table-column column-width="2cm"/>
  311. <fo:table-column column-width="2cm"/>
  312. <fo:table-column column-width="2cm"/>
  313. <fo:table-footer>
  314. <fo:table-row>
  315. <fo:table-cell>
  316. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  317. border-width="1pt" border-color="black" background-color="#F7F24D">
  318. Col.1
  319. </fo:block>
  320. </fo:table-cell>
  321. <fo:table-cell>
  322. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  323. border-width="1pt" border-color="black" background-color="#F7F24D">
  324. Col.2
  325. </fo:block>
  326. </fo:table-cell>
  327. <fo:table-cell>
  328. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  329. border-width="1pt" border-color="black" background-color="#F7F24D">
  330. Col.3
  331. </fo:block>
  332. </fo:table-cell>
  333. <fo:table-cell>
  334. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  335. border-width="1pt" border-color="black" background-color="#F7F24D">
  336. Col.4
  337. </fo:block>
  338. </fo:table-cell>
  339. <fo:table-cell>
  340. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  341. border-width="1pt" border-color="black" background-color="#F7F24D">
  342. Col.5
  343. </fo:block>
  344. </fo:table-cell>
  345. <fo:table-cell>
  346. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  347. border-width="1pt" border-color="black" background-color="#F7F24D">
  348. Col.6
  349. </fo:block>
  350. </fo:table-cell>
  351. </fo:table-row>
  352. </fo:table-footer>
  353. <fo:table-body>
  354. <fo:table-row>
  355. <fo:table-cell>
  356. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  357. 1
  358. </fo:block>
  359. </fo:table-cell>
  360. <fo:table-cell>
  361. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  362. 2
  363. </fo:block>
  364. </fo:table-cell>
  365. <fo:table-cell>
  366. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  367. 3
  368. </fo:block>
  369. </fo:table-cell>
  370. <fo:table-cell>
  371. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  372. 4
  373. </fo:block>
  374. </fo:table-cell>
  375. <fo:table-cell>
  376. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  377. 5
  378. </fo:block>
  379. </fo:table-cell>
  380. <fo:table-cell>
  381. <fo:block text-align="center" vertical-align="middle">
  382. 6
  383. </fo:block>
  384. </fo:table-cell>
  385. </fo:table-row>
  386. <fo:table-row>
  387. <fo:table-cell>
  388. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  389. 1
  390. </fo:block>
  391. </fo:table-cell>
  392. <fo:table-cell>
  393. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  394. 2
  395. </fo:block>
  396. </fo:table-cell>
  397. <fo:table-cell>
  398. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  399. 3
  400. </fo:block>
  401. </fo:table-cell>
  402. <fo:table-cell>
  403. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  404. 4
  405. </fo:block>
  406. </fo:table-cell>
  407. <fo:table-cell>
  408. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  409. 5
  410. </fo:block>
  411. </fo:table-cell>
  412. <fo:table-cell>
  413. <fo:block text-align="center" vertical-align="middle">
  414. 6
  415. </fo:block>
  416. </fo:table-cell>
  417. </fo:table-row>
  418. <fo:table-row>
  419. <fo:table-cell>
  420. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  421. 1
  422. </fo:block>
  423. </fo:table-cell>
  424. <fo:table-cell>
  425. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  426. 2
  427. </fo:block>
  428. </fo:table-cell>
  429. <fo:table-cell>
  430. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  431. 3
  432. </fo:block>
  433. </fo:table-cell>
  434. <fo:table-cell>
  435. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  436. 4
  437. </fo:block>
  438. </fo:table-cell>
  439. <fo:table-cell>
  440. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  441. 5
  442. </fo:block>
  443. </fo:table-cell>
  444. <fo:table-cell>
  445. <fo:block text-align="center" vertical-align="middle">
  446. 6
  447. </fo:block>
  448. </fo:table-cell>
  449. </fo:table-row>
  450. <fo:table-row>
  451. <fo:table-cell>
  452. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  453. 1
  454. </fo:block>
  455. </fo:table-cell>
  456. <fo:table-cell>
  457. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  458. 2
  459. </fo:block>
  460. </fo:table-cell>
  461. <fo:table-cell>
  462. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  463. 3
  464. </fo:block>
  465. </fo:table-cell>
  466. <fo:table-cell>
  467. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  468. 4
  469. </fo:block>
  470. </fo:table-cell>
  471. <fo:table-cell>
  472. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  473. 5
  474. </fo:block>
  475. </fo:table-cell>
  476. <fo:table-cell>
  477. <fo:block text-align="center" vertical-align="middle">
  478. 6
  479. </fo:block>
  480. </fo:table-cell>
  481. </fo:table-row>
  482. <fo:table-row>
  483. <fo:table-cell>
  484. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  485. 1
  486. </fo:block>
  487. </fo:table-cell>
  488. <fo:table-cell>
  489. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  490. 2
  491. </fo:block>
  492. </fo:table-cell>
  493. <fo:table-cell>
  494. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  495. 3
  496. </fo:block>
  497. </fo:table-cell>
  498. <fo:table-cell>
  499. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  500. 4
  501. </fo:block>
  502. </fo:table-cell>
  503. <fo:table-cell>
  504. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  505. 5
  506. </fo:block>
  507. </fo:table-cell>
  508. <fo:table-cell>
  509. <fo:block text-align="center" vertical-align="middle">
  510. 6
  511. </fo:block>
  512. </fo:table-cell>
  513. </fo:table-row>
  514. <fo:table-row>
  515. <fo:table-cell>
  516. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  517. 1
  518. </fo:block>
  519. </fo:table-cell>
  520. <fo:table-cell>
  521. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  522. 2
  523. </fo:block>
  524. </fo:table-cell>
  525. <fo:table-cell>
  526. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  527. 3
  528. </fo:block>
  529. </fo:table-cell>
  530. <fo:table-cell>
  531. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  532. 4
  533. </fo:block>
  534. </fo:table-cell>
  535. <fo:table-cell>
  536. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  537. 5
  538. </fo:block>
  539. </fo:table-cell>
  540. <fo:table-cell>
  541. <fo:block text-align="center" vertical-align="middle">
  542. 6
  543. </fo:block>
  544. </fo:table-cell>
  545. </fo:table-row>
  546. <fo:table-row>
  547. <fo:table-cell>
  548. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  549. 1
  550. </fo:block>
  551. </fo:table-cell>
  552. <fo:table-cell>
  553. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  554. 2
  555. </fo:block>
  556. </fo:table-cell>
  557. <fo:table-cell>
  558. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  559. 3
  560. </fo:block>
  561. </fo:table-cell>
  562. <fo:table-cell>
  563. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  564. 4
  565. </fo:block>
  566. </fo:table-cell>
  567. <fo:table-cell>
  568. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  569. 5
  570. </fo:block>
  571. </fo:table-cell>
  572. <fo:table-cell>
  573. <fo:block text-align="center" vertical-align="middle">
  574. 6
  575. </fo:block>
  576. </fo:table-cell>
  577. </fo:table-row>
  578. </fo:table-body>
  579. </fo:table>
  580. <fo:block space-before.optimum="15cm">
  581. Table 3: with header and footer and keeps
  582. </fo:block>
  583. <fo:table table-layout="fixed" width="100%">
  584. <fo:table-column column-width="2cm"/>
  585. <fo:table-column column-width="2cm"/>
  586. <fo:table-column column-width="2cm"/>
  587. <fo:table-column column-width="2cm"/>
  588. <fo:table-column column-width="2cm"/>
  589. <fo:table-column column-width="2cm"/>
  590. <fo:table-header>
  591. <fo:table-row>
  592. <fo:table-cell>
  593. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  594. border-width="1pt" border-color="black" background-color="#F7F24D">
  595. Col.1
  596. </fo:block>
  597. </fo:table-cell>
  598. <fo:table-cell>
  599. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  600. border-width="1pt" border-color="black" background-color="#F7F24D">
  601. Col.2
  602. </fo:block>
  603. </fo:table-cell>
  604. <fo:table-cell>
  605. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  606. border-width="1pt" border-color="black" background-color="#F7F24D">
  607. Col.3
  608. </fo:block>
  609. </fo:table-cell>
  610. <fo:table-cell>
  611. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  612. border-width="1pt" border-color="black" background-color="#F7F24D">
  613. Col.4
  614. </fo:block>
  615. </fo:table-cell>
  616. <fo:table-cell>
  617. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  618. border-width="1pt" border-color="black" background-color="#F7F24D">
  619. Col.5
  620. </fo:block>
  621. </fo:table-cell>
  622. <fo:table-cell>
  623. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  624. border-width="1pt" border-color="black" background-color="#F7F24D">
  625. Col.6
  626. </fo:block>
  627. </fo:table-cell>
  628. </fo:table-row>
  629. </fo:table-header>
  630. <fo:table-footer>
  631. <fo:table-row>
  632. <fo:table-cell>
  633. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  634. border-width="1pt" border-color="black" background-color="#F7F24D">
  635. Col.1
  636. </fo:block>
  637. </fo:table-cell>
  638. <fo:table-cell>
  639. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  640. border-width="1pt" border-color="black" background-color="#F7F24D">
  641. Col.2
  642. </fo:block>
  643. </fo:table-cell>
  644. <fo:table-cell>
  645. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  646. border-width="1pt" border-color="black" background-color="#F7F24D">
  647. Col.3
  648. </fo:block>
  649. </fo:table-cell>
  650. <fo:table-cell>
  651. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  652. border-width="1pt" border-color="black" background-color="#F7F24D">
  653. Col.4
  654. </fo:block>
  655. </fo:table-cell>
  656. <fo:table-cell>
  657. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  658. border-width="1pt" border-color="black" background-color="#F7F24D">
  659. Col.5
  660. </fo:block>
  661. </fo:table-cell>
  662. <fo:table-cell>
  663. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  664. border-width="1pt" border-color="black" background-color="#F7F24D">
  665. Col.6
  666. </fo:block>
  667. </fo:table-cell>
  668. </fo:table-row>
  669. </fo:table-footer>
  670. <fo:table-body>
  671. <fo:table-row keep-with-next="always">
  672. <fo:table-cell>
  673. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  674. Row 1:
  675. </fo:block>
  676. </fo:table-cell>
  677. <fo:table-cell>
  678. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  679. keep
  680. </fo:block>
  681. </fo:table-cell>
  682. <fo:table-cell>
  683. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  684. together
  685. </fo:block>
  686. </fo:table-cell>
  687. <fo:table-cell>
  688. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  689. with
  690. </fo:block>
  691. </fo:table-cell>
  692. <fo:table-cell>
  693. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  694. row 2:
  695. </fo:block>
  696. </fo:table-cell>
  697. <fo:table-cell>
  698. <fo:block text-align="center" vertical-align="middle">
  699. always
  700. </fo:block>
  701. </fo:table-cell>
  702. </fo:table-row>
  703. <fo:table-row>
  704. <fo:table-cell>
  705. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  706. Row 2:
  707. </fo:block>
  708. </fo:table-cell>
  709. <fo:table-cell>
  710. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  711. is always
  712. </fo:block>
  713. </fo:table-cell>
  714. <fo:table-cell>
  715. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  716. kept
  717. </fo:block>
  718. </fo:table-cell>
  719. <fo:table-cell>
  720. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  721. together
  722. </fo:block>
  723. </fo:table-cell>
  724. <fo:table-cell>
  725. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  726. with
  727. </fo:block>
  728. </fo:table-cell>
  729. <fo:table-cell>
  730. <fo:block text-align="center" vertical-align="middle">
  731. row 1
  732. </fo:block>
  733. </fo:table-cell>
  734. </fo:table-row>
  735. <fo:table-row>
  736. <fo:table-cell>
  737. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  738. 1
  739. </fo:block>
  740. </fo:table-cell>
  741. <fo:table-cell>
  742. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  743. 2
  744. </fo:block>
  745. </fo:table-cell>
  746. <fo:table-cell>
  747. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  748. 3
  749. </fo:block>
  750. </fo:table-cell>
  751. <fo:table-cell>
  752. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  753. 4
  754. </fo:block>
  755. </fo:table-cell>
  756. <fo:table-cell>
  757. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  758. 5
  759. </fo:block>
  760. </fo:table-cell>
  761. <fo:table-cell>
  762. <fo:block text-align="center" vertical-align="middle">
  763. 6
  764. </fo:block>
  765. </fo:table-cell>
  766. </fo:table-row>
  767. <fo:table-row>
  768. <fo:table-cell>
  769. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle"
  770. line-height="16cm">
  771. 1
  772. </fo:block>
  773. </fo:table-cell>
  774. <fo:table-cell>
  775. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle"
  776. line-height="16cm">
  777. 2
  778. </fo:block>
  779. </fo:table-cell>
  780. <fo:table-cell>
  781. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle"
  782. line-height="16cm">
  783. 3
  784. </fo:block>
  785. </fo:table-cell>
  786. <fo:table-cell>
  787. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle"
  788. line-height="16cm">
  789. 4
  790. </fo:block>
  791. </fo:table-cell>
  792. <fo:table-cell>
  793. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle"
  794. line-height="16cm">
  795. 5
  796. </fo:block>
  797. </fo:table-cell>
  798. <fo:table-cell>
  799. <fo:block text-align="center" vertical-align="middle"
  800. line-height="16cm">
  801. 6
  802. </fo:block>
  803. </fo:table-cell>
  804. </fo:table-row>
  805. <fo:table-row>
  806. <fo:table-cell>
  807. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  808. 1
  809. </fo:block>
  810. </fo:table-cell>
  811. <fo:table-cell>
  812. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  813. 2
  814. </fo:block>
  815. </fo:table-cell>
  816. <fo:table-cell>
  817. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  818. 3
  819. </fo:block>
  820. </fo:table-cell>
  821. <fo:table-cell>
  822. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  823. 4
  824. </fo:block>
  825. </fo:table-cell>
  826. <fo:table-cell>
  827. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  828. 5
  829. </fo:block>
  830. </fo:table-cell>
  831. <fo:table-cell>
  832. <fo:block text-align="center" vertical-align="middle">
  833. 6
  834. </fo:block>
  835. </fo:table-cell>
  836. </fo:table-row>
  837. <fo:table-row>
  838. <fo:table-cell>
  839. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  840. 1
  841. </fo:block>
  842. </fo:table-cell>
  843. <fo:table-cell>
  844. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  845. 2
  846. </fo:block>
  847. </fo:table-cell>
  848. <fo:table-cell>
  849. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  850. 3
  851. </fo:block>
  852. </fo:table-cell>
  853. <fo:table-cell>
  854. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  855. 4
  856. </fo:block>
  857. </fo:table-cell>
  858. <fo:table-cell>
  859. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  860. 5
  861. </fo:block>
  862. </fo:table-cell>
  863. <fo:table-cell>
  864. <fo:block text-align="center" vertical-align="middle">
  865. 6
  866. </fo:block>
  867. </fo:table-cell>
  868. </fo:table-row>
  869. </fo:table-body>
  870. </fo:table>
  871. <fo:block space-before.optimum="2cm">
  872. Table 4: cells spanning columns
  873. </fo:block>
  874. <fo:table table-layout="fixed" width="100%">
  875. <fo:table-column column-width="2cm"/>
  876. <fo:table-column column-width="2cm"/>
  877. <fo:table-column column-width="2cm"/>
  878. <fo:table-column column-width="2cm"/>
  879. <fo:table-column column-width="2cm"/>
  880. <fo:table-column column-width="2cm"/>
  881. <fo:table-body>
  882. <fo:table-row>
  883. <fo:table-cell
  884. border-width="0.5pt"
  885. border-style="solid"
  886. border-color="black"
  887. text-align="center" vertical-align="middle"
  888. number-columns-spanned="1" background-color="#FF6AC0">
  889. <fo:block> 1 to 1</fo:block>
  890. </fo:table-cell>
  891. <fo:table-cell
  892. border-width="0.5pt"
  893. border-style="solid"
  894. border-color="black"
  895. text-align="center" vertical-align="middle"
  896. number-columns-spanned="5" background-color="#9BF2E9">
  897. <fo:block> 2 to 6</fo:block>
  898. </fo:table-cell>
  899. </fo:table-row>
  900. <fo:table-row>
  901. <fo:table-cell
  902. border-width="0.5pt"
  903. border-style="solid"
  904. border-color="black"
  905. text-align="center" vertical-align="middle"
  906. number-columns-spanned="2" background-color="#FF6AC0">
  907. <fo:block> 1 to 2</fo:block>
  908. </fo:table-cell>
  909. <fo:table-cell
  910. border-width="0.5pt"
  911. border-style="solid"
  912. border-color="black"
  913. text-align="center" vertical-align="middle"
  914. number-columns-spanned="4" background-color="#9BF2E9">
  915. <fo:block> 3 to 6</fo:block>
  916. </fo:table-cell>
  917. </fo:table-row>
  918. </fo:table-body>
  919. </fo:table>
  920. <fo:block space-before.optimum="2cm">
  921. Table 5: cells spanning rows
  922. </fo:block>
  923. <fo:table table-layout="fixed" width="100%">
  924. <fo:table-column column-width="48pt"/>
  925. <fo:table-column column-width="48pt"/>
  926. <fo:table-column column-width="48pt"/>
  927. <fo:table-column column-width="48pt"/>
  928. <fo:table-column column-width="48pt"/>
  929. <fo:table-column column-width="48pt"/>
  930. <fo:table-body>
  931. <fo:table-row>
  932. <fo:table-cell><fo:block>1</fo:block></fo:table-cell>
  933. <fo:table-cell number-rows-spanned="1"
  934. border-width="0.5pt"
  935. border-style="solid"
  936. border-color="black"
  937. text-align="center" vertical-align="middle"
  938. background-color="#FF6AC0">
  939. <fo:block> 1 - 1</fo:block>
  940. </fo:table-cell>
  941. <fo:table-cell number-rows-spanned="2"
  942. border-width="0.5pt"
  943. border-style="solid"
  944. border-color="black"
  945. text-align="center" vertical-align="middle"
  946. background-color="#FF6AC0">
  947. <fo:block> 1 - 2</fo:block>
  948. </fo:table-cell>
  949. <fo:table-cell number-rows-spanned="3"
  950. border-width="0.5pt"
  951. border-style="solid"
  952. border-color="black"
  953. text-align="center" vertical-align="middle"
  954. background-color="#FF6AC0"><fo:block> 1 - 3</fo:block>
  955. </fo:table-cell>
  956. <fo:table-cell number-rows-spanned="4"
  957. border-width="0.5pt"
  958. border-style="solid"
  959. border-color="black"
  960. text-align="center" vertical-align="middle"
  961. background-color="#FF6AC0"><fo:block> 1 - 4</fo:block>
  962. </fo:table-cell>
  963. <fo:table-cell number-rows-spanned="5"
  964. border-width="0.5pt"
  965. border-style="solid"
  966. border-color="black"
  967. text-align="center" vertical-align="middle"
  968. background-color="#FF6AC0"><fo:block> 1 - 5</fo:block>
  969. </fo:table-cell>
  970. </fo:table-row>
  971. <fo:table-row>
  972. <fo:table-cell><fo:block>2</fo:block></fo:table-cell>
  973. <fo:table-cell number-rows-spanned="5"
  974. border-width="0.5pt"
  975. border-style="solid"
  976. border-color="black"
  977. text-align="center" vertical-align="middle"
  978. background-color="#9BF2E9"><fo:block> 2 - 6</fo:block>
  979. </fo:table-cell>
  980. </fo:table-row>
  981. <fo:table-row>
  982. <fo:table-cell><fo:block>3</fo:block></fo:table-cell>
  983. <fo:table-cell number-rows-spanned="4"
  984. border-width="0.5pt"
  985. border-style="solid"
  986. border-color="black"
  987. text-align="center" vertical-align="middle"
  988. background-color="#9BF2E9"><fo:block> 3 - 6</fo:block>
  989. </fo:table-cell>
  990. </fo:table-row>
  991. <fo:table-row>
  992. <fo:table-cell><fo:block>4</fo:block></fo:table-cell>
  993. <fo:table-cell number-rows-spanned="3"
  994. border-width="0.5pt"
  995. border-style="solid"
  996. border-color="black"
  997. text-align="center" vertical-align="middle"
  998. background-color="#9BF2E9"><fo:block> 4 - 6</fo:block>
  999. </fo:table-cell>
  1000. </fo:table-row>
  1001. <fo:table-row>
  1002. <fo:table-cell><fo:block>5</fo:block></fo:table-cell>
  1003. <fo:table-cell number-rows-spanned="2"
  1004. border-width="0.5pt"
  1005. border-style="solid"
  1006. border-color="black"
  1007. text-align="center" vertical-align="middle"
  1008. background-color="#9BF2E9"><fo:block> 5 - 6</fo:block>
  1009. </fo:table-cell>
  1010. </fo:table-row>
  1011. <fo:table-row>
  1012. <fo:table-cell><fo:block>6</fo:block></fo:table-cell>
  1013. <fo:table-cell number-rows-spanned="1"
  1014. border-width="0.5pt"
  1015. border-style="solid"
  1016. border-color="black"
  1017. text-align="center" vertical-align="middle"
  1018. background-color="#9BF2E9"><fo:block> 6 - 6</fo:block>
  1019. </fo:table-cell>
  1020. </fo:table-row>
  1021. </fo:table-body>
  1022. </fo:table>
  1023. <fo:block space-before.optimum="2cm">
  1024. Table 6: table with header and multiple body's
  1025. </fo:block>
  1026. <fo:table table-layout="fixed" width="100%">
  1027. <fo:table-column column-width="2cm"/>
  1028. <fo:table-column column-width="2cm"/>
  1029. <fo:table-column column-width="2cm"/>
  1030. <fo:table-column column-width="2cm"/>
  1031. <fo:table-column column-width="2cm"/>
  1032. <fo:table-column column-width="2cm"/>
  1033. <fo:table-header>
  1034. <fo:table-row>
  1035. <fo:table-cell>
  1036. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1037. border-width="1pt" border-color="black" background-color="#F7F24D">
  1038. Col.1
  1039. </fo:block>
  1040. </fo:table-cell>
  1041. <fo:table-cell>
  1042. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1043. border-width="1pt" border-color="black" background-color="#F7F24D">
  1044. Col.2
  1045. </fo:block>
  1046. </fo:table-cell>
  1047. <fo:table-cell>
  1048. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1049. border-width="1pt" border-color="black" background-color="#F7F24D">
  1050. Col.3
  1051. </fo:block>
  1052. </fo:table-cell>
  1053. <fo:table-cell>
  1054. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1055. border-width="1pt" border-color="black" background-color="#F7F24D">
  1056. Col.4
  1057. </fo:block>
  1058. </fo:table-cell>
  1059. <fo:table-cell>
  1060. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1061. border-width="1pt" border-color="black" background-color="#F7F24D">
  1062. Col.5
  1063. </fo:block>
  1064. </fo:table-cell>
  1065. <fo:table-cell>
  1066. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1067. border-width="1pt" border-color="black" background-color="#F7F24D">
  1068. Col.6
  1069. </fo:block>
  1070. </fo:table-cell>
  1071. </fo:table-row>
  1072. </fo:table-header>
  1073. <fo:table-body space-after.optimum="10pt">
  1074. <fo:table-row>
  1075. <fo:table-cell>
  1076. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1077. 1
  1078. </fo:block>
  1079. </fo:table-cell>
  1080. <fo:table-cell>
  1081. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1082. 2
  1083. </fo:block>
  1084. </fo:table-cell>
  1085. <fo:table-cell>
  1086. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1087. 3
  1088. </fo:block>
  1089. </fo:table-cell>
  1090. <fo:table-cell>
  1091. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1092. 4
  1093. </fo:block>
  1094. </fo:table-cell>
  1095. <fo:table-cell>
  1096. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1097. 5
  1098. </fo:block>
  1099. </fo:table-cell>
  1100. <fo:table-cell>
  1101. <fo:block text-align="center" vertical-align="middle">
  1102. 6
  1103. </fo:block>
  1104. </fo:table-cell>
  1105. </fo:table-row>
  1106. <fo:table-row>
  1107. <fo:table-cell>
  1108. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1109. 1
  1110. </fo:block>
  1111. </fo:table-cell>
  1112. <fo:table-cell>
  1113. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1114. 2
  1115. </fo:block>
  1116. </fo:table-cell>
  1117. <fo:table-cell>
  1118. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1119. 3
  1120. </fo:block>
  1121. </fo:table-cell>
  1122. <fo:table-cell>
  1123. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1124. 4
  1125. </fo:block>
  1126. </fo:table-cell>
  1127. <fo:table-cell>
  1128. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1129. 5
  1130. </fo:block>
  1131. </fo:table-cell>
  1132. <fo:table-cell>
  1133. <fo:block text-align="center" vertical-align="middle">
  1134. 6
  1135. </fo:block>
  1136. </fo:table-cell>
  1137. </fo:table-row>
  1138. </fo:table-body>
  1139. <fo:table-body>
  1140. <fo:table-row>
  1141. <fo:table-cell>
  1142. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1143. 1
  1144. </fo:block>
  1145. </fo:table-cell>
  1146. <fo:table-cell>
  1147. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1148. 2
  1149. </fo:block>
  1150. </fo:table-cell>
  1151. <fo:table-cell>
  1152. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1153. 3
  1154. </fo:block>
  1155. </fo:table-cell>
  1156. <fo:table-cell>
  1157. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1158. 4
  1159. </fo:block>
  1160. </fo:table-cell>
  1161. <fo:table-cell>
  1162. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1163. 5
  1164. </fo:block>
  1165. </fo:table-cell>
  1166. <fo:table-cell>
  1167. <fo:block text-align="center" vertical-align="middle">
  1168. 6
  1169. </fo:block>
  1170. </fo:table-cell>
  1171. </fo:table-row>
  1172. <fo:table-row>
  1173. <fo:table-cell>
  1174. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1175. 1
  1176. </fo:block>
  1177. </fo:table-cell>
  1178. <fo:table-cell>
  1179. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1180. 2
  1181. </fo:block>
  1182. </fo:table-cell>
  1183. <fo:table-cell>
  1184. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1185. 3
  1186. </fo:block>
  1187. </fo:table-cell>
  1188. <fo:table-cell>
  1189. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1190. 4
  1191. </fo:block>
  1192. </fo:table-cell>
  1193. <fo:table-cell>
  1194. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1195. 5
  1196. </fo:block>
  1197. </fo:table-cell>
  1198. <fo:table-cell>
  1199. <fo:block text-align="center" vertical-align="middle">
  1200. 6
  1201. </fo:block>
  1202. </fo:table-cell>
  1203. </fo:table-row>
  1204. </fo:table-body>
  1205. </fo:table>
  1206. <fo:block space-before.optimum="2cm">
  1207. Table 6: table with footer and multiple body's
  1208. </fo:block>
  1209. <fo:table table-layout="fixed" width="100%">
  1210. <fo:table-column column-width="2cm"/>
  1211. <fo:table-column column-width="2cm"/>
  1212. <fo:table-column column-width="2cm"/>
  1213. <fo:table-column column-width="2cm"/>
  1214. <fo:table-column column-width="2cm"/>
  1215. <fo:table-column column-width="2cm"/>
  1216. <fo:table-footer>
  1217. <fo:table-row>
  1218. <fo:table-cell>
  1219. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1220. border-width="1pt" border-color="black" background-color="#F7F24D">
  1221. Col.1
  1222. </fo:block>
  1223. </fo:table-cell>
  1224. <fo:table-cell>
  1225. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1226. border-width="1pt" border-color="black" background-color="#F7F24D">
  1227. Col.2
  1228. </fo:block>
  1229. </fo:table-cell>
  1230. <fo:table-cell>
  1231. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1232. border-width="1pt" border-color="black" background-color="#F7F24D">
  1233. Col.3
  1234. </fo:block>
  1235. </fo:table-cell>
  1236. <fo:table-cell>
  1237. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1238. border-width="1pt" border-color="black" background-color="#F7F24D">
  1239. Col.4
  1240. </fo:block>
  1241. </fo:table-cell>
  1242. <fo:table-cell>
  1243. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1244. border-width="1pt" border-color="black" background-color="#F7F24D">
  1245. Col.5
  1246. </fo:block>
  1247. </fo:table-cell>
  1248. <fo:table-cell>
  1249. <fo:block font-weight="bold" text-align="center" vertical-align="middle"
  1250. border-width="1pt" border-color="black" background-color="#F7F24D">
  1251. Col.6
  1252. </fo:block>
  1253. </fo:table-cell>
  1254. </fo:table-row>
  1255. </fo:table-footer>
  1256. <fo:table-body space-after.optimum="10pt">
  1257. <fo:table-row>
  1258. <fo:table-cell>
  1259. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1260. 1
  1261. </fo:block>
  1262. </fo:table-cell>
  1263. <fo:table-cell>
  1264. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1265. 2
  1266. </fo:block>
  1267. </fo:table-cell>
  1268. <fo:table-cell>
  1269. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1270. 3
  1271. </fo:block>
  1272. </fo:table-cell>
  1273. <fo:table-cell>
  1274. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1275. 4
  1276. </fo:block>
  1277. </fo:table-cell>
  1278. <fo:table-cell>
  1279. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1280. 5
  1281. </fo:block>
  1282. </fo:table-cell>
  1283. <fo:table-cell>
  1284. <fo:block text-align="center" vertical-align="middle">
  1285. 6
  1286. </fo:block>
  1287. </fo:table-cell>
  1288. </fo:table-row>
  1289. <fo:table-row>
  1290. <fo:table-cell>
  1291. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1292. 1
  1293. </fo:block>
  1294. </fo:table-cell>
  1295. <fo:table-cell>
  1296. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1297. 2
  1298. </fo:block>
  1299. </fo:table-cell>
  1300. <fo:table-cell>
  1301. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1302. 3
  1303. </fo:block>
  1304. </fo:table-cell>
  1305. <fo:table-cell>
  1306. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1307. 4
  1308. </fo:block>
  1309. </fo:table-cell>
  1310. <fo:table-cell>
  1311. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1312. 5
  1313. </fo:block>
  1314. </fo:table-cell>
  1315. <fo:table-cell>
  1316. <fo:block text-align="center" vertical-align="middle">
  1317. 6
  1318. </fo:block>
  1319. </fo:table-cell>
  1320. </fo:table-row>
  1321. </fo:table-body>
  1322. <fo:table-body>
  1323. <fo:table-row>
  1324. <fo:table-cell>
  1325. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1326. 1
  1327. </fo:block>
  1328. </fo:table-cell>
  1329. <fo:table-cell>
  1330. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1331. 2
  1332. </fo:block>
  1333. </fo:table-cell>
  1334. <fo:table-cell>
  1335. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1336. 3
  1337. </fo:block>
  1338. </fo:table-cell>
  1339. <fo:table-cell>
  1340. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1341. 4
  1342. </fo:block>
  1343. </fo:table-cell>
  1344. <fo:table-cell>
  1345. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1346. 5
  1347. </fo:block>
  1348. </fo:table-cell>
  1349. <fo:table-cell>
  1350. <fo:block text-align="center" vertical-align="middle">
  1351. 6
  1352. </fo:block>
  1353. </fo:table-cell>
  1354. </fo:table-row>
  1355. <fo:table-row>
  1356. <fo:table-cell>
  1357. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1358. 1
  1359. </fo:block>
  1360. </fo:table-cell>
  1361. <fo:table-cell>
  1362. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1363. 2
  1364. </fo:block>
  1365. </fo:table-cell>
  1366. <fo:table-cell>
  1367. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1368. 3
  1369. </fo:block>
  1370. </fo:table-cell>
  1371. <fo:table-cell>
  1372. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1373. 4
  1374. </fo:block>
  1375. </fo:table-cell>
  1376. <fo:table-cell>
  1377. <fo:block border-right-width="0.5pt" text-align="center" vertical-align="middle">
  1378. 5
  1379. </fo:block>
  1380. </fo:table-cell>
  1381. <fo:table-cell>
  1382. <fo:block text-align="center" vertical-align="middle">
  1383. 6
  1384. </fo:block>
  1385. </fo:table-cell>
  1386. </fo:table-row>
  1387. </fo:table-body>
  1388. </fo:table>
  1389. </fo:flow>
  1390. </fo:page-sequence>
  1391. </fo:root>