LibreOffice Module svx (master) 1
|
#include <svdundo.hxx>
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 DateTime & | GetDateTime () 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 | |
SdrModel & | rMod |
ViewShellId | m_nViewShellId |
Definition at line 388 of file svdundo.hxx.
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.
|
private |
Definition at line 957 of file svdundo.cxx.
References SdrObjList::GetObjCount(), SdrModel::GetPage(), m_nPage, SdrUndoAction::rMod, SAL_WARN, and SdrObjList::sort().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 981 of file svdundo.cxx.
References SvxResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 976 of file svdundo.cxx.
References Do(), and m_NewSortOrder.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 971 of file svdundo.cxx.
References Do(), and m_OldSortOrder.
|
private |
Definition at line 392 of file svdundo.hxx.
Referenced by Redo().
|
private |
Definition at line 393 of file svdundo.hxx.
Referenced by Do().
|
private |
Definition at line 391 of file svdundo.hxx.
Referenced by SdrUndoSort(), and Undo().