LibreOffice Module editeng (master) 1
|
#include <editundo.hxx>
Public Member Functions | |
EditUndoConnectParas (EditEngine *pEE, sal_Int32 nNode, sal_uInt16 nSepPos, SfxItemSet aLeftParaAttribs, SfxItemSet aRightParaAttribs, const SfxStyleSheet *pLeftStyle, const SfxStyleSheet *pRightStyle, bool bBackward) | |
virtual | ~EditUndoConnectParas () 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 | nNode |
sal_uInt16 | nSepPos |
SfxItemSet | aLeftParaAttribs |
SfxItemSet | aRightParaAttribs |
OUString | aLeftStyleName |
OUString | aRightStyleName |
SfxStyleFamily | eLeftStyleFamily |
SfxStyleFamily | eRightStyleFamily |
bool | bBackward |
Definition at line 55 of file editundo.hxx.
EditUndoConnectParas::EditUndoConnectParas | ( | EditEngine * | pEE, |
sal_Int32 | nNode, | ||
sal_uInt16 | nSepPos, | ||
SfxItemSet | aLeftParaAttribs, | ||
SfxItemSet | aRightParaAttribs, | ||
const SfxStyleSheet * | pLeftStyle, | ||
const SfxStyleSheet * | pRightStyle, | ||
bool | bBackward | ||
) |
Definition at line 215 of file editundo.cxx.
References aLeftStyleName, All, aRightStyleName, eLeftStyleFamily, eRightStyleFamily, SfxStyleSheetBase::GetFamily(), and SfxStyleSheetBase::GetName().
|
overridevirtual |
Definition at line 240 of file editundo.cxx.
|
overridevirtual |
Implements EditUndo.
Definition at line 277 of file editundo.cxx.
References bBackward, EditEngine::ConnectContents(), DBG_ASSERT, GetActiveView(), EditEngine::GetActiveView(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), nNode, and ImpEditView::SetEditSelection().
|
overridevirtual |
Implements EditUndo.
Definition at line 244 of file editundo.cxx.
References aLeftParaAttribs, aLeftStyleName, aRightParaAttribs, aRightStyleName, DBG_ASSERT, eLeftStyleFamily, eRightStyleFamily, GetActiveView(), EditEngine::GetActiveView(), EditUndo::GetEditEngine(), EditView::GetImpEditView(), EditEngine::IsCallParaInsertedOrDeleted(), nNode, nSepPos, EditEngine::ParagraphInserted(), EditEngine::SetCallParaInsertedOrDeleted(), ImpEditView::SetEditSelection(), EditEngine::SetParaAttribs(), EditEngine::SetStyleSheet(), and EditEngine::SplitContent().
|
private |
Definition at line 60 of file editundo.hxx.
Referenced by Undo().
|
private |
Definition at line 64 of file editundo.hxx.
Referenced by EditUndoConnectParas(), and Undo().
|
private |
Definition at line 61 of file editundo.hxx.
Referenced by Undo().
|
private |
Definition at line 65 of file editundo.hxx.
Referenced by EditUndoConnectParas(), and Undo().
|
private |
Definition at line 69 of file editundo.hxx.
Referenced by Redo().
|
private |
Definition at line 66 of file editundo.hxx.
Referenced by EditUndoConnectParas(), and Undo().
|
private |
Definition at line 67 of file editundo.hxx.
Referenced by EditUndoConnectParas(), and Undo().
|
private |
Definition at line 58 of file editundo.hxx.
|
private |
Definition at line 59 of file editundo.hxx.
Referenced by Undo().