1*d1766043SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*d1766043SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*d1766043SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*d1766043SAndrew Rist * distributed with this work for additional information 6*d1766043SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*d1766043SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*d1766043SAndrew Rist * "License"); you may not use this file except in compliance 9*d1766043SAndrew Rist * with the License. You may obtain a copy of the License at 10*d1766043SAndrew Rist * 11*d1766043SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*d1766043SAndrew Rist * 13*d1766043SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*d1766043SAndrew Rist * software distributed under the License is distributed on an 15*d1766043SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*d1766043SAndrew Rist * KIND, either express or implied. See the License for the 17*d1766043SAndrew Rist * specific language governing permissions and limitations 18*d1766043SAndrew Rist * under the License. 19*d1766043SAndrew Rist * 20*d1766043SAndrew Rist *************************************************************/ 21*d1766043SAndrew Rist 22*d1766043SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __com_sun_star_util_PathSettings_idl__ 25cdf0e10cSrcweir#define __com_sun_star_util_PathSettings_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#ifndef __com_sun_star_beans_XPropertySet_idl__ 28cdf0e10cSrcweir#include <com/sun/star/beans/XPropertySet.idl> 29cdf0e10cSrcweir#endif 30cdf0e10cSrcweir 31cdf0e10cSrcweir#ifndef __com_sun_star_beans_XFastPropertySet_idl__ 32cdf0e10cSrcweir#include <com/sun/star/beans/XFastPropertySet.idl> 33cdf0e10cSrcweir#endif 34cdf0e10cSrcweir 35cdf0e10cSrcweir#ifndef __com_sun_star_beans_XMultiPropertySet_idl__ 36cdf0e10cSrcweir#include <com/sun/star/beans/XMultiPropertySet.idl> 37cdf0e10cSrcweir#endif 38cdf0e10cSrcweir 39cdf0e10cSrcweir//============================================================================= 40cdf0e10cSrcweir 41cdf0e10cSrcweirmodule com { module sun { module star { module util { 42cdf0e10cSrcweir 43cdf0e10cSrcweir//============================================================================= 44cdf0e10cSrcweir 45cdf0e10cSrcweir/** Supports read/write access and listener for the paths properties that 46cdf0e10cSrcweir the Office uses. 47cdf0e10cSrcweir <p> 48cdf0e10cSrcweir The property names of the Office paths/directories are an exactly match 49cdf0e10cSrcweir to the configuration entries found in the file 50cdf0e10cSrcweir (org/openoffice/Office/Common.xml).<br> 51cdf0e10cSrcweir This service supports the usage of path variables to define 52cdf0e10cSrcweir paths that a relative to other office or system directories. 53cdf0e10cSrcweir See <type>PathSubstitution</type> 54cdf0e10cSrcweir </p> 55cdf0e10cSrcweir 56cdf0e10cSrcweir @since OOo 1.1.2 57cdf0e10cSrcweir */ 58cdf0e10cSrcweirpublished service PathSettings 59cdf0e10cSrcweir{ 60cdf0e10cSrcweir /** Main interface to have access to the path properties. */ 61cdf0e10cSrcweir interface com::sun::star::beans::XPropertySet; 62cdf0e10cSrcweir 63cdf0e10cSrcweir /** An extension to the <type scope="com::sun::star::beans">XPropertySet</type> interface. 64cdf0e10cSrcweir The get and set methods use handles to access the property values 65cdf0e10cSrcweir instead of character strings. */ 66cdf0e10cSrcweir interface com::sun::star::beans::XFastPropertySet; 67cdf0e10cSrcweir 68cdf0e10cSrcweir /** Provides access to multiple properties of this service with a 69cdf0e10cSrcweir single call. */ 70cdf0e10cSrcweir interface com::sun::star::beans::XMultiPropertySet; 71cdf0e10cSrcweir 72cdf0e10cSrcweir /** Specifies the directory that contains spreadsheet add-ins which use 73cdf0e10cSrcweir the old add-in API */ 74cdf0e10cSrcweir [property] string Addin; 75cdf0e10cSrcweir 76cdf0e10cSrcweir /** The settings of the AutoCorrect dialog. The value can be more than 77cdf0e10cSrcweir one path separated by a semicolon. 78cdf0e10cSrcweir */ 79cdf0e10cSrcweir [property] string AutoCorrect; 80cdf0e10cSrcweir 81cdf0e10cSrcweir /**The directory which contains the AutoText modules. The value can be more than 82cdf0e10cSrcweir one path separated by a semicolon.*/ 83cdf0e10cSrcweir [property] string AutoText; 84cdf0e10cSrcweir 85cdf0e10cSrcweir /** Automatic backup copies of documents are stored here. */ 86cdf0e10cSrcweir [property] string Backup; 87cdf0e10cSrcweir 88cdf0e10cSrcweir /** The Basic files, used by the AutoPilots, can be found here. The value can be more than 89cdf0e10cSrcweir one path separated by a semicolon.*/ 90cdf0e10cSrcweir [property] string Basic; 91cdf0e10cSrcweir 92cdf0e10cSrcweir /** This directory contains the icons for the toolbars. */ 93cdf0e10cSrcweir [property] string Bitmap; 94cdf0e10cSrcweir 95cdf0e10cSrcweir /** The configuration files are located here. This entry cannot be changed 96cdf0e10cSrcweir by the user in Office user interface. */ 97cdf0e10cSrcweir [property] string Config; 98cdf0e10cSrcweir 99cdf0e10cSrcweir /** The provided dictionaries are stored here. */ 100cdf0e10cSrcweir [property] string Dictionary; 101cdf0e10cSrcweir 102cdf0e10cSrcweir /** Path to save folder bookmarks */ 103cdf0e10cSrcweir [property] string Favorite; 104cdf0e10cSrcweir 105cdf0e10cSrcweir /** Specifies the directory where all the filters are stored. */ 106cdf0e10cSrcweir [property] string Filter; 107cdf0e10cSrcweir 108cdf0e10cSrcweir /** Specifies the directories which contains the Gallery 109cdf0e10cSrcweir database and multimedia files. The value can be more than 110cdf0e10cSrcweir one path separated by a semicolon.*/ 111cdf0e10cSrcweir [property] string Gallery; 112cdf0e10cSrcweir 113cdf0e10cSrcweir /** This directory is displayed when the dialog for opening a graphic 114cdf0e10cSrcweir or for saving a new graphic is called. */ 115cdf0e10cSrcweir [property] string Graphic; 116cdf0e10cSrcweir 117cdf0e10cSrcweir /** The path to the Office help files. */ 118cdf0e10cSrcweir [property] string Help; 119cdf0e10cSrcweir 120cdf0e10cSrcweir /** The files that are necessary for the spellcheck are saved here. */ 121cdf0e10cSrcweir [property] string Linguistic; 122cdf0e10cSrcweir 123cdf0e10cSrcweir /** This is the path for the modules. */ 124cdf0e10cSrcweir [property] string Module; 125cdf0e10cSrcweir 126cdf0e10cSrcweir /** This is the path to the palette files *.SOB to *.SOF containing 127cdf0e10cSrcweir user-defined colors and patterns. */ 128cdf0e10cSrcweir [property] string Palette; 129cdf0e10cSrcweir 130cdf0e10cSrcweir /** Plugins are saved in these directories. The value can be more than 131cdf0e10cSrcweir one path separated by a semicolon.*/ 132cdf0e10cSrcweir [property] string Plugin; 133cdf0e10cSrcweir 134cdf0e10cSrcweir /** Mail, News files and other information (for example, about FTP Server) 135cdf0e10cSrcweir are stored here.*/ 136cdf0e10cSrcweir [property] string Storage; 137cdf0e10cSrcweir 138cdf0e10cSrcweir /** The base url to the office temp-files */ 139cdf0e10cSrcweir [property] string Temp; 140cdf0e10cSrcweir 141cdf0e10cSrcweir /** The templates originate from these folders and sub-folders. The value 142cdf0e10cSrcweir can be more than one path separated by a semicolon.*/ 143cdf0e10cSrcweir [property] string Template; 144cdf0e10cSrcweir 145cdf0e10cSrcweir /** Global directories to look for user interface configuration files. The 146cdf0e10cSrcweir user interface configuration will be merged with user settings stored 147cdf0e10cSrcweir in the directory specified by <var>UserConfig</var>. The value can be more 148cdf0e10cSrcweir than one path separated by a semicolon.*/ 149cdf0e10cSrcweir [property] string UIConfig; 150cdf0e10cSrcweir 151cdf0e10cSrcweir /** Specifies the folder with the user settings. */ 152cdf0e10cSrcweir [property] string UserConfig; 153cdf0e10cSrcweir 154cdf0e10cSrcweir /** The custom dictionaries are contained here. 155cdf0e10cSrcweir * @deprecated 156cdf0e10cSrcweir * */ 157cdf0e10cSrcweir [property] string UserDictionary; 158cdf0e10cSrcweir 159cdf0e10cSrcweir /** The path of the work folder can be modified according to the 160cdf0e10cSrcweir user's needs. The path specified here can be seen in the Open 161cdf0e10cSrcweir or Save dialog. */ 162cdf0e10cSrcweir [property] string Work; 163cdf0e10cSrcweir}; 164cdf0e10cSrcweir 165cdf0e10cSrcweir//============================================================================= 166cdf0e10cSrcweir 167cdf0e10cSrcweir}; }; }; }; 168cdf0e10cSrcweir 169cdf0e10cSrcweir#endif 170