]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
New column support examples
authorarved <arved@unknown>
Mon, 18 Dec 2000 03:57:04 +0000 (03:57 +0000)
committerarved <arved@unknown>
Mon, 18 Dec 2000 03:57:04 +0000 (03:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193901 13f79535-47bb-0310-9956-ffa450edef68

docs/examples/region_body/simplecol.fo [new file with mode: 0644]
docs/examples/region_body/simplecol2.fo [new file with mode: 0644]
docs/examples/region_body/simplecol3.fo [new file with mode: 0644]
docs/examples/region_body/simplecol4.fo [new file with mode: 0644]

diff --git a/docs/examples/region_body/simplecol.fo b/docs/examples/region_body/simplecol.fo
new file mode 100644 (file)
index 0000000..9536b43
--- /dev/null
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+  <!-- defines page layout -->
+  <fo:layout-master-set>
+
+    <!-- layout for the first page -->
+    <fo:simple-page-master master-name="only"
+                  page-height="11in" 
+                  page-width="8.5in"
+                  margin-top="1in" 
+                  margin-bottom="1in" 
+                  margin-left="0.75in" 
+                  margin-right="0.75in">
+      <fo:region-body
+               margin-top="1in" margin-bottom="1in"
+               column-count="2" column-gap="0.25in"/>
+      <fo:region-before extent="1in"/>
+      <fo:region-after extent="1in"/>
+    </fo:simple-page-master>
+
+  </fo:layout-master-set>
+
+  <!-- actual layout -->
+  <fo:page-sequence master-name="only">
+    <fo:static-content flow-name="xsl-region-before">
+      <fo:block font-size="16pt" 
+                font-family="sans-serif" 
+                line-height="normal"
+                text-align="start"
+                               color="blue">Columns in FOP</fo:block>
+       </fo:static-content>
+       
+    <fo:static-content flow-name="xsl-region-after">
+      <fo:block font-size="10pt" 
+                font-family="sans-serif" 
+                line-height="12pt"
+                               space-before.optimum="6pt"
+                text-align="end"
+                               color="blue">Page #</fo:block>
+       </fo:static-content>
+       
+    <fo:flow flow-name="xsl-region-body">
+      <!-- Block 0 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 0:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 1 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 1:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 2 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 2:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 3 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 3:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 4 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red">Block 4:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 5 -->
+               <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 5:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 6 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 6:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+         </fo:flow>
+  </fo:page-sequence>
+</fo:root>
diff --git a/docs/examples/region_body/simplecol2.fo b/docs/examples/region_body/simplecol2.fo
new file mode 100644 (file)
index 0000000..08e2e1b
--- /dev/null
@@ -0,0 +1,183 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" foid="0">
+
+  <!-- defines page layout -->
+  <fo:layout-master-set foid="1">
+
+    <!-- layout for the first page -->
+    <fo:simple-page-master master-name="only" foid="2"
+                  page-height="11in" 
+                  page-width="8.5in"
+                  margin-top="1in" 
+                  margin-bottom="1in" 
+                  margin-left="0.75in" 
+                  margin-right="0.75in">
+      <fo:region-body foid="3"
+               margin-top="1in" margin-bottom="1in"
+               column-count="2" column-gap="0.25in"/>
+      <fo:region-before extent="1in" foid="4"/>
+      <fo:region-after extent="1in" foid="5"/>
+    </fo:simple-page-master>
+
+  </fo:layout-master-set>
+
+  <!-- actual layout -->
+  <fo:page-sequence master-name="only" foid="6">
+    <fo:static-content flow-name="xsl-region-before" foid="7">
+      <fo:block foid="8" font-size="16pt" 
+                font-family="sans-serif" 
+                line-height="normal"
+                text-align="start"
+                               color="blue">Columns in FOP</fo:block>
+       </fo:static-content>
+       
+    <fo:static-content flow-name="xsl-region-after" foid="10">
+      <fo:block foid="11" font-size="10pt" 
+                font-family="sans-serif" 
+                line-height="12pt"
+                               space-before.optimum="6pt"
+                text-align="end"
+                               color="blue">Page #</fo:block>
+       </fo:static-content>
+       
+    <fo:flow flow-name="xsl-region-body" foid="13">
+      <!-- Block 0 -->
+      <fo:block foid="14" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green" foid="15">Block 0:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
+               Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
+               number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
+               specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
+               intended for high-quality, precision layout-driven formatting.
+      </fo:block>
+
+      <!-- Block 1 -->
+      <fo:block foid="18" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green" foid="19">Block 1:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
+               Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
+               number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
+               specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
+               intended for high-quality, precision layout-driven formatting.
+      </fo:block>
+
+      <!-- Block 2 -->
+      <fo:block foid="22" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green" foid="23">Block 2:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 3 -->
+      <fo:block foid="26" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green" foid="27">Block 3:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 4 -->
+      <fo:block foid="30" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red" foid="31">Block 4:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 5 -->
+               <fo:block foid="34" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green" foid="35">Block 5:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 6 -->
+      <fo:block foid="38" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green" foid="39">Block 6:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
+               Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
+               number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
+               specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
+               intended for high-quality, precision layout-driven formatting.
+      </fo:block>
+
+      <!-- Block 7 -->
+      <fo:block foid="42" font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red" foid="43">Block 7:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf. XML has associated with it a great number of other standards, most of them under W3C (World-Wide
+               Web Consortium) auspices. Among these are XML Namespaces, XML Pointer, XPath, XSLT, XHTML, SVG, RELAX, SOAP, and any
+               number of others. This file has been prepared using formatting objects, an XML vocabulary described in the XSL
+               specification of October 18, 2000. Formatting objects are used to specify pagination and composition, and are
+               intended for high-quality, precision layout-driven formatting.
+      </fo:block>
+
+         </fo:flow>
+  </fo:page-sequence>
+</fo:root>
diff --git a/docs/examples/region_body/simplecol3.fo b/docs/examples/region_body/simplecol3.fo
new file mode 100644 (file)
index 0000000..002f860
--- /dev/null
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+  <!-- defines page layout -->
+  <fo:layout-master-set>
+
+    <!-- layout for the first page -->
+    <fo:simple-page-master master-name="only"
+                  page-height="11in" 
+                  page-width="8.5in"
+                  margin-top="1in" 
+                  margin-bottom="1in" 
+                  margin-left="0.75in" 
+                  margin-right="0.75in">
+      <fo:region-body
+               margin-top="1in" margin-bottom="1in"
+               column-count="2" column-gap="0.25in"/>
+      <fo:region-before extent="1in"/>
+      <fo:region-after extent="1in"/>
+    </fo:simple-page-master>
+
+  </fo:layout-master-set>
+
+  <!-- actual layout -->
+  <fo:page-sequence master-name="only">
+    <fo:static-content flow-name="xsl-region-before">
+      <fo:block font-size="16pt" 
+                font-family="sans-serif" 
+                line-height="normal"
+                text-align="start"
+                               color="blue">Columns in FOP</fo:block>
+       </fo:static-content>
+       
+    <fo:static-content flow-name="xsl-region-after">
+      <fo:block font-size="10pt" 
+                font-family="sans-serif" 
+                line-height="12pt"
+                               space-before.optimum="6pt"
+                text-align="end"
+                               color="blue">Page #</fo:block>
+       </fo:static-content>
+       
+    <fo:flow flow-name="xsl-region-body">
+      <!-- Block 0 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 0:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 1 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 1:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 2 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 2:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 3 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 3:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 4 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red">Block 4:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 5 -->
+               <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 5:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 6 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 6:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 7 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 7:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 8 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 8:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 9 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red">Block 9:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+         </fo:flow>
+  </fo:page-sequence>
+</fo:root>
diff --git a/docs/examples/region_body/simplecol4.fo b/docs/examples/region_body/simplecol4.fo
new file mode 100644 (file)
index 0000000..d57e332
--- /dev/null
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
+
+  <!-- defines page layout -->
+  <fo:layout-master-set>
+
+    <!-- layout for the first page -->
+    <fo:simple-page-master master-name="only"
+                  page-height="11in" 
+                  page-width="8.5in"
+                  margin-top="1in" 
+                  margin-bottom="1in" 
+                  margin-left="0.75in" 
+                  margin-right="0.75in">
+      <fo:region-body
+               margin-top="1in" margin-bottom="1in"
+               column-count="3" column-gap="0.15in"/>
+      <fo:region-before extent="1in"/>
+      <fo:region-after extent="1in"/>
+    </fo:simple-page-master>
+
+  </fo:layout-master-set>
+
+  <!-- actual layout -->
+  <fo:page-sequence master-name="only">
+    <fo:static-content flow-name="xsl-region-before">
+      <fo:block font-size="16pt" 
+                font-family="sans-serif" 
+                line-height="normal"
+                text-align="start"
+                               color="blue">Columns in FOP</fo:block>
+       </fo:static-content>
+       
+    <fo:static-content flow-name="xsl-region-after">
+      <fo:block font-size="10pt" 
+                font-family="sans-serif" 
+                line-height="12pt"
+                               space-before.optimum="6pt"
+                text-align="end"
+                               color="blue">Page #</fo:block>
+       </fo:static-content>
+       
+    <fo:flow flow-name="xsl-region-body">
+      <!-- Block 0 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 0:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 1 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 1:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 2 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 2:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 3 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 3:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 4 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red">Block 4:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 5 -->
+               <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 5:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 6 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 6:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 7 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 7:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 8 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="none">
+               <fo:inline color="green">Block 8:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+      <!-- Block 9 -->
+      <fo:block font-size="12pt" 
+                font-family="sans-serif" 
+                line-height="15pt"
+                space-after.optimum="3pt"
+                text-align="start"
+                               background-color="yellow"
+                               span="all">
+               <fo:inline color="red">Block 9:</fo:inline>
+        The Extensible Markup Language (XML) is a subset of SGML that is completely described in this document. Its goal is to
+        enable generic SGML to be served, received, and processed on the Web in the way that is now possible with HTML. XML
+        has been designed for ease of implementation and for interoperability with both SGML and HTML. For further information 
+        read normal.pdf.
+      </fo:block>
+
+         </fo:flow>
+  </fo:page-sequence>
+</fo:root>