diff options
author | Noel Power <noel.power@novell.com> | 2012-03-05 20:14:13 +0000 |
---|---|---|
committer | Noel Power <noel.power@novell.com> | 2012-03-05 20:15:16 +0000 |
commit | 14620c3b33cf0315a9b746a0a2418b78d6154821 (patch) | |
tree | 0671d08a2e8fc2395442aac9a3e7acbbf7154fa5 /filter/inc | |
parent | be5567d9e36ad40deb3e5c6ed219265cddc944c0 (diff) |
support import of key shortcut for macro ( Excel only )
Diffstat (limited to 'filter/inc')
-rw-r--r-- | filter/inc/filter/msfilter/msvbahelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/inc/filter/msfilter/msvbahelper.hxx b/filter/inc/filter/msfilter/msvbahelper.hxx index 99b20c152400..e7e653347626 100644 --- a/filter/inc/filter/msfilter/msvbahelper.hxx +++ b/filter/inc/filter/msfilter/msvbahelper.hxx @@ -34,6 +34,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/script/vba/XVBAMacroResolver.hpp> #include <com/sun/star/awt/KeyEvent.hpp> +#include <com/sun/star/frame/XModel.hpp> #include "filter/msfilter/msfilterdllapi.h" namespace ooo { namespace vba { @@ -56,6 +57,7 @@ MSFILTER_DLLPUBLIC ::rtl::OUString resolveVBAMacro( SfxObjectShell* pShell, cons MSFILTER_DLLPUBLIC MacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const ::rtl::OUString& rMacroName, bool bSearchGlobalTemplates = false ); MSFILTER_DLLPUBLIC sal_Bool executeMacro( SfxObjectShell* pShell, const String& sMacroName, com::sun::star::uno::Sequence< com::sun::star::uno::Any >& aArgs, com::sun::star::uno::Any& aRet, const com::sun::star::uno::Any& aCaller ); MSFILTER_DLLPUBLIC ::com::sun::star::awt::KeyEvent parseKeyEvent( const ::rtl::OUString& sKey ) throw (::com::sun::star::uno::RuntimeException); +MSFILTER_DLLPUBLIC void applyShortCutKeyBinding ( const ::com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxDoc, const ::com::sun::star::awt::KeyEvent& rKeyEvent, const ::rtl::OUString& sMacro ) throw (::com::sun::star::uno::RuntimeException); // ============================================================================ typedef ::cppu::WeakImplHelper3< |