LibreOffice Module svx (master) 1
Public 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

 SvxUndoRedoControl (const css::uno::Reference< css::uno::XComponentContext > &rContext)
 
virtual ~SvxUndoRedoControl () override
 
virtual std::unique_ptr< WeldToolbarPopupweldPopupWindow () override
 
virtual VclPtr< vcl::WindowcreateVclPopupWindow (vcl::Window *pParent) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &rArguments) override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &rEvent) override
 
void Do (sal_Int16 nCount)
 
void SetText (const OUString &rText)
 
void SetInfo (sal_Int32 nCount)
 
- Public Member Functions inherited from svt::PopupWindowController
 PopupWindowController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, const OUString &aCommandURL)
 
virtual ~PopupWindowController () override
 
void EndPopupMode ()
 
virtual VclPtr< vcl::WindowcreateVclPopupWindow (vcl::Window *pParent)
 
virtual std::unique_ptr< WeldToolbarPopupweldPopupWindow ()=0
 
virtual OUString SAL_CALL getImplementationName () override=0
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override=0
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL statusChanged (const css::frame::FeatureStateEvent &Event) override
 
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow () override
 
virtual void SAL_CALL click () override
 

Private Attributes

std::vector< OUString > aUndoRedoList
 
OUString aDefaultTooltip
 

Additional Inherited Members

- Protected Attributes inherited from svt::PopupWindowController
std::unique_ptr< ToolbarPopupContainermxPopoverContainer
 
VclPtr< InterimToolbarPopupmxInterimPopover
 

Detailed Description

Definition at line 29 of file lboxctrl.hxx.

Constructor & Destructor Documentation

◆ SvxUndoRedoControl()

SvxUndoRedoControl::SvxUndoRedoControl ( const css::uno::Reference< css::uno::XComponentContext > &  rContext)

Definition at line 229 of file lboxctrl.cxx.

◆ ~SvxUndoRedoControl()

SvxUndoRedoControl::~SvxUndoRedoControl ( )
overridevirtual

Definition at line 254 of file lboxctrl.cxx.

Member Function Documentation

◆ createVclPopupWindow()

VclPtr< vcl::Window > SvxUndoRedoControl::createVclPopupWindow ( vcl::Window pParent)
overridevirtual

◆ Do()

void SvxUndoRedoControl::Do ( sal_Int16  nCount)

◆ getImplementationName()

OUString SvxUndoRedoControl::getImplementationName ( )
overridevirtual

Implements svt::PopupWindowController.

Definition at line 329 of file lboxctrl.cxx.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > SvxUndoRedoControl::getSupportedServiceNames ( )
overridevirtual

Implements svt::PopupWindowController.

Definition at line 334 of file lboxctrl.cxx.

◆ initialize()

void SvxUndoRedoControl::initialize ( const css::uno::Sequence< css::uno::Any > &  rArguments)
overridevirtual

◆ SetInfo()

void SvxUndoRedoControl::SetInfo ( sal_Int32  nCount)

Definition at line 102 of file lboxctrl.cxx.

References nCount, SetText(), and SvxResId().

Referenced by createVclPopupWindow().

◆ SetText()

void SvxUndoRedoControl::SetText ( const OUString &  rText)

Definition at line 258 of file lboxctrl.cxx.

References svt::PopupWindowController::mxInterimPopover.

Referenced by SetInfo().

◆ statusChanged()

void SAL_CALL SvxUndoRedoControl::statusChanged ( const css::frame::FeatureStateEvent &  rEvent)
overridevirtual

Reimplemented from svt::PopupWindowController.

Definition at line 264 of file lboxctrl.cxx.

References aDefaultTooltip, aUndoRedoList, nId, and ToolBox::SetQuickHelpText().

◆ weldPopupWindow()

std::unique_ptr< WeldToolbarPopup > SvxUndoRedoControl::weldPopupWindow ( )
overridevirtual

Implements svt::PopupWindowController.

Definition at line 300 of file lboxctrl.cxx.

References aUndoRedoList.

Member Data Documentation

◆ aDefaultTooltip

OUString SvxUndoRedoControl::aDefaultTooltip
private

Definition at line 32 of file lboxctrl.hxx.

Referenced by initialize(), and statusChanged().

◆ aUndoRedoList

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

Definition at line 31 of file lboxctrl.hxx.

Referenced by createVclPopupWindow(), statusChanged(), and weldPopupWindow().


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