﻿<?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="first-page"  page-width="8.5in" page-height="11in">
			<fo:region-body region-name="xsl-region-body" margin="0.7in" column-gap="0.6in" padding="6pt"/>
			<fo:region-before region-name="xsl-region-before" display-align="after" extent="0.700in" padding-top="6.000pt" padding-left="0.700in" padding-right="0.700in" padding-bottom="6.000pt" border-style="none" border-width="0.000px"  background-repeat="no-repeat" background-position-horizontal="0.000px" background-position-vertical="0.000px" reference-orientation="0"/>
			<fo:region-after region-name="xsl-region-after" display-align="before" extent="0.700in" padding-top="6.000pt" padding-left="0.700in" padding-right="0.700in" padding-bottom="6.000pt" border-style="none" border-width="0.000px"  background-repeat="no-repeat" background-position-horizontal="0.000px" background-position-vertical="0.000px" reference-orientation="0"/>
		</fo:simple-page-master>
		<fo:simple-page-master master-name="all-pages" page-width="11in" page-height="8.5in">
			<fo:region-body region-name="xsl-region-body" margin="0.1in 0.35in" column-count="4" column-gap="0.6in"/>
		</fo:simple-page-master>
		<fo:page-sequence-master master-name="default-sequence">
		<fo:single-page-master-reference master-reference="first-page"/>
			<fo:repeatable-page-master-reference master-reference="all-pages" />
		</fo:page-sequence-master>
		<fo:page-sequence-master master-name="custom-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" font-family="Helvetica">
		<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 Sample Document
				<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)" font-size="10pt" font-family="Helvetica">
			<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)">
								Copyright © 2002-2010 Ecrion Software Inc. All Rights Reserved.
							</fo:block>
						</fo:table-cell>
						<fo:table-cell>
							<fo:block text-align="right" color="rgb(105,105,105)">
								<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="Helvetica" font-size="10pt">
			<fo:block color="rgb(0,128,0)" text-align="center" margin-bottom="10pt" font-size="18pt" font-family="Helvetica"> <fo:block/>Google Maps Example<fo:block/> </fo:block>							
			<fo:block space-before="20pt" space-after="20pt">
				You can use XF Ultrascale to display maps from Google directly into your documents:
			</fo:block>
			<fo:block space-before="20pt" space-after="20pt"  >
				<fo:external-graphic color="rgb(0,0,255)" src="url(http://maps.google.com/staticmap?center=40.714728,-73.998672&amp;zoom=14&amp;size=512x512&amp;maptype=mobile&amp;markers=40.702147,-74.015794,blues|40.711614,-74.012318,greeng|40.718217,-73.998284,redc&amp;sensor=false&amp;key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSsTL4WIgxhMZ0ZK_kHjwHeQuOD4xQJpBVbSrqNn69S6DOTv203MQ5ufA)"/>
			</fo:block>			
			<fo:block id="theEnd"/>
			</fo:flow>
	</fo:page-sequence>			
</fo:root>