summaryrefslogtreecommitdiff
path: root/xmloff/dtd/drawing.mod
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2000-11-29 10:41:58 +0000
committerChristian Lippka <cl@openoffice.org>2000-11-29 10:41:58 +0000
commitbda765d6c60dadf29b51fad13b1d5f3b5ec59486 (patch)
treef7badbd224c93a8177fef9df48772adedddb9c67 /xmloff/dtd/drawing.mod
parente3639fe156e2e135d6f6d7fc8b383a3d02518474 (diff)
#80834# fixed dtd for line-dashes
Diffstat (limited to 'xmloff/dtd/drawing.mod')
-rw-r--r--xmloff/dtd/drawing.mod24
1 files changed, 17 insertions, 7 deletions
diff --git a/xmloff/dtd/drawing.mod b/xmloff/dtd/drawing.mod
index 79cf3428634e..2a1ccf689e6d 100644
--- a/xmloff/dtd/drawing.mod
+++ b/xmloff/dtd/drawing.mod
@@ -1,5 +1,5 @@
<!--
- $Id: drawing.mod,v 1.12 2000-11-26 19:54:15 cl Exp $
+ $Id: drawing.mod,v 1.13 2000-11-29 11:41:58 cl Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -65,6 +65,7 @@
<!ENTITY % shapeId "CDATA" >
<!ENTITY % draw-text "(text:p|text:unordered-list|text:ordered-list)*">
<!ENTITY % zindex "draw:z-index %nonNegativeInteger; #IMPLIED">
+<!ENTITY % distance "CDATA">
<!-- commont presentation shape attributes -->
<!ENTITY % presentation-style-name "presentation:style-name %styleName; #IMPLIED">
@@ -142,7 +143,7 @@
<!ATTLIST draw:ellipse %draw-end-position; >
<!ELEMENT draw:connector %draw-text;>
-<!ATTLIST draw:connector draw:type draw:type (standard|lines|line|curve) "standard">
+<!ATTLIST draw:connector draw:type (standard|lines|line|curve) "standard">
<!ATTLIST draw:connector draw:line-skew CDATA #IMPLIED>
<!ATTLIST draw:connector %draw-style-name;>
<!ATTLIST draw:connector svg:x1 %coordinate; #REQUIRED>
@@ -229,13 +230,22 @@
<!ATTLIST draw:transparency draw:border %percentage; #IMPLIED>
<!ELEMENT draw:marker EMPTY>
-<!ATTLIST draw:marker draw:name %styleName; #IMPLIED>
+<!ATTLIST draw:marker draw:name %styleName; #REQUIRED>
<!ATTLIST draw:marker %draw-viewbox; >
<!ATTLIST draw:marker svg:d %pathData; #REQUIRED>
+<!ELEMENT draw:stroke-dash EMPTY>
+<!ATTLIST draw:stroke-dash draw:name %styleName; #REQUIRED>
+<!ATTLIST draw:stroke-dash draw:style (rect|round) #IMPLIED>
+<!ATTLIST draw:stroke-dash draw:dots1 %integer; #IMPLIED>
+<!ATTLIST draw:stroke-dash draw:dots1-length %length; #IMPLIED>
+<!ATTLIST draw:stroke-dash draw:dots2 %integer; #IMPLIED>
+<!ATTLIST draw:stroke-dash draw:dots2-length %length; #IMPLIED>
+<!ATTLIST draw:stroke-dash draw:distance %length; #IMPLIED>
+
<!-- stroke attributes -->
<!ATTLIST style:properties draw:stroke (none|dash|solid) #IMPLIED>
-<!ATTLIST style:properties svg:stroke-dasharray CDATA #IMPLIED>
+<!ATTLIST style:properties draw:stroke-dash CDATA #IMPLIED>
<!ATTLIST style:properties svg:stroke-width %length; #IMPLIED>
<!ATTLIST style:properties svg:stroke-color %color; #IMPLIED>
<!ATTLIST style:properties draw:marker-start %styleName; #IMPLIED>
@@ -281,8 +291,8 @@
<!ATTLIST style:properties draw:shadow-transparency CDATA #IMPLIED>
<!-- connector attributes -->
-<!ATTLIST style:properties draw:end-line-spacing-horizontal %distance; #IMPLIED>
-<!ATTLIST style:properties draw:end-line-spacing-vertical %distance; #IMPLIED>
+<!ATTLIST style:properties draw:start-line-spacing-horizontal %distance; #IMPLIED>
+<!ATTLIST style:properties draw:start-line-spacing-vertical %distance; #IMPLIED>
<!ATTLIST style:properties draw:end-line-spacing-horizontal %distance; #IMPLIED>
<!ATTLIST style:properties draw:end-line-spacing-vertical %distance; #IMPLIED>
@@ -294,7 +304,7 @@
<!ATTLIST style:properties draw:end-guide %distance; #IMPLIED>
<!ATTLIST style:properties draw:placing (below|atop) #IMPLIED>
<!ATTLIST style:properties draw:parallel %boolean; #IMPLIED>
-<!ATTLIST style:properties draw:text-position-vertical (left|center|right|auto) #IMPLIED
+<!ATTLIST style:properties draw:text-position-vertical (left|center|right|auto) #IMPLIED>
<!ATTLIST style:properties draw:text-position-horizontal (top|center|bottom|auto) #IMPLIED>
<!-- Drawing page -->