xref: /trunk/main/officecfg/registry/schema/org/openoffice/Office/Paths.xcs (revision 914d351e5f5b84e4342a86d6ab8d4aca7308b9bd)
1<?xml version='1.0' encoding='UTF-8'?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23
24<!DOCTYPE oor:component-schema SYSTEM "../../../../component-schema.dtd">
25<oor:component-schema oor:name="Paths" oor:package="org.openoffice.Office" xml:lang="en-US" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26    <info>
27        <author>AS</author>
28        <desc>Configuration of layered paths replacing the old path configuration org.openoffice.Office.Common/Path.</desc>
29    </info>
30    <templates>
31        <group oor:name="MultiPath">
32                <info>
33                <desc>Describe a path in its details.</desc>
34                </info>
35            <prop oor:name="Unused" oor:type="xs:string">
36                <info>
37                <desc>Because current implementation of configuration sets allow structured types only, these dummy property was inserted.</desc>
38                </info>
39            </prop>
40        </group>
41        <group oor:name="NamedPath">
42                <info>
43                <desc>Bind a list of path values to a "path name" e.g. "Template".</desc>
44                </info>
45            <prop oor:name="IsSinglePath" oor:type="xs:boolean">
46                <info>
47                    <desc>Mark a NamedPath as SinglePath (false=MultiPath). Only the property WritePath is used for such single paths then.</desc>
48                </info>
49                <value>false</value>
50            </prop>
51            <set oor:name="InternalPaths" oor:node-type="MultiPath">
52                <info>
53                <desc>Contains path values configured by an administrator or package (not visible for the user).</desc>
54                </info>
55            </set>
56            <prop oor:name="UserPaths" oor:type="oor:string-list">
57                <info>
58                <desc>Contains all path values configured by the user under "Tools -Options - Paths".</desc>
59                </info>
60            </prop>
61            <prop oor:name="WritePath" oor:type="xs:string">
62                <info>
63                <desc>Define one path which is used as the writable path only.</desc>
64                </info>
65            </prop>
66        </group>
67    </templates>
68    <component>
69        <set oor:name="Paths" oor:node-type="NamedPath">
70            <info>
71            <desc>Contains all named paths of the office.</desc>
72            </info>
73        </set>
74        <group oor:name="Variables">
75            <info>
76                <desc>Desktop specific defaults for "$" variables used in Paths</desc>
77            </info>
78            <prop oor:name="Work" oor:type="xs:string">
79                <info>
80                    <desc>Expanded value of "$work". Must be a valid URL.</desc>
81                </info>
82            </prop>
83        </group>
84    </component>
85</oor:component-schema>
86