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 71 of file ContextChangeEventMultiplexer.cxx.
References Exception, vcl::EnumContext::GetApplicationName(), comphelper::getProcessComponentContext(), and vcl::EnumContext::NONE.
|
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, SfxViewShell::Get(), vcl::EnumContext::GetContextName(), comphelper::getProcessComponentContext(), comphelper::LibreOfficeKit::isActive(), and SfxLokHelper::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 62 of file ContextChangeEventMultiplexer.cxx.
References SfxViewShell::GetController().