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