1<!--*********************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 ***********************************************************--> 21 22 23 24<!ELEMENT script:libraries (script:library-embedded | script:library-linked)*> 25<!ATTLIST script:libraries xmlns:script CDATA #FIXED "http://openoffice.org/2000/script"> 26<!ATTLIST script:libraries xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink"> 27 28<!ENTITY % boolean "(true|false)"> 29 30<!ELEMENT script:library-embedded (script:module*)> 31<!ATTLIST script:library-embedded script:name %string; #REQUIRED> 32<!ATTLIST script:library-embedded script:readonly %boolean; #IMPLIED> 33 34<!ELEMENT script:library-linked EMPTY> 35<!ATTLIST script:library-linked script:name %string; #REQUIRED> 36<!ATTLIST script:library-linked xlink:href %string; #REQUIRED> 37<!ATTLIST script:library-linked xlink:type (simple) #FIXED "simple"> 38<!ATTLIST script:library-linked script:readonly %boolean; #IMPLIED> 39 40<!ELEMENT script:module (script:source-code)> 41<!ATTLIST script:module script:name %string; #REQUIRED> 42 43<!ELEMENT script:source-code (#PCDATA)> 44 45 46<!ENTITY % script-language "script:language %string; #REQUIRED"> 47<!ENTITY % event-name "script:event-name %string; #REQUIRED"> 48<!ENTITY % location "script:location (document|application) #REQUIRED"> 49<!ENTITY % macro-name "script:macro-name %string; #REQUIRED"> 50 51<!ELEMENT script:event (#PCDATA)> 52<!ATTLIST script:event %script-language; 53 %event-name; 54 %location; 55 %macro-name;> 56