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 44KB

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