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