<?xml version="1.0" encoding="UTF-8" ?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:lang="en">
	<fo:layout-master-set>
		<fo:simple-page-master page-height="150mm" page-width="210mm" margin-top="0mm" margin-left="0mm" margin-right="0mm" margin-bottom="0mm" master-name="PageMaster">
			<fo:region-before display-align="after" region-name="header" extent="25mm"/>
			<fo:region-after region-name="footer" extent="15mm"/>
			<fo:region-start extent="8mm"/>
			<fo:region-end extent="8mm"/>
			<fo:region-body margin-top="30mm" margin-left="10mm" margin-right="10mm" margin-bottom="20mm"/>
		</fo:simple-page-master>
					</fo:layout-master-set>

	<fo:page-sequence initial-page-number="1" master-reference="PageMaster">
		<fo:static-content flow-name="header">
			<fo:block start-indent="2mm" font-size="8pt">
				<fo:external-graphic src="url('img/antenna-en.png')" content-height="12mm"/>
				XSL FO Sample Copyright &#xA9; 1996-2005 Antenna House, Inc. All rights reserved.
			</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="footer">
			<fo:block  text-align="center" font-family="Arial" font-size="15pt">-<fo:page-number /></fo:block>
		</fo:static-content>

		<fo:flow  font-family="Times New Roman" flow-name="xsl-region-body" font-size="12pt">
			<fo:block span="all" text-indent="1em" font-family="Arial" font-size="20pt" font-weight="bold" background-color="#EEEEEE" line-height="20mm">
Page break in the table cell</fo:block>

<fo:block space-before="1em" space-before.conditionality="retain">The page breaks in the table cell. </fo:block>

<fo:table-and-caption space-before="1em" text-align="center">
<fo:table-caption>
<fo:block  font-family="Arial" space-before="1em">This is a title of the table. </fo:block>
</fo:table-caption>
<fo:table table-layout="fixed" table-omit-header-at-break="true" table-omit-footer-at-break="true">
<fo:table-column column-number="1" column-width="75mm" />
<fo:table-column column-number="2" column-width="75mm" />
<fo:table-header background-color="#DDDDDD">
             <fo:table-row
                 border-start-style="solid"
                 border-end-style="solid"
                 border-before-style="solid"
                 border-width="0.5pt"
                 >
               <fo:table-cell
                   padding="4pt"
                   border-end-style="solid"
                   border-width="0.5pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 1 Header</fo:block>
               </fo:table-cell>
               <fo:table-cell
                   padding="4pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 2 Header</fo:block>
               </fo:table-cell>
             </fo:table-row>
           </fo:table-header>
<fo:table-footer background-color="#DDDDDD">
             <fo:table-row
                 border-start-style="solid"
                 border-end-style="solid"
                 border-after-style="solid"
                 border-width="0.5pt"
                 >
               <fo:table-cell
                   padding="4pt"
                   border-end-style="solid"
                   border-width="0.5pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 1 Footer</fo:block>
               </fo:table-cell>
               <fo:table-cell
                   padding="4pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 2 Footer</fo:block>
               </fo:table-cell>
             </fo:table-row>
           </fo:table-footer>
<fo:table-body>
<fo:table-row>
       <fo:table-cell border="solid thin red">
         <fo:block linefeed-treatment="preserve">1. Cell text in single table
2. Cell text in single table
3. Cell text in single table
4. Cell text in single table
5. Cell text in single table
6. Cell text in single table
</fo:block>
       </fo:table-cell>
<fo:table-cell border="solid thin red">
<fo:block linefeed-treatment="preserve">1. Cell text in single table
2. Cell text in single table
3. Cell text in single table
4. Cell text in single table
5. Cell text in single table
6. Cell text in single table
</fo:block>
       </fo:table-cell>
</fo:table-row>
<fo:table-row>
       <fo:table-cell border="solid thin red">
         <fo:block linefeed-treatment="preserve">7. Cell text in single table
8. Cell text in single table
9. Cell text in single table
10. Cell text in single table
11. Cell text in single table
12. Cell text in single table
13. Cell text in single table
</fo:block>
       </fo:table-cell>
<fo:table-cell border="solid thin red">
<fo:block linefeed-treatment="preserve">7. Cell text in single table
8. Cell text in single table
9. Cell text in single table
10. Cell text in single table
11. Cell text in single table
12. Cell text in single table
13. Cell text in single table
</fo:block>
       </fo:table-cell>
