LibreOffice Module chart2 (master) 1
Public Member Functions | Private Attributes | List of all members
chart::impl::ShapeUndoElement Class Referencefinal

#include <UndoActions.hxx>

Inheritance diagram for chart::impl::ShapeUndoElement:
[legend]
Collaboration diagram for chart::impl::ShapeUndoElement:
[legend]

Public Member Functions

 ShapeUndoElement (std::unique_ptr< SdrUndoAction > xSdrUndoAction)
 
virtual ~ShapeUndoElement () override
 
virtual OUString SAL_CALL getTitle () override
 
virtual void SAL_CALL undo () override
 
virtual void SAL_CALL redo () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelper< typename... Ifc >
virtual void SAL_CALL acquire () noexcept override
 
virtual void SAL_CALL release () noexcept override
 
virtual void SAL_CALL dispose () noexcept final override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) final override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
- Public Member Functions inherited from comphelper::WeakComponentImplHelperBase
virtual ~WeakComponentImplHelperBase () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual void SAL_CALL removeEventListener (css::uno::Reference< css::lang::XEventListener > const &rxListener) override
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) override
 
virtual void disposing (std::unique_lock< std::mutex > &)
 
- Public Member Functions inherited from comphelper::UnoImplBase
virtual ~UnoImplBase ()
 

Private Attributes

std::unique_ptr< SdrUndoActionm_xAction
 

Additional Inherited Members

- Protected Member Functions inherited from comphelper::WeakComponentImplHelperBase
void throwIfDisposed (std::unique_lock< std::mutex > &)
 
- Protected Attributes inherited from comphelper::WeakComponentImplHelperBase
comphelper::OInterfaceContainerHelper4< css::lang::XEventListener > maEventListeners
 
- Protected Attributes inherited from comphelper::UnoImplBase
std::mutex m_aMutex
 
bool m_bDisposed
 

Detailed Description

Definition at line 83 of file UndoActions.hxx.

Constructor & Destructor Documentation

◆ ShapeUndoElement()

chart::impl::ShapeUndoElement::ShapeUndoElement ( std::unique_ptr< SdrUndoAction xSdrUndoAction)
explicit

Definition at line 83 of file UndoActions.cxx.

◆ ~ShapeUndoElement()

chart::impl::ShapeUndoElement::~ShapeUndoElement ( )
overridevirtual

Definition at line 88 of file UndoActions.cxx.

Member Function Documentation

◆ getTitle()

OUString SAL_CALL chart::impl::ShapeUndoElement::getTitle ( )
overridevirtual

Definition at line 92 of file UndoActions.cxx.

References m_xAction.

◆ redo()

void SAL_CALL chart::impl::ShapeUndoElement::redo ( )
overridevirtual

Definition at line 106 of file UndoActions.cxx.

References m_xAction.

◆ undo()

void SAL_CALL chart::impl::ShapeUndoElement::undo ( )
overridevirtual

Definition at line 99 of file UndoActions.cxx.

References m_xAction.

Member Data Documentation

◆ m_xAction

std::unique_ptr<SdrUndoAction> chart::impl::ShapeUndoElement::m_xAction
private

Definition at line 95 of file UndoActions.hxx.

Referenced by getTitle(), redo(), and undo().


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