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