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