Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

simplecol2.fo 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
  51. Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
  52. number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
  53. specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
  54. intended for high-quality, precision layout-driven formatting.
  55. </fo:block>
  56. <!-- Block 1 -->
  57. <fo:block font-size="12pt"
  58. font-family="sans-serif"
  59. line-height="15pt"
  60. space-after.optimum="3pt"
  61. text-align="start"
  62. background-color="yellow"
  63. span="none">
  64. <fo:inline color="green" >Block 1:</fo:inline>
  65. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  66. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  67. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  68. read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
  69. Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
  70. number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
  71. specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
  72. intended for high-quality, precision layout-driven formatting.
  73. </fo:block>
  74. <!-- Block 2 -->
  75. <fo:block font-size="12pt"
  76. font-family="sans-serif"
  77. line-height="15pt"
  78. space-after.optimum="3pt"
  79. text-align="start"
  80. background-color="yellow"
  81. span="none">
  82. <fo:inline color="green" >Block 2:</fo:inline>
  83. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  84. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  85. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  86. read normal.pdf.
  87. </fo:block>
  88. <!-- Block 3 -->
  89. <fo:block font-size="12pt"
  90. font-family="sans-serif"
  91. line-height="15pt"
  92. space-after.optimum="3pt"
  93. text-align="start"
  94. background-color="yellow"
  95. span="none">
  96. <fo:inline color="green" >Block 3:</fo:inline>
  97. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  98. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  99. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  100. read normal.pdf.
  101. </fo:block>
  102. <!-- Block 4 -->
  103. <fo:block font-size="12pt"
  104. font-family="sans-serif"
  105. line-height="15pt"
  106. space-after.optimum="3pt"
  107. text-align="start"
  108. background-color="yellow"
  109. span="all">
  110. <fo:inline color="red" >Block 4:</fo:inline>
  111. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  112. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  113. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  114. read normal.pdf.
  115. </fo:block>
  116. <!-- Block 5 -->
  117. <fo:block font-size="12pt"
  118. font-family="sans-serif"
  119. line-height="15pt"
  120. space-after.optimum="3pt"
  121. text-align="start"
  122. background-color="yellow"
  123. span="none">
  124. <fo:inline color="green" >Block 5:</fo:inline>
  125. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  126. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  127. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  128. read normal.pdf.
  129. </fo:block>
  130. <!-- Block 6 -->
  131. <fo:block font-size="12pt"
  132. font-family="sans-serif"
  133. line-height="15pt"
  134. space-after.optimum="3pt"
  135. text-align="start"
  136. background-color="yellow"
  137. span="none">
  138. <fo:inline color="green" >Block 6:</fo:inline>
  139. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  140. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  141. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  142. read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
  143. Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
  144. number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
  145. specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
  146. intended for high-quality, precision layout-driven formatting.
  147. </fo:block>
  148. <!-- Block 7 -->
  149. <fo:block font-size="12pt"
  150. font-family="sans-serif"
  151. line-height="15pt"
  152. space-after.optimum="3pt"
  153. text-align="start"
  154. background-color="yellow"
  155. span="all">
  156. <fo:inline color="red" >Block 7:</fo:inline>
  157. The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
  158. enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
  159. has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information
  160. read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
  161. Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
  162. number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
  163. specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
  164. intended for high-quality, precision layout-driven formatting.
  165. </fo:block>
  166. </fo:flow>
  167. </fo:page-sequence>
  168. </fo:root>