LibreOffice Module svx (master) 1
|
Convenience frontend for css::ui::ContextChangeEventMultiplexer. More...
#include <ContextChangeEventMultiplexer.hxx>
Static Public Member Functions | |
static void | NotifyContextChange (const css::uno::Reference< css::frame::XController > &rxController, const vcl::EnumContext::Context eContext) |
Notify the activation of a context. More... | |
static void | NotifyContextChange (const SfxViewShell *pViewShell, const vcl::EnumContext::Context eContext) |
Notify the activation of a context. More... | |
Static Private Member Functions | |
static OUString | GetModuleName (const css::uno::Reference< css::frame::XFrame > &rxFrame) |
Convenience frontend for css::ui::ContextChangeEventMultiplexer.
Definition at line 32 of file ContextChangeEventMultiplexer.hxx.
|
staticprivate |
Definition at line 70 of file ContextChangeEventMultiplexer.cxx.
References Exception, vcl::EnumContext::GetApplicationName(), comphelper::getProcessComponentContext(), and vcl::EnumContext::NONE.
Referenced by NotifyContextChange().
|
static |
Notify the activation of a context.
rxController | This controller is used to determine the module (ie application like Writer or Calc). |
eContext | The activated context. |
Definition at line 35 of file ContextChangeEventMultiplexer.cxx.
References aEvent, vcl::EnumContext::GetContextName(), GetModuleName(), comphelper::LibreOfficeKit::isActive(), and SfxLokHelper::notifyContextChange().
Referenced by NotifyContextChange().
|
static |
Notify the activation of a context.
pViewShell | This view shell is used to determine the module (ie application like Writer or Calc). When <NULL> then no notification is made. |
eContext | The activated context. |
Definition at line 61 of file ContextChangeEventMultiplexer.cxx.
References SfxViewShell::GetController(), and NotifyContextChange().