home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2002 October / VPR0210A.ISO / OPENOFFICE / f_0121 / drawing.mod
Text File  |  2002-05-31  |  47KB  |  883 lines

  1. <!--
  2.     $Id: drawing.mod,v 1.71.2.1 2002/05/31 11:56:08 mh Exp $
  3.  
  4.    The Contents of this file are made available subject to the terms of
  5.    either of the following licenses
  6.  
  7.           - GNU Lesser General Public License Version 2.1
  8.           - Sun Industry Standards Source License Version 1.1
  9.  
  10.    Sun Microsystems Inc., October, 2000
  11.  
  12.    GNU Lesser General Public License Version 2.1
  13.    =============================================
  14.    Copyright 2000 by Sun Microsystems, Inc.
  15.    901 San Antonio Road, Palo Alto, CA 94303, USA
  16.  
  17.    This library is free software; you can redistribute it and/or
  18.    modify it under the terms of the GNU Lesser General Public
  19.    License version 2.1, as published by the Free Software Foundation.
  20.  
  21.    This library is distributed in the hope that it will be useful,
  22.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  23.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  24.    Lesser General Public License for more details.
  25.  
  26.    You should have received a copy of the GNU Lesser General Public
  27.    License along with this library; if not, write to the Free Software
  28.    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  29.    MA  02111-1307  USA
  30.  
  31.  
  32.    Sun Industry Standards Source License Version 1.1
  33.    =================================================
  34.    The contents of this file are subject to the Sun Industry Standards
  35.    Source License Version 1.1 (the "License"); You may not use this file
  36.    except in compliance with the License. You may obtain a copy of the
  37.    License at http://www.openoffice.org/license.html.
  38.  
  39.    Software provided under this License is provided on an "AS IS" basis,
  40.    WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
  41.    WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
  42.    MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
  43.    See the License for the specific provisions governing your rights and
  44.    obligations concerning the Software.
  45.  
  46.    The Initial Developer of the Original Code is: Sun Microsystems, Inc.
  47.  
  48.    Copyright: 2000 by Sun Microsystems, Inc.
  49.  
  50.    All Rights Reserved.
  51.  
  52.    Contributor(s): _______________________________________
  53.  
  54. -->
  55.  
  56. <!ENTITY % points "CDATA" >
  57. <!ENTITY % pathData "CDATA" >
  58. <!ENTITY % gradient-style "(linear|axial|radial|ellipsoid|square|rectangular)" >
  59. <!ENTITY % draw-position "svg:x %coordinate; #IMPLIED svg:y %coordinate; #IMPLIED">
  60. <!ENTITY % draw-end-position "table:end-cell-address %cell-address; #IMPLIED table:end-x %coordinate; #IMPLIED table:end-y %coordinate; #IMPLIED">
  61. <!ENTITY % draw-size "svg:width %coordinate; #IMPLIED svg:height %coordinate; #IMPLIED">
  62. <!ENTITY % draw-transform "draw:transform CDATA #IMPLIED">
  63. <!ENTITY % draw-viewbox "svg:viewBox CDATA #REQUIRED">
  64. <!ENTITY % draw-style-name "draw:style-name %styleName; #IMPLIED presentation:style-name %styleName; #IMPLIED draw:text-style-name %styleName; #IMPLIED">
  65. <!ENTITY % draw-shape-id "CDATA #IMPLIED" >
  66. <!ENTITY % draw-text "(text:p|text:unordered-list|text:ordered-list)*">
  67. <!ENTITY % zindex "draw:z-index %nonNegativeInteger; #IMPLIED">
  68. <!ENTITY % distance "CDATA">
  69. <!ENTITY % rectanglePoint "(top-left|top|top-right|left|center|right|bottom-left|bottom|bottom-right)">
  70. <!ENTITY % vector3D "CDATA">
  71. <!ENTITY % text-anchor "text:anchor-type %anchorType; #IMPLIED text:anchor-page-number %positiveInteger; #IMPLIED">
  72. <!ENTITY % layerName "CDATA">
  73. <!ENTITY % table-background "table:table-background (true | false) #IMPLIED">
  74.  
  75. <!-- commont presentation shape attributes -->
  76. <!ENTITY % presentation-style-name "presentation:style-name %styleName; #IMPLIED">
  77. <!ENTITY % presentation-classes "(title|outline|subtitle|text|graphic|object|chart|table|orgchart|page|notes)" >
  78. <!-- ENTITY % presentation-class "presentation:class %presentation-classes; #IMPLIED" -->
  79. <!ENTITY % presentation-class "presentation:class %presentation-classes; #IMPLIED presentation:placeholder (true|false) #IMPLIED presentation:user-transformed (true|false) #IMPLIED">
  80. <!ENTITY % presentationEffects "(none|fade|move|stripes|open|close|dissolve|wavyline|random|lines|laser|appear|hide|move-short|checkerboard|rotate|stretch)" >
  81. <!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)" >
  82. <!ENTITY % presentationSpeeds "(slow|medium|fast)" >
  83.  
  84. <!-- Drawing shapes -->
  85. <!ELEMENT draw:rect ( office:events?, %draw-text; )>
  86. <!ATTLIST draw:rect %draw-position; >
  87. <!ATTLIST draw:rect %draw-end-position; >
  88. <!ATTLIST draw:rect %table-background; >
  89. <!ATTLIST draw:rect %draw-size; >
  90. <!ATTLIST draw:rect %draw-style-name; >
  91. <!ATTLIST draw:rect %draw-transform; >
  92. <!ATTLIST draw:rect draw:corner-radius %nonNegativeLength; #IMPLIED>
  93. <!ATTLIST draw:rect %zindex;>
  94. <!ATTLIST draw:rect draw:id %draw-shape-id;>
  95. <!ATTLIST draw:rect %text-anchor;>
  96. <!ATTLIST draw:rect draw:layer %layerName; #IMPLIED>
  97.  
  98. <!ELEMENT draw:line ( office:events?, %draw-text; )>
  99. <!ATTLIST draw:line svg:x1 %length; #IMPLIED>
  100. <!ATTLIST draw:line svg:y1 %length; #IMPLIED>
  101. <!ATTLIST draw:line svg:x2 %length; #REQUIRED>
  102. <!ATTLIST draw:line svg:y2 %length; #REQUIRED>
  103. <!ATTLIST draw:line svg:y %coordinate; #IMPLIED>
  104. <!ATTLIST draw:line %draw-style-name; >
  105. <!ATTLIST draw:line %draw-transform; >
  106. <!ATTLIST draw:line %zindex;>
  107. <!ATTLIST draw:line %draw-end-position; >
  108. <!ATTLIST draw:line %table-background; >
  109. <!ATTLIST draw:line draw:id %draw-shape-id;>
  110. <!ATTLIST draw:line %text-anchor;>
  111. <!ATTLIST draw:line draw:layer %layerName; #IMPLIED>
  112.  
  113. <!ELEMENT draw:polyline ( office:events?, %draw-text; )>
  114. <!ATTLIST draw:polyline %draw-position; >
  115. <!ATTLIST draw:polyline %draw-size; >
  116. <!ATTLIST draw:polyline %draw-viewbox; >
  117. <!ATTLIST draw:polyline draw:points %points; #REQUIRED>
  118. <!ATTLIST draw:polyline %draw-style-name; >
  119. <!ATTLIST draw:polyline %draw-transform; >
  120. <!ATTLIST draw:polyline %zindex;>
  121. <!ATTLIST draw:polyline %draw-end-position; >
  122. <!ATTLIST draw:polyline %table-background; >
  123. <!ATTLIST draw:polyline draw:id %draw-shape-id;>
  124. <!ATTLIST draw:polyline %text-anchor;>
  125. <!ATTLIST draw:polyline draw:layer %layerName; #IMPLIED>
  126.  
  127. <!ELEMENT draw:polygon ( office:events?, %draw-text; )>
  128. <!ATTLIST draw:polygon %draw-position; >
  129. <!ATTLIST draw:polygon %draw-end-position; >
  130. <!ATTLIST draw:polygon %table-background; >
  131. <!ATTLIST draw:polygon %draw-size; >
  132. <!ATTLIST draw:polygon %draw-viewbox; >
  133. <!ATTLIST draw:polygon draw:points %points; #REQUIRED >
  134. <!ATTLIST draw:polygon %draw-style-name; >
  135. <!ATTLIST draw:polygon %draw-transform; >
  136. <!ATTLIST draw:polygon %zindex;>
  137. <!ATTLIST draw:polygon draw:id %draw-shape-id;>
  138. <!ATTLIST draw:polygon %text-anchor;>
  139. <!ATTLIST draw:polygon draw:layer %layerName; #IMPLIED>
  140.  
  141. <!ELEMENT draw:path ( office:events?, %draw-text; )>
  142. <!ATTLIST draw:path %draw-position;>
  143. <!ATTLIST draw:path %draw-end-position; >
  144. <!ATTLIST draw:path %table-background; >
  145. <!ATTLIST draw:path %draw-size; >
  146. <!ATTLIST draw:path %draw-viewbox; >
  147. <!ATTLIST draw:path svg:d %pathData; #REQUIRED >
  148. <!ATTLIST draw:path %draw-style-name; >
  149. <!ATTLIST draw:path %draw-transform; >
  150. <!ATTLIST draw:path %zindex;>
  151. <!ATTLIST draw:path draw:id %draw-shape-id;>
  152. <!ATTLIST draw:path %text-anchor;>
  153. <!ATTLIST draw:path draw:layer %layerName; #IMPLIED>
  154.  
  155. <!ELEMENT draw:circle ( office:events?, %draw-text; )>
  156. <!ATTLIST draw:circle %draw-position; >
  157. <!ATTLIST draw:circle %draw-size; >
  158. <!ATTLIST draw:circle %draw-style-name; >
  159. <!ATTLIST draw:circle %draw-transform; >
  160. <!ATTLIST draw:circle %zindex;>
  161. <!ATTLIST draw:circle %draw-end-position; >
  162. <!ATTLIST draw:circle %table-background; >
  163. <!ATTLIST draw:circle draw:id %draw-shape-id;>
  164. <!ATTLIST draw:circle draw:kind (full|section|cut|arc) "full">
  165. <!ATTLIST draw:circle draw:start-angle %nonNegativeInteger; #IMPLIED>
  166. <!ATTLIST draw:circle draw:end-angle %nonNegativeInteger; #IMPLIED>
  167. <!ATTLIST draw:circle %text-anchor;>
  168. <!ATTLIST draw:circle draw:layer %layerName; #IMPLIED>
  169.  
  170. <!ELEMENT draw:ellipse ( office:events?, %draw-text; )>
  171. <!ATTLIST draw:ellipse %draw-position; >
  172. <!ATTLIST draw:ellipse %draw-size; >
  173. <!ATTLIST draw:ellipse %draw-style-name; >
  174. <!ATTLIST draw:ellipse %draw-transform; >
  175. <!ATTLIST draw:ellipse %zindex;>
  176. <!ATTLIST draw:ellipse %draw-end-position; >
  177. <!ATTLIST draw:ellipse %table-background; >
  178. <!ATTLIST draw:ellipse draw:id %draw-shape-id;>
  179. <!ATTLIST draw:ellipse draw:kind (full|section|cut|arc) "full">
  180. <!ATTLIST draw:ellipse draw:start-angle %nonNegativeInteger; #IMPLIED>
  181. <!ATTLIST draw:ellipse draw:end-angle %nonNegativeInteger; #IMPLIED>
  182. <!ATTLIST draw:ellipse  %text-anchor;>
  183. <!ATTLIST draw:ellipse draw:layer %layerName; #IMPLIED>
  184.  
  185. <!ELEMENT draw:connector ( office:events?, %draw-text;)>
  186. <!ATTLIST draw:connector draw:type (standard|lines|line|curve) "standard">
  187. <!ATTLIST draw:connector draw:line-skew CDATA #IMPLIED>
  188. <!ATTLIST draw:connector %draw-style-name;>
  189. <!ATTLIST draw:connector svg:x1 %coordinate; #REQUIRED>
  190. <!ATTLIST draw:connector svg:y1 %coordinate; #REQUIRED>
  191. <!ATTLIST draw:connector svg:x2 %coordinate; #REQUIRED>
  192. <!ATTLIST draw:connector svg:y2 %coordinate; #REQUIRED>
  193. <!ATTLIST draw:connector draw:start-shape %draw-shape-id;>
  194. <!ATTLIST draw:connector draw:start-glue-point %integer; #IMPLIED>
  195. <!ATTLIST draw:connector draw:end-shape %draw-shape-id;>
  196. <!ATTLIST draw:connector draw:end-glue-point %integer; #IMPLIED>
  197. <!ATTLIST draw:connector %zindex;>
  198. <!ATTLIST draw:connector %draw-end-position; >
  199. <!ATTLIST draw:connector %table-background; >
  200. <!ATTLIST draw:connector draw:id %draw-shape-id;>
  201. <!ATTLIST draw:connector %text-anchor;>
  202. <!ATTLIST draw:connector draw:layer %layerName; #IMPLIED>
  203.  
  204. <!ELEMENT draw:control EMPTY>
  205. <!ATTLIST draw:control %draw-style-name;>
  206. <!ATTLIST draw:control %draw-position; >
  207. <!ATTLIST draw:control %draw-size; >
  208. <!ATTLIST draw:control %control-id; >
  209. <!ATTLIST draw:control %zindex;>
  210. <!ATTLIST draw:control %draw-end-position; >
  211. <!ATTLIST draw:control %table-background; >
  212. <!ATTLIST draw:control draw:id %draw-shape-id;>
  213. <!ATTLIST draw:control %text-anchor;>
  214. <!ATTLIST draw:control draw:layer %layerName; #IMPLIED>
  215.  
  216. <!ELEMENT draw:g ( office:events?, (%shapes;)* ) >
  217. <!ATTLIST draw:g svg:y %coordinate; #IMPLIED>
  218. <!ATTLIST draw:g %draw-transform; >
  219. <!ATTLIST draw:g %draw-style-name; >
  220. <!ATTLIST draw:g %zindex;>
  221. <!ATTLIST draw:g %draw-end-position; >
  222. <!ATTLIST draw:g %table-background; >
  223. <!ATTLIST draw:g draw:id %draw-shape-id;>
  224. <!ATTLIST draw:g %text-anchor;>
  225. <!ATTLIST draw:g draw:layer %layerName; #IMPLIED>
  226.  
  227. <!ELEMENT draw:page-thumbnail EMPTY>
  228. <!ATTLIST draw:page-thumbnail draw:page-number %positiveInteger; #IMPLIED>
  229. <!ATTLIST draw:page-thumbnail %draw-position; >
  230. <!ATTLIST draw:page-thumbnail %draw-size; >
  231. <!ATTLIST draw:page-thumbnail %draw-style-name; >
  232. <!ATTLIST draw:page-thumbnail %presentation-class; >
  233. <!ATTLIST draw:page-thumbnail %zindex;>
  234. <!ATTLIST draw:page-thumbnail %draw-end-position; >
  235. <!ATTLIST draw:page-thumbnail %table-background; >
  236. <!ATTLIST draw:page-thumbnail draw:id %draw-shape-id;>
  237. <!ATTLIST draw:page-thumbnail %text-anchor;>
  238. <!ATTLIST draw:page-thumbnail draw:layer %layerName; #IMPLIED>
  239.  
  240. <!ELEMENT draw:caption ( office:events?, %draw-text;)>
  241. <!ATTLIST draw:caption %draw-position; >
  242. <!ATTLIST draw:caption %draw-end-position; >
  243. <!ATTLIST draw:caption %table-background; >
  244. <!ATTLIST draw:caption %draw-size; >
  245. <!ATTLIST draw:caption %draw-style-name; >
  246. <!ATTLIST draw:caption %draw-transform; >
  247. <!ATTLIST draw:caption draw:caption-point-x %coordinate; #IMPLIED>
  248. <!ATTLIST draw:caption draw:caption-point-y %coordinate; #IMPLIED>
  249. <!ATTLIST draw:caption %zindex;>
  250. <!ATTLIST draw:caption draw:id %draw-shape-id;>
  251. <!ATTLIST draw:caption  %text-anchor;>
  252. <!ATTLIST draw:caption draw:layer %layerName; #IMPLIED>
  253. <!ATTLIST draw:caption draw:corner-radius %nonNegativeLength; #IMPLIED>
  254.  
  255. <!ELEMENT draw:measure ( office:events?, %draw-text;)>
  256. <!ATTLIST draw:measure svg:x1 %coordinate; #REQUIRED>
  257. <!ATTLIST draw:measure svg:y1 %coordinate; #REQUIRED>
  258. <!ATTLIST draw:measure svg:x2 %coordinate; #REQUIRED>
  259. <!ATTLIST draw:measure svg:y2 %coordinate; #REQUIRED>
  260. <!ATTLIST draw:measure %draw-end-position; >
  261. <!ATTLIST draw:measure %table-background; >
  262. <!ATTLIST draw:measure %draw-style-name; >
  263. <!ATTLIST draw:measure %draw-transform; >
  264. <!ATTLIST draw:measure %zindex;>
  265. <!ATTLIST draw:measure draw:id %draw-shape-id;>
  266. <!ATTLIST draw:measure %text-anchor;>
  267. <!ATTLIST draw:measure draw:layer %layerName; #IMPLIED>
  268.  
  269. <!-- graphic style elements -->
  270. <!ELEMENT draw:gradient EMPTY >
  271. <!ATTLIST draw:gradient draw:name %styleName; #REQUIRED>
  272. <!ATTLIST draw:gradient draw:style %gradient-style; #REQUIRED>
  273. <!ATTLIST draw:gradient draw:cx %coordinate; #IMPLIED>
  274. <!ATTLIST draw:gradient draw:cy %coordinate; #IMPLIED>
  275. <!ATTLIST draw:gradient draw:start-color %color; #IMPLIED>
  276. <!ATTLIST draw:gradient draw:end-color %color; #IMPLIED>
  277. <!ATTLIST draw:gradient draw:start-intensity %percentage; #IMPLIED>
  278. <!ATTLIST draw:gradient draw:end-intensity %percentage; #IMPLIED>
  279. <!ATTLIST draw:gradient draw:angle %integer; #IMPLIED>
  280. <!ATTLIST draw:gradient draw:border %percentage; #IMPLIED>
  281.  
  282. <!ELEMENT draw:hatch EMPTY >
  283. <!ATTLIST draw:hatch draw:name %styleName; #REQUIRED>
  284. <!ATTLIST draw:hatch draw:style (single|double|triple) #REQUIRED >
  285. <!ATTLIST draw:hatch draw:color %color; #IMPLIED>
  286. <!ATTLIST draw:hatch draw:distance %length; #IMPLIED>
  287. <!ATTLIST draw:hatch draw:rotation %integer; #IMPLIED>
  288.  
  289.  
  290. <!ELEMENT draw:fill-image EMPTY >
  291. <!ATTLIST draw:fill-image draw:name %styleName; #REQUIRED>
  292. <!ATTLIST draw:fill-image xlink:href %uriReference; #REQUIRED>
  293. <!ATTLIST draw:fill-image xlink:type (simple) #IMPLIED>
  294. <!ATTLIST draw:fill-image xlink:show (embed) #IMPLIED>
  295. <!ATTLIST draw:fill-image xlink:actuate (onLoad) #IMPLIED>
  296. <!ATTLIST draw:fill-image svg:width %length; #IMPLIED>
  297. <!ATTLIST draw:fill-image svg:height %length; #IMPLIED>
  298.  
  299. <!ELEMENT draw:transparency EMPTY>
  300. <!ATTLIST draw:transparency draw:name %styleName; #REQUIRED>
  301. <!ATTLIST draw:transparency draw:style %gradient-style; #REQUIRED>
  302. <!ATTLIST draw:transparency draw:cx %coordinate; #IMPLIED>
  303. <!ATTLIST draw:transparency draw:cy %coordinate; #IMPLIED>
  304. <!ATTLIST draw:transparency draw:start %percentage; #IMPLIED>
  305. <!ATTLIST draw:transparency draw:end %percentage; #IMPLIED>
  306. <!ATTLIST draw:transparency draw:angle %integer; #IMPLIED>
  307. <!ATTLIST draw:transparency draw:border %percentage; #IMPLIED>
  308.  
  309. <!ELEMENT draw:marker EMPTY>
  310. <!ATTLIST draw:marker draw:name %styleName; #REQUIRED>
  311. <!ATTLIST draw:marker %draw-viewbox; >
  312. <!ATTLIST draw:marker svg:d %pathData; #REQUIRED>
  313.  
  314. <!ELEMENT draw:stroke-dash EMPTY>
  315. <!ATTLIST draw:stroke-dash draw:name %styleName; #REQUIRED>
  316. <!ATTLIST draw:stroke-dash draw:style (rect|round) #IMPLIED>
  317. <!ATTLIST draw:stroke-dash draw:dots1 %integer; #IMPLIED>
  318. <!ATTLIST draw:stroke-dash draw:dots1-length %length; #IMPLIED>
  319. <!ATTLIST draw:stroke-dash draw:dots2 %integer; #IMPLIED>
  320. <!ATTLIST draw:stroke-dash draw:dots2-length %length; #IMPLIED>
  321. <!ATTLIST draw:stroke-dash draw:distance %length; #IMPLIED>
  322.  
  323. <!-- stroke attributes -->
  324. <!ATTLIST style:properties draw:stroke (none|dash|solid) #IMPLIED>
  325. <!ATTLIST style:properties draw:stroke-dash CDATA #IMPLIED>
  326. <!ATTLIST style:properties svg:stroke-width %length; #IMPLIED>
  327. <!ATTLIST style:properties svg:stroke-color %color; #IMPLIED>
  328. <!ATTLIST style:properties draw:marker-start %styleName; #IMPLIED>
  329. <!ATTLIST style:properties draw:marker-end %styleName; #IMPLIED>
  330. <!ATTLIST style:properties draw:marker-start-width %length; #IMPLIED>
  331. <!ATTLIST style:properties draw:marker-end-width %length; #IMPLIED>
  332. <!ATTLIST style:properties draw:marker-start-center %boolean; #IMPLIED>
  333. <!ATTLIST style:properties draw:marker-end-center %boolean; #IMPLIED>
  334. <!ATTLIST style:properties svg:stroke-opacity %floatOrPercentage; #IMPLIED>
  335. <!ATTLIST style:properties svg:stroke-linejoin (miter|round|bevel|middle|none|inherit) #IMPLIED>
  336.  
  337. <!-- text attributes -->
  338. <!ATTLIST style:properties draw:auto-grow-width %boolean; #IMPLIED>
  339. <!ATTLIST style:properties draw:auto-grow-height %boolean; #IMPLIED>
  340. <!ATTLIST style:properties draw:fit-to-size %boolean; #IMPLIED>
  341. <!ATTLIST style:properties draw:fit-to-contour %boolean; #IMPLIED>
  342. <!ATTLIST style:properties draw:textarea-horizontal-align ( left | center | right | justify ) #IMPLIED>
  343. <!ATTLIST style:properties draw:textarea-vertical-align ( top | middle | bottom ) #IMPLIED>
  344. <!ATTLIST style:properties draw:writing-mode (lr-tb|tb-rl) "lr-tb">
  345.  
  346. <!-- fill attributes -->
  347. <!ATTLIST style:properties draw:fill (none|solid|bitmap|gradient|hatch) #IMPLIED>
  348. <!ATTLIST style:properties draw:fill-color %color; #IMPLIED>
  349. <!ATTLIST style:properties draw:fill-gradient-name %styleName; #IMPLIED>
  350. <!ATTLIST style:properties draw:gradient-step-count CDATA #IMPLIED>
  351. <!ATTLIST style:properties draw:fill-hatch-name %styleName; #IMPLIED>
  352. <!ATTLIST style:properties draw:fill-hatch-solid %boolean; #IMPLIED>
  353. <!ATTLIST style:properties draw:fill-image-name %styleName; #IMPLIED>
  354. <!ATTLIST style:properties style:repeat (no-repeat|repeat|stretch) #IMPLIED>
  355. <!ATTLIST style:properties draw:fill-image-width %lengthOrPercentage; #IMPLIED>
  356. <!ATTLIST style:properties draw:fill-image-height %lengthOrPercentage; #IMPLIED>
  357. <!ATTLIST style:properties draw:fill-image-ref-point-x %percentage; #IMPLIED>
  358. <!ATTLIST style:properties draw:fill-image-ref-point-y %percentage; #IMPLIED>
  359. <!ATTLIST style:properties draw:fill-image-ref-point %rectanglePoint; #IMPLIED>
  360. <!ATTLIST style:properties draw:tile-repeat-offset CDATA #IMPLIED>
  361. <!ATTLIST style:properties draw:transparency %percentage; #IMPLIED>
  362. <!ATTLIST style:properties draw:transparency-name %styleName; #IMPLIED>
  363.  
  364. <!-- graphic attributes -->
  365. <!ATTLIST style:properties draw:color-mode (greyscale|mono|watermark|standard) #IMPLIED>
  366. <!ATTLIST style:properties draw:luminance %percentage; #IMPLIED>
  367. <!ATTLIST style:properties draw:contrast %percentage; #IMPLIED>
  368. <!ATTLIST style:properties draw:gamma %percentage; #IMPLIED>
  369. <!ATTLIST style:properties draw:red %percentage; #IMPLIED>
  370. <!ATTLIST style:properties draw:green %percentage; #IMPLIED>
  371. <!ATTLIST style:properties draw:blue %percentage; #IMPLIED>
  372. <!ATTLIST style:properties draw:color-inversion %boolean; #IMPLIED>
  373. <!ATTLIST style:properties draw:mirror %boolean; #IMPLIED>
  374.  
  375. <!-- shadow attributes -->
  376. <!ATTLIST style:properties draw:shadow (visible|hidden) #IMPLIED>
  377. <!ATTLIST style:properties draw:shadow-offset-x %length; #IMPLIED>
  378. <!ATTLIST style:properties draw:shadow-offset-y %length; #IMPLIED>
  379. <!ATTLIST style:properties draw:shadow-color %color; #IMPLIED>
  380. <!ATTLIST style:properties draw:shadow-transparency CDATA #IMPLIED>
  381.  
  382. <!-- connector attributes -->
  383. <!ATTLIST style:properties draw:start-line-spacing-horizontal %distance; #IMPLIED>
  384. <!ATTLIST style:properties draw:start-line-spacing-vertical %distance; #IMPLIED>
  385. <!ATTLIST style:properties draw:end-line-spacing-horizontal %distance; #IMPLIED>
  386. <!ATTLIST style:properties draw:end-line-spacing-vertical %distance; #IMPLIED>
  387.  
  388. <!-- measure attributes -->
  389. <!ATTLIST style:properties draw:line-distance %distance; #IMPLIED>
  390. <!ATTLIST style:properties draw:guide-overhang %distance; #IMPLIED>
  391. <!ATTLIST style:properties draw:guide-distance %distance; #IMPLIED>
  392. <!ATTLIST style:properties draw:start-guide %distance; #IMPLIED>
  393. <!ATTLIST style:properties draw:end-guide %distance; #IMPLIED>
  394. <!ATTLIST style:properties draw:measure-align (automatic|left-outside|inside|right-outside) #IMPLIED>
  395. <!ATTLIST style:properties draw:measure-vertical-align (automatic|above|below|center) #IMPLIED>
  396. <!ATTLIST style:properties draw:unit (automatic|mm|cm|m|km|pt|pc|inch|ft|mi) #IMPLIED>
  397. <!ATTLIST style:properties draw:show-unit %boolean; #IMPLIED>
  398. <!ATTLIST style:properties draw:placing (below|above) #IMPLIED>
  399. <!ATTLIST style:properties draw:parallel %boolean; #IMPLIED>
  400.  
  401. <!-- frame attributes -->
  402. <!ATTLIST style:properties draw:frame-display-scrollbar %boolean; #IMPLIED>
  403. <!ATTLIST style:properties draw:frame-display-border %boolean; #IMPLIED>
  404. <!ATTLIST style:properties draw:frame-margin-horizontal %nonNegativePixelLength; #IMPLIED>
  405. <!ATTLIST style:properties draw:frame-margin-vertical %nonNegativePixelLength; #IMPLIED>
  406. <!ATTLIST style:properties draw:size-protect %boolean; #IMPLIED>
  407. <!ATTLIST style:properties draw:move-protect %boolean; #IMPLIED>
  408.  
  409. <!-- ole object attributes -->
  410. <!ATTLIST style:properties draw:visible-area-left %nonNegativeLength; #IMPLIED>
  411. <!ATTLIST style:properties draw:visible-area-top %nonNegativeLength; #IMPLIED>
  412. <!ATTLIST style:properties draw:visible-area-width %positiveLength; #IMPLIED>
  413. <!ATTLIST style:properties draw:visible-area-height %positiveLength; #IMPLIED>
  414.  
  415. <!-- fontwork attributes -->
  416. <!ATTLIST style:properties draw:fontwork-style (rotate|upright|slant-x|slant-y|none) #IMPLIED>
  417. <!ATTLIST style:properties draw:fontwork-adjust (left|right|autosize|center) #IMPLIED>
  418. <!ATTLIST style:properties draw:fontwork-distance %distance; #IMPLIED>
  419. <!ATTLIST style:properties draw:fontwork-start %distance; #IMPLIED>
  420. <!ATTLIST style:properties draw:fontwork-mirror %boolean; #IMPLIED>
  421. <!ATTLIST style:properties draw:fontwork-outline %boolean; #IMPLIED>
  422. <!ATTLIST style:properties draw:fontwork-shadow (normal|slant|none) #IMPLIED>
  423. <!ATTLIST style:properties draw:fontwork-shadow-color %color; #IMPLIED>
  424. <!ATTLIST style:properties draw:fontwork-shadow-offset-x %distance; #IMPLIED>
  425. <!ATTLIST style:properties draw:fontwork-shadow-offset-y %distance; #IMPLIED>
  426. <!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>
  427. <!ATTLIST style:properties draw:fontwork-hide-form %boolean; #IMPLIED>
  428. <!ATTLIST style:properties draw:fontwork-shadow-transparence %percentage; #IMPLIED>
  429.  
  430. <!-- caption attributes -->
  431. <!ATTLIST style:properties draw:caption-type (straight-line|angled-line|angled-connector-line) #IMPLIED>
  432. <!ATTLIST style:properties draw:caption-angle-type (fixed|free) #IMPLIED>
  433. <!ATTLIST style:properties draw:caption-angle %nonNegativeInteger; #IMPLIED>
  434. <!ATTLIST style:properties draw:caption-gap %distance; #IMPLIED>
  435. <!ATTLIST style:properties draw:caption-escape-direction (horizontal|vertical|auto) #IMPLIED>
  436. <!ATTLIST style:properties draw:caption-escape %lengthOrPercentage; #IMPLIED>
  437. <!ATTLIST style:properties draw:caption-line-length %distance; #IMPLIED>
  438. <!ATTLIST style:properties draw:caption-fit-line-length %boolean; #IMPLIED>
  439.  
  440. <!-- Animations -->
  441. <!ELEMENT presentation:sound EMPTY>
  442. <!ATTLIST presentation:sound xlink:href %uriReference; #REQUIRED>
  443. <!ATTLIST presentation:sound xlink:type (simple) #FIXED "simple">
  444. <!ATTLIST presentation:sound xlink:show (new|replace) #IMPLIED>
  445. <!ATTLIST presentation:sound xlink:actuate (onRequest) "onRequest">
  446. <!ATTLIST presentation:sound presentation:play-full %boolean; #IMPLIED>
  447.  
  448. <!ELEMENT presentation:show-shape (presentation:sound)?>
  449. <!ATTLIST presentation:show-shape draw:shape-id CDATA #REQUIRED>
  450. <!ATTLIST presentation:show-shape presentation:effect %presentationEffects; "none">
  451. <!ATTLIST presentation:show-shape presentation:direction %presentationEffectDirections; "none">
  452. <!ATTLIST presentation:show-shape presentation:speed %presentationSpeeds; "medium">
  453. <!ATTLIST presentation:show-shape presentation:start-scale %percentage; "100%">
  454. <!ATTLIST presentation:show-shape presentation:path-id CDATA #IMPLIED >
  455.  
  456. <!ELEMENT presentation:show-text (presentation:sound)?>
  457. <!ATTLIST presentation:show-text draw:shape-id CDATA #REQUIRED>
  458. <!ATTLIST presentation:show-text presentation:effect %presentationEffects; "none">
  459. <!ATTLIST presentation:show-text presentation:direction %presentationEffectDirections; "none">
  460. <!ATTLIST presentation:show-text presentation:speed %presentationSpeeds; "medium">
  461. <!ATTLIST presentation:show-text presentation:start-scale %percentage; "100%">
  462. <!ATTLIST presentation:show-text presentation:path-id CDATA #IMPLIED >
  463.  
  464. <!ELEMENT presentation:hide-shape (presentation:sound)?>
  465. <!ATTLIST presentation:hide-shape draw:shape-id CDATA #REQUIRED>
  466. <!ATTLIST presentation:hide-shape presentation:effect %presentationEffects; "none">
  467. <!ATTLIST presentation:hide-shape presentation:direction %presentationEffectDirections; "none">
  468. <!ATTLIST presentation:hide-shape presentation:speed %presentationSpeeds; "medium">
  469. <!ATTLIST presentation:hide-shape presentation:start-scale %percentage; "100%">
  470. <!ATTLIST presentation:hide-shape presentation:path-id CDATA #IMPLIED >
  471.  
  472. <!ELEMENT presentation:hide-text (presentation:sound)?>
  473. <!ATTLIST presentation:hide-text draw:shape-id CDATA #REQUIRED>
  474. <!ATTLIST presentation:hide-text presentation:effect %presentationEffects; "none">
  475. <!ATTLIST presentation:hide-text presentation:direction %presentationEffectDirections; "none">
  476. <!ATTLIST presentation:hide-text presentation:speed %presentationSpeeds; "medium">
  477. <!ATTLIST presentation:hide-text presentation:start-scale %percentage; "100%">
  478. <!ATTLIST presentation:hide-text presentation:path-id CDATA #IMPLIED >
  479.  
  480. <!ELEMENT presentation:dim (presentation:sound)?>
  481. <!ATTLIST presentation:dim draw:shape-id CDATA #REQUIRED>
  482. <!ATTLIST presentation:dim draw:color %color; #REQUIRED>
  483.  
  484. <!ELEMENT presentation:play EMPTY>
  485. <!ATTLIST presentation:play draw:shape-id CDATA #REQUIRED>
  486. <!ATTLIST presentation:play presentation:speed %presentationSpeeds; "medium">
  487.  
  488. <!ELEMENT presentation:animations (presentation:show-shape|presentation:show-text|presentation:hide-shape|presentation:hide-text|presentation:dim|presentation:play)*>
  489.  
  490. <!ELEMENT presentation:show EMPTY>
  491. <!ATTLIST presentation:show presentation:name %styleName; #REQUIRED>
  492. <!ATTLIST presentation:show presentation:pages CDATA #REQUIRED>
  493.  
  494. <!ELEMENT presentation:settings (presentation:show)*>
  495. <!ATTLIST presentation:settings presentation:start-page %styleName; #IMPLIED>
  496. <!ATTLIST presentation:settings presentation:show %styleName; #IMPLIED>
  497. <!ATTLIST presentation:settings presentation:full-screen %boolean; "true">
  498. <!ATTLIST presentation:settings presentation:endless %boolean; "false">
  499. <!ATTLIST presentation:settings presentation:pause %timeDuration; #IMPLIED>
  500. <!ATTLIST presentation:settings presentation:show-logo %boolean; "false">
  501. <!ATTLIST presentation:settings presentation:force-manual %boolean; "false">
  502. <!ATTLIST presentation:settings presentation:mouse-visible %boolean; "true">
  503. <!ATTLIST presentation:settings presentation:mouse-as-pen %boolean; "false">
  504. <!ATTLIST presentation:settings presentation:start-with-navigator %boolean; "false">
  505. <!ATTLIST presentation:settings presentation:animations (enabled|disabled) "enabled">
  506. <!ATTLIST presentation:settings presentation:stay-on-top %boolean; "false">
  507. <!ATTLIST presentation:settings presentation:transition-on-click (enabled|disabled) "enabled">
  508.  
  509. <!-- Drawing page -->
  510. <!ELEMENT draw:page (office:forms?,(%shapes;)*,presentation:animations?,presentation:notes?)>
  511. <!ATTLIST draw:page draw:name %string; #IMPLIED>
  512. <!ATTLIST draw:page draw:style-name %styleName; #IMPLIED>
  513. <!ATTLIST draw:page draw:master-page-name %styleName; #REQUIRED>
  514. <!ATTLIST draw:page presentation:presentation-page-layout-name %styleName; #IMPLIED>
  515. <!ATTLIST draw:page draw:id %nonNegativeInteger; #IMPLIED>
  516. <!ATTLIST draw:page xlink:href %uriReference; #IMPLIED>
  517. <!ATTLIST draw:page xlink:type (simple) #IMPLIED>
  518. <!ATTLIST draw:page xlink:show (replace) #IMPLIED>
  519. <!ATTLIST draw:page xlink:actuate (onRequest) #IMPLIED>
  520.  
  521. <!-- Presentation notes -->
  522. <!ELEMENT presentation:notes (%shapes;)*>
  523.  
  524.  
  525. <!-- presentation page layouts -->
  526. <!ELEMENT style:presentation-page-layout (presentation:placeholder)* >
  527. <!ATTLIST style:presentation-page-layout style:name %styleName; #REQUIRED>
  528. <!ELEMENT presentation:placeholder EMPTY >
  529. <!ATTLIST presentation:placeholder presentation:object (title|outline|subtitle|text|graphic|object|chart|orgchart|page|notes|handout) #REQUIRED>
  530. <!ATTLIST presentation:placeholder svg:x %coordinateOrPercentage; #REQUIRED>
  531. <!ATTLIST presentation:placeholder svg:y %coordinateOrPercentage; #REQUIRED>
  532. <!ATTLIST presentation:placeholder svg:width %lengthOrPercentage; #REQUIRED>
  533. <!ATTLIST presentation:placeholder svg:height %lengthOrPercentage; #REQUIRED>
  534.  
  535. <!-- presentation page attributes -->
  536. <!ATTLIST style:properties presentation:transition-type (manual|automatic|semi-automatic) #IMPLIED >
  537. <!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 >
  538. <!ATTLIST style:properties presentation:transition-speed %presentationSpeeds; #IMPLIED >
  539. <!ATTLIST style:properties presentation:duration %timeDuration; #IMPLIED>
  540. <!ATTLIST style:properties presentation:visibility (visible|hidden) #IMPLIED>
  541. <!ATTLIST style:properties draw:background-size (full|border) #IMPLIED>
  542. <!ATTLIST style:properties presentation:background-objects-visible %boolean; #IMPLIED>
  543. <!ATTLIST style:properties presentation:background-visible %boolean; #IMPLIED>
  544.  
  545.  
  546. <!-- text boxes -->
  547. <!ELEMENT draw:text-box (office:events?,draw:image-map?,
  548.         %sectionText;)>
  549. <!ATTLIST draw:text-box %draw-style-name;>
  550. <!ATTLIST draw:text-box %draw-transform; >
  551. <!ATTLIST draw:text-box draw:name %string; #IMPLIED>
  552. <!ATTLIST draw:text-box draw:chain-next-name %string; #IMPLIED>
  553.  
  554. <!ATTLIST draw:text-box %text-anchor;>
  555. <!ATTLIST draw:text-box %draw-position;>
  556. <!ATTLIST draw:text-box %draw-end-position; >
  557. <!ATTLIST draw:text-box %table-background; >
  558. <!ATTLIST draw:text-box svg:width %lengthOrPercentage; #IMPLIED>
  559. <!ATTLIST draw:text-box svg:height %lengthOrPercentage; #IMPLIED>
  560. <!ATTLIST draw:text-box style:rel-width %percentage; #IMPLIED>
  561. <!ATTLIST draw:text-box style:rel-height %percentage; #IMPLIED>
  562. <!ATTLIST draw:text-box fo:min-height %lengthOrPercentage; #IMPLIED>
  563. <!ATTLIST draw:text-box %zindex;>
  564. <!ATTLIST draw:text-box %presentation-class; >
  565. <!ATTLIST draw:text-box %draw-transform; >
  566. <!ATTLIST draw:text-box draw:id %draw-shape-id;>
  567. <!ATTLIST draw:text-box draw:layer %layerName; #IMPLIED>
  568. <!ATTLIST draw:text-box draw:corner-radius %nonNegativeLength; #IMPLIED>
  569.  
  570. <!-- image -->
  571. <!ELEMENT draw:image (office:binary-data?,office:events?,draw:image-map?,svg:desc?,(draw:contour-polygon|draw:contour-path)?)>
  572. <!ATTLIST draw:image %draw-style-name;>
  573. <!ATTLIST draw:image draw:name %string; #IMPLIED>
  574. <!ATTLIST draw:image xlink:href %uriReference; #IMPLIED>
  575. <!ATTLIST draw:image xlink:type (simple) #IMPLIED>
  576. <!ATTLIST draw:image xlink:show (embed) #IMPLIED>
  577. <!ATTLIST draw:image xlink:actuate (onLoad) #IMPLIED>
  578. <!ATTLIST draw:image draw:filter-name %string; #IMPLIED>
  579. <!ATTLIST draw:image %text-anchor;>
  580. <!ATTLIST draw:image %draw-position;>
  581. <!ATTLIST draw:image %draw-end-position; >
  582. <!ATTLIST draw:image %table-background; >
  583. <!ATTLIST draw:image svg:width %lengthOrPercentage; #IMPLIED>
  584. <!ATTLIST draw:image svg:height %lengthOrPercentage; #IMPLIED>
  585. <!ATTLIST draw:image %presentation-class; >
  586. <!ATTLIST draw:image %zindex;>
  587. <!ATTLIST draw:image draw:id %draw-shape-id;>
  588. <!ATTLIST draw:image draw:layer %layerName; #IMPLIED>
  589. <!ATTLIST draw:image style:rel-width %percentage; #IMPLIED>
  590. <!ATTLIST draw:image style:rel-height %percentage; #IMPLIED>
  591.  
  592. <!-- objects -->
  593. <!ELEMENT draw:thumbnail EMPTY>
  594. <!ATTLIST draw:thumbnail xlink:href %uriReference; #REQUIRED>
  595. <!ATTLIST draw:thumbnail xlink:type (simple) #IMPLIED>
  596. <!ATTLIST draw:thumbnail xlink:show (embed) #IMPLIED>
  597. <!ATTLIST draw:thumbnail xlink:actuate (onLoad) #IMPLIED>
  598.  
  599. <!ELEMENT math:math ANY> <!-- dummy (we have no MathML DTD currently)-->
  600. <!ELEMENT draw:object (draw:thumbnail?,(office:document|math:math)?,office:events?, draw:image-map?, svg:desc?,(draw:contour-polygon|draw:contour-path)?)>
  601. <!ATTLIST draw:object %draw-style-name;>
  602. <!ATTLIST draw:object draw:name %string; #IMPLIED>
  603. <!ATTLIST draw:object xlink:href %uriReference; #IMPLIED>
  604. <!ATTLIST draw:object xlink:type (simple) #IMPLIED>
  605. <!ATTLIST draw:object xlink:show (embed) #IMPLIED>
  606. <!ATTLIST draw:object xlink:actuate (onLoad) #IMPLIED>
  607. <!ATTLIST draw:object %text-anchor;>
  608. <!ATTLIST draw:object %draw-position;>
  609. <!ATTLIST draw:object %draw-end-position; >
  610. <!ATTLIST draw:object %table-background; >
  611. <!ATTLIST draw:object svg:width %lengthOrPercentage; #IMPLIED>
  612. <!ATTLIST draw:object svg:height %lengthOrPercentage; #IMPLIED>
  613. <!ATTLIST draw:object %presentation-class; >
  614. <!ATTLIST draw:object %zindex;>
  615. <!ATTLIST draw:object draw:id %draw-shape-id;>
  616. <!ATTLIST draw:object draw:layer %layerName; #IMPLIED>
  617. <!ATTLIST draw:object draw:notify-on-update-of-ranges %string; #IMPLIED>
  618. <!ATTLIST draw:object style:rel-width %percentage; #IMPLIED>
  619. <!ATTLIST draw:object style:rel-height %percentage; #IMPLIED>
  620.  
  621. <!ELEMENT draw:object-ole (office:binary-data?|office:events?|draw:image-map?|svg:desc?|draw:contour-polygon?|draw:contour-path?|draw:thumbnail?)>
  622. <!ATTLIST draw:object-ole draw:class-id CDATA #IMPLIED>
  623. <!ATTLIST draw:object-ole %draw-style-name;>
  624. <!ATTLIST draw:object-ole draw:name %string; #IMPLIED>
  625. <!ATTLIST draw:object-ole xlink:href %uriReference; #IMPLIED>
  626. <!ATTLIST draw:object-ole xlink:type (simple) #IMPLIED>
  627. <!ATTLIST draw:object-ole xlink:show (embed) #IMPLIED>
  628. <!ATTLIST draw:object-ole xlink:actuate (onLoad) #IMPLIED>
  629. <!ATTLIST draw:object-ole %text-anchor;>
  630. <!ATTLIST draw:object-ole %draw-position;>
  631. <!ATTLIST draw:object-ole %draw-end-position; >
  632. <!ATTLIST draw:object-ole %table-background; >
  633. <!ATTLIST draw:object-ole svg:width %lengthOrPercentage; #IMPLIED>
  634. <!ATTLIST draw:object-ole svg:height %lengthOrPercentage; #IMPLIED>
  635. <!ATTLIST draw:object-ole %presentation-class; >
  636. <!ATTLIST draw:object-ole %zindex;>
  637. <!ATTLIST draw:object-ole draw:id %draw-shape-id;>
  638. <!ATTLIST draw:object-ole draw:layer %layerName; #IMPLIED>
  639. <!ATTLIST draw:object-ole style:rel-width %percentage; #IMPLIED>
  640. <!ATTLIST draw:object-ole style:rel-height %percentage; #IMPLIED>
  641.  
  642. <!ELEMENT svg:desc (#PCDATA)>
  643.  
  644. <!ELEMENT draw:contour-polygon EMPTY>
  645. <!ATTLIST draw:contour-polygon svg:width %coordinate; #REQUIRED>
  646. <!ATTLIST draw:contour-polygon svg:height %coordinate; #REQUIRED>
  647. <!ATTLIST draw:contour-polygon %draw-viewbox;>
  648. <!ATTLIST draw:contour-polygon draw:points %points; #REQUIRED>
  649. <!ATTLIST draw:contour-polygon draw:recreate-on-edit %boolean; #IMPLIED>
  650.  
  651. <!ELEMENT draw:contour-path EMPTY>
  652. <!ATTLIST draw:contour-path svg:width %coordinate; #REQUIRED>
  653. <!ATTLIST draw:contour-path svg:height %coordinate; #REQUIRED>
  654. <!ATTLIST draw:contour-path %draw-viewbox;>
  655. <!ATTLIST draw:contour-path svg:d %pathData; #REQUIRED>
  656. <!ATTLIST draw:contour-path draw:recreate-on-edit %boolean; #IMPLIED>
  657.  
  658. <!-- hyperlink -->
  659. <!ELEMENT draw:a (draw:image|draw:text-box)>
  660. <!ATTLIST draw:a xlink:href %uriReference; #REQUIRED>
  661. <!ATTLIST draw:a xlink:type (simple) #FIXED "simple">
  662. <!ATTLIST draw:a xlink:show (new|replace) #IMPLIED>
  663. <!ATTLIST draw:a xlink:actuate (onRequest) "onRequest">
  664. <!ATTLIST draw:a office:name %string; #IMPLIED>
  665. <!ATTLIST draw:a office:target-frame-name %string; #IMPLIED>
  666. <!ATTLIST draw:a office:server-map %boolean; "false">
  667.  
  668. <!-- 3d properties -->
  669. <!ATTLIST style:properties dr3d:horizontal-segments %nonNegativeInteger; #IMPLIED>
  670. <!ATTLIST style:properties dr3d:vertical-segments %nonNegativeInteger; #IMPLIED>
  671. <!ATTLIST style:properties dr3d:edge-rounding %percentage; #IMPLIED>
  672. <!ATTLIST style:properties dr3d:edge-rounding-mode (correct|attractive) #IMPLIED>
  673. <!ATTLIST style:properties dr3d:back-scale %percentage; #IMPLIED>
  674. <!ATTLIST style:properties dr3d:end-angle %nonNegativeInteger; #IMPLIED>
  675. <!ATTLIST style:properties dr3d:depth %length; #IMPLIED>
  676. <!ATTLIST style:properties dr3d:backface-culling (enabled|disabled) #IMPLIED>
  677. <!ATTLIST style:properties dr3d:lighting-mode (standard|double-sided) #IMPLIED>
  678. <!ATTLIST style:properties dr3d:normals-kind (object|flat|sphere) #IMPLIED>
  679. <!ATTLIST style:properties dr3d:normals-direction (normal|inverse) #IMPLIED>
  680. <!ATTLIST style:properties dr3d:texture-generation-mode-x (object|parallel|sphere) #IMPLIED>
  681. <!ATTLIST style:properties dr3d:texture-generation-mode-y (object|parallel|sphere) #IMPLIED>
  682. <!ATTLIST style:properties dr3d:texture-kind (luminance|intesity|color) #IMPLIED>
  683. <!ATTLIST style:properties dr3d:texture-filter (enabled|disabled) #IMPLIED>
  684. <!ATTLIST style:properties dr3d:texture-mode (replace|modulate|blend) #IMPLIED>
  685. <!ATTLIST style:properties dr3d:ambient-color %color; #IMPLIED>
  686. <!ATTLIST style:properties dr3d:emissive-color %color; #IMPLIED>
  687. <!ATTLIST style:properties dr3d:specular-color %color; #IMPLIED>
  688. <!ATTLIST style:properties dr3d:diffuse-color %color; #IMPLIED>
  689. <!ATTLIST style:properties dr3d:shininess %percentage; #IMPLIED>
  690. <!ATTLIST style:properties dr3d:shadow (visible|hidden) #IMPLIED>
  691.  
  692. <!ELEMENT dr3d:light EMPTY>
  693. <!ATTLIST dr3d:light dr3d:diffuse-color %color; #IMPLIED>
  694. <!ATTLIST dr3d:light dr3d:direction %vector3D; #REQUIRED>
  695. <!ATTLIST dr3d:light dr3d:enabled %boolean; #IMPLIED>
  696. <!ATTLIST dr3d:light dr3d:specular %boolean; #IMPLIED>
  697.  
  698. <!ENTITY % shapes3d "(dr3d:scene|dr3d:extrude|dr3d:sphere|dr3d:rotate|dr3d:cube)">
  699.  
  700. <!ELEMENT dr3d:cube EMPTY>
  701. <!ATTLIST dr3d:cube dr3d:transform CDATA #IMPLIED>
  702. <!ATTLIST dr3d:cube dr3d:min-edge %vector3D; #IMPLIED>
  703. <!ATTLIST dr3d:cube dr3d:max-edge %vector3D; #IMPLIED>
  704. <!ATTLIST dr3d:cube %zindex;>
  705. <!ATTLIST dr3d:cube draw:id %draw-shape-id;>
  706. <!ATTLIST dr3d:cube %draw-end-position; >
  707. <!ATTLIST dr3d:cube %table-background; >
  708. <!ATTLIST dr3d:cube %draw-style-name; >
  709. <!ATTLIST dr3d:cube draw:layer %layerName; #IMPLIED>
  710.  
  711. <!ELEMENT dr3d:sphere EMPTY>
  712. <!ATTLIST dr3d:sphere dr3d:transform CDATA #IMPLIED>
  713. <!ATTLIST dr3d:sphere dr3d:center %vector3D; #IMPLIED>
  714. <!ATTLIST dr3d:sphere dr3d:size %vector3D; #IMPLIED>
  715. <!ATTLIST dr3d:sphere %zindex;>
  716. <!ATTLIST dr3d:sphere draw:id %draw-shape-id;>
  717. <!ATTLIST dr3d:sphere %draw-end-position; >
  718. <!ATTLIST dr3d:sphere %table-background; >
  719. <!ATTLIST dr3d:sphere %draw-style-name; >
  720. <!ATTLIST dr3d:sphere draw:layer %layerName; #IMPLIED>
  721.  
  722. <!ELEMENT dr3d:extrude EMPTY>
  723. <!ATTLIST dr3d:extrude dr3d:transform CDATA #IMPLIED>
  724. <!ATTLIST dr3d:extrude %draw-viewbox;>
  725. <!ATTLIST dr3d:extrude svg:d %pathData; #REQUIRED >
  726. <!ATTLIST dr3d:extrude %zindex;>
  727. <!ATTLIST dr3d:extrude draw:id %draw-shape-id;>
  728. <!ATTLIST dr3d:extrude %draw-end-position; >
  729. <!ATTLIST dr3d:extrude %table-background; >
  730. <!ATTLIST dr3d:extrude %draw-style-name; >
  731. <!ATTLIST dr3d:extrude draw:layer %layerName; #IMPLIED>
  732.  
  733. <!ELEMENT dr3d:rotate EMPTY>
  734. <!ATTLIST dr3d:rotate dr3d:transform CDATA #IMPLIED>
  735. <!ATTLIST dr3d:rotate %draw-viewbox;>
  736. <!ATTLIST dr3d:rotate svg:d %pathData; #REQUIRED >
  737. <!ATTLIST dr3d:rotate %zindex;>
  738. <!ATTLIST dr3d:rotate draw:id %draw-shape-id;>
  739. <!ATTLIST dr3d:rotate %draw-end-position; >
  740. <!ATTLIST dr3d:rotate %table-background; >
  741. <!ATTLIST dr3d:rotate %draw-style-name; >
  742. <!ATTLIST dr3d:rotate draw:layer %layerName; #IMPLIED>
  743.  
  744. <!ELEMENT dr3d:scene (dr3d:light*,(%shapes3d;)*)>
  745. <!ATTLIST dr3d:scene %draw-style-name; >
  746. <!ATTLIST dr3d:scene svg:x %coordinate; #IMPLIED>
  747. <!ATTLIST dr3d:scene svg:y %coordinate; #IMPLIED>
  748. <!ATTLIST dr3d:scene svg:width %length; #IMPLIED>
  749. <!ATTLIST dr3d:scene svg:height %length; #IMPLIED>
  750. <!ATTLIST dr3d:scene dr3d:vrp %vector3D; #IMPLIED>
  751. <!ATTLIST dr3d:scene dr3d:vpn %vector3D; #IMPLIED>
  752. <!ATTLIST dr3d:scene dr3d:vup %vector3D; #IMPLIED>
  753. <!ATTLIST dr3d:scene dr3d:projection (parallel|perspective) #IMPLIED>
  754. <!ATTLIST dr3d:scene dr3d:transform CDATA #IMPLIED>
  755. <!ATTLIST dr3d:scene dr3d:distance %length; #IMPLIED>
  756. <!ATTLIST dr3d:scene dr3d:focal-length %length; #IMPLIED>
  757. <!ATTLIST dr3d:scene dr3d:shadow-slant %nonNegativeInteger; #IMPLIED>
  758. <!ATTLIST dr3d:scene dr3d:shade-mode (flat|phong|gouraud|draft) #IMPLIED>
  759. <!ATTLIST dr3d:scene dr3d:ambient-color %color; #IMPLIED>
  760. <!ATTLIST dr3d:scene dr3d:lighting-mode %boolean; #IMPLIED>
  761. <!ATTLIST dr3d:scene %zindex;>
  762. <!ATTLIST dr3d:scene draw:id %draw-shape-id;>
  763. <!ATTLIST dr3d:scene %draw-end-position; >
  764. <!ATTLIST dr3d:scene %table-background; >
  765.  
  766. <!-- layer -->
  767.  
  768. <!ELEMENT draw:layer-set (draw:layer*)>
  769.  
  770. <!ELEMENT draw:layer EMPTY>
  771. <!ATTLIST draw:layer draw:name %layerName; #REQUIRED>
  772.  
  773. <!-- events -->
  774. <!ELEMENT presentation:event (presentation:sound)?>
  775. <!ATTLIST presentation:event %event-name;>
  776. <!ATTLIST presentation:event presentation:action (none|previous-page|next-page|first-page|last-page|hide|stop|execute|show|verb|fade-out|sound) #REQUIRED>
  777. <!ATTLIST presentation:event presentation:effect %presentationEffects; "none">
  778. <!ATTLIST presentation:event presentation:direction %presentationEffectDirections; "none">
  779. <!ATTLIST presentation:event presentation:speed %presentationSpeeds; "medium">
  780. <!ATTLIST presentation:event presentation:start-scale %percentage; "100%">
  781. <!ATTLIST presentation:event xlink:href %uriReference; #IMPLIED>
  782. <!ATTLIST presentation:event xlink:type (simple) #IMPLIED>
  783. <!ATTLIST presentation:event xlink:show (embed) #IMPLIED>
  784. <!ATTLIST presentation:event xlink:actuate (onRequest) #IMPLIED>
  785. <!ATTLIST presentation:event presentation:verb %nonNegativeInteger; #IMPLIED>
  786.  
  787. <!-- applets -->
  788. <!ELEMENT draw:applet (draw:thumbnail?, draw:param*, svg:desc?)>
  789. <!ATTLIST draw:applet xlink:href %uriReference; #IMPLIED>
  790. <!ATTLIST draw:applet xlink:type (simple) #IMPLIED>
  791. <!ATTLIST draw:applet xlink:show (embed) #IMPLIED>
  792. <!ATTLIST draw:applet xlink:actuate (onLoad) #IMPLIED>
  793. <!ATTLIST draw:applet draw:code CDATA #REQUIRED>
  794. <!ATTLIST draw:applet draw:object CDATA #IMPLIED>
  795. <!ATTLIST draw:applet draw:archive CDATA #IMPLIED>
  796. <!ATTLIST draw:applet draw:may-script %boolean; "false">
  797. <!ATTLIST draw:applet draw:name CDATA #IMPLIED>
  798. <!ATTLIST draw:applet %draw-style-name;>
  799. <!ATTLIST draw:applet svg:width %lengthOrPercentage; #IMPLIED>
  800. <!ATTLIST draw:applet svg:height %lengthOrPercentage; #IMPLIED>
  801. <!ATTLIST draw:applet %zindex;>
  802. <!ATTLIST draw:applet draw:layer %layerName; #IMPLIED>
  803. <!ATTLIST draw:applet %draw-position;>
  804. <!ATTLIST draw:applet %draw-end-position; >
  805.  
  806. <!-- plugins -->
  807. <!ELEMENT draw:plugin (draw:thumbnail?, draw:param*, svg:desc?)>
  808. <!ATTLIST draw:plugin xlink:href %uriReference; #IMPLIED>
  809. <!ATTLIST draw:plugin xlink:type (simple) #IMPLIED>
  810. <!ATTLIST draw:plugin xlink:show (embed) #IMPLIED>
  811. <!ATTLIST draw:plugin xlink:actuate (onLoad) #IMPLIED>
  812. <!ATTLIST draw:plugin draw:mime-type CDATA #IMPLIED>
  813. <!ATTLIST draw:plugin draw:name CDATA #IMPLIED>
  814. <!ATTLIST draw:plugin %draw-style-name;>
  815. <!ATTLIST draw:plugin svg:width %lengthOrPercentage; #IMPLIED>
  816. <!ATTLIST draw:plugin svg:height %lengthOrPercentage; #IMPLIED>
  817. <!ATTLIST draw:plugin %zindex;>
  818. <!ATTLIST draw:plugin draw:layer %layerName; #IMPLIED>
  819. <!ATTLIST draw:plugin %draw-position;>
  820. <!ATTLIST draw:plugin %draw-end-position; >
  821.  
  822. <!-- Paramaters -->
  823. <!ELEMENT draw:param EMPTY>
  824. <!ATTLIST draw:param draw:name CDATA #IMPLIED>
  825. <!ATTLIST draw:param draw:value CDATA #IMPLIED>
  826.  
  827. <!-- Floating Frames -->
  828. <!ELEMENT draw:floating-frame (draw:thumbnail?, svg:desc?)>
  829. <!ATTLIST draw:floating-frame xlink:href %uriReference; #IMPLIED>
  830. <!ATTLIST draw:floating-frame xlink:type (simple) #IMPLIED>
  831. <!ATTLIST draw:floating-frame xlink:show (embed) #IMPLIED>
  832. <!ATTLIST draw:floating-frame xlink:actuate (onLoad) #IMPLIED>
  833. <!ATTLIST draw:floating-frame draw:name CDATA #IMPLIED>
  834. <!ATTLIST draw:floating-frame draw:frame-name CDATA #IMPLIED>
  835. <!ATTLIST draw:floating-frame %draw-style-name;>
  836. <!ATTLIST draw:floating-frame svg:width %lengthOrPercentage; #IMPLIED>
  837. <!ATTLIST draw:floating-frame svg:height %lengthOrPercentage; #IMPLIED>
  838. <!ATTLIST draw:floating-frame %zindex;>
  839. <!ATTLIST draw:floating-frame draw:layer %layerName; #IMPLIED>
  840. <!ATTLIST draw:floating-frame %draw-position;>
  841. <!ATTLIST draw:floating-frame %draw-end-position; >
  842.  
  843. <!-- Image Maps -->
  844. <!ELEMENT draw:image-map
  845.     (draw:area-rectangle|draw:area-circle|draw:area-polygon)*>
  846.  
  847. <!ELEMENT draw:area-rectangle (svg:desc?,office:events?)>
  848. <!ATTLIST draw:area-rectangle xlink:href %uriReference; #IMPLIED>
  849. <!ATTLIST draw:area-rectangle xlink:type (simple) #IMPLIED>
  850. <!ATTLIST draw:area-rectangle office:target-frame-name CDATA #IMPLIED>
  851. <!ATTLIST draw:area-rectangle xlink:show (new|replace) #IMPLIED>
  852. <!ATTLIST draw:area-rectangle office:name CDATA #IMPLIED>
  853. <!ATTLIST draw:area-rectangle draw:nohref (nohref) #IMPLIED>
  854. <!ATTLIST draw:area-rectangle svg:x %coordinate; #REQUIRED>
  855. <!ATTLIST draw:area-rectangle svg:y %coordinate; #REQUIRED>
  856. <!ATTLIST draw:area-rectangle svg:width %coordinate; #REQUIRED>
  857. <!ATTLIST draw:area-rectangle svg:height %coordinate; #REQUIRED>
  858.  
  859. <!ELEMENT draw:area-circle (svg:desc?,office:events?)>
  860. <!ATTLIST draw:area-circle xlink:href %uriReference; #IMPLIED>
  861. <!ATTLIST draw:area-circle xlink:type (simple) #IMPLIED>
  862. <!ATTLIST draw:area-circle office:target-frame-name CDATA #IMPLIED>
  863. <!ATTLIST draw:area-circle xlink:show (new|replace) #IMPLIED>
  864. <!ATTLIST draw:area-circle office:name CDATA #IMPLIED>
  865. <!ATTLIST draw:area-circle draw:nohref (nohref) #IMPLIED>
  866. <!ATTLIST draw:area-circle svg:cx %coordinate; #REQUIRED>
  867. <!ATTLIST draw:area-circle svg:cy %coordinate; #REQUIRED>
  868. <!ATTLIST draw:area-circle svg:r %coordinate; #REQUIRED>
  869.  
  870. <!ELEMENT draw:area-polygon (svg:desc?,office:events?)>
  871. <!ATTLIST draw:area-polygon xlink:href %uriReference; #IMPLIED>
  872. <!ATTLIST draw:area-polygon xlink:type (simple) #IMPLIED>
  873. <!ATTLIST draw:area-polygon office:target-frame-name CDATA #IMPLIED>
  874. <!ATTLIST draw:area-polygon xlink:show (new|replace) #IMPLIED>
  875. <!ATTLIST draw:area-polygon office:name CDATA #IMPLIED>
  876. <!ATTLIST draw:area-polygon draw:nohref (nohref) #IMPLIED>
  877. <!ATTLIST draw:area-polygon svg:x %coordinate; #REQUIRED>
  878. <!ATTLIST draw:area-polygon svg:y %coordinate; #REQUIRED>
  879. <!ATTLIST draw:area-polygon svg:width %coordinate; #REQUIRED>
  880. <!ATTLIST draw:area-polygon svg:height %coordinate; #REQUIRED>
  881. <!ATTLIST draw:area-polygon svg:points %points; #REQUIRED>
  882. <!ATTLIST draw:area-polygon svg:viewBox CDATA #REQUIRED>
  883.