diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 08:49:53 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-19 08:49:53 +0000 |
commit | 8a452fb1867fb6c463130a0ecf5e957f452c2fc4 (patch) | |
tree | 293f05834b5926aaca9a60c05f983c4d7778090a /svx/source/inc/fmshimp.hxx | |
parent | a51dd8f7b88228f7907511733330200f874407fa (diff) |
INTEGRATION: CWS dba31a (1.39.10); FILE MERGED
2008/07/03 12:55:42 fs 1.39.10.1: #i89628#
Diffstat (limited to 'svx/source/inc/fmshimp.hxx')
-rw-r--r-- | svx/source/inc/fmshimp.hxx | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx index 0065177a08d4..047e05ca0e6c 100644 --- a/svx/source/inc/fmshimp.hxx +++ b/svx/source/inc/fmshimp.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: fmshimp.hxx,v $ - * $Revision: 1.39 $ + * $Revision: 1.40 $ * * This file is part of OpenOffice.org. * @@ -49,6 +49,7 @@ #include <com/sun/star/beans/XFastPropertySet.hpp> #include <com/sun/star/beans/XPropertyChangeListener.hpp> #include <com/sun/star/beans/PropertyChangeEvent.hpp> +#include <com/sun/star/form/runtime/FeatureState.hpp> #include <vcl/timer.hxx> #include <sfx2/app.hxx> #include <svx/svdmark.hxx> @@ -562,17 +563,12 @@ public: <p>Warning. Only a small set of slots implemented currently.</p> @param _nSlot the slot to execute - @param _rxForm - the form for which the slot is to be executed - @param _rxController - the controller to use for committing modified controls. Will not - be used if <NULL/> */ - void ExecuteFormSlot( - sal_Int32 _nSlot, - const ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm >& _rxForm, - const ::com::sun::star::uno::Reference< ::com::sun::star::form::XFormController >& _rxController - ); + void ExecuteFormSlot( sal_Int32 _nSlot ); + + /** determines whether the current form slot is currently enabled + */ + bool IsFormSlotEnabled( sal_Int32 _nSlot, ::com::sun::star::form::runtime::FeatureState* _pCompleteState = NULL ); protected: DECL_LINK(OnCursorActionDone, FmCursorActionThread*); |