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