1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?>
2*cdf0e10cSrcweir<!--**********************************************************************
3*cdf0e10cSrcweir*
4*cdf0e10cSrcweir* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5*cdf0e10cSrcweir*
6*cdf0e10cSrcweir* Copyright 2000, 2010 Oracle and/or its affiliates.
7*cdf0e10cSrcweir*
8*cdf0e10cSrcweir* OpenOffice.org - a multi-platform office productivity suite
9*cdf0e10cSrcweir*
10*cdf0e10cSrcweir* This file is part of OpenOffice.org.
11*cdf0e10cSrcweir*
12*cdf0e10cSrcweir* OpenOffice.org is free software: you can redistribute it and/or modify
13*cdf0e10cSrcweir* it under the terms of the GNU Lesser General Public License version 3
14*cdf0e10cSrcweir* only, as published by the Free Software Foundation.
15*cdf0e10cSrcweir*
16*cdf0e10cSrcweir* OpenOffice.org is distributed in the hope that it will be useful,
17*cdf0e10cSrcweir* but WITHOUT ANY WARRANTY; without even the implied warranty of
18*cdf0e10cSrcweir* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*cdf0e10cSrcweir* GNU Lesser General Public License version 3 for more details
20*cdf0e10cSrcweir* (a copy is included in the LICENSE file that accompanied this code).
21*cdf0e10cSrcweir*
22*cdf0e10cSrcweir* You should have received a copy of the GNU Lesser General Public License
23*cdf0e10cSrcweir* version 3 along with OpenOffice.org.  If not, see
24*cdf0e10cSrcweir* <http://www.openoffice.org/license.html>
25*cdf0e10cSrcweir* for a copy of the LGPLv3 License.
26*cdf0e10cSrcweir*
27*cdf0e10cSrcweir**********************************************************************-->
28*cdf0e10cSrcweir
29*cdf0e10cSrcweir<!ELEMENT oor:component-data ((node | prop)*)>
30*cdf0e10cSrcweir<!ATTLIST oor:component-data
31*cdf0e10cSrcweir    oor:package CDATA #REQUIRED
32*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
33*cdf0e10cSrcweir    oor:op (modify | replace | fuse | remove) #IMPLIED
34*cdf0e10cSrcweir    oor:finalized (false | true) #IMPLIED
35*cdf0e10cSrcweir    xmlns:oor CDATA #FIXED "http://openoffice.org/2001/registry"
36*cdf0e10cSrcweir    xmlns:xs CDATA #FIXED "http://www.w3.org/2001/XMLSchema"
37*cdf0e10cSrcweir    xmlns:xsi CDATA #FIXED "http://www.w3.org/2001/XMLSchema-instance"
38*cdf0e10cSrcweir    xmlns:install CDATA #FIXED "http://openoffice.org/2004/installation">
39*cdf0e10cSrcweir
40*cdf0e10cSrcweir<!ELEMENT node ((node | prop)*)>
41*cdf0e10cSrcweir<!ATTLIST node
42*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
43*cdf0e10cSrcweir    oor:op (modify | replace | fuse | remove) #IMPLIED
44*cdf0e10cSrcweir    oor:finalized (true | false) #IMPLIED
45*cdf0e10cSrcweir    oor:mandatory (true | false) #IMPLIED
46*cdf0e10cSrcweir    oor:node-type CDATA #IMPLIED
47*cdf0e10cSrcweir    oor:component CDATA #IMPLIED
48*cdf0e10cSrcweir    install:module CDATA #IMPLIED>
49*cdf0e10cSrcweir
50*cdf0e10cSrcweir<!ELEMENT prop (value*)>
51*cdf0e10cSrcweir<!ATTLIST prop
52*cdf0e10cSrcweir    oor:name CDATA #REQUIRED
53*cdf0e10cSrcweir    oor:op (modify | replace | fuse | remove) #IMPLIED
54*cdf0e10cSrcweir    oor:finalized (true | false) #IMPLIED
55*cdf0e10cSrcweir    oor:type
56*cdf0e10cSrcweir        (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
57*cdf0e10cSrcweir         xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
58*cdf0e10cSrcweir         oor:int-list | oor:long-list | oor:double-list | oor:string-list |
59*cdf0e10cSrcweir         oor:hexBinary-list)
60*cdf0e10cSrcweir        #IMPLIED
61*cdf0e10cSrcweir    install:module CDATA #IMPLIED>
62*cdf0e10cSrcweir
63*cdf0e10cSrcweir<!ELEMENT value (#PCDATA | it | unicode)*>
64*cdf0e10cSrcweir    <!-- EMPTY  if oor:op="remove", xsi:nil="true", or oor:external is used
65*cdf0e10cSrcweir         #PCDATA  if the property type is a non-list type other than xs:string
66*cdf0e10cSrcweir         (#PCDATA | unicode)*  if the property type is xs:string
67*cdf0e10cSrcweir         #PCDATA  or  it*  if the property type is a list type other than
68*cdf0e10cSrcweir             oor:string-list
69*cdf0e10cSrcweir         (#PCDATA | unicode)*  or  it*  if the property type is
70*cdf0e10cSrcweir             oor:string-list -->
71*cdf0e10cSrcweir<!ATTLIST value
72*cdf0e10cSrcweir    xml:lang CDATA #IMPLIED
73*cdf0e10cSrcweir    oor:op (fuse | remove) #IMPLIED
74*cdf0e10cSrcweir    xsi:nil (true | false) #IMPLIED
75*cdf0e10cSrcweir    oor:type
76*cdf0e10cSrcweir        (xs:boolean | xs:short | xs:int | xs:long | xs:double | xs:string |
77*cdf0e10cSrcweir         xs:hexBinary | oor:boolean-list | oor:short-list | oor:int-list |
78*cdf0e10cSrcweir         oor:long-list | oor:double-list | oor:string-list | oor:hexBinary-list)
79*cdf0e10cSrcweir        #IMPLIED
80*cdf0e10cSrcweir    oor:separator CDATA #IMPLIED
81*cdf0e10cSrcweir    oor:external CDATA #IMPLIED
82*cdf0e10cSrcweir    install:module CDATA #IMPLIED>
83*cdf0e10cSrcweir    <!-- xml:lang  must only be used for localized properties; defaults to the
84*cdf0e10cSrcweir             empty string
85*cdf0e10cSrcweir         oor:op  defaults to "fuse"; "remove" must only be used for localized
86*cdf0e10cSrcweir             properties
87*cdf0e10cSrcweir         xsi:nil  defaults to "false"; "true" must only be used for nillable
88*cdf0e10cSrcweir             properties
89*cdf0e10cSrcweir         oor:type  is relevant for localized properties of type oor:any with
90*cdf0e10cSrcweir             different value types for different locales
91*cdf0e10cSrcweir         oor:separator  must only be used if the property type is a list type
92*cdf0e10cSrcweir             and the element content is #PCDATA or (#PCDATA | unicode)* (and not
93*cdf0e10cSrcweir             EMPTY or it*)
94*cdf0e10cSrcweir         oor:external  must only be used for non-localized properties and must
95*cdf0e10cSrcweir             not be used together with xsi:nil="true" -->
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir<!ELEMENT it (#PCDATA | unicode)*>
98*cdf0e10cSrcweir    <!-- #PCDATA  if the property type is a list type other than
99*cdf0e10cSrcweir             oor:string-list
100*cdf0e10cSrcweir         (#PCDATA | unicode)*  if the property type is oor:string-list -->
101*cdf0e10cSrcweir<!ATTLIST it>
102*cdf0e10cSrcweir
103*cdf0e10cSrcweir<!ELEMENT unicode EMPTY>
104*cdf0e10cSrcweir<!ATTLIST unicode
105*cdf0e10cSrcweir    oor:scalar NMTOKEN #REQUIRED>
106*cdf0e10cSrcweir        <!-- must syntactically match xs:integer and have a value in {0, ..., 8,
107*cdf0e10cSrcweir             11, 12, 14, ..., 31, 65534, 65535} -->
108*cdf0e10cSrcweir
109*cdf0e10cSrcweir<!-- oor:items is an alternative root element to oor:component-data (in plain
110*cdf0e10cSrcweir     .xcu files only; not when nested in an .xcd file), used for the user-layer
111*cdf0e10cSrcweir     registrymodifications.xcu: -->
112*cdf0e10cSrcweir
113*cdf0e10cSrcweir<!ELEMENT oor:items (item*)>
114*cdf0e10cSrcweir<!ATTLIST oor:items>
115*cdf0e10cSrcweir
116*cdf0e10cSrcweir<!ELEMENT item ((node | prop | value)*)>
117*cdf0e10cSrcweir<!ATTLIST item
118*cdf0e10cSrcweir    oor:path CDATA #REQUIRED>
119*cdf0e10cSrcweir        <!-- the absolute path representation of a localized property or a group
120*cdf0e10cSrcweir             or set node -->
121