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.

simplecol3.fo 8.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
  3. <!-- defines page layout -->
  4. <fo:layout-master-set>
  5. <!-- layout for the first page -->
  6. <fo:simple-page-master master-name="only"
  7. page-height="11in"
  8. page-width="8.5in"
  9. margin-top="1in"
  10. margin-bottom="1in"
  11. margin-left="0.75in"
  12. margin-right="0.75in">
  13. <fo:region-body
  14. margin-top="1in" margin-bottom="1in"
  15. column-count="2" column-gap="0.25in"/>
  16. <fo:region-before extent="1in"/>
  17. <fo:region-after extent="1in"/>
  18. </fo:simple-page-master>
  19. </fo:layout-master-set>
  20. <!-- actual layout -->
  21. <fo:page-sequence master-reference="only">
  22. <fo:static-content flow-name="xsl-region-before">
  23. <fo:block font-size="16pt"
  24. font-family="sans-serif"
  25. line-height="normal"
  26. text-align="start"
  27. color="blue">Columns in FOP</fo:block>
  28. </fo:static-content>
  29. <fo:static-content flow-name="xsl-region-after">
  30. <fo:block font-size="10pt"
  31. font-family="sans-serif"
  32. line-height="12pt"
  33. space-before.optimum="6pt"
  34. text-align="end"
  35. color="blue">Page #</fo:block>
  36. </fo:static-content>
  37. <fo:flow flow-name="xsl-region-body">
  38. <!-- Block 0 -->
  39. <fo:block font-size="12pt"
  40. font-family="sans-serif"
  41. line-height="15pt"
  42. space-after.optimum="3pt"
  43. text-align="start"
  44. background-color="yellow"
  45. span="none">
  46. <fo:inline color="green">Block 0:</fo:inline>
  47. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  48. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  49. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  50. read normal.pdf.
  51. </fo:block>
  52. <!-- Block 1 -->
  53. <fo:block font-size="12pt"
  54. font-family="sans-serif"
  55. line-height="15pt"
  56. space-after.optimum="3pt"
  57. text-align="start"
  58. background-color="yellow"
  59. span="none">
  60. <fo:inline color="green">Block 1:</fo:inline>
  61. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  62. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  63. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  64. read normal.pdf.
  65. </fo:block>
  66. <!-- Block 2 -->
  67. <fo:block font-size="12pt"
  68. font-family="sans-serif"
  69. line-height="15pt"
  70. space-after.optimum="3pt"
  71. text-align="start"
  72. background-color="yellow"
  73. span="none">
  74. <fo:inline color="green">Block 2:</fo:inline>
  75. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  76. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  77. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  78. read normal.pdf.
  79. </fo:block>
  80. <!-- Block 3 -->
  81. <fo:block font-size="12pt"
  82. font-family="sans-serif"
  83. line-height="15pt"
  84. space-after.optimum="3pt"
  85. text-align="start"
  86. background-color="yellow"
  87. span="none">
  88. <fo:inline color="green">Block 3:</fo:inline>
  89. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  90. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  91. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  92. read normal.pdf.
  93. </fo:block>
  94. <!-- Block 4 -->
  95. <fo:block font-size="12pt"
  96. font-family="sans-serif"
  97. line-height="15pt"
  98. space-after.optimum="3pt"
  99. text-align="start"
  100. background-color="yellow"
  101. span="all">
  102. <fo:inline color="red">Block 4:</fo:inline>
  103. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  104. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  105. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  106. read normal.pdf.
  107. </fo:block>
  108. <!-- Block 5 -->
  109. <fo:block font-size="12pt"
  110. font-family="sans-serif"
  111. line-height="15pt"
  112. space-after.optimum="3pt"
  113. text-align="start"
  114. background-color="yellow"
  115. span="none">
  116. <fo:inline color="green">Block 5:</fo:inline>
  117. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  118. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  119. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  120. read normal.pdf.
  121. </fo:block>
  122. <!-- Block 6 -->
  123. <fo:block font-size="12pt"
  124. font-family="sans-serif"
  125. line-height="15pt"
  126. space-after.optimum="3pt"
  127. text-align="start"
  128. background-color="yellow"
  129. span="none">
  130. <fo:inline color="green">Block 6:</fo:inline>
  131. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  132. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  133. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  134. read normal.pdf.
  135. </fo:block>
  136. <!-- Block 7 -->
  137. <fo:block font-size="12pt"
  138. font-family="sans-serif"
  139. line-height="15pt"
  140. space-after.optimum="3pt"
  141. text-align="start"
  142. background-color="yellow"
  143. span="none">
  144. <fo:inline color="green">Block 7:</fo:inline>
  145. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  146. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  147. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  148. read normal.pdf.
  149. </fo:block>
  150. <!-- Block 8 -->
  151. <fo:block font-size="12pt"
  152. font-family="sans-serif"
  153. line-height="15pt"
  154. space-after.optimum="3pt"
  155. text-align="start"
  156. background-color="yellow"
  157. span="none">
  158. <fo:inline color="green">Block 8:</fo:inline>
  159. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  160. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  161. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  162. read normal.pdf.
  163. </fo:block>
  164. <!-- Block 9 -->
  165. <fo:block font-size="12pt"
  166. font-family="sans-serif"
  167. line-height="15pt"
  168. space-after.optimum="3pt"
  169. text-align="start"
  170. background-color="yellow"
  171. span="all">
  172. <fo:inline color="red">Block 9:</fo:inline>
  173. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  174. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  175. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  176. read normal.pdf.
  177. </fo:block>
  178. </fo:flow>
  179. </fo:page-sequence>
  180. </fo:root>