LibreOffice Module editeng (master) 1
|
#include <editundo.hxx>
Public Member Functions | |
EditUndoTransliteration (EditEngine *pEE, const ESelection &rESel, TransliterationFlags nMode) | |
virtual | ~EditUndoTransliteration () override |
void | SetText (const OUString &rText) |
void | SetText (std::unique_ptr< EditTextObject > pObj) |
void | SetNewSelection (const ESelection &rSel) |
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 | |
ESelection | aOldESel |
ESelection | aNewESel |
TransliterationFlags | nMode |
std::unique_ptr< EditTextObject > | pTxtObj |
OUString | aText |
Definition at line 251 of file editundo.hxx.
EditUndoTransliteration::EditUndoTransliteration | ( | EditEngine * | pEE, |
const ESelection & | rESel, | ||
TransliterationFlags | nMode | ||
) |
Definition at line 602 of file editundo.cxx.
|
overridevirtual |
Definition at line 606 of file editundo.cxx.
|
overridevirtual |
Implements EditUndo.
Definition at line 647 of file editundo.cxx.
References aOldESel, EditEngine::CreateSelection(), DBG_ASSERT, GetActiveView(), EditEngine::GetActiveView(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), nMode, ImpEditView::SetEditSelection(), and EditEngine::TransliterateText().
|
inline |
Definition at line 269 of file editundo.hxx.
References aNewESel.
|
inline |
Definition at line 267 of file editundo.hxx.
References aText.
|
inline |
Definition at line 268 of file editundo.hxx.
References pTxtObj.
|
overridevirtual |
Implements EditUndo.
Definition at line 610 of file editundo.cxx.
References aNewESel, aText, EditEngine::CreateSelection(), DBG_ASSERT, CharAttribList::DeleteEmptyAttribs(), EditEngine::DeleteSelected(), GetActiveView(), EditEngine::GetActiveView(), ContentNode::GetCharAttribs(), EditEngine::GetEditDoc(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), EditPaM::GetIndex(), EditDoc::GetItemPool(), EditPaM::GetNode(), EditEngine::InsertParaBreak(), EditEngine::InsertText(), EditSelection::Max(), EditSelection::Min(), pTxtObj, ImpEditView::SetEditSelection(), EditPaM::SetIndex(), and EditPaM::SetNode().
|
private |
Definition at line 255 of file editundo.hxx.
Referenced by SetNewSelection(), and Undo().
|
private |
Definition at line 254 of file editundo.hxx.
Referenced by Redo().
|
private |
Definition at line 261 of file editundo.hxx.
|
private |
Definition at line 258 of file editundo.hxx.
Referenced by Redo().
|
private |
Definition at line 260 of file editundo.hxx.