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

◆ GetModuleName()

OUString ContextChangeEventMultiplexer::GetModuleName ( const css::uno::Reference< css::frame::XFrame > &  rxFrame)
staticprivate

◆ NotifyContextChange() [1/2]

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 35 of file ContextChangeEventMultiplexer.cxx.

References aEvent, vcl::EnumContext::GetContextName(), GetModuleName(), comphelper::LibreOfficeKit::isActive(), and SfxLokHelper::notifyContextChange().

Referenced by NotifyContextChange().

◆ NotifyContextChange() [2/2]

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 61 of file ContextChangeEventMultiplexer.cxx.

References SfxViewShell::GetController(), and NotifyContextChange().


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