xref: /aoo41x/main/xmloff/dtd/text.mod (revision cdf0e10c)
1<!--
2
3  DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
5  Copyright 2000, 2010 Oracle and/or its affiliates.
6
7  OpenOffice.org - a multi-platform office productivity suite
8
9  This file is part of OpenOffice.org.
10
11  OpenOffice.org is free software: you can redistribute it and/or modify
12  it under the terms of the GNU Lesser General Public License version 3
13  only, as published by the Free Software Foundation.
14
15  OpenOffice.org is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  GNU Lesser General Public License version 3 for more details
19  (a copy is included in the LICENSE file that accompanied this code).
20
21  You should have received a copy of the GNU Lesser General Public License
22  version 3 along with OpenOffice.org.  If not, see
23  <http://www.openoffice.org/license.html>
24  for a copy of the LGPLv3 License.
25
26-->
27
28<!ENTITY % fields "text:date |
29				   text:time |
30				   text:page-number |
31				   text:page-continuation |
32				   text:sender-firstname |
33				   text:sender-lastname |
34				   text:sender-initials |
35				   text:sender-title |
36				   text:sender-position |
37				   text:sender-email |
38				   text:sender-phone-private |
39				   text:sender-fax |
40				   text:sender-company |
41				   text:sender-phone-work |
42				   text:sender-street |
43				   text:sender-city |
44				   text:sender-postal-code |
45				   text:sender-country |
46				   text:sender-state-or-province |
47				   text:author-name |
48				   text:author-initials |
49				   text:placeholder |
50				   text:variable-set |
51				   text:variable-get |
52				   text:variable-input |
53				   text:user-field-get |
54				   text:user-field-input |
55				   text:sequence |
56				   text:expression |
57				   text:text-input |
58				   text:database-display |
59				   text:database-next |
60				   text:database-select |
61				   text:database-row-number |
62				   text:database-name |
63				   text:initial-creator |
64				   text:creation-date |
65				   text:creation-time |
66				   text:description |
67				   text:user-defined |
68				   text:print-time |
69				   text:print-date |
70				   text:printed-by |
71				   text:title |
72				   text:subject |
73				   text:keywords |
74				   text:editing-cycles |
75				   text:editing-duration |
76				   text:modification-time |
77				   text:modification-date |
78				   text:creator |
79				   text:conditional-text |
80				   text:hidden-text |
81				   text:hidden-paragraph |
82				   text:chapter |
83				   text:file-name |
84				   text:template-name |
85				   text:page-variable-set |
86				   text:page-variable-get |
87				   text:execute-macro |
88				   text:dde-connection |
89				   text:reference-ref |
90				   text:sequence-ref |
91				   text:bookmark-ref |
92				   text:footnote-ref |
93				   text:endnote-ref |
94				   text:sheet-name |
95				   text:bibliography-mark |
96				   text:page-count |
97				   text:paragraph-count |
98				   text:word-count |
99				   text:character-count |
100				   text:table-count |
101				   text:image-count |
102				   text:object-count |
103				   office:annotation |
104				   text:script |
105				   text:measure" >
106
107<!ENTITY % inline-text-elements "
108				 text:span|text:tab-stop|text:s|text:line-break|
109				 text:footnote|text:endnote|text:a|
110				 text:bookmark|text:bookmark-start|text:bookmark-end|
111				 text:reference-mark|text:reference-mark-start|
112				 text:reference-mark-end|%fields;|%shape;|
113				 text:toc-mark-start | text:toc-mark-end |
114				 text:toc-mark | text:user-index-mark-start |
115				 text:user-index-mark-end | text:user-index-mark |
116				 text:alphabetical-index-mark-start |
117				 text:alphabetical-index-mark-end |
118				 text:alphabetical-index-mark |
119				 %change-marks; | draw:a | text:ruby">
120
121<!ENTITY % inline-text "( #PCDATA | %inline-text-elements; )*">
122
123<!ELEMENT text:p %inline-text;>
124<!ELEMENT text:h %inline-text;>
125
126<!ATTLIST text:p text:style-name %styleName; #IMPLIED>
127<!ATTLIST text:p text:cond-style-name %styleName; #IMPLIED>
128
129<!ATTLIST text:h text:style-name %styleName; #IMPLIED>
130<!ATTLIST text:h text:cond-style-name %styleName; #IMPLIED>
131<!ATTLIST text:h text:level %positiveInteger; "1">
132
133<!ELEMENT text:span %inline-text;>
134<!ATTLIST text:span text:style-name %styleName; #REQUIRED>
135
136<!ELEMENT text:a (#PCDATA | office:events | %inline-text-elements;)*>
137<!ATTLIST text:a xlink:href %uriReference; #REQUIRED>
138<!ATTLIST text:a xlink:type (simple) #FIXED "simple">
139<!ATTLIST text:a xlink:actuate (onRequest) "onRequest">
140<!ATTLIST text:a xlink:show (new|replace) "replace">
141<!ATTLIST text:a office:name %string; #IMPLIED>
142<!ATTLIST text:a office:target-frame-name %string; #IMPLIED>
143<!ATTLIST text:a text:style-name %styleName; #IMPLIED>
144<!ATTLIST text:a text:visited-style-name %styleName; #IMPLIED>
145
146
147<!ELEMENT text:s EMPTY>
148<!ATTLIST text:s text:c %positiveInteger; "1">
149
150<!ELEMENT text:tab-stop EMPTY>
151
152<!ELEMENT text:line-break EMPTY>
153
154
155<!ENTITY % list-items "((text:list-header,text:list-item*)|text:list-item+)">
156<!ELEMENT text:ordered-list %list-items;>
157<!ELEMENT text:unordered-list %list-items;>
158
159
160<!ATTLIST text:ordered-list text:style-name %styleName; #IMPLIED>
161<!ATTLIST text:unordered-list text:style-name %styleName; #IMPLIED>
162
163<!ATTLIST text:ordered-list text:continue-numbering %boolean; "false">
164
165<!ELEMENT text:list-header (text:p|text:h)+>
166<!ELEMENT text:list-item (text:p|text:h|text:ordered-list|text:unordered-list)+>
167
168<!ATTLIST text:list-item text:restart-numbering %boolean; "false">
169<!ATTLIST text:list-item text:start-value %positiveInteger; #IMPLIED>
170
171<!ELEMENT text:list-style (text:list-level-style-number|
172     					   text:list-level-style-bullet|
173     					   text:list-level-style-image)+>
174
175<!ATTLIST text:list-style style:name %styleName; #IMPLIED>
176
177<!ATTLIST text:list-style text:consecutive-numbering %boolean; "false">
178
179
180<!ELEMENT text:list-level-style-number (style:properties?)>
181
182<!ATTLIST text:list-level-style-number text:level %positiveInteger;
183									     		 #REQUIRED>
184<!ATTLIST text:list-level-style-number text:style-name %styleName; #IMPLIED>
185
186<!ATTLIST text:list-level-style-number style:num-format %string; #REQUIRED>
187<!ATTLIST text:list-level-style-number style:num-prefix %string; #IMPLIED>
188<!ATTLIST text:list-level-style-number style:num-suffix %string; #IMPLIED>
189<!ATTLIST text:list-level-style-number style:num-letter-sync %boolean;
190									     					"false">
191<!ATTLIST text:list-level-style-number text:display-levels %positiveInteger;
192									     				  "1">
193<!ATTLIST text:list-level-style-number text:start-value %positiveInteger;
194														   "1">
195<!ELEMENT text:list-level-style-bullet (style:properties?)>
196
197<!ATTLIST text:list-level-style-bullet text:level %positiveInteger; #REQUIRED>
198<!ATTLIST text:list-level-style-bullet text:style-name %styleName; #IMPLIED>
199<!ATTLIST text:list-level-style-bullet text:bullet-char %character; #REQUIRED>
200<!ATTLIST text:list-level-style-bullet style:num-prefix %string; #IMPLIED>
201<!ATTLIST text:list-level-style-bullet style:num-suffix %string; #IMPLIED>
202
203<!ELEMENT text:list-level-style-image (style:properties?,office:binary-data?)>
204
205<!ATTLIST text:list-level-style-image text:level %positiveInteger; #REQUIRED>
206<!ATTLIST text:list-level-style-image xlink:type (simple) #IMPLIED>
207<!ATTLIST text:list-level-style-image xlink:href %uriReference; #IMPLIED>
208<!ATTLIST text:list-level-style-image xlink:actuate (onLoad) #IMPLIED>
209<!ATTLIST text:list-level-style-image xlink:show (embed) #IMPLIED>
210
211
212<!-- list properties -->
213<!ATTLIST style:properties text:space-before %nonNegativeLength; #IMPLIED>
214<!ATTLIST style:properties text:min-label-width %nonNegativeLength; #IMPLIED>
215<!ATTLIST style:properties text:min-label-distance %nonNegativeLength; #IMPLIED>
216<!ATTLIST style:properties text:enable-numbering %boolean; #IMPLIED>
217<!ATTLIST style:properties style:list-style-name %styleName; #IMPLIED>
218
219<!ELEMENT text:outline-style (text:outline-level-style)+>
220
221<!ELEMENT text:outline-level-style (style:properties?)>
222
223<!ATTLIST text:outline-level-style text:level %positiveInteger;
224													 #REQUIRED>
225<!ATTLIST text:outline-level-style text:style-name %styleName; #IMPLIED>
226
227<!ATTLIST text:outline-level-style style:num-format %string; #REQUIRED>
228<!ATTLIST text:outline-level-style style:num-prefix %string; #IMPLIED>
229<!ATTLIST text:outline-level-style style:num-suffix %string; #IMPLIED>
230<!ATTLIST text:outline-level-style style:num-letter-sync %boolean;
231																"false">
232<!ATTLIST text:outline-level-style text:display-levels %positiveInteger;
233															  "1">
234<!ATTLIST text:outline-level-style text:start-value %positiveInteger;
235														   "1">
236
237<!ENTITY % field-declarations "text:variable-decls?,
238							   text:user-field-decls?,
239							   text:sequence-decls?">
240
241<!ENTITY % variableName "CDATA">
242
243<!ENTITY % formula "CDATA">
244
245<!ENTITY % valueAttr "text:value-type %valueType; #IMPLIED
246							 text:currency CDATA #IMPLIED" >
247
248<!ENTITY % valueAndTypeAttr "%valueAttr;
249		 					 text:value %float; #IMPLIED
250							 text:date-value %date; #IMPLIED
251							 text:time-value %timeInstance; #IMPLIED
252							 text:boolean-value %boolean; #IMPLIED
253							 text:string-value %string; #IMPLIED" >
254
255<!ENTITY % numFormat 'style:num-format CDATA #IMPLIED
256					   style:num-letter-sync %boolean; "false"'>
257
258
259<!ELEMENT text:date (#PCDATA)>
260<!ATTLIST text:date text:date-value %timeInstance; #IMPLIED>
261<!ATTLIST text:date text:date-adjust %dateDuration; #IMPLIED>
262<!ATTLIST text:date text:fixed %boolean; "false">
263<!ATTLIST text:date style:data-style-name %styleName; #IMPLIED>
264
265<!ELEMENT text:time (#PCDATA)>
266<!ATTLIST text:time text:time-value %timeInstance; #IMPLIED>
267<!ATTLIST text:time text:time-adjust %timeDuration; #IMPLIED>
268<!ATTLIST text:time text:fixed %boolean; "false">
269<!ATTLIST text:time style:data-style-name %styleName; #IMPLIED>
270
271<!ELEMENT text:page-number (#PCDATA)>
272<!ATTLIST text:page-number text:page-adjust %positiveInteger; #IMPLIED>
273<!ATTLIST text:page-number text:select-page (previous|current|next) "current">
274<!ATTLIST text:page-number %numFormat;>
275
276<!ELEMENT text:page-continuation (#PCDATA)>
277<!ATTLIST text:page-continuation text:select-page (previous|next) #REQUIRED>
278<!ATTLIST text:page-continuation text:string-value %string; #IMPLIED>
279
280<!ELEMENT text:sender-firstname (#PCDATA)>
281<!ATTLIST text:sender-firstname text:fixed %boolean; "true">
282
283<!ELEMENT text:sender-lastname (#PCDATA)>
284<!ATTLIST text:sender-lastname text:fixed %boolean; "true">
285
286<!ELEMENT text:sender-initials (#PCDATA)>
287<!ATTLIST text:sender-initials text:fixed %boolean; "true">
288
289<!ELEMENT text:sender-title (#PCDATA)>
290<!ATTLIST text:sender-title text:fixed %boolean; "true">
291
292<!ELEMENT text:sender-position (#PCDATA)>
293<!ATTLIST text:sender-position text:fixed %boolean; "true">
294
295<!ELEMENT text:sender-email (#PCDATA)>
296<!ATTLIST text:sender-email text:fixed %boolean; "true">
297
298<!ELEMENT text:sender-phone-private (#PCDATA)>
299<!ATTLIST text:sender-phone-private text:fixed %boolean; "true">
300
301<!ELEMENT text:sender-fax (#PCDATA)>
302<!ATTLIST text:sender-fax text:fixed %boolean; "true">
303
304<!ELEMENT text:sender-company (#PCDATA)>
305<!ATTLIST text:sender-company text:fixed %boolean; "true">
306
307<!ELEMENT text:sender-phone-work (#PCDATA)>
308<!ATTLIST text:sender-phone-work text:fixed %boolean; "true">
309
310<!ELEMENT text:sender-street (#PCDATA)>
311<!ATTLIST text:sender-street text:fixed %boolean; "true">
312
313<!ELEMENT text:sender-city (#PCDATA)>
314<!ATTLIST text:sender-city text:fixed %boolean; "true">
315
316<!ELEMENT text:sender-postal-code (#PCDATA)>
317<!ATTLIST text:sender-postal-code text:fixed %boolean; "true">
318
319<!ELEMENT text:sender-country (#PCDATA)>
320<!ATTLIST text:sender-country text:fixed %boolean; "true">
321
322<!ELEMENT text:sender-state-or-province (#PCDATA)>
323<!ATTLIST text:sender-state-or-province text:fixed %boolean; "true">
324
325<!ELEMENT text:author-name (#PCDATA)>
326<!ATTLIST text:author-name text:fixed %boolean; "true">
327
328<!ELEMENT text:author-initials (#PCDATA)>
329<!ATTLIST text:author-initials text:fixed %boolean; "true">
330
331<!ELEMENT text:placeholder (#PCDATA)>
332<!ATTLIST text:placeholder text:placeholder-type (text|table|text-box|image|object) #REQUIRED>
333<!ATTLIST text:placeholder text:description %string; #IMPLIED>
334
335<!ELEMENT text:variable-decls (text:variable-decl)*>
336
337<!ELEMENT text:variable-decl EMPTY>
338<!ATTLIST text:variable-decl text:name %variableName; #REQUIRED>
339<!ATTLIST text:variable-decl %valueAndTypeAttr;>
340
341<!ELEMENT text:variable-set (#PCDATA)>
342<!ATTLIST text:variable-set text:name %variableName; #REQUIRED>
343<!ATTLIST text:variable-set text:formula %formula; #IMPLIED>
344<!ATTLIST text:variable-set %valueAndTypeAttr;>
345<!ATTLIST text:variable-set text:display (value|none) "value">
346<!ATTLIST text:variable-set style:data-style-name %styleName; #IMPLIED>
347
348<!ELEMENT text:variable-get (#PCDATA)>
349<!ATTLIST text:variable-get text:name %variableName; #REQUIRED>
350<!ATTLIST text:variable-get text:display (value|formula) "value">
351<!ATTLIST text:variable-get style:data-style-name %styleName; #IMPLIED>
352<!ATTLIST text:variable-get %valueAttr;>
353
354<!ELEMENT text:variable-input (#PCDATA)>
355<!ATTLIST text:variable-input text:name %variableName; #REQUIRED>
356<!ATTLIST text:variable-input text:description %string; #IMPLIED>
357<!ATTLIST text:variable-input %valueAndTypeAttr;>
358<!ATTLIST text:variable-input text:display (value|none) "value">
359<!ATTLIST text:variable-input style:data-style-name %styleName; #IMPLIED>
360
361<!ELEMENT text:user-field-decls (text:user-field-decl)*>
362
363<!ELEMENT text:user-field-decl EMPTY>
364<!ATTLIST text:user-field-decl text:name %variableName; #REQUIRED>
365<!ATTLIST text:user-field-decl text:formula %formula; #IMPLIED>
366<!ATTLIST text:user-field-decl %valueAndTypeAttr;>
367
368<!ELEMENT text:user-field-get (#PCDATA)>
369<!ATTLIST text:user-field-get text:name %variableName; #REQUIRED>
370<!ATTLIST text:user-field-get text:display (value|formula|none) "value">
371<!ATTLIST text:user-field-get style:data-style-name %styleName; #IMPLIED>
372
373<!ELEMENT text:user-field-input (#PCDATA)>
374<!ATTLIST text:user-field-input text:name %variableName; #REQUIRED>
375<!ATTLIST text:user-field-input text:description %string; #IMPLIED>
376<!ATTLIST text:user-field-input style:data-style-name %styleName; #IMPLIED>
377
378<!ELEMENT text:sequence-decls (text:sequence-decl)*>
379
380<!ELEMENT text:sequence-decl EMPTY>
381<!ATTLIST text:sequence-decl text:name %variableName; #REQUIRED>
382<!ATTLIST text:sequence-decl text:display-outline-level %positiveInteger; "0">
383<!ATTLIST text:sequence-decl text:separation-character %character; ".">
384
385<!ELEMENT text:sequence (#PCDATA)>
386<!ATTLIST text:sequence text:name %variableName; #REQUIRED>
387<!ATTLIST text:sequence text:formula %formula; #IMPLIED>
388<!ATTLIST text:sequence %numFormat;>
389<!ATTLIST text:sequence text:ref-name ID #IMPLIED>
390
391<!ELEMENT text:expression (#PCDATA)>
392<!ATTLIST text:expression text:formula %formula; #IMPLIED>
393<!ATTLIST text:expression text:display (value|formula ) "value">
394<!ATTLIST text:expression %valueAndTypeAttr;>
395<!ATTLIST text:expression style:data-style-name %styleName; #IMPLIED>
396
397<!ELEMENT text:text-input (#PCDATA)>
398<!ATTLIST text:text-input text:description %string; #IMPLIED>
399
400<!ENTITY % database-table "text:database-name CDATA #REQUIRED
401						   text:table-name CDATA #REQUIRED
402						   text:table-type (table|query|command) #IMPLIED">
403
404<!ELEMENT text:database-display (#PCDATA)>
405<!ATTLIST text:database-display %database-table;>
406<!ATTLIST text:database-display text:column-name %string; #REQUIRED>
407<!ATTLIST text:database-display style:data-style-name %styleName; #IMPLIED>
408<!ATTLIST text:database-display text:display (none|value) #IMPLIED>
409
410<!ELEMENT text:database-next (#PCDATA)>
411<!ATTLIST text:database-next %database-table;>
412<!ATTLIST text:database-next text:condition %formula; #IMPLIED>
413
414<!ELEMENT text:database-select (#PCDATA)>
415<!ATTLIST text:database-select %database-table;>
416<!ATTLIST text:database-select text:condition %formula; #IMPLIED>
417<!ATTLIST text:database-select text:row-number %integer; #REQUIRED>
418
419<!ELEMENT text:database-row-number (#PCDATA)>
420<!ATTLIST text:database-row-number %database-table;>
421<!ATTLIST text:database-row-number %numFormat;>
422<!ATTLIST text:database-row-number text:value %integer; #IMPLIED>
423<!ATTLIST text:database-row-number text:display (none|value) #IMPLIED>
424
425<!ELEMENT text:database-name (#PCDATA)>
426<!ATTLIST text:database-name %database-table;>
427<!ATTLIST text:database-name text:display (none|value) #IMPLIED>
428
429<!ELEMENT text:initial-creator (#PCDATA)>
430<!ATTLIST text:initial-creator text:fixed %boolean; "false">
431
432<!ELEMENT text:creation-date (#PCDATA)>
433<!ATTLIST text:creation-date text:fixed %boolean; "false">
434<!ATTLIST text:creation-date text:date-value %date; #IMPLIED>
435<!ATTLIST text:creation-date style:data-style-name %styleName; #IMPLIED>
436
437<!ELEMENT text:creation-time (#PCDATA)>
438<!ATTLIST text:creation-time text:fixed %boolean; "false">
439<!ATTLIST text:creation-time text:time-value %timeInstance; #IMPLIED>
440<!ATTLIST text:creation-time style:data-style-name %styleName; #IMPLIED>
441
442<!ELEMENT text:description (#PCDATA)>
443<!ATTLIST text:description text:fixed %boolean; "false">
444
445<!ELEMENT text:user-defined (#PCDATA)>
446<!ATTLIST text:user-defined text:fixed %boolean; "false">
447<!ATTLIST text:user-defined text:name %string; #REQUIRED>
448
449<!ELEMENT text:print-time (#PCDATA)>
450<!ATTLIST text:print-time text:fixed %boolean; "false">
451<!ATTLIST text:print-time text:time-value %timeInstance; #IMPLIED>
452<!ATTLIST text:print-time style:data-style-name %styleName; #IMPLIED>
453
454<!ELEMENT text:print-date (#PCDATA)>
455<!ATTLIST text:print-date text:fixed %boolean; "false">
456<!ATTLIST text:print-date text:date-value %date; #IMPLIED>
457<!ATTLIST text:print-date style:data-style-name %styleName; #IMPLIED>
458
459<!ELEMENT text:printed-by (#PCDATA)>
460<!ATTLIST text:printed-by text:fixed %boolean; "false">
461
462<!ELEMENT text:title (#PCDATA)>
463<!ATTLIST text:title text:fixed %boolean; "false">
464
465<!ELEMENT text:subject (#PCDATA)>
466<!ATTLIST text:subject text:fixed %boolean; "false">
467
468<!ELEMENT text:keywords (#PCDATA)>
469<!ATTLIST text:keywords text:fixed %boolean; "false">
470
471<!ELEMENT text:editing-cycles (#PCDATA)>
472<!ATTLIST text:editing-cycles text:fixed %boolean; "false">
473
474<!ELEMENT text:editing-duration (#PCDATA)>
475<!ATTLIST text:editing-duration text:fixed %boolean; "false">
476<!ATTLIST text:editing-duration text:duration %timeDuration; #IMPLIED>
477<!ATTLIST text:editing-duration style:data-style-name %styleName; #IMPLIED>
478
479<!ELEMENT text:modification-time (#PCDATA)>
480<!ATTLIST text:modification-time text:fixed %boolean; "false">
481<!ATTLIST text:modification-time text:time-value %timeInstance; #IMPLIED>
482<!ATTLIST text:modification-time style:data-style-name %styleName; #IMPLIED>
483
484<!ELEMENT text:modification-date (#PCDATA)>
485<!ATTLIST text:modification-date text:fixed %boolean; "false">
486<!ATTLIST text:modification-date text:date-value %date; #IMPLIED>
487<!ATTLIST text:modification-date style:data-style-name %styleName; #IMPLIED>
488
489<!ELEMENT text:creator (#PCDATA)>
490<!ATTLIST text:creator text:fixed %boolean; "false">
491
492<!ELEMENT text:conditional-text (#PCDATA)>
493<!ATTLIST text:conditional-text text:condition %formula; #REQUIRED>
494<!ATTLIST text:conditional-text text:string-value-if-false %string; #REQUIRED>
495<!ATTLIST text:conditional-text text:string-value-if-true %string; #REQUIRED>
496<!ATTLIST text:conditional-text text:current-value %boolean; "false">
497
498<!ELEMENT text:hidden-text (#PCDATA)>
499<!ATTLIST text:hidden-text text:condition %formula; #REQUIRED>
500<!ATTLIST text:hidden-text text:string-value %string; #REQUIRED>
501<!ATTLIST text:hidden-text text:is-hidden %boolean; "false">
502
503<!ELEMENT text:hidden-paragraph EMPTY>
504<!ATTLIST text:hidden-paragraph text:condition %formula; #REQUIRED>
505<!ATTLIST text:hidden-paragraph text:is-hidden %boolean; "false">
506
507<!ELEMENT text:chapter (#PCDATA)>
508<!ATTLIST text:chapter text:display (name|number|number-and-name|
509									 plain-number-and-name|plain-number)
510									 "number-and-name">
511<!ATTLIST text:chapter text:outline-level %integer; "1">
512
513<!ELEMENT text:file-name (#PCDATA)>
514<!ATTLIST text:file-name text:display (full|path|name|name-and-extension)
515									  "full">
516<!ATTLIST text:file-name text:fixed %boolean; "false">
517
518<!ELEMENT text:template-name (#PCDATA)>
519<!ATTLIST text:template-name text:display (full|path|name|name-and-extension|
520										  area|title) "full">
521
522<!ELEMENT text:page-variable-set EMPTY>
523<!ATTLIST text:page-variable-set text:active %boolean; "true">
524<!ATTLIST text:page-variable-set text:page-adjust %integer; "0">
525
526<!ELEMENT text:page-variable-get (#PCDATA)>
527<!ATTLIST text:page-variable-get %numFormat;>
528
529<!ELEMENT text:execute-macro (#PCDATA|office:events)* >
530<!ATTLIST text:execute-macro text:description %string; #IMPLIED>
531
532
533<!ELEMENT text:dde-connection-decls (text:dde-connection-decl)*>
534
535<!ELEMENT text:dde-connection-decl EMPTY>
536<!ATTLIST text:dde-connection-decl text:name %string; #REQUIRED>
537<!ATTLIST text:dde-connection-decl office:dde-application %string; #REQUIRED>
538<!ATTLIST text:dde-connection-decl office:dde-topic %string; #REQUIRED>
539<!ATTLIST text:dde-connection-decl office:dde-item %string; #REQUIRED>
540<!ATTLIST text:dde-connection-decl office:automatic-update %boolean; "false">
541
542<!ELEMENT text:dde-connection (#PCDATA)>
543<!ATTLIST text:dde-connection text:connection-name %string; #REQUIRED>
544
545<!ELEMENT text:reference-ref (#PCDATA)>
546<!ATTLIST text:reference-ref text:ref-name %string; #REQUIRED>
547<!ATTLIST text:reference-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
548
549<!ELEMENT text:sequence-ref (#PCDATA)>
550<!ATTLIST text:sequence-ref text:ref-name %string; #REQUIRED>
551<!ATTLIST text:sequence-ref text:reference-format (page|chapter|text|direction|category-and-value|caption|value) #IMPLIED>
552
553<!ELEMENT text:bookmark-ref (#PCDATA)>
554<!ATTLIST text:bookmark-ref text:ref-name %string; #REQUIRED>
555<!ATTLIST text:bookmark-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
556
557<!ELEMENT text:footnote-ref (#PCDATA)>
558<!ATTLIST text:footnote-ref text:ref-name %string; #REQUIRED>
559<!ATTLIST text:footnote-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
560
561<!ELEMENT text:endnote-ref (#PCDATA)>
562<!ATTLIST text:endnote-ref text:ref-name %string; #REQUIRED>
563<!ATTLIST text:endnote-ref text:reference-format (page|chapter|text|direction) #IMPLIED>
564
565<!ELEMENT text:sheet-name (#PCDATA)>
566
567<!ELEMENT text:page-count (#PCDATA)>
568<!ATTLIST text:page-count style:num-format %string; #IMPLIED>
569<!ATTLIST text:page-count style:num-letter-sync %boolean; "false">
570
571<!ELEMENT text:paragraph-count (#PCDATA)>
572<!ATTLIST text:paragraph-count style:num-format %string; #IMPLIED>
573<!ATTLIST text:paragraph-count style:num-letter-sync %boolean; "false">
574
575<!ELEMENT text:word-count (#PCDATA)>
576<!ATTLIST text:word-count style:num-format %string; #IMPLIED>
577<!ATTLIST text:word-count style:num-letter-sync %boolean; "false">
578
579<!ELEMENT text:character-count (#PCDATA)>
580<!ATTLIST text:character-count style:num-format %string; #IMPLIED>
581<!ATTLIST text:character-count style:num-letter-sync %boolean; "false">
582
583<!ELEMENT text:table-count (#PCDATA)>
584<!ATTLIST text:table-count style:num-format %string; #IMPLIED>
585<!ATTLIST text:table-count style:num-letter-sync %boolean; "false">
586
587<!ELEMENT text:image-count (#PCDATA)>
588<!ATTLIST text:image-count style:num-format %string; #IMPLIED>
589<!ATTLIST text:image-count style:num-letter-sync %boolean; "false">
590
591<!ELEMENT text:object-count (#PCDATA)>
592<!ATTLIST text:object-count style:num-format %string; #IMPLIED>
593<!ATTLIST text:object-count style:num-letter-sync %boolean; "false">
594
595<!ELEMENT text:bibliography-mark (#PCDATA)>
596<!ATTLIST text:bibliography-mark text:bibliography-type
597	( article | book | booklet | conference | custom1 | custom2 | custom3 |
598	  custom4 | custom5 | email | inbook | incollection | inproceedings |
599	  journal | manual | mastersthesis | misc | phdthesis | proceedings |
600	  techreport | unpublished | www ) #REQUIRED >
601<!ATTLIST text:bibliography-mark text:identifier CDATA #IMPLIED>
602<!ATTLIST text:bibliography-mark text:address CDATA #IMPLIED>
603<!ATTLIST text:bibliography-mark text:annote CDATA #IMPLIED>
604<!ATTLIST text:bibliography-mark text:author CDATA #IMPLIED>
605<!ATTLIST text:bibliography-mark text:booktitle CDATA #IMPLIED>
606<!ATTLIST text:bibliography-mark text:chapter CDATA #IMPLIED>
607<!ATTLIST text:bibliography-mark text:edition CDATA #IMPLIED>
608<!ATTLIST text:bibliography-mark text:editor CDATA #IMPLIED>
609<!ATTLIST text:bibliography-mark text:howpublished CDATA #IMPLIED>
610<!ATTLIST text:bibliography-mark text:institution CDATA #IMPLIED>
611<!ATTLIST text:bibliography-mark text:journal CDATA #IMPLIED>
612<!ATTLIST text:bibliography-mark text:month CDATA #IMPLIED>
613<!ATTLIST text:bibliography-mark text:note CDATA #IMPLIED>
614<!ATTLIST text:bibliography-mark text:number CDATA #IMPLIED>
615<!ATTLIST text:bibliography-mark text:organizations CDATA #IMPLIED>
616<!ATTLIST text:bibliography-mark text:pages CDATA #IMPLIED>
617<!ATTLIST text:bibliography-mark text:publisher CDATA #IMPLIED>
618<!ATTLIST text:bibliography-mark text:school CDATA #IMPLIED>
619<!ATTLIST text:bibliography-mark text:series CDATA #IMPLIED>
620<!ATTLIST text:bibliography-mark text:title CDATA #IMPLIED>
621<!ATTLIST text:bibliography-mark text:report-type CDATA #IMPLIED>
622<!ATTLIST text:bibliography-mark text:volume CDATA #IMPLIED>
623<!ATTLIST text:bibliography-mark text:year CDATA #IMPLIED>
624<!ATTLIST text:bibliography-mark text:url CDATA #IMPLIED>
625<!ATTLIST text:bibliography-mark text:custom1 CDATA #IMPLIED>
626<!ATTLIST text:bibliography-mark text:custom2 CDATA #IMPLIED>
627<!ATTLIST text:bibliography-mark text:custom3 CDATA #IMPLIED>
628<!ATTLIST text:bibliography-mark text:custom4 CDATA #IMPLIED>
629<!ATTLIST text:bibliography-mark text:custom5 CDATA #IMPLIED>
630<!ATTLIST text:bibliography-mark text:isbn CDATA #IMPLIED>
631
632
633<!ELEMENT text:bookmark EMPTY>
634<!ATTLIST text:bookmark text:name CDATA #REQUIRED>
635
636<!ELEMENT text:bookmark-start EMPTY>
637<!ATTLIST text:bookmark-start text:name CDATA #REQUIRED>
638
639<!ELEMENT text:bookmark-end EMPTY>
640<!ATTLIST text:bookmark-end text:name CDATA #REQUIRED>
641
642<!ELEMENT text:reference-mark EMPTY>
643<!ATTLIST text:reference-mark text:name CDATA #REQUIRED>
644
645<!ELEMENT text:reference-mark-start EMPTY>
646<!ATTLIST text:reference-mark-start text:name CDATA #REQUIRED>
647
648<!ELEMENT text:reference-mark-end EMPTY>
649<!ATTLIST text:reference-mark-end text:name CDATA #REQUIRED>
650
651<!ELEMENT text:footnotes-configuration (text:footnote-continuation-notice-forward?,text:footnote-continuation-notice-backward?)>
652<!ATTLIST text:footnotes-configuration style:num-prefix %string; #IMPLIED>
653<!ATTLIST text:footnotes-configuration style:num-suffix %string; #IMPLIED>
654<!ATTLIST text:footnotes-configuration style:num-format %string; #IMPLIED>
655<!ATTLIST text:footnotes-configuration style:num-letter-sync %string; #IMPLIED>
656<!ATTLIST text:footnotes-configuration text:citation-body-style-name %styleName; #IMPLIED>
657<!ATTLIST text:footnotes-configuration text:citation-style-name %styleName; #IMPLIED>
658<!ATTLIST text:footnotes-configuration text:default-style-name  %styleName; #IMPLIED>
659<!ATTLIST text:footnotes-configuration text:master-page-name %styleName; #IMPLIED>
660<!ATTLIST text:footnotes-configuration text:start-value %integer; #IMPLIED>
661<!ATTLIST text:footnotes-configuration text:footnotes-position (document|page) "page">
662<!ATTLIST text:footnotes-configuration text:start-numbering-at (document|chapter|page) "document">
663
664<!ELEMENT text:footnote-continuation-notice-forward (#PCDATA)>
665<!ELEMENT text:footnote-continuation-notice-backward (#PCDATA)>
666
667<!ELEMENT text:endnotes-configuration EMPTY>
668<!ATTLIST text:endnotes-configuration style:num-prefix %string; #IMPLIED>
669<!ATTLIST text:endnotes-configuration style:num-suffix %string; #IMPLIED>
670<!ATTLIST text:endnotes-configuration style:num-format %string; #IMPLIED>
671<!ATTLIST text:endnotes-configuration style:num-letter-sync %string; #IMPLIED>
672<!ATTLIST text:endnotes-configuration text:start-value %integer; #IMPLIED>
673<!ATTLIST text:endnotes-configuration text:citation-style-name %styleName; #IMPLIED>
674<!ATTLIST text:endnotes-configuration text:citation-body-style-name %styleName; #IMPLIED>
675<!ATTLIST text:endnotes-configuration text:default-style-name %styleName; #IMPLIED>
676<!ATTLIST text:endnotes-configuration text:master-page-name %styleName; #IMPLIED>
677
678<!-- Validity constraint: text:footnote and text:endnote elements may not
679	contain other text:footnote or text:endnote elements, even though the DTD
680	allows this (via the %text; in the foot-/endnote-body).
681	Unfortunatetly, this constraint cannot be easily specified in the DTD.
682-->
683<!ELEMENT text:footnote (text:footnote-citation, text:footnote-body)>
684<!ATTLIST text:footnote text:id ID #IMPLIED>
685
686<!ELEMENT text:footnote-citation (#PCDATA)>
687<!ATTLIST text:footnote-citation text:label %string; #IMPLIED>
688
689<!ELEMENT text:footnote-body (text:h|text:p|
690							  text:ordered-list|text:unordered-list)*>
691
692<!ELEMENT text:endnote (text:endnote-citation, text:endnote-body)>
693<!ATTLIST text:endnote text:id ID #IMPLIED>
694
695<!ELEMENT text:endnote-citation (#PCDATA)>
696<!ATTLIST text:endnote-citation text:label %string; #IMPLIED>
697
698<!ELEMENT text:endnote-body (text:h|text:p|
699							 text:ordered-list|text:unordered-list)*>
700
701<!ENTITY % sectionAttr "text:name CDATA #REQUIRED
702                        text:style-name %styleName; #IMPLIED
703                        text:protected %boolean; 'false' ">
704
705
706<!ELEMENT text:section ((text:section-source|office:dde-source)?,
707						%sectionText;) >
708
709<!ATTLIST text:section %sectionAttr;>
710<!ATTLIST text:section text:display (true|none|condition) "true">
711<!ATTLIST text:section text:condition %formula; #IMPLIED>
712<!ATTLIST text:section text:protection-key CDATA #IMPLIED>
713<!ATTLIST text:section text:is-hidden %boolean; #IMPLIED>
714
715<!ELEMENT text:section-source EMPTY>
716<!ATTLIST text:section-source xlink:href %string; #IMPLIED>
717<!ATTLIST text:section-source xlink:type (simple) #FIXED "simple">
718<!ATTLIST text:section-source xlink:show (embed) #FIXED "embed">
719<!ATTLIST text:section-source text:section-name %string; #IMPLIED>
720<!ATTLIST text:section-source text:filter-name %string; #IMPLIED>
721
722<!ELEMENT text:table-of-content (text:table-of-content-source,
723								 text:index-body)   >
724<!ATTLIST text:table-of-content %sectionAttr;>
725
726<!ELEMENT text:table-of-content-source (text:index-title-template? ,
727										text:table-of-content-entry-template*,
728										text:index-source-styles* ) >
729<!ATTLIST text:table-of-content-source text:outline-level %integer; #IMPLIED>
730<!ATTLIST text:table-of-content-source text:use-outline-level %boolean; "true">
731<!ATTLIST text:table-of-content-source text:use-index-marks %boolean; "true">
732<!ATTLIST text:table-of-content-source text:use-index-source-styles
733															%boolean; "false">
734<!ATTLIST text:table-of-content-source text:index-scope (document|chapter)
735														"document">
736<!ATTLIST text:table-of-content-source text:relative-tab-stop-position
737															%boolean; "true">
738<!ATTLIST text:table-of-content-source fo:language %string; #IMPLIED>
739<!ATTLIST text:table-of-content-source fo:country %string; #IMPLIED>
740<!ATTLIST text:table-of-content-source text:sort-algorithm %string; #IMPLIED>
741
742<!ELEMENT text:table-of-content-entry-template (text:index-entry-chapter-number |
743												text:index-entry-page-number |
744												text:index-entry-text |
745												text:index-entry-span |
746												text:index-entry-tab-stop |
747												text:index-entry-link-start |
748												text:index-entry-link-end)* >
749<!ATTLIST text:table-of-content-entry-template text:outline-level
750						%integer; #REQUIRED>
751<!ATTLIST text:table-of-content-entry-template text:style-name
752						%styleName; #REQUIRED>
753
754<!ELEMENT text:illustration-index
755			(text:illustration-index-source, text:index-body)>
756<!ATTLIST text:illustration-index %sectionAttr;>
757
758<!ELEMENT text:illustration-index-source (text:index-title-template?,
759									text:illustration-index-entry-template?) >
760<!ATTLIST text:illustration-index-source text:index-scope
761									(document|chapter) "document">
762<!ATTLIST text:illustration-index-source text:relative-tab-stop-position
763									%boolean; "true">
764<!ATTLIST text:illustration-index-source text:use-caption %boolean; "true">
765<!ATTLIST text:illustration-index-source text:caption-sequence-name
766									%string; #IMPLIED>
767<!ATTLIST text:illustration-index-source text:caption-sequence-format
768									(text|category-and-value|caption) "text">
769<!ATTLIST text:illustration-index-source fo:language %string; #IMPLIED>
770<!ATTLIST text:illustration-index-source fo:country %string; #IMPLIED>
771<!ATTLIST text:illustration-index-source text:sort-algorithm %string; #IMPLIED>
772
773<!ELEMENT text:illustration-index-entry-template
774								( text:index-entry-page-number |
775								  text:index-entry-text |
776								  text:index-entry-span |
777								  text:index-entry-tab-stop )* >
778<!ATTLIST text:illustration-index-entry-template text:style-name
779									%styleName; #REQUIRED>
780
781<!ELEMENT text:table-index (text:table-index-source, text:index-body)>
782<!ATTLIST text:table-index %sectionAttr;>
783
784<!ELEMENT text:table-index-source (text:index-title-template?,
785									text:table-index-entry-template?) >
786<!ATTLIST text:table-index-source text:index-scope
787									(document|chapter) "document">
788<!ATTLIST text:table-index-source text:relative-tab-stop-position
789									%boolean; "true">
790<!ATTLIST text:table-index-source text:use-caption %boolean; "true">
791<!ATTLIST text:table-index-source text:caption-sequence-name
792									%string; #IMPLIED>
793<!ATTLIST text:table-index-source text:caption-sequence-format
794									(text|category-and-value|caption) "text">
795<!ATTLIST text:table-index-source fo:language %string; #IMPLIED>
796<!ATTLIST text:table-index-source fo:country %string; #IMPLIED>
797<!ATTLIST text:table-index-source text:sort-algorithm %string; #IMPLIED>
798
799<!ELEMENT text:table-index-entry-template ( text:index-entry-page-number |
800											text:index-entry-text |
801											text:index-entry-span |
802											text:index-entry-tab-stop )* >
803<!ATTLIST text:table-index-entry-template text:style-name
804											%styleName; #REQUIRED>
805
806<!ELEMENT text:object-index ( text:object-index-source, text:index-body ) >
807<!ATTLIST text:object-index %sectionAttr;>
808
809<!ELEMENT text:object-index-source ( text:index-title-template?,
810									 text:object-index-entry-template? ) >
811<!ATTLIST text:object-index-source text:index-scope
812									(document|chapter) "document">
813<!ATTLIST text:object-index-source text:relative-tab-stop-position
814									%boolean; "true">
815<!ATTLIST text:object-index-source text:use-spreadsheet-objects
816									%boolean; "false">
817<!ATTLIST text:object-index-source text:use-draw-objects %boolean; "false">
818<!ATTLIST text:object-index-source text:use-chart-objects %boolean; "false">
819<!ATTLIST text:object-index-source text:use-other-objects %boolean; "false">
820<!ATTLIST text:object-index-source text:use-math-objects %boolean; "false">
821<!ATTLIST text:object-index-source fo:language %string; #IMPLIED>
822<!ATTLIST text:object-index-source fo:country %string; #IMPLIED>
823<!ATTLIST text:object-index-source text:sort-algorithm %string; #IMPLIED>
824
825<!ELEMENT text:object-index-entry-template ( text:index-entry-page-number |
826											 text:index-entry-text |
827											 text:index-entry-span |
828											 text:index-entry-tab-stop )* >
829<!ATTLIST text:object-index-entry-template text:style-name
830											%styleName; #REQUIRED >
831
832<!ELEMENT text:user-index (text:user-index-source, text:index-body) >
833<!ATTLIST text:user-index %sectionAttr;>
834
835<!ELEMENT text:user-index-source ( text:index-title-template?,
836								   text:user-index-entry-template*,
837								   text:index-source-styles* ) >
838<!ATTLIST text:user-index-source text:index-scope
839									(document|chapter) "document">
840<!ATTLIST text:user-index-source text:relative-tab-stop-position
841									%boolean; "true">
842<!ATTLIST text:user-index-source text:use-index-marks %boolean; "false">
843<!ATTLIST text:user-index-source text:use-graphics %boolean; "false">
844<!ATTLIST text:user-index-source text:use-tables %boolean; "false">
845<!ATTLIST text:user-index-source text:use-floating-frames %boolean; "false">
846<!ATTLIST text:user-index-source text:use-objects %boolean; "false">
847<!ATTLIST text:user-index-source text:use-index-source-styles
848													%boolean; "false">
849<!ATTLIST text:user-index-source text:copy-outline-levels %boolean; "false">
850<!ATTLIST text:user-index-source fo:language %string; #IMPLIED>
851<!ATTLIST text:user-index-source fo:country %string; #IMPLIED>
852<!ATTLIST text:user-index-source text:sort-algorithm %string; #IMPLIED>
853<!ATTLIST text:user-index-source text:index-name %string; #IMPLIED>
854
855<!ELEMENT text:user-index-entry-template ( text:index-entry-chapter |
856										   text:index-entry-page-number |
857										   text:index-entry-text |
858										   text:index-entry-span |
859										   text:index-entry-tab-stop )* >
860<!ATTLIST text:user-index-entry-template text:outline-level %integer; #REQUIRED>
861<!ATTLIST text:user-index-entry-template text:style-name %styleName; #REQUIRED>
862
863<!ELEMENT text:alphabetical-index (text:alphabetical-index-source,
864									text:index-body)>
865<!ATTLIST text:alphabetical-index %sectionAttr;>
866
867<!ELEMENT text:alphabetical-index-source ( text:index-title-template?,
868							text:alphabetical-index-entry-template* ) >
869<!ATTLIST text:alphabetical-index-source text:index-scope
870												(document|chapter) "document">
871<!ATTLIST text:alphabetical-index-source text:relative-tab-stop-position
872												%boolean; "true">
873<!ATTLIST text:alphabetical-index-source text:ignore-case %boolean; "false">
874<!ATTLIST text:alphabetical-index-source text:main-entry-style-name
875												%styleName; #IMPLIED>
876<!ATTLIST text:alphabetical-index-source text:alphabetical-separators
877												%boolean; "false">
878<!ATTLIST text:alphabetical-index-source text:combine-entries
879												%boolean; "true">
880<!ATTLIST text:alphabetical-index-source text:combine-entries-with-dash
881												%boolean; "false">
882<!ATTLIST text:alphabetical-index-source text:combine-entries-with-pp
883												%boolean; "true">
884<!ATTLIST text:alphabetical-index-source text:use-keys-as-entries
885												%boolean; "false">
886<!ATTLIST text:alphabetical-index-source text:capitalize-entries
887												%boolean; "false">
888<!ATTLIST text:alphabetical-index-source text:comma-separated
889												%boolean; "false">
890<!ATTLIST text:alphabetical-index-source fo:language %string; #IMPLIED>
891<!ATTLIST text:alphabetical-index-source fo:country %string; #IMPLIED>
892<!ATTLIST text:alphabetical-index-source text:sort-algorithm %string; #IMPLIED>
893
894<!ELEMENT text:alphabetical-index-entry-template ( text:index-entry-chapter |
895												text:index-entry-page-number |
896												text:index-entry-text |
897												text:index-entry-span |
898												text:index-entry-tab-stop )* >
899<!ATTLIST text:alphabetical-index-entry-template text:outline-level
900												(1|2|3|separator) #REQUIRED>
901<!ATTLIST text:alphabetical-index-entry-template text:style-name
902												%styleName; #REQUIRED>
903
904<!ELEMENT text:alphabetical-index-auto-mark-file EMPTY>
905<!ATTLIST text:alphabetical-index-auto-mark-file xlink:href CDATA #IMPLIED>
906<!ATTLIST text:alphabetical-index-auto-mark-file xlink:type (simple) #FIXED "simple">
907
908<!ELEMENT text:bibliography (text:bibliography-source, text:index-body) >
909<!ATTLIST text:bibliography %sectionAttr;>
910
911<!ELEMENT text:bibliography-source ( text:index-title-template?,
912									 text:bibliography-entry-template* ) >
913
914<!ELEMENT text:bibliography-entry-template ( text:index-entry-span |
915											 text:index-entry-tab-stop |
916											 text:index-entry-bibliography )* >
917<!ATTLIST text:bibliography-entry-template text:bibliography-type
918				( article | book | booklet | conference | custom1 | custom2 |
919				  custom3 | custom4 | custom5 | email | inbook | incollection |
920				  inproceedings | journal | manual | mastersthesis | misc |
921				  phdthesis | proceedings | techreport | unpublished | www )
922				#REQUIRED >
923<!ATTLIST text:bibliography-entry-template text:style-name
924													%styleName; #REQUIRED>
925
926<!ELEMENT text:index-body %sectionText; >
927
928<!--
929Validity constraint: text:index-title elements may appear only in
930indices, and there may be only one text:index-title element.
931-->
932<!ELEMENT text:index-title %sectionText; >
933<!ATTLIST text:index-title text:style-name %styleName; #IMPLIED>
934<!ATTLIST text:index-title text:name %string; #IMPLIED>
935
936<!ELEMENT text:index-title-template (#PCDATA)>
937<!ATTLIST text:index-title-template text:style-name %styleName; #IMPLIED>
938
939<!ELEMENT text:index-entry-chapter-number EMPTY>
940<!ATTLIST text:index-entry-chapter-number text:style-name %styleName; #IMPLIED>
941
942<!ELEMENT text:index-entry-chapter EMPTY>
943<!ATTLIST text:index-entry-chapter text:style-name %styleName; #IMPLIED>
944<!ATTLIST text:index-entry-chapter text:display (name|number|number-and-name)
945															"number-and-name" >
946
947<!ELEMENT text:index-entry-text EMPTY>
948<!ATTLIST text:index-entry-text text:style-name %styleName; #IMPLIED>
949
950<!ELEMENT text:index-entry-page-number EMPTY>
951<!ATTLIST text:index-entry-page-number text:style-name %styleName; #IMPLIED>
952
953<!ELEMENT text:index-entry-span (#PCDATA)>
954<!ATTLIST text:index-entry-span text:style-name %styleName; #IMPLIED>
955
956<!ELEMENT text:index-entry-bibliography EMPTY>
957<!ATTLIST text:index-entry-bibliography text:style-name %styleName; #IMPLIED>
958<!ATTLIST text:index-entry-bibliography text:bibliography-data-field
959							( address | annote | author | bibliography-type |
960							  booktitle | chapter | custom1 | custom2 |
961							  custom3 | custom4 | custom5 | edition | editor |
962							  howpublished | identifier | institution | isbn |
963							  journal | month | note | number | organizations |
964							  pages | publisher | report-type | school |
965							  series | title | url | volume | year ) #REQUIRED>
966
967
968<!ELEMENT text:index-entry-tab-stop EMPTY>
969<!ATTLIST text:index-entry-tab-stop text:style-name %styleName; #IMPLIED>
970<!ATTLIST text:index-entry-tab-stop style:leader-char %character; " ">
971<!ATTLIST text:index-entry-tab-stop style:type (left|right) "left">
972<!ATTLIST text:index-entry-tab-stop style:position %length; #IMPLIED>
973<!ATTLIST text:index-entry-tab-stop style:with-tab %boolean; "true">
974
975<!ELEMENT text:index-entry-link-start EMPTY>
976<!ATTLIST text:index-entry-link-start text:style-name %styleName; #IMPLIED>
977
978<!ELEMENT text:index-entry-link-end EMPTY>
979<!ATTLIST text:index-entry-link-end text:style-name %styleName; #IMPLIED>
980
981<!ELEMENT text:index-source-styles (text:index-source-style)*>
982<!ATTLIST text:index-source-styles text:outline-level %integer; #REQUIRED>
983
984<!ELEMENT text:index-source-style EMPTY>
985<!ATTLIST text:index-source-style text:style-name %styleName; #REQUIRED>
986
987<!ELEMENT text:toc-mark-start EMPTY>
988<!ATTLIST text:toc-mark-start text:id %string; #REQUIRED>
989<!ATTLIST text:toc-mark-start text:outline-level %integer; #IMPLIED>
990
991<!ELEMENT text:toc-mark-end EMPTY>
992<!ATTLIST text:toc-mark-end text:id %string; #REQUIRED>
993
994<!ELEMENT text:toc-mark EMPTY>
995<!ATTLIST text:toc-mark text:string-value %string; #REQUIRED>
996<!ATTLIST text:toc-mark text:outline-level %integer; #IMPLIED>
997
998<!ELEMENT text:user-index-mark-start EMPTY>
999<!ATTLIST text:user-index-mark-start text:id %string; #REQUIRED>
1000<!ATTLIST text:user-index-mark-start text:outline-level %integer; #IMPLIED>
1001<!ATTLIST text:user-index-mark-start text:index-name %string; #IMPLIED>
1002
1003<!ELEMENT text:user-index-mark-end EMPTY>
1004<!ATTLIST text:user-index-mark-end text:id %string; #REQUIRED>
1005
1006<!ELEMENT text:user-index-mark EMPTY>
1007<!ATTLIST text:user-index-mark text:string-value %string; #REQUIRED>
1008<!ATTLIST text:user-index-mark text:outline-level %integer; #IMPLIED>
1009<!ATTLIST text:user-index-mark text:index-name %string; #IMPLIED>
1010
1011<!ELEMENT text:alphabetical-index-mark-start EMPTY>
1012<!ATTLIST text:alphabetical-index-mark-start text:id %string; #REQUIRED>
1013<!ATTLIST text:alphabetical-index-mark-start text:key1 %string; #IMPLIED>
1014<!ATTLIST text:alphabetical-index-mark-start text:key2 %string; #IMPLIED>
1015<!ATTLIST text:alphabetical-index-mark-start text:main-etry %boolean; "false">
1016
1017<!ELEMENT text:alphabetical-index-mark-end EMPTY>
1018<!ATTLIST text:alphabetical-index-mark-end text:id %string; #REQUIRED>
1019
1020<!ELEMENT text:alphabetical-index-mark EMPTY>
1021<!ATTLIST text:alphabetical-index-mark text:string-value %string; #REQUIRED>
1022<!ATTLIST text:alphabetical-index-mark text:key1 %string; #IMPLIED>
1023<!ATTLIST text:alphabetical-index-mark text:key2 %string; #IMPLIED>
1024<!ATTLIST text:alphabetical-index-mark text:main-etry %boolean; "false">
1025
1026<!ELEMENT text:bibliography-configuration (text:sort-key)*>
1027<!ATTLIST text:bibliography-configuration text:prefix %string; #IMPLIED>
1028<!ATTLIST text:bibliography-configuration text:suffix %string; #IMPLIED>
1029<!ATTLIST text:bibliography-configuration text:sort-by-position %boolean; "true">
1030<!ATTLIST text:bibliography-configuration text:numbered-entries %boolean; "false">
1031<!ATTLIST text:bibliography-configuration fo:language %string; #IMPLIED>
1032<!ATTLIST text:bibliography-configuration fo:country %string; #IMPLIED>
1033<!ATTLIST text:bibliography-configuration text:sort-algorithm %string; #IMPLIED>
1034
1035<!ELEMENT text:sort-key EMPTY>
1036<!ATTLIST text:sort-key text:key ( address | annote | author |
1037	bibliography-type | booktitle | chapter | custom1 | custom2 |
1038	custom3 | custom4 | custom5 | edition | editor | howpublished |
1039	identifier | institution | isbn | journal | month | note | number |
1040	organizations | pages | publisher | report-type | school | series |
1041	title | url | volume | year ) #REQUIRED>
1042<!ATTLIST text:sort-key text:sort-ascending %boolean; "true">
1043
1044<!ELEMENT text:linenumbering-configuration (text:linenumbering-separator?)>
1045<!ATTLIST text:linenumbering-configuration text:style-name %styleName; #IMPLIED>
1046<!ATTLIST text:linenumbering-configuration text:number-lines %boolean; "true">
1047<!ATTLIST text:linenumbering-configuration text:count-empty-lines %boolean; "true">
1048<!ATTLIST text:linenumbering-configuration text:count-in-floating-frames %boolean; "false">
1049<!ATTLIST text:linenumbering-configuration text:restart-numbering %boolean; "false">
1050<!ATTLIST text:linenumbering-configuration text:offset %nonNegativeLength; #IMPLIED>
1051<!ATTLIST text:linenumbering-configuration style:num-format (1|a|A|i|I) "1">
1052<!ATTLIST text:linenumbering-configuration style:num-letter-sync %boolean; "false">
1053<!ATTLIST text:linenumbering-configuration text:number-position (left|rigth|inner|outer) "left">
1054<!ATTLIST text:linenumbering-configuration text:increment %nonNegativeInteger; #IMPLIED>
1055
1056<!ELEMENT text:linenumbering-separator (#PCDATA)>
1057<!ATTLIST text:linenumbering-separator text:increment %nonNegativeInteger; #IMPLIED>
1058
1059<!ELEMENT text:script (#PCDATA)>
1060<!ATTLIST text:script script:language CDATA #REQUIRED>
1061<!ATTLIST text:script xlink:href CDATA #IMPLIED>
1062<!ATTLIST text:script xlink:type (simple) #FIXED "simple">
1063
1064<!ELEMENT text:measure (#PCDATA)>
1065<!ATTLIST text:measure text:kind (value|unit|gap) #REQUIRED>
1066
1067<!ELEMENT text:ruby (text:ruby-base, text:ruby-text)>
1068<!ATTLIST text:ruby text:style-name %styleName; #IMPLIED>
1069
1070<!ELEMENT text:ruby-base %inline-text;>
1071
1072<!ELEMENT text:ruby-text (#PCDATA)>
1073<!ATTLIST text:ruby-text text:style-name %styleName; #IMPLIED>
1074
1075<!-- elements for change tracking -->
1076
1077<!ELEMENT text:change EMPTY>
1078<!ATTLIST text:change text:change-id CDATA #REQUIRED>
1079
1080<!ELEMENT text:change-start EMPTY>
1081<!ATTLIST text:change-start text:change-id CDATA #REQUIRED>
1082
1083<!ELEMENT text:change-end EMPTY>
1084<!ATTLIST text:change-end text:change-id CDATA #REQUIRED>
1085
1086<!ELEMENT text:tracked-changes (text:changed-region)*>
1087<!ATTLIST text:tracked-changes text:track-changes %boolean; "true">
1088<!ATTLIST text:tracked-changes text:protection-key CDATA #IMPLIED>
1089
1090<!ELEMENT text:changed-region (text:insertion |
1091							   (text:deletion, text:insertion?) |
1092                               text:format-change) >
1093<!ATTLIST text:changed-region text:id ID #REQUIRED>
1094<!ATTLIST text:changed-region text:merge-last-paragraph %boolean; "true">
1095
1096<!ELEMENT text:insertion (office:change-info, %sectionText;)>
1097<!ELEMENT text:deletion (office:change-info, %sectionText;)>
1098<!ELEMENT text:format-change (office:change-info)>
1099
1100