dita2odtstyles.xsl 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- This file is part of the DITA Open Toolkit project.
  3. See the accompanying license.txt file for applicable licenses. -->
  4. <!-- (c) Copyright IBM Corp. 2005, 2006 All Rights Reserved. -->
  5. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  6. xmlns:xs="http://www.w3.org/2001/XMLSchema"
  7. xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
  8. xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
  9. xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
  10. xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
  11. xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
  12. xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
  13. xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/"
  14. xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
  15. xmlns:presentation="urn:oasis:names:tc:opendocument:xmlns:presentation:1.0"
  16. xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
  17. xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
  18. xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
  19. xmlns:math="http://www.w3.org/1998/Math/MathML"
  20. xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
  21. xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
  22. xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms"
  23. xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  24. xmlns:anim="urn:oasis:names:tc:opendocument:xmlns:animation:1.0"
  25. xmlns:smil="urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0"
  26. xmlns:prodtools="http://www.ibm.com/xmlns/prodtools"
  27. exclude-result-prefixes="xs"
  28. version="2.0">
  29. <!-- Define a newline character -->
  30. <xsl:variable name="newline"><xsl:text>
  31. </xsl:text></xsl:variable>
  32. <xsl:attribute-set name="root">
  33. <xsl:attribute name="office:version">1.1</xsl:attribute>
  34. </xsl:attribute-set>
  35. <xsl:template match="/">
  36. <office:document-styles xsl:use-attribute-sets="root">
  37. <xsl:call-template name="root"/>
  38. </office:document-styles>
  39. </xsl:template>
  40. <xsl:template name="root">
  41. <!--xsl:call-template name="gen-list-table"/-->
  42. <office:font-face-decls>
  43. <style:font-face style:name="Courier" svg:font-family="Courier"
  44. style:font-family-generic="modern"/>
  45. <style:font-face style:name="Courier New" svg:font-family="&apos;Courier New&apos;"
  46. style:font-family-generic="modern" style:font-pitch="fixed"/>
  47. <style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/>
  48. <style:font-face style:name="Arial2" svg:font-family="Arial" style:font-pitch="variable"/>
  49. <style:font-face style:name="SimSun" svg:font-family="SimSun" style:font-pitch="variable"/>
  50. <style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-pitch="variable"/>
  51. <style:font-face style:name="Arial" svg:font-family="Arial" style:font-family-generic="roman"
  52. style:font-pitch="variable"/>
  53. <style:font-face style:name="Arial1" svg:font-family="Arial" style:font-family-generic="swiss"
  54. style:font-pitch="variable"/>
  55. </office:font-face-decls>
  56. <office:styles>
  57. <style:default-style style:family="graphic">
  58. <style:graphic-properties draw:start-line-spacing-horizontal="0.1114in"
  59. draw:start-line-spacing-vertical="0.1114in" draw:end-line-spacing-horizontal="0.1114in"
  60. draw:end-line-spacing-vertical="0.1114in"/>
  61. <style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict"
  62. style:writing-mode="lr-tb">
  63. <style:tab-stops/>
  64. </style:paragraph-properties>
  65. <style:text-properties style:use-window-font-color="true" style:font-name="Arial"
  66. fo:font-size="12pt" fo:language="en" fo:country="US" style:font-name-asian="Arial2"
  67. style:font-size-asian="12pt" style:language-asian="none" style:country-asian="none"
  68. style:font-name-complex="Tahoma" style:font-size-complex="12pt"
  69. style:language-complex="none" style:country-complex="none"/>
  70. </style:default-style>
  71. <style:default-style style:family="paragraph">
  72. <style:paragraph-properties fo:hyphenation-remain-char-count="2"
  73. fo:hyphenation-push-char-count="2" fo:hyphenation-ladder-count="no-limit"
  74. style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging"
  75. style:line-break="strict" style:tab-stop-distance="0.5in" style:writing-mode="page"/>
  76. <style:text-properties style:use-window-font-color="true" style:font-name="Arial"
  77. fo:font-size="12pt" fo:language="en" fo:country="US" style:font-name-asian="Arial2"
  78. style:font-size-asian="12pt" style:language-asian="none" style:country-asian="none"
  79. style:font-name-complex="Tahoma" style:font-size-complex="12pt"
  80. style:language-complex="none" style:country-complex="none" fo:hyphenate="false"/>
  81. </style:default-style>
  82. <!-- page break style -->
  83. <style:style style:name="PB" style:family="paragraph">
  84. <style:paragraph-properties fo:break-after="page"/>
  85. </style:style>
  86. <style:style style:name="indent_paragraph_style" style:display-name="indent_paragraph_style"
  87. style:family="paragraph" style:class="text" style:parent-style-name="Default_20_Text">
  88. <style:paragraph-properties fo:margin-left="0.25in" fo:margin-right="0in"
  89. fo:text-indent="0in" style:auto-text-indent="false"/>
  90. </style:style>
  91. <style:style style:name="indent_text_style" style:display-name="indent_text_style"
  92. style:family="text" style:class="text" style:parent-style-name="default_text_style">
  93. <style:text-properties fo:margin-left="0.25in" fo:margin-right="0in"
  94. fo:text-indent="0in" style:auto-text-indent="false"/>
  95. </style:style>
  96. <style:style style:name="Default_20_Text" style:family="paragraph">
  97. <style:text-properties fo:font-size="10.5pt" style:font-size-asian="10.5pt"
  98. style:font-size-complex="10.5pt"/>
  99. </style:style>
  100. <style:style style:name="default_text_style" style:family="text">
  101. <style:text-properties fo:font-size="10.5pt" style:font-size-asian="10.5pt"
  102. style:font-size-complex="10.5pt"/>
  103. </style:style>
  104. <!-- code and screen style -->
  105. <style:style style:name="Code_Paragraph" style:family="paragraph" style:parent-style-name="indent_paragraph_style">
  106. <style:paragraph-properties
  107. fo:margin-left="0cm"
  108. fo:margin-right="0cm"
  109. fo:margin-top="0cm"
  110. fo:margin-bottom="0cm"
  111. fo:keep-together="always"
  112. fo:text-indent="0cm"
  113. style:auto-text-indent="false"
  114. fo:background-color="#d9d9d9"
  115. fo:padding-left="0cm"
  116. fo:padding-right="0cm"
  117. fo:padding-top="0.106cm"
  118. fo:padding-bottom="0.106cm"
  119. fo:border-left="none"
  120. fo:border-right="none"
  121. fo:border-top="0.002cm solid #000000"
  122. fo:border-bottom="0.002cm solid #000000">
  123. <style:background-image/>
  124. </style:paragraph-properties>
  125. </style:style>
  126. <!-- code and screen style -->
  127. <style:style style:name="Code_Text" style:family="text" style:parent-style-name="indent_text_style">
  128. <style:text-properties fo:keep-together="always" style:auto-text-indent="false" fo:background-color="#d9d9d9" fo:padding-top="0.106cm" fo:padding-bottom="0.106cm">
  129. <style:background-image/>
  130. </style:text-properties>
  131. </style:style>
  132. <style:style style:name="Code_Style_Paragraph" style:family="paragraph" style:parent-style-name="Code_Paragraph">
  133. <style:paragraph-properties text:number-lines="true" text:line-number="0"/>
  134. </style:style>
  135. <style:style style:name="Common_Heading_Style" style:display-name="Text Body Single"
  136. style:family="paragraph" style:parent-style-name="Default_20_Text">
  137. <style:paragraph-properties fo:margin-top="0in" fo:margin-bottom="0.0835in"/>
  138. </style:style>
  139. <style:style style:name="Heading" style:family="paragraph"
  140. style:class="text">
  141. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in"
  142. fo:keep-with-next="always"/>
  143. <style:text-properties style:font-name="Arial1" fo:font-size="14pt"
  144. style:font-name-asian="SimSun" style:font-size-asian="14pt"
  145. style:font-name-complex="Tahoma" style:font-size-complex="14pt"/>
  146. </style:style>
  147. <!-- Table Style -->
  148. <!--
  149. <style:style style:name="table_style" style:family="table">
  150. <style:table-properties fo:keep-with-next="true"/>
  151. </style:style>
  152. -->
  153. <!-- required-cleanup style -->
  154. <style:style style:name="required_cleanup_style" style:family="text" style:parent-style-name="indent_paragraph_style">
  155. <style:text-properties fo:color="#cc3333"/>
  156. </style:style>
  157. <style:style style:name="bold_paragraph" style:family="paragraph" style:parent-style-name="indent_paragraph_style">
  158. <style:text-properties fo:font-weight="bold" style:font-weight-asian="bold"
  159. style:font-weight-complex="bold"/>
  160. </style:style>
  161. <style:style style:name="bold" style:family="text">
  162. <style:text-properties fo:font-weight="bold" style:font-weight-asian="bold"
  163. style:font-weight-complex="bold"/>
  164. </style:style>
  165. <style:style style:name="sub1" style:family="text" style:parent-style-name="default_text_style">
  166. <style:text-properties style:text-position="-10% 58%"/>
  167. </style:style>
  168. <style:style style:name="sub2" style:family="text" style:parent-style-name="default_text_style">
  169. <style:text-properties style:text-position="-20% 58%"/>
  170. </style:style>
  171. <style:style style:name="sub3" style:family="text" style:parent-style-name="default_text_style">
  172. <style:text-properties style:text-position="-30% 58%"/>
  173. </style:style>
  174. <style:style style:name="sub4" style:family="text" style:parent-style-name="default_text_style">
  175. <style:text-properties style:text-position="-40% 58%"/>
  176. </style:style>
  177. <style:style style:name="sub5" style:family="text" style:parent-style-name="default_text_style">
  178. <style:text-properties style:text-position="-50% 58%"/>
  179. </style:style>
  180. <style:style style:name="sub6" style:family="text" style:parent-style-name="default_text_style">
  181. <style:text-properties style:text-position="-60% 58%"/>
  182. </style:style>
  183. <style:style style:name="sup1" style:family="text" style:parent-style-name="default_text_style">
  184. <style:text-properties style:text-position="40% 58%"/>
  185. </style:style>
  186. <style:style style:name="sup2" style:family="text" style:parent-style-name="default_text_style">
  187. <style:text-properties style:text-position="50% 58%"/>
  188. </style:style>
  189. <style:style style:name="sup3" style:family="text" style:parent-style-name="default_text_style">
  190. <style:text-properties style:text-position="60% 58%"/>
  191. </style:style>
  192. <style:style style:name="sup4" style:family="text" style:parent-style-name="default_text_style">
  193. <style:text-properties style:text-position="70% 58%"/>
  194. </style:style>
  195. <style:style style:name="sup5" style:family="text" style:parent-style-name="default_text_style">
  196. <style:text-properties style:text-position="80% 58%"/>
  197. </style:style>
  198. <style:style style:name="sup6" style:family="text" style:parent-style-name="default_text_style">
  199. <style:text-properties style:text-position="90% 58%"/>
  200. </style:style>
  201. <style:style style:name="underline" style:family="text" style:parent-style-name="default_text_style">
  202. <style:text-properties style:text-underline-style="solid"
  203. style:text-underline-type="single" style:text-underline-width="auto"
  204. style:text-underline-color="font-color"/>
  205. </style:style>
  206. <style:style style:name="double-underline" style:family="text" style:parent-style-name="default_text_style">
  207. <style:text-properties style:text-underline-style="solid"
  208. style:text-underline-type="double" style:text-underline-width="auto"
  209. style:text-underline-color="font-color"/>
  210. </style:style>
  211. <style:style style:name="overline" style:family="text" style:parent-style-name="default_text_style">
  212. <style:text-properties style:text-overline-style="solid"
  213. style:text-overline-width="auto" style:text-overline-color="font-color"/>
  214. </style:style>
  215. <style:style style:name="italic" style:family="text">
  216. <style:text-properties fo:font-style="italic" style:font-style-asian="italic"
  217. style:font-style-complex="italic"/>
  218. </style:style>
  219. <!-- call style templates -->
  220. <xsl:call-template name="create-aligment-style"/>
  221. <xsl:call-template name="create-font"/>
  222. <xsl:call-template name="create-boolean-style"/>
  223. <xsl:call-template name="create-state-style"/>
  224. <xsl:call-template name="create-footnote-style"/>
  225. <xsl:call-template name="create_ul_style"/>
  226. <xsl:call-template name="create_ol_style"/>
  227. <xsl:call-template name="create_sl_style"/>
  228. <xsl:apply-templates/>
  229. <text:outline-style>
  230. <text:outline-level-style text:level="1" style:num-format=""/>
  231. <text:outline-level-style text:level="2" style:num-format=""/>
  232. <text:outline-level-style text:level="3" style:num-format=""/>
  233. <text:outline-level-style text:level="4" style:num-format=""/>
  234. <text:outline-level-style text:level="5" style:num-format=""/>
  235. <text:outline-level-style text:level="6" style:num-format=""/>
  236. <text:outline-level-style text:level="7" style:num-format=""/>
  237. <text:outline-level-style text:level="8" style:num-format=""/>
  238. <text:outline-level-style text:level="9" style:num-format=""/>
  239. <text:outline-level-style text:level="10" style:num-format=""/>
  240. </text:outline-style>
  241. <text:notes-configuration text:note-class="footnote"
  242. text:citation-style-name="footnote_symbol"
  243. text:citation-body-style-name="footnote_anchor" style:num-format="1"
  244. text:start-value="0" text:footnotes-position="page" text:start-numbering-at="document"/>
  245. <text:notes-configuration text:note-class="endnote" style:num-format="i" text:start-value="0"/>
  246. <text:linenumbering-configuration text:number-lines="false" text:offset="0.1965in"
  247. style:num-format="1" text:number-position="left" text:increment="5"/>
  248. <!-- standard style -->
  249. <style:style style:name="Standard" style:family="paragraph" style:class="text">
  250. <style:paragraph-properties
  251. fo:margin-top="0.141cm" fo:margin-bottom="0.141cm" fo:orphans="2"
  252. fo:widows="2" text:number-lines="false" text:line-number="0"/>
  253. <style:text-properties
  254. style:use-window-font-color="true" style:font-name="Arial" fo:font-size="10pt" fo:language="en" fo:country="US"
  255. style:font-name-asian="Times New Roman" style:font-size-asian="10pt" style:font-name-complex="Times New Roman"
  256. style:font-size-complex="12pt" style:language-complex="ar" style:country-complex="SA"/>
  257. </style:style>
  258. <!-- book title style -->
  259. <style:style style:name="Title" style:family="paragraph" style:parent-style-name="Standard" style:class="chapter">
  260. <style:paragraph-properties
  261. fo:margin-top="7cm" fo:margin-bottom="0.423cm" fo:padding-left="0cm" fo:padding-right="0cm"
  262. fo:padding-top="0.035cm" fo:padding-bottom="0cm" fo:border-left="none" fo:border-right="none"
  263. fo:border-top="none" fo:border-bottom="none"/>
  264. <style:text-properties
  265. fo:color="#333399" fo:font-size="20pt" fo:font-weight="bold" style:letter-kerning="true"
  266. style:font-size-asian="24pt" style:font-weight-asian="bold" style:font-name-complex="Arial"
  267. style:font-size-complex="16pt" style:font-weight-complex="bold"/>
  268. </style:style>
  269. <!-- borderde paragraph -->
  270. <style:style style:name="border_paragraph" style:family="paragraph" style:parent-style-name="Standard"
  271. style:class="chapter">
  272. <style:paragraph-properties fo:border-left="0.0007in solid #000000"
  273. fo:border-right="0.0007in solid #000000"
  274. fo:border-top="0.0007in solid #000000"
  275. fo:border-bottom="0.0007in solid #000000"/>
  276. </style:style>
  277. <!-- draft-comment paragraph -->
  278. <style:style style:name="draftcomment_paragraph" style:family="paragraph" style:parent-style-name="border_paragraph"
  279. style:class="chapter">
  280. <style:paragraph-properties fo:background-color="#99ff99"/>
  281. </style:style>
  282. <!-- syntaxdiagram style -->
  283. <style:style style:name="syntaxdiagram_paragraph" style:family="paragraph" style:parent-style-name="Standard"
  284. style:class="chapter">
  285. <style:paragraph-properties fo:color="#800000"/>
  286. <style:text-properties fo:color="#800000"/>
  287. </style:style>
  288. <style:style style:name="syntaxdiagram_text" style:family="text" style:parent-style-name="default_text_style"
  289. style:class="chapter">
  290. <style:text-properties fo:color="#800000"/>
  291. </style:style>
  292. <!-- Styles used in toc start-->
  293. <style:style style:name="Index" style:family="paragraph"
  294. style:parent-style-name="Default_20_Text" style:class="index">
  295. <style:paragraph-properties text:number-lines="false" text:line-number="0"/>
  296. <style:text-properties fo:color="#0000ff"/>
  297. </style:style>
  298. <style:style style:name="underline_none" style:family="text" style:parent-style-name="default_text_style">
  299. <style:text-properties style:text-underline-style="none"
  300. style:text-underline-type="none" style:text-underline-width="none"
  301. style:text-underline-color="none"/>
  302. </style:style>
  303. <style:style style:name="Contents_20_Heading" style:display-name="Contents Heading"
  304. style:family="paragraph" style:parent-style-name="Heading" style:class="index">
  305. <style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in"
  306. fo:text-indent="0in" style:auto-text-indent="false" text:number-lines="false"
  307. text:line-number="0"/>
  308. <style:text-properties fo:font-size="16pt" fo:font-weight="bold"
  309. style:font-size-asian="16pt" style:font-weight-asian="bold"
  310. style:font-size-complex="16pt" style:font-weight-complex="bold"/>
  311. </style:style>
  312. <style:style style:name="Contents_20_Heading_TOC" style:display-name="Contents Heading"
  313. style:family="paragraph" style:parent-style-name="Heading" style:class="index">
  314. <style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in" fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" fo:text-indent="0in"
  315. style:auto-text-indent="false"
  316. text:number-lines="false"
  317. text:line-number="0"/>
  318. <style:text-properties fo:color="#333399" fo:font-size="18pt" fo:font-weight="bold"
  319. style:letter-kerning="true" style:font-size-asian="18pt"
  320. style:font-weight-asian="bold" style:font-name-complex="Arial1"
  321. style:font-size-complex="16pt" style:font-weight-complex="bold"/>
  322. </style:style>
  323. <style:style style:name="Contents_20_1" style:display-name="Contents 1"
  324. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  325. <style:paragraph-properties fo:margin-left="0in" fo:margin-right="0in"
  326. fo:text-indent="0in" style:auto-text-indent="false">
  327. <style:tab-stops>
  328. <style:tab-stop style:position="6.7in" style:type="right"
  329. style:leader-style="dotted" style:leader-text="."/>
  330. </style:tab-stops>
  331. </style:paragraph-properties>
  332. </style:style>
  333. <style:style style:name="Contents_20_2" style:display-name="Contents 2"
  334. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  335. <style:paragraph-properties fo:margin-left="0.2in" fo:margin-right="0in"
  336. fo:text-indent="0in" style:auto-text-indent="false">
  337. <style:tab-stops>
  338. <style:tab-stop style:position="6.5in" style:type="right"
  339. style:leader-style="dotted" style:leader-text="."/>
  340. </style:tab-stops>
  341. </style:paragraph-properties>
  342. </style:style>
  343. <style:style style:name="Contents_20_3" style:display-name="Contents 3"
  344. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  345. <style:paragraph-properties fo:margin-left="0.4in" fo:margin-right="0in"
  346. fo:text-indent="0in" style:auto-text-indent="false">
  347. <style:tab-stops>
  348. <style:tab-stop style:position="6.3in" style:type="right"
  349. style:leader-style="dotted" style:leader-text="."/>
  350. </style:tab-stops>
  351. </style:paragraph-properties>
  352. </style:style>
  353. <style:style style:name="Contents_20_4" style:display-name="Contents 4"
  354. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  355. <style:paragraph-properties fo:margin-left="0.6in" fo:margin-right="0in"
  356. fo:text-indent="0in" style:auto-text-indent="false">
  357. <style:tab-stops>
  358. <style:tab-stop style:position="6.1n" style:type="right"
  359. style:leader-style="dotted" style:leader-text="."/>
  360. </style:tab-stops>
  361. </style:paragraph-properties>
  362. </style:style>
  363. <style:style style:name="Contents_20_5" style:display-name="Contents 5"
  364. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  365. <style:paragraph-properties fo:margin-left="0.8in" fo:margin-right="0in"
  366. fo:text-indent="0in" style:auto-text-indent="false">
  367. <style:tab-stops>
  368. <style:tab-stop style:position="5.9in" style:type="right"
  369. style:leader-style="dotted" style:leader-text="."/>
  370. </style:tab-stops>
  371. </style:paragraph-properties>
  372. </style:style>
  373. <style:style style:name="Contents_20_6" style:display-name="Contents 6"
  374. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  375. <style:paragraph-properties fo:margin-left="1.0in" fo:margin-right="0in"
  376. fo:text-indent="0in" style:auto-text-indent="false">
  377. <style:tab-stops>
  378. <style:tab-stop style:position="5.7in" style:type="right"
  379. style:leader-style="dotted" style:leader-text="."/>
  380. </style:tab-stops>
  381. </style:paragraph-properties>
  382. </style:style>
  383. <style:style style:name="Contents_20_7" style:display-name="Contents 7"
  384. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  385. <style:paragraph-properties fo:margin-left="1.2in" fo:margin-right="0in"
  386. fo:text-indent="0in" style:auto-text-indent="false">
  387. <style:tab-stops>
  388. <style:tab-stop style:position="5.5in" style:type="right"
  389. style:leader-style="dotted" style:leader-text="."/>
  390. </style:tab-stops>
  391. </style:paragraph-properties>
  392. </style:style>
  393. <style:style style:name="Contents_20_8" style:display-name="Contents 8"
  394. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  395. <style:paragraph-properties fo:margin-left="1.4in" fo:margin-right="0in"
  396. fo:text-indent="0in" style:auto-text-indent="false">
  397. <style:tab-stops>
  398. <style:tab-stop style:position="5.3in" style:type="right"
  399. style:leader-style="dotted" style:leader-text="."/>
  400. </style:tab-stops>
  401. </style:paragraph-properties>
  402. </style:style>
  403. <style:style style:name="Contents_20_9" style:display-name="Contents 9"
  404. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  405. <style:paragraph-properties fo:margin-left="1.6in" fo:margin-right="0in"
  406. fo:text-indent="0in" style:auto-text-indent="false">
  407. <style:tab-stops>
  408. <style:tab-stop style:position="5.1in" style:type="right"
  409. style:leader-style="dotted" style:leader-text="."/>
  410. </style:tab-stops>
  411. </style:paragraph-properties>
  412. </style:style>
  413. <style:style style:name="Contents_20_10" style:display-name="Contents 10"
  414. style:family="paragraph" style:parent-style-name="Index" style:class="index">
  415. <style:paragraph-properties fo:margin-left="1.8in" fo:margin-right="0in"
  416. fo:text-indent="0in" style:auto-text-indent="false">
  417. <style:tab-stops>
  418. <style:tab-stop style:position="4.9in" style:type="right"
  419. style:leader-style="dotted" style:leader-text="."/>
  420. </style:tab-stops>
  421. </style:paragraph-properties>
  422. </style:style>
  423. <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Contents_20_1">
  424. <style:paragraph-properties>
  425. <style:tab-stops>
  426. <style:tab-stop style:position="6.7in" style:type="right"
  427. style:leader-style="dotted" style:leader-text="."/>
  428. </style:tab-stops>
  429. </style:paragraph-properties>
  430. </style:style>
  431. <style:style style:name="P2" style:family="paragraph" style:parent-style-name="Contents_20_2">
  432. <style:paragraph-properties>
  433. <style:tab-stops>
  434. <style:tab-stop style:position="6.5in" style:type="right" style:leader-style="dotted"
  435. style:leader-text="."/>
  436. </style:tab-stops>
  437. </style:paragraph-properties>
  438. </style:style>
  439. <style:style style:name="P3" style:family="paragraph" style:parent-style-name="Contents_20_3">
  440. <style:paragraph-properties>
  441. <style:tab-stops>
  442. <style:tab-stop style:position="6.3in" style:type="right" style:leader-style="dotted"
  443. style:leader-text="."/>
  444. </style:tab-stops>
  445. </style:paragraph-properties>
  446. </style:style>
  447. <style:style style:name="P4" style:family="paragraph" style:parent-style-name="Contents_20_4">
  448. <style:paragraph-properties>
  449. <style:tab-stops>
  450. <style:tab-stop style:position="6.1in" style:type="right" style:leader-style="dotted"
  451. style:leader-text="."/>
  452. </style:tab-stops>
  453. </style:paragraph-properties>
  454. </style:style>
  455. <style:style style:name="P5" style:family="paragraph" style:parent-style-name="Contents_20_5">
  456. <style:paragraph-properties>
  457. <style:tab-stops>
  458. <style:tab-stop style:position="5.9in" style:type="right" style:leader-style="dotted"
  459. style:leader-text="."/>
  460. </style:tab-stops>
  461. </style:paragraph-properties>
  462. </style:style>
  463. <style:style style:name="P6" style:family="paragraph" style:parent-style-name="Contents_20_6">
  464. <style:paragraph-properties>
  465. <style:tab-stops>
  466. <style:tab-stop style:position="5.7in" style:type="right" style:leader-style="dotted"
  467. style:leader-text="."/>
  468. </style:tab-stops>
  469. </style:paragraph-properties>
  470. </style:style>
  471. <style:style style:name="P7" style:family="paragraph" style:parent-style-name="Contents_20_7">
  472. <style:paragraph-properties>
  473. <style:tab-stops>
  474. <style:tab-stop style:position="5.5in" style:type="right" style:leader-style="dotted"
  475. style:leader-text="."/>
  476. </style:tab-stops>
  477. </style:paragraph-properties>
  478. </style:style>
  479. <style:style style:name="P8" style:family="paragraph" style:parent-style-name="Contents_20_8">
  480. <style:paragraph-properties>
  481. <style:tab-stops>
  482. <style:tab-stop style:position="5.3in" style:type="right" style:leader-style="dotted"
  483. style:leader-text="."/>
  484. </style:tab-stops>
  485. </style:paragraph-properties>
  486. </style:style>
  487. <style:style style:name="P9" style:family="paragraph" style:parent-style-name="Contents_20_9">
  488. <style:paragraph-properties>
  489. <style:tab-stops>
  490. <style:tab-stop style:position="5.1in" style:type="right" style:leader-style="dotted"
  491. style:leader-text="."/>
  492. </style:tab-stops>
  493. </style:paragraph-properties>
  494. </style:style>
  495. <style:style style:name="P10" style:family="paragraph" style:parent-style-name="Contents_20_10">
  496. <style:paragraph-properties>
  497. <style:tab-stops>
  498. <style:tab-stop style:position="4.9in" style:type="right" style:leader-style="dotted"
  499. style:leader-text="."/>
  500. </style:tab-stops>
  501. </style:paragraph-properties>
  502. </style:style>
  503. <style:style style:name="Sect1" style:family="section">
  504. <style:section-properties style:editable="false">
  505. <style:columns fo:column-count="1" fo:column-gap="0in"/>
  506. </style:section-properties>
  507. </style:style>
  508. <!-- Styles used in toc end-->
  509. <!-- Footer style -->
  510. <style:style style:name="Footer" style:family="paragraph"
  511. style:parent-style-name="Default_20_Text" style:class="extra">
  512. <style:paragraph-properties text:number-lines="false" text:line-number="0">
  513. <style:tab-stops>
  514. <style:tab-stop style:position="3in" style:type="center"/>
  515. <style:tab-stop style:position="6in" style:type="right"/>
  516. </style:tab-stops>
  517. </style:paragraph-properties>
  518. </style:style>
  519. </office:styles>
  520. <office:automatic-styles>
  521. <style:page-layout style:name="pm1">
  522. <style:page-layout-properties fo:page-width="8.5in" fo:page-height="11in"
  523. style:num-format="1" style:print-orientation="portrait" fo:margin-top="1in"
  524. fo:margin-bottom="1in" fo:margin-left="1.25in" fo:margin-right="1.25in"
  525. style:shadow="none" style:writing-mode="lr-tb" style:layout-grid-color="#c0c0c0"
  526. style:layout-grid-lines="20" style:layout-grid-base-height="0.278in"
  527. style:layout-grid-ruby-height="0.139in" style:layout-grid-mode="none"
  528. style:layout-grid-ruby-below="false" style:layout-grid-print="true"
  529. style:layout-grid-display="true" style:footnote-max-height="0in">
  530. <style:footnote-sep style:width="0.0071in" style:distance-before-sep="0.0402in"
  531. style:distance-after-sep="0.0402in" style:adjustment="left"
  532. style:rel-width="25%" style:color="#000000"/>
  533. </style:page-layout-properties>
  534. <style:header-style/>
  535. <style:footer-style>
  536. <style:header-footer-properties fo:min-height="0.2402in" fo:margin-left="0in"
  537. fo:margin-right="0in" fo:margin-top="0.2in" style:dynamic-spacing="false"/>
  538. </style:footer-style>
  539. </style:page-layout>
  540. </office:automatic-styles>
  541. <!-- page number -->
  542. <office:master-styles>
  543. <style:master-page style:name="Standard" style:page-layout-name="pm1">
  544. <style:footer>
  545. <text:p text:style-name="Footer"><text:tab/><text:tab/>Page <text:page-number text:select-page="current">196</text:page-number> of <text:page-count style:num-format="1">738</text:page-count></text:p>
  546. </style:footer>
  547. </style:master-page>
  548. </office:master-styles>
  549. </xsl:template>
  550. <xsl:template match="*[contains(@class,' topic/topic ')]">
  551. <xsl:apply-templates/>
  552. </xsl:template>
  553. <xsl:template match="*[contains(@class, ' topic/body ')]">
  554. <xsl:apply-templates/>
  555. </xsl:template>
  556. <!-- create header style -->
  557. <xsl:template match="*[contains(@class,' topic/topic ')]/*[contains(@class,' topic/title ')]">
  558. <!--xsl:call-template name="gen-id"/-->
  559. <xsl:variable name="depth" select="count(ancestor::*[contains(@class,' topic/topic ')])" as="xs:integer"/>
  560. <xsl:call-template name="create-header-styles">
  561. <xsl:with-param name="depth" select="$depth"/>
  562. </xsl:call-template>
  563. </xsl:template>
  564. <!-- create header style for section -->
  565. <xsl:template match="*[contains(@class,' topic/section ')]/*[contains(@class,' topic/title ')]">
  566. <xsl:variable name="depth" select="count(ancestor::*[contains(@class,' topic/topic ')]) + 1" as="xs:integer"/>
  567. <xsl:call-template name="create-header-styles">
  568. <xsl:with-param name="depth" select="$depth"/>
  569. </xsl:call-template>
  570. </xsl:template>
  571. <!--
  572. <xsl:template match="synsect"/>
  573. <xsl:template match="*[contains(@class,' topic/section ')]"/>
  574. <xsl:template match="*[contains(@class,' topic/example ')]"/>
  575. <xsl:template match="*[contains(@class,' topic/example ')]/*[contains(@class,' topic/title ')]"/>
  576. -->
  577. <!-- header styles -->
  578. <xsl:template name="create-header-styles">
  579. <xsl:param name="depth" as="xs:integer"/>
  580. <xsl:value-of select="$newline"/>
  581. <style:style style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Common_Heading_Style">
  582. <!-- create book mark -->
  583. <xsl:choose>
  584. <xsl:when test="$depth = 1">
  585. <xsl:attribute name="style:display-name">Heading 1</xsl:attribute>
  586. <xsl:attribute name="style:name">Heading_20_1</xsl:attribute>
  587. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" />
  588. <style:text-properties fo:font-size="16pt" fo:font-weight="bold"
  589. style:font-size-asian="16pt" style:font-weight-asian="bold"
  590. style:font-size-complex="16pt" style:font-weight-complex="bold"
  591. style:text-underline-style="solid"
  592. style:text-underline-type="single" style:text-underline-width="auto"
  593. style:text-underline-color="font-color"/>
  594. </xsl:when>
  595. <xsl:when test="$depth = 2">
  596. <xsl:attribute name="style:display-name">Heading 2</xsl:attribute>
  597. <xsl:attribute name="style:name">Heading_20_2</xsl:attribute>
  598. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" />
  599. <style:text-properties fo:font-size="15pt" fo:font-weight="bold"
  600. style:font-size-asian="15pt" style:font-weight-asian="bold"
  601. style:font-size-complex="15pt" style:font-weight-complex="bold"/>
  602. </xsl:when>
  603. <xsl:when test="$depth = 3">
  604. <xsl:attribute name="style:display-name">Heading 3</xsl:attribute>
  605. <xsl:attribute name="style:name">Heading_20_3</xsl:attribute>
  606. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" />
  607. <style:text-properties fo:font-size="14pt" fo:font-weight="bold"
  608. style:font-size-asian="14pt" style:font-weight-asian="bold"
  609. style:font-size-complex="14pt" style:font-weight-complex="bold"/>
  610. </xsl:when>
  611. <xsl:when test="$depth = 4">
  612. <xsl:attribute name="style:display-name">Heading 4</xsl:attribute>
  613. <xsl:attribute name="style:name">Heading_20_4</xsl:attribute>
  614. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" />
  615. <style:text-properties fo:font-size="13pt" fo:font-weight="bold"
  616. style:font-size-asian="13pt" style:font-weight-asian="bold"
  617. style:font-size-complex="13pt" style:font-weight-complex="bold"/>
  618. </xsl:when>
  619. <xsl:when test="$depth = 5">
  620. <xsl:attribute name="style:display-name">Heading 5</xsl:attribute>
  621. <xsl:attribute name="style:name">Heading_20_5</xsl:attribute>
  622. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" />
  623. <style:text-properties fo:font-size="12pt" fo:font-weight="bold"
  624. style:font-size-asian="12pt" style:font-weight-asian="bold"
  625. style:font-size-complex="12pt" style:font-weight-complex="bold"/>
  626. </xsl:when>
  627. <xsl:otherwise>
  628. <xsl:attribute name="style:display-name">Heading 6</xsl:attribute>
  629. <xsl:attribute name="style:name">Heading_20_6</xsl:attribute>
  630. <style:paragraph-properties fo:margin-top="0.1665in" fo:margin-bottom="0.0835in" />
  631. <style:text-properties fo:font-size="11pt" fo:font-weight="bold"
  632. style:font-size-asian="11pt" style:font-weight-asian="bold"
  633. style:font-size-complex="11pt" style:font-weight-complex="bold"/>
  634. </xsl:otherwise>
  635. </xsl:choose>
  636. </style:style>
  637. </xsl:template>
  638. <!--Create styles for list-->
  639. <xsl:template name="create_ul_style">
  640. <xsl:comment>Create styles for list</xsl:comment>
  641. <xsl:value-of select="$newline"/>
  642. <text:list-style style:name="list_style" style:display-name="list_style">
  643. <text:list-level-style-bullet text:level="1" text:style-name="list_style_1"
  644. style:num-suffix="." text:bullet-char="●">
  645. <style:list-level-properties text:min-label-width="0.2917in"/>
  646. <style:text-properties style:font-name="Wingdings"/>
  647. </text:list-level-style-bullet>
  648. <text:list-level-style-bullet text:level="2" text:style-name="list_style_2"
  649. style:num-suffix="." text:bullet-char="•">
  650. <style:list-level-properties text:space-before="0.2917in"
  651. text:min-label-width="0.2917in"/>
  652. <style:text-properties style:font-name="Wingdings"/>
  653. </text:list-level-style-bullet>
  654. <text:list-level-style-bullet text:level="3" text:style-name="list_style_3"
  655. style:num-suffix="." text:bullet-char="✔">
  656. <style:list-level-properties text:space-before="0.5835in"
  657. text:min-label-width="0.2917in"/>
  658. <style:text-properties style:font-name="Wingdings"/>
  659. </text:list-level-style-bullet>
  660. <text:list-level-style-bullet text:level="4" text:style-name="list_style_4"
  661. style:num-suffix="." text:bullet-char="✗">
  662. <style:list-level-properties text:space-before="0.8748in"
  663. text:min-label-width="0.2917in"/>
  664. <style:text-properties style:font-name="Wingdings"/>
  665. </text:list-level-style-bullet>
  666. <text:list-level-style-bullet text:level="5" text:style-name="list_style_5"
  667. style:num-suffix="." text:bullet-char="➔">
  668. <style:list-level-properties text:space-before="1.1665in"
  669. text:min-label-width="0.2917in"/>
  670. <style:text-properties style:font-name="Wingdings"/>
  671. </text:list-level-style-bullet>
  672. <text:list-level-style-bullet text:level="6" text:style-name="list_style_6"
  673. style:num-suffix="." text:bullet-char="➢">
  674. <style:list-level-properties text:space-before="1.4583in"
  675. text:min-label-width="0.2917in"/>
  676. <style:text-properties style:font-name="Wingdings"/>
  677. </text:list-level-style-bullet>
  678. <text:list-level-style-bullet text:level="7" text:style-name="list_style_7"
  679. style:num-suffix="." text:bullet-char="●">
  680. <style:list-level-properties text:space-before="1.75in"
  681. text:min-label-width="0.2917in"/>
  682. <style:text-properties style:font-name="Wingdings"/>
  683. </text:list-level-style-bullet>
  684. <text:list-level-style-bullet text:level="8" text:style-name="list_style_8"
  685. style:num-suffix="." text:bullet-char="•">
  686. <style:list-level-properties text:space-before="2.0417in"
  687. text:min-label-width="0.2917in"/>
  688. <style:text-properties style:font-name="Wingdings"/>
  689. </text:list-level-style-bullet>
  690. <text:list-level-style-bullet text:level="9" text:style-name="list_style_9"
  691. style:num-suffix="." text:bullet-char="✔">
  692. <style:list-level-properties text:space-before="2.3335in"
  693. text:min-label-width="0.2917in"/>
  694. <style:text-properties style:font-name="Wingdings"/>
  695. </text:list-level-style-bullet>
  696. <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
  697. <style:list-level-properties text:space-before="1.7724in"
  698. text:min-label-width="0.1965in"/>
  699. </text:list-level-style-number>
  700. </text:list-style>
  701. <text:list-style style:name="list_style_without_bullet">
  702. <text:list-level-style-bullet text:level="1" text:style-name="list_style_1"
  703. style:num-suffix="." text:bullet-char=" ">
  704. <style:list-level-properties text:min-label-width="0.2917in"/>
  705. <style:text-properties style:font-name="Wingdings"/>
  706. </text:list-level-style-bullet>
  707. <text:list-level-style-bullet text:level="2" text:style-name="list_style_2"
  708. style:num-suffix="." text:bullet-char=" ">
  709. <style:list-level-properties text:space-before="0.2917in"
  710. text:min-label-width="0.2917in"/>
  711. <style:text-properties style:font-name="Wingdings"/>
  712. </text:list-level-style-bullet>
  713. <text:list-level-style-bullet text:level="3" text:style-name="list_style_3"
  714. style:num-suffix="." text:bullet-char=" ">
  715. <style:list-level-properties text:space-before="0.5835in"
  716. text:min-label-width="0.2917in"/>
  717. <style:text-properties style:font-name="Wingdings"/>
  718. </text:list-level-style-bullet>
  719. <text:list-level-style-bullet text:level="4" text:style-name="list_style_4"
  720. style:num-suffix="." text:bullet-char=" ">
  721. <style:list-level-properties text:space-before="0.8748in"
  722. text:min-label-width="0.2917in"/>
  723. <style:text-properties style:font-name="Wingdings"/>
  724. </text:list-level-style-bullet>
  725. <text:list-level-style-bullet text:level="5" text:style-name="list_style_5"
  726. style:num-suffix="." text:bullet-char=" ">
  727. <style:list-level-properties text:space-before="1.1665in"
  728. text:min-label-width="0.2917in"/>
  729. <style:text-properties style:font-name="Wingdings"/>
  730. </text:list-level-style-bullet>
  731. <text:list-level-style-bullet text:level="6" text:style-name="list_style_6"
  732. style:num-suffix="." text:bullet-char=" ">
  733. <style:list-level-properties text:space-before="1.4583in"
  734. text:min-label-width="0.2917in"/>
  735. <style:text-properties style:font-name="Wingdings"/>
  736. </text:list-level-style-bullet>
  737. <text:list-level-style-bullet text:level="7" text:style-name="list_style_7"
  738. style:num-suffix="." text:bullet-char=" ">
  739. <style:list-level-properties text:space-before="1.75in"
  740. text:min-label-width="0.2917in"/>
  741. <style:text-properties style:font-name="Wingdings"/>
  742. </text:list-level-style-bullet>
  743. <text:list-level-style-bullet text:level="8" text:style-name="list_style_8"
  744. style:num-suffix="." text:bullet-char=" ">
  745. <style:list-level-properties text:space-before="2.0417in"
  746. text:min-label-width="0.2917in"/>
  747. <style:text-properties style:font-name="Wingdings"/>
  748. </text:list-level-style-bullet>
  749. <text:list-level-style-bullet text:level="9" text:style-name="list_style_9"
  750. style:num-suffix="." text:bullet-char=" ">
  751. <style:list-level-properties text:space-before="2.3335in"
  752. text:min-label-width="0.2917in"/>
  753. <style:text-properties style:font-name="Wingdings"/>
  754. </text:list-level-style-bullet>
  755. <text:list-level-style-number text:level="10" style:num-suffix="." style:num-format="1">
  756. <style:list-level-properties text:space-before="1.7724in"
  757. text:min-label-width="0.1965in"/>
  758. </text:list-level-style-number>
  759. </text:list-style>
  760. </xsl:template>
  761. <!-- Simple list style -->
  762. <xsl:template name="create_sl_style">
  763. <xsl:comment>Simple list style</xsl:comment>
  764. <xsl:value-of select="$newline"/>
  765. <text:list-style style:name="simple_list_style">
  766. <text:list-level-style-number text:level="1" text:style-name="Numbering_20_Symbols"
  767. style:num-format="">
  768. <style:list-level-properties
  769. text:list-level-position-and-space-mode="label-alignment">
  770. <style:list-level-label-alignment text:label-followed-by="listtab"
  771. text:list-tab-stop-position="0.5in" fo:text-indent="-0.25in"
  772. fo:margin-left="0.5in"/>
  773. </style:list-level-properties>
  774. </text:list-level-style-number>
  775. </text:list-style>
  776. </xsl:template>
  777. <!-- Ordered list style. -->
  778. <xsl:template name="create_ol_style">
  779. <xsl:comment>Ordered list style.</xsl:comment>
  780. <xsl:value-of select="$newline"/>
  781. <text:list-style style:name="ordered_list_style">
  782. <text:list-level-style-number text:level="1"
  783. style:num-suffix="." style:num-format="1">
  784. <style:list-level-properties text:min-label-width="0.1965in"/>
  785. </text:list-level-style-number>
  786. <text:list-level-style-number text:level="2"
  787. style:num-suffix="." style:num-format="1">
  788. <style:list-level-properties text:space-before="0.1972in"
  789. text:min-label-width="0.1965in"/>
  790. </text:list-level-style-number>
  791. <text:list-level-style-number text:level="3"
  792. style:num-suffix="." style:num-format="1">
  793. <style:list-level-properties text:space-before="0.3937in"
  794. text:min-label-width="0.1965in"/>
  795. </text:list-level-style-number>
  796. <text:list-level-style-number text:level="4"
  797. style:num-suffix="." style:num-format="1">
  798. <style:list-level-properties text:space-before="0.5909in"
  799. text:min-label-width="0.1965in"/>
  800. </text:list-level-style-number>
  801. <text:list-level-style-number text:level="5"
  802. style:num-suffix="." style:num-format="1">
  803. <style:list-level-properties text:space-before="0.7874in"
  804. text:min-label-width="0.1965in"/>
  805. </text:list-level-style-number>
  806. <text:list-level-style-number text:level="6"
  807. style:num-suffix="." style:num-format="1">
  808. <style:list-level-properties text:space-before="0.9846in"
  809. text:min-label-width="0.1965in"/>
  810. </text:list-level-style-number>
  811. <text:list-level-style-number text:level="7"
  812. style:num-suffix="." style:num-format="1">
  813. <style:list-level-properties text:space-before="1.1815in"
  814. text:min-label-width="0.1965in"/>
  815. </text:list-level-style-number>
  816. <text:list-level-style-number text:level="8"
  817. style:num-suffix="." style:num-format="1">
  818. <style:list-level-properties text:space-before="1.3787in"
  819. text:min-label-width="0.1965in"/>
  820. </text:list-level-style-number>
  821. <text:list-level-style-number text:level="9"
  822. style:num-suffix="." style:num-format="1">
  823. <style:list-level-properties text:space-before="1.5752in"
  824. text:min-label-width="0.1965in"/>
  825. </text:list-level-style-number>
  826. <text:list-level-style-number text:level="10"
  827. style:num-suffix="." style:num-format="1">
  828. <style:list-level-properties text:space-before="1.7724in"
  829. text:min-label-width="0.1965in"/>
  830. </text:list-level-style-number>
  831. </text:list-style>
  832. </xsl:template>
  833. <!-- fig style -->
  834. <xsl:template match="*[contains(@class,' topic/fig ')]/*[contains(@class,' topic/title ')]">
  835. <xsl:comment>fig style</xsl:comment>
  836. <xsl:value-of select="$newline"/>
  837. <style:style style:name="center" style:family="paragraph">
  838. <style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
  839. </style:style>
  840. </xsl:template>
  841. <!-- Alignment style -->
  842. <xsl:template name="create-aligment-style">
  843. <xsl:comment>Alignment style</xsl:comment>
  844. <xsl:value-of select="$newline"/>
  845. <style:style style:name="left" style:family="paragraph">
  846. <style:paragraph-properties fo:text-align="left" style:justify-single-word="false"/>
  847. </style:style>
  848. <style:style style:name="right" style:family="paragraph">
  849. <style:paragraph-properties fo:text-align="right" style:justify-single-word="false"/>
  850. </style:style>
  851. <style:style style:name="center" style:family="paragraph">
  852. <style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
  853. </style:style>
  854. <style:style style:name="justify" style:family="paragraph">
  855. <style:paragraph-properties fo:text-align="justify" style:justify-single-word="false"/>
  856. </style:style>
  857. </xsl:template>
  858. <!-- boolean style -->
  859. <xsl:template name="create-boolean-style">
  860. <xsl:comment>boolean style</xsl:comment>
  861. <xsl:value-of select="$newline"/>
  862. <style:style style:name="boolean_style" style:family="text" style:parent-style-name="default_text_style">
  863. <style:text-properties fo:color="#00ff00" style:font-name="Arial1"
  864. style:font-name-complex="Arial1"/>
  865. </style:style>
  866. </xsl:template>
  867. <!-- Add for "New <data> element (#9)" in DITA 1.1 -->
  868. <xsl:template match="*[contains(@class,' topic/data ')]"/>
  869. <!-- Add for "Support foreign content vocabularies such as
  870. MathML and SVG with <unknown> (#35) " in DITA 1.1 -->
  871. <xsl:template match="*[contains(@class,' topic/foreign ') or contains(@class,' topic/unknown ')]"/>
  872. <!-- font style -->
  873. <xsl:template name="create-font">
  874. <xsl:comment>font style</xsl:comment>
  875. <xsl:value-of select="$newline"/>
  876. <style:style style:name="Courier_New" style:family="text">
  877. <style:text-properties style:font-name="Courier New"/>
  878. </style:style>
  879. <style:style style:name="Courier" style:family="text">
  880. <style:text-properties style:font-name="Courier" />
  881. </style:style>
  882. </xsl:template>
  883. <xsl:template name="create-state-style">
  884. <style:style style:name="state_style" style:family="text">
  885. <style:text-properties fo:color="#ff0000" style:font-name="Arial1"
  886. style:font-name-complex="Arial1"/>
  887. </style:style>
  888. </xsl:template>
  889. <!-- footnote style -->
  890. <xsl:template name="create-footnote-style">
  891. <xsl:comment>footnote style</xsl:comment>
  892. <xsl:value-of select="$newline"/>
  893. <style:style style:name="footnote" style:family="paragraph"
  894. style:parent-style-name="Default_20_Text" style:class="extra">
  895. <style:paragraph-properties fo:margin-left="0.1965in" fo:margin-right="0in"
  896. fo:text-indent="-0.1965in" style:auto-text-indent="false" text:number-lines="false"
  897. text:line-number="0"/>
  898. <style:text-properties fo:font-size="10pt" style:font-size-asian="10pt"
  899. style:font-size-complex="10pt" style:font-name="Courier"/>
  900. </style:style>
  901. <style:style style:name="footnote_symbol" style:display-name="Footnote Symbol"
  902. style:family="text"/>
  903. <style:style style:name="footnote_anchor" style:display-name="Footnote anchor"
  904. style:family="text">
  905. <style:text-properties style:text-position="super 58%"/>
  906. </style:style>
  907. </xsl:template>
  908. <xsl:template match="text()|@*"/>
  909. </xsl:stylesheet>