LibreOffice Module vcl (master) 1
|
#include <textundo.hxx>
Public Member Functions | |
TextUndo (TextEngine *pTextEngine) | |
virtual | ~TextUndo () override |
TextEngine * | GetTextEngine () const |
virtual void | Undo () override=0 |
virtual void | Redo () override=0 |
virtual OUString | GetComment () const override |
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 |
Protected Member Functions | |
TextView * | GetView () const |
void | SetSelection (const TextSelection &rSel) |
TextDoc * | GetDoc () const |
TEParaPortions * | GetTEParaPortions () const |
Private Attributes | |
TextEngine * | mpTextEngine |
Definition at line 52 of file textundo.hxx.
|
explicit |
Definition at line 119 of file textundo.cxx.
References mpTextEngine, and p.
|
overridevirtual |
Definition at line 124 of file textundo.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Reimplemented in TextUndoDelPara, TextUndoConnectParas, TextUndoSplitPara, TextUndoInsertChars, and TextUndoRemoveChars.
Definition at line 128 of file textundo.cxx.
|
inlineprotected |
Definition at line 62 of file textundo.hxx.
References TextEngine::mpDoc, and mpTextEngine.
Referenced by TextUndoDelPara::Redo().
|
inlineprotected |
Definition at line 63 of file textundo.hxx.
References TextEngine::mpTEParaPortions, and mpTextEngine.
Referenced by TextUndoDelPara::Redo().
|
inline |
Definition at line 69 of file textundo.hxx.
References mpTextEngine.
Referenced by TextUndoDelPara::Redo(), TextUndoConnectParas::Redo(), TextUndoSplitPara::Redo(), TextUndoInsertChars::Redo(), TextUndoRemoveChars::Redo(), TextUndoDelPara::Undo(), TextUndoConnectParas::Undo(), TextUndoSplitPara::Undo(), TextUndoInsertChars::Undo(), and TextUndoRemoveChars::Undo().
|
inlineprotected |
Definition at line 59 of file textundo.hxx.
References TextEngine::GetActiveView(), and mpTextEngine.
Referenced by SetSelection(), and TextUndoDelPara::Undo().
|
overridepure virtual |
Reimplemented from SfxUndoAction.
Implemented in TextUndoDelPara, TextUndoConnectParas, TextUndoSplitPara, TextUndoInsertChars, and TextUndoRemoveChars.
|
protected |
Definition at line 133 of file textundo.cxx.
References GetView(), and TextView::ImpSetSelection().
Referenced by TextUndoDelPara::Redo(), TextUndoConnectParas::Redo(), TextUndoSplitPara::Redo(), TextUndoInsertChars::Redo(), TextUndoRemoveChars::Redo(), TextUndoDelPara::Undo(), TextUndoConnectParas::Undo(), TextUndoSplitPara::Undo(), TextUndoInsertChars::Undo(), and TextUndoRemoveChars::Undo().
|
overridepure virtual |
Reimplemented from SfxUndoAction.
Implemented in TextUndoDelPara, TextUndoConnectParas, TextUndoSplitPara, TextUndoInsertChars, and TextUndoRemoveChars.
|
private |
Definition at line 55 of file textundo.hxx.
Referenced by GetDoc(), GetTEParaPortions(), GetTextEngine(), GetView(), and TextUndo().