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