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.

TableRowIterator_no-row_simple.fo 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. <?xml version="1.0" standalone="no"?>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <!-- $Id$ -->
  17. <!--
  18. WARNING: this file was semi-automatically generated from TableRowIterator_simple.fo and
  19. contains the very same tables using starts-row/ends-row instead of fo:table-row objects.
  20. Please modify TableRowIterator_simple.fo instead.
  21. -->
  22. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  23. <fo:layout-master-set>
  24. <fo:simple-page-master master-name="page" page-height="20cm" page-width="15cm"
  25. margin-top="1cm" margin-bottom="1cm" margin-left="1cm" margin-right="1cm">
  26. <fo:region-body/>
  27. </fo:simple-page-master>
  28. </fo:layout-master-set>
  29. <fo:page-sequence master-reference="page" font-family="serif" font-size="14pt">
  30. <fo:flow flow-name="xsl-region-body">
  31. <!-- Table 1: no header, no footer, one body (1 row) -->
  32. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  33. border-collapse="separate" border="1pt solid black">
  34. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  35. <fo:table-body>
  36. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  37. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  38. </fo:table-body>
  39. </fo:table>
  40. <!-- Table 2: no header, no footer, one body (2 rows) -->
  41. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  42. border-collapse="separate" border="1pt solid black">
  43. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  44. <fo:table-body>
  45. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  46. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  47. <fo:table-cell starts-row="true"><fo:block>Cell 3</fo:block></fo:table-cell>
  48. <fo:table-cell ends-row="true"><fo:block>Cell 4</fo:block></fo:table-cell>
  49. </fo:table-body>
  50. </fo:table>
  51. <!-- Table 3: no header, no footer, two bodies (1 row, 1 row) -->
  52. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  53. border-collapse="separate" border="1pt solid black">
  54. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  55. <fo:table-body>
  56. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  57. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  58. </fo:table-body>
  59. <fo:table-body>
  60. <fo:table-cell starts-row="true"><fo:block>Cell 3</fo:block></fo:table-cell>
  61. <fo:table-cell ends-row="true"><fo:block>Cell 4</fo:block></fo:table-cell>
  62. </fo:table-body>
  63. </fo:table>
  64. <!-- Table 4: no header, no footer, two bodies (2 rows, 3 rows) -->
  65. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  66. border-collapse="separate" border="1pt solid black">
  67. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  68. <fo:table-body>
  69. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  70. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  71. <fo:table-cell starts-row="true"><fo:block>Cell 3</fo:block></fo:table-cell>
  72. <fo:table-cell ends-row="true"><fo:block>Cell 4</fo:block></fo:table-cell>
  73. </fo:table-body>
  74. <fo:table-body>
  75. <fo:table-cell starts-row="true"><fo:block>Cell 5</fo:block></fo:table-cell>
  76. <fo:table-cell ends-row="true"><fo:block>Cell 6</fo:block></fo:table-cell>
  77. <fo:table-cell starts-row="true"><fo:block>Cell 7</fo:block></fo:table-cell>
  78. <fo:table-cell ends-row="true"><fo:block>Cell 8</fo:block></fo:table-cell>
  79. <fo:table-cell starts-row="true"><fo:block>Cell 9</fo:block></fo:table-cell>
  80. <fo:table-cell ends-row="true"><fo:block>Cell 10</fo:block></fo:table-cell>
  81. </fo:table-body>
  82. </fo:table>
  83. <!-- Table 5: one header (1 row), no footer, one body (1 row) -->
  84. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  85. border-collapse="separate" border="1pt solid black">
  86. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  87. <fo:table-header>
  88. <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>
  89. <fo:table-cell ends-row="true"><fo:block>Header 2</fo:block></fo:table-cell>
  90. </fo:table-header>
  91. <fo:table-body>
  92. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  93. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  94. </fo:table-body>
  95. </fo:table>
  96. <!-- Table 6: no header, one footer (1 row), one body (1 row) -->
  97. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  98. border-collapse="separate" border="1pt solid black">
  99. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  100. <fo:table-footer>
  101. <fo:table-cell starts-row="true"><fo:block>Footer 1</fo:block></fo:table-cell>
  102. <fo:table-cell ends-row="true"><fo:block>Footer 2</fo:block></fo:table-cell>
  103. </fo:table-footer>
  104. <fo:table-body>
  105. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  106. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  107. </fo:table-body>
  108. </fo:table>
  109. <!-- Table 7: one header (1 row), one footer (1 row), one body (1 row) -->
  110. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  111. border-collapse="separate" border="1pt solid black">
  112. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  113. <fo:table-header>
  114. <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>
  115. <fo:table-cell ends-row="true"><fo:block>Header 2</fo:block></fo:table-cell>
  116. </fo:table-header>
  117. <fo:table-footer>
  118. <fo:table-cell starts-row="true"><fo:block>Footer 1</fo:block></fo:table-cell>
  119. <fo:table-cell ends-row="true"><fo:block>Footer 2</fo:block></fo:table-cell>
  120. </fo:table-footer>
  121. <fo:table-body>
  122. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  123. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  124. </fo:table-body>
  125. </fo:table>
  126. <!-- Table 8: one header (2 rows), one footer (3 rows), one body (2 rows) -->
  127. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  128. border-collapse="separate" border="1pt solid black">
  129. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  130. <fo:table-header>
  131. <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>
  132. <fo:table-cell ends-row="true"><fo:block>Header 2</fo:block></fo:table-cell>
  133. <fo:table-cell starts-row="true"><fo:block>Header 3</fo:block></fo:table-cell>
  134. <fo:table-cell ends-row="true"><fo:block>Header 4</fo:block></fo:table-cell>
  135. </fo:table-header>
  136. <fo:table-footer>
  137. <fo:table-cell starts-row="true"><fo:block>Footer 1</fo:block></fo:table-cell>
  138. <fo:table-cell ends-row="true"><fo:block>Footer 2</fo:block></fo:table-cell>
  139. <fo:table-cell starts-row="true"><fo:block>Footer 4</fo:block></fo:table-cell>
  140. <fo:table-cell ends-row="true"><fo:block>Footer 5</fo:block></fo:table-cell>
  141. <fo:table-cell starts-row="true"><fo:block>Footer 5</fo:block></fo:table-cell>
  142. <fo:table-cell ends-row="true"><fo:block>Footer 6</fo:block></fo:table-cell>
  143. </fo:table-footer>
  144. <fo:table-body>
  145. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  146. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  147. <fo:table-cell starts-row="true"><fo:block>Cell 3</fo:block></fo:table-cell>
  148. <fo:table-cell ends-row="true"><fo:block>Cell 4</fo:block></fo:table-cell>
  149. </fo:table-body>
  150. </fo:table>
  151. <!-- Table 9: one header (3 rows), one footer (2 rows), three bodies (2 rows, 1 row, 3 rows) -->
  152. <fo:table width="10cm" space-before="12pt" table-layout="fixed"
  153. border-collapse="separate" border="1pt solid black">
  154. <fo:table-column number-columns-repeated="2" column-width="proportional-column-width(1)"/>
  155. <fo:table-header>
  156. <fo:table-cell starts-row="true"><fo:block>Header 1</fo:block></fo:table-cell>
  157. <fo:table-cell ends-row="true"><fo:block>Header 2</fo:block></fo:table-cell>
  158. <fo:table-cell starts-row="true"><fo:block>Header 3</fo:block></fo:table-cell>
  159. <fo:table-cell ends-row="true"><fo:block>Header 4</fo:block></fo:table-cell>
  160. <fo:table-cell starts-row="true"><fo:block>Header 5</fo:block></fo:table-cell>
  161. <fo:table-cell ends-row="true"><fo:block>Header 6</fo:block></fo:table-cell>
  162. </fo:table-header>
  163. <fo:table-footer>
  164. <fo:table-cell starts-row="true"><fo:block>Footer 1</fo:block></fo:table-cell>
  165. <fo:table-cell ends-row="true"><fo:block>Footer 2</fo:block></fo:table-cell>
  166. <fo:table-cell starts-row="true"><fo:block>Footer 4</fo:block></fo:table-cell>
  167. <fo:table-cell ends-row="true"><fo:block>Footer 5</fo:block></fo:table-cell>
  168. </fo:table-footer>
  169. <fo:table-body>
  170. <fo:table-cell starts-row="true"><fo:block>Cell 1</fo:block></fo:table-cell>
  171. <fo:table-cell ends-row="true"><fo:block>Cell 2</fo:block></fo:table-cell>
  172. <fo:table-cell starts-row="true"><fo:block>Cell 3</fo:block></fo:table-cell>
  173. <fo:table-cell ends-row="true"><fo:block>Cell 4</fo:block></fo:table-cell>
  174. </fo:table-body>
  175. <fo:table-body>
  176. <fo:table-cell starts-row="true"><fo:block>Cell 5</fo:block></fo:table-cell>
  177. <fo:table-cell ends-row="true"><fo:block>Cell 6</fo:block></fo:table-cell>
  178. </fo:table-body>
  179. <fo:table-body>
  180. <fo:table-cell starts-row="true"><fo:block>Cell 7</fo:block></fo:table-cell>
  181. <fo:table-cell ends-row="true"><fo:block>Cell 8</fo:block></fo:table-cell>
  182. <fo:table-cell starts-row="true"><fo:block>Cell 9</fo:block></fo:table-cell>
  183. <fo:table-cell ends-row="true"><fo:block>Cell 10</fo:block></fo:table-cell>
  184. <fo:table-cell starts-row="true"><fo:block>Cell 10</fo:block></fo:table-cell>
  185. <fo:table-cell ends-row="true"><fo:block>Cell 11</fo:block></fo:table-cell>
  186. </fo:table-body>
  187. </fo:table>
  188. </fo:flow>
  189. </fo:page-sequence>
  190. </fo:root>