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 |
![]() | |
ScSimpleUndo (ScDocShell *pDocSh) | |
virtual bool | Merge (SfxUndoAction *pNextAction) override |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
![]() | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual void | UndoWithContext (SfxUndoContext &i_context) |
virtual void | RedoWithContext (SfxUndoContext &i_context) |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) 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 | |
![]() | |
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
![]() | |
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 void | ShowTable (SCTAB nTab) |
static void | ShowTable (const ScRange &rRange) |
![]() | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 319 of file undocell.hxx.
ScUndoRangeNames::ScUndoRangeNames | ( | ScDocShell * | pNewDocShell, |
std::unique_ptr< ScRangeName > | pOld, | ||
std::unique_ptr< ScRangeName > | pNew, | ||
SCTAB | nTab | ||
) |
Definition at line 976 of file undocell.cxx.
|
overridevirtual |
Definition at line 985 of file undocell.cxx.
References pNewRanges, and pOldRanges.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1042 of file undocell.cxx.
|
private |
Definition at line 996 of file undocell.cxx.
References ScDocument::CompileHybridFormula(), ScDocShell::GetDocument(), mnTab, p, ScSimpleUndo::pDocShell, ScDocument::PreprocessRangeNameUpdate(), ScDocument::SetRangeName(), and SfxGetpApp().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 991 of file undocell.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1030 of file undocell.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1037 of file undocell.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1023 of file undocell.cxx.
References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().
|
private |
Definition at line 337 of file undocell.hxx.
Referenced by DoChange().
|
private |
Definition at line 336 of file undocell.hxx.
Referenced by ~ScUndoRangeNames().
|
private |
Definition at line 335 of file undocell.hxx.
Referenced by ~ScUndoRangeNames().