|
LibreOffice Module sc (master) 1
|
#include <undotab.hxx>
Public Member Functions | |
| ScUndoDeleteTab (ScDocShell *pNewDocShell, const std::vector< SCTAB > &theTabs, ScDocumentUniquePtr pUndoDocument, std::unique_ptr< ScRefUndoData > pRefData) | |
| virtual | ~ScUndoDeleteTab () 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 ScMoveUndo | |
| ScMoveUndo (ScDocShell *pDocSh, ScDocumentUniquePtr pRefDoc, std::unique_ptr< ScRefUndoData > pRefData) | |
| virtual | ~ScMoveUndo () 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 | SetChangeTrack () |
Private Attributes | |
| std::vector< SCTAB > | theTabs |
| sal_uLong | nStartChangeAction |
| sal_uLong | nEndChangeAction |
Additional Inherited Members | |
Public Types inherited from ScSimpleUndo | |
| typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
Protected Member Functions inherited from ScMoveUndo | |
| void | BeginUndo () |
| void | EndUndo () |
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 ScMoveUndo | |
| std::unique_ptr< SdrUndoAction > | pDrawUndo |
| ScDocumentUniquePtr | pRefUndoDoc |
| std::unique_ptr< ScRefUndoData > | pRefUndoData |
Protected Attributes inherited from ScSimpleUndo | |
| ScDocShell * | pDocShell |
| std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
| ViewShellId | mnViewShellId |
Definition at line 91 of file undotab.hxx.
| ScUndoDeleteTab::ScUndoDeleteTab | ( | ScDocShell * | pNewDocShell, |
| const std::vector< SCTAB > & | theTabs, | ||
| ScDocumentUniquePtr | pUndoDocument, | ||
| std::unique_ptr< ScRefUndoData > | pRefData | ||
| ) |
Definition at line 253 of file undotab.cxx.
References SetChangeTrack(), and theTabs.
|
overridevirtual |
Definition at line 261 of file undotab.cxx.
References theTabs.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
BeginRedo
EndRedo
Reimplemented from SfxUndoAction.
Definition at line 381 of file undotab.cxx.
References bDrawIsInUndo, ScViewFunc::DeleteTables(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), lcl_GetVisibleTabBefore(), ScSimpleUndo::pDocShell, ScMoveUndo::pDrawUndo, RedoSdrUndoAction(), SetChangeTrack(), ScDocShell::SetInUndo(), ScTabView::SetTabNo(), and theTabs.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 400 of file undotab.cxx.
References ScViewFunc::DeleteTable(), ScViewData::GetTabNo(), ScTabView::GetViewData(), SfxShell::GetViewShell(), and rTarget.
|
private |
Definition at line 271 of file undotab.cxx.
References ScRange::aEnd, ScChangeTrack::AppendDeleteRange(), ScRange::aStart, ScChangeTrack::GetActionMax(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), i, ScDocument::MaxCol(), ScDocument::MaxRow(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, ScMoveUndo::pRefUndoDoc, ScAddress::SetTab(), and theTabs.
Referenced by Redo(), and ScUndoDeleteTab().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 301 of file undotab.cxx.
References All, ALL, aName, bDrawIsInUndo, ScMoveUndo::BeginUndo(), ScMoveUndo::EndUndo(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), ScDocument::InsertTab(), lcl_GetVisibleTabBefore(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), ScMoveUndo::pRefUndoDoc, ScDocument::RenameTab(), SC_TAB_INSERTED, ScDocument::SetActiveScenario(), ScDocument::SetLayoutRTL(), ScDocument::SetLink(), ScDocument::SetScenario(), ScDocument::SetScenarioData(), ScDocument::SetSheetEvents(), ScDocument::SetTabBgColor(), ScTabView::SetTabNo(), ScDocument::SetTabProtection(), ScDocument::SetVisible(), SfxGetpApp(), theTabs, ScChangeTrack::Undo(), and ScDocShell::UpdateLinks().
|
private |
Definition at line 111 of file undotab.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 110 of file undotab.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 109 of file undotab.hxx.
Referenced by Redo(), ScUndoDeleteTab(), SetChangeTrack(), Undo(), and ~ScUndoDeleteTab().