LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
ScUndoRefConversion (ScDocShell *pNewDocShell, const ScRange &aMarkRange, const ScMarkData &rMark, ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc, bool bNewMulti) | |
virtual | ~ScUndoRefConversion () 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 (ScDocument *pRefDoc) |
void | SetChangeTrack () |
Private Attributes | |
ScMarkData | aMarkData |
ScDocumentUniquePtr | pUndoDoc |
ScDocumentUniquePtr | pRedoDoc |
ScRange | aRange |
bool | bMulti |
sal_uLong | nStartChangeAction |
sal_uLong | nEndChangeAction |
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 567 of file undoblk.hxx.
ScUndoRefConversion::ScUndoRefConversion | ( | ScDocShell * | pNewDocShell, |
const ScRange & | aMarkRange, | ||
const ScMarkData & | rMark, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
ScDocumentUniquePtr | pNewRedoDoc, | ||
bool | bNewMulti | ||
) |
Definition at line 1283 of file undoblk3.cxx.
References pRedoDoc, pUndoDoc, and SetChangeTrack().
|
overridevirtual |
Definition at line 1297 of file undoblk3.cxx.
|
overridevirtual |
|
private |
Definition at line 1318 of file undoblk3.cxx.
References ScRange::aEnd, ALL, aMarkData, aRange, ScRange::aStart, bMulti, ScTabView::CellContentChanged(), ScDocument::CopyToDocument(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), Grid, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScAddress::SetTab(), ScSimpleUndo::SetViewMarkData(), and ScSimpleUndo::ShowTable().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1303 of file undoblk3.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1349 of file undoblk3.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), ScSimpleUndo::EndRedo(), pRedoDoc, and SetChangeTrack().
|
overridevirtual |
|
private |
Definition at line 1308 of file undoblk3.cxx.
References ScChangeTrack::AppendContentsIfInRefDoc(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, and pUndoDoc.
Referenced by Redo(), and ScUndoRefConversion().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1338 of file undoblk3.cxx.
References ScSimpleUndo::BeginUndo(), DoChange(), ScSimpleUndo::EndUndo(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, pUndoDoc, and ScChangeTrack::Undo().
|
private |
Definition at line 583 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 586 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 587 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 589 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 588 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 585 of file undoblk.hxx.
Referenced by Redo(), ScUndoRefConversion(), and ~ScUndoRefConversion().
|
private |
Definition at line 584 of file undoblk.hxx.
Referenced by ScUndoRefConversion(), SetChangeTrack(), Undo(), and ~ScUndoRefConversion().