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