LibreOffice Module sc (master) 1
|
#include <undobase.hxx>
Public Member Functions | |
ScMoveUndo (ScDocShell *pDocSh, ScDocumentUniquePtr pRefDoc, std::unique_ptr< ScRefUndoData > pRefData) | |
virtual | ~ScMoveUndo () override |
Public Member Functions inherited from ScSimpleUndo | |
ScSimpleUndo (ScDocShell *pDocSh) | |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
virtual std::optional< ScRange > | getAffectedRange () 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 |
Protected Member Functions | |
void | BeginUndo () |
void | EndUndo () |
Protected Member Functions inherited from ScSimpleUndo | |
bool | IsPaintLocked () const |
bool | SetViewMarkData (const ScMarkData &rMarkData) |
void | BeginUndo () |
void | EndUndo () |
void | BeginRedo () |
void | EndRedo () |
void | BroadcastChanges (const ScRange &rRange) |
void | BroadcastChanges (const DataSpansType &rSpans) |
Broadcast changes on specified spans. More... | |
Protected Attributes | |
std::unique_ptr< SdrUndoAction > | pDrawUndo |
ScDocumentUniquePtr | pRefUndoDoc |
std::unique_ptr< ScRefUndoData > | pRefUndoData |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Private Member Functions | |
void | UndoRef () |
Additional Inherited Members | |
Public Types inherited from ScSimpleUndo | |
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
Static Protected Member Functions inherited from ScSimpleUndo | |
static void | ShowTable (SCTAB nTab) |
static void | ShowTable (const ScRange &rRange) |
Definition at line 139 of file undobase.hxx.
ScMoveUndo::ScMoveUndo | ( | ScDocShell * | pDocSh, |
ScDocumentUniquePtr | pRefDoc, | ||
std::unique_ptr< ScRefUndoData > | pRefData | ||
) |
Definition at line 411 of file undobase.cxx.
References ScDocShell::GetDocument(), GetSdrUndoAction(), ScSimpleUndo::pDocShell, pDrawUndo, and pRefUndoData.
|
overridevirtual |
Definition at line 422 of file undobase.cxx.
References pDrawUndo, pRefUndoData, and pRefUndoDoc.
|
protected |
Definition at line 438 of file undobase.cxx.
References ScSimpleUndo::BeginUndo(), EnableDrawAdjust(), ScDocShell::GetDocument(), and ScSimpleUndo::pDocShell.
Referenced by ScUndoInsertCells::Undo(), ScUndoDeleteCells::Undo(), ScUndoDeleteMulti::Undo(), ScUndoDragDrop::Undo(), and ScUndoDeleteTab::Undo().
|
protected |
Definition at line 445 of file undobase.cxx.
References DoSdrUndoAction(), EnableDrawAdjust(), ScSimpleUndo::EndUndo(), ScDocShell::GetDocument(), ScSimpleUndo::pDocShell, pDrawUndo, pRefUndoDoc, and UndoRef().
Referenced by ScUndoInsertCells::Undo(), ScUndoDeleteCells::Undo(), ScUndoDeleteMulti::Undo(), ScUndoDragDrop::Undo(), and ScUndoDeleteTab::Undo().
|
private |
Definition at line 429 of file undobase.cxx.
References FORMULA, ScDocShell::GetDocument(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScSimpleUndo::pDocShell, pRefUndoData, and pRefUndoDoc.
Referenced by EndUndo().
|
protected |
Definition at line 147 of file undobase.hxx.
Referenced by EndUndo(), ScUndoDragDrop::Redo(), ScUndoDeleteTab::Redo(), ScMoveUndo(), and ~ScMoveUndo().
|
protected |
Definition at line 149 of file undobase.hxx.
Referenced by ScMoveUndo(), UndoRef(), and ~ScMoveUndo().
|
protected |
Definition at line 148 of file undobase.hxx.
Referenced by ScUndoDeleteCells::DoChange(), ScUndoDragDrop::DoUndo(), EndUndo(), ScUndoDeleteCells::SetChangeTrack(), ScUndoDeleteMulti::SetChangeTrack(), ScUndoDragDrop::SetChangeTrack(), ScUndoDeleteTab::SetChangeTrack(), ScUndoDeleteMulti::Undo(), ScUndoDeleteTab::Undo(), UndoRef(), and ~ScMoveUndo().