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

Controller-Item for ruler. More...

Inheritance diagram for sd::RulerCtrlItem:
[legend]
Collaboration diagram for sd::RulerCtrlItem:
[legend]

Public Member Functions

 RulerCtrlItem (Ruler &rRlr, SfxBindings &rBind)
 
- Public Member Functions inherited from SfxControllerItem
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 *)
 

Protected Member Functions

virtual void StateChangedAtToolBoxControl (sal_uInt16 nSId, SfxItemState eState, const SfxPoolItem *pItem) override
 

Private Attributes

RulerrRuler
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxControllerItem
static SfxItemState GetItemState (const SfxPoolItem *pState)
 

Detailed Description

Controller-Item for ruler.

Definition at line 39 of file sdruler.cxx.

Constructor & Destructor Documentation

◆ RulerCtrlItem()

sd::RulerCtrlItem::RulerCtrlItem ( Ruler rRlr,
SfxBindings rBind 
)

Definition at line 51 of file sdruler.cxx.

Member Function Documentation

◆ StateChangedAtToolBoxControl()

void sd::RulerCtrlItem::StateChangedAtToolBoxControl ( sal_uInt16  nSId,
SfxItemState  eState,
const SfxPoolItem pItem 
)
overrideprotectedvirtual

Reimplemented from SfxControllerItem.

Definition at line 57 of file sdruler.cxx.

References DBG_ASSERT, SfxPointItem::GetValue(), rRuler, and sd::Ruler::SetNullOffset().

Member Data Documentation

◆ rRuler

Ruler& sd::RulerCtrlItem::rRuler
private

Definition at line 41 of file sdruler.cxx.

Referenced by StateChangedAtToolBoxControl().


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