1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 Copyright 2008 by Sun Microsystems, Inc.
7 OpenOffice.org - a multi-platform office productivity suite
9 $RCSfile: docbooktosoffheadings.xsl,v $
13 This file is part of OpenOffice.org.
15 OpenOffice.org is free software: you can redistribute it and/or modify
16 it under the terms of the GNU Lesser General Public License version 3
17 only, as published by the Free Software Foundation.
19 OpenOffice.org is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU Lesser General Public License version 3 for more details
23 (a copy is included in the LICENSE file that accompanied this code).
25 You should have received a copy of the GNU Lesser General Public License
26 version 3 along with OpenOffice.org. If not, see
27 <http://www.openoffice.org/license.html>
28 for a copy of the LGPLv3 License.
31 <xsl:stylesheet version=
"1.0" xmlns:
xsl=
"http://www.w3.org/1999/XSL/Transform" xmlns:
fo=
"http://www.w3.org/1999/XSL/Format" xmlns:
office=
"http://openoffice.org/2000/office" xmlns:
style=
"http://openoffice.org/2000/style" xmlns:
text=
"http://openoffice.org/2000/text" xmlns:
table=
"http://openoffice.org/2000/table" xmlns:
draw=
"http://openoffice.org/2000/drawing" xmlns:
xlink=
"http://www.w3.org/1999/xlink" xmlns:
dc=
"http://purl.org/dc/elements/1.1/" xmlns:
meta=
"http://openoffice.org/2000/meta" xmlns:
number=
"http://openoffice.org/2000/datastyle" xmlns:
svg=
"http://www.w3.org/2000/svg" xmlns:
chart=
"http://openoffice.org/2000/chart" xmlns:
dr3d=
"http://openoffice.org/2000/dr3d" xmlns:
math=
"http://www.w3.org/1998/Math/MathML" xmlns:
form=
"http://openoffice.org/2000/form" xmlns:
script=
"http://openoffice.org/2000/script" xmlns:
config=
"http://openoffice.org/2001/config" office:
class=
"text" office:
version=
"1.0">
32 <xsl:decimal-format name=
"staff" digit=
"D"/>
33 <xsl:template match=
"/">
34 <xsl:element name=
"office:document">
37 <xsl:value-of select=
"/article/articleinfo/title"/>
39 <dc:description></dc:description>
40 <dc:subject></dc:subject>
42 <xsl:value-of select=
"article/articleinfo/pubdate"/>
45 <xsl:value-of select=
"article/@lang"/>
47 <meta:user-defined meta:
name=
"Info 1"/>
48 <meta:user-defined meta:
name=
"Info 2"/>
49 <meta:user-defined meta:
name=
"Info 3"/>
50 <meta:user-defined meta:
name=
"Info 4"/>
53 <style:font-decl style:
name=
"Tahoma1" fo:
font-family=
"Tahoma"/>
54 <style:font-decl style:
name=
"Thorndale" fo:
font-family=
"Thorndale" style:
font-family-generic=
"roman" style:
font-pitch=
"variable"/>
55 <style:font-decl style:
name=
"Albany" fo:
font-family=
"Albany" style:
font-family-generic=
"swiss" style:
font-pitch=
"variable"/>
56 <style:font-decl style:
name=
"Andale Sans UI" fo:
font-family=
"'Andale Sans UI'" style:
font-family-generic=
"system" style:
font-pitch=
"variable"/>
57 <style:font-decl style:
name=
"MS Mincho" fo:
font-family=
"'MS Mincho'" style:
font-family-generic=
"system" style:
font-pitch=
"variable"/>
58 <style:font-decl style:
name=
"Tahoma" fo:
font-family=
"Tahoma" style:
font-family-generic=
"system" style:
font-pitch=
"variable"/>
61 <style:default-style style:
family=
"graphics">
62 <style:properties draw:
shadow-offset-x=
"0.3cm" draw:
shadow-offset-y=
"0.3cm" draw:
start-line-spacing-horizontal=
"0.283cm" draw:
start-line-spacing-vertical=
"0.283cm" draw:
end-line-spacing-horizontal=
"0.283cm" draw:
end-line-spacing-vertical=
"0.283cm" style:
text-autospace=
"ideograph-alpha" style:
line-break=
"strict" style:
writing-mode=
"lr-tb" style:
font-independent-line-spacing=
"false" style:
use-window-font-color=
"true" fo:
font-size=
"12pt" fo:
language=
"en" fo:
country=
"US" style:
font-size-asian=
"12pt" style:
language-asian=
"zxx" style:
country-asian=
"none" style:
font-size-complex=
"12pt" style:
language-complex=
"zxx" style:
country-complex=
"none">
65 </style:default-style>
66 <style:default-style style:
family=
"paragraph">
67 <style:properties fo:
hyphenation-ladder-count=
"no-limit" style:
text-autospace=
"ideograph-alpha" style:
punctuation-wrap=
"hanging" style:
line-break=
"strict" style:
tab-stop-distance=
"2.205cm" style:
writing-mode=
"page" style:
use-window-font-color=
"true" style:
font-name=
"Thorndale" fo:
font-size=
"12pt" fo:
language=
"en" fo:
country=
"US" style:
font-name-asian=
"Andale Sans UI" style:
font-size-asian=
"12pt" style:
language-asian=
"zxx" style:
country-asian=
"none" style:
font-name-complex=
"Tahoma" style:
font-size-complex=
"12pt" style:
language-complex=
"zxx" style:
country-complex=
"none" fo:
hyphenate=
"false" fo:
hyphenation-remain-char-count=
"2" fo:
hyphenation-push-char-count=
"2"/>
68 </style:default-style>
69 <style:default-style style:
family=
"table">
70 <style:properties table:
border-model=
"separating"/>
71 </style:default-style>
72 <style:default-style style:
family=
"table-row">
73 <style:properties fo:
keep-together=
"always"/>
74 </style:default-style>
75 <style:style style:
name=
"Standard" style:
family=
"paragraph" style:
class=
"text"/>
76 <style:style style:
name=
"Text body" style:
family=
"paragraph" style:
parent-style-name=
"Standard" style:
class=
"text">
77 <style:properties fo:
margin-top=
"0cm" fo:
margin-bottom=
"0.212cm"/>
79 <style:style style:
name=
"Heading" style:
family=
"paragraph" style:
parent-style-name=
"Standard" style:
next-style-name=
"Text body" style:
class=
"text">
80 <style:properties fo:
margin-top=
"0.423cm" fo:
margin-bottom=
"0.212cm" fo:
keep-with-next=
"true" style:
font-name=
"Albany" fo:
font-size=
"14pt" style:
font-name-asian=
"MS Mincho" style:
font-size-asian=
"14pt" style:
font-name-complex=
"Tahoma" style:
font-size-complex=
"14pt"/>
82 <style:style style:
name=
"Heading 1" style:
family=
"paragraph" style:
parent-style-name=
"Heading" style:
next-style-name=
"Text body" style:
class=
"text">
83 <style:properties fo:
font-size=
"115%" fo:
font-weight=
"bold" style:
font-size-asian=
"115%" style:
font-weight-asian=
"bold" style:
font-size-complex=
"115%" style:
font-weight-complex=
"bold"/>
85 <style:style style:
name=
"Heading 2" style:
family=
"paragraph" style:
parent-style-name=
"Heading" style:
next-style-name=
"Text body" style:
class=
"text">
86 <style:properties fo:
font-size=
"14pt" fo:
font-style=
"italic" fo:
font-weight=
"bold" style:
font-size-asian=
"14pt" style:
font-style-asian=
"italic" style:
font-weight-asian=
"bold" style:
font-size-complex=
"14pt" style:
font-style-complex=
"italic" style:
font-weight-complex=
"bold"/>
88 <style:style style:
name=
"Heading 3" style:
family=
"paragraph" style:
parent-style-name=
"Heading" style:
next-style-name=
"Text body" style:
class=
"text">
89 <style:properties fo:
font-size=
"14pt" fo:
font-weight=
"bold" style:
font-size-asian=
"14pt" style:
font-weight-asian=
"bold" style:
font-size-complex=
"14pt" style:
font-weight-complex=
"bold"/>
91 <style:style style:
name=
"Heading 4" style:
family=
"paragraph" style:
parent-style-name=
"Heading" style:
next-style-name=
"Text body" style:
class=
"text">
92 <style:properties fo:
font-size=
"85%" fo:
font-style=
"italic" fo:
font-weight=
"bold" style:
font-size-asian=
"85%" style:
font-style-asian=
"italic" style:
font-weight-asian=
"bold" style:
font-size-complex=
"85%" style:
font-style-complex=
"italic" style:
font-weight-complex=
"bold"/>
94 <style:style style:
name=
"List" style:
family=
"paragraph" style:
parent-style-name=
"Text body" style:
class=
"list">
95 <style:properties style:
font-name-complex=
"Tahoma1"/>
97 <style:style style:
name=
"Table Contents" style:
family=
"paragraph" style:
parent-style-name=
"Text body" style:
class=
"extra">
98 <style:properties text:
number-lines=
"false" text:
line-number=
"0"/>
100 <style:style style:
name=
"Table Heading" style:
family=
"paragraph" style:
parent-style-name=
"Table Contents" style:
class=
"extra">
101 <style:properties fo:
text-align=
"center" style:
justify-single-word=
"false" text:
number-lines=
"false" text:
line-number=
"0" fo:
font-style=
"italic" fo:
font-weight=
"bold" style:
font-style-asian=
"italic" style:
font-weight-asian=
"bold" style:
font-style-complex=
"italic" style:
font-weight-complex=
"bold"/>
103 <style:style style:
name=
"Caption" style:
family=
"paragraph" style:
parent-style-name=
"Standard" style:
class=
"extra">
104 <style:properties fo:
margin-top=
"0.212cm" fo:
margin-bottom=
"0.212cm" text:
number-lines=
"false" text:
line-number=
"0" fo:
font-size=
"10pt" fo:
font-style=
"italic" style:
font-size-asian=
"10pt" style:
font-style-asian=
"italic" style:
font-size-complex=
"10pt" style:
font-style-complex=
"italic"/>
106 <style:style style:
name=
"Table" style:
family=
"paragraph" style:
parent-style-name=
"Caption" style:
class=
"extra"/>
107 <style:style style:
name=
"Frame contents" style:
family=
"paragraph" style:
parent-style-name=
"Text body" style:
class=
"extra"/>
108 <style:style style:
name=
"Footnote" style:
family=
"paragraph" style:
parent-style-name=
"Standard" style:
class=
"extra">
109 <style:properties fo:
margin-left=
"0.499cm" fo:
margin-right=
"0cm" fo:
text-indent=
"-0.499cm" style:
auto-text-indent=
"false" text:
number-lines=
"false" text:
line-number=
"0" fo:
font-size=
"10pt" style:
font-size-asian=
"10pt" style:
font-size-complex=
"10pt"/>
111 <style:style style:
name=
"Index" style:
family=
"paragraph" style:
parent-style-name=
"Standard" style:
class=
"index">
112 <style:properties text:
number-lines=
"false" text:
line-number=
"0" style:
font-name-complex=
"Tahoma1"/>
114 <style:style style:
name=
"Subtitle" style:
family=
"paragraph" style:
parent-style-name=
"Heading" style:
next-style-name=
"Text body" style:
class=
"chapter">
115 <style:properties fo:
text-align=
"center" style:
justify-single-word=
"false" fo:
font-size=
"14pt" fo:
font-style=
"italic" style:
font-size-asian=
"14pt" style:
font-style-asian=
"italic" style:
font-size-complex=
"14pt" style:
font-style-complex=
"italic"/>
117 <style:style style:
name=
"Mediaobject" style:
family=
"paragraph" style:
class=
"text"/>
118 <style:style style:
name=
"Object" style:
family=
"paragraph" style:
parent-style-name=
"Caption" style:
class=
"extra"/>
119 <style:style style:
name=
"Section Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
120 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"14pt"/>
122 <style:style style:
name=
"Appendix Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
123 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"14pt"/>
125 <style:style style:
name=
"Section1 Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
126 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"14pt"/>
128 <style:style style:
name=
"Section2 Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
129 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"13pt"/>
131 <style:style style:
name=
"Section3 Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
132 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"12pt"/>
134 <style:style style:
name=
"Section4 Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
135 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"12pt"/>
137 <style:style style:
name=
"Section5 Title" style:
family=
"paragraph" style:
next-style-name=
"Text body" style:
master-page-name=
"">
138 <style:properties fo:
line-height=
"200%" fo:
text-transform=
"capitalize" fo:
font-size=
"12pt"/>
140 <style:style style:
name=
"Document Title" style:
family=
"paragraph" style:
parent-style-name=
"Standard" style:
next-style-name=
"Document SubTitle">
141 <style:properties fo:
text-align=
"center" style:
justify-single-word=
"false" fo:
font-size=
"20pt"/>
143 <style:style style:
name=
"Document SubTitle" style:
family=
"paragraph" style:
parent-style-name=
"Document Title" style:
next-style-name=
"Text body">
144 <style:properties fo:
font-size=
"14pt"/>
146 <style:style style:
name=
"Section SubTitle" style:
family=
"paragraph" style:
parent-style-name=
"Section Title"/>
147 <style:style style:
name=
"CopyRight" style:
family=
"paragraph" style:
parent-style-name=
"Text body"/>
148 <style:style style:
name=
"VarList Item" style:
family=
"paragraph" style:
parent-style-name=
"Text body" style:
list-style-name=
"Var List" style:
class=
"text">
149 <style:properties fo:
margin-left=
"3cm" fo:
margin-right=
"0cm" fo:
text-indent=
"0cm" style:
auto-text-indent=
"false">
151 <style:tab-stop style:
position=
"0cm"/>
155 <style:style style:
name=
"VarList Term" style:
family=
"paragraph" style:
parent-style-name=
"Text body" style:
list-style-name=
"Var List" style:
class=
"text">
156 <style:properties fo:
margin-left=
"1cm" fo:
margin-right=
"0cm" fo:
text-indent=
"-4.5cm" style:
auto-text-indent=
"false">
158 <style:tab-stop style:
position=
"0cm"/>
162 <style:style style:
name=
"Footnote Symbol" style:
family=
"text"/>
163 <style:style style:
name=
"Numbering Symbols" style:
family=
"text"/>
164 <style:style style:
name=
"Bullet Symbols" style:
family=
"text">
165 <style:properties fo:
font-size=
"9pt" style:
font-size-asian=
"9pt" style:
font-size-complex=
"9pt"/>
167 <style:style style:
name=
"Internet link" style:
family=
"text">
168 <style:properties fo:
color=
"#000080" style:
text-underline-color=
"font-color" style:
text-underline=
"single"/>
170 <style:style style:
name=
"Endnote Symbol" style:
family=
"text"/>
171 <style:style style:
name=
"Emphasis" style:
family=
"text">
172 <style:properties fo:
font-style=
"italic" style:
font-style-asian=
"italic" style:
font-style-complex=
"italic"/>
174 <style:style style:
name=
"Source Text" style:
family=
"text"/>
175 <style:style style:
name=
"Highlight" style:
family=
"text">
176 <style:properties style:
text-background-color=
"#fff000"/>
178 <style:style style:
name=
"KeyCap" style:
family=
"text">
179 <style:properties fo:
font-weight=
"bold"/>
181 <style:style style:
name=
"Command" style:
family=
"text">
182 <style:properties fo:
font-weight=
"bold"/>
184 <style:style style:
name=
"Application" style:
family=
"text">
185 <style:properties fo:
font-weight=
"bold"/>
187 <style:style style:
name=
"FileName" style:
family=
"text">
188 <style:properties fo:
font-weight=
"bold"/>
190 <style:style style:
name=
"SuperScript" style:
family=
"text">
191 <style:properties style:
text-position=
"super 58%"/>
193 <style:style style:
name=
"SubScript" style:
family=
"text">
194 <style:properties style:
text-position=
"sub 58%"/>
196 <style:style style:
name=
"SystemItem" style:
family=
"text">
197 <style:properties fo:
font-weight=
"bold"/>
199 <style:style style:
name=
"ComputerOutput" style:
family=
"text">
200 <style:properties fo:
font-weight=
"bold"/>
202 <style:style style:
name=
"KeyCombo" style:
family=
"text">
203 <style:properties fo:
font-weight=
"bold"/>
205 <style:style style:
name=
"KeySym" style:
family=
"text">
206 <style:properties fo:
font-weight=
"bold"/>
208 <style:style style:
name=
"GuiMenu" style:
family=
"text">
209 <style:properties fo:
color=
"#000fff" fo:
font-style=
"italic"/>
211 <style:style style:
name=
"GuiSubMenu" style:
family=
"text">
212 <style:properties fo:
color=
"#ff9966" fo:
font-style=
"italic"/>
214 <style:style style:
name=
"GuiButton" style:
family=
"text">
215 <style:properties fo:
color=
"#00f0ff" fo:
font-style=
"italic"/>
217 <style:style style:
name=
"GuiMenuItem" style:
family=
"text">
218 <style:properties fo:
color=
"#00ffff" fo:
font-style=
"italic"/>
220 <style:style style:
name=
"GuiLabel" style:
family=
"text">
221 <style:properties fo:
color=
"#00777f" fo:
font-style=
"italic"/>
223 <style:style style:
name=
"Frame" style:
family=
"graphics">
224 <style:properties text:
anchor-type=
"paragraph" svg:
x=
"0cm" svg:
y=
"0cm" fo:
margin-left=
"0.201cm" fo:
margin-right=
"0.201cm" fo:
margin-top=
"0.201cm" fo:
margin-bottom=
"0.201cm" style:
wrap=
"parallel" style:
number-wrapped-paragraphs=
"no-limit" style:
wrap-contour=
"false" style:
vertical-pos=
"top" style:
vertical-rel=
"paragraph-content" style:
horizontal-pos=
"center" style:
horizontal-rel=
"paragraph-content" fo:
padding=
"0.15cm" fo:
border=
"0.002cm solid #000000"/>
227 <text:outline-level-style text:
level=
"1" style:
num-format=
""/>
228 <text:outline-level-style text:
level=
"2" style:
num-format=
""/>
229 <text:outline-level-style text:
level=
"3" style:
num-format=
""/>
230 <text:outline-level-style text:
level=
"4" style:
num-format=
""/>
231 <text:outline-level-style text:
level=
"5" style:
num-format=
""/>
232 <text:outline-level-style text:
level=
"6" style:
num-format=
""/>
233 <text:outline-level-style text:
level=
"7" style:
num-format=
""/>
234 <text:outline-level-style text:
level=
"8" style:
num-format=
""/>
235 <text:outline-level-style text:
level=
"9" style:
num-format=
""/>
236 <text:outline-level-style text:
level=
"10" style:
num-format=
""/>
237 </text:outline-style>
238 <text:list-style style:
name=
"Ordered List">
239 <text:list-level-style-number text:
level=
"1" text:
style-name=
"Numbering Symbols" style:
num-suffix=
"." style:
num-format=
"1">
240 <style:properties text:
min-label-width=
"0.499cm"/>
241 </text:list-level-style-number>
242 <text:list-level-style-number text:
level=
"2" style:
num-suffix=
"." style:
num-format=
"1">
243 <style:properties text:
space-before=
"0.501cm" text:
min-label-width=
"0.499cm"/>
244 </text:list-level-style-number>
245 <text:list-level-style-number text:
level=
"3" style:
num-suffix=
"." style:
num-format=
"1">
246 <style:properties text:
space-before=
"1cm" text:
min-label-width=
"0.499cm"/>
247 </text:list-level-style-number>
248 <text:list-level-style-number text:
level=
"4" style:
num-suffix=
"." style:
num-format=
"1">
249 <style:properties text:
space-before=
"1.501cm" text:
min-label-width=
"0.499cm"/>
250 </text:list-level-style-number>
251 <text:list-level-style-number text:
level=
"5" style:
num-suffix=
"." style:
num-format=
"1">
252 <style:properties text:
space-before=
"2cm" text:
min-label-width=
"0.499cm"/>
253 </text:list-level-style-number>
254 <text:list-level-style-number text:
level=
"6" style:
num-suffix=
"." style:
num-format=
"1">
255 <style:properties text:
space-before=
"2.501cm" text:
min-label-width=
"0.499cm"/>
256 </text:list-level-style-number>
257 <text:list-level-style-number text:
level=
"7" style:
num-suffix=
"." style:
num-format=
"1">
258 <style:properties text:
space-before=
"3.001cm" text:
min-label-width=
"0.499cm"/>
259 </text:list-level-style-number>
260 <text:list-level-style-number text:
level=
"8" style:
num-suffix=
"." style:
num-format=
"1">
261 <style:properties text:
space-before=
"3.502cm" text:
min-label-width=
"0.499cm"/>
262 </text:list-level-style-number>
263 <text:list-level-style-number text:
level=
"9" style:
num-suffix=
"." style:
num-format=
"1">
264 <style:properties text:
space-before=
"4.001cm" text:
min-label-width=
"0.499cm"/>
265 </text:list-level-style-number>
266 <text:list-level-style-number text:
level=
"10" style:
num-suffix=
"." style:
num-format=
"1">
267 <style:properties text:
space-before=
"4.502cm" text:
min-label-width=
"0.499cm"/>
268 </text:list-level-style-number>
270 <text:list-style style:
name=
"UnOrdered List">
271 <text:list-level-style-bullet text:
level=
"1" text:
style-name=
"Bullet Symbols" text:
bullet-char=
"•">
272 <style:properties text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
273 </text:list-level-style-bullet>
274 <text:list-level-style-bullet text:
level=
"2" text:
style-name=
"Bullet Symbols" text:
bullet-char=
"•">
275 <style:properties text:
space-before=
"0.501cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
276 </text:list-level-style-bullet>
277 <text:list-level-style-bullet text:
level=
"3" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
278 <style:properties text:
space-before=
"1cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
279 </text:list-level-style-bullet>
280 <text:list-level-style-bullet text:
level=
"4" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
281 <style:properties text:
space-before=
"1.501cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
282 </text:list-level-style-bullet>
283 <text:list-level-style-bullet text:
level=
"5" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
284 <style:properties text:
space-before=
"2cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
285 </text:list-level-style-bullet>
286 <text:list-level-style-bullet text:
level=
"6" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
287 <style:properties text:
space-before=
"2.501cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
288 </text:list-level-style-bullet>
289 <text:list-level-style-bullet text:
level=
"7" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
290 <style:properties text:
space-before=
"3.001cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
291 </text:list-level-style-bullet>
292 <text:list-level-style-bullet text:
level=
"8" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
293 <style:properties text:
space-before=
"3.502cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
294 </text:list-level-style-bullet>
295 <text:list-level-style-bullet text:
level=
"9" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
296 <style:properties text:
space-before=
"4.001cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
297 </text:list-level-style-bullet>
298 <text:list-level-style-bullet text:
level=
"10" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
299 <style:properties text:
space-before=
"4.502cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
300 </text:list-level-style-bullet>
302 <text:list-style style:
name=
"Var List">
303 <text:list-level-style-bullet text:
level=
"1" text:
style-name=
"Bullet Symbols" text:
bullet-char=
"•">
304 <style:properties text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
305 </text:list-level-style-bullet>
306 <text:list-level-style-bullet text:
level=
"2" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
307 <style:properties text:
space-before=
"0.501cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
308 </text:list-level-style-bullet>
309 <text:list-level-style-bullet text:
level=
"3" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
310 <style:properties text:
space-before=
"1cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
311 </text:list-level-style-bullet>
312 <text:list-level-style-bullet text:
level=
"4" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
313 <style:properties text:
space-before=
"1.501cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
314 </text:list-level-style-bullet>
315 <text:list-level-style-bullet text:
level=
"5" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
316 <style:properties text:
space-before=
"2cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
317 </text:list-level-style-bullet>
318 <text:list-level-style-bullet text:
level=
"6" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
319 <style:properties text:
space-before=
"2.501cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
320 </text:list-level-style-bullet>
321 <text:list-level-style-bullet text:
level=
"7" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
322 <style:properties text:
space-before=
"3.001cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
323 </text:list-level-style-bullet>
324 <text:list-level-style-bullet text:
level=
"8" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
325 <style:properties text:
space-before=
"3.502cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
326 </text:list-level-style-bullet>
327 <text:list-level-style-bullet text:
level=
"9" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
328 <style:properties text:
space-before=
"4.001cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
329 </text:list-level-style-bullet>
330 <text:list-level-style-bullet text:
level=
"10" text:
style-name=
"Bullet Symbols" style:
num-suffix=
"." text:
bullet-char=
"•">
331 <style:properties text:
space-before=
"4.502cm" text:
min-label-width=
"0.499cm" fo:
font-family=
"StarSymbol" style:
font-charset=
"x-symbol"/>
332 </text:list-level-style-bullet>
334 <text:footnotes-configuration text:
citation-style-name=
"Footnote Symbol" style:
num-format=
"1" text:
start-value=
"0" text:
footnotes-position=
"page" text:
start-numbering-at=
"page"/>
335 <text:endnotes-configuration text:
citation-style-name=
"Endnote Symbol" text:
master-page-name=
"Endnote" style:
num-format=
"1" text:
start-value=
"0"/>
336 <text:linenumbering-configuration text:
number-lines=
"false" text:
offset=
"0.499cm" style:
num-format=
"1" text:
number-position=
"left" text:
increment=
"5"/>
338 <office:automatic-styles>
339 <style:page-master style:
name=
"pm1">
340 <style:properties fo:
page-width=
"20.999cm" fo:
page-height=
"29.699cm" style:
num-format=
"1" style:
print-orientation=
"portrait" fo:
margin-top=
"2.54cm" fo:
margin-bottom=
"2.54cm" fo:
margin-left=
"3.175cm" fo:
margin-right=
"3.175cm" style:
writing-mode=
"lr-tb" style:
footnote-max-height=
"0cm">
341 <style:footnote-sep style:
width=
"0.018cm" style:
distance-before-sep=
"0.101cm" style:
distance-after-sep=
"0.101cm" style:
adjustment=
"left" style:
rel-width=
"25%" style:
color=
"#000000"/>
343 <style:header-style/>
344 <style:footer-style/>
346 <style:page-master style:
name=
"pm2">
347 <style:properties fo:
page-width=
"20.999cm" fo:
page-height=
"29.699cm" style:
num-format=
"1" style:
print-orientation=
"portrait" fo:
margin-top=
"2cm" fo:
margin-bottom=
"2cm" fo:
margin-left=
"2cm" fo:
margin-right=
"2cm" style:
writing-mode=
"lr-tb" style:
footnote-max-height=
"0cm">
348 <style:footnote-sep style:
adjustment=
"left" style:
rel-width=
"25%" style:
color=
"#000000"/>
350 <style:header-style/>
351 <style:footer-style/>
353 </office:automatic-styles>
354 <office:master-styles>
355 <style:master-page style:
name=
"Standard" style:
page-master-name=
"pm1"/>
356 <style:master-page style:
name=
"Endnote" style:
page-master-name=
"pm2"/>
357 </office:master-styles>
359 <xsl:apply-templates/>
364 <xsl:template match=
"subtitle">
366 <xsl:when test=
"parent::table">
367 <xsl:apply-templates/>
369 <xsl:when test=
"parent::informaltable">
370 <xsl:apply-templates/>
373 <xsl:element name=
"text:p">
374 <xsl:attribute name=
"text:style-name">Section SubTitle
</xsl:attribute>
383 <xsl:template match=
"title">
385 <xsl:when test=
"parent::figure"></xsl:when>
386 <xsl:when test=
"parent::table"></xsl:when>
387 <xsl:when test=
"parent::sect1"></xsl:when>
388 <xsl:when test=
"parent::sect2"></xsl:when>
389 <xsl:when test=
"parent::sect3"></xsl:when>
390 <xsl:when test=
"parent::sect4"></xsl:when>
391 <xsl:when test=
"parent::sect5"></xsl:when>
392 <xsl:when test=
"parent::informaltable">
393 <xsl:apply-templates/>
397 <xsl:element name=
"text:p">
400 <xsl:when test=
"parent::appendix">
401 <xsl:attribute name=
"text:style-name">Appendix Title
</xsl:attribute>
404 <xsl:apply-templates/>
410 <xsl:template match=
"articleinfo">
411 <xsl:element name=
"text:section">
412 <xsl:attribute name=
"text:style-name">ArticleInfo
</xsl:attribute>
413 <xsl:attribute name=
"text:name">ArticleInfo
</xsl:attribute>
414 <xsl:if test=
"/article/articleinfo/title !=''">
415 <xsl:element name=
"text:p">
416 <xsl:attribute name=
"text:style-name">Document Title
</xsl:attribute>
417 <xsl:value-of select=
"/article/articleinfo/title"/>
419 <xsl:if test=
"/article/articleinfo/subtitle !=''">
420 <xsl:element name=
"text:p">
421 <xsl:attribute name=
"text:style-name">Document SubTitle
</xsl:attribute>
422 <xsl:value-of select=
"/article/articleinfo/subtitle"/>
426 <xsl:apply-templates/>
431 <xsl:template match=
"appendix">
432 <xsl:element name=
"text:section">
433 <xsl:attribute name=
"text:style-name">Appendix
</xsl:attribute>
434 <xsl:attribute name=
"text:name">Appendix
</xsl:attribute>
435 <xsl:apply-templates/>
441 <xsl:template match="author">
442 <xsl:apply-templates/>
445 <xsl:template match="firstname">
446 <xsl:element name="text:variable-set">
447 <xsl:attribute name="text:name">
448 <xsl:if test="ancestor::articleinfo/author">
449 <xsl:text disable-output-escaping="yes">articleinfo.author</xsl:text><xsl:value-of select="count(parent::author[preceding-sibling::author])"/><xsl:text disable-output-escaping="yes">.firstname</xsl:text><xsl:value-of select="count(preceding-sibling::firstname)"/>
452 <xsl:apply-templates/>
457 <xsl:template match=
"articleinfo/title">
458 <!-- <xsl:element name="text:variable-decls">
459 <xsl:element name="text:variable-decl">
460 <xsl:attribute name="text:value-type">
461 <xsl:text>string</xsl:text>
463 <xsl:attribute name="text:name">
464 <xsl:text disable-output-escaping="yes">articleinfo.title</xsl:text>
469 <xsl:element name="text:p">
470 <xsl:element name="text:variable-set">
471 <xsl:attribute name="text:value-type">
472 <xsl:text>string</xsl:text>
474 <xsl:attribute name="text:name">
475 <xsl:text disable-output-escaping="yes">articleinfo.title</xsl:text>
477 <xsl:apply-templates/>
479 </xsl:element>--></xsl:template>
481 <xsl:template match=
"articleinfo/subtitle">
482 <xsl:element name=
"text:variable-decls">
483 <xsl:element name=
"text:variable-decl">
484 <xsl:attribute name=
"text:value-type">
485 <xsl:text>string
</xsl:text>
487 <xsl:attribute name=
"text:name">
488 <xsl:text disable-output-escaping=
"yes">articleinfo.subtitle
</xsl:text>
492 <xsl:element name=
"text:p">
493 <xsl:element name=
"text:variable-set">
494 <xsl:attribute name=
"text:value-type">
495 <xsl:text>string
</xsl:text>
497 <xsl:attribute name=
"text:name">
498 <xsl:text disable-output-escaping=
"yes">articleinfo.subtitle
</xsl:text>
500 <xsl:apply-templates/>
505 <xsl:template match=
"articleinfo/edition">
506 <xsl:element name=
"text:variable-decls">
507 <xsl:element name=
"text:variable-decl">
508 <xsl:attribute name=
"text:value-type">
509 <xsl:text>string
</xsl:text>
511 <xsl:attribute name=
"text:name">
512 <xsl:text disable-output-escaping=
"yes">articleinfo.edition
</xsl:text>
516 <xsl:element name=
"text:p">
517 <xsl:element name=
"text:variable-set">
518 <xsl:attribute name=
"text:value-type">
519 <xsl:text>string
</xsl:text>
521 <xsl:attribute name=
"text:name">
522 <xsl:text disable-output-escaping=
"yes">articleinfo.edition
</xsl:text>
524 <xsl:apply-templates/>
529 <xsl:template match=
"articleinfo/releaseinfo">
530 <xsl:element name=
"text:variable-decls">
531 <xsl:element name=
"text:variable-decl">
532 <xsl:attribute name=
"text:value-type">
533 <xsl:text>string
</xsl:text>
535 <xsl:attribute name=
"text:name">
536 <xsl:text disable-output-escaping=
"yes">articleinfo.releaseinfo_
</xsl:text>
537 <xsl:value-of select=
"count(preceding-sibling::releaseinfo)"/>
541 <xsl:element name=
"text:p">
542 <xsl:element name=
"text:variable-set">
543 <xsl:attribute name=
"text:value-type">
544 <xsl:text>string
</xsl:text>
546 <xsl:attribute name=
"text:name">
547 <xsl:text disable-output-escaping=
"yes">articleinfo.releaseinfo_
</xsl:text>
548 <xsl:value-of select=
"count(preceding-sibling::releaseinfo)"/>
550 <xsl:apply-templates/>
556 <xsl:template match=
"author/firstname">
557 <xsl:element name=
"text:variable-decls">
558 <xsl:element name=
"text:variable-decl">
559 <xsl:attribute name=
"text:value-type">
560 <xsl:text>string
</xsl:text>
563 <xsl:attribute name=
"text:name">
564 <xsl:if test=
"ancestor::articleinfo">
565 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
566 <xsl:value-of select=
"count(parent::author[preceding-sibling::author])"/>
567 <xsl:text disable-output-escaping=
"yes">.firstname_
</xsl:text>
568 <xsl:value-of select=
"count(preceding-sibling::firstname)"/>
573 <xsl:element name=
"text:p">
574 <xsl:element name=
"text:variable-set">
575 <xsl:attribute name=
"text:value-type">
576 <xsl:text>string
</xsl:text>
578 <xsl:attribute name=
"text:name">
579 <xsl:if test=
"ancestor::articleinfo">
580 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
581 <xsl:value-of select=
"count(parent::author[preceding-sibling::author])"/>
582 <xsl:text disable-output-escaping=
"yes">.firstname_
</xsl:text>
583 <xsl:value-of select=
"count(preceding-sibling::firstname)"/>
586 <xsl:apply-templates/>
593 <xsl:template match=
"articleinfo/copyright/year">
594 <xsl:element name=
"text:variable-decls">
595 <xsl:element name=
"text:variable-decl">
596 <xsl:attribute name=
"text:value-type">
597 <xsl:text>string
</xsl:text>
600 <xsl:attribute name=
"text:name">
601 <xsl:if test=
"ancestor::articleinfo/copyright">
602 <xsl:text disable-output-escaping=
"yes">articleinfo.copyright_
</xsl:text>
603 <xsl:value-of select=
"count(parent::copyright[preceding-sibling::copyright])"/>
604 <xsl:text disable-output-escaping=
"yes">.year_
</xsl:text>
605 <xsl:value-of select=
"count(preceding-sibling::year)"/>
610 <xsl:element name=
"text:p">
611 <xsl:element name=
"text:variable-set">
612 <xsl:attribute name=
"text:value-type">
613 <xsl:text>string
</xsl:text>
615 <xsl:attribute name=
"text:name">
616 <xsl:if test=
"ancestor::articleinfo/copyright">
617 <xsl:text disable-output-escaping=
"yes">articleinfo.copyright_
</xsl:text>
618 <xsl:value-of select=
"count(parent::copyright[preceding-sibling::copyright])"/>
619 <xsl:text disable-output-escaping=
"yes">.year_
</xsl:text>
620 <xsl:value-of select=
"count(preceding-sibling::year)"/>
623 <xsl:apply-templates/>
628 <xsl:template match=
"authorgroup">
629 <xsl:apply-templates/>
632 <xsl:template match=
"articleinfo/copyright/holder">
633 <xsl:element name=
"text:variable-decls">
634 <xsl:element name=
"text:variable-decl">
635 <xsl:attribute name=
"text:value-type">
636 <xsl:text>string
</xsl:text>
639 <xsl:attribute name=
"text:name">
640 <xsl:if test=
"ancestor::articleinfo/copyright">
641 <xsl:text disable-output-escaping=
"yes">articleinfo.copyright_
</xsl:text>
642 <xsl:value-of select=
"count(parent::copyright[preceding-sibling::copyright])"/>
643 <xsl:text disable-output-escaping=
"yes">.holder_
</xsl:text>
644 <xsl:value-of select=
"count(preceding-sibling::holder)"/>
649 <xsl:element name=
"text:p">
650 <xsl:element name=
"text:variable-set">
651 <xsl:attribute name=
"text:value-type">
652 <xsl:text>string
</xsl:text>
654 <xsl:attribute name=
"text:name">
655 <xsl:if test=
"ancestor::articleinfo/copyright">
656 <xsl:text disable-output-escaping=
"yes">articleinfo.copyright_
</xsl:text>
657 <xsl:value-of select=
"count(parent::copyright[preceding-sibling::copyright])"/>
658 <xsl:text disable-output-escaping=
"yes">.holder_
</xsl:text>
659 <xsl:value-of select=
"count(preceding-sibling::holder)"/>
662 <xsl:apply-templates/>
670 <xsl:template name=
"affiliation">
671 <xsl:apply-templates/>
674 <xsl:template match=
"author/affiliation/address">
675 <xsl:element name=
"text:variable-decls">
676 <xsl:element name=
"text:variable-decl">
677 <xsl:attribute name=
"text:value-type">
678 <xsl:text>string
</xsl:text>
680 <xsl:attribute name=
"text:name">
681 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
682 <xsl:value-of select=
"count(ancestor::author[preceding-sibling::author])"/>
683 <xsl:text disable-output-escaping=
"yes">.affiliation_
</xsl:text>
684 <xsl:value-of select=
"count(parent::affiliation[preceding-sibling::affiliation])"/>
685 <xsl:text disable-output-escaping=
"yes">.address_
</xsl:text>
686 <xsl:value-of select=
"count(preceding-sibling::address)"/>
690 <xsl:element name=
"text:p">
691 <xsl:element name=
"text:variable-set">
692 <xsl:attribute name=
"text:value-type">
693 <xsl:text>string
</xsl:text>
695 <xsl:attribute name=
"text:name">
696 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
697 <xsl:value-of select=
"count(ancestor::author[preceding-sibling::author])"/>
698 <xsl:text disable-output-escaping=
"yes">.affiliation_
</xsl:text>
699 <xsl:value-of select=
"count(parent::affiliation[preceding-sibling::affiliation])"/>
700 <xsl:text disable-output-escaping=
"yes">.address_
</xsl:text>
701 <xsl:value-of select=
"count(preceding-sibling::address)"/>
704 <xsl:apply-templates/>
709 <xsl:template match=
"author/affiliation/orgname">
710 <xsl:element name=
"text:variable-decls">
711 <xsl:element name=
"text:variable-decl">
712 <xsl:attribute name=
"text:value-type">
713 <xsl:text>string
</xsl:text>
715 <xsl:if test=
"ancestor::articleinfo">
716 <xsl:attribute name=
"text:name">
717 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
718 <xsl:value-of select=
"count(ancestor::author[preceding-sibling::author])"/>
719 <xsl:text disable-output-escaping=
"yes">.affiliation_
</xsl:text>
720 <xsl:value-of select=
"count(parent::affiliation[preceding-sibling::affiliation])"/>
721 <xsl:text disable-output-escaping=
"yes">.orgname_
</xsl:text>
722 <xsl:value-of select=
"count(preceding-sibling::orgname)"/>
727 <xsl:element name=
"text:p">
728 <xsl:element name=
"text:variable-set">
729 <xsl:attribute name=
"text:value-type">
730 <xsl:text>string
</xsl:text>
732 <xsl:if test=
"ancestor::articleinfo">
733 <xsl:attribute name=
"text:name">
734 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
735 <xsl:value-of select=
"count(ancestor::author[preceding-sibling::author])"/>
736 <xsl:text disable-output-escaping=
"yes">.affiliation_
</xsl:text>
737 <xsl:value-of select=
"count(parent::affiliation[preceding-sibling::affiliation])"/>
738 <xsl:text disable-output-escaping=
"yes">.orgname_
</xsl:text>
739 <xsl:value-of select=
"count(preceding-sibling::orgname)"/>
742 <xsl:apply-templates/>
749 <xsl:template match=
"author/surname">
750 <xsl:element name=
"text:variable-decls">
751 <xsl:element name=
"text:variable-decl">
752 <xsl:attribute name=
"text:value-type">
753 <xsl:text>string
</xsl:text>
756 <xsl:attribute name=
"text:name">
757 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
758 <xsl:value-of select=
"count(parent::author[preceding-sibling::author])"/>
759 <xsl:text disable-output-escaping=
"yes">.surname_
</xsl:text>
760 <xsl:value-of select=
"count(preceding-sibling::surname)"/>
764 <xsl:element name=
"text:p">
765 <xsl:element name=
"text:variable-set">
766 <xsl:attribute name=
"text:value-type">
767 <xsl:text>string
</xsl:text>
769 <xsl:attribute name=
"text:name">
770 <xsl:text disable-output-escaping=
"yes">articleinfo.author_
</xsl:text>
771 <xsl:value-of select=
"count(parent::author[preceding-sibling::author])"/>
772 <xsl:text disable-output-escaping=
"yes">.surname_
</xsl:text>
773 <xsl:value-of select=
"count(preceding-sibling::surname)"/>
777 <xsl:apply-templates/>
786 <xsl:template match=
"para">
788 <xsl:element name=
"text:p">
791 <xsl:when test=
"ancestor-or-self::footnote">
792 <xsl:attribute name=
"text:style-name">Footnote
</xsl:attribute>
794 <xsl:when test=
"ancestor-or-self::listitem">
795 <xsl:attribute name=
"text:style-name">VarList Item
</xsl:attribute>
797 <xsl:when test=
"ancestor-or-self::informaltable">
798 <xsl:if test=
"ancestor-or-self::informaltable">
799 <xsl:attribute name=
"text:style-name">Table Contents
</xsl:attribute>
801 <xsl:if test=
"ancestor-or-self::thead">
802 <xsl:attribute name=
"text:style-name">Table Heading
</xsl:attribute>
805 <xsl:when test=
"ancestor-or-self::table">
806 <xsl:if test=
"ancestor-or-self::table">
807 <xsl:attribute name=
"text:style-name">Table Contents
</xsl:attribute>
809 <xsl:if test=
"ancestor-or-self::thead">
810 <xsl:attribute name=
"text:style-name">Table Heading
</xsl:attribute>
814 <xsl:attribute name=
"text:style-name">Text body
</xsl:attribute>
818 <xsl:apply-templates/>
823 <xsl:template match=
"section">
824 <xsl:element name=
"text:h">
825 <xsl:attribute name=
"text:level">
826 <xsl:value-of select=
"count(ancestor-or-self::section)"/>
828 <xsl:value-of select=
"child::title"/>
830 <xsl:apply-templates/>
833 <xsl:template match=
"abstract">
834 <xsl:element name=
"text:h">
835 <xsl:attribute name=
"text:level">1</xsl:attribute>
836 <xsl:text>abstract
</xsl:text>
838 <xsl:apply-templates/>
842 <xsl:template match=
"appendix">
843 <xsl:element name=
"text:h">
844 <xsl:attribute name=
"text:level">1</xsl:attribute>
845 <xsl:text>appendix
</xsl:text>
847 <xsl:apply-templates/>
850 <xsl:template match=
"sect1">
851 <xsl:element name=
"text:h">
852 <xsl:attribute name=
"text:level">1</xsl:attribute>
853 <xsl:attribute name=
"text:style-name">Heading
1</xsl:attribute>
854 <xsl:value-of select=
"child::title"/>
856 <xsl:apply-templates/>
859 <xsl:template match=
"sect2">
860 <xsl:element name=
"text:h">
861 <xsl:attribute name=
"text:level">2</xsl:attribute>
862 <xsl:attribute name=
"text:style-name">Heading
2</xsl:attribute>
863 <xsl:value-of select=
"child::title"/>
865 <xsl:apply-templates/>
868 <xsl:template match=
"sect3">
869 <xsl:element name=
"text:h">
870 <xsl:attribute name=
"text:level">3</xsl:attribute>
871 <xsl:attribute name=
"text:style-name">Heading
3</xsl:attribute>
872 <xsl:value-of select=
"child::title"/>
874 <xsl:apply-templates/>
877 <xsl:template match=
"sect4">
878 <xsl:element name=
"text:h">
879 <xsl:attribute name=
"text:level">4</xsl:attribute>
880 <xsl:attribute name=
"text:style-name">Heading
4</xsl:attribute>
881 <xsl:value-of select=
"child::title"/>
883 <xsl:apply-templates/>
886 <xsl:template match=
"sect5">
887 <xsl:element name=
"text:h">
888 <xsl:attribute name=
"text:level">5</xsl:attribute>
889 <xsl:value-of select=
"child::title"/>
891 <xsl:apply-templates/>
894 <!--<xsl:template match="sect5">
895 <xsl:element name="text:section">
896 <xsl:attribute name="text:style-name">Sect1</xsl:attribute>
897 <xsl:attribute name="text:name"><xsl:value-of select="@id"/></xsl:attribute>
898 <xsl:apply-templates/>
903 <xsl:template match=
"informaltable">
904 <xsl:element name=
"table:table">
905 <xsl:attribute name=
"table:name"></xsl:attribute>
906 <xsl:attribute name=
"table:style-name">Table1
</xsl:attribute>
907 <xsl:attribute name=
"table:name">
908 <xsl:value-of select=
"@id"/>
910 <xsl:apply-templates/>
915 <xsl:template match=
"table">
916 <xsl:variable name=
"tabletitle">
917 <xsl:value-of select=
"title"/>
919 <xsl:element name=
"table:table">
920 <xsl:attribute name=
"table:name"></xsl:attribute>
921 <xsl:attribute name=
"table:style-name">Table1
</xsl:attribute>
922 <xsl:attribute name=
"table:name">
923 <xsl:value-of select=
"@id"/>
925 <xsl:apply-templates/>
927 <xsl:if test=
"not($tabletitle='')">
928 <xsl:element name=
"text:p">
929 <xsl:attribute name=
"text:style-name">Table
</xsl:attribute>
930 <xsl:value-of select=
"$tabletitle"/>
935 <xsl:template match=
"tgroup">
936 <xsl:element name=
"table:table-column">
937 <xsl:attribute name=
"table:style-name">Table1.A
</xsl:attribute>
939 <xsl:when test=
"@cols >0">
940 <xsl:attribute name=
"table:number-columns-repeated">
941 <xsl:value-of select=
"@cols"/>
945 <xsl:attribute name=
"table:number-columns-repeated">
946 <xsl:value-of select=
"count(child::tbody/row/entry) div count(child::tbody/row)"/>
951 <xsl:apply-templates/>
955 <xsl:template match=
"indexterm"></xsl:template>
957 <xsl:template match=
"thead">
958 <xsl:element name=
"table:table-header-rows">
959 <xsl:apply-templates/>
963 <xsl:template match=
"tbody">
964 <xsl:apply-templates/>
967 <xsl:template match=
"row">
968 <xsl:element name=
"table:table-row">
969 <xsl:apply-templates/>
973 <xsl:template match=
"entry">
974 <xsl:element name=
"table:table-cell">
975 <xsl:if test=
"ancestor-or-self::thead">
976 <xsl:attribute name=
"table:style-name">Table1.A1
</xsl:attribute>
978 <xsl:if test=
"not(ancestor-or-self::thead)">
979 <xsl:attribute name=
"table:style-name">Table1.A2
</xsl:attribute>
983 <xsl:when test=
"@spanname">
984 <!--<xsl:if test="@spanname">-->
985 <xsl:variable name=
"sname">
986 <xsl:value-of select=
"@spanname"/>
988 <xsl:attribute name=
"table:number-columns-spanned">
989 <xsl:variable name=
"colnamestart">
990 <xsl:value-of select=
"ancestor::tgroup/spanspec[@spanname=$sname]/@namest"/>
992 <xsl:variable name=
"colnameend">
993 <xsl:value-of select=
"ancestor::tgroup/spanspec[@spanname=$sname]/@nameend"/>
995 <xsl:variable name=
"colnumstart">
996 <xsl:value-of select=
"ancestor::tgroup/colspec[@colname=$colnamestart]/@colnum"/>
998 <xsl:variable name=
"colnumend">
999 <xsl:value-of select=
"ancestor::tgroup/colspec[@colname=$colnameend]/@colnum"/>
1001 <xsl:value-of select=
"$colnumend - $colnumstart + 1"/>
1004 <xsl:when test=
"@namest and @nameend">
1005 <!--<xsl:if test="@namest and @nameend">-->
1006 <xsl:variable name=
"colnamestart">
1007 <xsl:value-of select=
"@namest"/>
1009 <xsl:variable name=
"colnameend">
1010 <xsl:value-of select=
"@nameend"/>
1013 <xsl:attribute name=
"table:number-columns-spanned">
1014 <xsl:variable name=
"colnumstart">
1015 <xsl:value-of select=
"ancestor::tgroup/colspec[@colname=$colnamestart]/@colnum"/>
1017 <xsl:variable name=
"colnumend">
1018 <xsl:value-of select=
"ancestor::tgroup/colspec[@colname=$colnameend]/@colnum"/>
1020 <xsl:value-of select=
"$colnumend - $colnumstart + 1"/>
1026 <xsl:if test="not(@namest = '' ) ">
1027 <xsl:attribute name="table:number-columns-spanned">
1028 <xsl:value-of select="(substring-after(@nameend,'c')-substring-after(@namest,'c'))+1"/>
1034 <xsl:when test=
"not(child::para)">
1035 <xsl:element name=
"text:p">
1036 <xsl:if test=
"ancestor-or-self::thead">
1037 <xsl:attribute name=
"text:style-name">Table Heading
</xsl:attribute>
1039 <xsl:if test=
"ancestor-or-self::tbody">
1040 <xsl:attribute name=
"text:style-name">Table Contents
</xsl:attribute>
1042 <xsl:apply-templates/>
1046 <xsl:apply-templates/>
1057 <xsl:template match=
"figure">
1058 <xsl:apply-templates/>
1061 <!-- lists Section -->
1063 <xsl:template match=
"itemizedlist">
1064 <xsl:element name=
"text:unordered-list">
1065 <xsl:if test=
"not(ancestor::itemizedlist)">
1066 <xsl:attribute name=
"text:style-name">L1
</xsl:attribute>
1068 <xsl:apply-templates/>
1072 <xsl:template match=
"variablelist">
1073 <xsl:element name=
"text:unordered-list">
1074 <xsl:attribute name=
"text:style-name">Var List
</xsl:attribute>
1075 <xsl:attribute name=
"text:continue-numbering">false
</xsl:attribute>
1076 <xsl:apply-templates/>
1080 <xsl:template match=
"orderedlist">
1081 <xsl:element name=
"text:ordered-list">
1082 <xsl:attribute name=
"text:style-name">Ordered List
</xsl:attribute>
1083 <xsl:attribute name=
"text:continue-numbering">false
</xsl:attribute>
1084 <xsl:apply-templates/>
1088 <xsl:template match=
"term">
1089 <xsl:if test=
"parent::varlistentry">
1091 <xsl:element name=
"text:p">
1092 <xsl:attribute name=
"text:style-name">VarList Term
</xsl:attribute>
1093 <xsl:apply-templates/>
1099 <xsl:template match=
"listitem">
1101 <xsl:apply-templates/>
1105 <!-- end of lists-->
1107 <xsl:template match=
"menuchoice">
1108 <xsl:apply-templates/>
1111 <xsl:template match=
"guimenuitem">
1112 <xsl:element name=
"text:span">
1113 <xsl:attribute name=
"text:style-name">GuiMenuItem
</xsl:attribute>
1114 <xsl:apply-templates/>
1118 <xsl:template match=
"guibutton">
1119 <xsl:element name=
"text:span">
1120 <xsl:attribute name=
"text:style-name">GuiButton
</xsl:attribute>
1121 <xsl:apply-templates/>
1125 <xsl:template match=
"guisubmenu">
1126 <xsl:element name=
"text:span">
1127 <xsl:attribute name=
"text:style-name">GuiSubMenu
</xsl:attribute>
1128 <xsl:apply-templates/>
1132 <xsl:template match=
"emphasis">
1133 <xsl:element name=
"text:span">
1134 <xsl:attribute name=
"text:style-name">Emphasis
</xsl:attribute>
1135 <xsl:apply-templates/>
1140 <xsl:template match=
"guimenu">
1141 <xsl:element name=
"text:span">
1142 <xsl:attribute name=
"text:style-name">GuiMenu
</xsl:attribute>
1143 <xsl:apply-templates/>
1147 <xsl:template match=
"guisubmenu">
1148 <xsl:element name=
"text:span">
1149 <xsl:attribute name=
"text:style-name">GuiSubMenu
</xsl:attribute>
1150 <xsl:apply-templates/>
1155 <xsl:template match=
"guilabel">
1156 <xsl:element name=
"text:span">
1157 <xsl:attribute name=
"text:style-name">GuiLabel
</xsl:attribute>
1158 <xsl:apply-templates/>
1162 <xsl:template match=
"guibutton">
1163 <xsl:element name=
"text:span">
1164 <xsl:attribute name=
"text:style-name">GuiButton
</xsl:attribute>
1165 <xsl:apply-templates/>
1169 <xsl:template match=
"keycap">
1170 <xsl:element name=
"text:span">
1171 <xsl:attribute name=
"text:style-name">KeyCap
</xsl:attribute>
1172 <xsl:apply-templates/>
1177 <xsl:template match=
"keysym">
1178 <xsl:element name=
"text:span">
1179 <xsl:attribute name=
"text:style-name">KeySym
</xsl:attribute>
1180 <xsl:apply-templates/>
1185 <xsl:template match=
"keycombo">
1186 <xsl:element name=
"text:span">
1187 <xsl:attribute name=
"text:style-name">KeyCombo
</xsl:attribute>
1188 <xsl:apply-templates/>
1192 <xsl:template match=
"command">
1193 <xsl:element name=
"text:span">
1194 <xsl:attribute name=
"text:style-name">Command
</xsl:attribute>
1195 <xsl:apply-templates/>
1199 <xsl:template match=
"application">
1200 <xsl:element name=
"text:span">
1201 <xsl:attribute name=
"text:style-name">Application
</xsl:attribute>
1202 <xsl:apply-templates/>
1206 <xsl:template match=
"filename">
1207 <xsl:element name=
"text:span">
1208 <xsl:attribute name=
"text:style-name">FileName
</xsl:attribute>
1209 <xsl:apply-templates/>
1213 <xsl:template match=
"systemitem">
1214 <xsl:element name=
"text:span">
1215 <xsl:attribute name=
"text:style-name">SystemItem
</xsl:attribute>
1216 <xsl:apply-templates/>
1220 <xsl:template match=
"computeroutput">
1221 <xsl:element name=
"text:span">
1222 <xsl:attribute name=
"text:style-name">ComputerOutput
</xsl:attribute>
1223 <xsl:apply-templates/>
1227 <xsl:template match=
"inlinegraphic">
1228 <xsl:element name=
"draw:image">
1229 <xsl:attribute name=
"draw:style-name">fr1
</xsl:attribute>
1230 <xsl:attribute name=
"draw:name"></xsl:attribute>
1231 <xsl:attribute name=
"text:anchor-type"></xsl:attribute>
1232 <xsl:attribute name=
"draw:z-index"></xsl:attribute>
1233 <xsl:attribute name=
"xlink:href">
1234 <xsl:value-of select=
"@fileref"/>
1236 <xsl:attribute name=
"xlink:type"></xsl:attribute>
1237 <xsl:attribute name=
"svg:width">
1238 <!--<xsl:value-of select="@width"/>-->
1239 <xsl:text>1cm
</xsl:text>
1241 <xsl:attribute name=
"svg:height">
1242 <xsl:text>1cm
</xsl:text>
1244 <xsl:attribute name=
"xlink:show">
1245 <xsl:text>embed
</xsl:text>
1247 <xsl:attribute name=
"xlink:actuate">
1248 <xsl:text>onLoad
</xsl:text>
1250 <xsl:attribute name=
"draw:filter-name">
1251 <xsl:text disable-output-escaping=
"yes"><All formats
></xsl:text>
1257 <xsl:template match=
"footnote">
1258 <xsl:element name=
"text:footnote">
1259 <!--<xsl:element name="text:footnote-citation">Aidan</xsl:element>-->
1260 <xsl:element name=
"text:footnote-body">
1261 <xsl:apply-templates/>
1266 <xsl:template match=
"highlight">
1267 <xsl:element name=
"text:span">
1268 <xsl:attribute name=
"text:style-name">Highlight
</xsl:attribute>
1269 <xsl:apply-templates/>
1273 <xsl:template match=
"ulink">
1274 <xsl:element name=
"text:a">
1275 <xsl:attribute name=
"xlink:type">
1276 <xsl:text>simple
</xsl:text>
1278 <xsl:attribute name=
"xlink:href">
1279 <xsl:value-of select=
"@url"/>
1281 <xsl:apply-templates/>
1286 <xsl:template match=
"link">
1287 <xsl:element name=
"text:a">
1288 <xsl:attribute name=
"xlink:type">
1289 <xsl:text>simple
</xsl:text>
1291 <xsl:attribute name=
"xlink:href">
1292 <xsl:text>#
</xsl:text>
1293 <xsl:value-of select=
"@linkend"/>
1294 <xsl:text>%
7Cregion
</xsl:text>
1296 <xsl:apply-templates/>
1301 <xsl:template match=
"olink">
1302 <xsl:element name=
"text:a">
1303 <xsl:attribute name=
"xlink:type">
1304 <xsl:text>simple
</xsl:text>
1306 <xsl:attribute name=
"xlink:href">
1307 <xsl:value-of select=
"@targetdocent"/>
1309 <xsl:apply-templates/>
1313 <xsl:template match=
"note">
1316 <xsl:apply-templates/>
1318 </office:annotation>
1321 <xsl:template match=
"imageobject">
1322 <xsl:apply-templates/>
1325 <xsl:template match=
"textobject"></xsl:template>
1327 <xsl:template match=
"caption">
1328 <xsl:apply-templates/>
1332 <xsl:template match=
"imagedata">
1333 <xsl:element name=
"draw:image">
1334 <xsl:attribute name=
"draw:style-name">fr1
</xsl:attribute>
1335 <xsl:attribute name=
"draw:name"></xsl:attribute>
1336 <xsl:attribute name=
"text:anchor-type"></xsl:attribute>
1337 <xsl:attribute name=
"draw:z-index"></xsl:attribute>
1338 <xsl:attribute name=
"xlink:href">
1339 <xsl:value-of select=
"@fileref"/>
1341 <xsl:attribute name=
"xlink:type"></xsl:attribute>
1342 <xsl:attribute name=
"svg:width">
1343 <!--<xsl:value-of select="@width"/>-->
1344 <xsl:text>1cm
</xsl:text>
1346 <xsl:attribute name=
"svg:height">
1347 <xsl:text>1cm
</xsl:text>
1349 <xsl:attribute name=
"xlink:show">
1350 <xsl:text>embed
</xsl:text>
1352 <xsl:attribute name=
"xlink:actuate">
1353 <xsl:text>onLoad
</xsl:text>
1355 <xsl:attribute name=
"draw:filter-name">
1356 <xsl:text disable-output-escaping=
"yes"><All formats
></xsl:text>
1361 <xsl:template match=
"audioobject">
1362 <xsl:element name=
"draw:plugin">
1363 <xsl:attribute name=
"draw:style-name">fr1
</xsl:attribute>
1364 <xsl:attribute name=
"draw:name"></xsl:attribute>
1365 <xsl:attribute name=
"text:anchor-type"></xsl:attribute>
1366 <xsl:attribute name=
"draw:z-index"></xsl:attribute>
1367 <xsl:attribute name=
"xlink:href">
1368 <xsl:value-of select=
"@fileref"/>
1370 <xsl:attribute name=
"xlink:type"></xsl:attribute>
1371 <xsl:attribute name=
"svg:width">
1372 <!--<xsl:value-of select="@width"/>-->
1373 <xsl:text>1cm
</xsl:text>
1375 <xsl:attribute name=
"svg:height">
1376 <xsl:text>1cm
</xsl:text>
1378 <xsl:attribute name=
"xlink:show">
1379 <xsl:text>embed
</xsl:text>
1381 <xsl:attribute name=
"xlink:actuate">
1382 <xsl:text>onLoad
</xsl:text>
1384 <xsl:attribute name=
"draw:filter-name">
1385 <xsl:text disable-output-escaping=
"yes"><All formats
></xsl:text>
1390 <xsl:template match=
"remark">
1391 <xsl:apply-templates/>
1394 <xsl:template match=
"mediaobject">
1395 <xsl:element name=
"text:p">
1396 <xsl:attribute name=
"text:style-name">Mediaobject
</xsl:attribute>
1397 <xsl:apply-templates/>
1401 <xsl:template match=
"superscript">
1402 <xsl:element name=
"text:span">
1403 <xsl:attribute name=
"text:style-name">SuperScript
</xsl:attribute>
1404 <xsl:apply-templates/>
1408 <xsl:template match=
"subscript">
1409 <xsl:element name=
"text:span">
1410 <xsl:attribute name=
"text:style-name">SubScript
</xsl:attribute>
1411 <xsl:apply-templates/>
1415 <xsl:template match=
"anchor">
1416 <xsl:element name=
"text:bookmark">
1417 <xsl:attribute name=
"text:name"><xsl:value-of select=
"@id"/></xsl:attribute>
1421 <!-- Change Made By Kevin Fowlks (fowlks@msu.edu) July 2nd, 2003 -->
1422 <xsl:template match=
"example">
1423 <xsl:element name=
"text:p">
1424 <xsl:attribute name=
"text:style-name">Example
</xsl:attribute>
1425 <xsl:value-of select=
"programlisting"/>