LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
ScUndoEnterMatrix (ScDocShell *pNewDocShell, const ScRange &rArea, ScDocumentUniquePtr pNewUndoDoc, OUString aForm) | |
virtual | ~ScUndoEnterMatrix () 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 ScBlockUndo | |
ScBlockUndo (ScDocShell *pDocSh, const ScRange &rRange, ScBlockUndoMode eBlockMode) | |
virtual | ~ScBlockUndo () override |
virtual std::optional< ScRange > | getAffectedRange () 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 | SetChangeTrack () |
Private Attributes | |
ScDocumentUniquePtr | pUndoDoc |
OUString | aFormula |
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 ScBlockUndo | |
void | BeginUndo () |
void | EndUndo () |
void | EndRedo () |
bool | AdjustHeight () |
void | ShowBlock () |
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 ScBlockUndo | |
ScRange | aBlockRange |
std::unique_ptr< SdrUndoAction > | pDrawUndo |
ScBlockUndoMode | eMode |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 727 of file undoblk.hxx.
ScUndoEnterMatrix::ScUndoEnterMatrix | ( | ScDocShell * | pNewDocShell, |
const ScRange & | rArea, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
OUString | aForm | ||
) |
Definition at line 1896 of file undoblk.cxx.
References SetChangeTrack().
|
overridevirtual |
Definition at line 1905 of file undoblk.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1909 of file undoblk.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1946 of file undoblk.cxx.
References ScBlockUndo::aBlockRange, ScRange::aEnd, aFormula, ScRange::aStart, ScSimpleUndo::BeginRedo(), ScAddress::Col(), ScBlockUndo::EndRedo(), ScDocShell::GetDocument(), ScDocument::GetSheetLimits(), ScDocument::InsertMatrixFormula(), ScSimpleUndo::pDocShell, ScAddress::Row(), ScMarkData::SelectOneTable(), SetChangeTrack(), ScMarkData::SetMarkArea(), and ScAddress::Tab().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1965 of file undoblk.cxx.
References aFormula, ScDocShell::GetDocument(), ScDocument::GetGrammar(), ScSimpleUndo::pDocShell, and rTarget.
|
private |
Definition at line 1914 of file undoblk.cxx.
References ScBlockUndo::aBlockRange, ScChangeTrack::AppendContentRange(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, and pUndoDoc.
Referenced by Redo(), and ScUndoEnterMatrix().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1925 of file undoblk.cxx.
References ScBlockUndo::aBlockRange, ALL, ScBlockUndo::BeginUndo(), ScTabView::CellContentChanged(), ScDocument::DeleteAreaTab(), ScBlockUndo::EndUndo(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), Grid, nEndChangeAction, NOTE, nStartChangeAction, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), pUndoDoc, and ScChangeTrack::Undo().
|
private |
Definition at line 746 of file undoblk.hxx.
|
private |
Definition at line 748 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 747 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().
|
private |
Definition at line 745 of file undoblk.hxx.
Referenced by SetChangeTrack(), and Undo().