merge the formfield patch from ooo-build
[ooovba.git] / framework / dtd / toolbar.dtd
blob31620dd0dd01deea23c484f47b34db76ac1da2e8
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
4 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 Copyright 2008 by Sun Microsystems, Inc.
8 OpenOffice.org - a multi-platform office productivity suite
10 $RCSfile: toolbar.dtd,v $
12 $Revision: 1.9 $
14 This file is part of OpenOffice.org.
16 OpenOffice.org is free software: you can redistribute it and/or modify
17 it under the terms of the GNU Lesser General Public License version 3
18 only, as published by the Free Software Foundation.
20 OpenOffice.org is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU Lesser General Public License version 3 for more details
24 (a copy is included in the LICENSE file that accompanied this code).
26 You should have received a copy of the GNU Lesser General Public License
27 version 3 along with OpenOffice.org. If not, see
28 <http://www.openoffice.org/license.html>
29 for a copy of the LGPLv3 License.
31 -->
32 <!ENTITY % boolean "(true|false)">
33 <!ENTITY % numeric "CDATA">
34 <!ENTITY % alignment "(top|bottom|left|right)">
35 <!ENTITY % style "(symbol|text|symboltext)">
36 <!ELEMENT toolbar:toolbar (toolbar:toolbaritem | toolbar:toolbarspace | toolbar:toolbarbreak | toolbar:toolbarseparator)*>
37 <!ATTLIST toolbar:toolbar
38 xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar"
39 xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
41 <!ELEMENT toolbar:toolbaritem EMPTY>
42 <!ATTLIST toolbar:toolbaritem
43 xlink:href CDATA #REQUIRED
44 toolbar:visible %boolean; "true"
45 toolbar:userdefined %boolean; "false"
46 toolbar:text CDATA #IMPLIED
47 toolbar:width %numeric; "0"
48 toolbar:style CDATA #IMPLIED
49 toolbar:bitmap CDATA #IMPLIED
50 toolbar:helpid CDATA #IMPLIED
52 <!ELEMENT toolbar:toolbarspace EMPTY>
53 <!ELEMENT toolbar:toolbarbreak EMPTY>
54 <!ELEMENT toolbar:toolbarseparator EMPTY>
55 <!ELEMENT toolbar:toolbarlayouts (toolbar:toolbarlayout*)>
56 <!ATTLIST toolbar:toolbarlayouts
57 xmlns:toolbar CDATA #FIXED "http://openoffice.org/2001/toolbar"
59 <!ELEMENT toolbar:toolbarlayout EMPTY>
60 <!ATTLIST toolbar:toolbarlayout
61 toolbar:id CDATA #REQUIRED
62 toolbar:floatingposleft %numeric; #IMPLIED
63 toolbar:floatingpostop %numeric; #IMPLIED
64 toolbar:floatinglines %numeric; "0"
65 toolbar:dockinglines %numeric; "1"
66 toolbar:align %alignment; "left"
67 toolbar:visible %boolean; "false"
68 toolbar:floating %boolean; "false"
69 toolbar:style %style; "symbol"
70 toolbar:userdefname CDATA #IMPLIED