source: osm/applications/editors/josm/plugins/opendata/includes/org/jopendocument/dom/oofficeDTDs/drawing.mod@ 28000

Last change on this file since 28000 was 28000, checked in by donvip, 12 years ago

Import new "opendata" JOSM plugin

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