<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" font-size="16pt">
 <fo:layout-master-set>
  <fo:simple-page-master master-name="portrait-a4-page" page-width="210mm" page-height="297mm">
   <fo:region-body region-name="xsl-region-body" margin="0.7in"/>
  </fo:simple-page-master>
  <fo:simple-page-master master-name="landscape-a4-page" page-width="297mm" page-height="210mm">
   <fo:region-body region-name="xsl-region-body" margin="0.7in"/>
  </fo:simple-page-master>
  <fo:simple-page-master master-name="landscape-a3-page" page-width="420mm" page-height="297mm">
   <fo:region-body region-name="xsl-region-body" margin="0.7in"/>
  </fo:simple-page-master>

 </fo:layout-master-set>

 <fo:page-sequence master-reference="portrait-a4-page">
  <fo:flow flow-name="xsl-region-body">
   <fo:table border="thin solid silver" width="100%">
    <fo:table-body>
     <fo:table-row>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page.
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page.
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page.
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page. This table is on the portrait A4 page.
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
   </fo:table>
  </fo:flow>
 </fo:page-sequence>

 <fo:page-sequence master-reference="landscape-a4-page">
  <fo:flow flow-name="xsl-region-body">
   <fo:table border="thin solid silver" width="100%">
    <fo:table-body>
     <fo:table-row>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page.
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page.
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page.
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page. This table is on the landscape A4 page.
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
   </fo:table>
  </fo:flow>
 </fo:page-sequence>

 <fo:page-sequence master-reference="landscape-a3-page">
  <fo:flow flow-name="xsl-region-body">
   <fo:table border="thin solid silver" width="100%">
    <fo:table-body>
     <fo:table-row>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page.
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page.
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
     <fo:table-row>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page.
       </fo:block>
      </fo:table-cell>
      <fo:table-cell border="thin solid silver" padding="20pt">
       <fo:block>
         This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page. This table is on the landscape A3 page.
       </fo:block>
      </fo:table-cell>
     </fo:table-row>
    </fo:table-body>
   </fo:table>
  </fo:flow>
 </fo:page-sequence>

</fo:root>
