LibreOffice Module sc (master) 1
|
also change BlockUndo? More...
#include <undoblk.hxx>
Public Member Functions | |
ScUndoUpdateAreaLink (ScDocShell *pShell, OUString aOldD, OUString aOldF, OUString aOldO, OUString aOldA, const ScRange &rOldR, sal_uLong nOldRD, OUString aNewD, OUString aNewF, OUString aNewO, OUString aNewA, const ScRange &rNewR, sal_uLong nNewRD, ScDocumentUniquePtr pUndo, ScDocumentUniquePtr pRedo, bool bDoInsert) | |
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 (const bool bUndo) const |
Private Attributes | |
OUString | aOldDoc |
OUString | aOldFlt |
OUString | aOldOpt |
OUString | aOldArea |
ScRange | aOldRange |
OUString | aNewDoc |
OUString | aNewFlt |
OUString | aNewOpt |
OUString | aNewArea |
ScRange | aNewRange |
ScDocumentUniquePtr | xUndoDoc |
ScDocumentUniquePtr | xRedoDoc |
sal_uLong | nOldRefresh |
sal_uLong | nNewRefresh |
bool | bWithInsert |
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 |
also change BlockUndo?
Definition at line 805 of file undoblk.hxx.
ScUndoUpdateAreaLink::ScUndoUpdateAreaLink | ( | ScDocShell * | pShell, |
OUString | aOldD, | ||
OUString | aOldF, | ||
OUString | aOldO, | ||
OUString | aOldA, | ||
const ScRange & | rOldR, | ||
sal_uLong | nOldRD, | ||
OUString | aNewD, | ||
OUString | aNewF, | ||
OUString | aNewO, | ||
OUString | aNewA, | ||
const ScRange & | rNewR, | ||
sal_uLong | nNewRD, | ||
ScDocumentUniquePtr | pUndo, | ||
ScDocumentUniquePtr | pRedo, | ||
bool | bDoInsert | ||
) |
Definition at line 1613 of file undoblk3.cxx.
References aNewRange, aOldRange, and ScRange::aStart.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1739 of file undoblk3.cxx.
|
private |
Definition at line 1644 of file undoblk3.cxx.
References ScDocShell::AdjustRowHeight(), ScRange::aEnd, ALL, aNewRange, aOldRange, ScRange::aStart, bWithInsert, ScTabView::CellContentChanged(), ScAddress::Col(), ScDocument::DeleteAreaTab(), ScDocument::ExtendMerge(), ScDocument::FitBlock(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), Grid, ScDocument::MaxCol(), ScDocument::MaxRow(), NOTE, ScSimpleUndo::pDocShell, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), ScAddress::Row(), ScAddress::SetCol(), ScAddress::SetRow(), ScAddress::Tab(), xRedoDoc, and xUndoDoc.
|
overridevirtual |
own text ??
Reimplemented from SfxUndoAction.
Definition at line 1639 of file undoblk3.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1718 of file undoblk3.cxx.
References aNewArea, aNewDoc, aNewFlt, aNewOpt, aNewRange, aOldArea, aOldDoc, aOldFlt, aOldOpt, aOldRange, DoChange(), ScDocShell::GetDocument(), ScDocument::GetLinkManager(), lcl_FindAreaLink(), nNewRefresh, ScSimpleUndo::pDocShell, and pLink.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1734 of file undoblk3.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1702 of file undoblk3.cxx.
References aNewArea, aNewDoc, aNewFlt, aNewOpt, aNewRange, aOldArea, aOldDoc, aOldFlt, aOldOpt, aOldRange, DoChange(), ScDocShell::GetDocument(), ScDocument::GetLinkManager(), lcl_FindAreaLink(), nOldRefresh, ScSimpleUndo::pDocShell, and pLink.
|
private |
Definition at line 836 of file undoblk.hxx.
|
private |
Definition at line 833 of file undoblk.hxx.
|
private |
Definition at line 834 of file undoblk.hxx.
|
private |
Definition at line 835 of file undoblk.hxx.
|
private |
Definition at line 837 of file undoblk.hxx.
Referenced by DoChange(), Redo(), ScUndoUpdateAreaLink(), and Undo().
|
private |
Definition at line 831 of file undoblk.hxx.
|
private |
Definition at line 828 of file undoblk.hxx.
|
private |
Definition at line 829 of file undoblk.hxx.
|
private |
Definition at line 830 of file undoblk.hxx.
|
private |
Definition at line 832 of file undoblk.hxx.
Referenced by DoChange(), Redo(), ScUndoUpdateAreaLink(), and Undo().
|
private |
Definition at line 842 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 841 of file undoblk.hxx.
Referenced by Redo().
|
private |
Definition at line 840 of file undoblk.hxx.
Referenced by Undo().
|
private |
Definition at line 839 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 838 of file undoblk.hxx.
Referenced by DoChange().