1*cdf0e10cSrcweir<?xml version='1.0' encoding="UTF-8"?>
2*cdf0e10cSrcweir<!--
3*cdf0e10cSrcweir #*************************************************************************
4*cdf0e10cSrcweir #
5*cdf0e10cSrcweir  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6*cdf0e10cSrcweir
7*cdf0e10cSrcweir  Copyright 2000, 2010 Oracle and/or its affiliates.
8*cdf0e10cSrcweir
9*cdf0e10cSrcweir  OpenOffice.org - a multi-platform office productivity suite
10*cdf0e10cSrcweir
11*cdf0e10cSrcweir  This file is part of OpenOffice.org.
12*cdf0e10cSrcweir
13*cdf0e10cSrcweir  OpenOffice.org is free software: you can redistribute it and/or modify
14*cdf0e10cSrcweir  it under the terms of the GNU Lesser General Public License version 3
15*cdf0e10cSrcweir  only, as published by the Free Software Foundation.
16*cdf0e10cSrcweir
17*cdf0e10cSrcweir  OpenOffice.org is distributed in the hope that it will be useful,
18*cdf0e10cSrcweir  but WITHOUT ANY WARRANTY; without even the implied warranty of
19*cdf0e10cSrcweir  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20*cdf0e10cSrcweir  GNU Lesser General Public License version 3 for more details
21*cdf0e10cSrcweir  (a copy is included in the LICENSE file that accompanied this code).
22*cdf0e10cSrcweir
23*cdf0e10cSrcweir  You should have received a copy of the GNU Lesser General Public License
24*cdf0e10cSrcweir  version 3 along with OpenOffice.org.  If not, see
25*cdf0e10cSrcweir  <http://www.openoffice.org/license.html>
26*cdf0e10cSrcweir  for a copy of the LGPLv3 License.
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir #*************************************************************************
29*cdf0e10cSrcweir -->
30*cdf0e10cSrcweir<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
31*cdf0e10cSrcweir			      xmlns:office="http://openoffice.org/2000/office"
32*cdf0e10cSrcweir			      xmlns:style="http://openoffice.org/2000/style"
33*cdf0e10cSrcweir			      xmlns:text="http://openoffice.org/2000/text"
34*cdf0e10cSrcweir			      xmlns:table="http://openoffice.org/2000/table"
35*cdf0e10cSrcweir			      xmlns:draw="http://openoffice.org/2000/drawing"
36*cdf0e10cSrcweir			      xmlns:fo="http://www.w3.org/1999/XSL/Format"
37*cdf0e10cSrcweir			      xmlns:xlink="http://www.w3.org/1999/xlink"
38*cdf0e10cSrcweir			      xmlns:number="http://openoffice.org/2000/datastyle"
39*cdf0e10cSrcweir			      xmlns:svg="http://www.w3.org/2000/svg"
40*cdf0e10cSrcweir			      xmlns:chart="http://openoffice.org/2000/chart"
41*cdf0e10cSrcweir			      xmlns:dr3d="http://openoffice.org/2000/dr3d"
42*cdf0e10cSrcweir			      xmlns:math="http://www.w3.org/1998/Math/MathML"
43*cdf0e10cSrcweir			      xmlns:form="http://openoffice.org/2000/form"
44*cdf0e10cSrcweir			      xmlns:script="http://openoffice.org/2000/script"
45*cdf0e10cSrcweir			      >
46*cdf0e10cSrcweir<xsl:output method="xml" />
47*cdf0e10cSrcweir
48*cdf0e10cSrcweir
49*cdf0e10cSrcweir<xsl:template match="/">
50*cdf0e10cSrcweir	<xsl:apply-templates />
51*cdf0e10cSrcweir</xsl:template>
52*cdf0e10cSrcweir
53*cdf0e10cSrcweir<xsl:template match="html">
54*cdf0e10cSrcweir
55*cdf0e10cSrcweir	<office:document-content xmlns:office="http://openoffice.org/2000/office"
56*cdf0e10cSrcweir				 xmlns:style="http://openoffice.org/2000/style"
57*cdf0e10cSrcweir				 xmlns:text="http://openoffice.org/2000/text"
58*cdf0e10cSrcweir				 xmlns:table="http://openoffice.org/2000/table"
59*cdf0e10cSrcweir				 xmlns:draw="http://openoffice.org/2000/drawing"
60*cdf0e10cSrcweir				 xmlns:fo="http://www.w3.org/1999/XSL/Format"
61*cdf0e10cSrcweir				 xmlns:xlink="http://www.w3.org/1999/xlink"
62*cdf0e10cSrcweir				 xmlns:number="http://openoffice.org/2000/datastyle"
63*cdf0e10cSrcweir				 xmlns:svg="http://www.w3.org/2000/svg"
64*cdf0e10cSrcweir				 xmlns:chart="http://openoffice.org/2000/chart"
65*cdf0e10cSrcweir				 xmlns:dr3d="http://openoffice.org/2000/dr3d"
66*cdf0e10cSrcweir				 xmlns:math="http://www.w3.org/1998/Math/MathML"
67*cdf0e10cSrcweir				 xmlns:form="http://openoffice.org/2000/form"
68*cdf0e10cSrcweir				 xmlns:script="http://openoffice.org/2000/script"
69*cdf0e10cSrcweir				 office:class="text" office:version="1.0">
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir<office:script/>
72*cdf0e10cSrcweir <office:font-decls>
73*cdf0e10cSrcweir  <style:font-decl style:name="Letter Gothic" fo:font-family="&apos;Letter Gothic&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
74*cdf0e10cSrcweir  <style:font-decl style:name="Arial Unicode MS" fo:font-family="&apos;Arial Unicode MS&apos;" style:font-pitch="variable"/>
75*cdf0e10cSrcweir  <style:font-decl style:name="HG Mincho Light J" fo:font-family="&apos;HG Mincho Light J&apos;" style:font-pitch="variable"/>
76*cdf0e10cSrcweir  <style:font-decl style:name="CG Times" fo:font-family="&apos;CG Times&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
77*cdf0e10cSrcweir  <style:font-decl style:name="Thorndale" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable"/>
78*cdf0e10cSrcweir  <style:font-decl style:name="Antique Olive" fo:font-family="&apos;Antique Olive&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
79*cdf0e10cSrcweir  <style:font-decl style:name="Arial Black" fo:font-family="&apos;Arial Black&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
80*cdf0e10cSrcweir </office:font-decls>
81*cdf0e10cSrcweir <office:automatic-styles>
82*cdf0e10cSrcweir  <style:style style:name="Table1" style:family="table">
83*cdf0e10cSrcweir   <style:properties style:width="16.999cm" table:align="margins"/>
84*cdf0e10cSrcweir  </style:style>
85*cdf0e10cSrcweir  <style:style style:name="Table1.A" style:family="table-column">
86*cdf0e10cSrcweir   <style:properties style:column-width="3.399cm" style:rel-column-width="13107*"/>
87*cdf0e10cSrcweir  </style:style>
88*cdf0e10cSrcweir  <style:style style:name="Table1.A1" style:family="table-cell">
89*cdf0e10cSrcweir   <style:properties fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="none" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000"/>
90*cdf0e10cSrcweir  </style:style>
91*cdf0e10cSrcweir  <style:style style:name="Table1.E1" style:family="table-cell">
92*cdf0e10cSrcweir   <style:properties fo:padding="0.097cm" fo:border="0.002cm solid #000000"/>
93*cdf0e10cSrcweir  </style:style>
94*cdf0e10cSrcweir  <style:style style:name="Table1.A2" style:family="table-cell">
95*cdf0e10cSrcweir   <style:properties fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.002cm solid #000000"/>
96*cdf0e10cSrcweir  </style:style>
97*cdf0e10cSrcweir  <style:style style:name="Table1.E2" style:family="table-cell">
98*cdf0e10cSrcweir   <style:properties fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000" fo:border-top="none" fo:border-bottom="0.002cm solid #000000"/>
99*cdf0e10cSrcweir  </style:style>
100*cdf0e10cSrcweir  <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
101*cdf0e10cSrcweir   <style:properties fo:margin-left="0cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false"/>
102*cdf0e10cSrcweir  </style:style>
103*cdf0e10cSrcweir  <style:style style:name="P2" style:family="paragraph" style:parent-style-name="Table Contents">
104*cdf0e10cSrcweir   <style:properties style:font-name="Arial Black" fo:font-size="20pt"/>
105*cdf0e10cSrcweir  </style:style>
106*cdf0e10cSrcweir </office:automatic-styles>
107*cdf0e10cSrcweir
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir
110*cdf0e10cSrcweir
111*cdf0e10cSrcweir
112*cdf0e10cSrcweir 	<office:body>
113*cdf0e10cSrcweir		 <text:sequence-decls>
114*cdf0e10cSrcweir   			<text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
115*cdf0e10cSrcweir   			<text:sequence-decl text:display-outline-level="0" text:name="Table"/>
116*cdf0e10cSrcweir   			<text:sequence-decl text:display-outline-level="0" text:name="Text"/>
117*cdf0e10cSrcweir   			<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
118*cdf0e10cSrcweir  		</text:sequence-decls>
119*cdf0e10cSrcweir
120*cdf0e10cSrcweir  		<xsl:apply-templates/>
121*cdf0e10cSrcweir 	</office:body>
122*cdf0e10cSrcweir	</office:document-content>
123*cdf0e10cSrcweir
124*cdf0e10cSrcweir</xsl:template>
125*cdf0e10cSrcweir
126*cdf0e10cSrcweir<xsl:template match="body">
127*cdf0e10cSrcweir	<xsl:apply-templates />
128*cdf0e10cSrcweir</xsl:template>
129*cdf0e10cSrcweir
130*cdf0e10cSrcweir
131*cdf0e10cSrcweir
132*cdf0e10cSrcweir<xsl:template match="p">
133*cdf0e10cSrcweir	<xsl:for-each select=".">
134*cdf0e10cSrcweir		<text:p text:style-name="P1">
135*cdf0e10cSrcweir			<!--<xsl:value-of select="."/>-->
136*cdf0e10cSrcweir			<xsl:apply-templates />
137*cdf0e10cSrcweir		</text:p>
138*cdf0e10cSrcweir	</xsl:for-each>
139*cdf0e10cSrcweir</xsl:template>
140*cdf0e10cSrcweir
141*cdf0e10cSrcweir<xsl:template match="br">
142*cdf0e10cSrcweir	<xsl:if test="ancestor::p">
143*cdf0e10cSrcweir		<xsl:text disable-output-escaping="yes">&lt;/text:p&gt; &lt;text:p text:style-name="P1"&gt;</xsl:text>
144*cdf0e10cSrcweir	</xsl:if>
145*cdf0e10cSrcweir</xsl:template>
146*cdf0e10cSrcweir
147*cdf0e10cSrcweir<xsl:template match="table">
148*cdf0e10cSrcweir	<xsl:for-each select=".">
149*cdf0e10cSrcweir		<table:table table:name="Table1" table:style-name="Table1">
150*cdf0e10cSrcweir				 <table:table-column table:style-name="Table1.A" table:number-columns-repeated="5"/>
151*cdf0e10cSrcweir			<xsl:apply-templates/>
152*cdf0e10cSrcweir		</table:table>
153*cdf0e10cSrcweir	</xsl:for-each>
154*cdf0e10cSrcweir</xsl:template>
155*cdf0e10cSrcweir
156*cdf0e10cSrcweir<xsl:template match="tr">
157*cdf0e10cSrcweir	<xsl:for-each select=".">
158*cdf0e10cSrcweir		<table:table-row>
159*cdf0e10cSrcweir			<xsl:apply-templates/>
160*cdf0e10cSrcweir		</table:table-row>
161*cdf0e10cSrcweir	</xsl:for-each>
162*cdf0e10cSrcweir</xsl:template>
163*cdf0e10cSrcweir
164*cdf0e10cSrcweir<xsl:template match="td">
165*cdf0e10cSrcweir	<xsl:for-each select=".">
166*cdf0e10cSrcweir		<table:table-cell table:style-name="Table1.A1" table:value-type="string">
167*cdf0e10cSrcweir		<text:p text:style-name="P1">
168*cdf0e10cSrcweir				<xsl:value-of select="."/>
169*cdf0e10cSrcweir			</text:p>
170*cdf0e10cSrcweir		</table:table-cell>
171*cdf0e10cSrcweir	</xsl:for-each>
172*cdf0e10cSrcweir</xsl:template>
173*cdf0e10cSrcweir
174*cdf0e10cSrcweir
175*cdf0e10cSrcweir
176*cdf0e10cSrcweir</xsl:stylesheet>
177