diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 12:27:07 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 12:27:07 +0000 |
commit | 8cbc74e14cbf497d521ad6466ede05784adcc6a4 (patch) | |
tree | 85d429174ea862d39bd26f82fa8479e90a53aa93 /svx | |
parent | bdadbb5790367f012975557675d71f4a13ad6fc0 (diff) |
INTEGRATION: CWS aw024 (1.17.12); FILE MERGED
2006/07/04 12:51:51 aw 1.17.12.2: RESYNC: (1.17-1.18); FILE MERGED
2006/01/25 07:00:02 fs 1.17.12.1: merge changes from CWS formcontacts (for #i52724#) herein
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/inc/fmctrler.hxx | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/svx/source/inc/fmctrler.hxx b/svx/source/inc/fmctrler.hxx index cc14291ea7d6..5de2ce331e56 100644 --- a/svx/source/inc/fmctrler.hxx +++ b/svx/source/inc/fmctrler.hxx @@ -4,9 +4,9 @@ * * $RCSfile: fmctrler.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: hr $ $Date: 2006-06-19 16:05:19 $ + * last change: $Author: ihi $ $Date: 2006-11-14 13:27:07 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -631,6 +631,24 @@ protected: */ bool ensureInteractionHandler(); + /** replaces one of our controls with another one + + Upon successful replacing, the old control will be disposed. Also, internal members pointing + to the current or active control will be adjusted. Yet more, if the replaced control was + the active control, the new control will be made active. + + @param _rxExistentControl + The control to replace. Must be one of the controls in our ControlContainer. + @param _rxNewControl + The control which should replace the existent control. + @return + <TRUE/> if and only if the control was successfully replaced + */ + bool replaceControl( + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxExistentControl, + const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >& _rxNewControl + ); + // we're listening at all bound controls for modifications void startControlModifyListening(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); void stopControlModifyListening(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl>& xControl); |