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