<?xml version="1.0" encoding="utf-8" ?>
<!--
Copyright (c) Ecrion Software Inc. 2002-2010. All Rights Reserved.
Permission to use, copy, modify, distribute and sell this sample document for any purpose and without fee is hereby granted, 
provided that the above copyright notice appears in all copies and that both those copyright notice and this permission notice 
appear in supporting documentation, and that the name of Ecrion Software Inc. not be used in advertising or publicity pertaining 
to distribution of the software without specific, written prior permission. Ecrion Software Inc. make no representations about 
the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
-->
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xf="http://www.ecrion.com/xf/1.0">
	<fo:layout-master-set>
		<fo:simple-page-master master-name="all-pages" page-width="8in" page-height="11in">
			<fo:region-body region-name="xsl-region-body" margin="0.7in" column-gap="0.25in"/>
			<fo:region-before region-name="xsl-region-before" extent="0.6in" display-align="after" padding="0pt 0.7in" />
			<fo:region-after region-name="xsl-region-after" extent="0.6in" display-align="before" padding="0pt 0.7in" />
		</fo:simple-page-master>
		<fo:page-sequence-master master-name="default-sequence">
			<fo:repeatable-page-master-reference master-reference="all-pages" />
		</fo:page-sequence-master>
	</fo:layout-master-set>
	<fo:page-sequence master-reference="default-sequence">
		<fo:static-content flow-name="xsl-region-before" border-bottom-style="solid" border-bottom-width="1pt" border-bottom-color="rgb(192,192,192)" font-size="10pt" font-family="Helvetica">
			<fo:block color="rgb(105,105,105)" text-align-last="justify">
				XSL-FO Test Suite
				<fo:leader/>
				<fo:inline font-size="10pt" font-weight="normal">
				Page <fo:page-number/> of <fo:page-number-citation ref-id="theEnd"/>
				</fo:inline>
			</fo:block>
		</fo:static-content>
		<fo:static-content flow-name="xsl-region-after" padding-top="2pt" border-top-style="solid" border-top-width="1pt" border-top-color="rgb(192,192,192)">
			<fo:table table-layout="fixed" width="100%">
				<fo:table-column column-width="proportional-column-width(4)"/>
				<fo:table-column column-width="proportional-column-width(1)"/>
				<fo:table-body>
					<fo:table-row>
						<fo:table-cell>
							<fo:block color="rgb(105,105,105)" font-size="10pt" font-family="Helvetica">
								Copyright © 2002-2009 Ecrion Software Inc. All Rights Reserved.
							</fo:block>
						</fo:table-cell>
						<fo:table-cell>
							<fo:block text-align="right" color="rgb(105,105,105)" font-size="10pt" font-family="Helvetica">
								<fo:instream-foreign-object>
									<svg:svg xmlns:svg="http://www.w3.org/2000/svg" width="64" height="46" viewBox="0 0 744 514" scaling="non-uniform">
										<svg:defs id="defs4">
											<svg:linearGradient id="linearGradient1308" x1="0%" x2="100%" y1="0%" y2="0%">
												<svg:stop id="stop1310" style="stop-color:#24ff2c;stop-opacity:1.0000000;" offset="0"/>
												<svg:stop id="stop1312" style="stop-color:#228f1e;stop-opacity:1.0000000;" offset="1"/>
											</svg:linearGradient>
											<svg:linearGradient id="linearGradient1314" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient1308" gradientUnits="userSpaceOnUse" x1="102.857" x2="112.857" y1="126.648" y2="172.362"/>
											<svg:linearGradient id="linearGradient2064" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient1308" gradientUnits="userSpaceOnUse" x1="94.2857" x2="112.857" y1="143.791" y2="172.362"/>
											<svg:linearGradient id="linearGradient2068" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient1308" gradientUnits="userSpaceOnUse" x1="102.857" x2="112.857" y1="126.648" y2="172.362"/>
											<svg:linearGradient id="linearGradient2072" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient1308" gradientUnits="userSpaceOnUse" x1="102.857" x2="112.857" y1="126.648" y2="172.362"/>
											<svg:linearGradient id="linearGradient2076" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient1308" gradientUnits="userSpaceOnUse" x1="102.857" x2="112.857" y1="126.648" y2="172.362"/>
											<svg:linearGradient id="linearGradient2080" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#linearGradient1308" gradientUnits="userSpaceOnUse" x1="102.857" x2="112.857" y1="126.648" y2="172.362"/>
										</svg:defs>
										<svg:g id="layer1" transform="translate(0,-130)">
											<svg:path id="path2824" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#17cf0d;stroke-width:10.489111;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" d="M385.118,348.54 C646.31,435.042 646.31,435.042 646.31,435.042 "/>
											<svg:path id="path2822" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#17cf0d;stroke-width:7.9545941;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" d="M536.667,267.948 C374.762,348.205 374.762,348.205 374.762,348.205 "/>
											<svg:path id="path2818" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#17cf0d;stroke-width:9.5815039;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" d="M91.7553,282.151 C376.816,348.287 376.816,348.287 376.816,348.287 "/>
											<svg:path id="path2826" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#17cf0d;stroke-width:6.1257629;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" d="M380.774,344.069 C325.511,483.512 325.511,483.512 325.511,483.512 "/>
											<svg:path id="path2090" style="fill:none;fill-opacity:0.75000000;fill-rule:evenodd;stroke:#17cf0d;stroke-width:8.0982771;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4.0000000;stroke-dasharray:none;stroke-opacity:1.0000000" d="M279.788,198.404 C374.497,340.606 374.497,340.606 374.497,340.606 "/>
											<svg:path id="path1306" transform="translate(176.571,56.8571) " style="fill:url(#linearGradient1314);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" d="M142.857,156.648 A30,30 0 1,1 82.8571,156.648 A30,30 0 1,1 142.857,156.648 z "/>
											<svg:path id="path2062" transform="translate(426.857,110.857) " style="fill:url(#linearGradient2064);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" d="M142.857,156.648 A30,30 0 1,1 82.8571,156.648 A30,30 0 1,1 142.857,156.648 z "/>
											<svg:path id="path2066" transform="translate(264.286,187.143) " style="fill:url(#linearGradient2068);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" d="M142.857,156.648 A30,30 0 1,1 82.8571,156.648 A30,30 0 1,1 142.857,156.648 z "/>
											<svg:path id="path2070" transform="translate(535.429,277.143) " style="fill:url(#linearGradient2072);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" d="M142.857,156.648 A30,30 0 1,1 82.8571,156.648 A30,30 0 1,1 142.857,156.648 z "/>
											<svg:path id="path2074" transform="matrix(1.90909,0,0,1.8,107.818,222.967) " style="fill:url(#linearGradient2076);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" d="M142.857,156.648 A30,30 0 1,1 82.8571,156.648 A30,30 0 1,1 142.857,156.648 z "/>
											<svg:path id="path2078" transform="translate(-27.1429,126.857) " style="fill:url(#linearGradient2080);fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000" d="M142.857,156.648 A30,30 0 1,1 82.8571,156.648 A30,30 0 1,1 142.857,156.648 z "/>
										</svg:g>
									</svg:svg>
								</fo:instream-foreign-object>
							</fo:block>
						</fo:table-cell>
					</fo:table-row>
				</fo:table-body>
			</fo:table>
		</fo:static-content>
		<fo:flow flow-name="xsl-region-body" font-family="Tahoma" font-size="10pt">
			<fo:block font-family="Verdana" text-align="center" font-size="18pt" space-after="10pt" color="green">
				Fonts Example
			</fo:block>
			<fo:block>
				This example describes several categories of fonts available in your XSL-FO documents.
			</fo:block>
			<fo:block>
				Fonts not available in your system will be substituted with the default font (Arial) when generating the PDF.
			</fo:block>			
			<fo:block>
			 <fo:block margin-top="10pt" font-size="12pt" font-style="normal" font-variant="normal" line-height="normal">
			 <fo:block margin-top="6pt" font-size="14pt" font-weight="bold">Standard font families:</fo:block> 
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">Helvetica</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="Helvetica">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">Times</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="Times">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">Courier</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="Courier">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			  <fo:block margin-top="6pt" font-size="14pt" font-weight="bold" space-before="20pt">Generic font families:</fo:block> 
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">serif</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="serif">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">sans-serif</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="sans-serif">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">cursive</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="cursive">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">fantasy</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="fantasy">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			 <fo:block text-align="left" keep-together.within-column="always">
			 <fo:block margin-top="10pt" margin-bottom="3pt">
			  Font family: 
			  <fo:wrapper font-weight="bold">monospace</fo:wrapper> 
			  </fo:block>
			  <fo:block margin-left="20pt" padding="6pt" font-family="monospace">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
			  </fo:block>
			  			  
			<fo:block margin-top="6pt" font-size="14pt" font-weight="bold" space-before="20pt">Windows Fonts:</fo:block> 
				<fo:block>
					All fonts are embedded in the generated output.
				</fo:block>
				<fo:block margin-top="10pt" margin-bottom="3pt">
					Font family: 
					<fo:wrapper font-weight="bold">Arial Narrow</fo:wrapper> 
				</fo:block>
				<fo:block margin-left="20pt" padding="6pt" font-family="Arial Narrow">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
				<fo:block margin-top="10pt" margin-bottom="3pt">
					Font family: 
					<fo:wrapper font-weight="bold">Impact</fo:wrapper> 
				</fo:block>
				<fo:block margin-left="20pt" padding="6pt" font-family="Impact">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
				<fo:block margin-top="10pt" margin-bottom="3pt">
					Font family: 
					<fo:wrapper font-weight="bold">Trebuchet MS</fo:wrapper> 
				</fo:block>
				<fo:block margin-left="20pt" padding="6pt" font-family="Trebuchet MS">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. 4 : 16 PM.</fo:block> 
				<fo:block margin-top="10pt" margin-bottom="3pt">
					Font family:
					<fo:wrapper font-weight="bold">Wingdings</fo:wrapper>
				</fo:block>
				<fo:block margin-left="20pt" padding="6pt" font-family="Wingdings" font-size="18pt">
					&#x8B;&#x8C;&#x8D;&#x8E;&#x8F;&#x90;&#x91;&#x92;&#x93;&#x94;&#x95;&#xA8;&#xA4;&#x78;
				</fo:block>
			  </fo:block>			

			</fo:block>
			
			<fo:block id="theEnd"/>
		</fo:flow>
	</fo:page-sequence>
</fo:root>