26 const std::map<OUString, ScRangeName>& rNewNames);
30 virtual void Undo()
override;
31 virtual void Redo()
override;
37 void DoChange(
const std::map<OUString, ScRangeName>& rNames);
52 virtual void Undo()
override;
53 virtual void Redo()
override;
std::unique_ptr< ScRangeData > mpRangeData
virtual void Undo() override
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
ScUndoAddRangeData(ScDocShell *pDocSh, const ScRangeData *pRangeData, SCTAB nTab)
virtual ~ScUndoAddRangeData() override
virtual OUString GetComment() const override
virtual void Repeat(SfxRepeatTarget &rTarget) override
virtual void Redo() override
Undo object for named ranges, both in global and sheet-local scopes.
virtual OUString GetComment() const override
virtual void Redo() override
std::map< OUString, ScRangeName > m_NewNames
void DoChange(const std::map< OUString, ScRangeName > &rNames)
virtual ~ScUndoAllRangeNames() override
virtual void Undo() override
ScUndoAllRangeNames(ScDocShell *pDocSh, const std::map< OUString, ScRangeName * > &rOldNames, const std::map< OUString, ScRangeName > &rNewNames)
std::map< OUString, ScRangeName > m_OldNames
virtual bool CanRepeat(SfxRepeatTarget &rTarget) const override
virtual void Repeat(SfxRepeatTarget &rTarget) override