merge the formfield patch from ooo-build
[ooovba.git] / framework / dtd / menubar.dtd
blob545d40f0cc742cf2c18e524d3c0f3f82089c96a6
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: menubar.dtd,v $
12 $Revision: 1.3 $
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 -->
33 <!ELEMENT menu:menubar (menu:menu+)>
34 <!ELEMENT menu:menu (menu:menupopup)>
35 <!ELEMENT menu:menupopup (menu:menuitem | menu:menuseparator | menu:menu)+>
36 <!ELEMENT menu:menuseparator EMPTY>
37 <!ELEMENT menu:menuitem EMPTY>
38 <!ATTLIST menu:menubar
39 menu:id CDATA #REQUIRED
40 xmlns:menu CDATA #FIXED "http://openoffice.org/2001/menu"
42 <!ATTLIST menu:menu
43 menu:id CDATA #REQUIRED
44 menu:label CDATA #IMPLIED
46 <!ATTLIST menu:menuitem
47 menu:id CDATA #REQUIRED
48 menu:helpid CDATA #IMPLIED
49 menu:label CDATA #IMPLIED