LibreOffice Module sc (master) 1
|
#include <undocell.hxx>
Public Member Functions | |
ScUndoRangeNames (ScDocShell *pNewDocShell, std::unique_ptr< ScRangeName > pOld, std::unique_ptr< ScRangeName > pNew, SCTAB nTab) | |
virtual | ~ScUndoRangeNames () 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) |
Private Attributes | |
std::unique_ptr< ScRangeName > | pOldRanges |
std::unique_ptr< ScRangeName > | pNewRanges |
SCTAB | mnTab |
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 329 of file undocell.hxx.
ScUndoRangeNames::ScUndoRangeNames | ( | ScDocShell * | pNewDocShell, |
std::unique_ptr< ScRangeName > | pOld, | ||
std::unique_ptr< ScRangeName > | pNew, | ||
SCTAB | nTab | ||
) |
Definition at line 982 of file undocell.cxx.
|
overridevirtual |
Definition at line 991 of file undocell.cxx.
References pNewRanges, and pOldRanges.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1048 of file undocell.cxx.
|
private |
Definition at line 1002 of file undocell.cxx.
References ScDocument::CompileHybridFormula(), ScDocShell::GetDocument(), mnTab, p, ScSimpleUndo::pDocShell, pNewRanges, pOldRanges, ScDocument::PreprocessRangeNameUpdate(), ScDocument::SetRangeName(), and SfxGetpApp().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 997 of file undocell.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1036 of file undocell.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1043 of file undocell.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1029 of file undocell.cxx.
References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().
|
private |
Definition at line 347 of file undocell.hxx.
Referenced by DoChange().
|
private |
Definition at line 346 of file undocell.hxx.
Referenced by DoChange(), and ~ScUndoRangeNames().
|
private |
Definition at line 345 of file undocell.hxx.
Referenced by DoChange(), and ~ScUndoRangeNames().