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