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