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

#include <svdundo.hxx>

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

Public Member Functions

 SdrUndoSort (const SdrPage &rPage, ::std::vector< sal_Int32 > const &rSortOrder)
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from SdrUndoAction
virtual ~SdrUndoAction () override
 
virtual bool CanRepeat (SfxRepeatTarget &rView) const override
 
virtual void Repeat (SfxRepeatTarget &rView) override
 
virtual OUString GetRepeatComment (SfxRepeatTarget &rView) const override
 
virtual OUString GetSdrRepeatComment () const
 
virtual bool CanSdrRepeat (SdrView &rView) const
 
virtual void SdrRepeat (SdrView &rView)
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void Undo ()
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void Redo ()
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void Do (::std::vector< sal_Int32 > &rSortOrder)
 

Private Attributes

::std::vector< sal_Int32 > m_OldSortOrder
 
::std::vector< sal_Int32 > m_NewSortOrder
 
sal_uInt16 const m_nPage
 

Additional Inherited Members

- Protected Member Functions inherited from SdrUndoAction
 SdrUndoAction (SdrModel &rNewMod)
 
- Protected Attributes inherited from SdrUndoAction
SdrModelrMod
 
ViewShellId m_nViewShellId
 

Detailed Description

Definition at line 388 of file svdundo.hxx.

Constructor & Destructor Documentation

◆ SdrUndoSort()

SdrUndoSort::SdrUndoSort ( const SdrPage rPage,
::std::vector< sal_Int32 > const &  rSortOrder 
)

Definition at line 943 of file svdundo.cxx.

References i, m_OldSortOrder, and size.

Member Function Documentation

◆ Do()

void SdrUndoSort::Do ( ::std::vector< sal_Int32 > &  rSortOrder)
private

◆ GetComment()

OUString SdrUndoSort::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 981 of file svdundo.cxx.

References SvxResId().

◆ Redo()

void SdrUndoSort::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 976 of file svdundo.cxx.

References Do(), and m_NewSortOrder.

◆ Undo()

void SdrUndoSort::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 971 of file svdundo.cxx.

References Do(), and m_OldSortOrder.

Member Data Documentation

◆ m_NewSortOrder

::std::vector<sal_Int32> SdrUndoSort::m_NewSortOrder
private

Definition at line 392 of file svdundo.hxx.

Referenced by Redo().

◆ m_nPage

sal_uInt16 const SdrUndoSort::m_nPage
private

Definition at line 393 of file svdundo.hxx.

Referenced by Do().

◆ m_OldSortOrder

::std::vector<sal_Int32> SdrUndoSort::m_OldSortOrder
private

Definition at line 391 of file svdundo.hxx.

Referenced by SdrUndoSort(), and Undo().


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