|
LibreOffice Module sc (master) 1
|
#include <undodat.hxx>
Public Member Functions | |
| ScUndoImportData (ScDocShell *pNewDocShell, SCTAB nNewTab, const ScImportParam &rParam, SCCOL nNewEndX, SCROW nNewEndY, SCCOL nNewFormula, ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc, std::unique_ptr< ScDBData > pNewUndoData, std::unique_ptr< ScDBData > pNewRedoData) | |
| 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 | |
| SCTAB | nTab |
| ScImportParam | aImportParam |
| SCCOL | nEndCol |
| SCROW | nEndRow |
| ScDocumentUniquePtr | xUndoDoc |
| ScDocumentUniquePtr | xRedoDoc |
| std::unique_ptr< ScDBData > | xUndoDBData |
| std::unique_ptr< ScDBData > | xRedoDBData |
| SCCOL | nFormulaCols |
| bool | bRedoFilled |
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 278 of file undodat.hxx.
| ScUndoImportData::ScUndoImportData | ( | ScDocShell * | pNewDocShell, |
| SCTAB | nNewTab, | ||
| const ScImportParam & | rParam, | ||
| SCCOL | nNewEndX, | ||
| SCROW | nNewEndY, | ||
| SCCOL | nNewFormula, | ||
| ScDocumentUniquePtr | pNewUndoDoc, | ||
| ScDocumentUniquePtr | pNewRedoDoc, | ||
| std::unique_ptr< ScDBData > | pNewUndoData, | ||
| std::unique_ptr< ScDBData > | pNewRedoData | ||
| ) |
Definition at line 1041 of file undodat.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1235 of file undodat.cxx.
References rTarget, and xUndoDBData.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1061 of file undodat.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1151 of file undodat.cxx.
References ScRange::aEnd, aImportParam, ALL, ScRange::aStart, ScSimpleUndo::BeginRedo(), ScAddress::Col(), ScDocument::DeleteAreaTab(), ScSimpleUndo::EndRedo(), ScDocument::FitBlock(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScUndoUtil::GetOldDBData(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Grid, ScUndoUtil::MarkSimpleBlock(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScImportParam::nCol1, nEndCol, nEndRow, nFormulaCols, NOTE, ScImportParam::nRow1, nTab, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScAddress::Row(), ScAddress::SetCol(), ScTabView::SetTabNo(), xRedoDBData, xRedoDoc, and xUndoDBData.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1220 of file undodat.cxx.
References aImportParam, ScDBData::GetArea(), ScDBFunc::GetDBData(), SfxShell::GetViewShell(), ScDBFunc::ImportData(), ScImportParam::nCol1, ScImportParam::nCol2, ScImportParam::nRow1, ScImportParam::nRow2, and rTarget.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1066 of file undodat.cxx.
References ScRange::aEnd, aImportParam, ALL, ScRange::aStart, ScSimpleUndo::BeginUndo(), bRedoFilled, ScAddress::Col(), CONTENTS, ScDocument::CopyToDocument(), ScDocument::DeleteAreaTab(), ScSimpleUndo::EndUndo(), ScDocument::FitBlock(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetAutoCalc(), ScDocShell::GetDocument(), ScUndoUtil::GetOldDBData(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Grid, ScUndoUtil::MarkSimpleBlock(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScImportParam::nCol1, nEndCol, nEndRow, nFormulaCols, NOTE, ScImportParam::nRow1, nTab, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScAddress::Row(), ScDocument::SetAutoCalc(), ScAddress::SetCol(), ScTabView::SetTabNo(), xRedoDBData, xRedoDoc, xUndoDBData, and xUndoDoc.
|
private |
Definition at line 296 of file undodat.hxx.
|
private |
Definition at line 304 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 297 of file undodat.hxx.
|
private |
Definition at line 298 of file undodat.hxx.
|
private |
Definition at line 303 of file undodat.hxx.
|
private |
Definition at line 295 of file undodat.hxx.
|
private |
Definition at line 302 of file undodat.hxx.
|
private |
Definition at line 300 of file undodat.hxx.
|
private |
Definition at line 301 of file undodat.hxx.
Referenced by CanRepeat(), Redo(), and Undo().
|
private |
Definition at line 299 of file undodat.hxx.
Referenced by Undo().