LibreOffice Module sc (master) 1
|
#include <undocell.hxx>
Public Member Functions | |
ScUndoDetective (ScDocShell *pNewDocShell, std::unique_ptr< SdrUndoAction > pDraw, const ScDetOpData *pOperation, std::unique_ptr< ScDetOpList > pUndoList=nullptr) | |
virtual | ~ScUndoDetective () 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 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 Attributes | |
bool | bIsDelete |
std::unique_ptr< ScDetOpList > | pOldList |
sal_uInt16 | nAction |
ScAddress | aPos |
std::unique_ptr< SdrUndoAction > | pDrawUndo |
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 306 of file undocell.hxx.
ScUndoDetective::ScUndoDetective | ( | ScDocShell * | pNewDocShell, |
std::unique_ptr< SdrUndoAction > | pDraw, | ||
const ScDetOpData * | pOperation, | ||
std::unique_ptr< ScDetOpList > | pUndoList = nullptr |
||
) |
Definition at line 877 of file undocell.cxx.
References aPos, bIsDelete, ScDetOpData::GetOperation(), ScDetOpData::GetPos(), and nAction.
|
overridevirtual |
Definition at line 893 of file undocell.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 977 of file undocell.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 899 of file undocell.cxx.
References bIsDelete, nAction, SCDETOP_ADDERROR, SCDETOP_ADDPRED, SCDETOP_ADDSUCC, SCDETOP_DELPRED, SCDETOP_DELSUCC, and ScResId().
|
overridevirtual |
use broadcast instead?
Reimplemented from SfxUndoAction.
Definition at line 952 of file undocell.cxx.
References ScDocument::AddDetectiveOperation(), aPos, ScSimpleUndo::BeginRedo(), bIsDelete, ScDocument::ClearDetectiveOperations(), ScSimpleUndo::EndRedo(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), nAction, ScSimpleUndo::pDocShell, pDrawUndo, ScTabView::RecalcPPT(), and RedoSdrUndoAction().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 972 of file undocell.cxx.
|
overridevirtual |
use broadcast instead?
Reimplemented from SfxUndoAction.
Definition at line 915 of file undocell.cxx.
References aPos, ScSimpleUndo::BeginUndo(), bIsDelete, ScDetOpList::Count(), DoSdrUndoAction(), ScSimpleUndo::EndUndo(), ScTabViewShell::GetActiveViewShell(), ScDetOpList::GetDataVector(), ScDocument::GetDetOpList(), ScDocShell::GetDocument(), nAction, ScSimpleUndo::pDocShell, pDrawUndo, pOldList, ScTabView::RecalcPPT(), and ScDocument::SetDetOpList().
|
private |
Definition at line 325 of file undocell.hxx.
Referenced by Redo(), ScUndoDetective(), and Undo().
|
private |
Definition at line 322 of file undocell.hxx.
Referenced by GetComment(), Redo(), ScUndoDetective(), and Undo().
|
private |
Definition at line 324 of file undocell.hxx.
Referenced by GetComment(), Redo(), ScUndoDetective(), and Undo().
|
private |
Definition at line 326 of file undocell.hxx.
Referenced by Redo(), Undo(), and ~ScUndoDetective().
|
private |
Definition at line 323 of file undocell.hxx.
Referenced by Undo(), and ~ScUndoDetective().