|
LibreOffice Module sc (master) 1
|
#include <undodat.hxx>
Public Member Functions | |
| ScUndoConsolidate (ScDocShell *pNewDocShell, const ScArea &rArea, const ScConsolidateParam &rPar, ScDocumentUniquePtr pNewUndoDoc, bool bReference, SCROW nInsCount, std::unique_ptr< ScOutlineTable > pTab, std::unique_ptr< ScDBData > pData) | |
| 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 Attributes | |
| ScArea | aDestArea |
| ScDocumentUniquePtr | xUndoDoc |
| ScConsolidateParam | aParam |
| bool | bInsRef |
| SCSIZE | nInsertCount |
| std::unique_ptr< ScOutlineTable > | xUndoTab |
| std::unique_ptr< ScDBData > | xUndoData |
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 361 of file undodat.hxx.
| ScUndoConsolidate::ScUndoConsolidate | ( | ScDocShell * | pNewDocShell, |
| const ScArea & | rArea, | ||
| const ScConsolidateParam & | rPar, | ||
| ScDocumentUniquePtr | pNewUndoDoc, | ||
| bool | bReference, | ||
| SCROW | nInsCount, | ||
| std::unique_ptr< ScOutlineTable > | pTab, | ||
| std::unique_ptr< ScDBData > | pData | ||
| ) |
Definition at line 1549 of file undodat.cxx.
References pData.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1676 of file undodat.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1564 of file undodat.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1655 of file undodat.cxx.
References aParam, ScSimpleUndo::BeginRedo(), ScDocShell::DoConsolidate(), ScSimpleUndo::EndRedo(), ScTabViewShell::GetActiveViewShell(), ScViewData::GetTabNo(), ScTabView::GetViewData(), ScConsolidateParam::nTab, ScSimpleUndo::pDocShell, and ScTabView::SetTabNo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1672 of file undodat.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1569 of file undodat.cxx.
References aDestArea, ScRange::aEnd, ALL, ScSimpleUndo::BeginUndo(), bInsRef, ScAddress::Col(), ScDocument::DeleteAreaTab(), ScDocument::DeleteRow(), ScSimpleUndo::EndUndo(), ScDBCollection::NamedDBs::findByUpperName(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetDBCollection(), ScDocShell::GetDocument(), ScDBCollection::getNamedDBs(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Grid, Left, ScDocument::MaxCol(), ScDocument::MaxRow(), ScArea::nColEnd, ScArea::nColStart, nInsertCount, NONE, ScArea::nRowEnd, ScArea::nRowStart, ScArea::nTab, ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), ScAddress::Row(), ScDocument::SetOutlineTable(), ScTabView::SetTabNo(), Size, xUndoData, xUndoDoc, and xUndoTab.
|
private |
Definition at line 378 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 380 of file undodat.hxx.
Referenced by Redo().
|
private |
Definition at line 381 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 382 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 384 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 379 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 383 of file undodat.hxx.
Referenced by Undo().