|
LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
| ScUndoDeleteContents (ScDocShell *pNewDocShell, const ScMarkData &rMark, const ScRange &rRange, ScDocumentUniquePtr &&pNewUndoDoc, bool bNewMulti, InsertDeleteFlags nNewFlags, bool bObjects) | |
| virtual | ~ScUndoDeleteContents () 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 |
| void | SetDataSpans (const std::shared_ptr< DataSpansType > &pSpans) |
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) |
| void | SetChangeTrack () |
Private Attributes | |
| std::shared_ptr< DataSpansType > | mpDataSpans |
| ScRange | aRange |
| ScMarkData | aMarkData |
| ScDocumentUniquePtr | pUndoDoc |
| std::unique_ptr< SdrUndoAction > | pDrawUndo |
| sal_uLong | nStartChangeAction |
| sal_uLong | nEndChangeAction |
| InsertDeleteFlags | nFlags |
| bool | bMulti |
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 248 of file undoblk.hxx.
| ScUndoDeleteContents::ScUndoDeleteContents | ( | ScDocShell * | pNewDocShell, |
| const ScMarkData & | rMark, | ||
| const ScRange & | rRange, | ||
| ScDocumentUniquePtr && | pNewUndoDoc, | ||
| bool | bNewMulti, | ||
| InsertDeleteFlags | nNewFlags, | ||
| bool | bObjects | ||
| ) |
Definition at line 59 of file undoblk3.cxx.
References aMarkData, aRange, ScDocShell::GetDocument(), GetSdrUndoAction(), ScMarkData::IsMarked(), ScMarkData::IsMultiMarked(), ScSimpleUndo::pDocShell, pDrawUndo, SetChangeTrack(), and ScMarkData::SetMarkArea().
|
overridevirtual |
Definition at line 80 of file undoblk3.cxx.
|
overridevirtual |
|
private |
Definition at line 106 of file undoblk3.cxx.
References ScViewFunc::AdjustRowHeight(), ScRange::aEnd, aMarkData, aRange, ScRange::aStart, ATTRIB, bMulti, ScSimpleUndo::BroadcastChanges(), ScTabView::CellContentChanged(), CONTENTS, ScDocument::DeleteSelection(), DoSdrUndoAction(), EDITATTR, Extras, ScTabViewShell::GetActiveViewShell(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), Grid, ScMarkData::MarkToMulti(), ScMarkData::MarkToSimple(), mpDataSpans, nEndChangeAction, nFlags, NOCAPTIONS, NONE, nStartChangeAction, OBJECTS, ScSimpleUndo::pDocShell, pDrawUndo, ScDocShell::PostPaint(), pUndoDoc, RedoSdrUndoAction(), ScAddress::Row(), SetChangeTrack(), ScAddress::SetTab(), ScSimpleUndo::SetViewMarkData(), ScSimpleUndo::ShowTable(), SPARKLINES, STRING, ScChangeTrack::Undo(), and ScDocShell::UpdatePaintExt().
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 186 of file undoblk3.cxx.
References aRange, ScSimpleUndo::BeginRedo(), DoChange(), ScSimpleUndo::EndRedo(), HelperNotifyChanges::NotifyIfChangesListeners(), and ScSimpleUndo::pDocShell.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 195 of file undoblk3.cxx.
|
private |
Definition at line 96 of file undoblk3.cxx.
References ScChangeTrack::AppendContentRange(), aRange, CONTENTS, ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nFlags, nStartChangeAction, ScSimpleUndo::pDocShell, and pUndoDoc.
Referenced by DoChange(), and ScUndoDeleteContents().
| void ScUndoDeleteContents::SetDataSpans | ( | const std::shared_ptr< DataSpansType > & | pSpans | ) |
Definition at line 91 of file undoblk3.cxx.
References mpDataSpans.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 177 of file undoblk3.cxx.
References aRange, ScSimpleUndo::BeginUndo(), DoChange(), ScSimpleUndo::EndUndo(), HelperNotifyChanges::NotifyIfChangesListeners(), and ScSimpleUndo::pDocShell.
|
private |
Definition at line 271 of file undoblk.hxx.
Referenced by DoChange(), and ScUndoDeleteContents().
|
private |
Definition at line 270 of file undoblk.hxx.
Referenced by DoChange(), Redo(), ScUndoDeleteContents(), SetChangeTrack(), and Undo().
|
private |
Definition at line 277 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 268 of file undoblk.hxx.
Referenced by DoChange(), and SetDataSpans().
|
private |
Definition at line 275 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 276 of file undoblk.hxx.
Referenced by DoChange(), Repeat(), and SetChangeTrack().
|
private |
Definition at line 274 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 273 of file undoblk.hxx.
Referenced by DoChange(), ScUndoDeleteContents(), and ~ScUndoDeleteContents().
|
private |
Definition at line 272 of file undoblk.hxx.
Referenced by DoChange(), SetChangeTrack(), and ~ScUndoDeleteContents().