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

#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, const css::util::URL &_rFeatureURL, 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...
 

Protected 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 const m_aFeatureURL
 
css::uno::Any m_aFeatureState
 
SfxSlotId const m_nSlotId
 
FmTextControlShellm_pInvalidator
 
bool m_bFeatureEnabled
 

Detailed Description

Definition at line 38 of file fmtextcontrolfeature.hxx.

Constructor & Destructor Documentation

svx::FmTextControlFeature::FmTextControlFeature ( const css::uno::Reference< css::frame::XDispatch > &  _rxDispatcher,
const css::util::URL &  _rFeatureURL,
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 35 of file fmtextcontrolfeature.cxx.

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

svx::FmTextControlFeature::~FmTextControlFeature ( )
overrideprotectedvirtual

Definition at line 59 of file fmtextcontrolfeature.cxx.

Member Function Documentation

void svx::FmTextControlFeature::dispatch ( ) const

dispatches the feature URL to the dispatcher

Definition at line 64 of file fmtextcontrolfeature.cxx.

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

void svx::FmTextControlFeature::dispose ( void  )

releases any resources associated with this instance

Definition at line 100 of file fmtextcontrolfeature.cxx.

References Exception, m_aFeatureURL, and m_xDispatcher.

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

Definition at line 94 of file fmtextcontrolfeature.cxx.

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

Definition at line 65 of file fmtextcontrolfeature.hxx.

References m_aFeatureState.

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.

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

Member Data Documentation

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

Definition at line 44 of file fmtextcontrolfeature.hxx.

Referenced by getFeatureState(), and statusChanged().

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

Definition at line 43 of file fmtextcontrolfeature.hxx.

Referenced by dispose(), and FmTextControlFeature().

bool svx::FmTextControlFeature::m_bFeatureEnabled
private

Definition at line 47 of file fmtextcontrolfeature.hxx.

Referenced by isFeatureEnabled(), and statusChanged().

SfxSlotId const svx::FmTextControlFeature::m_nSlotId
private

Definition at line 45 of file fmtextcontrolfeature.hxx.

Referenced by FmTextControlFeature(), and statusChanged().

FmTextControlShell* svx::FmTextControlFeature::m_pInvalidator
private

Definition at line 46 of file fmtextcontrolfeature.hxx.

Referenced by FmTextControlFeature(), and statusChanged().

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: