1cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*dde34420SAndrew Rist<!--*********************************************************** 3*dde34420SAndrew Rist * 4*dde34420SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 5*dde34420SAndrew Rist * or more contributor license agreements. See the NOTICE file 6*dde34420SAndrew Rist * distributed with this work for additional information 7*dde34420SAndrew Rist * regarding copyright ownership. The ASF licenses this file 8*dde34420SAndrew Rist * to you under the Apache License, Version 2.0 (the 9*dde34420SAndrew Rist * "License"); you may not use this file except in compliance 10*dde34420SAndrew Rist * with the License. You may obtain a copy of the License at 11*dde34420SAndrew Rist * 12*dde34420SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 13*dde34420SAndrew Rist * 14*dde34420SAndrew Rist * Unless required by applicable law or agreed to in writing, 15*dde34420SAndrew Rist * software distributed under the License is distributed on an 16*dde34420SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17*dde34420SAndrew Rist * KIND, either express or implied. See the License for the 18*dde34420SAndrew Rist * specific language governing permissions and limitations 19*dde34420SAndrew Rist * under the License. 20*dde34420SAndrew Rist * 21*dde34420SAndrew Rist ***********************************************************--> 22*dde34420SAndrew Rist 23*dde34420SAndrew Rist 24cdf0e10cSrcweir 25cdf0e10cSrcweir<!ELEMENT oor:component-data ((node | prop)*)> 26cdf0e10cSrcweir<!ATTLIST oor:component-data 27cdf0e10cSrcweir oor:package CDATA #REQUIRED 28cdf0e10cSrcweir oor:name CDATA #REQUIRED 29cdf0e10cSrcweir oor:op (modify | replace | fuse | remove) #IMPLIED 30cdf0e10cSrcweir oor:finalized (false | true) #IMPLIED 31cdf0e10cSrcweir xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry" 32cdf0e10cSrcweir xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema" 33cdf0e10cSrcweir xmlns:xsi CDATA #FIXED "http://www.w3.org/2001/XMLSchema-instance" 34cdf0e10cSrcweir xmlns:install CDATA #FIXED "http://openoffice.org/2004/installation"> 35cdf0e10cSrcweir 36cdf0e10cSrcweir<!ELEMENT node ((node | prop)*)> 37cdf0e10cSrcweir<!ATTLIST node 38cdf0e10cSrcweir oor:name CDATA #REQUIRED 39cdf0e10cSrcweir oor:op (modify | replace | fuse | remove) #IMPLIED 40cdf0e10cSrcweir oor:finalized (true | false) #IMPLIED 41cdf0e10cSrcweir oor:mandatory (true | false) #IMPLIED 42cdf0e10cSrcweir oor:node-type CDATA #IMPLIED 43cdf0e10cSrcweir oor:component CDATA #IMPLIED 44cdf0e10cSrcweir install:module CDATA #IMPLIED> 45cdf0e10cSrcweir 46cdf0e10cSrcweir<!ELEMENT prop (value*)> 47cdf0e10cSrcweir<!ATTLIST prop 48cdf0e10cSrcweir oor:name CDATA #REQUIRED 49cdf0e10cSrcweir oor:op (modify | replace | fuse | remove) #IMPLIED 50cdf0e10cSrcweir oor:finalized (true | false) #IMPLIED 51cdf0e10cSrcweir oor:type 52cdf0e10cSrcweir (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double | 53cdf0e10cSrcweir xs:string | xs:hexBinary | oor:boolean-list | oor:short-list | 54cdf0e10cSrcweir oor:int-list | oor:long-list | oor:double-list | oor:string-list | 55cdf0e10cSrcweir oor:hexBinary-list) 56cdf0e10cSrcweir #IMPLIED 57cdf0e10cSrcweir install:module CDATA #IMPLIED> 58cdf0e10cSrcweir 59cdf0e10cSrcweir<!ELEMENT value (#PCDATA | it | unicode)*> 60cdf0e10cSrcweir <!-- EMPTY if oor:op="remove", xsi:nil="true", or oor:external is used 61cdf0e10cSrcweir #PCDATA if the property type is a non-list type other than xs:string 62cdf0e10cSrcweir (#PCDATA | unicode)* if the property type is xs:string 63cdf0e10cSrcweir #PCDATA or it* if the property type is a list type other than 64cdf0e10cSrcweir oor:string-list 65cdf0e10cSrcweir (#PCDATA | unicode)* or it* if the property type is 66cdf0e10cSrcweir oor:string-list --> 67cdf0e10cSrcweir<!ATTLIST value 68cdf0e10cSrcweir xml:lang CDATA #IMPLIED 69cdf0e10cSrcweir oor:op (fuse | remove) #IMPLIED 70cdf0e10cSrcweir xsi:nil (true | false) #IMPLIED 71cdf0e10cSrcweir oor:type 72cdf0e10cSrcweir (xs:boolean | xs:short | xs:int | xs:long | xs:double | xs:string | 73cdf0e10cSrcweir xs:hexBinary | oor:boolean-list | oor:short-list | oor:int-list | 74cdf0e10cSrcweir oor:long-list | oor:double-list | oor:string-list | oor:hexBinary-list) 75cdf0e10cSrcweir #IMPLIED 76cdf0e10cSrcweir oor:separator CDATA #IMPLIED 77cdf0e10cSrcweir oor:external CDATA #IMPLIED 78cdf0e10cSrcweir install:module CDATA #IMPLIED> 79cdf0e10cSrcweir <!-- xml:lang must only be used for localized properties; defaults to the 80cdf0e10cSrcweir empty string 81cdf0e10cSrcweir oor:op defaults to "fuse"; "remove" must only be used for localized 82cdf0e10cSrcweir properties 83cdf0e10cSrcweir xsi:nil defaults to "false"; "true" must only be used for nillable 84cdf0e10cSrcweir properties 85cdf0e10cSrcweir oor:type is relevant for localized properties of type oor:any with 86cdf0e10cSrcweir different value types for different locales 87cdf0e10cSrcweir oor:separator must only be used if the property type is a list type 88cdf0e10cSrcweir and the element content is #PCDATA or (#PCDATA | unicode)* (and not 89cdf0e10cSrcweir EMPTY or it*) 90cdf0e10cSrcweir oor:external must only be used for non-localized properties and must 91cdf0e10cSrcweir not be used together with xsi:nil="true" --> 92cdf0e10cSrcweir 93cdf0e10cSrcweir<!ELEMENT it (#PCDATA | unicode)*> 94cdf0e10cSrcweir <!-- #PCDATA if the property type is a list type other than 95cdf0e10cSrcweir oor:string-list 96cdf0e10cSrcweir (#PCDATA | unicode)* if the property type is oor:string-list --> 97cdf0e10cSrcweir<!ATTLIST it> 98cdf0e10cSrcweir 99cdf0e10cSrcweir<!ELEMENT unicode EMPTY> 100cdf0e10cSrcweir<!ATTLIST unicode 101cdf0e10cSrcweir oor:scalar NMTOKEN #REQUIRED> 102cdf0e10cSrcweir <!-- must syntactically match xs:integer and have a value in {0, ..., 8, 103cdf0e10cSrcweir 11, 12, 14, ..., 31, 65534, 65535} --> 104cdf0e10cSrcweir 105cdf0e10cSrcweir<!-- oor:items is an alternative root element to oor:component-data (in plain 106cdf0e10cSrcweir .xcu files only; not when nested in an .xcd file), used for the user-layer 107cdf0e10cSrcweir registrymodifications.xcu: --> 108cdf0e10cSrcweir 109cdf0e10cSrcweir<!ELEMENT oor:items (item*)> 110cdf0e10cSrcweir<!ATTLIST oor:items> 111cdf0e10cSrcweir 112cdf0e10cSrcweir<!ELEMENT item ((node | prop | value)*)> 113cdf0e10cSrcweir<!ATTLIST item 114cdf0e10cSrcweir oor:path CDATA #REQUIRED> 115cdf0e10cSrcweir <!-- the absolute path representation of a localized property or a group 116cdf0e10cSrcweir or set node --> 117