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

#include <lboxctrl.hxx>

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

Public Member Functions

 SFX_DECL_TOOLBOX_CONTROL ()
 
 SvxUndoRedoControl (sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox &rTbx)
 
virtual ~SvxUndoRedoControl () override
 
virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
virtual VclPtr< SfxPopupWindowCreatePopupWindow () override
 
- Public Member Functions inherited from SfxToolBoxControl
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual void SAL_CALL execute (sal_Int16 KeyModifier) override
 
virtual void SAL_CALL click () override
 
virtual void SAL_CALL doubleClick () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow (const css::uno::Reference< css::awt::XWindow > &rParent) override
 
 SFX_DECL_TOOLBOX_CONTROL ()
 
 SfxToolBoxControl (sal_uInt16 nSlotID, sal_uInt16 nId, ToolBox &rBox, bool bShowStrings=false)
 
virtual ~SfxToolBoxControl () override
 
ToolBoxGetToolBox () const
 
unsigned short GetId () const
 
unsigned short GetSlotId () const
 
void Dispatch (const OUString &aCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 

Private Member Functions

void Impl_SetInfo (sal_Int32 nCount)
 
 DECL_LINK (PopupModeEndHdl, FloatingWindow *, void)
 
 DECL_LINK (SelectHdl, ListBox &, void)
 

Private Attributes

OUString aActionStr
 
VclPtr< SvxPopupWindowListBoxpPopupWin
 
std::vector< OUString > aUndoRedoList
 
OUString aDefaultTooltip
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxToolBoxControl
static void Dispatch (const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, const OUString &rCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs)
 
static SfxItemState GetItemState (const SfxPoolItem *pState)
 
static SfxToolBoxControlCreateControl (sal_uInt16 nSlotId, sal_uInt16 nTbxId, ToolBox *pBox, SfxModule const *pMod)
 
static void RegisterToolBoxControl (SfxModule *, const SfxTbxCtrlFactory &)
 
- Protected Member Functions inherited from SfxToolBoxControl
 DECL_LINK (PopupModeEndHdl, FloatingWindow *, void)
 
 DECL_LINK (ClosePopupWindow, SfxPopupWindow *, void)
 
virtual void Select (sal_uInt16 nSelectModifier)
 
virtual void DoubleClick ()
 
virtual void Click ()
 
virtual VclPtr< vcl::WindowCreateItemWindow (vcl::Window *pParent)
 
void SetPopupWindow (SfxPopupWindow *pWindow)
 

Detailed Description

Definition at line 32 of file lboxctrl.hxx.

Constructor & Destructor Documentation

SvxUndoRedoControl::SvxUndoRedoControl ( sal_uInt16  nSlotId,
sal_uInt16  nId,
ToolBox rTbx 
)
SvxUndoRedoControl::~SvxUndoRedoControl ( )
overridevirtual

Definition at line 186 of file lboxctrl.cxx.

Member Function Documentation

VclPtr< SfxPopupWindow > SvxUndoRedoControl::CreatePopupWindow ( )
overridevirtual
SvxUndoRedoControl::DECL_LINK ( PopupModeEndHdl  ,
FloatingWindow ,
void   
)
private
SvxUndoRedoControl::DECL_LINK ( SelectHdl  ,
ListBox ,
void   
)
private
void SvxUndoRedoControl::Impl_SetInfo ( sal_Int32  nCount)
private

Definition at line 141 of file lboxctrl.cxx.

References aActionStr, DBG_ASSERT, SfxToolBoxControl::GetSlotId(), pPopupWin, and SvxResId().

Referenced by CreatePopupWindow().

SvxUndoRedoControl::SFX_DECL_TOOLBOX_CONTROL ( )
void SvxUndoRedoControl::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Member Data Documentation

OUString SvxUndoRedoControl::aActionStr
private

Definition at line 34 of file lboxctrl.hxx.

Referenced by CreatePopupWindow(), and Impl_SetInfo().

OUString SvxUndoRedoControl::aDefaultTooltip
private

Definition at line 37 of file lboxctrl.hxx.

Referenced by StateChanged(), and SvxUndoRedoControl().

std::vector< OUString > SvxUndoRedoControl::aUndoRedoList
private

Definition at line 36 of file lboxctrl.hxx.

Referenced by CreatePopupWindow(), and StateChanged().

VclPtr<SvxPopupWindowListBox> SvxUndoRedoControl::pPopupWin
private

Definition at line 35 of file lboxctrl.hxx.

Referenced by CreatePopupWindow(), and Impl_SetInfo().


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