LibreOffice Module vcl (master) 1
|
#include <textund2.hxx>
Public Member Functions | |
TextUndoInsertChars (TextEngine *pTextEngine, const TextPaM &rTextPaM, OUString aStr) | |
virtual void | Undo () override |
virtual void | Redo () override |
virtual bool | Merge (SfxUndoAction *pNextAction) 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 | |
TextPaM | maTextPaM |
OUString | maText |
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 73 of file textund2.hxx.
TextUndoInsertChars::TextUndoInsertChars | ( | TextEngine * | pTextEngine, |
const TextPaM & | rTextPaM, | ||
OUString | aStr | ||
) |
Definition at line 253 of file textundo.cxx.
|
overridevirtual |
Reimplemented from TextUndo.
Definition at line 293 of file textundo.cxx.
References maText, and VclResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 276 of file textundo.cxx.
References TextPaM::GetIndex(), TextPaM::GetPara(), maText, and maTextPaM.
|
overridevirtual |
Implements TextUndo.
Definition at line 267 of file textundo.cxx.
References TextPaM::GetIndex(), TextSelection::GetStart(), TextUndo::GetTextEngine(), TextEngine::ImpInsertText(), maText, maTextPaM, and TextUndo::SetSelection().
|
overridevirtual |
Implements TextUndo.
Definition at line 259 of file textundo.cxx.
References TextSelection::GetEnd(), TextPaM::GetIndex(), TextUndo::GetTextEngine(), TextEngine::ImpDeleteText(), maText, maTextPaM, and TextUndo::SetSelection().
|
private |
Definition at line 77 of file textund2.hxx.
Referenced by GetComment(), Merge(), Redo(), and Undo().
|
private |
Definition at line 76 of file textund2.hxx.