|
LibreOffice Module sc (master) 1
|
#include <undodat.hxx>
Public Member Functions | |
| ScUndoQuery (ScDocShell *pNewDocShell, SCTAB nNewTab, const ScQueryParam &rParam, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScDBCollection > pNewUndoDB, const ScRange *pOld, bool bSize, const ScRange *pAdvSrc) | |
| virtual | ~ScUndoQuery () 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 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 | |
| std::unique_ptr< SdrUndoAction > | pDrawUndo |
| SCTAB | nTab |
| ScQueryParam | aQueryParam |
| ScDocumentUniquePtr | xUndoDoc |
| std::unique_ptr< ScDBCollection > | xUndoDB |
| ScRange | aOldDest |
| ScRange | aAdvSource |
| bool | bIsAdvanced |
| bool | bDestArea |
| bool | bDoSize |
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 208 of file undodat.hxx.
| ScUndoQuery::ScUndoQuery | ( | ScDocShell * | pNewDocShell, |
| SCTAB | nNewTab, | ||
| const ScQueryParam & | rParam, | ||
| ScDocumentUniquePtr | pNewUndoDoc, | ||
| std::unique_ptr< ScDBCollection > | pNewUndoDB, | ||
| const ScRange * | pOld, | ||
| bool | bSize, | ||
| const ScRange * | pAdvSrc | ||
| ) |
Definition at line 718 of file undodat.cxx.
References aAdvSource, aOldDest, bDestArea, bIsAdvanced, ScDocShell::GetDocument(), GetSdrUndoAction(), ScSimpleUndo::pDocShell, and pDrawUndo.
|
overridevirtual |
Definition at line 745 of file undodat.cxx.
References pDrawUndo.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 893 of file undodat.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 871 of file undodat.cxx.
References aAdvSource, aQueryParam, ScDBFuncUndo::BeginRedo(), bIsAdvanced, ScDBFuncUndo::EndRedo(), ScTabViewShell::GetActiveViewShell(), ScViewData::GetTabNo(), ScTabView::GetViewData(), nTab, ScDBFunc::Query(), and ScTabView::SetTabNo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 889 of file undodat.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 755 of file undodat.cxx.
References ScRange::aEnd, ALL, aOldDest, aQueryParam, bDestArea, bDoSize, ScDBFuncUndo::BeginUndo(), ScQueryParamBase::bInplace, ScAddress::Col(), ScDocument::DeleteAreaTab(), ScTabView::DoneBlockMode(), DoSdrUndoAction(), ScDBFuncUndo::EndUndo(), ScDocument::FitBlock(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetDBAtCursor(), ScDocShell::GetDocument(), ScViewData::GetTabNo(), ScTabView::GetViewData(), Grid, ScDocument::InvalidatePageBreaks(), ScTabViewShell::isAnyEditViewInRange(), Left, ScUndoUtil::MarkSimpleBlock(), ScDocument::MaxCol(), ScDocument::MaxRow(), ScQueryParamTable::nCol1, ScQueryParamTable::nCol2, ScQueryParam::nDestCol, ScQueryParam::nDestRow, ScQueryParam::nDestTab, NONE, ScTabViewShell::notifyAllViewsHeaderInvalidation(), ScTabViewShell::notifyAllViewsSheetGeomInvalidation(), ScQueryParamTable::nRow1, ScQueryParamTable::nRow2, nTab, ScDBFunc::OnLOKShowHideColRow(), pData, ScSimpleUndo::pDocShell, pDrawUndo, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScAddress::Row(), ROW_HEADER, ScDocument::SetDBCollection(), ScDocument::SetDirty(), ScTabView::SetTabNo(), TOP_LEFT, ScDocument::UpdatePageBreaks(), xUndoDB, and xUndoDoc.
|
private |
Definition at line 231 of file undodat.hxx.
Referenced by Redo(), and ScUndoQuery().
|
private |
Definition at line 230 of file undodat.hxx.
Referenced by ScUndoQuery(), and Undo().
|
private |
Definition at line 227 of file undodat.hxx.
|
private |
Definition at line 233 of file undodat.hxx.
Referenced by ScUndoQuery(), and Undo().
|
private |
Definition at line 234 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 232 of file undodat.hxx.
Referenced by Redo(), and ScUndoQuery().
|
private |
Definition at line 226 of file undodat.hxx.
|
private |
Definition at line 225 of file undodat.hxx.
Referenced by ScUndoQuery(), Undo(), and ~ScUndoQuery().
|
private |
Definition at line 229 of file undodat.hxx.
Referenced by Undo().
|
private |
Definition at line 228 of file undodat.hxx.
Referenced by Undo().