merge the formfield patch from ooo-build
[ooovba.git] / framework / dtd / accelerator.dtd
blobf49ef5f840961cd182fcf3c7a7b9d04e3fe13441
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: accelerator.dtd,v $
12 $Revision: 1.4 $
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 <!ENTITY % boolean "(true|false)">
35 <!ELEMENT accel:acceleratorlist (accel:item*)>
36 <!ATTLIST accel:acceleratorlist
37 xmlns:accel CDATA #FIXED "http://openoffice.org/2001/accel"
38 xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"
41 <!ELEMENT accel:item EMPTY>
42 <!ATTLIST accel:item
43 accel:code CDATA #REQUIRED
44 accel:shift %boolean; "false"
45 accel:mod1 %boolean; "false"
46 accel:mod2 %boolean; "false"
47 xlink:href CDATA #REQUIRED