merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / frame / XConfigManager.idl
blobda9d703adfcfaf099d3c1fe60d5eb50c33d8c408
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: XConfigManager.idl,v $
10 * $Revision: 1.9 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_frame_XConfigManager_idl__
31 #define __com_sun_star_frame_XConfigManager_idl__
33 #ifndef __com_sun_star_uno_XInterface_idl__
34 #include <com/sun/star/uno/XInterface.idl>
35 #endif
37 #ifndef __com_sun_star_beans_XPropertyChangeListener_idl__
38 #include <com/sun/star/beans/XPropertyChangeListener.idl>
39 #endif
41 //============================================================================
43 module com {
44 module sun {
45 module star {
46 module frame {
48 //============================================================================
49 /** @deprecated
51 published interface XConfigManager: com::sun::star::uno::XInterface
53 //-------------------------------------------------------------------------
54 /** add a listener to notify changes on well known variables
55 inside the real implementation
57 <p>
58 Listener can update his text values by calling <member>XConfigManager::substituteVariables()</member>
59 again. If <var>KeyName</var> specifies a group of keys, the listener gets one notify for each subkey.
60 </p>
62 @param KeyName
63 specifies variable about listener will be informed on changes
65 @param Listener
66 listener which will be informed
68 @see XConfigManager::removePropertyChangeListener()
70 @deprecated
72 [oneway] void addPropertyChangeListener(
73 [in] string KeyName,
74 [in] com::sun::star::beans::XPropertyChangeListener Listener );
76 //-------------------------------------------------------------------------
77 /** remove a registered listener
79 @param KeyName
80 specifies variable on which listener was registered
82 @param Listener
83 listener which will be deregistered
85 @see XConfigManager::addPropertyChangeListener()
87 @deprecated
89 [oneway] void removePropertyChangeListener(
90 [in] string KeyName,
91 [in] com::sun::star::beans::XPropertyChangeListener Listener);
93 //-------------------------------------------------------------------------
94 /** substitute variables (place holder) inside given parameter <var>Text</var>
96 <p>
97 The value of <var>Text</var> is NOT changed.
98 </p>
100 @param Text
101 original value including variables
103 @return
104 changed copy of <var>Text</var> without any variables
106 string substituteVariables( [in] string Text );
108 //-------------------------------------------------------------------------
109 /** was designed for additional functionality for interface <type scope="com::sun::star::registry">XSimpleRegistry</type>
110 and make no sense without that
111 @deprecated
113 [oneway] void flush();
115 }; //XConfigManager
116 }; //frame
117 }; //star
118 }; //sun
119 }; //com
121 #endif