1<?xml version="1.0" encoding="UTF-8"?> 2<!--*********************************************************** 3 * 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the 9 * "License"); you may not use this file except in compliance 10 * with the License. You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, 15 * software distributed under the License is distributed on an 16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 * KIND, either express or implied. See the License for the 18 * specific language governing permissions and limitations 19 * under the License. 20 * 21 ***********************************************************--> 22 23 24<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"> 25 <xsl:decimal-format name="staff" digit="D"/> 26 <xsl:template match="/"> 27 <xsl:element name="office:document"> 28 <office:meta> 29 <dc:title> 30 <xsl:value-of select="/article/articleinfo/title"/> 31 </dc:title> 32 <dc:description></dc:description> 33 <dc:subject></dc:subject> 34 <dc:date> 35 <xsl:value-of select="article/articleinfo/pubdate"/> 36 </dc:date> 37 <dc:language> 38 <xsl:value-of select="article/@lang"/> 39 </dc:language> 40 <meta:user-defined meta:name="Info 1"/> 41 <meta:user-defined meta:name="Info 2"/> 42 <meta:user-defined meta:name="Info 3"/> 43 <meta:user-defined meta:name="Info 4"/> 44 </office:meta> 45 <office:font-decls> 46 <style:font-decl style:name="Tahoma1" fo:font-family="Tahoma"/> 47 <style:font-decl style:name="Thorndale" fo:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable"/> 48 <style:font-decl style:name="Albany" fo:font-family="Albany" style:font-family-generic="swiss" style:font-pitch="variable"/> 49 <style:font-decl style:name="Andale Sans UI" fo:font-family="'Andale Sans UI'" style:font-family-generic="system" style:font-pitch="variable"/> 50 <style:font-decl style:name="MS Mincho" fo:font-family="'MS Mincho'" style:font-family-generic="system" style:font-pitch="variable"/> 51 <style:font-decl style:name="Tahoma" fo:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/> 52 </office:font-decls> 53 <office:styles> 54 <style:default-style style:family="graphics"> 55 <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"> 56 <style:tab-stops/> 57 </style:properties> 58 </style:default-style> 59 <style:default-style style:family="paragraph"> 60 <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"/> 61 </style:default-style> 62 <style:default-style style:family="table"> 63 <style:properties table:border-model="separating"/> 64 </style:default-style> 65 <style:default-style style:family="table-row"> 66 <style:properties fo:keep-together="always"/> 67 </style:default-style> 68 <style:style style:name="Standard" style:family="paragraph" style:class="text"/> 69 <style:style style:name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text"> 70 <style:properties fo:margin-top="0cm" fo:margin-bottom="0.212cm"/> 71 </style:style> 72 <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text body" style:class="text"> 73 <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"/> 74 </style:style> 75 <style:style style:name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text"> 76 <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"/> 77 </style:style> 78 <style:style style:name="Heading 2" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text"> 79 <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"/> 80 </style:style> 81 <style:style style:name="Heading 3" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text"> 82 <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"/> 83 </style:style> 84 <style:style style:name="Heading 4" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="text"> 85 <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"/> 86 </style:style> 87 <style:style style:name="List" style:family="paragraph" style:parent-style-name="Text body" style:class="list"> 88 <style:properties style:font-name-complex="Tahoma1"/> 89 </style:style> 90 <style:style style:name="Table Contents" style:family="paragraph" style:parent-style-name="Text body" style:class="extra"> 91 <style:properties text:number-lines="false" text:line-number="0"/> 92 </style:style> 93 <style:style style:name="Table Heading" style:family="paragraph" style:parent-style-name="Table Contents" style:class="extra"> 94 <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"/> 95 </style:style> 96 <style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> 97 <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"/> 98 </style:style> 99 <style:style style:name="Table" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/> 100 <style:style style:name="Frame contents" style:family="paragraph" style:parent-style-name="Text body" style:class="extra"/> 101 <style:style style:name="Footnote" style:family="paragraph" style:parent-style-name="Standard" style:class="extra"> 102 <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"/> 103 </style:style> 104 <style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index"> 105 <style:properties text:number-lines="false" text:line-number="0" style:font-name-complex="Tahoma1"/> 106 </style:style> 107 <style:style style:name="Subtitle" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text body" style:class="chapter"> 108 <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"/> 109 </style:style> 110 <style:style style:name="Mediaobject" style:family="paragraph" style:class="text"/> 111 <style:style style:name="Object" style:family="paragraph" style:parent-style-name="Caption" style:class="extra"/> 112 <style:style style:name="Section Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 113 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="14pt"/> 114 </style:style> 115 <style:style style:name="Appendix Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 116 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="14pt"/> 117 </style:style> 118 <style:style style:name="Section1 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 119 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="14pt"/> 120 </style:style> 121 <style:style style:name="Section2 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 122 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="13pt"/> 123 </style:style> 124 <style:style style:name="Section3 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 125 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="12pt"/> 126 </style:style> 127 <style:style style:name="Section4 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 128 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="12pt"/> 129 </style:style> 130 <style:style style:name="Section5 Title" style:family="paragraph" style:next-style-name="Text body" style:master-page-name=""> 131 <style:properties fo:line-height="200%" fo:text-transform="capitalize" fo:font-size="12pt"/> 132 </style:style> 133 <style:style style:name="Document Title" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Document SubTitle"> 134 <style:properties fo:text-align="center" style:justify-single-word="false" fo:font-size="20pt"/> 135 </style:style> 136 <style:style style:name="Document SubTitle" style:family="paragraph" style:parent-style-name="Document Title" style:next-style-name="Text body"> 137 <style:properties fo:font-size="14pt"/> 138 </style:style> 139 <style:style style:name="Section SubTitle" style:family="paragraph" style:parent-style-name="Section Title"/> 140 <style:style style:name="CopyRight" style:family="paragraph" style:parent-style-name="Text body"/> 141 <style:style style:name="VarList Item" style:family="paragraph" style:parent-style-name="Text body" style:list-style-name="Var List" style:class="text"> 142 <style:properties fo:margin-left="3cm" fo:margin-right="0cm" fo:text-indent="0cm" style:auto-text-indent="false"> 143 <style:tab-stops> 144 <style:tab-stop style:position="0cm"/> 145 </style:tab-stops> 146 </style:properties> 147 </style:style> 148 <style:style style:name="VarList Term" style:family="paragraph" style:parent-style-name="Text body" style:list-style-name="Var List" style:class="text"> 149 <style:properties fo:margin-left="1cm" fo:margin-right="0cm" fo:text-indent="-4.5cm" style:auto-text-indent="false"> 150 <style:tab-stops> 151 <style:tab-stop style:position="0cm"/> 152 </style:tab-stops> 153 </style:properties> 154 </style:style> 155 <style:style style:name="Footnote Symbol" style:family="text"/> 156 <style:style style:name="Numbering Symbols" style:family="text"/> 157 <style:style style:name="Bullet Symbols" style:family="text"> 158 <style:properties fo:font-size="9pt" style:font-size-asian="9pt" style:font-size-complex="9pt"/> 159 </style:style> 160 <style:style style:name="Internet link" style:family="text"> 161 <style:properties fo:color="#000080" style:text-underline-color="font-color" style:text-underline="single"/> 162 </style:style> 163 <style:style style:name="Endnote Symbol" style:family="text"/> 164 <style:style style:name="Emphasis" style:family="text"> 165 <style:properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/> 166 </style:style> 167 <style:style style:name="Source Text" style:family="text"/> 168 <style:style style:name="Highlight" style:family="text"> 169 <style:properties style:text-background-color="#fff000"/> 170 </style:style> 171 <style:style style:name="KeyCap" style:family="text"> 172 <style:properties fo:font-weight="bold"/> 173 </style:style> 174 <style:style style:name="Command" style:family="text"> 175 <style:properties fo:font-weight="bold"/> 176 </style:style> 177 <style:style style:name="Application" style:family="text"> 178 <style:properties fo:font-weight="bold"/> 179 </style:style> 180 <style:style style:name="FileName" style:family="text"> 181 <style:properties fo:font-weight="bold"/> 182 </style:style> 183 <style:style style:name="SuperScript" style:family="text"> 184 <style:properties style:text-position="super 58%"/> 185 </style:style> 186 <style:style style:name="SubScript" style:family="text"> 187 <style:properties style:text-position="sub 58%"/> 188 </style:style> 189 <style:style style:name="SystemItem" style:family="text"> 190 <style:properties fo:font-weight="bold"/> 191 </style:style> 192 <style:style style:name="ComputerOutput" style:family="text"> 193 <style:properties fo:font-weight="bold"/> 194 </style:style> 195 <style:style style:name="KeyCombo" style:family="text"> 196 <style:properties fo:font-weight="bold"/> 197 </style:style> 198 <style:style style:name="KeySym" style:family="text"> 199 <style:properties fo:font-weight="bold"/> 200 </style:style> 201 <style:style style:name="GuiMenu" style:family="text"> 202 <style:properties fo:color="#000fff" fo:font-style="italic"/> 203 </style:style> 204 <style:style style:name="GuiSubMenu" style:family="text"> 205 <style:properties fo:color="#ff9966" fo:font-style="italic"/> 206 </style:style> 207 <style:style style:name="GuiButton" style:family="text"> 208 <style:properties fo:color="#00f0ff" fo:font-style="italic"/> 209 </style:style> 210 <style:style style:name="GuiMenuItem" style:family="text"> 211 <style:properties fo:color="#00ffff" fo:font-style="italic"/> 212 </style:style> 213 <style:style style:name="GuiLabel" style:family="text"> 214 <style:properties fo:color="#00777f" fo:font-style="italic"/> 215 </style:style> 216 <style:style style:name="Frame" style:family="graphics"> 217 <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"/> 218 </style:style> 219 <text:outline-style> 220 <text:outline-level-style text:level="1" style:num-format=""/> 221 <text:outline-level-style text:level="2" style:num-format=""/> 222 <text:outline-level-style text:level="3" style:num-format=""/> 223 <text:outline-level-style text:level="4" style:num-format=""/> 224 <text:outline-level-style text:level="5" style:num-format=""/> 225 <text:outline-level-style text:level="6" style:num-format=""/> 226 <text:outline-level-style text:level="7" style:num-format=""/> 227 <text:outline-level-style text:level="8" style:num-format=""/> 228 <text:outline-level-style text:level="9" style:num-format=""/> 229 <text:outline-level-style text:level="10" style:num-format=""/> 230 </text:outline-style> 231 <text:list-style style:name="Ordered List"> 232 <text:list-level-style-number text:level="1" text:style-name="Numbering Symbols" style:num-suffix="." style:num-format="1"> 233 <style:properties text:min-label-width="0.499cm"/> 234 </text:list-level-style-number> 235 <text:list-level-style-number text:level="2" style:num-suffix="." style:num-format="1"> 236 <style:properties text:space-before="0.501cm" text:min-label-width="0.499cm"/> 237 </text:list-level-style-number> 238 <text:list-level-style-number text:level="3" style:num-suffix="." style:num-format="1"> 239 <style:properties text:space-before="1cm" text:min-label-width="0.499cm"/> 240 </text:list-level-style-number> 241 <text:list-level-style-number text:level="4" style:num-suffix="." style:num-format="1"> 242 <style:properties text:space-before="1.501cm" text:min-label-width="0.499cm"/> 243 </text:list-level-style-number> 244 <text:list-level-style-number text:level="5" style:num-suffix="." style:num-format="1"> 245 <style:properties text:space-before="2cm" text:min-label-width="0.499cm"/> 246 </text:list-level-style-number> 247 <text:list-level-style-number text:level="6" style:num-suffix="." style:num-format="1"> 248 <style:properties text:space-before="2.501cm" text:min-label-width="0.499cm"/> 249 </text:list-level-style-number> 250 <text:list-level-style-number text:level="7" style:num-suffix="." style:num-format="1"> 251 <style:properties text:space-before="3.001cm" text:min-label-width="0.499cm"/> 252 </text:list-level-style-number> 253 <text:list-level-style-number text:level="8" style:num-suffix="." style:num-format="1"> 254 <style:properties text:space-before="3.502cm" text:min-label-width="0.499cm"/> 255 </text:list-level-style-number> 256 <text:list-level-style-number text:level="9" style:num-suffix="." style:num-format="1"> 257 <style:properties text:space-before="4.001cm" text:min-label-width="0.499cm"/> 258 </text:list-level-style-number> 259 <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1"> 260 <style:properties text:space-before="4.502cm" text:min-label-width="0.499cm"/> 261 </text:list-level-style-number> 262 </text:list-style> 263 <text:list-style style:name="UnOrdered List"> 264 <text:list-level-style-bullet text:level="1" text:style-name="Bullet Symbols" text:bullet-char="•"> 265 <style:properties text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 266 </text:list-level-style-bullet> 267 <text:list-level-style-bullet text:level="2" text:style-name="Bullet Symbols" text:bullet-char="•"> 268 <style:properties text:space-before="0.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 269 </text:list-level-style-bullet> 270 <text:list-level-style-bullet text:level="3" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 271 <style:properties text:space-before="1cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 272 </text:list-level-style-bullet> 273 <text:list-level-style-bullet text:level="4" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 274 <style:properties text:space-before="1.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 275 </text:list-level-style-bullet> 276 <text:list-level-style-bullet text:level="5" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 277 <style:properties text:space-before="2cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 278 </text:list-level-style-bullet> 279 <text:list-level-style-bullet text:level="6" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 280 <style:properties text:space-before="2.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 281 </text:list-level-style-bullet> 282 <text:list-level-style-bullet text:level="7" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 283 <style:properties text:space-before="3.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 284 </text:list-level-style-bullet> 285 <text:list-level-style-bullet text:level="8" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 286 <style:properties text:space-before="3.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 287 </text:list-level-style-bullet> 288 <text:list-level-style-bullet text:level="9" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 289 <style:properties text:space-before="4.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 290 </text:list-level-style-bullet> 291 <text:list-level-style-bullet text:level="10" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 292 <style:properties text:space-before="4.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 293 </text:list-level-style-bullet> 294 </text:list-style> 295 <text:list-style style:name="Var List"> 296 <text:list-level-style-bullet text:level="1" text:style-name="Bullet Symbols" text:bullet-char="•"> 297 <style:properties text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 298 </text:list-level-style-bullet> 299 <text:list-level-style-bullet text:level="2" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 300 <style:properties text:space-before="0.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 301 </text:list-level-style-bullet> 302 <text:list-level-style-bullet text:level="3" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 303 <style:properties text:space-before="1cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 304 </text:list-level-style-bullet> 305 <text:list-level-style-bullet text:level="4" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 306 <style:properties text:space-before="1.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 307 </text:list-level-style-bullet> 308 <text:list-level-style-bullet text:level="5" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 309 <style:properties text:space-before="2cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 310 </text:list-level-style-bullet> 311 <text:list-level-style-bullet text:level="6" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 312 <style:properties text:space-before="2.501cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 313 </text:list-level-style-bullet> 314 <text:list-level-style-bullet text:level="7" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 315 <style:properties text:space-before="3.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 316 </text:list-level-style-bullet> 317 <text:list-level-style-bullet text:level="8" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 318 <style:properties text:space-before="3.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 319 </text:list-level-style-bullet> 320 <text:list-level-style-bullet text:level="9" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 321 <style:properties text:space-before="4.001cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 322 </text:list-level-style-bullet> 323 <text:list-level-style-bullet text:level="10" text:style-name="Bullet Symbols" style:num-suffix="." text:bullet-char="•"> 324 <style:properties text:space-before="4.502cm" text:min-label-width="0.499cm" fo:font-family="StarSymbol" style:font-charset="x-symbol"/> 325 </text:list-level-style-bullet> 326 </text:list-style> 327 <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"/> 328 <text:endnotes-configuration text:citation-style-name="Endnote Symbol" text:master-page-name="Endnote" style:num-format="1" text:start-value="0"/> 329 <text:linenumbering-configuration text:number-lines="false" text:offset="0.499cm" style:num-format="1" text:number-position="left" text:increment="5"/> 330 </office:styles> 331 <office:automatic-styles> 332 <style:page-master style:name="pm1"> 333 <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"> 334 <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"/> 335 </style:properties> 336 <style:header-style/> 337 <style:footer-style/> 338 </style:page-master> 339 <style:page-master style:name="pm2"> 340 <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"> 341 <style:footnote-sep style:adjustment="left" style:rel-width="25%" style:color="#000000"/> 342 </style:properties> 343 <style:header-style/> 344 <style:footer-style/> 345 </style:page-master> 346 </office:automatic-styles> 347 <office:master-styles> 348 <style:master-page style:name="Standard" style:page-master-name="pm1"/> 349 <style:master-page style:name="Endnote" style:page-master-name="pm2"/> 350 </office:master-styles> 351 <office:body> 352 <xsl:apply-templates/> 353 </office:body> 354 </xsl:element> 355 </xsl:template> 356 357 <xsl:template match="subtitle"> 358 <xsl:choose> 359 <xsl:when test="parent::table"> 360 <xsl:apply-templates/> 361 </xsl:when> 362 <xsl:when test="parent::informaltable"> 363 <xsl:apply-templates/> 364 </xsl:when> 365 <xsl:otherwise> 366 <xsl:element name="text:p"> 367 <xsl:attribute name="text:style-name">Section SubTitle</xsl:attribute> 368 </xsl:element> 369 </xsl:otherwise> 370 </xsl:choose> 371 </xsl:template> 372 373 374 375 376 <xsl:template match="title"> 377 <xsl:choose> 378 <xsl:when test="parent::figure"></xsl:when> 379 <xsl:when test="parent::table"></xsl:when> 380 <xsl:when test="parent::sect1"></xsl:when> 381 <xsl:when test="parent::sect2"></xsl:when> 382 <xsl:when test="parent::sect3"></xsl:when> 383 <xsl:when test="parent::sect4"></xsl:when> 384 <xsl:when test="parent::sect5"></xsl:when> 385 <xsl:when test="parent::informaltable"> 386 <xsl:apply-templates/> 387 </xsl:when> 388 389 <xsl:otherwise> 390 <xsl:element name="text:p"> 391 <xsl:choose> 392 393 <xsl:when test="parent::appendix"> 394 <xsl:attribute name="text:style-name">Appendix Title</xsl:attribute> 395 </xsl:when> 396 </xsl:choose> 397 <xsl:apply-templates/> 398 </xsl:element> 399 </xsl:otherwise> 400 </xsl:choose> 401 </xsl:template> 402 403 <xsl:template match="articleinfo"> 404 <xsl:element name="text:section"> 405 <xsl:attribute name="text:style-name">ArticleInfo</xsl:attribute> 406 <xsl:attribute name="text:name">ArticleInfo</xsl:attribute> 407 <xsl:if test="/article/articleinfo/title !=''"> 408 <xsl:element name="text:p"> 409 <xsl:attribute name="text:style-name">Document Title</xsl:attribute> 410 <xsl:value-of select="/article/articleinfo/title"/> 411 </xsl:element> 412 <xsl:if test="/article/articleinfo/subtitle !=''"> 413 <xsl:element name="text:p"> 414 <xsl:attribute name="text:style-name">Document SubTitle</xsl:attribute> 415 <xsl:value-of select="/article/articleinfo/subtitle"/> 416 </xsl:element> 417 </xsl:if> 418 </xsl:if> 419 <xsl:apply-templates/> 420 </xsl:element> 421 422 </xsl:template> 423 424 <xsl:template match="appendix"> 425 <xsl:element name="text:section"> 426 <xsl:attribute name="text:style-name">Appendix</xsl:attribute> 427 <xsl:attribute name="text:name">Appendix</xsl:attribute> 428 <xsl:apply-templates/> 429 </xsl:element> 430 431 </xsl:template> 432 433<!-- 434<xsl:template match="author"> 435 <xsl:apply-templates/> 436</xsl:template> 437 438<xsl:template match="firstname"> 439 <xsl:element name="text:variable-set"> 440 <xsl:attribute name="text:name"> 441 <xsl:if test="ancestor::articleinfo/author"> 442 <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)"/> 443 </xsl:if> 444 </xsl:attribute> 445 <xsl:apply-templates/> 446 </xsl:element> 447 448</xsl:template>--> 449 450 <xsl:template match="articleinfo/title"> 451 <!-- <xsl:element name="text:variable-decls"> 452 <xsl:element name="text:variable-decl"> 453 <xsl:attribute name="text:value-type"> 454 <xsl:text>string</xsl:text> 455 </xsl:attribute> 456 <xsl:attribute name="text:name"> 457 <xsl:text disable-output-escaping="yes">articleinfo.title</xsl:text> 458 </xsl:attribute> 459 </xsl:element> 460 461 </xsl:element> 462 <xsl:element name="text:p"> 463 <xsl:element name="text:variable-set"> 464 <xsl:attribute name="text:value-type"> 465 <xsl:text>string</xsl:text> 466 </xsl:attribute> 467 <xsl:attribute name="text:name"> 468 <xsl:text disable-output-escaping="yes">articleinfo.title</xsl:text> 469 </xsl:attribute> 470 <xsl:apply-templates/> 471 </xsl:element> 472 </xsl:element>--></xsl:template> 473 474 <xsl:template match="articleinfo/subtitle"> 475 <xsl:element name="text:variable-decls"> 476 <xsl:element name="text:variable-decl"> 477 <xsl:attribute name="text:value-type"> 478 <xsl:text>string</xsl:text> 479 </xsl:attribute> 480 <xsl:attribute name="text:name"> 481 <xsl:text disable-output-escaping="yes">articleinfo.subtitle</xsl:text> 482 </xsl:attribute> 483 </xsl:element> 484 </xsl:element> 485 <xsl:element name="text:p"> 486 <xsl:element name="text:variable-set"> 487 <xsl:attribute name="text:value-type"> 488 <xsl:text>string</xsl:text> 489 </xsl:attribute> 490 <xsl:attribute name="text:name"> 491 <xsl:text disable-output-escaping="yes">articleinfo.subtitle</xsl:text> 492 </xsl:attribute> 493 <xsl:apply-templates/> 494 </xsl:element> 495 </xsl:element> 496 </xsl:template> 497 498 <xsl:template match="articleinfo/edition"> 499 <xsl:element name="text:variable-decls"> 500 <xsl:element name="text:variable-decl"> 501 <xsl:attribute name="text:value-type"> 502 <xsl:text>string</xsl:text> 503 </xsl:attribute> 504 <xsl:attribute name="text:name"> 505 <xsl:text disable-output-escaping="yes">articleinfo.edition</xsl:text> 506 </xsl:attribute> 507 </xsl:element> 508 </xsl:element> 509 <xsl:element name="text:p"> 510 <xsl:element name="text:variable-set"> 511 <xsl:attribute name="text:value-type"> 512 <xsl:text>string</xsl:text> 513 </xsl:attribute> 514 <xsl:attribute name="text:name"> 515 <xsl:text disable-output-escaping="yes">articleinfo.edition</xsl:text> 516 </xsl:attribute> 517 <xsl:apply-templates/> 518 </xsl:element> 519 </xsl:element> 520 </xsl:template> 521 522 <xsl:template match="articleinfo/releaseinfo"> 523 <xsl:element name="text:variable-decls"> 524 <xsl:element name="text:variable-decl"> 525 <xsl:attribute name="text:value-type"> 526 <xsl:text>string</xsl:text> 527 </xsl:attribute> 528 <xsl:attribute name="text:name"> 529 <xsl:text disable-output-escaping="yes">articleinfo.releaseinfo_</xsl:text> 530 <xsl:value-of select="count(preceding-sibling::releaseinfo)"/> 531 </xsl:attribute> 532 </xsl:element> 533 </xsl:element> 534 <xsl:element name="text:p"> 535 <xsl:element name="text:variable-set"> 536 <xsl:attribute name="text:value-type"> 537 <xsl:text>string</xsl:text> 538 </xsl:attribute> 539 <xsl:attribute name="text:name"> 540 <xsl:text disable-output-escaping="yes">articleinfo.releaseinfo_</xsl:text> 541 <xsl:value-of select="count(preceding-sibling::releaseinfo)"/> 542 </xsl:attribute> 543 <xsl:apply-templates/> 544 </xsl:element> 545 </xsl:element> 546 </xsl:template> 547 548 549 <xsl:template match="author/firstname"> 550 <xsl:element name="text:variable-decls"> 551 <xsl:element name="text:variable-decl"> 552 <xsl:attribute name="text:value-type"> 553 <xsl:text>string</xsl:text> 554 </xsl:attribute> 555 556 <xsl:attribute name="text:name"> 557 <xsl:if test="ancestor::articleinfo"> 558 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 559 <xsl:value-of select="count(parent::author[preceding-sibling::author])"/> 560 <xsl:text disable-output-escaping="yes">.firstname_</xsl:text> 561 <xsl:value-of select="count(preceding-sibling::firstname)"/> 562 </xsl:if> 563 </xsl:attribute> 564 </xsl:element> 565 </xsl:element> 566 <xsl:element name="text:p"> 567 <xsl:element name="text:variable-set"> 568 <xsl:attribute name="text:value-type"> 569 <xsl:text>string</xsl:text> 570 </xsl:attribute> 571 <xsl:attribute name="text:name"> 572 <xsl:if test="ancestor::articleinfo"> 573 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 574 <xsl:value-of select="count(parent::author[preceding-sibling::author])"/> 575 <xsl:text disable-output-escaping="yes">.firstname_</xsl:text> 576 <xsl:value-of select="count(preceding-sibling::firstname)"/> 577 </xsl:if> 578 </xsl:attribute> 579 <xsl:apply-templates/> 580 </xsl:element> 581 </xsl:element> 582 </xsl:template> 583 584 585 586 <xsl:template match="articleinfo/copyright/year"> 587 <xsl:element name="text:variable-decls"> 588 <xsl:element name="text:variable-decl"> 589 <xsl:attribute name="text:value-type"> 590 <xsl:text>string</xsl:text> 591 </xsl:attribute> 592 593 <xsl:attribute name="text:name"> 594 <xsl:if test="ancestor::articleinfo/copyright"> 595 <xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text> 596 <xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/> 597 <xsl:text disable-output-escaping="yes">.year_</xsl:text> 598 <xsl:value-of select="count(preceding-sibling::year)"/> 599 </xsl:if> 600 </xsl:attribute> 601 </xsl:element> 602 </xsl:element> 603 <xsl:element name="text:p"> 604 <xsl:element name="text:variable-set"> 605 <xsl:attribute name="text:value-type"> 606 <xsl:text>string</xsl:text> 607 </xsl:attribute> 608 <xsl:attribute name="text:name"> 609 <xsl:if test="ancestor::articleinfo/copyright"> 610 <xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text> 611 <xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/> 612 <xsl:text disable-output-escaping="yes">.year_</xsl:text> 613 <xsl:value-of select="count(preceding-sibling::year)"/> 614 </xsl:if> 615 </xsl:attribute> 616 <xsl:apply-templates/> 617 </xsl:element> 618 </xsl:element> 619 </xsl:template> 620 621 <xsl:template match="authorgroup"> 622 <xsl:apply-templates/> 623 </xsl:template> 624 625 <xsl:template match="articleinfo/copyright/holder"> 626 <xsl:element name="text:variable-decls"> 627 <xsl:element name="text:variable-decl"> 628 <xsl:attribute name="text:value-type"> 629 <xsl:text>string</xsl:text> 630 </xsl:attribute> 631 632 <xsl:attribute name="text:name"> 633 <xsl:if test="ancestor::articleinfo/copyright"> 634 <xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text> 635 <xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/> 636 <xsl:text disable-output-escaping="yes">.holder_</xsl:text> 637 <xsl:value-of select="count(preceding-sibling::holder)"/> 638 </xsl:if> 639 </xsl:attribute> 640 </xsl:element> 641 </xsl:element> 642 <xsl:element name="text:p"> 643 <xsl:element name="text:variable-set"> 644 <xsl:attribute name="text:value-type"> 645 <xsl:text>string</xsl:text> 646 </xsl:attribute> 647 <xsl:attribute name="text:name"> 648 <xsl:if test="ancestor::articleinfo/copyright"> 649 <xsl:text disable-output-escaping="yes">articleinfo.copyright_</xsl:text> 650 <xsl:value-of select="count(parent::copyright[preceding-sibling::copyright])"/> 651 <xsl:text disable-output-escaping="yes">.holder_</xsl:text> 652 <xsl:value-of select="count(preceding-sibling::holder)"/> 653 </xsl:if> 654 </xsl:attribute> 655 <xsl:apply-templates/> 656 </xsl:element> 657 </xsl:element> 658 </xsl:template> 659 660 661 662 663 <xsl:template name="affiliation"> 664 <xsl:apply-templates/> 665 </xsl:template> 666 667 <xsl:template match="author/affiliation/address"> 668 <xsl:element name="text:variable-decls"> 669 <xsl:element name="text:variable-decl"> 670 <xsl:attribute name="text:value-type"> 671 <xsl:text>string</xsl:text> 672 </xsl:attribute> 673 <xsl:attribute name="text:name"> 674 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 675 <xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/> 676 <xsl:text disable-output-escaping="yes">.affiliation_</xsl:text> 677 <xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/> 678 <xsl:text disable-output-escaping="yes">.address_</xsl:text> 679 <xsl:value-of select="count(preceding-sibling::address)"/> 680 </xsl:attribute> 681 </xsl:element> 682 </xsl:element> 683 <xsl:element name="text:p"> 684 <xsl:element name="text:variable-set"> 685 <xsl:attribute name="text:value-type"> 686 <xsl:text>string</xsl:text> 687 </xsl:attribute> 688 <xsl:attribute name="text:name"> 689 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 690 <xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/> 691 <xsl:text disable-output-escaping="yes">.affiliation_</xsl:text> 692 <xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/> 693 <xsl:text disable-output-escaping="yes">.address_</xsl:text> 694 <xsl:value-of select="count(preceding-sibling::address)"/> 695 696 </xsl:attribute> 697 <xsl:apply-templates/> 698 </xsl:element> 699 </xsl:element> 700 </xsl:template> 701 702 <xsl:template match="author/affiliation/orgname"> 703 <xsl:element name="text:variable-decls"> 704 <xsl:element name="text:variable-decl"> 705 <xsl:attribute name="text:value-type"> 706 <xsl:text>string</xsl:text> 707 </xsl:attribute> 708 <xsl:if test="ancestor::articleinfo"> 709 <xsl:attribute name="text:name"> 710 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 711 <xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/> 712 <xsl:text disable-output-escaping="yes">.affiliation_</xsl:text> 713 <xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/> 714 <xsl:text disable-output-escaping="yes">.orgname_</xsl:text> 715 <xsl:value-of select="count(preceding-sibling::orgname)"/> 716 </xsl:attribute> 717 </xsl:if> 718 </xsl:element> 719 </xsl:element> 720 <xsl:element name="text:p"> 721 <xsl:element name="text:variable-set"> 722 <xsl:attribute name="text:value-type"> 723 <xsl:text>string</xsl:text> 724 </xsl:attribute> 725 <xsl:if test="ancestor::articleinfo"> 726 <xsl:attribute name="text:name"> 727 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 728 <xsl:value-of select="count(ancestor::author[preceding-sibling::author])"/> 729 <xsl:text disable-output-escaping="yes">.affiliation_</xsl:text> 730 <xsl:value-of select="count(parent::affiliation[preceding-sibling::affiliation])"/> 731 <xsl:text disable-output-escaping="yes">.orgname_</xsl:text> 732 <xsl:value-of select="count(preceding-sibling::orgname)"/> 733 </xsl:attribute> 734 </xsl:if> 735 <xsl:apply-templates/> 736 </xsl:element> 737 </xsl:element> 738 </xsl:template> 739 740 741 742 <xsl:template match="author/surname"> 743 <xsl:element name="text:variable-decls"> 744 <xsl:element name="text:variable-decl"> 745 <xsl:attribute name="text:value-type"> 746 <xsl:text>string</xsl:text> 747 </xsl:attribute> 748 749 <xsl:attribute name="text:name"> 750 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 751 <xsl:value-of select="count(parent::author[preceding-sibling::author])"/> 752 <xsl:text disable-output-escaping="yes">.surname_</xsl:text> 753 <xsl:value-of select="count(preceding-sibling::surname)"/> 754 </xsl:attribute> 755 </xsl:element> 756 </xsl:element> 757 <xsl:element name="text:p"> 758 <xsl:element name="text:variable-set"> 759 <xsl:attribute name="text:value-type"> 760 <xsl:text>string</xsl:text> 761 </xsl:attribute> 762 <xsl:attribute name="text:name"> 763 <xsl:text disable-output-escaping="yes">articleinfo.author_</xsl:text> 764 <xsl:value-of select="count(parent::author[preceding-sibling::author])"/> 765 <xsl:text disable-output-escaping="yes">.surname_</xsl:text> 766 <xsl:value-of select="count(preceding-sibling::surname)"/> 767 768 769 </xsl:attribute> 770 <xsl:apply-templates/> 771 </xsl:element> 772 </xsl:element> 773 </xsl:template> 774 775 776 777 778 779 <xsl:template match="para"> 780 781 <xsl:element name="text:p"> 782 783 <xsl:choose> 784 <xsl:when test="ancestor-or-self::footnote"> 785 <xsl:attribute name="text:style-name">Footnote</xsl:attribute> 786 </xsl:when> 787 <xsl:when test="ancestor-or-self::listitem"> 788 <xsl:attribute name="text:style-name">VarList Item</xsl:attribute> 789 </xsl:when> 790 <xsl:when test="ancestor-or-self::informaltable"> 791 <xsl:if test="ancestor-or-self::informaltable"> 792 <xsl:attribute name="text:style-name">Table Contents</xsl:attribute> 793 </xsl:if> 794 <xsl:if test="ancestor-or-self::thead"> 795 <xsl:attribute name="text:style-name">Table Heading</xsl:attribute> 796 </xsl:if> 797 </xsl:when> 798 <xsl:when test="ancestor-or-self::table"> 799 <xsl:if test="ancestor-or-self::table"> 800 <xsl:attribute name="text:style-name">Table Contents</xsl:attribute> 801 </xsl:if> 802 <xsl:if test="ancestor-or-self::thead"> 803 <xsl:attribute name="text:style-name">Table Heading</xsl:attribute> 804 </xsl:if> 805 </xsl:when> 806 <xsl:otherwise> 807 <xsl:attribute name="text:style-name">Text body</xsl:attribute> 808 </xsl:otherwise> 809 </xsl:choose> 810 811 <xsl:apply-templates/> 812 </xsl:element> 813 814 </xsl:template> 815 816 <xsl:template match="section"> 817 <xsl:element name="text:h"> 818 <xsl:attribute name="text:level"> 819 <xsl:value-of select="count(ancestor-or-self::section)"/> 820 </xsl:attribute> 821 <xsl:value-of select="child::title"/> 822 </xsl:element> 823 <xsl:apply-templates/> 824 </xsl:template> 825 826 <xsl:template match="abstract"> 827 <xsl:element name="text:h"> 828 <xsl:attribute name="text:level">1</xsl:attribute> 829 <xsl:text>abstract</xsl:text> 830 </xsl:element> 831 <xsl:apply-templates/> 832 </xsl:template> 833 834 835 <xsl:template match="appendix"> 836 <xsl:element name="text:h"> 837 <xsl:attribute name="text:level">1</xsl:attribute> 838 <xsl:text>appendix</xsl:text> 839 </xsl:element> 840 <xsl:apply-templates/> 841 </xsl:template> 842 843 <xsl:template match="sect1"> 844 <xsl:element name="text:h"> 845 <xsl:attribute name="text:level">1</xsl:attribute> 846 <xsl:attribute name="text:style-name">Heading 1</xsl:attribute> 847 <xsl:value-of select="child::title"/> 848 </xsl:element> 849 <xsl:apply-templates/> 850 </xsl:template> 851 852 <xsl:template match="sect2"> 853 <xsl:element name="text:h"> 854 <xsl:attribute name="text:level">2</xsl:attribute> 855 <xsl:attribute name="text:style-name">Heading 2</xsl:attribute> 856 <xsl:value-of select="child::title"/> 857 </xsl:element> 858 <xsl:apply-templates/> 859 </xsl:template> 860 861 <xsl:template match="sect3"> 862 <xsl:element name="text:h"> 863 <xsl:attribute name="text:level">3</xsl:attribute> 864 <xsl:attribute name="text:style-name">Heading 3</xsl:attribute> 865 <xsl:value-of select="child::title"/> 866 </xsl:element> 867 <xsl:apply-templates/> 868 </xsl:template> 869 870 <xsl:template match="sect4"> 871 <xsl:element name="text:h"> 872 <xsl:attribute name="text:level">4</xsl:attribute> 873 <xsl:attribute name="text:style-name">Heading 4</xsl:attribute> 874 <xsl:value-of select="child::title"/> 875 </xsl:element> 876 <xsl:apply-templates/> 877 </xsl:template> 878 879 <xsl:template match="sect5"> 880 <xsl:element name="text:h"> 881 <xsl:attribute name="text:level">5</xsl:attribute> 882 <xsl:value-of select="child::title"/> 883 </xsl:element> 884 <xsl:apply-templates/> 885 </xsl:template> 886 887<!--<xsl:template match="sect5"> 888 <xsl:element name="text:section"> 889 <xsl:attribute name="text:style-name">Sect1</xsl:attribute> 890 <xsl:attribute name="text:name"><xsl:value-of select="@id"/></xsl:attribute> 891 <xsl:apply-templates/> 892 </xsl:element> 893</xsl:template>--> 894 895 896 <xsl:template match="informaltable"> 897 <xsl:element name="table:table"> 898 <xsl:attribute name="table:name"></xsl:attribute> 899 <xsl:attribute name="table:style-name">Table1</xsl:attribute> 900 <xsl:attribute name="table:name"> 901 <xsl:value-of select="@id"/> 902 </xsl:attribute> 903 <xsl:apply-templates/> 904 </xsl:element> 905 </xsl:template> 906 907 908 <xsl:template match="table"> 909 <xsl:variable name="tabletitle"> 910 <xsl:value-of select="title"/> 911 </xsl:variable> 912 <xsl:element name="table:table"> 913 <xsl:attribute name="table:name"></xsl:attribute> 914 <xsl:attribute name="table:style-name">Table1</xsl:attribute> 915 <xsl:attribute name="table:name"> 916 <xsl:value-of select="@id"/> 917 </xsl:attribute> 918 <xsl:apply-templates/> 919 </xsl:element> 920 <xsl:if test="not($tabletitle='')"> 921 <xsl:element name="text:p"> 922 <xsl:attribute name="text:style-name">Table</xsl:attribute> 923 <xsl:value-of select="$tabletitle"/> 924 </xsl:element> 925 </xsl:if> 926 </xsl:template> 927 928 <xsl:template match="tgroup"> 929 <xsl:element name="table:table-column"> 930 <xsl:attribute name="table:style-name">Table1.A</xsl:attribute> 931 <xsl:choose> 932 <xsl:when test="@cols >0"> 933 <xsl:attribute name="table:number-columns-repeated"> 934 <xsl:value-of select="@cols"/> 935 </xsl:attribute> 936 </xsl:when> 937 <xsl:otherwise> 938 <xsl:attribute name="table:number-columns-repeated"> 939 <xsl:value-of select="count(child::tbody/row/entry) div count(child::tbody/row)"/> 940 </xsl:attribute> 941 </xsl:otherwise> 942 </xsl:choose> 943 </xsl:element> 944 <xsl:apply-templates/> 945 </xsl:template> 946 947 948 <xsl:template match="indexterm"></xsl:template> 949 950 <xsl:template match="thead"> 951 <xsl:element name="table:table-header-rows"> 952 <xsl:apply-templates/> 953 </xsl:element> 954 </xsl:template> 955 956 <xsl:template match="tbody"> 957 <xsl:apply-templates/> 958 </xsl:template> 959 960 <xsl:template match="row"> 961 <xsl:element name="table:table-row"> 962 <xsl:apply-templates/> 963 </xsl:element> 964 </xsl:template> 965 966 <xsl:template match="entry"> 967 <xsl:element name="table:table-cell"> 968 <xsl:if test="ancestor-or-self::thead"> 969 <xsl:attribute name="table:style-name">Table1.A1</xsl:attribute> 970 </xsl:if> 971 <xsl:if test="not(ancestor-or-self::thead)"> 972 <xsl:attribute name="table:style-name">Table1.A2</xsl:attribute> 973 </xsl:if> 974 975 <xsl:choose> 976 <xsl:when test="@spanname"> 977 <!--<xsl:if test="@spanname">--> 978 <xsl:variable name="sname"> 979 <xsl:value-of select="@spanname"/> 980 </xsl:variable> 981 <xsl:attribute name="table:number-columns-spanned"> 982 <xsl:variable name="colnamestart"> 983 <xsl:value-of select="ancestor::tgroup/spanspec[@spanname=$sname]/@namest"/> 984 </xsl:variable> 985 <xsl:variable name="colnameend"> 986 <xsl:value-of select="ancestor::tgroup/spanspec[@spanname=$sname]/@nameend"/> 987 </xsl:variable> 988 <xsl:variable name="colnumstart"> 989 <xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnamestart]/@colnum"/> 990 </xsl:variable> 991 <xsl:variable name="colnumend"> 992 <xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnameend]/@colnum"/> 993 </xsl:variable> 994 <xsl:value-of select="$colnumend - $colnumstart + 1"/> 995 </xsl:attribute> 996 </xsl:when> 997 <xsl:when test="@namest and @nameend"> 998 <!--<xsl:if test="@namest and @nameend">--> 999 <xsl:variable name="colnamestart"> 1000 <xsl:value-of select="@namest"/> 1001 </xsl:variable> 1002 <xsl:variable name="colnameend"> 1003 <xsl:value-of select="@nameend"/> 1004 </xsl:variable> 1005 1006 <xsl:attribute name="table:number-columns-spanned"> 1007 <xsl:variable name="colnumstart"> 1008 <xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnamestart]/@colnum"/> 1009 </xsl:variable> 1010 <xsl:variable name="colnumend"> 1011 <xsl:value-of select="ancestor::tgroup/colspec[@colname=$colnameend]/@colnum"/> 1012 </xsl:variable> 1013 <xsl:value-of select="$colnumend - $colnumstart + 1"/> 1014 1015 </xsl:attribute> 1016 </xsl:when> 1017 </xsl:choose> 1018 <!-- 1019 <xsl:if test="not(@namest = '' ) "> 1020 <xsl:attribute name="table:number-columns-spanned"> 1021 <xsl:value-of select="(substring-after(@nameend,'c')-substring-after(@namest,'c'))+1"/> 1022 1023 </xsl:attribute> 1024 </xsl:if> 1025 --> 1026 <xsl:choose> 1027 <xsl:when test="not(child::para)"> 1028 <xsl:element name="text:p"> 1029 <xsl:if test="ancestor-or-self::thead"> 1030 <xsl:attribute name="text:style-name">Table Heading</xsl:attribute> 1031 </xsl:if> 1032 <xsl:if test="ancestor-or-self::tbody"> 1033 <xsl:attribute name="text:style-name">Table Contents</xsl:attribute> 1034 </xsl:if> 1035 <xsl:apply-templates/> 1036 </xsl:element> 1037 </xsl:when> 1038 <xsl:otherwise> 1039 <xsl:apply-templates/> 1040 </xsl:otherwise> 1041 </xsl:choose> 1042 </xsl:element> 1043 </xsl:template> 1044 1045 1046 1047 1048 1049 1050 <xsl:template match="figure"> 1051 <xsl:apply-templates/> 1052 </xsl:template> 1053 1054<!-- lists Section --> 1055 1056 <xsl:template match="itemizedlist"> 1057 <xsl:element name="text:unordered-list"> 1058 <xsl:if test="not(ancestor::itemizedlist)"> 1059 <xsl:attribute name="text:style-name">L1</xsl:attribute> 1060 </xsl:if> 1061 <xsl:apply-templates/> 1062 </xsl:element> 1063 </xsl:template> 1064 1065 <xsl:template match="variablelist"> 1066 <xsl:element name="text:unordered-list"> 1067 <xsl:attribute name="text:style-name">Var List</xsl:attribute> 1068 <xsl:attribute name="text:continue-numbering">false</xsl:attribute> 1069 <xsl:apply-templates/> 1070 </xsl:element> 1071 </xsl:template> 1072 1073 <xsl:template match="orderedlist"> 1074 <xsl:element name="text:ordered-list"> 1075 <xsl:attribute name="text:style-name">Ordered List</xsl:attribute> 1076 <xsl:attribute name="text:continue-numbering">false</xsl:attribute> 1077 <xsl:apply-templates/> 1078 </xsl:element> 1079 </xsl:template> 1080 1081 <xsl:template match="term"> 1082 <xsl:if test="parent::varlistentry"> 1083 <text:list-item> 1084 <xsl:element name="text:p"> 1085 <xsl:attribute name="text:style-name">VarList Term</xsl:attribute> 1086 <xsl:apply-templates/> 1087 </xsl:element> 1088 </text:list-item> 1089 </xsl:if> 1090 </xsl:template> 1091 1092 <xsl:template match="listitem"> 1093 <text:list-item> 1094 <xsl:apply-templates/> 1095 </text:list-item> 1096 </xsl:template> 1097 1098<!-- end of lists--> 1099 1100 <xsl:template match="menuchoice"> 1101 <xsl:apply-templates/> 1102 </xsl:template> 1103 1104 <xsl:template match="guimenuitem"> 1105 <xsl:element name="text:span"> 1106 <xsl:attribute name="text:style-name">GuiMenuItem</xsl:attribute> 1107 <xsl:apply-templates/> 1108 </xsl:element> 1109 </xsl:template> 1110 1111 <xsl:template match="guibutton"> 1112 <xsl:element name="text:span"> 1113 <xsl:attribute name="text:style-name">GuiButton</xsl:attribute> 1114 <xsl:apply-templates/> 1115 </xsl:element> 1116 </xsl:template> 1117 1118 <xsl:template match="guisubmenu"> 1119 <xsl:element name="text:span"> 1120 <xsl:attribute name="text:style-name">GuiSubMenu</xsl:attribute> 1121 <xsl:apply-templates/> 1122 </xsl:element> 1123 </xsl:template> 1124 1125 <xsl:template match="emphasis"> 1126 <xsl:element name="text:span"> 1127 <xsl:attribute name="text:style-name">Emphasis</xsl:attribute> 1128 <xsl:apply-templates/> 1129 </xsl:element> 1130 </xsl:template> 1131 1132 1133 <xsl:template match="guimenu"> 1134 <xsl:element name="text:span"> 1135 <xsl:attribute name="text:style-name">GuiMenu</xsl:attribute> 1136 <xsl:apply-templates/> 1137 </xsl:element> 1138 </xsl:template> 1139 1140 <xsl:template match="guisubmenu"> 1141 <xsl:element name="text:span"> 1142 <xsl:attribute name="text:style-name">GuiSubMenu</xsl:attribute> 1143 <xsl:apply-templates/> 1144 </xsl:element> 1145 </xsl:template> 1146 1147 1148 <xsl:template match="guilabel"> 1149 <xsl:element name="text:span"> 1150 <xsl:attribute name="text:style-name">GuiLabel</xsl:attribute> 1151 <xsl:apply-templates/> 1152 </xsl:element> 1153 </xsl:template> 1154 1155 <xsl:template match="guibutton"> 1156 <xsl:element name="text:span"> 1157 <xsl:attribute name="text:style-name">GuiButton</xsl:attribute> 1158 <xsl:apply-templates/> 1159 </xsl:element> 1160 </xsl:template> 1161 1162 <xsl:template match="keycap"> 1163 <xsl:element name="text:span"> 1164 <xsl:attribute name="text:style-name">KeyCap</xsl:attribute> 1165 <xsl:apply-templates/> 1166 </xsl:element> 1167 </xsl:template> 1168 1169 1170 <xsl:template match="keysym"> 1171 <xsl:element name="text:span"> 1172 <xsl:attribute name="text:style-name">KeySym</xsl:attribute> 1173 <xsl:apply-templates/> 1174 </xsl:element> 1175 </xsl:template> 1176 1177 1178 <xsl:template match="keycombo"> 1179 <xsl:element name="text:span"> 1180 <xsl:attribute name="text:style-name">KeyCombo</xsl:attribute> 1181 <xsl:apply-templates/> 1182 </xsl:element> 1183 </xsl:template> 1184 1185 <xsl:template match="command"> 1186 <xsl:element name="text:span"> 1187 <xsl:attribute name="text:style-name">Command</xsl:attribute> 1188 <xsl:apply-templates/> 1189 </xsl:element> 1190 </xsl:template> 1191 1192 <xsl:template match="application"> 1193 <xsl:element name="text:span"> 1194 <xsl:attribute name="text:style-name">Application</xsl:attribute> 1195 <xsl:apply-templates/> 1196 </xsl:element> 1197 </xsl:template> 1198 1199 <xsl:template match="filename"> 1200 <xsl:element name="text:span"> 1201 <xsl:attribute name="text:style-name">FileName</xsl:attribute> 1202 <xsl:apply-templates/> 1203 </xsl:element> 1204 </xsl:template> 1205 1206 <xsl:template match="systemitem"> 1207 <xsl:element name="text:span"> 1208 <xsl:attribute name="text:style-name">SystemItem</xsl:attribute> 1209 <xsl:apply-templates/> 1210 </xsl:element> 1211 </xsl:template> 1212 1213 <xsl:template match="computeroutput"> 1214 <xsl:element name="text:span"> 1215 <xsl:attribute name="text:style-name">ComputerOutput</xsl:attribute> 1216 <xsl:apply-templates/> 1217 </xsl:element> 1218 </xsl:template> 1219 1220 <xsl:template match="inlinegraphic"> 1221 <xsl:element name="draw:image"> 1222 <xsl:attribute name="draw:style-name">fr1</xsl:attribute> 1223 <xsl:attribute name="draw:name"></xsl:attribute> 1224 <xsl:attribute name="text:anchor-type"></xsl:attribute> 1225 <xsl:attribute name="draw:z-index"></xsl:attribute> 1226 <xsl:attribute name="xlink:href"> 1227 <xsl:value-of select="@fileref"/> 1228 </xsl:attribute> 1229 <xsl:attribute name="xlink:type"></xsl:attribute> 1230 <xsl:attribute name="svg:width"> 1231 <!--<xsl:value-of select="@width"/>--> 1232 <xsl:text>1cm</xsl:text> 1233 </xsl:attribute> 1234 <xsl:attribute name="svg:height"> 1235 <xsl:text>1cm</xsl:text> 1236 </xsl:attribute> 1237 <xsl:attribute name="xlink:show"> 1238 <xsl:text>embed</xsl:text> 1239 </xsl:attribute> 1240 <xsl:attribute name="xlink:actuate"> 1241 <xsl:text>onLoad</xsl:text> 1242 </xsl:attribute> 1243 <xsl:attribute name="draw:filter-name"> 1244 <xsl:text disable-output-escaping="yes"><All formats></xsl:text> 1245 </xsl:attribute> 1246 </xsl:element> 1247 </xsl:template> 1248 1249 1250 <xsl:template match="footnote"> 1251 <xsl:element name="text:footnote"> 1252 <!--<xsl:element name="text:footnote-citation">Aidan</xsl:element>--> 1253 <xsl:element name="text:footnote-body"> 1254 <xsl:apply-templates/> 1255 </xsl:element> 1256 </xsl:element> 1257 </xsl:template> 1258 1259 <xsl:template match="highlight"> 1260 <xsl:element name="text:span"> 1261 <xsl:attribute name="text:style-name">Highlight</xsl:attribute> 1262 <xsl:apply-templates/> 1263 </xsl:element> 1264 </xsl:template> 1265 1266 <xsl:template match="ulink"> 1267 <xsl:element name="text:a"> 1268 <xsl:attribute name="xlink:type"> 1269 <xsl:text>simple</xsl:text> 1270 </xsl:attribute> 1271 <xsl:attribute name="xlink:href"> 1272 <xsl:value-of select="@url"/> 1273 </xsl:attribute> 1274 <xsl:apply-templates/> 1275 </xsl:element> 1276 1277 </xsl:template> 1278 1279 <xsl:template match="link"> 1280 <xsl:element name="text:a"> 1281 <xsl:attribute name="xlink:type"> 1282 <xsl:text>simple</xsl:text> 1283 </xsl:attribute> 1284 <xsl:attribute name="xlink:href"> 1285 <xsl:text>#</xsl:text> 1286 <xsl:value-of select="@linkend"/> 1287 <xsl:text>%7Cregion</xsl:text> 1288 </xsl:attribute> 1289 <xsl:apply-templates/> 1290 </xsl:element> 1291 1292 </xsl:template> 1293 1294 <xsl:template match="olink"> 1295 <xsl:element name="text:a"> 1296 <xsl:attribute name="xlink:type"> 1297 <xsl:text>simple</xsl:text> 1298 </xsl:attribute> 1299 <xsl:attribute name="xlink:href"> 1300 <xsl:value-of select="@targetdocent"/> 1301 </xsl:attribute> 1302 <xsl:apply-templates/> 1303 </xsl:element> 1304 </xsl:template> 1305 1306 <xsl:template match="note"> 1307 <office:annotation> 1308 <text:p> 1309 <xsl:apply-templates/> 1310 </text:p> 1311 </office:annotation> 1312 </xsl:template> 1313 1314 <xsl:template match="imageobject"> 1315 <xsl:apply-templates/> 1316 </xsl:template> 1317 1318 <xsl:template match="textobject"></xsl:template> 1319 1320 <xsl:template match="caption"> 1321 <xsl:apply-templates/> 1322 </xsl:template> 1323 1324 1325 <xsl:template match="imagedata"> 1326 <xsl:element name="draw:image"> 1327 <xsl:attribute name="draw:style-name">fr1</xsl:attribute> 1328 <xsl:attribute name="draw:name"></xsl:attribute> 1329 <xsl:attribute name="text:anchor-type"></xsl:attribute> 1330 <xsl:attribute name="draw:z-index"></xsl:attribute> 1331 <xsl:attribute name="xlink:href"> 1332 <xsl:value-of select="@fileref"/> 1333 </xsl:attribute> 1334 <xsl:attribute name="xlink:type"></xsl:attribute> 1335 <xsl:attribute name="svg:width"> 1336 <!--<xsl:value-of select="@width"/>--> 1337 <xsl:text>1cm</xsl:text> 1338 </xsl:attribute> 1339 <xsl:attribute name="svg:height"> 1340 <xsl:text>1cm</xsl:text> 1341 </xsl:attribute> 1342 <xsl:attribute name="xlink:show"> 1343 <xsl:text>embed</xsl:text> 1344 </xsl:attribute> 1345 <xsl:attribute name="xlink:actuate"> 1346 <xsl:text>onLoad</xsl:text> 1347 </xsl:attribute> 1348 <xsl:attribute name="draw:filter-name"> 1349 <xsl:text disable-output-escaping="yes"><All formats></xsl:text> 1350 </xsl:attribute> 1351 </xsl:element> 1352 </xsl:template> 1353 1354 <xsl:template match="audioobject"> 1355 <xsl:element name="draw:plugin"> 1356 <xsl:attribute name="draw:style-name">fr1</xsl:attribute> 1357 <xsl:attribute name="draw:name"></xsl:attribute> 1358 <xsl:attribute name="text:anchor-type"></xsl:attribute> 1359 <xsl:attribute name="draw:z-index"></xsl:attribute> 1360 <xsl:attribute name="xlink:href"> 1361 <xsl:value-of select="@fileref"/> 1362 </xsl:attribute> 1363 <xsl:attribute name="xlink:type"></xsl:attribute> 1364 <xsl:attribute name="svg:width"> 1365 <!--<xsl:value-of select="@width"/>--> 1366 <xsl:text>1cm</xsl:text> 1367 </xsl:attribute> 1368 <xsl:attribute name="svg:height"> 1369 <xsl:text>1cm</xsl:text> 1370 </xsl:attribute> 1371 <xsl:attribute name="xlink:show"> 1372 <xsl:text>embed</xsl:text> 1373 </xsl:attribute> 1374 <xsl:attribute name="xlink:actuate"> 1375 <xsl:text>onLoad</xsl:text> 1376 </xsl:attribute> 1377 <xsl:attribute name="draw:filter-name"> 1378 <xsl:text disable-output-escaping="yes"><All formats></xsl:text> 1379 </xsl:attribute> 1380 </xsl:element> 1381 </xsl:template> 1382 1383 <xsl:template match="remark"> 1384 <xsl:apply-templates/> 1385 </xsl:template> 1386 1387 <xsl:template match="mediaobject"> 1388 <xsl:element name="text:p"> 1389 <xsl:attribute name="text:style-name">Mediaobject</xsl:attribute> 1390 <xsl:apply-templates/> 1391 </xsl:element> 1392 </xsl:template> 1393 1394 <xsl:template match="superscript"> 1395 <xsl:element name="text:span"> 1396 <xsl:attribute name="text:style-name">SuperScript</xsl:attribute> 1397 <xsl:apply-templates/> 1398 </xsl:element> 1399 </xsl:template> 1400 1401 <xsl:template match="subscript"> 1402 <xsl:element name="text:span"> 1403 <xsl:attribute name="text:style-name">SubScript</xsl:attribute> 1404 <xsl:apply-templates/> 1405 </xsl:element> 1406 </xsl:template> 1407 1408 <xsl:template match="anchor"> 1409 <xsl:element name="text:bookmark"> 1410 <xsl:attribute name="text:name"><xsl:value-of select="@id"/></xsl:attribute> 1411 </xsl:element> 1412 </xsl:template> 1413 1414<!-- Change Made By Kevin Fowlks (fowlks@msu.edu) July 2nd, 2003 --> 1415 <xsl:template match="example"> 1416 <xsl:element name="text:p"> 1417 <xsl:attribute name="text:style-name">Example</xsl:attribute> 1418 <xsl:value-of select="programlisting"/> 1419 </xsl:element> 1420 </xsl:template> 1421</xsl:stylesheet>