#include <macroloader.hxx>
|
| SfxMacroLoader (const css::uno::Sequence< css::uno::Any > &aArguments) |
|
virtual OUString SAL_CALL | getImplementationName () override |
|
virtual sal_Bool SAL_CALL | supportsService (OUString const &ServiceName) override |
|
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
|
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL | queryDispatch (const css::util::URL &aURL, const OUString &sTargetFrameName, sal_Int32 eSearchFlags) override |
|
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL | queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &seqDescriptor) override |
|
virtual void SAL_CALL | dispatchWithNotification (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArgs, const css::uno::Reference< css::frame::XDispatchResultListener > &Listener) override |
|
virtual void SAL_CALL | dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArgs) override |
|
virtual css::uno::Any SAL_CALL | dispatchWithReturnValue (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &lArgs) override |
|
virtual void SAL_CALL | addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
|
virtual void SAL_CALL | removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
|
|
css::uno::WeakReference< css::frame::XFrame > | m_xFrame |
|
Definition at line 42 of file macroloader.hxx.
◆ SfxMacroLoader()
SfxMacroLoader::SfxMacroLoader |
( |
const css::uno::Sequence< css::uno::Any > & |
aArguments | ) |
|
◆ addStatusListener()
void SAL_CALL SfxMacroLoader::addStatusListener |
( |
const css::uno::Reference< css::frame::XStatusListener > & |
xControl, |
|
|
const css::util::URL & |
aURL |
|
) |
| |
|
overridevirtual |
◆ dispatch()
void SAL_CALL SfxMacroLoader::dispatch |
( |
const css::util::URL & |
aURL, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
lArgs |
|
) |
| |
|
overridevirtual |
◆ dispatchWithNotification()
void SAL_CALL SfxMacroLoader::dispatchWithNotification |
( |
const css::util::URL & |
aURL, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
lArgs, |
|
|
const css::uno::Reference< css::frame::XDispatchResultListener > & |
Listener |
|
) |
| |
|
overridevirtual |
◆ dispatchWithReturnValue()
uno::Any SAL_CALL SfxMacroLoader::dispatchWithReturnValue |
( |
const css::util::URL & |
aURL, |
|
|
const css::uno::Sequence< css::beans::PropertyValue > & |
lArgs |
|
) |
| |
|
overridevirtual |
◆ getImplementationName()
OUString SAL_CALL SfxMacroLoader::getImplementationName |
( |
| ) |
|
|
overridevirtual |
◆ GetObjectShell()
SfxObjectShell * SfxMacroLoader::GetObjectShell |
( |
const css::uno::Reference< css::frame::XFrame > & |
xFrame | ) |
|
|
static |
◆ GetObjectShell_Impl()
◆ getSupportedServiceNames()
css::uno::Sequence< OUString > SAL_CALL SfxMacroLoader::getSupportedServiceNames |
( |
| ) |
|
|
overridevirtual |
◆ loadMacro()
ErrCode SfxMacroLoader::loadMacro |
( |
const OUString & |
aURL, |
|
|
css::uno::Any & |
rRetval, |
|
|
SfxObjectShell * |
pDoc |
|
) |
| |
|
static |
- Exceptions
-
css::uno::RuntimeException | |
css::ucb::ContentCreationException | |
Definition at line 195 of file macroloader.cxx.
References SfxObjectShell::AdjustMacroMode(), Any, SfxObjectShell::Current(), INetURLObject::decode(), ERRCODE_BASIC_PROC_UNDEFINED, ERRCODE_IO_ACCESSDENIED, ERRCODE_IO_NOTEXISTS, ERRCODE_NONE, SbxObject::Execute(), BasicManager::ExecuteMacro(), tools::SvRef< typename T >::get(), SfxApplication::GetBasicManager(), SfxObjectShell::GetBasicManager(), SbxBase::GetError(), SfxObjectShell::GetFirst(), BasicManager::GetLib(), SfxObjectShell::GetModel(), SfxObjectShell::GetNext(), BasicManager::HasMacro(), SbxBase::ResetError(), sbxToUnoValue(), BasicManager::SetGlobalUNOConstant(), SfxObjectShell::SetMacroMode_Impl(), SFX_TITLE_APINAME, and INetURLObject::WithCharset.
Referenced by dispatch(), dispatchWithNotification(), dispatchWithReturnValue(), and SfxEvents_Impl::Execute().
◆ queryDispatch()
uno::Reference< frame::XDispatch > SAL_CALL SfxMacroLoader::queryDispatch |
( |
const css::util::URL & |
aURL, |
|
|
const OUString & |
sTargetFrameName, |
|
|
sal_Int32 |
eSearchFlags |
|
) |
| |
|
overridevirtual |
◆ queryDispatches()
uno::Sequence< uno::Reference< frame::XDispatch > > SAL_CALL SfxMacroLoader::queryDispatches |
( |
const css::uno::Sequence< css::frame::DispatchDescriptor > & |
seqDescriptor | ) |
|
|
overridevirtual |
◆ removeStatusListener()
void SAL_CALL SfxMacroLoader::removeStatusListener |
( |
const css::uno::Reference< css::frame::XStatusListener > & |
xControl, |
|
|
const css::util::URL & |
aURL |
|
) |
| |
|
overridevirtual |
◆ supportsService()
sal_Bool SAL_CALL SfxMacroLoader::supportsService |
( |
OUString const & |
ServiceName | ) |
|
|
overridevirtual |
◆ m_xFrame
css::uno::WeakReference< css::frame::XFrame > SfxMacroLoader::m_xFrame |
|
private |
The documentation for this class was generated from the following files: