LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SfxControllerItem Class Reference

#include <ctrlitem.hxx>

Inheritance diagram for SfxControllerItem:
[legend]
Collaboration diagram for SfxControllerItem:
[legend]

Public Member Functions

SfxBindingsGetBindings ()
 
const SfxBindingsGetBindings () const
 
 SfxControllerItem ()
 
 SfxControllerItem (sal_uInt16 nId, SfxBindings &)
 
virtual ~SfxControllerItem ()
 
virtual void dispose ()
 
void Bind (sal_uInt16 nNewId, SfxBindings *)
 
void UnBind ()
 
void ReBind ()
 
bool IsBound () const
 
void ClearCache ()
 
SfxControllerItemGetItemLink ()
 
SfxControllerItemChangeItemLink (SfxControllerItem *pNewLink)
 
void SetId (sal_uInt16 nItemId)
 
sal_uInt16 GetId () const
 
virtual void StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState)
 
virtual void GetControlState (sal_uInt16 nSID, boost::property_tree::ptree &)
 
MapUnit GetCoreMetric () const
 
void SetFallbackCoreMetric (MapUnit eFallback)
 
SAL_DLLPRIVATE void BindInternal_Impl (sal_uInt16 nNewId, SfxBindings *)
 

Static Public Member Functions

static SfxItemState GetItemState (const SfxPoolItem *pState)
 

Private Attributes

SfxControllerItempNext
 
SfxBindingspBindings
 
MapUnit eFallbackCoreMetric
 
sal_uInt16 nId
 

Detailed Description

Definition at line 30 of file ctrlitem.hxx.

Constructor & Destructor Documentation

◆ SfxControllerItem() [1/2]

SfxControllerItem::SfxControllerItem ( )

Definition at line 172 of file ctrlitem.cxx.

References Map100thMM, and nId.

◆ SfxControllerItem() [2/2]

SfxControllerItem::SfxControllerItem ( sal_uInt16  nId,
SfxBindings rBindings 
)

Definition at line 181 of file ctrlitem.cxx.

References Bind(), Map100thMM, nId, and nId.

◆ ~SfxControllerItem()

SfxControllerItem::~SfxControllerItem ( )
virtual

Definition at line 191 of file ctrlitem.cxx.

References dispose().

Member Function Documentation

◆ Bind()

void SfxControllerItem::Bind ( sal_uInt16  nNewId,
SfxBindings pBindinx 
)

Definition at line 47 of file ctrlitem.cxx.

References DBG_ASSERT, IsBound(), nId, pBindings, pNext, SfxBindings::Register(), and SfxBindings::Release().

Referenced by SfxControllerItem().

◆ BindInternal_Impl()

void SfxControllerItem::BindInternal_Impl ( sal_uInt16  nNewId,
SfxBindings pBindinx 
)

◆ ChangeItemLink()

SfxControllerItem * SfxControllerItem::ChangeItemLink ( SfxControllerItem pNewLink)

Definition at line 156 of file ctrlitem.cxx.

References pNext.

Referenced by SfxBindings::Register_Impl(), and SfxBindings::Release().

◆ ClearCache()

void SfxControllerItem::ClearCache ( )

Definition at line 127 of file ctrlitem.cxx.

References SfxBindings::ClearCache_Impl(), DBG_ASSERT, GetId(), and pBindings.

◆ dispose()

void SfxControllerItem::dispose ( void  )
virtual

Definition at line 196 of file ctrlitem.cxx.

References IsBound(), and UnBind().

Referenced by sfx2::sidebar::ControllerItem::~ControllerItem(), and ~SfxControllerItem().

◆ GetBindings() [1/2]

SfxBindings & SfxControllerItem::GetBindings ( )
inline

◆ GetBindings() [2/2]

const SfxBindings & SfxControllerItem::GetBindings ( ) const
inline

Definition at line 43 of file ctrlitem.hxx.

References DBG_ASSERT.

◆ GetControlState()

void SfxControllerItem::GetControlState ( sal_uInt16  nSID,
boost::property_tree::ptree &   
)
virtual

Reimplemented in sfx2::sidebar::ControllerItem.

Definition at line 229 of file ctrlitem.cxx.

◆ GetCoreMetric()

MapUnit SfxControllerItem::GetCoreMetric ( ) const

◆ GetId()

sal_uInt16 SfxControllerItem::GetId ( ) const
inline

◆ GetItemLink()

SfxControllerItem * SfxControllerItem::GetItemLink ( )

◆ GetItemState()

SfxItemState SfxControllerItem::GetItemState ( const SfxPoolItem pState)
static

◆ IsBound()

bool SfxControllerItem::IsBound ( ) const

◆ ReBind()

void SfxControllerItem::ReBind ( )

Definition at line 105 of file ctrlitem.cxx.

References DBG_ASSERT, IsBound(), pBindings, and SfxBindings::Register().

Referenced by IMPL_LINK().

◆ SetFallbackCoreMetric()

void SfxControllerItem::SetFallbackCoreMetric ( MapUnit  eFallback)
inline

Definition at line 72 of file ctrlitem.hxx.

◆ SetId()

void SfxControllerItem::SetId ( sal_uInt16  nItemId)

Definition at line 165 of file ctrlitem.cxx.

References DBG_ASSERT, IsBound(), and nId.

Referenced by SfxDispatchController_Impl::SfxDispatchController_Impl().

◆ StateChangedAtToolBoxControl()

void SfxControllerItem::StateChangedAtToolBoxControl ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
virtual

◆ UnBind()

void SfxControllerItem::UnBind ( )

Member Data Documentation

◆ eFallbackCoreMetric

MapUnit SfxControllerItem::eFallbackCoreMetric
private

Definition at line 35 of file ctrlitem.hxx.

Referenced by GetCoreMetric().

◆ nId

sal_uInt16 SfxControllerItem::nId
private

Definition at line 36 of file ctrlitem.hxx.

Referenced by Bind(), BindInternal_Impl(), GetCoreMetric(), SetId(), and SfxControllerItem().

◆ pBindings

SfxBindings* SfxControllerItem::pBindings
private

Definition at line 34 of file ctrlitem.hxx.

Referenced by Bind(), BindInternal_Impl(), ClearCache(), GetCoreMetric(), ReBind(), and UnBind().

◆ pNext

SfxControllerItem* SfxControllerItem::pNext
private

Definition at line 33 of file ctrlitem.hxx.

Referenced by Bind(), BindInternal_Impl(), ChangeItemLink(), GetItemLink(), IsBound(), and UnBind().


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