LibreOffice Module scripting (master) 1
|
#include <ActiveMSPList.hxx>
Public Member Functions | |
ActiveMSPList (const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
virtual | ~ActiveMSPList () override |
css::uno::Reference< css::script::provider::XScriptProvider > | getMSPFromStringContext (const OUString &context) |
css::uno::Reference< css::script::provider::XScriptProvider > | getMSPFromAnyContext (const css::uno::Any &context) |
css::uno::Reference< css::script::provider::XScriptProvider > | getMSPFromInvocationContext (const css::uno::Reference< css::document::XScriptInvocationContext > &context) |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
Private Member Functions | |
void | addActiveMSP (const css::uno::Reference< css::uno::XInterface > &xComponent, const css::uno::Reference< css::script::provider::XScriptProvider > &msp) |
css::uno::Reference< css::script::provider::XScriptProvider > | createNewMSP (const css::uno::Any &context) |
css::uno::Reference< css::script::provider::XScriptProvider > | createNewMSP (const OUString &context) |
void | createNonDocMSPs () |
Private Attributes | |
Msp_hash | m_hMsps |
ScriptComponent_map | m_mScriptComponents |
osl::Mutex | m_mutex |
OUString | userDirString |
OUString | shareDirString |
OUString | bundledDirString |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
Friends | |
class | NonDocMSPCreator |
Definition at line 47 of file ActiveMSPList.hxx.
|
explicit |
Definition at line 37 of file ActiveMSPList.cxx.
References bundledDirString, m_xContext, shareDirString, and userDirString.
|
overridevirtual |
Definition at line 44 of file ActiveMSPList.cxx.
|
private |
Definition at line 224 of file ActiveMSPList.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, m_mScriptComponents, m_mutex, and pos.
Referenced by getMSPFromInvocationContext(), and getMSPFromStringContext().
|
private |
Referenced by createNewMSP(), getMSPFromInvocationContext(), and getMSPFromStringContext().
|
inlineprivate |
Definition at line 76 of file ActiveMSPList.hxx.
References createNewMSP().
|
private |
Definition at line 272 of file ActiveMSPList.cxx.
References Any, args, bundledDirString, m_hMsps, m_xContext, shareDirString, and userDirString.
Referenced by func_provider::NonDocMSPCreator::NonDocMSPCreator().
|
overridevirtual |
Definition at line 249 of file ActiveMSPList.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, m_mScriptComponents, m_mutex, pos, and Source.
Reference< provider::XScriptProvider > func_provider::ActiveMSPList::getMSPFromAnyContext | ( | const css::uno::Any & | context | ) |
Definition at line 78 of file ActiveMSPList.cxx.
References getMSPFromInvocationContext(), getMSPFromStringContext(), m_hMsps, m_xContext, shareDirString, and xModel.
Reference< provider::XScriptProvider > func_provider::ActiveMSPList::getMSPFromInvocationContext | ( | const css::uno::Reference< css::document::XScriptInvocationContext > & | context | ) |
Definition at line 121 of file ActiveMSPList.cxx.
References addActiveMSP(), createNewMSP(), m_mScriptComponents, m_mutex, and pos.
Referenced by getMSPFromAnyContext().
Reference< provider::XScriptProvider > func_provider::ActiveMSPList::getMSPFromStringContext | ( | const OUString & | context | ) |
Definition at line 155 of file ActiveMSPList.cxx.
References addActiveMSP(), createNewMSP(), Exception, cppu::getCaughtException(), m_hMsps, m_mScriptComponents, m_mutex, pos, and xModel.
Referenced by getMSPFromAnyContext().
|
friend |
Definition at line 81 of file ActiveMSPList.hxx.
|
private |
Definition at line 89 of file ActiveMSPList.hxx.
Referenced by ActiveMSPList(), and createNonDocMSPs().
|
private |
Definition at line 84 of file ActiveMSPList.hxx.
Referenced by createNonDocMSPs(), getMSPFromAnyContext(), and getMSPFromStringContext().
|
private |
Definition at line 85 of file ActiveMSPList.hxx.
Referenced by addActiveMSP(), disposing(), getMSPFromInvocationContext(), and getMSPFromStringContext().
|
private |
Definition at line 86 of file ActiveMSPList.hxx.
Referenced by addActiveMSP(), disposing(), getMSPFromInvocationContext(), and getMSPFromStringContext().
|
private |
Definition at line 90 of file ActiveMSPList.hxx.
Referenced by createNonDocMSPs(), and getMSPFromAnyContext().
|
private |
Definition at line 88 of file ActiveMSPList.hxx.
Referenced by ActiveMSPList(), createNonDocMSPs(), and getMSPFromAnyContext().
|
private |
Definition at line 87 of file ActiveMSPList.hxx.
Referenced by ActiveMSPList(), and createNonDocMSPs().