LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svx::FmTextControlFeature Class Referencefinal

#include <fmtextcontrolfeature.hxx>

Inheritance diagram for svx::FmTextControlFeature:
[legend]
Collaboration diagram for svx::FmTextControlFeature:
[legend]

Public Member Functions

 FmTextControlFeature (const css::uno::Reference< css::frame::XDispatch > &_rxDispatcher, css::util::URL _aFeatureURL, SfxSlotId _nId, FmTextControlShell *_pInvalidator)
 constructs a FmTextControlFeature object More...
 
bool isFeatureEnabled () const
 determines whether the feature we're responsible for is currently enabled More...
 
const css::uno::Any & getFeatureState () const
 
void dispatch () const
 dispatches the feature URL to the dispatcher More...
 
void dispatch (const css::uno::Sequence< css::beans::PropertyValue > &_rArgs) const
 dispatches the feature URL to the dispatcher, with passing the given arguments More...
 
void dispose ()
 releases any resources associated with this instance More...
 

Private Member Functions

virtual ~FmTextControlFeature () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &State) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 

Private Attributes

css::uno::Reference< css::frame::XDispatch > m_xDispatcher
 
css::util::URL m_aFeatureURL
 
css::uno::Any m_aFeatureState
 
SfxSlotId m_nSlotId
 
FmTextControlShellm_pInvalidator
 
bool m_bFeatureEnabled
 

Detailed Description

Definition at line 38 of file fmtextcontrolfeature.hxx.

Constructor & Destructor Documentation

◆ FmTextControlFeature()

svx::FmTextControlFeature::FmTextControlFeature ( const css::uno::Reference< css::frame::XDispatch > &  _rxDispatcher,
css::util::URL  _aFeatureURL,
SfxSlotId  _nId,
FmTextControlShell _pInvalidator 
)

constructs a FmTextControlFeature object

Parameters
_rxDispatcherthe dispatcher which the instance should work with
_rFeatureURLthe URL which the instance should be responsible for

Definition at line 37 of file fmtextcontrolfeature.cxx.

References Exception, m_aFeatureURL, m_nSlotId, m_pInvalidator, m_refCount, m_xDispatcher, and TOOLS_WARN_EXCEPTION.

◆ ~FmTextControlFeature()

svx::FmTextControlFeature::~FmTextControlFeature ( )
overrideprivatevirtual

Definition at line 61 of file fmtextcontrolfeature.cxx.

Member Function Documentation

◆ dispatch() [1/2]

void svx::FmTextControlFeature::dispatch ( ) const

dispatches the feature URL to the dispatcher

Definition at line 66 of file fmtextcontrolfeature.cxx.

References dispatch().

Referenced by dispatch().

◆ dispatch() [2/2]

void svx::FmTextControlFeature::dispatch ( const css::uno::Sequence< css::beans::PropertyValue > &  _rArgs) const

dispatches the feature URL to the dispatcher, with passing the given arguments

◆ dispose()

void svx::FmTextControlFeature::dispose ( void  )

releases any resources associated with this instance

Definition at line 102 of file fmtextcontrolfeature.cxx.

References Exception, m_aFeatureURL, m_xDispatcher, and TOOLS_WARN_EXCEPTION.

◆ disposing()

void SAL_CALL svx::FmTextControlFeature::disposing ( const css::lang::EventObject &  Source)
overrideprivatevirtual

Definition at line 96 of file fmtextcontrolfeature.cxx.

◆ getFeatureState()

const css::uno::Any & svx::FmTextControlFeature::getFeatureState ( ) const
inline

Definition at line 65 of file fmtextcontrolfeature.hxx.

References m_aFeatureState.

◆ isFeatureEnabled()

bool svx::FmTextControlFeature::isFeatureEnabled ( ) const
inline

determines whether the feature we're responsible for is currently enabled

Definition at line 64 of file fmtextcontrolfeature.hxx.

References m_bFeatureEnabled.

◆ statusChanged()

void SAL_CALL svx::FmTextControlFeature::statusChanged ( const css::frame::FeatureStateEvent &  State)
overrideprivatevirtual

Member Data Documentation

◆ m_aFeatureState

css::uno::Any svx::FmTextControlFeature::m_aFeatureState
private

Definition at line 44 of file fmtextcontrolfeature.hxx.

Referenced by getFeatureState(), and statusChanged().

◆ m_aFeatureURL

css::util::URL svx::FmTextControlFeature::m_aFeatureURL
private

Definition at line 43 of file fmtextcontrolfeature.hxx.

Referenced by dispose(), and FmTextControlFeature().

◆ m_bFeatureEnabled

bool svx::FmTextControlFeature::m_bFeatureEnabled
private

Definition at line 47 of file fmtextcontrolfeature.hxx.

Referenced by isFeatureEnabled(), and statusChanged().

◆ m_nSlotId

SfxSlotId svx::FmTextControlFeature::m_nSlotId
private

Definition at line 45 of file fmtextcontrolfeature.hxx.

Referenced by FmTextControlFeature(), and statusChanged().

◆ m_pInvalidator

FmTextControlShell* svx::FmTextControlFeature::m_pInvalidator
private

Definition at line 46 of file fmtextcontrolfeature.hxx.

Referenced by FmTextControlFeature(), and statusChanged().

◆ m_xDispatcher

css::uno::Reference< css::frame::XDispatch > svx::FmTextControlFeature::m_xDispatcher
private

Definition at line 42 of file fmtextcontrolfeature.hxx.

Referenced by dispose(), and FmTextControlFeature().


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