summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-01-30 12:55:21 +0000
committerChristian Lippka <cl@openoffice.org>2001-01-30 12:55:21 +0000
commit5a27ade00dadd54202c73a5006b98d5c2cdabb4b (patch)
tree0c7bb96d0487650e263284800e842491905dc25f
parentf1f6bd0934246eb34ac233a852546868f4a980b8 (diff)
added layer and text animation
-rw-r--r--xmloff/dtd/chart.mod3
-rw-r--r--xmloff/dtd/drawing.mod25
-rw-r--r--xmloff/dtd/office.mod4
-rw-r--r--xmloff/dtd/style.mod8
4 files changed, 35 insertions, 5 deletions
diff --git a/xmloff/dtd/chart.mod b/xmloff/dtd/chart.mod
index 8916a6d317c4..c8290fe1b895 100644
--- a/xmloff/dtd/chart.mod
+++ b/xmloff/dtd/chart.mod
@@ -1,5 +1,5 @@
<!--
- $Id: chart.mod,v 1.11 2000-12-19 14:43:37 cl Exp $
+ $Id: chart.mod,v 1.12 2001-01-30 13:55:21 cl Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -74,6 +74,7 @@
<!ATTLIST chart:chart %zindex;>
<!ATTLIST chart:chart %draw-end-position; >
<!ATTLIST chart:chart draw:id %shapeId;>
+<!ATTLIST chart:chart draw:layer %layerName; #IMPLIED>
<!ATTLIST style:properties
chart:scale-text %boolean; "true"
diff --git a/xmloff/dtd/drawing.mod b/xmloff/dtd/drawing.mod
index 644d3c5b4ca1..b489145878ce 100644
--- a/xmloff/dtd/drawing.mod
+++ b/xmloff/dtd/drawing.mod
@@ -1,5 +1,5 @@
<!--
- $Id: drawing.mod,v 1.29 2001-01-30 08:01:45 mib Exp $
+ $Id: drawing.mod,v 1.30 2001-01-30 13:55:21 cl Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -69,6 +69,7 @@
<!ENTITY % rectanglePoint "(top-left|top|top-right|left|center|right|bottom-left|bottom|bottom-right)">
<!ENTITY % vector3D "CDATA">
<!ENTITY % text-anchor "text:anchor-type %anchorType; #IMPLIED text:anchor-page-number %positiveInteger; #IMPLIED">
+<!ENTITY % layerName "CDATA">
<!-- commont presentation shape attributes -->
<!ENTITY % presentation-style-name "presentation:style-name %styleName; #IMPLIED">
@@ -90,6 +91,7 @@
<!ATTLIST draw:rect %zindex;>
<!ATTLIST draw:rect draw:id %shapeId;>
<!ATTLIST draw:rect %text-anchor;>
+<!ATTLIST draw:rect draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:line %draw-text;>
<!ATTLIST draw:line svg:x1 %length; #REQUIRED>
@@ -102,6 +104,7 @@
<!ATTLIST draw:line %draw-end-position; >
<!ATTLIST draw:line draw:id %shapeId;>
<!ATTLIST draw:line %text-anchor;>
+<!ATTLIST draw:line draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:polyline %draw-text; >
<!ATTLIST draw:polyline %draw-position; >
@@ -114,6 +117,7 @@
<!ATTLIST draw:polyline %draw-end-position; >
<!ATTLIST draw:polyline draw:id %shapeId;>
<!ATTLIST draw:polyline %text-anchor;>
+<!ATTLIST draw:polyline draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:polygon %draw-text; >
<!ATTLIST draw:polygon %draw-position; >
@@ -126,6 +130,7 @@
<!ATTLIST draw:polygon %zindex;>
<!ATTLIST draw:polygon draw:id %shapeId;>
<!ATTLIST draw:polygon %text-anchor;>
+<!ATTLIST draw:polygon draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:path %draw-text; >
<!ATTLIST draw:path %draw-position;>
@@ -138,6 +143,7 @@
<!ATTLIST draw:path %zindex;>
<!ATTLIST draw:path draw:id %shapeId;>
<!ATTLIST draw:path %text-anchor;>
+<!ATTLIST draw:path draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:circle %draw-text; >
<!ATTLIST draw:circle svg:cx %length; #REQUIRED >
@@ -152,6 +158,7 @@
<!ATTLIST draw:circle draw:start-angle %nonNegativeInteger; #IMPLIED>
<!ATTLIST draw:circle draw:end-angle %nonNegativeInteger; #IMPLIED>
<!ATTLIST draw:circle %text-anchor;>
+<!ATTLIST draw:circle draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:ellipse %draw-text; >
<!ATTLIST draw:ellipse svg:cx %length; #REQUIRED >
@@ -167,6 +174,7 @@
<!ATTLIST draw:ellipse draw:start-angle %nonNegativeInteger; #IMPLIED>
<!ATTLIST draw:ellipse draw:end-angle %nonNegativeInteger; #IMPLIED>
<!ATTLIST draw:ellipse %text-anchor;>
+<!ATTLIST draw:ellipse draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:connector %draw-text;>
<!ATTLIST draw:connector draw:type (standard|lines|line|curve) "standard">
@@ -184,6 +192,7 @@
<!ATTLIST draw:connector %draw-end-position; >
<!ATTLIST draw:connector draw:id %shapeId;>
<!ATTLIST draw:connector %text-anchor;>
+<!ATTLIST draw:connector draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:control EMPTY>
<!ATTLIST draw:control %draw-style-name;>
@@ -194,6 +203,7 @@
<!ATTLIST draw:control %draw-end-position; >
<!ATTLIST draw:control draw:id %shapeId;>
<!ATTLIST draw:control %text-anchor;>
+<!ATTLIST draw:control draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:g (%shapes;)* >
<!ATTLIST draw:g %draw-transform; >
@@ -201,6 +211,7 @@
<!ATTLIST draw:g %draw-end-position; >
<!ATTLIST draw:g draw:id %shapeId;>
<!ATTLIST draw:g %text-anchor;>
+<!ATTLIST draw:g draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:page-thumbnail EMPTY>
<!ATTLIST draw:page-thumbnail %draw-position; >
@@ -211,6 +222,7 @@
<!ATTLIST draw:page-thumbnail %draw-end-position; >
<!ATTLIST draw:page-thumbnail draw:id %shapeId;>
<!ATTLIST draw:page-thumbnail %text-anchor;>
+<!ATTLIST draw:page-thumbnail draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:caption %draw-text;>
<!ATTLIST draw:caption %draw-position; >
@@ -223,6 +235,7 @@
<!ATTLIST draw:caption %zindex;>
<!ATTLIST draw:caption draw:id %shapeId;>
<!ATTLIST draw:caption %text-anchor;>
+<!ATTLIST draw:caption draw:layer %layerName; #IMPLIED>
<!ELEMENT draw:measure %draw-text;>
<!ATTLIST draw:measure svg:x1 %coordinate; #REQUIRED>
@@ -235,6 +248,7 @@
<!ATTLIST draw:measure %zindex;>
<!ATTLIST draw:measure draw:id %shapeId;>
<!ATTLIST draw:measure %text-anchor;>
+<!ATTLIST draw:measure draw:layer %layerName; #IMPLIED>
<!-- graphic style elements -->
<!ELEMENT draw:gradient EMPTY >
@@ -450,6 +464,7 @@
<!ATTLIST draw:text-box %presentation-class; >
<!ATTLIST draw:text-box %draw-transform; >
<!ATTLIST draw:text-box draw:id %shapeId;>
+<!ATTLIST draw:text-box draw:layer %layerName; #IMPLIED>
<!-- image -->
<!ELEMENT draw:image (svg:desc?,(draw:contour-polygon|draw:contour-path)?)>
@@ -615,3 +630,11 @@
<!ATTLIST dr3d:scene draw:id %shapeId;>
<!ATTLIST dr3d:scene %draw-end-position; >
+<!ELEMENT draw:layer-set (draw:layer*)>
+
+<!ELEMENT draw:layer EMPTY>
+<!ATTLIST draw:layer draw:name %layerName; #REQUIRED>
+<!ATTLIST draw:layer draw:locked %boolean; #IMPLIED>
+<!ATTLIST draw:layer draw:printable %boolean; #IMPLIED>
+<!ATTLIST draw:layer draw:visible %boolean; #IMPLIED>
+
diff --git a/xmloff/dtd/office.mod b/xmloff/dtd/office.mod
index 8c1f174bcc92..977946e97f77 100644
--- a/xmloff/dtd/office.mod
+++ b/xmloff/dtd/office.mod
@@ -1,5 +1,5 @@
<!--
- $Id: office.mod,v 1.26 2001-01-25 14:05:35 dvo Exp $
+ $Id: office.mod,v 1.27 2001-01-30 13:55:21 cl Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -132,7 +132,7 @@
<!ELEMENT office:automatic-styles (%styles;|style:page-master)*>
-<!ELEMENT office:master-styles (style:master-page)* >
+<!ELEMENT office:master-styles (draw:layer-set?,style:master-page*) >
<!ENTITY % text-decls "text:variable-decls?, text:sequence-decls?,
text:user-field-decls?, text:dde-connection-decls?" >
diff --git a/xmloff/dtd/style.mod b/xmloff/dtd/style.mod
index 3e46253a8087..e4b5a7ef7ffb 100644
--- a/xmloff/dtd/style.mod
+++ b/xmloff/dtd/style.mod
@@ -1,5 +1,5 @@
<!--
- $Id: style.mod,v 1.24 2001-01-18 14:40:19 cl Exp $
+ $Id: style.mod,v 1.25 2001-01-30 13:55:21 cl Exp $
The Contents of this file are made available subject to the terms of
either of the following licenses
@@ -130,6 +130,12 @@
<!ATTLIST style:properties style:editable %boolean; #IMPLIED>
<!ATTLIST style:properties style:mirror CDATA #IMPLIED>
<!ATTLIST style:properties fo:clip CDATA #IMPLIED>
+<!ATTLIST style:properties text:animation (none|scroll|alternate|slide) #IMPLIED>
+<!ATTLIST style:properties text:animation-direction (left|right|up|down) #IMPLIED>
+<!ATTLIST style:properties text:animation-start-inside %boolean; #IMPLIED>
+<!ATTLIST style:properties text:animation-stop-inside %boolean; #IMPLIED>
+<!ATTLIST style:properties text:animation-repeat %integer; #IMPLIED>
+<!ATTLIST style:properties text:animation-delay %timeDuration; #IMPLIED>
<!-- text properties -->
<!ATTLIST style:properties fo:font-variant (normal|small-caps) #IMPLIED>