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