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