update dev300-m58
[ooovba.git] / xmloff / dtd / script.mod
blob1c08995c822c03118eb0c8fc57fed3efd58d8482
1 <!--
3 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 Copyright 2008 by Sun Microsystems, Inc.
7 OpenOffice.org - a multi-platform office productivity suite
9 $RCSfile: script.mod,v $
11 $Revision: 1.11 $
13 This file is part of OpenOffice.org.
15 OpenOffice.org is free software: you can redistribute it and/or modify
16 it under the terms of the GNU Lesser General Public License version 3
17 only, as published by the Free Software Foundation.
19 OpenOffice.org is distributed in the hope that it will be useful,
20 but WITHOUT ANY WARRANTY; without even the implied warranty of
21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 GNU Lesser General Public License version 3 for more details
23 (a copy is included in the LICENSE file that accompanied this code).
25 You should have received a copy of the GNU Lesser General Public License
26 version 3 along with OpenOffice.org. If not, see
27 <http://www.openoffice.org/license.html>
28 for a copy of the LGPLv3 License.
30 -->
32 <!ELEMENT script:libraries (script:library-embedded | script:library-linked)*>
33 <!ATTLIST script:libraries xmlns:script CDATA #FIXED "http://openoffice.org/2000/script">
34 <!ATTLIST script:libraries xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
36 <!ENTITY % boolean "(true|false)">
38 <!ELEMENT script:library-embedded (script:module*)>
39 <!ATTLIST script:library-embedded script:name %string; #REQUIRED>
40 <!ATTLIST script:library-embedded script:readonly %boolean; #IMPLIED>
42 <!ELEMENT script:library-linked EMPTY>
43 <!ATTLIST script:library-linked script:name %string; #REQUIRED>
44 <!ATTLIST script:library-linked xlink:href %string; #REQUIRED>
45 <!ATTLIST script:library-linked xlink:type (simple) #FIXED "simple">
46 <!ATTLIST script:library-linked script:readonly %boolean; #IMPLIED>
48 <!ELEMENT script:module (script:source-code)>
49 <!ATTLIST script:module script:name %string; #REQUIRED>
51 <!ELEMENT script:source-code (#PCDATA)>
54 <!ENTITY % script-language "script:language %string; #REQUIRED">
55 <!ENTITY % event-name "script:event-name %string; #REQUIRED">
56 <!ENTITY % location "script:location (document|application) #REQUIRED">
57 <!ENTITY % macro-name "script:macro-name %string; #REQUIRED">
59 <!ELEMENT script:event (#PCDATA)>
60 <!ATTLIST script:event %script-language;
61 %event-name;
62 %location;
63 %macro-name;>