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