LibreOffice Module editeng (master) 1
|
#include <editundo.hxx>
Public Member Functions | |
EditUndoDelContent (EditEngine *pEE, ContentNode *pNode, sal_Int32 nPortion) | |
virtual | ~EditUndoDelContent () override |
virtual void | Undo () override |
virtual void | Redo () 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 | |
bool | bDelObject |
sal_Int32 | nNode |
ContentNode * | pContentNode |
Definition at line 36 of file editundo.hxx.
EditUndoDelContent::EditUndoDelContent | ( | EditEngine * | pEE, |
ContentNode * | pNode, | ||
sal_Int32 | nPortion | ||
) |
Definition at line 160 of file editundo.cxx.
|
overridevirtual |
Definition at line 167 of file editundo.cxx.
References bDelObject, and pContentNode.
|
overridevirtual |
Implements EditUndo.
Definition at line 182 of file editundo.cxx.
References EditEngine::AppendDeletedNodeInfo(), bDelObject, EditDoc::Count(), DBG_ASSERT, GetActiveView(), EditEngine::GetActiveView(), EditEngine::GetEditDoc(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), EditDoc::GetObject(), EditEngine::IsCallParaInsertedOrDeleted(), ContentNode::Len(), nNode, EditEngine::ParagraphDeleted(), pContentNode, EditDoc::Release(), EditEngine::RemoveParaPortion(), ImpEditView::SetEditSelection(), and EditEngine::UpdateSelections().
|
overridevirtual |
Implements EditUndo.
Definition at line 173 of file editundo.cxx.
References bDelObject, DBG_ASSERT, GetActiveView(), EditEngine::GetActiveView(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), EditEngine::InsertContent(), ContentNode::Len(), nNode, pContentNode, and ImpEditView::SetEditSelection().
|
private |
Definition at line 39 of file editundo.hxx.
Referenced by Redo(), Undo(), and ~EditUndoDelContent().
|
private |
Definition at line 40 of file editundo.hxx.
|
private |
Definition at line 41 of file editundo.hxx.
Referenced by Redo(), Undo(), and ~EditUndoDelContent().