LibreOffice Module svx (master) 1
|
#include <sdrundomanager.hxx>
Public Member Functions | |
SdrUndoManager () | |
virtual | ~SdrUndoManager () override |
virtual bool | Undo () override |
react depending on edit mode and if no more undo is possible More... | |
virtual bool | Redo () override |
virtual void | Clear () override |
void | SetEndTextEditHdl (const Link< SdrUndoManager *, void > &rLink) |
bool | isEndTextEditTriggeredFromUndo () const |
void | SetDocShell (SfxObjectShell *pDocShell) |
size_t | GetRedoActionCountBeforeTextEdit () const |
Public Member Functions inherited from EditUndoManager | |
EditUndoManager (sal_uInt16 nMaxUndoActionCount=20) | |
virtual bool | Undo () override |
virtual bool | Redo () override |
Protected Member Functions | |
bool | isTextEditActive () const |
virtual void | EmptyActionsChanged () override |
Private Member Functions | |
virtual bool | Undo () override |
virtual bool | Redo () override |
Private Attributes | |
Link< SdrUndoManager *, void > | maEndTextEditHdl |
SfxUndoAction * | mpLastUndoActionBeforeTextEdit |
size_t | mnRedoActionCountBeforeTextEdit |
bool | mbEndTextEditTriggeredFromUndo |
SfxObjectShell * | m_pDocSh |
Definition at line 28 of file sdrundomanager.hxx.
SdrUndoManager::SdrUndoManager | ( | ) |
Definition at line 25 of file sdrundomanager.cxx.
|
overridevirtual |
Definition at line 34 of file sdrundomanager.cxx.
|
overridevirtual |
Definition at line 124 of file sdrundomanager.cxx.
References isTextEditActive(), and mpLastUndoActionBeforeTextEdit.
|
overrideprotectedvirtual |
Definition at line 176 of file sdrundomanager.cxx.
References m_pDocSh.
|
inline |
Definition at line 68 of file sdrundomanager.hxx.
Referenced by SdrObjEditView::SdrEndTextEdit().
|
inline |
Definition at line 66 of file sdrundomanager.hxx.
Referenced by SdrObjEditView::SdrEndTextEdit().
|
protected |
Definition at line 172 of file sdrundomanager.cxx.
References Link< typename Arg, typename Ret >::IsSet(), and maEndTextEditHdl.
Referenced by Clear(), Redo(), SetEndTextEditHdl(), and Undo().
|
privatevirtual |
Reimplemented from EditUndoManager.
|
overridevirtual |
Reimplemented from EditUndoManager.
Definition at line 65 of file sdrundomanager.cxx.
References isTextEditActive(), SfxUndoManager::Redo(), and EditUndoManager::Redo().
Referenced by SdrObjEditView::SdrEndTextEdit().
void SdrUndoManager::SetDocShell | ( | SfxObjectShell * | pDocShell | ) |
Definition at line 174 of file sdrundomanager.cxx.
References m_pDocSh.
void SdrUndoManager::SetEndTextEditHdl | ( | const Link< SdrUndoManager *, void > & | rLink | ) |
Definition at line 143 of file sdrundomanager.cxx.
References isTextEditActive(), maEndTextEditHdl, mnRedoActionCountBeforeTextEdit, and mpLastUndoActionBeforeTextEdit.
Referenced by SdrObjEditView::SdrBeginTextEdit(), and SdrObjEditView::SdrEndTextEdit().
|
privatevirtual |
Reimplemented from EditUndoManager.
|
overridevirtual |
react depending on edit mode and if no more undo is possible
Reimplemented from EditUndoManager.
Definition at line 36 of file sdrundomanager.cxx.
References Link< typename Arg, typename Ret >::Call(), isTextEditActive(), maEndTextEditHdl, mbEndTextEditTriggeredFromUndo, mpLastUndoActionBeforeTextEdit, SfxUndoManager::Undo(), and EditUndoManager::Undo().
Referenced by SdrObjEditView::SdrEndTextEdit().
|
private |
Definition at line 39 of file sdrundomanager.hxx.
Referenced by EmptyActionsChanged(), and SetDocShell().
|
private |
Definition at line 34 of file sdrundomanager.hxx.
Referenced by isTextEditActive(), SetEndTextEditHdl(), and Undo().
|
private |
Definition at line 37 of file sdrundomanager.hxx.
Referenced by Undo().
|
private |
Definition at line 36 of file sdrundomanager.hxx.
Referenced by SetEndTextEditHdl().
|
private |
Definition at line 35 of file sdrundomanager.hxx.
Referenced by Clear(), SetEndTextEditHdl(), and Undo().