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