drawing.mod 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852
  1. <!--
  2. * This file is part of the LibreOffice project.
  3. *
  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/.
  7. *
  8. * This file incorporates work covered by the following license notice:
  9. *
  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 .
  17. -->
  18. <!ENTITY % points "CDATA" >
  19. <!ENTITY % pathData "CDATA" >
  20. <!ENTITY % gradient-style "(linear|axial|radial|ellipsoid|square|rectangular)" >
  21. <!ENTITY % draw-position "svg:x %coordinate; #IMPLIED svg:y %coordinate; #IMPLIED">
  22. <!ENTITY % draw-end-position "table:end-cell-address %cell-address; #IMPLIED table:end-x %coordinate; #IMPLIED table:end-y %coordinate; #IMPLIED">
  23. <!ENTITY % draw-size "svg:width %coordinate; #IMPLIED svg:height %coordinate; #IMPLIED">
  24. <!ENTITY % draw-transform "draw:transform CDATA #IMPLIED">
  25. <!ENTITY % draw-viewbox "svg:viewBox CDATA #REQUIRED">
  26. <!ENTITY % draw-style-name "draw:style-name %styleName; #IMPLIED presentation:style-name %styleName; #IMPLIED draw:text-style-name %styleName; #IMPLIED">
  27. <!ENTITY % draw-shape-id "CDATA #IMPLIED" >
  28. <!ENTITY % draw-text "(text:p|text:unordered-list|text:ordered-list)*">
  29. <!ENTITY % zindex "draw:z-index %nonNegativeInteger; #IMPLIED">
  30. <!ENTITY % distance "CDATA">
  31. <!ENTITY % rectanglePoint "(top-left|top|top-right|left|center|right|bottom-left|bottom|bottom-right)">
  32. <!ENTITY % vector3D "CDATA">
  33. <!ENTITY % text-anchor "text:anchor-type %anchorType; #IMPLIED text:anchor-page-number %positiveInteger; #IMPLIED">
  34. <!ENTITY % layerName "CDATA">
  35. <!ENTITY % table-background "table:table-background (true | false) #IMPLIED">
  36. <!-- common presentation shape attributes -->
  37. <!ENTITY % presentation-style-name "presentation:style-name %styleName; #IMPLIED">
  38. <!ENTITY % presentation-classes "(title|outline|subtitle|text|graphic|object|chart|table|orgchart|page|notes)" >
  39. <!-- ENTITY % presentation-class "presentation:class %presentation-classes; #IMPLIED" -->
  40. <!ENTITY % presentation-class "presentation:class %presentation-classes; #IMPLIED presentation:placeholder (true|false) #IMPLIED presentation:user-transformed (true|false) #IMPLIED">
  41. <!ENTITY % presentationEffects "(none|fade|move|stripes|open|close|dissolve|wavyline|random|lines|laser|appear|hide|move-short|checkerboard|rotate|stretch)" >
  42. <!ENTITY % presentationEffectDirections "(none|from-left|from-top|from-right|from-bottom|from-center|from-upper-left|from-upper-right|from-lower-left|from-lower-right|to-left|to-top|to-right|to-bottom|to-upper-left|to-upper-right|to-lower-right|to-lower-left|path|spiral-inward-left|spiral-inward-right|spiral-outward-left|spiral-outward-right|vertical|horizontal|to-center|clockwise|counter-clockwise)" >
  43. <!ENTITY % presentationSpeeds "(slow|medium|fast)" >
  44. <!-- Drawing shapes -->
  45. <!ELEMENT draw:rect ( office:events?, %draw-text; )>
  46. <!ATTLIST draw:rect %draw-position; >
  47. <!ATTLIST draw:rect %draw-end-position; >
  48. <!ATTLIST draw:rect %table-background; >
  49. <!ATTLIST draw:rect %draw-size; >
  50. <!ATTLIST draw:rect %draw-style-name; >
  51. <!ATTLIST draw:rect %draw-transform; >
  52. <!ATTLIST draw:rect draw:corner-radius %nonNegativeLength; #IMPLIED>
  53. <!ATTLIST draw:rect %zindex;>
  54. <!ATTLIST draw:rect draw:id %draw-shape-id;>
  55. <!ATTLIST draw:rect %text-anchor;>
  56. <!ATTLIST draw:rect draw:layer %layerName; #IMPLIED>
  57. <!ELEMENT draw:line ( office:events?, %draw-text; )>
  58. <!ATTLIST draw:line svg:x1 %length; #IMPLIED>
  59. <!ATTLIST draw:line svg:y1 %length; #IMPLIED>
  60. <!ATTLIST draw:line svg:x2 %length; #REQUIRED>
  61. <!ATTLIST draw:line svg:y2 %length; #REQUIRED>
  62. <!ATTLIST draw:line svg:y %coordinate; #IMPLIED>
  63. <!ATTLIST draw:line %draw-style-name; >
  64. <!ATTLIST draw:line %draw-transform; >
  65. <!ATTLIST draw:line %zindex;>
  66. <!ATTLIST draw:line %draw-end-position; >
  67. <!ATTLIST draw:line %table-background; >
  68. <!ATTLIST draw:line draw:id %draw-shape-id;>
  69. <!ATTLIST draw:line %text-anchor;>
  70. <!ATTLIST draw:line draw:layer %layerName; #IMPLIED>
  71. <!ELEMENT draw:polyline ( office:events?, %draw-text; )>
  72. <!ATTLIST draw:polyline %draw-position; >
  73. <!ATTLIST draw:polyline %draw-size; >
  74. <!ATTLIST draw:polyline %draw-viewbox; >
  75. <!ATTLIST draw:polyline draw:points %points; #REQUIRED>
  76. <!ATTLIST draw:polyline %draw-style-name; >
  77. <!ATTLIST draw:polyline %draw-transform; >
  78. <!ATTLIST draw:polyline %zindex;>
  79. <!ATTLIST draw:polyline %draw-end-position; >
  80. <!ATTLIST draw:polyline %table-background; >
  81. <!ATTLIST draw:polyline draw:id %draw-shape-id;>
  82. <!ATTLIST draw:polyline %text-anchor;>
  83. <!ATTLIST draw:polyline draw:layer %layerName; #IMPLIED>
  84. <!ELEMENT draw:polygon ( office:events?, %draw-text; )>
  85. <!ATTLIST draw:polygon %draw-position; >
  86. <!ATTLIST draw:polygon %draw-end-position; >
  87. <!ATTLIST draw:polygon %table-background; >
  88. <!ATTLIST draw:polygon %draw-size; >
  89. <!ATTLIST draw:polygon %draw-viewbox; >
  90. <!ATTLIST draw:polygon draw:points %points; #REQUIRED >
  91. <!ATTLIST draw:polygon %draw-style-name; >
  92. <!ATTLIST draw:polygon %draw-transform; >
  93. <!ATTLIST draw:polygon %zindex;>
  94. <!ATTLIST draw:polygon draw:id %draw-shape-id;>
  95. <!ATTLIST draw:polygon %text-anchor;>
  96. <!ATTLIST draw:polygon draw:layer %layerName; #IMPLIED>
  97. <!ELEMENT draw:path ( office:events?, %draw-text; )>
  98. <!ATTLIST draw:path %draw-position;>
  99. <!ATTLIST draw:path %draw-end-position; >
  100. <!ATTLIST draw:path %table-background; >
  101. <!ATTLIST draw:path %draw-size; >
  102. <!ATTLIST draw:path %draw-viewbox; >
  103. <!ATTLIST draw:path svg:d %pathData; #REQUIRED >
  104. <!ATTLIST draw:path %draw-style-name; >
  105. <!ATTLIST draw:path %draw-transform; >
  106. <!ATTLIST draw:path %zindex;>
  107. <!ATTLIST draw:path draw:id %draw-shape-id;>
  108. <!ATTLIST draw:path %text-anchor;>
  109. <!ATTLIST draw:path draw:layer %layerName; #IMPLIED>
  110. <!ELEMENT draw:circle ( office:events?, %draw-text; )>
  111. <!ATTLIST draw:circle %draw-position; >
  112. <!ATTLIST draw:circle %draw-size; >
  113. <!ATTLIST draw:circle %draw-style-name; >
  114. <!ATTLIST draw:circle %draw-transform; >
  115. <!ATTLIST draw:circle %zindex;>
  116. <!ATTLIST draw:circle %draw-end-position; >
  117. <!ATTLIST draw:circle %table-background; >
  118. <!ATTLIST draw:circle draw:id %draw-shape-id;>
  119. <!ATTLIST draw:circle draw:kind (full|section|cut|arc) "full">
  120. <!ATTLIST draw:circle draw:start-angle %nonNegativeInteger; #IMPLIED>
  121. <!ATTLIST draw:circle draw:end-angle %nonNegativeInteger; #IMPLIED>
  122. <!ATTLIST draw:circle %text-anchor;>
  123. <!ATTLIST draw:circle draw:layer %layerName; #IMPLIED>
  124. <!ELEMENT draw:ellipse ( office:events?, %draw-text; )>
  125. <!ATTLIST draw:ellipse %draw-position; >
  126. <!ATTLIST draw:ellipse %draw-size; >
  127. <!ATTLIST draw:ellipse %draw-style-name; >
  128. <!ATTLIST draw:ellipse %draw-transform; >
  129. <!ATTLIST draw:ellipse %zindex;>
  130. <!ATTLIST draw:ellipse %draw-end-position; >
  131. <!ATTLIST draw:ellipse %table-background; >
  132. <!ATTLIST draw:ellipse draw:id %draw-shape-id;>
  133. <!ATTLIST draw:ellipse draw:kind (full|section|cut|arc) "full">
  134. <!ATTLIST draw:ellipse draw:start-angle %nonNegativeInteger; #IMPLIED>
  135. <!ATTLIST draw:ellipse draw:end-angle %nonNegativeInteger; #IMPLIED>
  136. <!ATTLIST draw:ellipse %text-anchor;>
  137. <!ATTLIST draw:ellipse draw:layer %layerName; #IMPLIED>
  138. <!ELEMENT draw:connector ( office:events?, %draw-text;)>
  139. <!ATTLIST draw:connector draw:type (standard|lines|line|curve) "standard">
  140. <!ATTLIST draw:connector draw:line-skew CDATA #IMPLIED>
  141. <!ATTLIST draw:connector %draw-style-name;>
  142. <!ATTLIST draw:connector svg:x1 %coordinate; #REQUIRED>
  143. <!ATTLIST draw:connector svg:y1 %coordinate; #REQUIRED>
  144. <!ATTLIST draw:connector svg:x2 %coordinate; #REQUIRED>
  145. <!ATTLIST draw:connector svg:y2 %coordinate; #REQUIRED>
  146. <!ATTLIST draw:connector draw:start-shape %draw-shape-id;>
  147. <!ATTLIST draw:connector draw:start-glue-point %integer; #IMPLIED>
  148. <!ATTLIST draw:connector draw:end-shape %draw-shape-id;>
  149. <!ATTLIST draw:connector draw:end-glue-point %integer; #IMPLIED>
  150. <!ATTLIST draw:connector %zindex;>
  151. <!ATTLIST draw:connector %draw-end-position; >
  152. <!ATTLIST draw:connector %table-background; >
  153. <!ATTLIST draw:connector draw:id %draw-shape-id;>
  154. <!ATTLIST draw:connector %text-anchor;>
  155. <!ATTLIST draw:connector draw:layer %layerName; #IMPLIED>
  156. <!ELEMENT draw:control EMPTY>
  157. <!ATTLIST draw:control %draw-style-name;>
  158. <!ATTLIST draw:control %draw-position; >
  159. <!ATTLIST draw:control %draw-size; >
  160. <!ATTLIST draw:control %control-id; >
  161. <!ATTLIST draw:control %zindex;>
  162. <!ATTLIST draw:control %draw-end-position; >
  163. <!ATTLIST draw:control %table-background; >
  164. <!ATTLIST draw:control draw:id %draw-shape-id;>
  165. <!ATTLIST draw:control %text-anchor;>
  166. <!ATTLIST draw:control draw:layer %layerName; #IMPLIED>
  167. <!ELEMENT draw:g ( office:events?, (%shapes;)* ) >
  168. <!ATTLIST draw:g svg:y %coordinate; #IMPLIED>
  169. <!ATTLIST draw:g %draw-transform; >
  170. <!ATTLIST draw:g draw:name %string; #IMPLIED>
  171. <!ATTLIST draw:g %draw-style-name; >
  172. <!ATTLIST draw:g %zindex;>
  173. <!ATTLIST draw:g %draw-end-position; >
  174. <!ATTLIST draw:g %table-background; >
  175. <!ATTLIST draw:g draw:id %draw-shape-id;>
  176. <!ATTLIST draw:g %text-anchor;>
  177. <!ATTLIST draw:g draw:layer %layerName; #IMPLIED>
  178. <!ELEMENT draw:page-thumbnail EMPTY>
  179. <!ATTLIST draw:page-thumbnail draw:page-number %positiveInteger; #IMPLIED>
  180. <!ATTLIST draw:page-thumbnail %draw-position; >
  181. <!ATTLIST draw:page-thumbnail %draw-size; >
  182. <!ATTLIST draw:page-thumbnail %draw-style-name; >
  183. <!ATTLIST draw:page-thumbnail %presentation-class; >
  184. <!ATTLIST draw:page-thumbnail %zindex;>
  185. <!ATTLIST draw:page-thumbnail %draw-end-position; >
  186. <!ATTLIST draw:page-thumbnail %table-background; >
  187. <!ATTLIST draw:page-thumbnail draw:id %draw-shape-id;>
  188. <!ATTLIST draw:page-thumbnail %text-anchor;>
  189. <!ATTLIST draw:page-thumbnail draw:layer %layerName; #IMPLIED>
  190. <!ELEMENT draw:caption ( office:events?, %draw-text;)>
  191. <!ATTLIST draw:caption %draw-position; >
  192. <!ATTLIST draw:caption %draw-end-position; >
  193. <!ATTLIST draw:caption %table-background; >
  194. <!ATTLIST draw:caption %draw-size; >
  195. <!ATTLIST draw:caption %draw-style-name; >
  196. <!ATTLIST draw:caption %draw-transform; >
  197. <!ATTLIST draw:caption draw:caption-point-x %coordinate; #IMPLIED>
  198. <!ATTLIST draw:caption draw:caption-point-y %coordinate; #IMPLIED>
  199. <!ATTLIST draw:caption %zindex;>
  200. <!ATTLIST draw:caption draw:id %draw-shape-id;>
  201. <!ATTLIST draw:caption %text-anchor;>
  202. <!ATTLIST draw:caption draw:layer %layerName; #IMPLIED>
  203. <!ATTLIST draw:caption draw:corner-radius %nonNegativeLength; #IMPLIED>
  204. <!ELEMENT draw:measure ( office:events?, %draw-text;)>
  205. <!ATTLIST draw:measure svg:x1 %coordinate; #REQUIRED>
  206. <!ATTLIST draw:measure svg:y1 %coordinate; #REQUIRED>
  207. <!ATTLIST draw:measure svg:x2 %coordinate; #REQUIRED>
  208. <!ATTLIST draw:measure svg:y2 %coordinate; #REQUIRED>
  209. <!ATTLIST draw:measure %draw-end-position; >
  210. <!ATTLIST draw:measure %table-background; >
  211. <!ATTLIST draw:measure %draw-style-name; >
  212. <!ATTLIST draw:measure %draw-transform; >
  213. <!ATTLIST draw:measure %zindex;>
  214. <!ATTLIST draw:measure draw:id %draw-shape-id;>
  215. <!ATTLIST draw:measure %text-anchor;>
  216. <!ATTLIST draw:measure draw:layer %layerName; #IMPLIED>
  217. <!-- graphic style elements -->
  218. <!ELEMENT draw:gradient EMPTY >
  219. <!ATTLIST draw:gradient draw:name %styleName; #REQUIRED>
  220. <!ATTLIST draw:gradient draw:style %gradient-style; #REQUIRED>
  221. <!ATTLIST draw:gradient draw:cx %coordinate; #IMPLIED>
  222. <!ATTLIST draw:gradient draw:cy %coordinate; #IMPLIED>
  223. <!ATTLIST draw:gradient draw:start-color %color; #IMPLIED>
  224. <!ATTLIST draw:gradient draw:end-color %color; #IMPLIED>
  225. <!ATTLIST draw:gradient draw:start-intensity %percentage; #IMPLIED>
  226. <!ATTLIST draw:gradient draw:end-intensity %percentage; #IMPLIED>
  227. <!ATTLIST draw:gradient draw:angle %integer; #IMPLIED>
  228. <!ATTLIST draw:gradient draw:border %percentage; #IMPLIED>
  229. <!ELEMENT draw:hatch EMPTY >
  230. <!ATTLIST draw:hatch draw:name %styleName; #REQUIRED>
  231. <!ATTLIST draw:hatch draw:style (single|double|triple) #REQUIRED >
  232. <!ATTLIST draw:hatch draw:color %color; #IMPLIED>
  233. <!ATTLIST draw:hatch draw:distance %length; #IMPLIED>
  234. <!ATTLIST draw:hatch draw:rotation %integer; #IMPLIED>
  235. <!ELEMENT draw:fill-image EMPTY >
  236. <!ATTLIST draw:fill-image draw:name %styleName; #REQUIRED>
  237. <!ATTLIST draw:fill-image xlink:href %uriReference; #REQUIRED>
  238. <!ATTLIST draw:fill-image xlink:type (simple) #IMPLIED>
  239. <!ATTLIST draw:fill-image xlink:show (embed) #IMPLIED>
  240. <!ATTLIST draw:fill-image xlink:actuate (onLoad) #IMPLIED>
  241. <!ATTLIST draw:fill-image svg:width %length; #IMPLIED>
  242. <!ATTLIST draw:fill-image svg:height %length; #IMPLIED>
  243. <!ELEMENT draw:transparency EMPTY>
  244. <!ATTLIST draw:transparency draw:name %styleName; #REQUIRED>
  245. <!ATTLIST draw:transparency draw:style %gradient-style; #REQUIRED>
  246. <!ATTLIST draw:transparency draw:cx %coordinate; #IMPLIED>
  247. <!ATTLIST draw:transparency draw:cy %coordinate; #IMPLIED>
  248. <!ATTLIST draw:transparency draw:start %percentage; #IMPLIED>
  249. <!ATTLIST draw:transparency draw:end %percentage; #IMPLIED>
  250. <!ATTLIST draw:transparency draw:angle %integer; #IMPLIED>
  251. <!ATTLIST draw:transparency draw:border %percentage; #IMPLIED>
  252. <!ELEMENT draw:marker EMPTY>
  253. <!ATTLIST draw:marker draw:name %styleName; #REQUIRED>
  254. <!ATTLIST draw:marker %draw-viewbox; >
  255. <!ATTLIST draw:marker svg:d %pathData; #REQUIRED>
  256. <!ELEMENT draw:stroke-dash EMPTY>
  257. <!ATTLIST draw:stroke-dash draw:name %styleName; #REQUIRED>
  258. <!ATTLIST draw:stroke-dash draw:style (rect|round) #IMPLIED>
  259. <!ATTLIST draw:stroke-dash draw:dots1 %integer; #IMPLIED>
  260. <!ATTLIST draw:stroke-dash draw:dots1-length %length; #IMPLIED>
  261. <!ATTLIST draw:stroke-dash draw:dots2 %integer; #IMPLIED>
  262. <!ATTLIST draw:stroke-dash draw:dots2-length %length; #IMPLIED>
  263. <!ATTLIST draw:stroke-dash draw:distance %length; #IMPLIED>
  264. <!-- stroke attributes -->
  265. <!ATTLIST style:properties draw:stroke (none|dash|solid) #IMPLIED>
  266. <!ATTLIST style:properties draw:stroke-dash CDATA #IMPLIED>
  267. <!ATTLIST style:properties svg:stroke-width %length; #IMPLIED>
  268. <!ATTLIST style:properties svg:stroke-color %color; #IMPLIED>
  269. <!ATTLIST style:properties draw:marker-start %styleName; #IMPLIED>
  270. <!ATTLIST style:properties draw:marker-end %styleName; #IMPLIED>
  271. <!ATTLIST style:properties draw:marker-start-width %length; #IMPLIED>
  272. <!ATTLIST style:properties draw:marker-end-width %length; #IMPLIED>
  273. <!ATTLIST style:properties draw:marker-start-center %boolean; #IMPLIED>
  274. <!ATTLIST style:properties draw:marker-end-center %boolean; #IMPLIED>
  275. <!ATTLIST style:properties svg:stroke-opacity %floatOrPercentage; #IMPLIED>
  276. <!ATTLIST style:properties svg:stroke-linejoin (miter|round|bevel|middle|none|inherit) #IMPLIED>
  277. <!-- text attributes -->
  278. <!ATTLIST style:properties draw:auto-grow-width %boolean; #IMPLIED>
  279. <!ATTLIST style:properties draw:auto-grow-height %boolean; #IMPLIED>
  280. <!ATTLIST style:properties draw:fit-to-size %boolean; #IMPLIED>
  281. <!ATTLIST style:properties draw:fit-to-contour %boolean; #IMPLIED>
  282. <!ATTLIST style:properties draw:textarea-horizontal-align ( left | center | right | justify ) #IMPLIED>
  283. <!ATTLIST style:properties draw:textarea-vertical-align ( top | middle | bottom | justify ) #IMPLIED>
  284. <!ATTLIST style:properties draw:writing-mode (lr-tb|tb-rl) "lr-tb">
  285. <!ATTLIST style:properties style:font-independent-line-spacing %boolean; #IMPLIED>
  286. <!-- fill attributes -->
  287. <!ATTLIST style:properties draw:fill (none|solid|bitmap|gradient|hatch) #IMPLIED>
  288. <!ATTLIST style:properties draw:fill-color %color; #IMPLIED>
  289. <!ATTLIST style:properties draw:fill-gradient-name %styleName; #IMPLIED>
  290. <!ATTLIST style:properties draw:gradient-step-count CDATA #IMPLIED>
  291. <!ATTLIST style:properties draw:fill-hatch-name %styleName; #IMPLIED>
  292. <!ATTLIST style:properties draw:fill-hatch-solid %boolean; #IMPLIED>
  293. <!ATTLIST style:properties draw:fill-image-name %styleName; #IMPLIED>
  294. <!ATTLIST style:properties style:repeat (no-repeat|repeat|stretch) #IMPLIED>
  295. <!ATTLIST style:properties draw:fill-image-width %lengthOrPercentage; #IMPLIED>
  296. <!ATTLIST style:properties draw:fill-image-height %lengthOrPercentage; #IMPLIED>
  297. <!ATTLIST style:properties draw:fill-image-ref-point-x %percentage; #IMPLIED>
  298. <!ATTLIST style:properties draw:fill-image-ref-point-y %percentage; #IMPLIED>
  299. <!ATTLIST style:properties draw:fill-image-ref-point %rectanglePoint; #IMPLIED>
  300. <!ATTLIST style:properties draw:tile-repeat-offset CDATA #IMPLIED>
  301. <!ATTLIST style:properties draw:transparency %percentage; #IMPLIED>
  302. <!ATTLIST style:properties draw:transparency-name %styleName; #IMPLIED>
  303. <!-- graphic attributes -->
  304. <!ATTLIST style:properties draw:color-mode (greyscale|mono|watermark|standard) #IMPLIED>
  305. <!ATTLIST style:properties draw:luminance %percentage; #IMPLIED>
  306. <!ATTLIST style:properties draw:contrast %percentage; #IMPLIED>
  307. <!ATTLIST style:properties draw:gamma %percentage; #IMPLIED>
  308. <!ATTLIST style:properties draw:red %percentage; #IMPLIED>
  309. <!ATTLIST style:properties draw:green %percentage; #IMPLIED>
  310. <!ATTLIST style:properties draw:blue %percentage; #IMPLIED>
  311. <!ATTLIST style:properties draw:color-inversion %boolean; #IMPLIED>
  312. <!ATTLIST style:properties draw:mirror %boolean; #IMPLIED>
  313. <!-- shadow attributes -->
  314. <!ATTLIST style:properties draw:shadow (visible|hidden) #IMPLIED>
  315. <!ATTLIST style:properties draw:shadow-offset-x %length; #IMPLIED>
  316. <!ATTLIST style:properties draw:shadow-offset-y %length; #IMPLIED>
  317. <!ATTLIST style:properties draw:shadow-color %color; #IMPLIED>
  318. <!ATTLIST style:properties draw:shadow-transparency CDATA #IMPLIED>
  319. <!-- connector attributes -->
  320. <!ATTLIST style:properties draw:start-line-spacing-horizontal %distance; #IMPLIED>
  321. <!ATTLIST style:properties draw:start-line-spacing-vertical %distance; #IMPLIED>
  322. <!ATTLIST style:properties draw:end-line-spacing-horizontal %distance; #IMPLIED>
  323. <!ATTLIST style:properties draw:end-line-spacing-vertical %distance; #IMPLIED>
  324. <!-- measure attributes -->
  325. <!ATTLIST style:properties draw:line-distance %distance; #IMPLIED>
  326. <!ATTLIST style:properties draw:guide-overhang %distance; #IMPLIED>
  327. <!ATTLIST style:properties draw:guide-distance %distance; #IMPLIED>
  328. <!ATTLIST style:properties draw:start-guide %distance; #IMPLIED>
  329. <!ATTLIST style:properties draw:end-guide %distance; #IMPLIED>
  330. <!ATTLIST style:properties draw:measure-align (automatic|left-outside|inside|right-outside) #IMPLIED>
  331. <!ATTLIST style:properties draw:measure-vertical-align (automatic|above|below|center) #IMPLIED>
  332. <!ATTLIST style:properties draw:unit (automatic|mm|cm|m|km|pt|pc|inch|ft|mi) #IMPLIED>
  333. <!ATTLIST style:properties draw:show-unit %boolean; #IMPLIED>
  334. <!ATTLIST style:properties draw:placing (below|above) #IMPLIED>
  335. <!ATTLIST style:properties draw:parallel %boolean; #IMPLIED>
  336. <!ATTLIST style:properties draw:decimal-places %nonNegativeLength; #IMPLIED>
  337. <!-- frame attributes -->
  338. <!ATTLIST style:properties draw:frame-display-scrollbar %boolean; #IMPLIED>
  339. <!ATTLIST style:properties draw:frame-display-border %boolean; #IMPLIED>
  340. <!ATTLIST style:properties draw:frame-margin-horizontal %nonNegativePixelLength; #IMPLIED>
  341. <!ATTLIST style:properties draw:frame-margin-vertical %nonNegativePixelLength; #IMPLIED>
  342. <!ATTLIST style:properties draw:size-protect %boolean; #IMPLIED>
  343. <!ATTLIST style:properties draw:move-protect %boolean; #IMPLIED>
  344. <!-- ole object attributes -->
  345. <!ATTLIST style:properties draw:visible-area-left %nonNegativeLength; #IMPLIED>
  346. <!ATTLIST style:properties draw:visible-area-top %nonNegativeLength; #IMPLIED>
  347. <!ATTLIST style:properties draw:visible-area-width %positiveLength; #IMPLIED>
  348. <!ATTLIST style:properties draw:visible-area-height %positiveLength; #IMPLIED>
  349. <!-- fontwork attributes -->
  350. <!ATTLIST style:properties draw:fontwork-style (rotate|upright|slant-x|slant-y|none) #IMPLIED>
  351. <!ATTLIST style:properties draw:fontwork-adjust (left|right|autosize|center) #IMPLIED>
  352. <!ATTLIST style:properties draw:fontwork-distance %distance; #IMPLIED>
  353. <!ATTLIST style:properties draw:fontwork-start %distance; #IMPLIED>
  354. <!ATTLIST style:properties draw:fontwork-mirror %boolean; #IMPLIED>
  355. <!ATTLIST style:properties draw:fontwork-outline %boolean; #IMPLIED>
  356. <!ATTLIST style:properties draw:fontwork-shadow (normal|slant|none) #IMPLIED>
  357. <!ATTLIST style:properties draw:fontwork-shadow-color %color; #IMPLIED>
  358. <!ATTLIST style:properties draw:fontwork-shadow-offset-x %distance; #IMPLIED>
  359. <!ATTLIST style:properties draw:fontwork-shadow-offset-y %distance; #IMPLIED>
  360. <!ATTLIST style:properties draw:fontwork-form (none|top-circle|bottom-circle|left-circle|right-circle|top-arc|bottom-arc|left-arc|right-arc|button1|button2|button3|button4) #IMPLIED>
  361. <!ATTLIST style:properties draw:fontwork-hide-form %boolean; #IMPLIED>
  362. <!ATTLIST style:properties draw:fontwork-shadow-transparence %percentage; #IMPLIED>
  363. <!-- caption attributes -->
  364. <!ATTLIST style:properties draw:caption-type (straight-line|angled-line|angled-connector-line) #IMPLIED>
  365. <!ATTLIST style:properties draw:caption-angle-type (fixed|free) #IMPLIED>
  366. <!ATTLIST style:properties draw:caption-angle %nonNegativeInteger; #IMPLIED>
  367. <!ATTLIST style:properties draw:caption-gap %distance; #IMPLIED>
  368. <!ATTLIST style:properties draw:caption-escape-direction (horizontal|vertical|auto) #IMPLIED>
  369. <!ATTLIST style:properties draw:caption-escape %lengthOrPercentage; #IMPLIED>
  370. <!ATTLIST style:properties draw:caption-line-length %distance; #IMPLIED>
  371. <!ATTLIST style:properties draw:caption-fit-line-length %boolean; #IMPLIED>
  372. <!-- Animations -->
  373. <!ELEMENT presentation:sound EMPTY>
  374. <!ATTLIST presentation:sound xlink:href %uriReference; #REQUIRED>
  375. <!ATTLIST presentation:sound xlink:type (simple) #FIXED "simple">
  376. <!ATTLIST presentation:sound xlink:show (new|replace) #IMPLIED>
  377. <!ATTLIST presentation:sound xlink:actuate (onRequest) "onRequest">
  378. <!ATTLIST presentation:sound presentation:play-full %boolean; #IMPLIED>
  379. <!ELEMENT presentation:show-shape (presentation:sound)?>
  380. <!ATTLIST presentation:show-shape draw:shape-id CDATA #REQUIRED>
  381. <!ATTLIST presentation:show-shape presentation:effect %presentationEffects; "none">
  382. <!ATTLIST presentation:show-shape presentation:direction %presentationEffectDirections; "none">
  383. <!ATTLIST presentation:show-shape presentation:speed %presentationSpeeds; "medium">
  384. <!ATTLIST presentation:show-shape presentation:start-scale %percentage; "100&#37;">
  385. <!ATTLIST presentation:show-shape presentation:path-id CDATA #IMPLIED >
  386. <!ELEMENT presentation:show-text (presentation:sound)?>
  387. <!ATTLIST presentation:show-text draw:shape-id CDATA #REQUIRED>
  388. <!ATTLIST presentation:show-text presentation:effect %presentationEffects; "none">
  389. <!ATTLIST presentation:show-text presentation:direction %presentationEffectDirections; "none">
  390. <!ATTLIST presentation:show-text presentation:speed %presentationSpeeds; "medium">
  391. <!ATTLIST presentation:show-text presentation:start-scale %percentage; "100&#37;">
  392. <!ATTLIST presentation:show-text presentation:path-id CDATA #IMPLIED >
  393. <!ELEMENT presentation:hide-shape (presentation:sound)?>
  394. <!ATTLIST presentation:hide-shape draw:shape-id CDATA #REQUIRED>
  395. <!ATTLIST presentation:hide-shape presentation:effect %presentationEffects; "none">
  396. <!ATTLIST presentation:hide-shape presentation:direction %presentationEffectDirections; "none">
  397. <!ATTLIST presentation:hide-shape presentation:speed %presentationSpeeds; "medium">
  398. <!ATTLIST presentation:hide-shape presentation:start-scale %percentage; "100&#37;">
  399. <!ATTLIST presentation:hide-shape presentation:path-id CDATA #IMPLIED >
  400. <!ELEMENT presentation:hide-text (presentation:sound)?>
  401. <!ATTLIST presentation:hide-text draw:shape-id CDATA #REQUIRED>
  402. <!ATTLIST presentation:hide-text presentation:effect %presentationEffects; "none">
  403. <!ATTLIST presentation:hide-text presentation:direction %presentationEffectDirections; "none">
  404. <!ATTLIST presentation:hide-text presentation:speed %presentationSpeeds; "medium">
  405. <!ATTLIST presentation:hide-text presentation:start-scale %percentage; "100&#37;">
  406. <!ATTLIST presentation:hide-text presentation:path-id CDATA #IMPLIED >
  407. <!ELEMENT presentation:dim (presentation:sound)?>
  408. <!ATTLIST presentation:dim draw:shape-id CDATA #REQUIRED>
  409. <!ATTLIST presentation:dim draw:color %color; #REQUIRED>
  410. <!ELEMENT presentation:play EMPTY>
  411. <!ATTLIST presentation:play draw:shape-id CDATA #REQUIRED>
  412. <!ATTLIST presentation:play presentation:speed %presentationSpeeds; "medium">
  413. <!ELEMENT presentation:animations (presentation:show-shape|presentation:show-text|presentation:hide-shape|presentation:hide-text|presentation:dim|presentation:play)*>
  414. <!ELEMENT presentation:show EMPTY>
  415. <!ATTLIST presentation:show presentation:name %styleName; #REQUIRED>
  416. <!ATTLIST presentation:show presentation:pages CDATA #REQUIRED>
  417. <!ELEMENT presentation:settings (presentation:show)*>
  418. <!ATTLIST presentation:settings presentation:start-page %styleName; #IMPLIED>
  419. <!ATTLIST presentation:settings presentation:show %styleName; #IMPLIED>
  420. <!ATTLIST presentation:settings presentation:full-screen %boolean; "true">
  421. <!ATTLIST presentation:settings presentation:endless %boolean; "false">
  422. <!ATTLIST presentation:settings presentation:pause %timeDuration; #IMPLIED>
  423. <!ATTLIST presentation:settings presentation:show-logo %boolean; "false">
  424. <!ATTLIST presentation:settings presentation:force-manual %boolean; "false">
  425. <!ATTLIST presentation:settings presentation:mouse-visible %boolean; "true">
  426. <!ATTLIST presentation:settings presentation:mouse-as-pen %boolean; "false">
  427. <!ATTLIST presentation:settings presentation:start-with-navigator %boolean; "false">
  428. <!ATTLIST presentation:settings presentation:animations (enabled|disabled) "enabled">
  429. <!ATTLIST presentation:settings presentation:stay-on-top %boolean; "false">
  430. <!ATTLIST presentation:settings presentation:transition-on-click (enabled|disabled) "enabled">
  431. <!-- Drawing page -->
  432. <!ELEMENT draw:page (office:forms?,(%shapes;)*,presentation:animations?,presentation:notes?)>
  433. <!ATTLIST draw:page draw:name %string; #IMPLIED>
  434. <!ATTLIST draw:page draw:style-name %styleName; #IMPLIED>
  435. <!ATTLIST draw:page draw:master-page-name %styleName; #REQUIRED>
  436. <!ATTLIST draw:page presentation:presentation-page-layout-name %styleName; #IMPLIED>
  437. <!ATTLIST draw:page draw:id %nonNegativeInteger; #IMPLIED>
  438. <!ATTLIST draw:page xlink:href %uriReference; #IMPLIED>
  439. <!ATTLIST draw:page xlink:type (simple) #IMPLIED>
  440. <!ATTLIST draw:page xlink:show (replace) #IMPLIED>
  441. <!ATTLIST draw:page xlink:actuate (onRequest) #IMPLIED>
  442. <!-- Presentation notes -->
  443. <!ELEMENT presentation:notes (%shapes;)*>
  444. <!ATTLIST presentation:notes style:page-master-name %styleName; #IMPLIED>
  445. <!ATTLIST presentation:notes draw:style-name %styleName; #IMPLIED>
  446. <!-- presentation page layouts -->
  447. <!ELEMENT style:presentation-page-layout (presentation:placeholder)* >
  448. <!ATTLIST style:presentation-page-layout style:name %styleName; #REQUIRED>
  449. <!ELEMENT presentation:placeholder EMPTY >
  450. <!ATTLIST presentation:placeholder presentation:object (title|outline|subtitle|text|graphic|object|chart|orgchart|page|notes|handout) #REQUIRED>
  451. <!ATTLIST presentation:placeholder svg:x %coordinateOrPercentage; #REQUIRED>
  452. <!ATTLIST presentation:placeholder svg:y %coordinateOrPercentage; #REQUIRED>
  453. <!ATTLIST presentation:placeholder svg:width %lengthOrPercentage; #REQUIRED>
  454. <!ATTLIST presentation:placeholder svg:height %lengthOrPercentage; #REQUIRED>
  455. <!-- presentation page attributes -->
  456. <!ATTLIST style:properties presentation:transition-type (manual|automatic|semi-automatic) #IMPLIED >
  457. <!ATTLIST style:properties presentation:transition-style (none|fade-from-left|fade-from-top|fade-from-right|fade-from-bottom|fade-to-center|fade-from-center|move-from-left|move-from-top|move-from-right|move-from-bottom|roll-from-top|roll-from-left|roll-from-right|roll-from-bottom|vertical-stripes|horizontal-stripes|clockwise|counterclockwise|fade-from-upperleft|fade-from-upperright|fade-from-lowerleft|fade-from-lowerright|close-vertical|close-horizontal|open-vertical|open-horizontal|spiralin-left|spiralin-right|spiralout-left|spiralout-right|dissolve|wavyline-from-left|wavyline-from-top|wavyline-from-right|wavyline-from-bottom|random|stretch-from-left|stretch-from-top|stretch-from-right|stretch-from-bottom|vertical-lines|horizontal-lines) #IMPLIED >
  458. <!ATTLIST style:properties presentation:transition-speed %presentationSpeeds; #IMPLIED >
  459. <!ATTLIST style:properties presentation:duration %timeDuration; #IMPLIED>
  460. <!ATTLIST style:properties presentation:visibility (visible|hidden) #IMPLIED>
  461. <!ATTLIST style:properties draw:background-size (full|border) #IMPLIED>
  462. <!ATTLIST style:properties presentation:background-objects-visible %boolean; #IMPLIED>
  463. <!ATTLIST style:properties presentation:background-visible %boolean; #IMPLIED>
  464. <!-- text boxes -->
  465. <!ELEMENT draw:text-box (office:events?,draw:image-map?,
  466. %sectionText;)>
  467. <!ATTLIST draw:text-box %draw-style-name;>
  468. <!ATTLIST draw:text-box %draw-transform; >
  469. <!ATTLIST draw:text-box draw:name %string; #IMPLIED>
  470. <!ATTLIST draw:text-box draw:chain-next-name %string; #IMPLIED>
  471. <!ATTLIST draw:text-box %text-anchor;>
  472. <!ATTLIST draw:text-box %draw-position;>
  473. <!ATTLIST draw:text-box %draw-end-position; >
  474. <!ATTLIST draw:text-box %table-background; >
  475. <!ATTLIST draw:text-box svg:width %lengthOrPercentage; #IMPLIED>
  476. <!ATTLIST draw:text-box svg:height %lengthOrPercentage; #IMPLIED>
  477. <!ATTLIST draw:text-box style:rel-width %percentage; #IMPLIED>
  478. <!ATTLIST draw:text-box style:rel-height %percentage; #IMPLIED>
  479. <!ATTLIST draw:text-box fo:min-height %lengthOrPercentage; #IMPLIED>
  480. <!ATTLIST draw:text-box %zindex;>
  481. <!ATTLIST draw:text-box %presentation-class; >
  482. <!ATTLIST draw:text-box draw:id %draw-shape-id;>
  483. <!ATTLIST draw:text-box draw:layer %layerName; #IMPLIED>
  484. <!ATTLIST draw:text-box draw:corner-radius %nonNegativeLength; #IMPLIED>
  485. <!-- image -->
  486. <!ELEMENT draw:image (office:binary-data?,office:events?,draw:image-map?,svg:desc?,(draw:contour-polygon|draw:contour-path)?)>
  487. <!ATTLIST draw:image %draw-transform; >
  488. <!ATTLIST draw:image %draw-style-name;>
  489. <!ATTLIST draw:image draw:name %string; #IMPLIED>
  490. <!ATTLIST draw:image xlink:href %uriReference; #IMPLIED>
  491. <!ATTLIST draw:image xlink:type (simple) #IMPLIED>
  492. <!ATTLIST draw:image xlink:show (embed) #IMPLIED>
  493. <!ATTLIST draw:image xlink:actuate (onLoad) #IMPLIED>
  494. <!ATTLIST draw:image draw:filter-name %string; #IMPLIED>
  495. <!ATTLIST draw:image %text-anchor;>
  496. <!ATTLIST draw:image %draw-position;>
  497. <!ATTLIST draw:image %draw-end-position; >
  498. <!ATTLIST draw:image %table-background; >
  499. <!ATTLIST draw:image svg:width %lengthOrPercentage; #IMPLIED>
  500. <!ATTLIST draw:image svg:height %lengthOrPercentage; #IMPLIED>
  501. <!ATTLIST draw:image %presentation-class; >
  502. <!ATTLIST draw:image %zindex;>
  503. <!ATTLIST draw:image draw:id %draw-shape-id;>
  504. <!ATTLIST draw:image draw:layer %layerName; #IMPLIED>
  505. <!ATTLIST draw:image style:rel-width %percentage; #IMPLIED>
  506. <!ATTLIST draw:image style:rel-height %percentage; #IMPLIED>
  507. <!-- objects -->
  508. <!ELEMENT draw:thumbnail EMPTY>
  509. <!ATTLIST draw:thumbnail xlink:href %uriReference; #REQUIRED>
  510. <!ATTLIST draw:thumbnail xlink:type (simple) #IMPLIED>
  511. <!ATTLIST draw:thumbnail xlink:show (embed) #IMPLIED>
  512. <!ATTLIST draw:thumbnail xlink:actuate (onLoad) #IMPLIED>
  513. <!ELEMENT math:math ANY> <!-- dummy (we have no MathML DTD currently)-->
  514. <!ELEMENT draw:object (draw:thumbnail?,(office:document|math:math)?,office:events?, draw:image-map?, svg:desc?,(draw:contour-polygon|draw:contour-path)?)>
  515. <!ATTLIST draw:object %draw-style-name;>
  516. <!ATTLIST draw:object draw:name %string; #IMPLIED>
  517. <!ATTLIST draw:object xlink:href %uriReference; #IMPLIED>
  518. <!ATTLIST draw:object xlink:type (simple) #IMPLIED>
  519. <!ATTLIST draw:object xlink:show (embed) #IMPLIED>
  520. <!ATTLIST draw:object xlink:actuate (onLoad) #IMPLIED>
  521. <!ATTLIST draw:object %text-anchor;>
  522. <!ATTLIST draw:object %draw-position;>
  523. <!ATTLIST draw:object %draw-end-position; >
  524. <!ATTLIST draw:object %table-background; >
  525. <!ATTLIST draw:object svg:width %lengthOrPercentage; #IMPLIED>
  526. <!ATTLIST draw:object svg:height %lengthOrPercentage; #IMPLIED>
  527. <!ATTLIST draw:object %presentation-class; >
  528. <!ATTLIST draw:object %zindex;>
  529. <!ATTLIST draw:object draw:id %draw-shape-id;>
  530. <!ATTLIST draw:object draw:layer %layerName; #IMPLIED>
  531. <!ATTLIST draw:object draw:notify-on-update-of-ranges %string; #IMPLIED>
  532. <!ATTLIST draw:object style:rel-width %percentage; #IMPLIED>
  533. <!ATTLIST draw:object style:rel-height %percentage; #IMPLIED>
  534. <!ELEMENT draw:object-ole (office:binary-data?|office:events?|draw:image-map?|svg:desc?|draw:contour-polygon?|draw:contour-path?|draw:thumbnail?)>
  535. <!ATTLIST draw:object-ole draw:class-id CDATA #IMPLIED>
  536. <!ATTLIST draw:object-ole %draw-style-name;>
  537. <!ATTLIST draw:object-ole draw:name %string; #IMPLIED>
  538. <!ATTLIST draw:object-ole xlink:href %uriReference; #IMPLIED>
  539. <!ATTLIST draw:object-ole xlink:type (simple) #IMPLIED>
  540. <!ATTLIST draw:object-ole xlink:show (embed) #IMPLIED>
  541. <!ATTLIST draw:object-ole xlink:actuate (onLoad) #IMPLIED>
  542. <!ATTLIST draw:object-ole %text-anchor;>
  543. <!ATTLIST draw:object-ole %draw-position;>
  544. <!ATTLIST draw:object-ole %draw-end-position; >
  545. <!ATTLIST draw:object-ole %table-background; >
  546. <!ATTLIST draw:object-ole svg:width %lengthOrPercentage; #IMPLIED>
  547. <!ATTLIST draw:object-ole svg:height %lengthOrPercentage; #IMPLIED>
  548. <!ATTLIST draw:object-ole %presentation-class; >
  549. <!ATTLIST draw:object-ole %zindex;>
  550. <!ATTLIST draw:object-ole draw:id %draw-shape-id;>
  551. <!ATTLIST draw:object-ole draw:layer %layerName; #IMPLIED>
  552. <!ATTLIST draw:object-ole style:rel-width %percentage; #IMPLIED>
  553. <!ATTLIST draw:object-ole style:rel-height %percentage; #IMPLIED>
  554. <!ELEMENT svg:desc (#PCDATA)>
  555. <!ELEMENT draw:contour-polygon EMPTY>
  556. <!ATTLIST draw:contour-polygon svg:width %coordinate; #REQUIRED>
  557. <!ATTLIST draw:contour-polygon svg:height %coordinate; #REQUIRED>
  558. <!ATTLIST draw:contour-polygon %draw-viewbox;>
  559. <!ATTLIST draw:contour-polygon draw:points %points; #REQUIRED>
  560. <!ATTLIST draw:contour-polygon draw:recreate-on-edit %boolean; #IMPLIED>
  561. <!ELEMENT draw:contour-path EMPTY>
  562. <!ATTLIST draw:contour-path svg:width %coordinate; #REQUIRED>
  563. <!ATTLIST draw:contour-path svg:height %coordinate; #REQUIRED>
  564. <!ATTLIST draw:contour-path %draw-viewbox;>
  565. <!ATTLIST draw:contour-path svg:d %pathData; #REQUIRED>
  566. <!ATTLIST draw:contour-path draw:recreate-on-edit %boolean; #IMPLIED>
  567. <!-- hyperlink -->
  568. <!ELEMENT draw:a (draw:image|draw:text-box)>
  569. <!ATTLIST draw:a xlink:href %uriReference; #REQUIRED>
  570. <!ATTLIST draw:a xlink:type (simple) #FIXED "simple">
  571. <!ATTLIST draw:a xlink:show (new|replace) #IMPLIED>
  572. <!ATTLIST draw:a xlink:actuate (onRequest) "onRequest">
  573. <!ATTLIST draw:a office:name %string; #IMPLIED>
  574. <!ATTLIST draw:a office:target-frame-name %string; #IMPLIED>
  575. <!ATTLIST draw:a office:server-map %boolean; "false">
  576. <!-- 3d properties -->
  577. <!ATTLIST style:properties dr3d:horizontal-segments %nonNegativeInteger; #IMPLIED>
  578. <!ATTLIST style:properties dr3d:vertical-segments %nonNegativeInteger; #IMPLIED>
  579. <!ATTLIST style:properties dr3d:edge-rounding %percentage; #IMPLIED>
  580. <!ATTLIST style:properties dr3d:edge-rounding-mode (correct|attractive) #IMPLIED>
  581. <!ATTLIST style:properties dr3d:back-scale %percentage; #IMPLIED>
  582. <!ATTLIST style:properties dr3d:end-angle %nonNegativeInteger; #IMPLIED>
  583. <!ATTLIST style:properties dr3d:depth %length; #IMPLIED>
  584. <!ATTLIST style:properties dr3d:backface-culling (enabled|disabled) #IMPLIED>
  585. <!ATTLIST style:properties dr3d:lighting-mode (standard|double-sided) #IMPLIED>
  586. <!ATTLIST style:properties dr3d:normals-kind (object|flat|sphere) #IMPLIED>
  587. <!ATTLIST style:properties dr3d:normals-direction (normal|inverse) #IMPLIED>
  588. <!ATTLIST style:properties dr3d:texture-generation-mode-x (object|parallel|sphere) #IMPLIED>
  589. <!ATTLIST style:properties dr3d:texture-generation-mode-y (object|parallel|sphere) #IMPLIED>
  590. <!ATTLIST style:properties dr3d:texture-kind (luminance|intesity|color) #IMPLIED>
  591. <!ATTLIST style:properties dr3d:texture-filter (enabled|disabled) #IMPLIED>
  592. <!ATTLIST style:properties dr3d:texture-mode (replace|modulate|blend) #IMPLIED>
  593. <!ATTLIST style:properties dr3d:ambient-color %color; #IMPLIED>
  594. <!ATTLIST style:properties dr3d:emissive-color %color; #IMPLIED>
  595. <!ATTLIST style:properties dr3d:specular-color %color; #IMPLIED>
  596. <!ATTLIST style:properties dr3d:diffuse-color %color; #IMPLIED>
  597. <!ATTLIST style:properties dr3d:shininess %percentage; #IMPLIED>
  598. <!ATTLIST style:properties dr3d:shadow (visible|hidden) #IMPLIED>
  599. <!ATTLIST style:properties dr3d:close-front %boolean; #IMPLIED>
  600. <!ATTLIST style:properties dr3d:close-back %boolean; #IMPLIED>
  601. <!ELEMENT dr3d:light EMPTY>
  602. <!ATTLIST dr3d:light dr3d:diffuse-color %color; #IMPLIED>
  603. <!ATTLIST dr3d:light dr3d:direction %vector3D; #REQUIRED>
  604. <!ATTLIST dr3d:light dr3d:enabled %boolean; #IMPLIED>
  605. <!ATTLIST dr3d:light dr3d:specular %boolean; #IMPLIED>
  606. <!ENTITY % shapes3d "(dr3d:scene|dr3d:extrude|dr3d:sphere|dr3d:rotate|dr3d:cube)">
  607. <!ELEMENT dr3d:cube EMPTY>
  608. <!ATTLIST dr3d:cube dr3d:transform CDATA #IMPLIED>
  609. <!ATTLIST dr3d:cube dr3d:min-edge %vector3D; #IMPLIED>
  610. <!ATTLIST dr3d:cube dr3d:max-edge %vector3D; #IMPLIED>
  611. <!ATTLIST dr3d:cube %zindex;>
  612. <!ATTLIST dr3d:cube draw:id %draw-shape-id;>
  613. <!ATTLIST dr3d:cube %draw-end-position; >
  614. <!ATTLIST dr3d:cube %table-background; >
  615. <!ATTLIST dr3d:cube %draw-style-name; >
  616. <!ATTLIST dr3d:cube draw:layer %layerName; #IMPLIED>
  617. <!ELEMENT dr3d:sphere EMPTY>
  618. <!ATTLIST dr3d:sphere dr3d:transform CDATA #IMPLIED>
  619. <!ATTLIST dr3d:sphere dr3d:center %vector3D; #IMPLIED>
  620. <!ATTLIST dr3d:sphere dr3d:size %vector3D; #IMPLIED>
  621. <!ATTLIST dr3d:sphere %zindex;>
  622. <!ATTLIST dr3d:sphere draw:id %draw-shape-id;>
  623. <!ATTLIST dr3d:sphere %draw-end-position; >
  624. <!ATTLIST dr3d:sphere %table-background; >
  625. <!ATTLIST dr3d:sphere %draw-style-name; >
  626. <!ATTLIST dr3d:sphere draw:layer %layerName; #IMPLIED>
  627. <!ELEMENT dr3d:extrude EMPTY>
  628. <!ATTLIST dr3d:extrude dr3d:transform CDATA #IMPLIED>
  629. <!ATTLIST dr3d:extrude %draw-viewbox;>
  630. <!ATTLIST dr3d:extrude svg:d %pathData; #REQUIRED >
  631. <!ATTLIST dr3d:extrude %zindex;>
  632. <!ATTLIST dr3d:extrude draw:id %draw-shape-id;>
  633. <!ATTLIST dr3d:extrude %draw-end-position; >
  634. <!ATTLIST dr3d:extrude %table-background; >
  635. <!ATTLIST dr3d:extrude %draw-style-name; >
  636. <!ATTLIST dr3d:extrude draw:layer %layerName; #IMPLIED>
  637. <!ELEMENT dr3d:rotate EMPTY>
  638. <!ATTLIST dr3d:rotate dr3d:transform CDATA #IMPLIED>
  639. <!ATTLIST dr3d:rotate %draw-viewbox;>
  640. <!ATTLIST dr3d:rotate svg:d %pathData; #REQUIRED >
  641. <!ATTLIST dr3d:rotate %zindex;>
  642. <!ATTLIST dr3d:rotate draw:id %draw-shape-id;>
  643. <!ATTLIST dr3d:rotate %draw-end-position; >
  644. <!ATTLIST dr3d:rotate %table-background; >
  645. <!ATTLIST dr3d:rotate %draw-style-name; >
  646. <!ATTLIST dr3d:rotate draw:layer %layerName; #IMPLIED>
  647. <!ELEMENT dr3d:scene (dr3d:light*,(%shapes3d;)*)>
  648. <!ATTLIST dr3d:scene %draw-style-name; >
  649. <!ATTLIST dr3d:scene svg:x %coordinate; #IMPLIED>
  650. <!ATTLIST dr3d:scene svg:y %coordinate; #IMPLIED>
  651. <!ATTLIST dr3d:scene svg:width %length; #IMPLIED>
  652. <!ATTLIST dr3d:scene svg:height %length; #IMPLIED>
  653. <!ATTLIST dr3d:scene dr3d:vrp %vector3D; #IMPLIED>
  654. <!ATTLIST dr3d:scene dr3d:vpn %vector3D; #IMPLIED>
  655. <!ATTLIST dr3d:scene dr3d:vup %vector3D; #IMPLIED>
  656. <!ATTLIST dr3d:scene dr3d:projection (parallel|perspective) #IMPLIED>
  657. <!ATTLIST dr3d:scene dr3d:transform CDATA #IMPLIED>
  658. <!ATTLIST dr3d:scene dr3d:distance %length; #IMPLIED>
  659. <!ATTLIST dr3d:scene dr3d:focal-length %length; #IMPLIED>
  660. <!ATTLIST dr3d:scene dr3d:shadow-slant %nonNegativeInteger; #IMPLIED>
  661. <!ATTLIST dr3d:scene dr3d:shade-mode (flat|phong|gouraud|draft) #IMPLIED>
  662. <!ATTLIST dr3d:scene dr3d:ambient-color %color; #IMPLIED>
  663. <!ATTLIST dr3d:scene dr3d:lighting-mode %boolean; #IMPLIED>
  664. <!ATTLIST dr3d:scene %zindex;>
  665. <!ATTLIST dr3d:scene draw:id %draw-shape-id;>
  666. <!ATTLIST dr3d:scene %draw-end-position; >
  667. <!ATTLIST dr3d:scene %table-background; >
  668. <!-- layer -->
  669. <!ELEMENT draw:layer-set (draw:layer*)>
  670. <!ELEMENT draw:layer EMPTY>
  671. <!ATTLIST draw:layer draw:name %layerName; #REQUIRED>
  672. <!-- events -->
  673. <!ELEMENT presentation:event (presentation:sound)?>
  674. <!ATTLIST presentation:event %event-name;>
  675. <!ATTLIST presentation:event presentation:action (none|previous-page|next-page|first-page|last-page|hide|stop|execute|show|verb|fade-out|sound) #REQUIRED>
  676. <!ATTLIST presentation:event presentation:effect %presentationEffects; "none">
  677. <!ATTLIST presentation:event presentation:direction %presentationEffectDirections; "none">
  678. <!ATTLIST presentation:event presentation:speed %presentationSpeeds; "medium">
  679. <!ATTLIST presentation:event presentation:start-scale %percentage; "100&#37;">
  680. <!ATTLIST presentation:event xlink:href %uriReference; #IMPLIED>
  681. <!ATTLIST presentation:event xlink:type (simple) #IMPLIED>
  682. <!ATTLIST presentation:event xlink:show (embed) #IMPLIED>
  683. <!ATTLIST presentation:event xlink:actuate (onRequest) #IMPLIED>
  684. <!ATTLIST presentation:event presentation:verb %nonNegativeInteger; #IMPLIED>
  685. <!-- applets -->
  686. <!ELEMENT draw:applet (draw:thumbnail?, draw:param*, svg:desc?)>
  687. <!ATTLIST draw:applet xlink:href %uriReference; #IMPLIED>
  688. <!ATTLIST draw:applet xlink:type (simple) #IMPLIED>
  689. <!ATTLIST draw:applet xlink:show (embed) #IMPLIED>
  690. <!ATTLIST draw:applet xlink:actuate (onLoad) #IMPLIED>
  691. <!ATTLIST draw:applet draw:code CDATA #REQUIRED>
  692. <!ATTLIST draw:applet draw:object CDATA #IMPLIED>
  693. <!ATTLIST draw:applet draw:archive CDATA #IMPLIED>
  694. <!ATTLIST draw:applet draw:may-script %boolean; "false">
  695. <!ATTLIST draw:applet draw:name CDATA #IMPLIED>
  696. <!ATTLIST draw:applet %draw-style-name;>
  697. <!ATTLIST draw:applet svg:width %lengthOrPercentage; #IMPLIED>
  698. <!ATTLIST draw:applet svg:height %lengthOrPercentage; #IMPLIED>
  699. <!ATTLIST draw:applet %zindex;>
  700. <!ATTLIST draw:applet draw:layer %layerName; #IMPLIED>
  701. <!ATTLIST draw:applet %draw-position;>
  702. <!ATTLIST draw:applet %draw-end-position; >
  703. <!-- plugins -->
  704. <!ELEMENT draw:plugin (draw:thumbnail?, draw:param*, svg:desc?)>
  705. <!ATTLIST draw:plugin xlink:href %uriReference; #IMPLIED>
  706. <!ATTLIST draw:plugin xlink:type (simple) #IMPLIED>
  707. <!ATTLIST draw:plugin xlink:show (embed) #IMPLIED>
  708. <!ATTLIST draw:plugin xlink:actuate (onLoad) #IMPLIED>
  709. <!ATTLIST draw:plugin draw:mime-type CDATA #IMPLIED>
  710. <!ATTLIST draw:plugin draw:name CDATA #IMPLIED>
  711. <!ATTLIST draw:plugin %draw-style-name;>
  712. <!ATTLIST draw:plugin svg:width %lengthOrPercentage; #IMPLIED>
  713. <!ATTLIST draw:plugin svg:height %lengthOrPercentage; #IMPLIED>
  714. <!ATTLIST draw:plugin %zindex;>
  715. <!ATTLIST draw:plugin draw:layer %layerName; #IMPLIED>
  716. <!ATTLIST draw:plugin %draw-position;>
  717. <!ATTLIST draw:plugin %draw-end-position; >
  718. <!-- Parameters -->
  719. <!ELEMENT draw:param EMPTY>
  720. <!ATTLIST draw:param draw:name CDATA #IMPLIED>
  721. <!ATTLIST draw:param draw:value CDATA #IMPLIED>
  722. <!-- Floating Frames -->
  723. <!ELEMENT draw:floating-frame (draw:thumbnail?, svg:desc?)>
  724. <!ATTLIST draw:floating-frame xlink:href %uriReference; #IMPLIED>
  725. <!ATTLIST draw:floating-frame xlink:type (simple) #IMPLIED>
  726. <!ATTLIST draw:floating-frame xlink:show (embed) #IMPLIED>
  727. <!ATTLIST draw:floating-frame xlink:actuate (onLoad) #IMPLIED>
  728. <!ATTLIST draw:floating-frame draw:name CDATA #IMPLIED>
  729. <!ATTLIST draw:floating-frame draw:frame-name CDATA #IMPLIED>
  730. <!ATTLIST draw:floating-frame %draw-style-name;>
  731. <!ATTLIST draw:floating-frame svg:width %lengthOrPercentage; #IMPLIED>
  732. <!ATTLIST draw:floating-frame svg:height %lengthOrPercentage; #IMPLIED>
  733. <!ATTLIST draw:floating-frame %zindex;>
  734. <!ATTLIST draw:floating-frame draw:layer %layerName; #IMPLIED>
  735. <!ATTLIST draw:floating-frame %draw-position;>
  736. <!ATTLIST draw:floating-frame %draw-end-position; >
  737. <!-- Image Maps -->
  738. <!ELEMENT draw:image-map
  739. (draw:area-rectangle|draw:area-circle|draw:area-polygon)*>
  740. <!ELEMENT draw:area-rectangle (svg:desc?,office:events?)>
  741. <!ATTLIST draw:area-rectangle xlink:href %uriReference; #IMPLIED>
  742. <!ATTLIST draw:area-rectangle xlink:type (simple) #IMPLIED>
  743. <!ATTLIST draw:area-rectangle office:target-frame-name CDATA #IMPLIED>
  744. <!ATTLIST draw:area-rectangle xlink:show (new|replace) #IMPLIED>
  745. <!ATTLIST draw:area-rectangle office:name CDATA #IMPLIED>
  746. <!ATTLIST draw:area-rectangle draw:nohref (nohref) #IMPLIED>
  747. <!ATTLIST draw:area-rectangle svg:x %coordinate; #REQUIRED>
  748. <!ATTLIST draw:area-rectangle svg:y %coordinate; #REQUIRED>
  749. <!ATTLIST draw:area-rectangle svg:width %coordinate; #REQUIRED>
  750. <!ATTLIST draw:area-rectangle svg:height %coordinate; #REQUIRED>
  751. <!ELEMENT draw:area-circle (svg:desc?,office:events?)>
  752. <!ATTLIST draw:area-circle xlink:href %uriReference; #IMPLIED>
  753. <!ATTLIST draw:area-circle xlink:type (simple) #IMPLIED>
  754. <!ATTLIST draw:area-circle office:target-frame-name CDATA #IMPLIED>
  755. <!ATTLIST draw:area-circle xlink:show (new|replace) #IMPLIED>
  756. <!ATTLIST draw:area-circle office:name CDATA #IMPLIED>
  757. <!ATTLIST draw:area-circle draw:nohref (nohref) #IMPLIED>
  758. <!ATTLIST draw:area-circle svg:cx %coordinate; #REQUIRED>
  759. <!ATTLIST draw:area-circle svg:cy %coordinate; #REQUIRED>
  760. <!ATTLIST draw:area-circle svg:r %coordinate; #REQUIRED>
  761. <!ELEMENT draw:area-polygon (svg:desc?,office:events?)>
  762. <!ATTLIST draw:area-polygon xlink:href %uriReference; #IMPLIED>
  763. <!ATTLIST draw:area-polygon xlink:type (simple) #IMPLIED>
  764. <!ATTLIST draw:area-polygon office:target-frame-name CDATA #IMPLIED>
  765. <!ATTLIST draw:area-polygon xlink:show (new|replace) #IMPLIED>
  766. <!ATTLIST draw:area-polygon office:name CDATA #IMPLIED>
  767. <!ATTLIST draw:area-polygon draw:nohref (nohref) #IMPLIED>
  768. <!ATTLIST draw:area-polygon svg:x %coordinate; #REQUIRED>
  769. <!ATTLIST draw:area-polygon svg:y %coordinate; #REQUIRED>
  770. <!ATTLIST draw:area-polygon svg:width %coordinate; #REQUIRED>
  771. <!ATTLIST draw:area-polygon svg:height %coordinate; #REQUIRED>
  772. <!ATTLIST draw:area-polygon svg:points %points; #REQUIRED>
  773. <!ATTLIST draw:area-polygon svg:viewBox CDATA #REQUIRED>