Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

table-footers.fo 9.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" standalone="no"?>
  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"
  5. page-height="440pt" page-width="420pt" margin="10pt">
  6. <fo:region-body display-align="center"/>
  7. </fo:simple-page-master>
  8. </fo:layout-master-set>
  9. <fo:page-sequence master-reference="page">
  10. <fo:flow flow-name="xsl-region-body" line-height="10pt" font-size="8pt">
  11. <fo:table width="100% - 6pt" table-layout="fixed"
  12. border-collapse="separate" border="2pt solid black" border-separation="2pt" padding="1pt"
  13. start-indent="3pt" end-indent="3pt" space-after="2pt">
  14. <fo:table-header start-indent="0" end-indent="0">
  15. <fo:table-cell background-color="#E0E0E0" padding="2pt">
  16. <fo:block>Start Outer Header</fo:block>
  17. <fo:table width="100% - 6pt" table-layout="fixed"
  18. border="2pt solid red" padding="1pt"
  19. start-indent="3pt" end-indent="3pt" space-after="2pt">
  20. <fo:table-header start-indent="0" end-indent="0">
  21. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  22. <fo:block>Inner Header 1.1</fo:block>
  23. </fo:table-cell>
  24. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  25. <fo:block>Inner Header 1.2</fo:block>
  26. </fo:table-cell>
  27. </fo:table-header>
  28. <fo:table-footer start-indent="0" end-indent="0">
  29. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  30. <fo:block>Inner Footer 1.1</fo:block>
  31. </fo:table-cell>
  32. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  33. <fo:block>Inner Footer 1.2</fo:block>
  34. </fo:table-cell>
  35. </fo:table-footer>
  36. <fo:table-body start-indent="0" end-indent="0">
  37. <fo:table-row>
  38. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  39. <fo:block>Inner Body 1.1</fo:block>
  40. </fo:table-cell>
  41. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  42. <fo:block>Inner Body 1.2</fo:block>
  43. </fo:table-cell>
  44. </fo:table-row>
  45. <fo:table-row>
  46. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  47. <fo:block>Inner Body 2.1</fo:block>
  48. </fo:table-cell>
  49. <fo:table-cell background-color="#FFB0B0" padding="2pt">
  50. <fo:block>Inner Body 2.2</fo:block>
  51. </fo:table-cell>
  52. </fo:table-row>
  53. </fo:table-body>
  54. </fo:table>
  55. <fo:block>End Outer Header</fo:block>
  56. </fo:table-cell>
  57. </fo:table-header>
  58. <fo:table-footer start-indent="0" end-indent="0">
  59. <fo:table-cell background-color="#E0E0E0" padding="2pt">
  60. <fo:block>Start Outer Footer</fo:block>
  61. <fo:table width="100% - 6pt" table-layout="fixed"
  62. border="2pt solid green" padding="1pt"
  63. start-indent="3pt" end-indent="3pt" space-after="2pt">
  64. <fo:table-header start-indent="0" end-indent="0">
  65. <fo:table-cell background-color="lightgreen" padding="2pt">
  66. <fo:block>Inner Header 1.1</fo:block>
  67. </fo:table-cell>
  68. <fo:table-cell background-color="lightgreen" padding="2pt">
  69. <fo:block>Inner Header 1.2</fo:block>
  70. </fo:table-cell>
  71. </fo:table-header>
  72. <fo:table-footer start-indent="0" end-indent="0">
  73. <fo:table-cell background-color="lightgreen" padding="2pt">
  74. <fo:block>Start Inner Footer 1.1</fo:block>
  75. <fo:table width="100% - 6pt" table-layout="fixed"
  76. border="2pt solid yellow" padding="1pt"
  77. start-indent="3pt" end-indent="3pt" space-after="2pt">
  78. <fo:table-header start-indent="0" end-indent="0">
  79. <fo:table-cell background-color="yellow" padding="2pt">
  80. <fo:block>Inner Inner Header 1.1</fo:block>
  81. </fo:table-cell>
  82. <fo:table-cell background-color="yellow" padding="2pt">
  83. <fo:block>Inner Inner Header 1.2</fo:block>
  84. </fo:table-cell>
  85. </fo:table-header>
  86. <fo:table-footer start-indent="0" end-indent="0">
  87. <fo:table-cell background-color="yellow" padding="2pt">
  88. <fo:block>Inner Inner Footer 1.1</fo:block>
  89. </fo:table-cell>
  90. <fo:table-cell background-color="yellow" padding="2pt">
  91. <fo:block>Inner Inner Footer 1.2</fo:block>
  92. </fo:table-cell>
  93. </fo:table-footer>
  94. <fo:table-body start-indent="0" end-indent="0">
  95. <fo:table-row>
  96. <fo:table-cell background-color="yellow" padding="2pt">
  97. <fo:block>Inner Inner Body 1.1</fo:block>
  98. </fo:table-cell>
  99. <fo:table-cell background-color="yellow" padding="2pt">
  100. <fo:block>Inner Inner Body 1.2</fo:block>
  101. </fo:table-cell>
  102. </fo:table-row>
  103. <fo:table-row>
  104. <fo:table-cell background-color="yellow" padding="2pt">
  105. <fo:block>Inner Inner Body 2.1</fo:block>
  106. </fo:table-cell>
  107. <fo:table-cell background-color="yellow" padding="2pt">
  108. <fo:block>Inner Inner Body 2.2</fo:block>
  109. </fo:table-cell>
  110. </fo:table-row>
  111. </fo:table-body>
  112. </fo:table>
  113. <fo:block>End Inner Footer 1.1</fo:block>
  114. </fo:table-cell>
  115. <fo:table-cell background-color="lightgreen" padding="2pt">
  116. <fo:block>Inner Footer 1.2</fo:block>
  117. </fo:table-cell>
  118. </fo:table-footer>
  119. <fo:table-body start-indent="0" end-indent="0">
  120. <fo:table-row>
  121. <fo:table-cell background-color="lightgreen" padding="2pt">
  122. <fo:block>Inner Body 1.1</fo:block>
  123. </fo:table-cell>
  124. <fo:table-cell background-color="lightgreen" padding="2pt">
  125. <fo:block>Inner Body 1.2</fo:block>
  126. </fo:table-cell>
  127. </fo:table-row>
  128. <fo:table-row>
  129. <fo:table-cell background-color="lightgreen" padding="2pt">
  130. <fo:block>Inner Body 2.1</fo:block>
  131. </fo:table-cell>
  132. <fo:table-cell background-color="lightgreen" padding="2pt">
  133. <fo:block>Inner Body 2.2</fo:block>
  134. </fo:table-cell>
  135. </fo:table-row>
  136. </fo:table-body>
  137. </fo:table>
  138. <fo:block>End Outer Footer</fo:block>
  139. </fo:table-cell>
  140. </fo:table-footer>
  141. <fo:table-body start-indent="0" end-indent="0">
  142. <fo:table-row>
  143. <fo:table-cell background-color="#E0E0E0" padding="2pt">
  144. <fo:block>Outer Body Cell 1</fo:block>
  145. </fo:table-cell>
  146. </fo:table-row>
  147. <fo:table-row>
  148. <fo:table-cell background-color="#E0E0E0" padding="2pt">
  149. <fo:block>Start Outer Body Cell 2</fo:block>
  150. <fo:table width="100% - 6pt" table-layout="fixed"
  151. border="2pt solid blue" padding="1pt"
  152. start-indent="3pt" end-indent="3pt" space-after="2pt">
  153. <fo:table-header start-indent="0" end-indent="0">
  154. <fo:table-cell background-color="lightblue" padding="2pt">
  155. <fo:block>Inner Footer 1.1</fo:block>
  156. </fo:table-cell>
  157. <fo:table-cell background-color="lightblue" padding="2pt">
  158. <fo:block>Inner Footer 1.2</fo:block>
  159. </fo:table-cell>
  160. </fo:table-header>
  161. <fo:table-footer start-indent="0" end-indent="0">
  162. <fo:table-cell background-color="lightblue" padding="2pt">
  163. <fo:block>Inner Header 1.1</fo:block>
  164. </fo:table-cell>
  165. <fo:table-cell background-color="lightblue" padding="2pt">
  166. <fo:block>Inner Header 1.2</fo:block>
  167. </fo:table-cell>
  168. </fo:table-footer>
  169. <fo:table-body start-indent="0" end-indent="0">
  170. <fo:table-row>
  171. <fo:table-cell background-color="lightblue" padding="2pt">
  172. <fo:block>Inner Body 1.1</fo:block>
  173. </fo:table-cell>
  174. <fo:table-cell background-color="lightblue" padding="2pt">
  175. <fo:block>Inner Body 1.2</fo:block>
  176. </fo:table-cell>
  177. </fo:table-row>
  178. <fo:table-row>
  179. <fo:table-cell background-color="lightblue" padding="2pt">
  180. <fo:block>Inner Body 2.1</fo:block>
  181. </fo:table-cell>
  182. <fo:table-cell background-color="lightblue" padding="2pt">
  183. <fo:block>Inner Body 2.2</fo:block>
  184. </fo:table-cell>
  185. </fo:table-row>
  186. </fo:table-body>
  187. </fo:table>
  188. <fo:block>End Outer Body Cell 2</fo:block>
  189. </fo:table-cell>
  190. </fo:table-row>
  191. </fo:table-body>
  192. </fo:table>
  193. </fo:flow>
  194. </fo:page-sequence>
  195. </fo:root>