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
27	<info>
28        <author>AS</author>
29		<desc>Configuration of layered pathes replacing the old path configuration org.openoffice.Office.Common/Path.</desc>
30	</info>
31
32	<templates>
33
34	    <group oor:name="MultiPath">
35                <info>
36                <desc>Describe a path in it's details.</desc>
37                </info>
38            <prop oor:name="Unused" oor:type="xs:string">
39                <info>
40                <desc>Because current implementation of configuration sets allow structured types only, these dummy property was inserted.</desc>
41                </info>
42            </prop>
43        </group>
44
45	    <group oor:name="NamedPath">
46                <info>
47                <desc>Bind a list of path values to a "path name" e.g. "Template".</desc>
48                </info>
49            <prop oor:name="IsSinglePath" oor:type="xs:boolean">
50				<info>
51					<desc>Mark a NamedPath as SinglePath (false=MultiPath). Only the property WritePath is used for such single pathes then.</desc>
52				</info>
53                <value>false</value>
54            </prop>
55            <set oor:name="InternalPaths" oor:node-type="MultiPath">
56                <info>
57                <desc>Contains path values configured by an administrator or package (not visible for the user).</desc>
58                </info>
59            </set>
60            <prop oor:name="UserPaths" oor:type="oor:string-list">
61                <info>
62                <desc>Contains all path values configured by the user under "Tools->Options->Paths".</desc>
63                </info>
64            </prop>
65            <prop oor:name="WritePath" oor:type="xs:string">
66                <info>
67                <desc>Define one path which is used as the writable path only.</desc>
68                </info>
69            </prop>
70        </group>
71
72	</templates>
73
74	<component>
75
76        <set oor:name="Paths" oor:node-type="NamedPath">
77                <info>
78                <desc>Contains all named paths of the office.</desc>
79                </info>
80        </set>
81
82        <group oor:name="Variables">
83            <info>
84                <desc>Desktop specific defaults for "$" variables used in Paths</desc>
85            </info>
86            <prop oor:name="Work" oor:type="xs:string">
87                <info>
88                    <desc>Expanded value of "$work". Must be a valid URL.</desc>
89                </info>
90            </prop>
91        </group>
92
93	</component>
94
95</oor:component-schema>
96