LibreOffice Module sc (master) 1
|
#include <undobase.hxx>
Public Member Functions | |
ScMultiBlockUndo (ScDocShell *pDocSh, ScRangeList aRanges) | |
virtual | ~ScMultiBlockUndo () 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 () |
void | EndRedo () |
void | ShowBlock () |
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 | |
ScRangeList | maBlockRanges |
std::unique_ptr< SdrUndoAction > | mpDrawUndo |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
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 103 of file undobase.hxx.
ScMultiBlockUndo::ScMultiBlockUndo | ( | ScDocShell * | pDocSh, |
ScRangeList | aRanges | ||
) |
Definition at line 346 of file undobase.cxx.
References ScDocShell::GetDocument(), GetSdrUndoAction(), mpDrawUndo, and ScSimpleUndo::pDocShell.
|
overridevirtual |
Definition at line 354 of file undobase.cxx.
References mpDrawUndo.
|
protected |
Definition at line 359 of file undobase.cxx.
References ScSimpleUndo::BeginUndo(), EnableDrawAdjust(), ScDocShell::GetDocument(), and ScSimpleUndo::pDocShell.
Referenced by ScUndoPaste::Undo().
|
protected |
Definition at line 374 of file undobase.cxx.
References ScSimpleUndo::EndRedo(), and ShowBlock().
Referenced by ScUndoPaste::Redo().
|
protected |
Definition at line 365 of file undobase.cxx.
References DoSdrUndoAction(), EnableDrawAdjust(), ScSimpleUndo::EndUndo(), ScDocShell::GetDocument(), mpDrawUndo, ScSimpleUndo::pDocShell, and ShowBlock().
Referenced by ScUndoPaste::Undo().
|
protected |
Definition at line 380 of file undobase.cxx.
References ScRange::aEnd, ScRange::aStart, ScAddress::Col(), ScRangeList::empty(), ScRangeList::front(), ScTabViewShell::GetActiveViewShell(), ScViewData::GetTabNo(), ScTabView::GetViewData(), i, ScSimpleUndo::IsPaintLocked(), maBlockRanges, ScTabView::MarkRange(), ScTabView::MoveCursorAbs(), n, ScAddress::Row(), SC_FOLLOW_JUMP, ScAddress::SetTab(), ScSimpleUndo::ShowTable(), and ScRangeList::size().
|
protected |
Definition at line 110 of file undobase.hxx.
Referenced by ScUndoPaste::DoChange(), ScUndoPaste::SetChangeTrack(), ShowBlock(), and ScUndoPaste::Undo().
|
protected |
Definition at line 111 of file undobase.hxx.
Referenced by ScUndoPaste::DoChange(), EndUndo(), ScMultiBlockUndo(), and ~ScMultiBlockUndo().