LibreOffice Module svx (master)  1
Static Public Member Functions | Static Private Member Functions | List of all members
ContextChangeEventMultiplexer Class Reference

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)
 

Detailed Description

Convenience frontend for css::ui::ContextChangeEventMultiplexer.

Definition at line 32 of file ContextChangeEventMultiplexer.hxx.

Member Function Documentation

OUString ContextChangeEventMultiplexer::GetModuleName ( const css::uno::Reference< css::frame::XFrame > &  rxFrame)
staticprivate
void ContextChangeEventMultiplexer::NotifyContextChange ( const css::uno::Reference< css::frame::XController > &  rxController,
const vcl::EnumContext::Context  eContext 
)
static

Notify the activation of a context.

Parameters
rxControllerThis controller is used to determine the module (ie application like Writer or Calc).
eContextThe activated context.

Definition at line 36 of file ContextChangeEventMultiplexer.cxx.

References SfxViewShell::Get(), vcl::EnumContext::GetContextName(), comphelper::getProcessComponentContext(), comphelper::LibreOfficeKit::isActive(), and SfxLokHelper::notifyContextChange().

Referenced by svx::sidebar::SelectionChangeHandler::selectionChanged().

void ContextChangeEventMultiplexer::NotifyContextChange ( const SfxViewShell pViewShell,
const vcl::EnumContext::Context  eContext 
)
static

Notify the activation of a context.

Parameters
pViewShellThis view shell is used to determine the module (ie application like Writer or Calc). When <NULL> then no notification is made.
eContextThe activated context.

Definition at line 63 of file ContextChangeEventMultiplexer.cxx.

References SfxViewShell::GetController().


The documentation for this class was generated from the following files: