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