|
LibreOffice Module editeng (master) 1
|
#include <editundo.hxx>
Public Member Functions | |
| EditUndoInsertChars (EditEngine *pEE, const EPaM &rEPaM, OUString aStr) | |
| virtual void | Undo () override |
| virtual void | Redo () override |
| virtual bool | Merge (SfxUndoAction *pNextAction) override |
Public Member Functions inherited from EditUndo | |
| EditUndo (sal_uInt16 nI, EditEngine *pEE) | |
| virtual | ~EditUndo () override |
| EditEngine * | GetEditEngine () |
| virtual void | Undo () override=0 |
| virtual void | Redo () override=0 |
| virtual bool | CanRepeat (SfxRepeatTarget &) const override |
| virtual OUString | GetComment () const override |
| ViewShellId | GetViewShellId () const override |
| See SfxUndoAction::GetViewShellId(). More... | |
| sal_uInt16 | GetId () const |
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 | |
| EPaM | aEPaM |
| OUString | aText |
Definition at line 101 of file editundo.hxx.
| EditUndoInsertChars::EditUndoInsertChars | ( | EditEngine * | pEE, |
| const EPaM & | rEPaM, | ||
| OUString | aStr | ||
| ) |
Definition at line 306 of file editundo.cxx.
References aStr.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 332 of file editundo.cxx.
References aEPaM, aText, EPaM::nIndex, and EPaM::nPara.
|
overridevirtual |
Implements EditUndo.
Definition at line 322 of file editundo.cxx.
References aEPaM, aText, EditEngine::CreateEditPaM(), DBG_ASSERT, GetActiveView(), EditEngine::GetActiveView(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), EditPaM::GetIndex(), EditEngine::InsertText(), ImpEditView::SetEditSelection(), and EditPaM::SetIndex().
|
overridevirtual |
Implements EditUndo.
Definition at line 312 of file editundo.cxx.
References aEPaM, aText, EditEngine::CreateEditPaM(), DBG_ASSERT, GetActiveView(), EditEngine::GetActiveView(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), EditPaM::GetIndex(), EditSelection::Max(), ImpEditView::SetEditSelection(), and EditPaM::SetIndex().
|
private |
Definition at line 104 of file editundo.hxx.
|
private |
Definition at line 105 of file editundo.hxx.