<?xml version="1.0" encoding="UTF-8"?>
<!--
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 -->
<!DOCTYPE oor:component-data SYSTEM "../../../../component-update.dtd">
<oor:component-data xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" oor:name="Paths" oor:package="org.openoffice.Office">
  <node oor:name="Paths">
    <node oor:name="Addin" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(progpath)/addin" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="AutoCorrect" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/autocorr" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/autocorr</value>
      </prop>
    </node>
    <node oor:name="AutoText" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/autotext/$(vlang)" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/autotext</value>
      </prop>
    </node>
    <node oor:name="Backup" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="IsSinglePath" oor:finalized="true">
        <value>true</value>
      </prop>
      <node oor:name="InternalPaths" oor:finalized="true"/>
      <prop oor:name="UserPaths" oor:finalized="true"/>
      <prop oor:name="WritePath">
        <value>$(userurl)/backup</value>
      </prop>
    </node>
    <node oor:name="Basic" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/basic" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/basic</value>
      </prop>
    </node>
    <node oor:name="Bitmap" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/config/symbol" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Config" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/config" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Favorite" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="WritePath">
        <value>$(userurl)/config/folders</value>
      </prop>
    </node>
    <node oor:name="Filter" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(progpath)/filter" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Gallery" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/gallery" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/gallery</value>
      </prop>
    </node>
    <node oor:name="Graphic" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="IsSinglePath" oor:finalized="true">
        <value>true</value>
      </prop>
      <node oor:name="InternalPaths" oor:finalized="true"/>
      <prop oor:name="UserPaths" oor:finalized="true"/>
      <prop oor:name="WritePath">
        <value>$(userurl)/gallery</value>
      </prop>
    </node>
    <node oor:name="Help" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(instpath)/@LIBO_SHARE_HELP_FOLDER@" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Linguistic" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/dict" oor:op="fuse"/>
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/dict/ooo" oor:op="fuse"/>
      </node>
      <prop oor:name="UserPaths">
        <value>$(userurl)/wordbook</value>
      </prop>
    </node>
    <node oor:name="Dictionary" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/wordbook" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/wordbook</value>
      </prop>
    </node>
    <node oor:name="Iconset" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/config" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Module" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(progpath)" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Palette" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/palette" oor:op="fuse"/>
      </node>
      <prop oor:name="WritePath">
        <value>$(userurl)/config</value>
      </prop>
    </node>
    <node oor:name="Plugin" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(progpath)/plugin" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Fingerprint" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node install:module="internallibexttextcatdata" oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/fingerprint" oor:op="fuse"/>
        <node install:module="externallibexttextcatdata" oor:name="${SYSTEM_LIBEXTTEXTCAT_DATA}" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="Numbertext" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node install:module="internallibnumbertextdata" oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/numbertext" oor:op="fuse"/>
        <node install:module="externallibnumbertextdata" oor:name="${SYSTEM_LIBNUMBERTEXT_DATA}" oor:op="fuse"/>
      </node>
    </node>
    <!-- deprecated ! -->
    <node oor:name="Storage" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="WritePath">
        <value>$(userpath)/store</value>
      </prop>
    </node>
    <node oor:name="Temp" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="IsSinglePath" oor:finalized="true">
        <value>true</value>
      </prop>
      <node oor:name="InternalPaths" oor:finalized="true"/>
      <prop oor:name="UserPaths" oor:finalized="true"/>
      <prop oor:name="WritePath">
        <value install:module="macosx">$(userurl)/temp</value>
        <value install:module="unxwnt">$(temp)</value>
      </prop>
    </node>
    <node oor:name="Template" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/template/common" oor:op="fuse"/>
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/template/$(vlang)" oor:op="fuse"/>
      </node>
      <!--
           On unix check if we have a ~/Templates and use that as the write path.
           On other platforms, or if ~/Templates doesn't exist, use the traditional
           $(userurl)/template path.

           If we end up using the new ~/Templates as the write path, we then want
           to have $(userurl)/template in our userpath for any templates left behind
           in that dir.
      -->
      <prop oor:name="WritePath">
        <value>$(userurl)/template</value>
        <value install:module="unixdesktop" oor:external="com.sun.star.configuration.backend.DesktopBackend TemplatePathVariable"/>
      </prop>
      <prop oor:name="UserPaths">
        <value install:module="unixdesktop">$(userurl)/template</value>
      </prop>
    </node>
    <node oor:name="UIConfig" oor:op="fuse" oor:mandatory="true">
      <node oor:name="InternalPaths">
        <node oor:name="$(insturl)/@LIBO_SHARE_FOLDER@/config" oor:op="fuse"/>
      </node>
    </node>
    <node oor:name="UserConfig" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="IsSinglePath" oor:finalized="true">
        <value>true</value>
      </prop>
      <node oor:name="InternalPaths" oor:finalized="true"/>
      <prop oor:name="UserPaths" oor:finalized="true"/>
      <prop oor:name="WritePath">
        <value>$(userurl)/config</value>
      </prop>
    </node>
    <node oor:name="Work" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="IsSinglePath" oor:finalized="true">
        <value>true</value>
      </prop>
      <node oor:name="InternalPaths" oor:finalized="true"/>
      <prop oor:name="UserPaths" oor:finalized="true"/>
      <prop oor:name="WritePath">
        <value>$(work)</value>
      </prop>
    </node>
    <node oor:name="Classification" oor:op="fuse" oor:mandatory="true">
      <prop oor:name="IsSinglePath" oor:finalized="true">
        <value>true</value>
      </prop>
      <node oor:name="InternalPaths" oor:finalized="true"/>
      <prop oor:name="UserPaths" oor:finalized="true"/>
      <prop oor:name="WritePath">
        <value>$(insturl)/@LIBO_SHARE_FOLDER@/classification/example.xml</value>
      </prop>
    </node>
  </node>
  <node oor:name="Variables">
    <prop oor:name="Work">
      <value install:module="macosx" oor:external="com.sun.star.configuration.backend.MacOSXBackend WorkPathVariable"/>
      <value install:module="unixdesktop" oor:external="com.sun.star.configuration.backend.DesktopBackend WorkPathVariable"/>
    </prop>
  </node>
</oor:component-data>
