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 UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
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 402 of file svdundo.hxx.

Constructor & Destructor Documentation

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

Definition at line 1022 of file svdundo.cxx.

References i, m_OldSortOrder, and size.

Member Function Documentation

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

Definition at line 1036 of file svdundo.cxx.

References SdrModel::GetPage(), m_nPage, SdrUndoAction::rMod, and SAL_WARN.

Referenced by Redo(), and Undo().

OUString SdrUndoSort::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1060 of file svdundo.cxx.

References SvxResId().

void SdrUndoSort::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1055 of file svdundo.cxx.

References Do(), and m_NewSortOrder.

void SdrUndoSort::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1050 of file svdundo.cxx.

References Do(), and m_OldSortOrder.

Member Data Documentation

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

Definition at line 406 of file svdundo.hxx.

Referenced by Redo().

sal_uInt16 const SdrUndoSort::m_nPage
private

Definition at line 407 of file svdundo.hxx.

Referenced by Do().

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

Definition at line 405 of file svdundo.hxx.

Referenced by SdrUndoSort(), and Undo().


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