xref: /aoo41x/main/xmloff/dtd/style.mod (revision cabbd591)
1<!--***********************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 ***********************************************************-->
21
22
23
24<!ELEMENT style:font-decl EMPTY>
25<!ATTLIST style:font-decl style:name %string; #REQUIRED>
26<!ATTLIST style:font-decl fo:font-family %string; #REQUIRED>
27<!ATTLIST style:font-decl style:font-style-name %string; #IMPLIED>
28<!ENTITY % fontFamilyGeneric "(roman|swiss|modern|decorative|script|system)">
29<!ATTLIST style:font-decl style:font-family-generic %fontFamilyGeneric;
30						   #IMPLIED>
31<!ENTITY % fontPitch "(fixed|variable)">
32<!ATTLIST style:font-decl style:font-pitch %fontPitch; #IMPLIED>
33<!ATTLIST style:font-decl style:font-charset %textEncoding; #IMPLIED>
34
35<!ELEMENT style:style ( style:properties?,office:events?,style:map*)>
36
37<!ATTLIST style:style style:name %styleName; #REQUIRED>
38
39<!ENTITY % styleFamily "(paragraph|text|section|
40						 table|table-column|table-row|table-cell|table-page|chart|graphics|default|drawing-page|presentation|control|ruby)">
41<!ATTLIST style:style style:family %styleFamily; #REQUIRED>
42
43<!ATTLIST style:style style:parent-style-name %styleName; #IMPLIED>
44<!ATTLIST style:style style:master-page-name %styleName; #IMPLIED>
45<!ATTLIST style:style style:next-style-name %styleName; #IMPLIED>
46<!ATTLIST style:style style:list-style-name %styleName; #IMPLIED>
47<!ATTLIST style:style style:data-style-name %styleName; #IMPLIED>
48
49<!ATTLIST style:style style:auto-update %boolean; "false">
50
51<!ATTLIST style:style style:class %string; #IMPLIED>
52
53<!ELEMENT style:default-style (style:properties?)>
54<!ATTLIST style:default-style style:family %styleFamily; #REQUIRED>
55
56<!ELEMENT style:map EMPTY>
57
58<!ATTLIST style:map style:condition %string; #REQUIRED>
59<!ATTLIST style:map style:apply-style-name %styleName; #REQUIRED>
60<!ATTLIST style:map style:base-cell-address %cell-address; #IMPLIED>
61
62<!ELEMENT style:properties ANY>
63
64<!-- number format properties -->
65<!ATTLIST style:properties style:num-prefix %string; #IMPLIED>
66<!ATTLIST style:properties style:num-suffix %string; #IMPLIED>
67<!ATTLIST style:properties style:num-format %string; #IMPLIED>
68<!ATTLIST style:properties style:num-letter-sync %boolean; #IMPLIED>
69
70<!-- frame properties -->
71<!ATTLIST style:properties fo:width %positiveLength; #IMPLIED>
72<!ATTLIST style:properties fo:height %positiveLength; #IMPLIED>
73<!ATTLIST style:properties style:vertical-pos (top|middle|bottom|from-top|below) #IMPLIED>
74<!ATTLIST style:properties style:vertical-rel (page|page-content|
75											   frame|frame-content|
76											   paragraph|paragraph-content|char|
77											   line|baseline|text) #IMPLIED>
78<!ATTLIST style:properties style:horizontal-pos (left|center|right|from-left|inside|outside|from-inside) #IMPLIED>
79<!ATTLIST style:properties style:horizontal-rel (page|page-content|
80								 page-start-margin|page-end-margin|
81								 frame|frame-content|
82								 frame-start-margin|frame-end-margin|
83								 paragraph|paragraph-content|
84								 paragraph-start-margin|paragraph-end-margin|
85								 char) #IMPLIED>
86<!ATTLIST style:properties svg:width %lengthOrPercentage; #IMPLIED>
87<!ATTLIST style:properties svg:height %lengthOrPercentage; #IMPLIED>
88<!ATTLIST style:properties fo:min-height %lengthOrPercentage; #IMPLIED>
89<!ATTLIST style:properties fo:min-width %lengthOrPercentage; #IMPLIED>
90<!ATTLIST style:properties fo:max-height %lengthOrPercentage; #IMPLIED>
91<!ATTLIST style:properties fo:max-width %lengthOrPercentage; #IMPLIED>
92<!ATTLIST style:properties text:anchor-type %anchorType; #IMPLIED>
93<!ATTLIST style:properties text:anchor-page-number %positiveInteger; #IMPLIED>
94<!ATTLIST style:properties svg:x %coordinate; #IMPLIED>
95<!ATTLIST style:properties svg:y %coordinate; #IMPLIED>
96<!ATTLIST style:properties style:print-content %boolean; #IMPLIED>
97<!ATTLIST style:properties style:protect %boolean; #IMPLIED>
98<!ATTLIST style:properties style:wrap (none|left|right|parallel|dynamic|run-through) #IMPLIED>
99<!ENTITY % noLimitOrPositiveInteger "CDATA">
100<!ATTLIST style:properties style:number-wrapped-paragraphs %noLimitOrPositiveInteger; #IMPLIED>
101<!ATTLIST style:properties style:wrap-contour %boolean; #IMPLIED>
102<!ATTLIST style:properties style:wrap-contour-mode (full|outside) #IMPLIED>
103<!ATTLIST style:properties style:run-through (foreground|background) #IMPLIED>
104<!ATTLIST style:properties style:editable %boolean; #IMPLIED>
105<!ATTLIST style:properties style:mirror CDATA #IMPLIED>
106<!ATTLIST style:properties fo:clip CDATA #IMPLIED>
107<!ATTLIST style:properties text:animation (none|scroll|alternate|slide) #IMPLIED>
108<!ATTLIST style:properties text:animation-direction (left|right|up|down) #IMPLIED>
109<!ATTLIST style:properties text:animation-start-inside %boolean; #IMPLIED>
110<!ATTLIST style:properties text:animation-stop-inside %boolean; #IMPLIED>
111<!ATTLIST style:properties text:animation-repeat %integer; #IMPLIED>
112<!ATTLIST style:properties text:animation-delay %timeDuration; #IMPLIED>
113<!ATTLIST style:properties text:animation-steps %length; #IMPLIED>
114
115<!-- text properties -->
116<!ATTLIST style:properties fo:font-variant (normal|small-caps) #IMPLIED>
117<!ATTLIST style:properties fo:text-transform (none|lowercase|
118											  uppercase|capitalize) #IMPLIED>
119<!ATTLIST style:properties fo:color %color; #IMPLIED>
120<!ATTLIST style:properties style:use-window-font-color %boolean; #IMPLIED>
121<!ATTLIST style:properties style:text-outline %boolean; #IMPLIED>
122<!ATTLIST style:properties style:text-crossing-out
123						   (none|single-line|double-line|thick-line|slash|X)
124						   #IMPLIED>
125<!ATTLIST style:properties style:text-position CDATA #IMPLIED>
126<!ATTLIST style:properties style:text-align (left|right|start|center|end|justify|justified) #IMPLIED>
127
128<!ATTLIST style:properties style:font-name %string; #IMPLIED>
129<!ATTLIST style:properties fo:font-family %string; #IMPLIED>
130<!ATTLIST style:properties style:font-family-generic %fontFamilyGeneric;
131						   #IMPLIED>
132<!ATTLIST style:properties style:font-style-name %string; #IMPLIED>
133<!ATTLIST style:properties style:font-pitch %fontPitch; #IMPLIED>
134<!ATTLIST style:properties style:font-charset %textEncoding; #IMPLIED>
135<!ATTLIST style:properties style:font-name-asian %string; #IMPLIED>
136<!ATTLIST style:properties style:font-family-asian %string; #IMPLIED>
137<!ATTLIST style:properties style:font-family-generic-asian %fontFamilyGeneric;
138						   #IMPLIED>
139<!ATTLIST style:properties style:font-style-name-asian %string; #IMPLIED>
140<!ATTLIST style:properties style:font-pitch-asian %fontPitch; #IMPLIED>
141<!ATTLIST style:properties style:font-charset-asian %textEncoding; #IMPLIED>
142<!ATTLIST style:properties style:font-name-complex %string; #IMPLIED>
143<!ATTLIST style:properties style:font-family-complex %string; #IMPLIED>
144<!ATTLIST style:properties style:font-family-generic-complex %fontFamilyGeneric;
145						   #IMPLIED>
146<!ATTLIST style:properties style:font-style-name-complex %string; #IMPLIED>
147<!ATTLIST style:properties style:font-pitch-complex %fontPitch; #IMPLIED>
148<!ATTLIST style:properties style:font-charset-complex %textEncoding; #IMPLIED>
149
150<!ATTLIST style:properties fo:font-size %positiveLengthOrPercentage; #IMPLIED>
151<!ATTLIST style:properties style:font-size-rel %length; #IMPLIED>
152<!ATTLIST style:properties style:font-size-asian %positiveLengthOrPercentage; #IMPLIED>
153<!ATTLIST style:properties style:font-size-rel-asian %length; #IMPLIED>
154<!ATTLIST style:properties style:font-size-complex %positiveLengthOrPercentage; #IMPLIED>
155<!ATTLIST style:properties style:font-size-rel-complex %length; #IMPLIED>
156<!ENTITY % normalOrLength "CDATA">
157<!ATTLIST style:properties fo:letter-spacing %normalOrLength; #IMPLIED>
158<!ATTLIST style:properties fo:language %languageOnly; #IMPLIED>
159<!ATTLIST style:properties style:language-asian %languageOnly; #IMPLIED>
160<!ATTLIST style:properties style:language-complex %languageOnly; #IMPLIED>
161<!ATTLIST style:properties fo:country %country; #IMPLIED>
162<!ATTLIST style:properties style:country-asian %country; #IMPLIED>
163<!ATTLIST style:properties style:country-complex %country; #IMPLIED>
164<!ENTITY % fontStyle "(normal|italic|oblique)">
165<!ATTLIST style:properties fo:font-style %fontStyle; #IMPLIED>
166<!ATTLIST style:properties style:font-style-asian %fontStyle; #IMPLIED>
167<!ATTLIST style:properties style:font-style-complex %fontStyle; #IMPLIED>
168<!ENTITY % fontRelief "(none|embossed|engraved)">
169<!ATTLIST style:properties style:font-relief %fontRelief; #IMPLIED>
170<!ATTLIST style:properties fo:text-shadow CDATA #IMPLIED>
171<!ATTLIST style:properties style:text-underline
172						   (none|single|double|dotted|dash|long-dash|dot-dash|
173							dot-dot-dash|wave|bold|bold-dotted|bold-dash|
174							bold-long-dash|bold-dot-dash|bold-dot-dot-dash|
175							bold-wave|double-wave|small-wave) #IMPLIED>
176<!ATTLIST style:properties style:text-autospace (none | ideograph-alpha) #IMPLIED>
177<!ATTLIST style:properties style:punctuation-wrap (simple | hanging) #IMPLIED>
178<!ATTLIST style:properties style:line-break (normal | strict) #IMPLIED>
179<!ENTITY % fontColorOrColor "CDATA">
180<!ATTLIST style:properties style:text-underline-color %fontColorOrColor;
181						   #IMPLIED>
182<!ATTLIST style:properties fo:font-weight CDATA #IMPLIED>
183<!ATTLIST style:properties style:font-weight-asian CDATA #IMPLIED>
184<!ATTLIST style:properties style:font-weight-complex CDATA #IMPLIED>
185<!ATTLIST style:properties fo:score-spaces %boolean; #IMPLIED>
186<!ATTLIST style:properties style:letter-kerning %boolean; #IMPLIED>
187<!ATTLIST style:properties style:text-blinking %boolean; #IMPLIED>
188<!ATTLIST style:properties style:text-background-color %transparentOrColor;
189						   #IMPLIED>
190
191<!ATTLIST style:properties style:text-combine (none|letters|lines) #IMPLIED>
192<!ATTLIST style:properties style:text-combine-start-char %character; #IMPLIED>
193<!ATTLIST style:properties style:text-combine-end-char %character; #IMPLIED>
194<!ATTLIST style:properties style:text-emphasize CDATA #IMPLIED>
195<!ATTLIST style:properties style:text-scale %percentage; #IMPLIED>
196<!ATTLIST style:properties style:text-rotation-angle %integer; #IMPLIED>
197<!ATTLIST style:properties style:text-rotation-scale (fixed|line-height) #IMPLIED>
198<!ATTLIST style:properties text:display (none|true) #IMPLIED>
199
200<!-- paragraph properties -->
201<!ENTITY % nonNegativeLengthOrPercentageOrNormal "CDATA">
202<!ATTLIST style:properties fo:line-height
203						   %nonNegativeLengthOrPercentageOrNormal; #IMPLIED>
204<!ATTLIST style:properties style:line-height-at-least %nonNegativeLength;
205						   #IMPLIED>
206<!ATTLIST style:properties style:line-spacing %length; #IMPLIED>
207<!ATTLIST style:properties fo:text-align (start|end|center|justify) #IMPLIED>
208<!ATTLIST style:properties fo:text-align-last (start|center|justify) #IMPLIED>
209<!ATTLIST style:properties style:text-align-source (fix|value-type) #IMPLIED>
210<!ATTLIST style:properties style:justify-single-word %boolean; #IMPLIED>
211<!-- fo:keep-together is new in OOo 2.0 -->
212<!ATTLIST style:properties fo:keep-together (auto|always) #IMPLIED>
213<!ATTLIST style:properties style:break-inside (auto|avoid) #IMPLIED>
214<!ATTLIST style:properties fo:widows %nonNegativeInteger; #IMPLIED>
215<!ATTLIST style:properties fo:orphans %nonNegativeInteger; #IMPLIED>
216
217<!ATTLIST style:properties fo:hyphenate %boolean; #IMPLIED>
218<!ATTLIST style:properties fo:hyphenate-keep (none|page) #IMPLIED>
219<!ATTLIST style:properties fo:hyphenation-remain-char-count %positiveInteger;
220						   #IMPLIED>
221<!ATTLIST style:properties fo:hyphenation-push-char-count %positiveInteger;
222						   #IMPLIED>
223<!ATTLIST style:properties fo:hyphenation-ladder-count
224						   %noLimitOrPositiveInteger;  #IMPLIED>
225<!ATTLIST style:properties style:page-number %positiveInteger; #IMPLIED>
226
227<!ELEMENT style:tab-stops (style:tab-stop)*>
228<!ELEMENT style:tab-stop EMPTY>
229<!ATTLIST style:tab-stop style:position %nonNegativeLength; #REQUIRED>
230<!ATTLIST style:tab-stop style:type (left|center|right|char|default) "left">
231<!ATTLIST style:tab-stop style:char %character; #IMPLIED>
232<!ATTLIST style:tab-stop style:leader-char %character; " ">
233
234<!ELEMENT style:drop-cap EMPTY>
235<!ENTITY % wordOrPositiveInteger "CDATA">
236<!ATTLIST style:drop-cap style:length %wordOrPositiveInteger; "1">
237<!ATTLIST style:drop-cap style:lines %positiveInteger; "1">
238<!ATTLIST style:drop-cap style:distance %length; "0cm">
239<!ATTLIST style:drop-cap style:style-name %styleName; #IMPLIED>
240
241<!ATTLIST style:properties style:register-true %boolean; #IMPLIED>
242<!ATTLIST style:properties style:register-truth-ref-style-name %styleName; #IMPLIED>
243<!ATTLIST style:properties fo:margin-left %positiveLengthOrPercentage; #IMPLIED>
244<!ATTLIST style:properties fo:margin-right %positiveLengthOrPercentage;
245						   #IMPLIED>
246<!ATTLIST style:properties fo:text-indent %lengthOrPercentage; #IMPLIED>
247<!ATTLIST style:properties style:auto-text-indent %boolean; #IMPLIED>
248<!ATTLIST style:properties fo:margin-top %positiveLengthOrPercentage; #IMPLIED>
249<!ATTLIST style:properties fo:margin-bottom %positiveLengthOrPercentage; #IMPLIED>
250<!ATTLIST style:properties fo:break-before (auto|column|page) #IMPLIED>
251<!ATTLIST style:properties fo:break-after (auto|column|page) #IMPLIED>
252<!ATTLIST style:properties fo:background-color %transparentOrColor; #IMPLIED>
253<!ATTLIST style:properties style:background-transparency %percentage; #IMPLIED>
254<!ATTLIST style:properties style:dynamic-spacing %boolean; #IMPLIED>
255
256<!ELEMENT style:background-image (office:binary-data?)>
257<!ATTLIST style:background-image xlink:type (simple) #IMPLIED>
258<!ATTLIST style:background-image xlink:href %uriReference; #IMPLIED>
259<!ATTLIST style:background-image xlink:show (embed) #IMPLIED>
260<!ATTLIST style:background-image xlink:actuate (onLoad) #IMPLIED>
261<!ATTLIST style:background-image style:repeat (no-repeat|repeat|stretch)
262								 "repeat">
263<!ATTLIST style:background-image style:position CDATA "center">
264<!ATTLIST style:background-image style:filter-name %string; #IMPLIED>
265<!ATTLIST style:background-image draw:transparency %percentage; #IMPLIED>
266
267<!ELEMENT style:symbol-image (office:binary-data?)>
268<!ATTLIST style:symbol-image xlink:type (simple) #IMPLIED>
269<!ATTLIST style:symbol-image xlink:href %uriReference; #IMPLIED>
270<!ATTLIST style:symbol-image xlink:show (embed) #IMPLIED>
271<!ATTLIST style:symbol-image xlink:actuate (onLoad) #IMPLIED>
272
273<!ATTLIST style:properties fo:border CDATA #IMPLIED>
274<!ATTLIST style:properties fo:border-top CDATA #IMPLIED>
275<!ATTLIST style:properties fo:border-bottom CDATA #IMPLIED>
276<!ATTLIST style:properties fo:border-left CDATA #IMPLIED>
277<!ATTLIST style:properties fo:border-right CDATA #IMPLIED>
278<!ATTLIST style:properties style:border-line-width CDATA #IMPLIED>
279<!ATTLIST style:properties style:border-line-width-top CDATA #IMPLIED>
280<!ATTLIST style:properties style:border-line-width-bottom CDATA #IMPLIED>
281<!ATTLIST style:properties style:border-line-width-left CDATA #IMPLIED>
282<!ATTLIST style:properties style:border-line-width-right CDATA #IMPLIED>
283<!ATTLIST style:properties fo:padding %nonNegativeLength; #IMPLIED>
284<!ATTLIST style:properties fo:padding-top %nonNegativeLength; #IMPLIED>
285<!ATTLIST style:properties fo:padding-bottom %nonNegativeLength; #IMPLIED>
286<!ATTLIST style:properties fo:padding-left %nonNegativeLength; #IMPLIED>
287<!ATTLIST style:properties fo:padding-right %nonNegativeLength; #IMPLIED>
288<!ATTLIST style:properties style:shadow CDATA #IMPLIED>
289<!ATTLIST style:properties fo:keep-with-next %boolean; #IMPLIED>
290<!ATTLIST style:properties style:join-border %boolean; #IMPLIED>
291
292<!ATTLIST style:properties text:number-lines %boolean; "false">
293<!ATTLIST style:properties text:line-number %nonNegativeInteger; #IMPLIED>
294
295<!ATTLIST style:properties style:decimal-places %nonNegativeInteger; #IMPLIED>
296<!ATTLIST style:properties style:tab-stop-distance %nonNegativeLength; #IMPLIED>
297
298<!-- section properties -->
299<!ATTLIST style:properties text:dont-balance-text-columns %boolean; #IMPLIED>
300
301<!-- ruby properties -->
302<!ATTLIST style:properties style:ruby-align (left|center|right|distribute-letter|distribute-space) #IMPLIED>
303<!ATTLIST style:properties style:ruby-position (above|below) #IMPLIED>
304
305
306<!-- table properties -->
307<!ATTLIST style:properties style:width %positiveLength; #IMPLIED>
308<!ATTLIST style:properties style:rel-width %percentage; #IMPLIED>
309<!ATTLIST style:properties style:may-break-between-rows %boolean; #IMPLIED>
310<!ATTLIST style:properties table:page-style-name %styleName; #IMPLIED>
311<!ATTLIST style:properties table:display %boolean; #IMPLIED>
312
313<!-- table column properties -->
314<!ATTLIST style:properties style:column-width %positiveLength; #IMPLIED>
315<!ENTITY % relWidth "CDATA">
316<!ATTLIST style:properties style:rel-column-width %relWidth; #IMPLIED>
317<!ATTLIST style:properties style:use-optimal-column-width %boolean; #IMPLIED>
318
319<!-- table row properties -->
320<!ATTLIST style:properties style:row-height %positiveLength; #IMPLIED>
321<!ATTLIST style:properties style:min-row-height %nonNegativeLength; #IMPLIED>
322<!ATTLIST style:properties style:use-optimal-row-height %boolean; #IMPLIED>
323
324<!-- table cell properties -->
325<!ATTLIST style:properties
326	table:align (left | center | right | margins) #IMPLIED
327	table:border-model (collapsing | separating) #IMPLIED
328	fo:vertical-align (top | middle | bottom | automatic) #IMPLIED
329	fo:direction (ltr | ttb) #IMPLIED
330	style:glyph-orientation-vertical (auto | 0) #IMPLIED
331	style:rotation-angle %nonNegativeInteger; #IMPLIED
332	style:rotation-align (none | bottom | top | center) #IMPLIED
333	style:cell-protect CDATA #IMPLIED
334	fo:wrap-option (no-wrap | wrap) #IMPLIED
335>
336<!ELEMENT style:columns (style:column-sep?,style:column*)>
337<!ATTLIST style:columns fo:column-count %nonNegativeInteger; #IMPLIED>
338<!ATTLIST style:columns fo:column-gap %positiveLength; #IMPLIED>
339
340<!ELEMENT style:column EMPTY>
341<!ATTLIST style:column style:rel-width CDATA #IMPLIED>
342<!ATTLIST style:column fo:margin-left %positiveLength; #IMPLIED>
343<!ATTLIST style:column fo:margin-right %positiveLength; #IMPLIED>
344
345<!ELEMENT style:column-sep EMPTY>
346<!ATTLIST style:column-sep style:style (none|solid|dotted|dashed|dot-dashed)
347																	"solid">
348<!ATTLIST style:column-sep style:width %length; #REQUIRED>
349<!ATTLIST style:column-sep style:height %percentage; "100&#37;">
350<!ATTLIST style:column-sep style:vertical-align (top|middle|bottom) "top">
351<!ATTLIST style:column-sep style:color %color; "#000000">
352
353<!-- page master properties -->
354<!ELEMENT style:page-master (style:properties?, style:header-style?, style:footer-style?)>
355<!ATTLIST style:page-master style:name %styleName; #REQUIRED>
356<!ATTLIST style:page-master style:page-usage (all|left|right|mirrored) "all">
357
358<!ELEMENT style:header-style (style:properties?)>
359<!ELEMENT style:footer-style (style:properties?)>
360
361<!ATTLIST style:properties fo:page-width %length; #IMPLIED>
362<!ATTLIST style:properties fo:page-height %length; #IMPLIED>
363<!ATTLIST style:properties style:paper-tray-name %string; #IMPLIED>
364<!ATTLIST style:properties style:print-orientation (portrait|landscape) #IMPLIED>
365<!ATTLIST style:properties style:print CDATA #IMPLIED>
366<!ATTLIST style:properties style:print-page-order (ttb|ltr) #IMPLIED>
367<!ATTLIST style:properties style:first-page-number %positiveInteger; #IMPLIED>
368<!ATTLIST style:properties style:scale-to %percentage; #IMPLIED>
369<!ATTLIST style:properties style:scale-to-pages %positiveInteger; #IMPLIED>
370<!ATTLIST style:properties style:table-centering (horizontal | vertical | both | none) #IMPLIED>
371
372<!ATTLIST style:properties style:footnote-max-height %lengthOrNoLimit; #IMPLIED>
373<!ATTLIST style:properties style:vertical-align (top|bottom|middle|basline|auto) #IMPLIED>
374<!ATTLIST style:properties style:writing-mode (lr-tb|rl-tb|tb-rl|tb-lr|lr|rl|tb|page) "lr-tb">
375<!ATTLIST style:properties style:layout-grid-mode (none|line|both) #IMPLIED>
376<!ATTLIST style:properties style:layout-grid-base-height %length; #IMPLIED>
377<!ATTLIST style:properties style:layout-grid-ruby-height %length; #IMPLIED>
378<!ATTLIST style:properties style:layout-grid-lines %positiveInteger; #IMPLIED>
379<!ATTLIST style:properties style:layout-grid-color %color; #IMPLIED>
380<!ATTLIST style:properties style:layout-grid-ruby-below %boolean; #IMPLIED>
381<!ATTLIST style:properties style:layout-grid-print %boolean; #IMPLIED>
382<!ATTLIST style:properties style:layout-grid-display %boolean; #IMPLIED>
383<!ATTLIST style:properties style:snap-to-layout-grid %boolean; #IMPLIED>
384
385<!ELEMENT style:footnote-sep EMPTY>
386<!ATTLIST style:footnote-sep style:width %length; #IMPLIED>
387<!ATTLIST style:footnote-sep style:rel-width %percentage; #IMPLIED>
388<!ATTLIST style:footnote-sep style:color %color; #IMPLIED>
389<!ATTLIST style:footnote-sep style:adjustment (left|center|right) "left">
390<!ATTLIST style:footnote-sep style:distance-before-sep %length; #IMPLIED>
391<!ATTLIST style:footnote-sep style:distance-after-sep %length; #IMPLIED>
392
393<!-- master page -->
394<!ELEMENT style:master-page ( (style:header, style:header-left?)?, (style:footer, style:footer-left?)?,
395								office:forms?,style:style*, (%shapes;)*, presentation:notes? )>
396<!ATTLIST style:master-page style:name %styleName; #REQUIRED>
397<!ATTLIST style:master-page style:page-master-name %styleName; #REQUIRED>
398<!ATTLIST style:master-page style:next-style-name %styleName; #IMPLIED>
399<!ATTLIST style:master-page draw:style-name %styleName; #IMPLIED>
400
401<!-- handout master -->
402<!ELEMENT style:handout-master (%shapes;)*>
403<!ATTLIST style:handout-master presentation:presentation-page-layout-name %styleName; #IMPLIED>
404<!ATTLIST style:handout-master style:page-master-name %styleName; #IMPLIED>
405<!ATTLIST style:handout-master draw:style-name %styleName; #IMPLIED>
406
407<!ENTITY % hd-ft-content "( %headerText; | (style:region-left?, style:region-center?, style:region-right?) )">
408<!ELEMENT style:header %hd-ft-content;>
409<!ATTLIST style:header style:display %boolean; "true">
410<!ELEMENT style:footer %hd-ft-content;>
411<!ATTLIST style:footer style:display %boolean; "true">
412<!ELEMENT style:header-left %hd-ft-content;>
413<!ATTLIST style:header-left style:display %boolean; "true">
414<!ELEMENT style:footer-left %hd-ft-content;>
415<!ATTLIST style:footer-left style:display %boolean; "true">
416
417<!ENTITY % region-content "(text:p*)">
418<!ELEMENT style:region-left %region-content;>
419<!ELEMENT style:region-center %region-content;>
420<!ELEMENT style:region-right %region-content;>
421
422<!-- control shape properties -->
423<!ATTLIST style:properties draw:symbol-color %color; #IMPLIED>
424