|
LibreOffice Module sc (master) 1
|
#include <undotab.hxx>
Public Member Functions | |
| ScUndoMakeScenario (ScDocShell *pNewDocShell, SCTAB nSrc, SCTAB nDest, OUString aN, OUString aC, const Color &rCol, ScScenarioFlags nF, const ScMarkData &rMark) | |
| virtual | ~ScUndoMakeScenario () 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 Attributes | |
| std::unique_ptr< ScMarkData > | mpMarkData |
| SCTAB | nSrcTab |
| SCTAB | nDestTab |
| OUString | aName |
| OUString | aComment |
| Color | aColor |
| ScScenarioFlags | nFlags |
| std::unique_ptr< SdrUndoAction > | pDrawUndo |
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 222 of file undotab.hxx.
| ScUndoMakeScenario::ScUndoMakeScenario | ( | ScDocShell * | pNewDocShell, |
| SCTAB | nSrc, | ||
| SCTAB | nDest, | ||
| OUString | aN, | ||
| OUString | aC, | ||
| const Color & | rCol, | ||
| ScScenarioFlags | nF, | ||
| const ScMarkData & | rMark | ||
| ) |
Definition at line 778 of file undotab.cxx.
References aName, ScDocShell::GetDocument(), GetSdrUndoAction(), ScSimpleUndo::pDocShell, and pDrawUndo.
|
overridevirtual |
Definition at line 795 of file undotab.cxx.
References pDrawUndo.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 830 of file undotab.cxx.
References aColor, aComment, aName, bDrawIsInUndo, ScTabViewShell::GetActiveViewShell(), ScDocShell::MakeScenario(), mpMarkData, nDestTab, nFlags, nSrcTab, ScSimpleUndo::pDocShell, pDrawUndo, RedoSdrUndoAction(), ScDocShell::SetInUndo(), ScTabView::SetTabNo(), ScSimpleUndo::SetViewMarkData(), and SfxGetpApp().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 851 of file undotab.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 805 of file undotab.cxx.
References All, bDrawIsInUndo, ScDocument::DeleteTab(), DoSdrUndoAction(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScDocument::MaxCol(), ScDocument::MaxRow(), MAXTAB, nDestTab, nSrcTab, ScSimpleUndo::pDocShell, pDrawUndo, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScDocShell::SetInUndo(), ScTabView::SetTabNo(), and SfxGetpApp().
|
private |
Definition at line 246 of file undotab.hxx.
|
private |
Definition at line 245 of file undotab.hxx.
|
private |
Definition at line 244 of file undotab.hxx.
|
private |
Definition at line 241 of file undotab.hxx.
Referenced by Redo().
|
private |
Definition at line 243 of file undotab.hxx.
|
private |
Definition at line 247 of file undotab.hxx.
|
private |
Definition at line 242 of file undotab.hxx.
|
private |
Definition at line 248 of file undotab.hxx.
Referenced by Redo(), ScUndoMakeScenario(), Undo(), and ~ScUndoMakeScenario().