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