47 virtual void Undo()
override;
48 virtual void Redo()
override;
70 std::vector<OUString>&& newNameList);
73 virtual void Undo()
override;
74 virtual void Redo()
override;
96 const std::vector<SCTAB> &
theTabs,
98 std::unique_ptr<ScRefUndoData> pRefData );
101 virtual void Undo()
override;
102 virtual void Redo()
override;
122 const OUString& rOldName,
123 const OUString& rNewName);
126 virtual void Undo()
override;
127 virtual void Redo()
override;
146 std::unique_ptr<std::vector<SCTAB>> pOldTabs,
147 std::unique_ptr<std::vector<SCTAB>> pNewTabs,
148 std::unique_ptr<std::vector< OUString>> pOldNames =
nullptr,
149 std::unique_ptr<std::vector< OUString>> pNewNames =
nullptr );
153 virtual void Undo()
override;
154 virtual void Redo()
override;
174 std::unique_ptr<std::vector<SCTAB>> pOldTabs,
175 std::unique_ptr<std::vector<SCTAB>> pNewTabs,
176 std::unique_ptr<std::vector< OUString>> pNewNames =
nullptr );
180 virtual void Undo()
override;
181 virtual void Redo()
override;
202 const Color& aOTabBgColor,
203 const Color& aNTabBgColor);
209 virtual void Undo()
override;
210 virtual void Redo()
override;
219 void DoChange(
bool bUndoType)
const;
228 OUString aN, OUString aC,
233 virtual void Undo()
override;
234 virtual void Redo()
override;
259 virtual void Undo()
override;
260 virtual void Redo()
override;
283 virtual void Undo()
override;
284 virtual void Redo()
override;
296 std::unique_ptr<SCTAB[]>
298 std::unique_ptr<ScLinkMode[]>
300 std::unique_ptr<OUString[]>
311 std::vector<SCTAB>&& newUndoTabs,
315 virtual void Undo()
override;
316 virtual void Redo()
override;
337 virtual void Undo()
override;
338 virtual void Redo()
override;
356 std::unique_ptr<ScTableProtection> && pProtectSettings);
359 virtual void Undo()
override;
360 virtual void Redo()
override;
377 std::unique_ptr<ScPrintRangeSaver> pOld,
378 std::unique_ptr<ScPrintRangeSaver> pNew );
381 virtual void Undo()
override;
382 virtual void Redo()
override;
401 OUString aON, OUString aNN,
402 OUString aOC, OUString aNC,
408 virtual void Undo()
override;
409 virtual void Redo()
override;
432 OUString aON, OUString aNN );
436 virtual void Undo()
override;
437 virtual void Redo()
override;
457 virtual void Undo()
override;
458 virtual void Redo()
override;
todo: It should be possible to have MarkArrays for each table, in order to enable "search all" across...
sheet protection state container
std::unique_ptr< SdrUndoAction > pDrawUndo
virtual void Undo() override
virtual void Repeat(SfxRepeatTarget &rTarget) override
ScUndoCopyTab(ScDocShell *pNewDocShell, std::unique_ptr< std::vector< SCTAB > > pOldTabs, std::unique_ptr< std::vector< SCTAB > > pNewTabs, std::unique_ptr< std::vector< OUString > > pNewNames=nullptr)
virtual ~ScUndoCopyTab() override
std::unique_ptr< ::std::vector< SCTAB > > mpOldTabs
std::unique_ptr< ::std::vector< OUString > > mpNewNames
virtual OUString GetComment() const override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Redo() override
std::unique_ptr< ::std::vector< SCTAB > > mpNewTabs
virtual OUString GetComment() const override
virtual ~ScUndoDeleteTab() override
ScUndoDeleteTab(ScDocShell *pNewDocShell, const std::vector< SCTAB > &theTabs, ScDocumentUniquePtr pUndoDocument, std::unique_ptr< ScRefUndoData > pRefData)
sal_uLong nStartChangeAction
virtual void Redo() override
virtual void Undo() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
std::vector< SCTAB > theTabs
sal_uLong nEndChangeAction
This class implements undo & redo of document protect & unprotect operations.
::std::unique_ptr< ScDocProtection > mpProtectSettings
virtual void Undo() override
virtual OUString GetComment() const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
ScUndoDocProtect(ScDocShell *pShell, ::std::unique_ptr< ScDocProtection > &&pProtectSettings)
void DoProtect(bool bProtect)
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual ~ScUndoDocProtect() override
virtual void Redo() override
virtual void Repeat(SfxRepeatTarget &rTarget) override
ScUndoImportTab(ScDocShell *pShell, SCTAB nNewTab, SCTAB nNewCount)
virtual void Undo() override
ScDocumentUniquePtr xRedoDoc
virtual void Redo() override
virtual ~ScUndoImportTab() override
virtual OUString GetComment() const override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
std::unique_ptr< SdrUndoAction > pDrawUndo
virtual void Undo() override
sal_uLong nEndChangeAction
virtual void Redo() override
std::unique_ptr< SdrUndoAction > pDrawUndo
virtual OUString GetComment() const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
ScUndoInsertTab(ScDocShell *pNewDocShell, SCTAB nTabNum, bool bApp, OUString aNewName)
virtual ~ScUndoInsertTab() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual ~ScUndoInsertTables() override
sal_uLong nEndChangeAction
ScUndoInsertTables(ScDocShell *pNewDocShell, SCTAB nTabNum, std::vector< OUString > &&newNameList)
std::vector< OUString > aNameList
sal_uLong nStartChangeAction
virtual void Undo() override
virtual OUString GetComment() const override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual void Redo() override
std::unique_ptr< SdrUndoAction > pDrawUndo
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual ~ScUndoLayoutRTL() override
virtual void Undo() override
virtual OUString GetComment() const override
ScUndoLayoutRTL(ScDocShell *pShell, SCTAB nNewTab, bool bNewRTL)
virtual void Redo() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual ~ScUndoMakeScenario() override
std::unique_ptr< SdrUndoAction > pDrawUndo
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual void Redo() override
ScUndoMakeScenario(ScDocShell *pNewDocShell, SCTAB nSrc, SCTAB nDest, OUString aN, OUString aC, const Color &rCol, ScScenarioFlags nF, const ScMarkData &rMark)
virtual OUString GetComment() const override
std::unique_ptr< ScMarkData > mpMarkData
virtual void Undo() override
virtual void Undo() override
std::unique_ptr< ::std::vector< SCTAB > > mpNewTabs
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 bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Redo() override
virtual ~ScUndoMoveTab() override
virtual void Repeat(SfxRepeatTarget &rTarget) override
std::unique_ptr< ::std::vector< OUString > > mpOldNames
std::unique_ptr< ::std::vector< OUString > > mpNewNames
virtual OUString GetComment() const override
std::unique_ptr< ::std::vector< SCTAB > > mpOldTabs
void DoChange(bool bUndo) const
void DoChange(bool bUndo)
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual void Undo() override
virtual void Redo() override
virtual OUString GetComment() const override
std::unique_ptr< ScPrintRangeSaver > pNewRanges
ScUndoPrintRange(ScDocShell *pShell, SCTAB nNewTab, std::unique_ptr< ScPrintRangeSaver > pOld, std::unique_ptr< ScPrintRangeSaver > pNew)
virtual ~ScUndoPrintRange() override
std::unique_ptr< ScPrintRangeSaver > pOldRanges
virtual void Undo() override
virtual void Repeat(SfxRepeatTarget &rTarget) override
void DoChange(bool bLink) const
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Redo() override
virtual ~ScUndoRemoveLink() override
std::unique_ptr< ScLinkMode[]> pModes
virtual OUString GetComment() const override
ScUndoRemoveLink(ScDocShell *pShell, OUString aDoc)
std::unique_ptr< OUString[]> pTabNames
std::unique_ptr< SCTAB[]> pTabs
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
ScUndoRenameObject(ScDocShell *pNewDocShell, OUString aPN, OUString aON, OUString aNN)
virtual void Undo() override
virtual ~ScUndoRenameObject() override
virtual void Redo() override
virtual OUString GetComment() const override
virtual void Redo() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Undo() override
ScScenarioFlags nOldFlags
virtual ~ScUndoScenarioFlags() override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual OUString GetComment() const override
ScUndoScenarioFlags(ScDocShell *pNewDocShell, SCTAB nT, OUString aON, OUString aNN, OUString aOC, OUString aNC, const Color &rOCol, const Color &rNCol, ScScenarioFlags nOF, ScScenarioFlags nNF)
ScScenarioFlags nNewFlags
virtual ~ScUndoShowHideTab() override
virtual OUString GetComment() const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual void Redo() override
ScUndoShowHideTab(ScDocShell *pShell, std::vector< SCTAB > &&newUndoTabs, bool bNewShow)
std::vector< SCTAB > undoTabs
virtual void Undo() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
void DoChange(bool bShow) const
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual void Redo() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual OUString GetComment() const override
virtual ~ScUndoTabColor() override
ScUndoTabColorInfo::List aTabColorList
void DoChange(bool bUndoType) const
virtual void Undo() override
ScUndoTabColor(ScDocShell *pNewDocShell, SCTAB nT, const Color &aOTabBgColor, const Color &aNTabBgColor)
This class implements undo & redo of both protect and unprotect of sheet.
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Undo() override
virtual OUString GetComment() const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual ~ScUndoTabProtect() override
ScUndoTabProtect(ScDocShell *pShell, SCTAB nTab, std::unique_ptr< ScTableProtection > &&pProtectSettings)
::std::unique_ptr< ScTableProtection > mpProtectSettings
virtual void Redo() override
void DoProtect(bool bProtect)
std::unique_ptr< ScDocument, o3tl::default_delete< ScDocument > > ScDocumentUniquePtr
::std::vector< ScUndoTabColorInfo > List