LibreOffice Module scripting (master) 1
|
#include <dlgevtatt.hxx>
Public Member Functions | |
DialogEventsAttacherImpl (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XModel > &xModel, const css::uno::Reference< css::awt::XControl > &xControl, const css::uno::Reference< css::uno::XInterface > &xHandler, const css::uno::Reference< css::beans::XIntrospectionAccess > &xIntrospect, bool bProviderMode, const css::uno::Reference< css::script::XScriptListener > &xRTLListener, const OUString &sDialogLibName) | |
virtual | ~DialogEventsAttacherImpl () override |
virtual void SAL_CALL | attachEvents (const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > &Objects, const css::uno::Reference< css::script::XScriptListener > &, const css::uno::Any &Helper) override |
Private Member Functions | |
css::uno::Reference< css::script::XScriptListener > const & | getScriptListenerForKey (const OUString &sScriptName) |
css::uno::Reference< css::script::XScriptEventsSupplier > | getFakeVbaEventsSupplier (const css::uno::Reference< css::awt::XControl > &xControl, OUString const &sCodeName) |
void | nestedAttachEvents (const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > &Objects, const css::uno::Any &Helper, OUString &sDialogCodeName) |
void | attachEventsToControl (const css::uno::Reference< css::awt::XControl > &xControl, const css::uno::Reference< css::script::XScriptEventsSupplier > &events, const css::uno::Any &Helper) |
Private Attributes | |
bool | mbUseFakeVBAEvents |
ListenerHash | listenersForTypes |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
css::uno::Reference< css::script::XEventAttacher > | m_xEventAttacher |
Definition at line 46 of file dlgevtatt.hxx.
dlgprov::DialogEventsAttacherImpl::DialogEventsAttacherImpl | ( | const css::uno::Reference< css::uno::XComponentContext > & | rxContext, |
const css::uno::Reference< css::frame::XModel > & | xModel, | ||
const css::uno::Reference< css::awt::XControl > & | xControl, | ||
const css::uno::Reference< css::uno::XInterface > & | xHandler, | ||
const css::uno::Reference< css::beans::XIntrospectionAccess > & | xIntrospect, | ||
bool | bProviderMode, | ||
const css::uno::Reference< css::script::XScriptListener > & | xRTLListener, | ||
const OUString & | sDialogLibName | ||
) |
Definition at line 158 of file dlgevtatt.cxx.
References listenersForTypes, m_xContext, and mbUseFakeVBAEvents.
|
overridevirtual |
Definition at line 187 of file dlgevtatt.cxx.
|
overridevirtual |
Definition at line 322 of file dlgevtatt.cxx.
References Exception, dlgprov::getMutex(), m_xContext, m_xEventAttacher, nestedAttachEvents(), Objects, and xSMgr.
|
private |
Definition at line 215 of file dlgevtatt.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, Exception, getScriptListenerForKey(), m_xEventAttacher, and nIndex.
Referenced by nestedAttachEvents().
|
private |
Definition at line 200 of file dlgevtatt.cxx.
References m_xContext, and xSMgr.
Referenced by nestedAttachEvents().
|
private |
css::uno::RuntimeException |
Definition at line 193 of file dlgevtatt.cxx.
References listenersForTypes.
Referenced by attachEventsToControl().
|
private |
Definition at line 277 of file dlgevtatt.cxx.
References Any, attachEventsToControl(), getFakeVbaEventsSupplier(), mbUseFakeVBAEvents, nestedAttachEvents(), and Objects.
Referenced by attachEvents(), and nestedAttachEvents().
|
private |
Definition at line 50 of file dlgevtatt.hxx.
Referenced by DialogEventsAttacherImpl(), and getScriptListenerForKey().
|
private |
Definition at line 51 of file dlgevtatt.hxx.
Referenced by attachEvents(), and getFakeVbaEventsSupplier().
|
private |
Definition at line 52 of file dlgevtatt.hxx.
Referenced by attachEvents(), and attachEventsToControl().
|
private |
Definition at line 49 of file dlgevtatt.hxx.
Referenced by DialogEventsAttacherImpl(), and nestedAttachEvents().