</fo:table-row>
<fo:table-row>
       <fo:table-cell border="solid thin red">
         <fo:block linefeed-treatment="preserve">14. Cell text in single table
15. Cell text in single table
16. Cell text in single table
17. Cell text in single table
18. Cell text in single table
19. Cell text in single table
20. Cell text in single table
</fo:block>
       </fo:table-cell>
<fo:table-cell border="solid thin red">
<fo:block linefeed-treatment="preserve">14. Cell text in single table
15. Cell text in single table
16. Cell text in single table
17. Cell text in single table
18. Cell text in single table
19. Cell text in single table
20. Cell text in single table
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-and-caption>
<fo:block break-before="page" space-before="1em+20mm" space-before.conditionality="retain">The page doesn't break in the table cell. </fo:block>

<fo:table-and-caption space-before="1em" text-align="center">
<fo:table-caption>
<fo:block  font-family="Arial" space-before="1em">This is a title of the table. </fo:block>
</fo:table-caption>
<fo:table table-layout="fixed" table-omit-header-at-break="true" table-omit-footer-at-break="true">
<fo:table-column column-number="1" column-width="75mm" />
<fo:table-column column-number="2" column-width="75mm" />
<fo:table-header background-color="#DDDDDD">
             <fo:table-row
                 border-start-style="solid"
                 border-end-style="solid"
                 border-before-style="solid"
                 border-width="0.5pt"
                 >
               <fo:table-cell
                   padding="4pt"
                   border-end-style="solid"
                   border-width="0.5pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 1 Header</fo:block>
               </fo:table-cell>
               <fo:table-cell
                   padding="4pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 2 Header</fo:block>
               </fo:table-cell>
             </fo:table-row>
           </fo:table-header>
<fo:table-footer background-color="#DDDDDD">
             <fo:table-row
                 border-start-style="solid"
                 border-end-style="solid"
                 border-after-style="solid"
                 border-width="0.5pt"
                 >
               <fo:table-cell
                   padding="4pt"
                   border-end-style="solid"
                   border-width="0.5pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 1 Footer</fo:block>
               </fo:table-cell>
               <fo:table-cell
                   padding="4pt"
               >
                 <fo:block
                     font-weight="bold"
                     text-align="center"
                 >Column 2 Footer</fo:block>
               </fo:table-cell>
             </fo:table-row>
           </fo:table-footer>
<fo:table-body>
<fo:table-row>
       <fo:table-cell border="solid thin red">
         <fo:block linefeed-treatment="preserve">1. Cell text in single table
2. Cell text in single table
3. Cell text in single table
4. Cell text in single table
5. Cell text in single table
6. Cell text in single table
</fo:block>
       </fo:table-cell>
<fo:table-cell border="solid thin red">
<fo:block linefeed-treatment="preserve">1. Cell text in single table
2. Cell text in single table
3. Cell text in single table
4. Cell text in single table
5. Cell text in single table
6. Cell text in single table
</fo:block>
       </fo:table-cell>
</fo:table-row>
<fo:table-row keep-together.within-page="always">
       <fo:table-cell border="solid thin red">
         <fo:block linefeed-treatment="preserve">7. Cell text in single table
8. Cell text in single table
9. Cell text in single table
10. Cell text in single table
11. Cell text in single table
12. Cell text in single table
13. Cell text in single table
</fo:block>
       </fo:table-cell>
<fo:table-cell border="solid thin red">
<fo:block linefeed-treatment="preserve">7. Cell text in single table
8. Cell text in single table
9. Cell text in single table
10. Cell text in single table
11. Cell text in single table
12. Cell text in single table
13. Cell text in single table
</fo:block>
       </fo:table-cell>
</fo:table-row>
<fo:table-row>
       <fo:table-cell border="solid thin red">
         <fo:block linefeed-treatment="preserve">14. Cell text in single table
15. Cell text in single table
16. Cell text in single table
17. Cell text in single table
18. Cell text in single table
19. Cell text in single table
20. Cell text in single table
</fo:block>
       </fo:table-cell>
<fo:table-cell border="solid thin red">
<fo:block linefeed-treatment="preserve">14. Cell text in single table
15. Cell text in single table
16. Cell text in single table
17. Cell text in single table
18. Cell text in single table
19. Cell text in single table
20. Cell text in single table
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:table-and-caption>


</fo:flow>

	</fo:page-sequence>
</fo:root>

