1 <?xml version=
"1.0" encoding=
"UTF-8"?>
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 <!ELEMENT oor:component-data ((node | prop)*)
>
21 <!ATTLIST oor:component-data
22 oor:package CDATA #REQUIRED
23 oor:name CDATA #REQUIRED
24 oor:op (modify | replace | fuse | remove) #IMPLIED
25 oor:finalized (false | true) #IMPLIED
26 xmlns:oor CDATA #FIXED
"http://openoffice.org/2001/registry"
27 xmlns:xs CDATA #FIXED
"http://www.w3.org/2001/XMLSchema"
28 xmlns:xsi CDATA #FIXED
"http://www.w3.org/2001/XMLSchema-instance"
29 xmlns:install CDATA #FIXED
"http://openoffice.org/2004/installation">
31 <!ELEMENT node ((node | prop)*)
>
33 oor:name CDATA #REQUIRED
34 oor:op (modify | replace | fuse | remove) #IMPLIED
35 oor:finalized (true | false) #IMPLIED
36 oor:mandatory (true | false) #IMPLIED
37 oor:node-type CDATA #IMPLIED
38 oor:component CDATA #IMPLIED
39 install:module CDATA #IMPLIED
>
41 <!ELEMENT prop (value*)
>
43 oor:name CDATA #REQUIRED
44 oor:op (modify | replace | fuse | remove) #IMPLIED
45 oor:finalized (true | false) #IMPLIED
47 (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
48 xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
49 oor:int-list | oor:long-list | oor:double-list | oor:string-list |
52 install:module CDATA #IMPLIED
>
54 <!ELEMENT value (#PCDATA | it | unicode)*
>
55 <!-- EMPTY if oor:op="remove", xsi:nil="true", or oor:external is used
56 #PCDATA if the property type is a non-list type other than xs:string
57 (#PCDATA | unicode)* if the property type is xs:string
58 #PCDATA or it* if the property type is a list type other than
60 (#PCDATA | unicode)* or it* if the property type is
63 xml:lang CDATA #IMPLIED
64 oor:op (fuse | remove) #IMPLIED
65 xsi:nil (true | false) #IMPLIED
67 (xs:boolean | xs:short | xs:int | xs:long | xs:double | xs:string |
68 xs:hexBinary | oor:boolean-list | oor:short-list | oor:int-list |
69 oor:long-list | oor:double-list | oor:string-list | oor:hexBinary-list)
71 oor:separator CDATA #IMPLIED
72 oor:external CDATA #IMPLIED
73 install:module CDATA #IMPLIED
>
74 <!-- xml:lang must only be used for localized properties; defaults to the
76 oor:op defaults to "fuse"; "remove" must only be used for localized
78 xsi:nil defaults to "false"; "true" must only be used for nillable
80 oor:type is relevant for localized properties of type oor:any with
81 different value types for different locales
82 oor:separator must only be used if the property type is a list type
83 and the element content is #PCDATA or (#PCDATA | unicode)* (and not
85 oor:external must only be used for non-localized properties and must
86 not be used together with xsi:nil="true" -->
88 <!ELEMENT it (#PCDATA | unicode)*
>
89 <!-- #PCDATA if the property type is a list type other than
91 (#PCDATA | unicode)* if the property type is oor:string-list -->
94 <!ELEMENT unicode EMPTY
>
96 oor:scalar NMTOKEN #REQUIRED
>
97 <!-- must syntactically match xs:integer and have a value in {0, ..., 8,
98 11, 12, 14, ..., 31, 65534, 65535} -->
100 <!-- oor:items is an alternative root element to oor:component-data (in plain
101 .xcu files only; not when nested in an .xcd file), used for the user-layer
102 registrymodifications.xcu: -->
104 <!ELEMENT oor:items (item*)
>
107 <!ELEMENT item ((node | prop | value)*)
>
109 oor:path CDATA #REQUIRED
>
110 <!-- the absolute path representation of a localized property or a group