LibreOffice Module sc (master) 1
|
#include <undodat.hxx>
Public Member Functions | |
ScUndoSubTotals (ScDocShell *pNewDocShell, SCTAB nNewTab, const ScSubTotalParam &rNewParam, SCROW nNewEndY, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab, std::unique_ptr< ScRangeName > pNewUndoRange, std::unique_ptr< ScDBCollection > pNewUndoDB) | |
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 ScDBFuncUndo | |
ScDBFuncUndo (ScDocShell *pDocSh, const ScRange &rOriginal) | |
virtual | ~ScDBFuncUndo () override |
void | BeginUndo () |
void | EndUndo () |
void | BeginRedo () |
void | EndRedo () |
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 Attributes | |
SCTAB | nTab |
ScSubTotalParam | aParam |
SCROW | nNewEndRow |
ScDocumentUniquePtr | xUndoDoc |
std::unique_ptr< ScOutlineTable > | xUndoTable |
std::unique_ptr< ScRangeName > | xUndoRange |
std::unique_ptr< ScDBCollection > | xUndoDB |
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 ScDBFuncUndo | |
std::unique_ptr< ScDBData > | pAutoDBRange |
ScRange | aOriginalRange |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 183 of file undodat.hxx.
ScUndoSubTotals::ScUndoSubTotals | ( | ScDocShell * | pNewDocShell, |
SCTAB | nNewTab, | ||
const ScSubTotalParam & | rNewParam, | ||
SCROW | nNewEndY, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
std::unique_ptr< ScOutlineTable > | pNewUndoTab, | ||
std::unique_ptr< ScRangeName > | pNewUndoRange, | ||
std::unique_ptr< ScDBCollection > | pNewUndoDB | ||
) |
Definition at line 604 of file undodat.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 713 of file undodat.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 692 of file undodat.cxx.
References aParam, ScDBFuncUndo::BeginRedo(), ScDBFunc::DoSubTotals(), ScDBFuncUndo::EndRedo(), ScTabViewShell::GetActiveViewShell(), ScViewData::GetTabNo(), ScTabView::GetViewData(), ScUndoUtil::MarkSimpleBlock(), ScSubTotalParam::nCol1, ScSubTotalParam::nCol2, ScSubTotalParam::nRow1, ScSubTotalParam::nRow2, nTab, ScSimpleUndo::pDocShell, and ScTabView::SetTabNo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 709 of file undodat.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 625 of file undodat.cxx.
References ALL, aParam, ScDBFuncUndo::BeginUndo(), ScDocument::DeleteAreaTab(), ScDocument::DeleteRow(), ScDBFuncUndo::EndUndo(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Grid, ScDocument::InsertRow(), Left, ScUndoUtil::MarkSimpleBlock(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScSubTotalParam::nCol1, ScSubTotalParam::nCol2, nNewEndRow, NONE, ScSubTotalParam::nRow1, ScSubTotalParam::nRow2, nTab, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScDocument::SetDBCollection(), ScDocument::SetOutlineTable(), ScDocument::SetRangeName(), ScTabView::SetTabNo(), Size, Top, ScTabView::UpdateScrollBars(), xUndoDB, xUndoDoc, xUndoRange, and xUndoTable.
|
private |
Definition at line 200 of file undodat.hxx.
|
private |
Definition at line 201 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 199 of file undodat.hxx.
|
private |
Definition at line 205 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 202 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 204 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 203 of file undodat.hxx.
Referenced by Undo().