LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
ScUndoFillTable (ScDocShell *pNewDocShell, const ScMarkData &rMark, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, ScDocumentUniquePtr pNewUndoDoc, bool bNewMulti, SCTAB nSrc, InsertDeleteFlags nFlg, ScPasteFunc nFunc, bool bSkip, bool bLink) | |
virtual | ~ScUndoFillTable () override |
virtual void | Undo () override |
virtual void | Redo () override |
virtual void | Repeat (SfxRepeatTarget &rTarget) override |
virtual bool | CanRepeat (SfxRepeatTarget &rTarget) const override |
virtual OUString | GetComment () const 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 |
Private Member Functions | |
void | DoChange (const bool bUndo) |
void | SetChangeTrack () |
Private Attributes | |
ScRange | aRange |
ScMarkData | aMarkData |
ScDocumentUniquePtr | pUndoDoc |
sal_uLong | nStartChangeAction |
sal_uLong | nEndChangeAction |
InsertDeleteFlags | nFlags |
ScPasteFunc | nFunction |
SCTAB | nSrcTab |
bool | bMulti |
bool | bSkipEmpty |
bool | bAsLink |
Additional Inherited Members | |
Public Types inherited from ScSimpleUndo | |
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
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... | |
Static Protected Member Functions inherited from ScSimpleUndo | |
static void | ShowTable (SCTAB nTab) |
static void | ShowTable (const ScRange &rRange) |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 283 of file undoblk.hxx.
ScUndoFillTable::ScUndoFillTable | ( | ScDocShell * | pNewDocShell, |
const ScMarkData & | rMark, | ||
SCCOL | nStartX, | ||
SCROW | nStartY, | ||
SCTAB | nStartZ, | ||
SCCOL | nEndX, | ||
SCROW | nEndY, | ||
SCTAB | nEndZ, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
bool | bNewMulti, | ||
SCTAB | nSrc, | ||
InsertDeleteFlags | nFlg, | ||
ScPasteFunc | nFunc, | ||
bool | bSkip, | ||
bool | bLink | ||
) |
Definition at line 206 of file undoblk3.cxx.
References SetChangeTrack().
|
overridevirtual |
Definition at line 226 of file undoblk3.cxx.
|
overridevirtual |
|
private |
Definition at line 263 of file undoblk3.cxx.
References ScRange::aEnd, ALL, aMarkData, aRange, ScRange::aStart, bAsLink, bMulti, bSkipEmpty, ScDocument::DeleteAreaTab(), ScDocument::DeleteSelectionTab(), ScTabView::DoneBlockMode(), Extras, ScDocument::FillTabMarked(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), ScMarkData::GetTableSelect(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Grid, ScMarkData::MarkToMulti(), ScMarkData::MarkToSimple(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nEndChangeAction, nFlags, nFunction, nSrcTab, nStartChangeAction, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), pUndoDoc, SetChangeTrack(), ScAddress::SetTab(), ScTabView::SetTabNo(), ScSimpleUndo::SetViewMarkData(), and ScChangeTrack::Undo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 230 of file undoblk3.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 324 of file undoblk3.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 331 of file undoblk3.cxx.
References bAsLink, bSkipEmpty, nFlags, nFunction, and rTarget.
|
private |
Definition at line 235 of file undoblk3.cxx.
References ScRange::aEnd, aMarkData, ScChangeTrack::AppendContentRange(), aRange, ScRange::aStart, ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), nEndChangeAction, nSrcTab, nStartChangeAction, ScSimpleUndo::pDocShell, pUndoDoc, and ScAddress::SetTab().
Referenced by DoChange(), and ScUndoFillTable().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 317 of file undoblk3.cxx.
References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().
|
private |
Definition at line 303 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 302 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 313 of file undoblk.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 311 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 312 of file undoblk.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 307 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 308 of file undoblk.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 309 of file undoblk.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 310 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 306 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 305 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().