LibreOffice Module editeng (master) 1
|
#include <editundo.hxx>
Public Member Functions | |
EditUndoSetStyleSheet (EditEngine *pEE, sal_Int32 nPara, OUString aPrevName, SfxStyleFamily ePrevFamily, OUString aNewName, SfxStyleFamily eNewFamily, SfxItemSet aPrevParaAttribs) | |
virtual | ~EditUndoSetStyleSheet () 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 | |
sal_Int32 | nPara |
OUString | aPrevName |
OUString | aNewName |
SfxStyleFamily | ePrevFamily |
SfxStyleFamily | eNewFamily |
SfxItemSet | aPrevParaAttribs |
Definition at line 169 of file editundo.hxx.
EditUndoSetStyleSheet::EditUndoSetStyleSheet | ( | EditEngine * | pEE, |
sal_Int32 | nPara, | ||
OUString | aPrevName, | ||
SfxStyleFamily | ePrevFamily, | ||
OUString | aNewName, | ||
SfxStyleFamily | eNewFamily, | ||
SfxItemSet | aPrevParaAttribs | ||
) |
Definition at line 447 of file editundo.cxx.
|
overridevirtual |
Definition at line 460 of file editundo.cxx.
|
overridevirtual |
Implements EditUndo.
Definition at line 472 of file editundo.cxx.
References aNewName, DBG_ASSERT, eNewFamily, GetActiveView(), EditUndo::GetEditEngine(), lcl_DoSetSelection(), nPara, and EditEngine::SetStyleSheet().
|
overridevirtual |
Implements EditUndo.
Definition at line 464 of file editundo.cxx.
References aPrevName, aPrevParaAttribs, DBG_ASSERT, ePrevFamily, GetActiveView(), EditUndo::GetEditEngine(), lcl_DoSetSelection(), nPara, EditEngine::SetParaAttribsOnly(), and EditEngine::SetStyleSheet().
|
private |
Definition at line 174 of file editundo.hxx.
Referenced by Redo().
|
private |
Definition at line 173 of file editundo.hxx.
Referenced by Undo().
|
private |
Definition at line 177 of file editundo.hxx.
Referenced by Undo().
|
private |
Definition at line 176 of file editundo.hxx.
Referenced by Redo().
|
private |
Definition at line 175 of file editundo.hxx.
Referenced by Undo().
|
private |
Definition at line 172 of file editundo.hxx.