text.mod 47 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090
  1. <!--
  2. * This file is part of the LibreOffice project.
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. *
  8. * This file incorporates work covered by the following license notice:
  9. *
  10. * Licensed to the Apache Software Foundation (ASF) under one or more
  11. * contributor license agreements. See the NOTICE file distributed
  12. * with this work for additional information regarding copyright
  13. * ownership. The ASF licenses this file to you under the Apache
  14. * License, Version 2.0 (the "License"); you may not use this file
  15. * except in compliance with the License. You may obtain a copy of
  16. * the License at http://www.apache.org/licenses/LICENSE-2.0 .
  17. -->
  18. <!ENTITY % fields "text:date |
  19. text:time |
  20. text:page-number |
  21. text:page-continuation |
  22. text:sender-firstname |
  23. text:sender-lastname |
  24. text:sender-initials |
  25. text:sender-title |
  26. text:sender-position |
  27. text:sender-email |
  28. text:sender-phone-private |
  29. text:sender-fax |
  30. text:sender-company |
  31. text:sender-phone-work |
  32. text:sender-street |
  33. text:sender-city |
  34. text:sender-postal-code |
  35. text:sender-country |
  36. text:sender-state-or-province |
  37. text:author-name |
  38. text:author-initials |
  39. text:placeholder |
  40. text:variable-set |
  41. text:variable-get |
  42. text:variable-input |
  43. text:user-field-get |
  44. text:user-field-input |
  45. text:sequence |
  46. text:expression |
  47. text:text-input |
  48. text:database-display |
  49. text:database-next |
  50. text:database-select |
  51. text:database-row-number |
  52. text:database-name |
  53. text:initial-creator |
  54. text:creation-date |
  55. text:creation-time |
  56. text:description |
  57. text:user-defined |
  58. text:print-time |
  59. text:print-date |
  60. text:printed-by |
  61. text:title |
  62. text:subject |
  63. text:keywords |
  64. text:editing-cycles |
  65. text:editing-duration |
  66. text:modification-time |
  67. text:modification-date |
  68. text:creator |
  69. text:conditional-text |
  70. text:hidden-text |
  71. text:hidden-paragraph |
  72. text:chapter |
  73. text:file-name |
  74. text:template-name |
  75. text:page-variable-set |
  76. text:page-variable-get |
  77. text:execute-macro |
  78. text:dde-connection |
  79. text:reference-ref |
  80. text:sequence-ref |
  81. text:bookmark-ref |
  82. text:footnote-ref |
  83. text:endnote-ref |
  84. text:sheet-name |
  85. text:bibliography-mark |
  86. text:page-count |
  87. text:paragraph-count |
  88. text:word-count |
  89. text:character-count |
  90. text:table-count |
  91. text:image-count |
  92. text:object-count |
  93. office:annotation |
  94. text:script |
  95. text:measure" >
  96. <!ENTITY % inline-text-elements "
  97. text:span|text:tab-stop|text:s|text:line-break|
  98. text:footnote|text:endnote|text:a|
  99. text:bookmark|text:bookmark-start|text:bookmark-end|
  100. text:reference-mark|text:reference-mark-start|
  101. text:reference-mark-end|%fields;|%shape;|
  102. text:toc-mark-start | text:toc-mark-end |
  103. text:toc-mark | text:user-index-mark-start |
  104. text:user-index-mark-end | text:user-index-mark |
  105. text:alphabetical-index-mark-start |
  106. text:alphabetical-index-mark-end |
  107. text:alphabetical-index-mark |
  108. %change-marks; | draw:a | text:ruby">
  109. <!ENTITY % inline-text "( #PCDATA | %inline-text-elements; )*">
  110. <!ELEMENT text:p %inline-text;>
  111. <!ELEMENT text:h %inline-text;>
  112. <!ATTLIST text:p text:style-name %styleName; #IMPLIED>
  113. <!ATTLIST text:p text:cond-style-name %styleName; #IMPLIED>
  114. <!ATTLIST text:h text:style-name %styleName; #IMPLIED>
  115. <!ATTLIST text:h text:cond-style-name %styleName; #IMPLIED>
  116. <!ATTLIST text:h text:level %positiveInteger; "1">
  117. <!ELEMENT text:span %inline-text;>
  118. <!ATTLIST text:span text:style-name %styleName; #REQUIRED>
  119. <!ELEMENT text:a (#PCDATA | office:events | %inline-text-elements;)*>
  120. <!ATTLIST text:a xlink:href %uriReference; #REQUIRED>
  121. <!ATTLIST text:a xlink:type (simple) #FIXED "simple">
  122. <!ATTLIST text:a xlink:actuate (onRequest) "onRequest">
  123. <!ATTLIST text:a xlink:show (new|replace) "replace">
  124. <!ATTLIST text:a office:name %string; #IMPLIED>
  125. <!ATTLIST text:a office:target-frame-name %string; #IMPLIED>
  126. <!ATTLIST text:a text:style-name %styleName; #IMPLIED>
  127. <!ATTLIST text:a text:visited-style-name %styleName; #IMPLIED>
  128. <!ELEMENT text:s EMPTY>
  129. <!ATTLIST text:s text:c %positiveInteger; "1">
  130. <!ELEMENT text:tab-stop EMPTY>
  131. <!ELEMENT text:line-break EMPTY>
  132. <!ENTITY % list-items "((text:list-header,text:list-item*)|text:list-item+)">
  133. <!ELEMENT text:ordered-list %list-items;>
  134. <!ELEMENT text:unordered-list %list-items;>
  135. <!ATTLIST text:ordered-list text:style-name %styleName; #IMPLIED>
  136. <!ATTLIST text:unordered-list text:style-name %styleName; #IMPLIED>
  137. <!ATTLIST text:ordered-list text:continue-numbering %boolean; "false">
  138. <!ELEMENT text:list-header (text:p|text:h)+>
  139. <!ELEMENT text:list-item (text:p|text:h|text:ordered-list|text:unordered-list)+>
  140. <!ATTLIST text:list-item text:restart-numbering %boolean; "false">
  141. <!ATTLIST text:list-item text:start-value %positiveInteger; #IMPLIED>
  142. <!ELEMENT text:list-style (text:list-level-style-number|
  143. text:list-level-style-bullet|
  144. text:list-level-style-image)+>
  145. <!ATTLIST text:list-style style:name %styleName; #IMPLIED>
  146. <!ATTLIST text:list-style text:consecutive-numbering %boolean; "false">
  147. <!ELEMENT text:list-level-style-number (style:properties?)>
  148. <!ATTLIST text:list-level-style-number text:level %positiveInteger;
  149. #REQUIRED>
  150. <!ATTLIST text:list-level-style-number text:style-name %styleName; #IMPLIED>
  151. <!ATTLIST text:list-level-style-number style:num-format %string; #REQUIRED>
  152. <!ATTLIST text:list-level-style-number style:num-prefix %string; #IMPLIED>
  153. <!ATTLIST text:list-level-style-number style:num-suffix %string; #IMPLIED>
  154. <!ATTLIST text:list-level-style-number style:num-letter-sync %boolean;
  155. "false">
  156. <!ATTLIST text:list-level-style-number text:display-levels %positiveInteger;
  157. "1">
  158. <!ATTLIST text:list-level-style-number text:start-value %positiveInteger;
  159. "1">
  160. <!ELEMENT text:list-level-style-bullet (style:properties?)>
  161. <!ATTLIST text:list-level-style-bullet text:level %positiveInteger; #REQUIRED>
  162. <!ATTLIST text:list-level-style-bullet text:style-name %styleName; #IMPLIED>
  163. <!ATTLIST text:list-level-style-bullet text:bullet-char %character; #REQUIRED>
  164. <!ATTLIST text:list-level-style-bullet style:num-prefix %string; #IMPLIED>
  165. <!ATTLIST text:list-level-style-bullet style:num-suffix %string; #IMPLIED>
  166. <!ELEMENT text:list-level-style-image (style:properties?,office:binary-data?)>
  167. <!ATTLIST text:list-level-style-image text:level %positiveInteger; #REQUIRED>
  168. <!ATTLIST text:list-level-style-image xlink:type (simple) #IMPLIED>
  169. <!ATTLIST text:list-level-style-image xlink:href %uriReference; #IMPLIED>
  170. <!ATTLIST text:list-level-style-image xlink:actuate (onLoad) #IMPLIED>
  171. <!ATTLIST text:list-level-style-image xlink:show (embed) #IMPLIED>
  172. <!-- list properties -->
  173. <!ATTLIST style:properties text:space-before %nonNegativeLength; #IMPLIED>
  174. <!ATTLIST style:properties text:min-label-width %nonNegativeLength; #IMPLIED>
  175. <!ATTLIST style:properties text:min-label-distance %nonNegativeLength; #IMPLIED>
  176. <!ATTLIST style:properties text:enable-numbering %boolean; #IMPLIED>
  177. <!ATTLIST style:properties style:list-style-name %styleName; #IMPLIED>
  178. <!ELEMENT text:outline-style (text:outline-level-style)+>
  179. <!ELEMENT text:outline-level-style (style:properties?)>
  180. <!ATTLIST text:outline-level-style text:level %positiveInteger;
  181. #REQUIRED>
  182. <!ATTLIST text:outline-level-style text:style-name %styleName; #IMPLIED>
  183. <!ATTLIST text:outline-level-style style:num-format %string; #REQUIRED>
  184. <!ATTLIST text:outline-level-style style:num-prefix %string; #IMPLIED>
  185. <!ATTLIST text:outline-level-style style:num-suffix %string; #IMPLIED>
  186. <!ATTLIST text:outline-level-style style:num-letter-sync %boolean;
  187. "false">
  188. <!ATTLIST text:outline-level-style text:display-levels %positiveInteger;
  189. "1">
  190. <!ATTLIST text:outline-level-style text:start-value %positiveInteger;
  191. "1">
  192. <!ENTITY % field-declarations "text:variable-decls?,
  193. text:user-field-decls?,
  194. text:sequence-decls?">
  195. <!ENTITY % variableName "CDATA">
  196. <!ENTITY % formula "CDATA">
  197. <!ENTITY % valueAttr "text:value-type %valueType; #IMPLIED
  198. text:currency CDATA #IMPLIED" >
  199. <!ENTITY % valueAndTypeAttr "%valueAttr;
  200. text:value %float; #IMPLIED
  201. text:date-value %date; #IMPLIED
  202. text:time-value %timeInstance; #IMPLIED
  203. text:boolean-value %boolean; #IMPLIED
  204. text:string-value %string; #IMPLIED" >
  205. <!ENTITY % numFormat 'style:num-format CDATA #IMPLIED
  206. style:num-letter-sync %boolean; "false"'>
  207. <!ELEMENT text:date (#PCDATA)>
  208. <!ATTLIST text:date text:date-value %timeInstance; #IMPLIED>
  209. <!ATTLIST text:date text:date-adjust %dateDuration; #IMPLIED>
  210. <!ATTLIST text:date text:fixed %boolean; "false">
  211. <!ATTLIST text:date style:data-style-name %styleName; #IMPLIED>
  212. <!ELEMENT text:time (#PCDATA)>
  213. <!ATTLIST text:time text:time-value %timeInstance; #IMPLIED>
  214. <!ATTLIST text:time text:time-adjust %timeDuration; #IMPLIED>
  215. <!ATTLIST text:time text:fixed %boolean; "false">
  216. <!ATTLIST text:time style:data-style-name %styleName; #IMPLIED>
  217. <!ELEMENT text:page-number (#PCDATA)>
  218. <!ATTLIST text:page-number text:page-adjust %positiveInteger; #IMPLIED>
  219. <!ATTLIST text:page-number text:select-page (previous|current|next) "current">
  220. <!ATTLIST text:page-number %numFormat;>
  221. <!ELEMENT text:page-continuation (#PCDATA)>
  222. <!ATTLIST text:page-continuation text:select-page (previous|next) #REQUIRED>
  223. <!ATTLIST text:page-continuation text:string-value %string; #IMPLIED>
  224. <!ELEMENT text:sender-firstname (#PCDATA)>
  225. <!ATTLIST text:sender-firstname text:fixed %boolean; "true">
  226. <!ELEMENT text:sender-lastname (#PCDATA)>
  227. <!ATTLIST text:sender-lastname text:fixed %boolean; "true">
  228. <!ELEMENT text:sender-initials (#PCDATA)>
  229. <!ATTLIST text:sender-initials text:fixed %boolean; "true">
  230. <!ELEMENT text:sender-title (#PCDATA)>
  231. <!ATTLIST text:sender-title text:fixed %boolean; "true">
  232. <!ELEMENT text:sender-position (#PCDATA)>
  233. <!ATTLIST text:sender-position text:fixed %boolean; "true">
  234. <!ELEMENT text:sender-email (#PCDATA)>
  235. <!ATTLIST text:sender-email text:fixed %boolean; "true">
  236. <!ELEMENT text:sender-phone-private (#PCDATA)>
  237. <!ATTLIST text:sender-phone-private text:fixed %boolean; "true">
  238. <!ELEMENT text:sender-fax (#PCDATA)>
  239. <!ATTLIST text:sender-fax text:fixed %boolean; "true">
  240. <!ELEMENT text:sender-company (#PCDATA)>
  241. <!ATTLIST text:sender-company text:fixed %boolean; "true">
  242. <!ELEMENT text:sender-phone-work (#PCDATA)>
  243. <!ATTLIST text:sender-phone-work text:fixed %boolean; "true">
  244. <!ELEMENT text:sender-street (#PCDATA)>
  245. <!ATTLIST text:sender-street text:fixed %boolean; "true">
  246. <!ELEMENT text:sender-city (#PCDATA)>
  247. <!ATTLIST text:sender-city text:fixed %boolean; "true">
  248. <!ELEMENT text:sender-postal-code (#PCDATA)>
  249. <!ATTLIST text:sender-postal-code text:fixed %boolean; "true">
  250. <!ELEMENT text:sender-country (#PCDATA)>
  251. <!ATTLIST text:sender-country text:fixed %boolean; "true">
  252. <!ELEMENT text:sender-state-or-province (#PCDATA)>
  253. <!ATTLIST text:sender-state-or-province text:fixed %boolean; "true">
  254. <!ELEMENT text:author-name (#PCDATA)>
  255. <!ATTLIST text:author-name text:fixed %boolean; "true">
  256. <!ELEMENT text:author-initials (#PCDATA)>
  257. <!ATTLIST text:author-initials text:fixed %boolean; "true">
  258. <!ELEMENT text:placeholder (#PCDATA)>
  259. <!ATTLIST text:placeholder text:placeholder-type (text|table|text-box|image|object) #REQUIRED>
  260. <!ATTLIST text:placeholder text:description %string; #IMPLIED>
  261. <!ELEMENT text:variable-decls (text:variable-decl)*>
  262. <!ELEMENT text:variable-decl EMPTY>
  263. <!ATTLIST text:variable-decl text:name %variableName; #REQUIRED>
  264. <!ATTLIST text:variable-decl %valueAndTypeAttr;>
  265. <!ELEMENT text:variable-set (#PCDATA)>
  266. <!ATTLIST text:variable-set text:name %variableName; #REQUIRED>
  267. <!ATTLIST text:variable-set text:formula %formula; #IMPLIED>
  268. <!ATTLIST text:variable-set %valueAndTypeAttr;>
  269. <!ATTLIST text:variable-set text:display (value|none) "value">
  270. <!ATTLIST text:variable-set style:data-style-name %styleName; #IMPLIED>
  271. <!ELEMENT text:variable-get (#PCDATA)>
  272. <!ATTLIST text:variable-get text:name %variableName; #REQUIRED>
  273. <!ATTLIST text:variable-get text:display (value|formula) "value">
  274. <!ATTLIST text:variable-get style:data-style-name %styleName; #IMPLIED>
  275. <!ATTLIST text:variable-get %valueAttr;>
  276. <!ELEMENT text:variable-input (#PCDATA)>
  277. <!ATTLIST text:variable-input text:name %variableName; #REQUIRED>
  278. <!ATTLIST text:variable-input text:description %string; #IMPLIED>
  279. <!ATTLIST text:variable-input %valueAndTypeAttr;>
  280. <!ATTLIST text:variable-input text:display (value|none) "value">
  281. <!ATTLIST text:variable-input style:data-style-name %styleName; #IMPLIED>
  282. <!ELEMENT text:user-field-decls (text:user-field-decl)*>
  283. <!ELEMENT text:user-field-decl EMPTY>
  284. <!ATTLIST text:user-field-decl text:name %variableName; #REQUIRED>
  285. <!ATTLIST text:user-field-decl text:formula %formula; #IMPLIED>
  286. <!ATTLIST text:user-field-decl %valueAndTypeAttr;>
  287. <!ELEMENT text:user-field-get (#PCDATA)>
  288. <!ATTLIST text:user-field-get text:name %variableName; #REQUIRED>
  289. <!ATTLIST text:user-field-get text:display (value|formula|none) "value">
  290. <!ATTLIST text:user-field-get style:data-style-name %styleName; #IMPLIED>
  291. <!ELEMENT text:user-field-input (#PCDATA)>
  292. <!ATTLIST text:user-field-input text:name %variableName; #REQUIRED>
  293. <!ATTLIST text:user-field-input text:description %string; #IMPLIED>
  294. <!ATTLIST text:user-field-input style:data-style-name %styleName; #IMPLIED>
  295. <!ELEMENT text:sequence-decls (text:sequence-decl)*>
  296. <!ELEMENT text:sequence-decl EMPTY>
  297. <!ATTLIST text:sequence-decl text:name %variableName; #REQUIRED>
  298. <!ATTLIST text:sequence-decl text:display-outline-level %positiveInteger; "0">
  299. <!ATTLIST text:sequence-decl text:separation-character %character; ".">
  300. <!ELEMENT text:sequence (#PCDATA)>
  301. <!ATTLIST text:sequence text:name %variableName; #REQUIRED>
  302. <!ATTLIST text:sequence text:formula %formula; #IMPLIED>
  303. <!ATTLIST text:sequence %numFormat;>
  304. <!ATTLIST text:sequence text:ref-name ID #IMPLIED>
  305. <!ELEMENT text:expression (#PCDATA)>
  306. <!ATTLIST text:expression text:formula %formula; #IMPLIED>
  307. <!ATTLIST text:expression text:display (value|formula ) "value">
  308. <!ATTLIST text:expression %valueAndTypeAttr;>
  309. <!ATTLIST text:expression style:data-style-name %styleName; #IMPLIED>
  310. <!ELEMENT text:text-input (#PCDATA)>
  311. <!ATTLIST text:text-input text:description %string; #IMPLIED>
  312. <!ENTITY % database-table "text:database-name CDATA #REQUIRED
  313. text:table-name CDATA #REQUIRED
  314. text:table-type (table|query|command) #IMPLIED">
  315. <!ELEMENT text:database-display (#PCDATA)>
  316. <!ATTLIST text:database-display %database-table;>
  317. <!ATTLIST text:database-display text:column-name %string; #REQUIRED>
  318. <!ATTLIST text:database-display style:data-style-name %styleName; #IMPLIED>
  319. <!ATTLIST text:database-display text:display (none|value) #IMPLIED>
  320. <!ELEMENT text:database-next (#PCDATA)>
  321. <!ATTLIST text:database-next %database-table;>
  322. <!ATTLIST text:database-next text:condition %formula; #IMPLIED>
  323. <!ELEMENT text:database-select (#PCDATA)>
  324. <!ATTLIST text:database-select %database-table;>
  325. <!ATTLIST text:database-select text:condition %formula; #IMPLIED>
  326. <!ATTLIST text:database-select text:row-number %integer; #REQUIRED>
  327. <!ELEMENT text:database-row-number (#PCDATA)>
  328. <!ATTLIST text:database-row-number %database-table;>
  329. <!ATTLIST text:database-row-number %numFormat;>
  330. <!ATTLIST text:database-row-number text:value %integer; #IMPLIED>
  331. <!ATTLIST text:database-row-number text:display (none|value) #IMPLIED>
  332. <!ELEMENT text:database-name (#PCDATA)>
  333. <!ATTLIST text:database-name %database-table;>
  334. <!ATTLIST text:database-name text:display (none|value) #IMPLIED>
  335. <!ELEMENT text:initial-creator (#PCDATA)>
  336. <!ATTLIST text:initial-creator text:fixed %boolean; "false">
  337. <!ELEMENT text:creation-date (#PCDATA)>
  338. <!ATTLIST text:creation-date text:fixed %boolean; "false">
  339. <!ATTLIST text:creation-date text:date-value %date; #IMPLIED>
  340. <!ATTLIST text:creation-date style:data-style-name %styleName; #IMPLIED>
  341. <!ELEMENT text:creation-time (#PCDATA)>
  342. <!ATTLIST text:creation-time text:fixed %boolean; "false">
  343. <!ATTLIST text:creation-time text:time-value %timeInstance; #IMPLIED>
  344. <!ATTLIST text:creation-time style:data-style-name %styleName; #IMPLIED>
  345. <!ELEMENT text:description (#PCDATA)>
  346. <!ATTLIST text:description text:fixed %boolean; "false">
  347. <!ELEMENT text:user-defined (#PCDATA)>
  348. <!ATTLIST text:user-defined text:fixed %boolean; "false">
  349. <!ATTLIST text:user-defined text:name %string; #REQUIRED>
  350. <!ELEMENT text:print-time (#PCDATA)>
  351. <!ATTLIST text:print-time text:fixed %boolean; "false">
  352. <!ATTLIST text:print-time text:time-value %timeInstance; #IMPLIED>
  353. <!ATTLIST text:print-time style:data-style-name %styleName; #IMPLIED>
  354. <!ELEMENT text:print-date (#PCDATA)>
  355. <!ATTLIST text:print-date text:fixed %boolean; "false">
  356. <!ATTLIST text:print-date text:date-value %date; #IMPLIED>
  357. <!ATTLIST text:print-date style:data-style-name %styleName; #IMPLIED>
  358. <!ELEMENT text:printed-by (#PCDATA)>
  359. <!ATTLIST text:printed-by text:fixed %boolean; "false">
  360. <!ELEMENT text:title (#PCDATA)>
  361. <!ATTLIST text:title text:fixed %boolean; "false">
  362. <!ELEMENT text:subject (#PCDATA)>
  363. <!ATTLIST text:subject text:fixed %boolean; "false">
  364. <!ELEMENT text:keywords (#PCDATA)>
  365. <!ATTLIST text:keywords text:fixed %boolean; "false">
  366. <!ELEMENT text:editing-cycles (#PCDATA)>
  367. <!ATTLIST text:editing-cycles text:fixed %boolean; "false">
  368. <!ELEMENT text:editing-duration (#PCDATA)>
  369. <!ATTLIST text:editing-duration text:fixed %boolean; "false">
  370. <!ATTLIST text:editing-duration text:duration %timeDuration; #IMPLIED>
  371. <!ATTLIST text:editing-duration style:data-style-name %styleName; #IMPLIED>
  372. <!ELEMENT text:modification-time (#PCDATA)>
  373. <!ATTLIST text:modification-time text:fixed %boolean; "false">
  374. <!ATTLIST text:modification-time text:time-value %timeInstance; #IMPLIED>
  375. <!ATTLIST text:modification-time style:data-style-name %styleName; #IMPLIED>
  376. <!ELEMENT text:modification-date (#PCDATA)>
  377. <!ATTLIST text:modification-date text:fixed %boolean; "false">
  378. <!ATTLIST text:modification-date text:date-value %date; #IMPLIED>
  379. <!ATTLIST text:modification-date style:data-style-name %styleName; #IMPLIED>
  380. <!ELEMENT text:creator (#PCDATA)>
  381. <!ATTLIST text:creator text:fixed %boolean; "false">
  382. <!ELEMENT text:conditional-text (#PCDATA)>
  383. <!ATTLIST text:conditional-text text:condition %formula; #REQUIRED>
  384. <!ATTLIST text:conditional-text text:string-value-if-false %string; #REQUIRED>
  385. <!ATTLIST text:conditional-text text:string-value-if-true %string; #REQUIRED>
  386. <!ATTLIST text:conditional-text text:current-value %boolean; "false">
  387. <!ELEMENT text:hidden-text (#PCDATA)>
  388. <!ATTLIST text:hidden-text text:condition %formula; #REQUIRED>
  389. <!ATTLIST text:hidden-text text:string-value %string; #REQUIRED>
  390. <!ATTLIST text:hidden-text text:is-hidden %boolean; "false">
  391. <!ELEMENT text:hidden-paragraph EMPTY>
  392. <!ATTLIST text:hidden-paragraph text:condition %formula; #REQUIRED>
  393. <!ATTLIST text:hidden-paragraph text:is-hidden %boolean; "false">
  394. <!ELEMENT text:chapter (#PCDATA)>
  395. <!ATTLIST text:chapter text:display (name|number|number-and-name|
  396. plain-number-and-name|plain-number)
  397. "number-and-name">
  398. <!ATTLIST text:chapter text:outline-level %integer; "1">
  399. <!ELEMENT text:file-name (#PCDATA)>
  400. <!ATTLIST text:file-name text:display (full|path|name|name-and-extension)
  401. "full">
  402. <!ATTLIST text:file-name text:fixed %boolean; "false">
  403. <!ELEMENT text:template-name (#PCDATA)>
  404. <!ATTLIST text:template-name text:display (full|path|name|name-and-extension|
  405. area|title) "full">
  406. <!ELEMENT text:page-variable-set EMPTY>
  407. <!ATTLIST text:page-variable-set text:active %boolean; "true">
  408. <!ATTLIST text:page-variable-set text:page-adjust %integer; "0">
  409. <!ELEMENT text:page-variable-get (#PCDATA)>
  410. <!ATTLIST text:page-variable-get %numFormat;>
  411. <!ELEMENT text:execute-macro (#PCDATA|office:events)* >
  412. <!ATTLIST text:execute-macro text:description %string; #IMPLIED>
  413. <!ELEMENT text:dde-connection-decls (text:dde-connection-decl)*>
  414. <!ELEMENT text:dde-connection-decl EMPTY>
  415. <!ATTLIST text:dde-connection-decl text:name %string; #REQUIRED>
  416. <!ATTLIST text:dde-connection-decl office:dde-application %string; #REQUIRED>
  417. <!ATTLIST text:dde-connection-decl office:dde-topic %string; #REQUIRED>
  418. <!ATTLIST text:dde-connection-decl office:dde-item %string; #REQUIRED>
  419. <!ATTLIST text:dde-connection-decl office:automatic-update %boolean; "false">
  420. <!ELEMENT text:dde-connection (#PCDATA)>
  421. <!ATTLIST text:dde-connection text:connection-name %string; #REQUIRED>
  422. <!ELEMENT text:reference-ref (#PCDATA)>
  423. <!ATTLIST text:reference-ref text:ref-name %string; #REQUIRED>
  424. <!ATTLIST text:reference-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  425. <!ELEMENT text:sequence-ref (#PCDATA)>
  426. <!ATTLIST text:sequence-ref text:ref-name %string; #REQUIRED>
  427. <!ATTLIST text:sequence-ref text:reference-format (page|chapter|text|direction|category-and-value|caption|value) #IMPLIED>
  428. <!ELEMENT text:bookmark-ref (#PCDATA)>
  429. <!ATTLIST text:bookmark-ref text:ref-name %string; #REQUIRED>
  430. <!ATTLIST text:bookmark-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  431. <!ELEMENT text:footnote-ref (#PCDATA)>
  432. <!ATTLIST text:footnote-ref text:ref-name %string; #REQUIRED>
  433. <!ATTLIST text:footnote-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  434. <!ELEMENT text:endnote-ref (#PCDATA)>
  435. <!ATTLIST text:endnote-ref text:ref-name %string; #REQUIRED>
  436. <!ATTLIST text:endnote-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
  437. <!ELEMENT text:sheet-name (#PCDATA)>
  438. <!ELEMENT text:page-count (#PCDATA)>
  439. <!ATTLIST text:page-count style:num-format %string; #IMPLIED>
  440. <!ATTLIST text:page-count style:num-letter-sync %boolean; "false">
  441. <!ELEMENT text:paragraph-count (#PCDATA)>
  442. <!ATTLIST text:paragraph-count style:num-format %string; #IMPLIED>
  443. <!ATTLIST text:paragraph-count style:num-letter-sync %boolean; "false">
  444. <!ELEMENT text:word-count (#PCDATA)>
  445. <!ATTLIST text:word-count style:num-format %string; #IMPLIED>
  446. <!ATTLIST text:word-count style:num-letter-sync %boolean; "false">
  447. <!ELEMENT text:character-count (#PCDATA)>
  448. <!ATTLIST text:character-count style:num-format %string; #IMPLIED>
  449. <!ATTLIST text:character-count style:num-letter-sync %boolean; "false">
  450. <!ELEMENT text:table-count (#PCDATA)>
  451. <!ATTLIST text:table-count style:num-format %string; #IMPLIED>
  452. <!ATTLIST text:table-count style:num-letter-sync %boolean; "false">
  453. <!ELEMENT text:image-count (#PCDATA)>
  454. <!ATTLIST text:image-count style:num-format %string; #IMPLIED>
  455. <!ATTLIST text:image-count style:num-letter-sync %boolean; "false">
  456. <!ELEMENT text:object-count (#PCDATA)>
  457. <!ATTLIST text:object-count style:num-format %string; #IMPLIED>
  458. <!ATTLIST text:object-count style:num-letter-sync %boolean; "false">
  459. <!ELEMENT text:bibliography-mark (#PCDATA)>
  460. <!ATTLIST text:bibliography-mark text:bibliography-type
  461. ( article | book | booklet | conference | custom1 | custom2 | custom3 |
  462. custom4 | custom5 | email | inbook | incollection | inproceedings |
  463. journal | manual | mastersthesis | misc | phdthesis | proceedings |
  464. techreport | unpublished | www ) #REQUIRED >
  465. <!ATTLIST text:bibliography-mark text:identifier CDATA #IMPLIED>
  466. <!ATTLIST text:bibliography-mark text:address CDATA #IMPLIED>
  467. <!ATTLIST text:bibliography-mark text:annote CDATA #IMPLIED>
  468. <!ATTLIST text:bibliography-mark text:author CDATA #IMPLIED>
  469. <!ATTLIST text:bibliography-mark text:booktitle CDATA #IMPLIED>
  470. <!ATTLIST text:bibliography-mark text:chapter CDATA #IMPLIED>
  471. <!ATTLIST text:bibliography-mark text:edition CDATA #IMPLIED>
  472. <!ATTLIST text:bibliography-mark text:editor CDATA #IMPLIED>
  473. <!ATTLIST text:bibliography-mark text:howpublished CDATA #IMPLIED>
  474. <!ATTLIST text:bibliography-mark text:institution CDATA #IMPLIED>
  475. <!ATTLIST text:bibliography-mark text:journal CDATA #IMPLIED>
  476. <!ATTLIST text:bibliography-mark text:month CDATA #IMPLIED>
  477. <!ATTLIST text:bibliography-mark text:note CDATA #IMPLIED>
  478. <!ATTLIST text:bibliography-mark text:number CDATA #IMPLIED>
  479. <!ATTLIST text:bibliography-mark text:organizations CDATA #IMPLIED>
  480. <!ATTLIST text:bibliography-mark text:pages CDATA #IMPLIED>
  481. <!ATTLIST text:bibliography-mark text:publisher CDATA #IMPLIED>
  482. <!ATTLIST text:bibliography-mark text:school CDATA #IMPLIED>
  483. <!ATTLIST text:bibliography-mark text:series CDATA #IMPLIED>
  484. <!ATTLIST text:bibliography-mark text:title CDATA #IMPLIED>
  485. <!ATTLIST text:bibliography-mark text:report-type CDATA #IMPLIED>
  486. <!ATTLIST text:bibliography-mark text:volume CDATA #IMPLIED>
  487. <!ATTLIST text:bibliography-mark text:year CDATA #IMPLIED>
  488. <!ATTLIST text:bibliography-mark text:url CDATA #IMPLIED>
  489. <!ATTLIST text:bibliography-mark text:custom1 CDATA #IMPLIED>
  490. <!ATTLIST text:bibliography-mark text:custom2 CDATA #IMPLIED>
  491. <!ATTLIST text:bibliography-mark text:custom3 CDATA #IMPLIED>
  492. <!ATTLIST text:bibliography-mark text:custom4 CDATA #IMPLIED>
  493. <!ATTLIST text:bibliography-mark text:custom5 CDATA #IMPLIED>
  494. <!ATTLIST text:bibliography-mark text:isbn CDATA #IMPLIED>
  495. <!ELEMENT text:bookmark EMPTY>
  496. <!ATTLIST text:bookmark text:name CDATA #REQUIRED>
  497. <!ELEMENT text:bookmark-start EMPTY>
  498. <!ATTLIST text:bookmark-start text:name CDATA #REQUIRED>
  499. <!ELEMENT text:bookmark-end EMPTY>
  500. <!ATTLIST text:bookmark-end text:name CDATA #REQUIRED>
  501. <!ELEMENT text:reference-mark EMPTY>
  502. <!ATTLIST text:reference-mark text:name CDATA #REQUIRED>
  503. <!ELEMENT text:reference-mark-start EMPTY>
  504. <!ATTLIST text:reference-mark-start text:name CDATA #REQUIRED>
  505. <!ELEMENT text:reference-mark-end EMPTY>
  506. <!ATTLIST text:reference-mark-end text:name CDATA #REQUIRED>
  507. <!ELEMENT text:footnotes-configuration (text:footnote-continuation-notice-forward?,text:footnote-continuation-notice-backward?)>
  508. <!ATTLIST text:footnotes-configuration style:num-prefix %string; #IMPLIED>
  509. <!ATTLIST text:footnotes-configuration style:num-suffix %string; #IMPLIED>
  510. <!ATTLIST text:footnotes-configuration style:num-format %string; #IMPLIED>
  511. <!ATTLIST text:footnotes-configuration style:num-letter-sync %string; #IMPLIED>
  512. <!ATTLIST text:footnotes-configuration text:citation-body-style-name %styleName; #IMPLIED>
  513. <!ATTLIST text:footnotes-configuration text:citation-style-name %styleName; #IMPLIED>
  514. <!ATTLIST text:footnotes-configuration text:default-style-name %styleName; #IMPLIED>
  515. <!ATTLIST text:footnotes-configuration text:master-page-name %styleName; #IMPLIED>
  516. <!ATTLIST text:footnotes-configuration text:start-value %integer; #IMPLIED>
  517. <!ATTLIST text:footnotes-configuration text:footnotes-position (document|page) "page">
  518. <!ATTLIST text:footnotes-configuration text:start-numbering-at (document|chapter|page) "document">
  519. <!ELEMENT text:footnote-continuation-notice-forward (#PCDATA)>
  520. <!ELEMENT text:footnote-continuation-notice-backward (#PCDATA)>
  521. <!ELEMENT text:endnotes-configuration EMPTY>
  522. <!ATTLIST text:endnotes-configuration style:num-prefix %string; #IMPLIED>
  523. <!ATTLIST text:endnotes-configuration style:num-suffix %string; #IMPLIED>
  524. <!ATTLIST text:endnotes-configuration style:num-format %string; #IMPLIED>
  525. <!ATTLIST text:endnotes-configuration style:num-letter-sync %string; #IMPLIED>
  526. <!ATTLIST text:endnotes-configuration text:start-value %integer; #IMPLIED>
  527. <!ATTLIST text:endnotes-configuration text:citation-style-name %styleName; #IMPLIED>
  528. <!ATTLIST text:endnotes-configuration text:citation-body-style-name %styleName; #IMPLIED>
  529. <!ATTLIST text:endnotes-configuration text:default-style-name %styleName; #IMPLIED>
  530. <!ATTLIST text:endnotes-configuration text:master-page-name %styleName; #IMPLIED>
  531. <!-- Validity constraint: text:footnote and text:endnote elements may not
  532. contain other text:footnote or text:endnote elements, even though the DTD
  533. allows this (via the %text; in the foot-/endnote-body).
  534. Unfortunately, this constraint cannot be easily specified in the DTD.
  535. -->
  536. <!ELEMENT text:footnote (text:footnote-citation, text:footnote-body)>
  537. <!ATTLIST text:footnote text:id ID #IMPLIED>
  538. <!ELEMENT text:footnote-citation (#PCDATA)>
  539. <!ATTLIST text:footnote-citation text:label %string; #IMPLIED>
  540. <!ELEMENT text:footnote-body (text:h|text:p|
  541. text:ordered-list|text:unordered-list)*>
  542. <!ELEMENT text:endnote (text:endnote-citation, text:endnote-body)>
  543. <!ATTLIST text:endnote text:id ID #IMPLIED>
  544. <!ELEMENT text:endnote-citation (#PCDATA)>
  545. <!ATTLIST text:endnote-citation text:label %string; #IMPLIED>
  546. <!ELEMENT text:endnote-body (text:h|text:p|
  547. text:ordered-list|text:unordered-list)*>
  548. <!ENTITY % sectionAttr "text:name CDATA #REQUIRED
  549. text:style-name %styleName; #IMPLIED
  550. text:protected %boolean; 'false' ">
  551. <!ELEMENT text:section ((text:section-source|office:dde-source)?,
  552. %sectionText;) >
  553. <!ATTLIST text:section %sectionAttr;>
  554. <!ATTLIST text:section text:display (true|none|condition) "true">
  555. <!ATTLIST text:section text:condition %formula; #IMPLIED>
  556. <!ATTLIST text:section text:protection-key CDATA #IMPLIED>
  557. <!ATTLIST text:section text:is-hidden %boolean; #IMPLIED>
  558. <!ELEMENT text:section-source EMPTY>
  559. <!ATTLIST text:section-source xlink:href %string; #IMPLIED>
  560. <!ATTLIST text:section-source xlink:type (simple) #FIXED "simple">
  561. <!ATTLIST text:section-source xlink:show (embed) #FIXED "embed">
  562. <!ATTLIST text:section-source text:section-name %string; #IMPLIED>
  563. <!ATTLIST text:section-source text:filter-name %string; #IMPLIED>
  564. <!ELEMENT text:table-of-content (text:table-of-content-source,
  565. text:index-body) >
  566. <!ATTLIST text:table-of-content %sectionAttr;>
  567. <!ELEMENT text:table-of-content-source (text:index-title-template? ,
  568. text:table-of-content-entry-template*,
  569. text:index-source-styles* ) >
  570. <!ATTLIST text:table-of-content-source text:outline-level %integer; #IMPLIED>
  571. <!ATTLIST text:table-of-content-source text:use-outline-level %boolean; "true">
  572. <!ATTLIST text:table-of-content-source text:use-index-marks %boolean; "true">
  573. <!ATTLIST text:table-of-content-source text:use-index-source-styles
  574. %boolean; "false">
  575. <!ATTLIST text:table-of-content-source text:index-scope (document|chapter)
  576. "document">
  577. <!ATTLIST text:table-of-content-source text:relative-tab-stop-position
  578. %boolean; "true">
  579. <!ATTLIST text:table-of-content-source fo:language %string; #IMPLIED>
  580. <!ATTLIST text:table-of-content-source fo:country %string; #IMPLIED>
  581. <!ATTLIST text:table-of-content-source text:sort-algorithm %string; #IMPLIED>
  582. <!ELEMENT text:table-of-content-entry-template (text:index-entry-chapter-number |
  583. text:index-entry-page-number |
  584. text:index-entry-text |
  585. text:index-entry-span |
  586. text:index-entry-tab-stop |
  587. text:index-entry-link-start |
  588. text:index-entry-link-end)* >
  589. <!ATTLIST text:table-of-content-entry-template text:outline-level
  590. %integer; #REQUIRED>
  591. <!ATTLIST text:table-of-content-entry-template text:style-name
  592. %styleName; #REQUIRED>
  593. <!ELEMENT text:illustration-index
  594. (text:illustration-index-source, text:index-body)>
  595. <!ATTLIST text:illustration-index %sectionAttr;>
  596. <!ELEMENT text:illustration-index-source (text:index-title-template?,
  597. text:illustration-index-entry-template?) >
  598. <!ATTLIST text:illustration-index-source text:index-scope
  599. (document|chapter) "document">
  600. <!ATTLIST text:illustration-index-source text:relative-tab-stop-position
  601. %boolean; "true">
  602. <!ATTLIST text:illustration-index-source text:use-caption %boolean; "true">
  603. <!ATTLIST text:illustration-index-source text:caption-sequence-name
  604. %string; #IMPLIED>
  605. <!ATTLIST text:illustration-index-source text:caption-sequence-format
  606. (text|category-and-value|caption) "text">
  607. <!ATTLIST text:illustration-index-source fo:language %string; #IMPLIED>
  608. <!ATTLIST text:illustration-index-source fo:country %string; #IMPLIED>
  609. <!ATTLIST text:illustration-index-source text:sort-algorithm %string; #IMPLIED>
  610. <!ELEMENT text:illustration-index-entry-template
  611. ( text:index-entry-page-number |
  612. text:index-entry-text |
  613. text:index-entry-span |
  614. text:index-entry-tab-stop )* >
  615. <!ATTLIST text:illustration-index-entry-template text:style-name
  616. %styleName; #REQUIRED>
  617. <!ELEMENT text:table-index (text:table-index-source, text:index-body)>
  618. <!ATTLIST text:table-index %sectionAttr;>
  619. <!ELEMENT text:table-index-source (text:index-title-template?,
  620. text:table-index-entry-template?) >
  621. <!ATTLIST text:table-index-source text:index-scope
  622. (document|chapter) "document">
  623. <!ATTLIST text:table-index-source text:relative-tab-stop-position
  624. %boolean; "true">
  625. <!ATTLIST text:table-index-source text:use-caption %boolean; "true">
  626. <!ATTLIST text:table-index-source text:caption-sequence-name
  627. %string; #IMPLIED>
  628. <!ATTLIST text:table-index-source text:caption-sequence-format
  629. (text|category-and-value|caption) "text">
  630. <!ATTLIST text:table-index-source fo:language %string; #IMPLIED>
  631. <!ATTLIST text:table-index-source fo:country %string; #IMPLIED>
  632. <!ATTLIST text:table-index-source text:sort-algorithm %string; #IMPLIED>
  633. <!ELEMENT text:table-index-entry-template ( text:index-entry-page-number |
  634. text:index-entry-text |
  635. text:index-entry-span |
  636. text:index-entry-tab-stop )* >
  637. <!ATTLIST text:table-index-entry-template text:style-name
  638. %styleName; #REQUIRED>
  639. <!ELEMENT text:object-index ( text:object-index-source, text:index-body ) >
  640. <!ATTLIST text:object-index %sectionAttr;>
  641. <!ELEMENT text:object-index-source ( text:index-title-template?,
  642. text:object-index-entry-template? ) >
  643. <!ATTLIST text:object-index-source text:index-scope
  644. (document|chapter) "document">
  645. <!ATTLIST text:object-index-source text:relative-tab-stop-position
  646. %boolean; "true">
  647. <!ATTLIST text:object-index-source text:use-spreadsheet-objects
  648. %boolean; "false">
  649. <!ATTLIST text:object-index-source text:use-draw-objects %boolean; "false">
  650. <!ATTLIST text:object-index-source text:use-chart-objects %boolean; "false">
  651. <!ATTLIST text:object-index-source text:use-other-objects %boolean; "false">
  652. <!ATTLIST text:object-index-source text:use-math-objects %boolean; "false">
  653. <!ATTLIST text:object-index-source fo:language %string; #IMPLIED>
  654. <!ATTLIST text:object-index-source fo:country %string; #IMPLIED>
  655. <!ATTLIST text:object-index-source text:sort-algorithm %string; #IMPLIED>
  656. <!ELEMENT text:object-index-entry-template ( text:index-entry-page-number |
  657. text:index-entry-text |
  658. text:index-entry-span |
  659. text:index-entry-tab-stop )* >
  660. <!ATTLIST text:object-index-entry-template text:style-name
  661. %styleName; #REQUIRED >
  662. <!ELEMENT text:user-index (text:user-index-source, text:index-body) >
  663. <!ATTLIST text:user-index %sectionAttr;>
  664. <!ELEMENT text:user-index-source ( text:index-title-template?,
  665. text:user-index-entry-template*,
  666. text:index-source-styles* ) >
  667. <!ATTLIST text:user-index-source text:index-scope
  668. (document|chapter) "document">
  669. <!ATTLIST text:user-index-source text:relative-tab-stop-position
  670. %boolean; "true">
  671. <!ATTLIST text:user-index-source text:use-index-marks %boolean; "false">
  672. <!ATTLIST text:user-index-source text:use-graphics %boolean; "false">
  673. <!ATTLIST text:user-index-source text:use-tables %boolean; "false">
  674. <!ATTLIST text:user-index-source text:use-floating-frames %boolean; "false">
  675. <!ATTLIST text:user-index-source text:use-objects %boolean; "false">
  676. <!ATTLIST text:user-index-source text:use-index-source-styles
  677. %boolean; "false">
  678. <!ATTLIST text:user-index-source text:copy-outline-levels %boolean; "false">
  679. <!ATTLIST text:user-index-source fo:language %string; #IMPLIED>
  680. <!ATTLIST text:user-index-source fo:country %string; #IMPLIED>
  681. <!ATTLIST text:user-index-source text:sort-algorithm %string; #IMPLIED>
  682. <!ATTLIST text:user-index-source text:index-name %string; #IMPLIED>
  683. <!ELEMENT text:user-index-entry-template ( text:index-entry-chapter |
  684. text:index-entry-page-number |
  685. text:index-entry-text |
  686. text:index-entry-span |
  687. text:index-entry-tab-stop )* >
  688. <!ATTLIST text:user-index-entry-template text:outline-level %integer; #REQUIRED>
  689. <!ATTLIST text:user-index-entry-template text:style-name %styleName; #REQUIRED>
  690. <!ELEMENT text:alphabetical-index (text:alphabetical-index-source,
  691. text:index-body)>
  692. <!ATTLIST text:alphabetical-index %sectionAttr;>
  693. <!ELEMENT text:alphabetical-index-source ( text:index-title-template?,
  694. text:alphabetical-index-entry-template* ) >
  695. <!ATTLIST text:alphabetical-index-source text:index-scope
  696. (document|chapter) "document">
  697. <!ATTLIST text:alphabetical-index-source text:relative-tab-stop-position
  698. %boolean; "true">
  699. <!ATTLIST text:alphabetical-index-source text:ignore-case %boolean; "false">
  700. <!ATTLIST text:alphabetical-index-source text:main-entry-style-name
  701. %styleName; #IMPLIED>
  702. <!ATTLIST text:alphabetical-index-source text:alphabetical-separators
  703. %boolean; "false">
  704. <!ATTLIST text:alphabetical-index-source text:combine-entries
  705. %boolean; "true">
  706. <!ATTLIST text:alphabetical-index-source text:combine-entries-with-dash
  707. %boolean; "false">
  708. <!ATTLIST text:alphabetical-index-source text:combine-entries-with-pp
  709. %boolean; "true">
  710. <!ATTLIST text:alphabetical-index-source text:use-keys-as-entries
  711. %boolean; "false">
  712. <!ATTLIST text:alphabetical-index-source text:capitalize-entries
  713. %boolean; "false">
  714. <!ATTLIST text:alphabetical-index-source text:comma-separated
  715. %boolean; "false">
  716. <!ATTLIST text:alphabetical-index-source fo:language %string; #IMPLIED>
  717. <!ATTLIST text:alphabetical-index-source fo:country %string; #IMPLIED>
  718. <!ATTLIST text:alphabetical-index-source text:sort-algorithm %string; #IMPLIED>
  719. <!ELEMENT text:alphabetical-index-entry-template ( text:index-entry-chapter |
  720. text:index-entry-page-number |
  721. text:index-entry-text |
  722. text:index-entry-span |
  723. text:index-entry-tab-stop )* >
  724. <!ATTLIST text:alphabetical-index-entry-template text:outline-level
  725. (1|2|3|separator) #REQUIRED>
  726. <!ATTLIST text:alphabetical-index-entry-template text:style-name
  727. %styleName; #REQUIRED>
  728. <!ELEMENT text:alphabetical-index-auto-mark-file EMPTY>
  729. <!ATTLIST text:alphabetical-index-auto-mark-file xlink:href CDATA #IMPLIED>
  730. <!ATTLIST text:alphabetical-index-auto-mark-file xlink:type (simple) #FIXED "simple">
  731. <!ELEMENT text:bibliography (text:bibliography-source, text:index-body) >
  732. <!ATTLIST text:bibliography %sectionAttr;>
  733. <!ELEMENT text:bibliography-source ( text:index-title-template?,
  734. text:bibliography-entry-template* ) >
  735. <!ELEMENT text:bibliography-entry-template ( text:index-entry-span |
  736. text:index-entry-tab-stop |
  737. text:index-entry-bibliography )* >
  738. <!ATTLIST text:bibliography-entry-template text:bibliography-type
  739. ( article | book | booklet | conference | custom1 | custom2 |
  740. custom3 | custom4 | custom5 | email | inbook | incollection |
  741. inproceedings | journal | manual | mastersthesis | misc |
  742. phdthesis | proceedings | techreport | unpublished | www )
  743. #REQUIRED >
  744. <!ATTLIST text:bibliography-entry-template text:style-name
  745. %styleName; #REQUIRED>
  746. <!ELEMENT text:index-body %sectionText; >
  747. <!--
  748. Validity constraint: text:index-title elements may appear only in
  749. indices, and there may be only one text:index-title element.
  750. -->
  751. <!ELEMENT text:index-title %sectionText; >
  752. <!ATTLIST text:index-title text:style-name %styleName; #IMPLIED>
  753. <!ATTLIST text:index-title text:name %string; #IMPLIED>
  754. <!ELEMENT text:index-title-template (#PCDATA)>
  755. <!ATTLIST text:index-title-template text:style-name %styleName; #IMPLIED>
  756. <!ELEMENT text:index-entry-chapter-number EMPTY>
  757. <!ATTLIST text:index-entry-chapter-number text:style-name %styleName; #IMPLIED>
  758. <!ELEMENT text:index-entry-chapter EMPTY>
  759. <!ATTLIST text:index-entry-chapter text:style-name %styleName; #IMPLIED>
  760. <!ATTLIST text:index-entry-chapter text:display (name|number|number-and-name)
  761. "number-and-name" >
  762. <!ELEMENT text:index-entry-text EMPTY>
  763. <!ATTLIST text:index-entry-text text:style-name %styleName; #IMPLIED>
  764. <!ELEMENT text:index-entry-page-number EMPTY>
  765. <!ATTLIST text:index-entry-page-number text:style-name %styleName; #IMPLIED>
  766. <!ELEMENT text:index-entry-span (#PCDATA)>
  767. <!ATTLIST text:index-entry-span text:style-name %styleName; #IMPLIED>
  768. <!ELEMENT text:index-entry-bibliography EMPTY>
  769. <!ATTLIST text:index-entry-bibliography text:style-name %styleName; #IMPLIED>
  770. <!ATTLIST text:index-entry-bibliography text:bibliography-data-field
  771. ( address | annote | author | bibliography-type |
  772. booktitle | chapter | custom1 | custom2 |
  773. custom3 | custom4 | custom5 | edition | editor |
  774. howpublished | identifier | institution | isbn |
  775. journal | month | note | number | organizations |
  776. pages | publisher | report-type | school |
  777. series | title | url | volume | year ) #REQUIRED>
  778. <!ELEMENT text:index-entry-tab-stop EMPTY>
  779. <!ATTLIST text:index-entry-tab-stop text:style-name %styleName; #IMPLIED>
  780. <!ATTLIST text:index-entry-tab-stop style:leader-char %character; " ">
  781. <!ATTLIST text:index-entry-tab-stop style:type (left|right) "left">
  782. <!ATTLIST text:index-entry-tab-stop style:position %length; #IMPLIED>
  783. <!ATTLIST text:index-entry-tab-stop style:with-tab %boolean; "true">
  784. <!ELEMENT text:index-entry-link-start EMPTY>
  785. <!ATTLIST text:index-entry-link-start text:style-name %styleName; #IMPLIED>
  786. <!ELEMENT text:index-entry-link-end EMPTY>
  787. <!ATTLIST text:index-entry-link-end text:style-name %styleName; #IMPLIED>
  788. <!ELEMENT text:index-source-styles (text:index-source-style)*>
  789. <!ATTLIST text:index-source-styles text:outline-level %integer; #REQUIRED>
  790. <!ELEMENT text:index-source-style EMPTY>
  791. <!ATTLIST text:index-source-style text:style-name %styleName; #REQUIRED>
  792. <!ELEMENT text:toc-mark-start EMPTY>
  793. <!ATTLIST text:toc-mark-start text:id %string; #REQUIRED>
  794. <!ATTLIST text:toc-mark-start text:outline-level %integer; #IMPLIED>
  795. <!ELEMENT text:toc-mark-end EMPTY>
  796. <!ATTLIST text:toc-mark-end text:id %string; #REQUIRED>
  797. <!ELEMENT text:toc-mark EMPTY>
  798. <!ATTLIST text:toc-mark text:string-value %string; #REQUIRED>
  799. <!ATTLIST text:toc-mark text:outline-level %integer; #IMPLIED>
  800. <!ELEMENT text:user-index-mark-start EMPTY>
  801. <!ATTLIST text:user-index-mark-start text:id %string; #REQUIRED>
  802. <!ATTLIST text:user-index-mark-start text:outline-level %integer; #IMPLIED>
  803. <!ATTLIST text:user-index-mark-start text:index-name %string; #IMPLIED>
  804. <!ELEMENT text:user-index-mark-end EMPTY>
  805. <!ATTLIST text:user-index-mark-end text:id %string; #REQUIRED>
  806. <!ELEMENT text:user-index-mark EMPTY>
  807. <!ATTLIST text:user-index-mark text:string-value %string; #REQUIRED>
  808. <!ATTLIST text:user-index-mark text:outline-level %integer; #IMPLIED>
  809. <!ATTLIST text:user-index-mark text:index-name %string; #IMPLIED>
  810. <!ELEMENT text:alphabetical-index-mark-start EMPTY>
  811. <!ATTLIST text:alphabetical-index-mark-start text:id %string; #REQUIRED>
  812. <!ATTLIST text:alphabetical-index-mark-start text:key1 %string; #IMPLIED>
  813. <!ATTLIST text:alphabetical-index-mark-start text:key2 %string; #IMPLIED>
  814. <!ATTLIST text:alphabetical-index-mark-start text:main-etry %boolean; "false">
  815. <!ELEMENT text:alphabetical-index-mark-end EMPTY>
  816. <!ATTLIST text:alphabetical-index-mark-end text:id %string; #REQUIRED>
  817. <!ELEMENT text:alphabetical-index-mark EMPTY>
  818. <!ATTLIST text:alphabetical-index-mark text:string-value %string; #REQUIRED>
  819. <!ATTLIST text:alphabetical-index-mark text:key1 %string; #IMPLIED>
  820. <!ATTLIST text:alphabetical-index-mark text:key2 %string; #IMPLIED>
  821. <!ATTLIST text:alphabetical-index-mark text:main-etry %boolean; "false">
  822. <!ELEMENT text:bibliography-configuration (text:sort-key)*>
  823. <!ATTLIST text:bibliography-configuration text:prefix %string; #IMPLIED>
  824. <!ATTLIST text:bibliography-configuration text:suffix %string; #IMPLIED>
  825. <!ATTLIST text:bibliography-configuration text:sort-by-position %boolean; "true">
  826. <!ATTLIST text:bibliography-configuration text:numbered-entries %boolean; "false">
  827. <!ATTLIST text:bibliography-configuration fo:language %string; #IMPLIED>
  828. <!ATTLIST text:bibliography-configuration fo:country %string; #IMPLIED>
  829. <!ATTLIST text:bibliography-configuration text:sort-algorithm %string; #IMPLIED>
  830. <!ELEMENT text:sort-key EMPTY>
  831. <!ATTLIST text:sort-key text:key ( address | annote | author |
  832. bibliography-type | booktitle | chapter | custom1 | custom2 |
  833. custom3 | custom4 | custom5 | edition | editor | howpublished |
  834. identifier | institution | isbn | journal | month | note | number |
  835. organizations | pages | publisher | report-type | school | series |
  836. title | url | volume | year ) #REQUIRED>
  837. <!ATTLIST text:sort-key text:sort-ascending %boolean; "true">
  838. <!ELEMENT text:linenumbering-configuration (text:linenumbering-separator?)>
  839. <!ATTLIST text:linenumbering-configuration text:style-name %styleName; #IMPLIED>
  840. <!ATTLIST text:linenumbering-configuration text:number-lines %boolean; "true">
  841. <!ATTLIST text:linenumbering-configuration text:count-empty-lines %boolean; "true">
  842. <!ATTLIST text:linenumbering-configuration text:count-in-floating-frames %boolean; "false">
  843. <!ATTLIST text:linenumbering-configuration text:restart-numbering %boolean; "false">
  844. <!ATTLIST text:linenumbering-configuration text:offset %nonNegativeLength; #IMPLIED>
  845. <!ATTLIST text:linenumbering-configuration style:num-format (1|a|A|i|I) "1">
  846. <!ATTLIST text:linenumbering-configuration style:num-letter-sync %boolean; "false">
  847. <!ATTLIST text:linenumbering-configuration text:number-position (left|right|inner|outer) "left">
  848. <!ATTLIST text:linenumbering-configuration text:increment %nonNegativeInteger; #IMPLIED>
  849. <!ELEMENT text:linenumbering-separator (#PCDATA)>
  850. <!ATTLIST text:linenumbering-separator text:increment %nonNegativeInteger; #IMPLIED>
  851. <!ELEMENT text:script (#PCDATA)>
  852. <!ATTLIST text:script script:language CDATA #REQUIRED>
  853. <!ATTLIST text:script xlink:href CDATA #IMPLIED>
  854. <!ATTLIST text:script xlink:type (simple) #FIXED "simple">
  855. <!ELEMENT text:measure (#PCDATA)>
  856. <!ATTLIST text:measure text:kind (value|unit|gap) #REQUIRED>
  857. <!ELEMENT text:ruby (text:ruby-base, text:ruby-text)>
  858. <!ATTLIST text:ruby text:style-name %styleName; #IMPLIED>
  859. <!ELEMENT text:ruby-base %inline-text;>
  860. <!ELEMENT text:ruby-text (#PCDATA)>
  861. <!ATTLIST text:ruby-text text:style-name %styleName; #IMPLIED>
  862. <!-- elements for change tracking -->
  863. <!ELEMENT text:change EMPTY>
  864. <!ATTLIST text:change text:change-id CDATA #REQUIRED>
  865. <!ELEMENT text:change-start EMPTY>
  866. <!ATTLIST text:change-start text:change-id CDATA #REQUIRED>
  867. <!ELEMENT text:change-end EMPTY>
  868. <!ATTLIST text:change-end text:change-id CDATA #REQUIRED>
  869. <!ELEMENT text:tracked-changes (text:changed-region)*>
  870. <!ATTLIST text:tracked-changes text:track-changes %boolean; "true">
  871. <!ATTLIST text:tracked-changes text:protection-key CDATA #IMPLIED>
  872. <!ELEMENT text:changed-region (text:insertion |
  873. (text:deletion, text:insertion?) |
  874. text:format-change) >
  875. <!ATTLIST text:changed-region text:id ID #REQUIRED>
  876. <!ATTLIST text:changed-region text:merge-last-paragraph %boolean; "true">
  877. <!ELEMENT text:insertion (office:change-info, %sectionText;)>
  878. <!ELEMENT text:deletion (office:change-info, %sectionText;)>
  879. <!ELEMENT text:format-change (office:change-info)>