diff options
author | Carsten Driesner <cd@openoffice.org> | 2001-06-18 09:00:36 +0000 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2001-06-18 09:00:36 +0000 |
commit | cf17929ba861895591cf912f4bd13dc2de63ee66 (patch) | |
tree | 2b454cf259c3183a0cef7cb0f0773b34c5f0db29 /framework/dtd | |
parent | 1ed9b99231dcfd52b1c8515aa8fb5f484dd8776b (diff) |
added definitions for toolbar layouts
Diffstat (limited to 'framework/dtd')
-rw-r--r-- | framework/dtd/toolbar.dtd | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/framework/dtd/toolbar.dtd b/framework/dtd/toolbar.dtd index 36faabcadaab..840542b576e6 100644 --- a/framework/dtd/toolbar.dtd +++ b/framework/dtd/toolbar.dtd @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - $Id: toolbar.dtd,v 1.1 2001-06-11 09:45:12 cd Exp $ + $Id: toolbar.dtd,v 1.2 2001-06-18 10:00:36 cd Exp $ The Contents of this file are made available subject to the terms of either of the following licenses @@ -53,8 +53,10 @@ Contributor(s): _______________________________________ --> -<!ENTITY % boolean "(true|false)"> -<!ENTITY % numeric "CDATA"> +<!ENTITY % boolean "(true|false)"> +<!ENTITY % numeric "CDATA"> +<!ENTITY % alignment "(top|bottom|left|right)"> +<!ENTITY % style "(symbol|text|symboltext)"> <!ELEMENT toolbar:toolbar (toolbar:toolbaritem | toolbar:toolbarspace | toolbar:toolbarbreak | toolbar:toolbarseparator)+> <!ATTLIST toolbar:toolbar @@ -74,3 +76,30 @@ <!ELEMENT toolbar:toolbarspace EMPTY> <!ELEMENT toolbar:toolbarbreak EMPTY> <!ELEMENT toolbar:toolbarseparator EMPTY> + +<!ELEMENT toolbar:toolbarlayouts (toolbar:toolbarlayout+)> +<!ATTLIST toolbar:toolbarlayouts + xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar" +> + +<!ELEMENT toolbar:toolbarlayout (toolbar:toolbarconfigitems)> +<!ATTLIST toolbar:toolbarlayout + toolbar:id CDATA #REQUIRED + toolbar:floatingposleft %numeric; #IMPLIED + toolbar:floatingpostop %numeric; #IMPLIED + toolbar:floatinglines %numeric; #IMPLIED + toolbar:dockinglines %numeric; #IMPLIED + toolbar:align %alignment; #IMPLIED + toolbar:visible %boolean; #IMPLIED + toolbar:floating %boolean; #IMPLIED +> + +<!ELEMENT toolbar:toolbarconfigitems (toolbar:toolbarconfigitem+)> + +<!ELEMENT toolbar:toolbarconfigitem EMPTY> +<!ATTLIST toolbar:toolbarconfigitem + toolbar:context CDATA #REQUIRED + toolbar:toolbarname CDATA #REQUIRED + toolbar:visible %boolean; #IMPLIED + toolbar:style %style; #IMPLIED +> |