|
LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
| ScUndoCut (ScDocShell *pNewDocShell, const ScRange &aRange, const ScAddress &aOldEnd, const ScMarkData &rMark, ScDocumentUniquePtr pNewUndoDoc) | |
| virtual | ~ScUndoCut () 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 | DoChange (const bool bUndo) |
| void | SetChangeTrack () |
Private Attributes | |
| ScMarkData | aMarkData |
| ScDocumentUniquePtr | pUndoDoc |
| ScRange | aExtendedRange |
| 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 134 of file undoblk.hxx.
| ScUndoCut::ScUndoCut | ( | ScDocShell * | pNewDocShell, |
| const ScRange & | aRange, | ||
| const ScAddress & | aOldEnd, | ||
| const ScMarkData & | rMark, | ||
| ScDocumentUniquePtr | pNewUndoDoc | ||
| ) |
Definition at line 816 of file undoblk.cxx.
References SetChangeTrack().
|
overridevirtual |
Definition at line 826 of file undoblk.cxx.
|
overridevirtual |
|
private |
include in ScBlockUndo?
Definition at line 845 of file undoblk.cxx.
References ScBlockUndo::aBlockRange, ScViewFunc::AdjustBlockHeight(), ScRange::aEnd, aExtendedRange, ALL, aMarkData, ScRange::aStart, ScSimpleUndo::BroadcastChanges(), ScTabView::CellContentChanged(), ScAddress::Col(), ScDocument::DeleteArea(), ScTabViewShell::GetActiveViewShell(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), Grid, nEndChangeAction, NOCAPTIONS, nStartChangeAction, OBJECTS, ScSimpleUndo::pDocShell, ScBlockUndo::pDrawUndo, ScDocShell::PostDataChanged(), ScDocShell::PostPaint(), pUndoDoc, RedoSdrUndoAction(), ScAddress::Row(), SetChangeTrack(), ScAddress::SetTab(), ScChangeTrack::Undo(), and ScDocShell::UpdatePaintExt().
|
overridevirtual |
|
overridevirtual |
include in ScBlockUndo?
include in ScBlockUndo?
Reimplemented from SfxUndoAction.
Definition at line 894 of file undoblk.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), EnableDrawAdjust(), ScBlockUndo::EndRedo(), ScDocShell::GetDocument(), and ScSimpleUndo::pDocShell.
|
overridevirtual |
|
private |
Definition at line 835 of file undoblk.cxx.
References ScBlockUndo::aBlockRange, ScChangeTrack::AppendContentRange(), ScDocument::GetChangeTrack(), ScDocShell::GetDocument(), nEndChangeAction, nStartChangeAction, ScSimpleUndo::pDocShell, pUndoDoc, and SC_CACM_CUT.
Referenced by DoChange(), and ScUndoCut().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 887 of file undoblk.cxx.
References ScBlockUndo::BeginUndo(), DoChange(), and ScBlockUndo::EndUndo().
|
private |
Definition at line 155 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 152 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 157 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 156 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().
|
private |
Definition at line 154 of file undoblk.hxx.
Referenced by DoChange(), and SetChangeTrack().