xref: /aoo4110/main/framework/dtd/toolbar.dtd (revision b1cdbd2c)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!ENTITY % boolean "(true|false)">
25<!ENTITY % numeric "CDATA">
26<!ENTITY % alignment "(top|bottom|left|right)">
27<!ENTITY % style "(symbol|text|symboltext)">
28<!ELEMENT toolbar:toolbar (toolbar:toolbaritem | toolbar:toolbarspace | toolbar:toolbarbreak | toolbar:toolbarseparator)*>
29<!ATTLIST toolbar:toolbar
30	xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar"
31	xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
32>
33<!ELEMENT toolbar:toolbaritem EMPTY>
34<!ATTLIST toolbar:toolbaritem
35	xlink:href CDATA #REQUIRED
36	toolbar:visible %boolean; "true"
37	toolbar:userdefined %boolean; "false"
38	toolbar:text CDATA #IMPLIED
39	toolbar:width %numeric; "0"
40	toolbar:style CDATA #IMPLIED
41	toolbar:bitmap CDATA #IMPLIED
42	toolbar:helpid CDATA #IMPLIED
43>
44<!ELEMENT toolbar:toolbarspace EMPTY>
45<!ELEMENT toolbar:toolbarbreak EMPTY>
46<!ELEMENT toolbar:toolbarseparator EMPTY>
47<!ELEMENT toolbar:toolbarlayouts (toolbar:toolbarlayout*)>
48<!ATTLIST toolbar:toolbarlayouts
49	xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar"
50>
51<!ELEMENT toolbar:toolbarlayout EMPTY>
52<!ATTLIST toolbar:toolbarlayout
53	toolbar:id CDATA #REQUIRED
54	toolbar:floatingposleft %numeric; #IMPLIED
55	toolbar:floatingpostop %numeric; #IMPLIED
56	toolbar:floatinglines %numeric; "0"
57	toolbar:dockinglines %numeric; "1"
58	toolbar:align %alignment; "left"
59	toolbar:visible %boolean; "false"
60	toolbar:floating %boolean; "false"
61	toolbar:style %style; "symbol"
62	toolbar:userdefname CDATA #IMPLIED
63>
64