LibreOffice Module sd (master) 1
|
#include <sdundogr.hxx>
Public Member Functions | |
SdUndoGroup (SdDrawDocument *pSdDrawDocument) | |
virtual | ~SdUndoGroup () override |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
virtual void | Undo () override |
Undo, reverse order of execution. More... | |
virtual void | Redo () override |
void | AddAction (SdUndoAction *pAction) |
Public Member Functions inherited from SdUndoAction | |
SdUndoAction (SdDrawDocument *pSdDrawDocument) | |
void | SetComment (const OUString &rStr) |
virtual OUString | GetComment () const override |
virtual SdUndoAction * | Clone () const |
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 Attributes | |
std::vector< std::unique_ptr< SdUndoAction > > | aCtn |
Additional Inherited Members | |
Protected Attributes inherited from SdUndoAction | |
SdDrawDocument * | mpDoc |
ViewShellId | mnViewShellId |
Definition at line 28 of file sdundogr.hxx.
|
inline |
Definition at line 32 of file sdundogr.hxx.
|
overridevirtualdefault |
void SdUndoGroup::AddAction | ( | SdUndoAction * | pAction | ) |
Definition at line 64 of file sdundogr.cxx.
References aCtn.
Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), sd::HeaderFooterDialog::change(), and Merge().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 25 of file sdundogr.cxx.
References AddAction(), and SdUndoAction::Clone().
|
overridevirtual |
|
overridevirtual |
Undo, reverse order of execution.
Reimplemented from SfxUndoAction.
Definition at line 46 of file sdundogr.cxx.
References aCtn.
|
private |
Definition at line 30 of file sdundogr.hxx.
Referenced by AddAction(), Redo(), and Undo().