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.

table_row-col-span.fo 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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="page" page-height="320pt" page-width="420pt" margin="10pt">
  5. <fo:region-body display-align="center"/>
  6. </fo:simple-page-master>
  7. </fo:layout-master-set>
  8. <fo:page-sequence master-reference="page">
  9. <fo:flow flow-name="xsl-region-body">
  10. <fo:table table-layout="fixed" width="100%" border-collapse="separate"
  11. border-separation="4pt">
  12. <fo:table-body>
  13. <fo:table-row>
  14. <fo:table-cell number-columns-spanned="2" background-color="orange" padding-left="1pt">
  15. <fo:block>Cells 1.1 and 1.2.</fo:block>
  16. </fo:table-cell>
  17. <fo:table-cell>
  18. <fo:block>Cell 1.3.</fo:block>
  19. </fo:table-cell>
  20. <fo:table-cell>
  21. <fo:block>Cell 1.4.</fo:block>
  22. </fo:table-cell>
  23. </fo:table-row>
  24. <fo:table-row>
  25. <fo:table-cell>
  26. <fo:block>Cell 2.1.</fo:block>
  27. </fo:table-cell>
  28. <fo:table-cell number-columns-spanned="2" background-color="orange" padding-left="1pt">
  29. <fo:block>Cells 2.2 and 2.3.</fo:block>
  30. </fo:table-cell>
  31. <fo:table-cell>
  32. <fo:block>Cell 2.4.</fo:block>
  33. </fo:table-cell>
  34. </fo:table-row>
  35. <fo:table-row>
  36. <fo:table-cell>
  37. <fo:block>Cell 3.1.</fo:block>
  38. </fo:table-cell>
  39. <fo:table-cell>
  40. <fo:block>Cell 3.2.</fo:block>
  41. </fo:table-cell>
  42. <fo:table-cell number-columns-spanned="2" background-color="orange" padding-left="1pt">
  43. <fo:block>Cells 3.3 and 3.4.</fo:block>
  44. </fo:table-cell>
  45. </fo:table-row>
  46. <fo:table-row>
  47. <fo:table-cell number-columns-spanned="3" background-color="orange" padding-left="1pt">
  48. <fo:block>Cells 4.1, 4.2 and 4.3.</fo:block>
  49. </fo:table-cell>
  50. <fo:table-cell>
  51. <fo:block>Cell 4.4.</fo:block>
  52. </fo:table-cell>
  53. </fo:table-row>
  54. <fo:table-row>
  55. <fo:table-cell number-columns-spanned="4" background-color="orange" padding-left="1pt">
  56. <fo:block>Cells 5.1, 5.2, 5.3 and 5.4.</fo:block>
  57. </fo:table-cell>
  58. </fo:table-row>
  59. </fo:table-body>
  60. </fo:table>
  61. <fo:table table-layout="fixed" width="100%" space-before="40pt" border-collapse="separate"
  62. border-separation="4pt">
  63. <fo:table-body>
  64. <fo:table-row>
  65. <fo:table-cell number-rows-spanned="2" background-color="orange" padding-left="1pt">
  66. <fo:block>Cells 1.1</fo:block>
  67. <fo:block>and 2.1.</fo:block>
  68. </fo:table-cell>
  69. <fo:table-cell>
  70. <fo:block>Cell 1.2.</fo:block>
  71. </fo:table-cell>
  72. <fo:table-cell>
  73. <fo:block>Cell 1.3.</fo:block>
  74. </fo:table-cell>
  75. <fo:table-cell number-rows-spanned="4" background-color="orange" padding-left="1pt">
  76. <fo:block>Cells 1.4,</fo:block>
  77. <fo:block>2.4,</fo:block>
  78. <fo:block>3.4</fo:block>
  79. <fo:block>and 4.4.</fo:block>
  80. </fo:table-cell>
  81. </fo:table-row>
  82. <fo:table-row>
  83. <fo:table-cell number-rows-spanned="2" background-color="orange" padding-left="1pt">
  84. <fo:block>Cells 2.2</fo:block>
  85. <fo:block>and 3.2.</fo:block>
  86. </fo:table-cell>
  87. <fo:table-cell number-rows-spanned="3" background-color="orange" padding-left="1pt">
  88. <fo:block>Cells 2.3,</fo:block>
  89. <fo:block>3.3</fo:block>
  90. <fo:block>and 4.3.</fo:block>
  91. </fo:table-cell>
  92. </fo:table-row>
  93. <fo:table-row>
  94. <fo:table-cell>
  95. <fo:block>Cell 3.1.</fo:block>
  96. </fo:table-cell>
  97. </fo:table-row>
  98. <fo:table-row>
  99. <fo:table-cell>
  100. <fo:block>Cell 4.1.</fo:block>
  101. </fo:table-cell>
  102. <fo:table-cell>
  103. <fo:block>Cell 4.2.</fo:block>
  104. </fo:table-cell>
  105. </fo:table-row>
  106. </fo:table-body>
  107. </fo:table>
  108. <fo:table table-layout="fixed" width="100%" space-before="40pt" border-collapse="separate"
  109. border-separation="4pt">
  110. <fo:table-body>
  111. <fo:table-row>
  112. <fo:table-cell number-rows-spanned="2" number-columns-spanned="3"
  113. background-color="orange" padding-left="1pt">
  114. <fo:block>Cells 1.1, 1.2, 1.3</fo:block>
  115. <fo:block>and 2.1, 2.2, 2.3.</fo:block>
  116. </fo:table-cell>
  117. <fo:table-cell>
  118. <fo:block>Cell 1.4.</fo:block>
  119. </fo:table-cell>
  120. </fo:table-row>
  121. <fo:table-row>
  122. <fo:table-cell>
  123. <fo:block>Cell 2.4.</fo:block>
  124. </fo:table-cell>
  125. </fo:table-row>
  126. <fo:table-row>
  127. <fo:table-cell>
  128. <fo:block>Cell 3.1.</fo:block>
  129. </fo:table-cell>
  130. <fo:table-cell>
  131. <fo:block>Cell 3.2.</fo:block>
  132. </fo:table-cell>
  133. <fo:table-cell>
  134. <fo:block>Cell 3.3.</fo:block>
  135. </fo:table-cell>
  136. <fo:table-cell>
  137. <fo:block>Cell 3.4.</fo:block>
  138. </fo:table-cell>
  139. </fo:table-row>
  140. </fo:table-body>
  141. </fo:table>
  142. </fo:flow>
  143. </fo:page-sequence>
  144. </fo:root>