|
LibreOffice Module sc (master) 1
|
#include <undotab.hxx>
Public Member Functions | |
| ScUndoMoveTab (ScDocShell *pNewDocShell, std::unique_ptr< std::vector< SCTAB > > pOldTabs, std::unique_ptr< std::vector< SCTAB > > pNewTabs, std::unique_ptr< std::vector< OUString > > pOldNames=nullptr, std::unique_ptr< std::vector< OUString > > pNewNames=nullptr) | |
| virtual | ~ScUndoMoveTab () 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 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 | DoChange (bool bUndo) const |
Private Attributes | |
| std::unique_ptr< ::std::vector< SCTAB > > | mpOldTabs |
| std::unique_ptr< ::std::vector< SCTAB > > | mpNewTabs |
| std::unique_ptr< ::std::vector< OUString > > | mpOldNames |
| std::unique_ptr< ::std::vector< OUString > > | mpNewNames |
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 141 of file undotab.hxx.
| ScUndoMoveTab::ScUndoMoveTab | ( | ScDocShell * | pNewDocShell, |
| std::unique_ptr< std::vector< SCTAB > > | pOldTabs, | ||
| std::unique_ptr< std::vector< SCTAB > > | pNewTabs, | ||
| std::unique_ptr< std::vector< OUString > > | pOldNames = nullptr, |
||
| std::unique_ptr< std::vector< OUString > > | pNewNames = nullptr |
||
| ) |
Definition at line 472 of file undotab.cxx.
References mpNewNames, mpNewTabs, mpOldNames, and mpOldTabs.
|
overridevirtual |
Definition at line 485 of file undotab.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 567 of file undotab.cxx.
|
private |
Definition at line 494 of file undotab.cxx.
References ScTabViewShell::GetActiveViewShell(), ScDocument::GetCodeCount(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), ScTabView::GetViewData(), i, MAXTAB, ScDocument::MoveTab(), ScViewData::MoveTab(), mpNewNames, mpNewTabs, mpOldNames, n, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaintExtras(), ScDocShell::PostPaintGridAll(), ScDocument::RenameTab(), ScResId(), ScTabView::SetTabNo(), and SfxGetpApp().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 557 of file undotab.cxx.
References DoChange().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 562 of file undotab.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 552 of file undotab.cxx.
References DoChange().
|
private |
Definition at line 164 of file undotab.hxx.
Referenced by DoChange(), and ScUndoMoveTab().
|
private |
Definition at line 162 of file undotab.hxx.
Referenced by DoChange(), and ScUndoMoveTab().
|
private |
Definition at line 163 of file undotab.hxx.
Referenced by DoChange(), and ScUndoMoveTab().
|
private |
Definition at line 161 of file undotab.hxx.
Referenced by ScUndoMoveTab().