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 |
![]() | |
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 (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 | |
![]() | |
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 568 of file undoblk.hxx.
ScUndoRefConversion::ScUndoRefConversion | ( | ScDocShell * | pNewDocShell, |
const ScRange & | aMarkRange, | ||
const ScMarkData & | rMark, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
ScDocumentUniquePtr | pNewRedoDoc, | ||
bool | bNewMulti | ||
) |
Definition at line 1278 of file undoblk3.cxx.
References assert(), pUndoDoc, and SetChangeTrack().
|
overridevirtual |
Definition at line 1292 of file undoblk3.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1359 of file undoblk3.cxx.
|
private |
Definition at line 1313 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 1298 of file undoblk3.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1344 of file undoblk3.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), ScSimpleUndo::EndRedo(), pRedoDoc, and SetChangeTrack().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1353 of file undoblk3.cxx.
|
private |
Definition at line 1303 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 1333 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 584 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 587 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 588 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 590 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 589 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 586 of file undoblk.hxx.
Referenced by Redo(), and ~ScUndoRefConversion().
|
private |
Definition at line 585 of file undoblk.hxx.
Referenced by ScUndoRefConversion(), SetChangeTrack(), Undo(), and ~ScUndoRefConversion().