LibreOffice Module vcl (master) 1
|
#include <textund2.hxx>
Public Member Functions | |
TextUndoDelPara (TextEngine *pTextEngine, TextNode *pNode, sal_uInt32 nPara) | |
virtual | ~TextUndoDelPara () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual OUString | GetComment () const override |
Public Member Functions inherited from TextUndo | |
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 |
Private Attributes | |
bool | mbDelObject |
sal_uInt32 | mnPara |
TextNode * | mpNode |
Additional Inherited Members | |
Protected Member Functions inherited from TextUndo | |
TextView * | GetView () const |
void | SetSelection (const TextSelection &rSel) |
TextDoc * | GetDoc () const |
TEParaPortions * | GetTEParaPortions () const |
Definition at line 24 of file textund2.hxx.
TextUndoDelPara::TextUndoDelPara | ( | TextEngine * | pTextEngine, |
TextNode * | pNode, | ||
sal_uInt32 | nPara | ||
) |
Definition at line 139 of file textundo.cxx.
References mpNode.
|
overridevirtual |
Definition at line 147 of file textundo.cxx.
References mbDelObject, and mpNode.
|
overridevirtual |
|
overridevirtual |
Implements TextUndo.
Definition at line 165 of file textundo.cxx.
References TextUndo::GetDoc(), TextDoc::GetNodes(), TextUndo::GetTEParaPortions(), TextNode::GetText(), TextUndo::GetTextEngine(), TextEngine::ImpParagraphRemoved(), mbDelObject, mnPara, mpNode, n, p, TEParaPortions::Remove(), and TextUndo::SetSelection().
|
overridevirtual |
Implements TextUndo.
Definition at line 153 of file textundo.cxx.
References TextNode::GetText(), TextUndo::GetTextEngine(), TextUndo::GetView(), TextEngine::InsertContent(), mbDelObject, mnPara, mpNode, and TextUndo::SetSelection().
|
private |
Definition at line 27 of file textund2.hxx.
Referenced by Redo(), Undo(), and ~TextUndoDelPara().
|
private |
Definition at line 28 of file textund2.hxx.
|
private |
Definition at line 29 of file textund2.hxx.
Referenced by Redo(), Undo(), and ~TextUndoDelPara().