LibreOffice Module sc (master)  1
Public Member Functions | Private Attributes | List of all members
ScUndoDetective Class Reference

#include <undocell.hxx>

Inheritance diagram for ScUndoDetective:
[legend]
Collaboration diagram for ScUndoDetective:
[legend]

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...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

bool bIsDelete
 
std::unique_ptr< ScDetOpListpOldList
 
sal_uInt16 nAction
 
ScAddress aPos
 
std::unique_ptr< SdrUndoActionpDrawUndo
 

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
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 297 of file undocell.hxx.

Constructor & Destructor Documentation

ScUndoDetective::ScUndoDetective ( ScDocShell pNewDocShell,
std::unique_ptr< SdrUndoAction pDraw,
const ScDetOpData pOperation,
std::unique_ptr< ScDetOpList pUndoList = nullptr 
)

Definition at line 859 of file undocell.cxx.

References aPos, bIsDelete, ScDetOpData::GetOperation(), ScDetOpData::GetPos(), and nAction.

ScUndoDetective::~ScUndoDetective ( )
overridevirtual

Definition at line 875 of file undocell.cxx.

References pDrawUndo, and pOldList.

Member Function Documentation

bool ScUndoDetective::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 959 of file undocell.cxx.

OUString ScUndoDetective::GetComment ( ) const
overridevirtual
void ScUndoDetective::Redo ( )
overridevirtual
void ScUndoDetective::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 954 of file undocell.cxx.

void ScUndoDetective::Undo ( )
overridevirtual

Member Data Documentation

ScAddress ScUndoDetective::aPos
private

Definition at line 316 of file undocell.hxx.

Referenced by Redo(), ScUndoDetective(), and Undo().

bool ScUndoDetective::bIsDelete
private

Definition at line 313 of file undocell.hxx.

Referenced by GetComment(), Redo(), ScUndoDetective(), and Undo().

sal_uInt16 ScUndoDetective::nAction
private

Definition at line 315 of file undocell.hxx.

Referenced by GetComment(), Redo(), ScUndoDetective(), and Undo().

std::unique_ptr<SdrUndoAction> ScUndoDetective::pDrawUndo
private

Definition at line 317 of file undocell.hxx.

Referenced by Redo(), Undo(), and ~ScUndoDetective().

std::unique_ptr<ScDetOpList> ScUndoDetective::pOldList
private

Definition at line 314 of file undocell.hxx.

Referenced by Undo(), and ~ScUndoDetective().


The documentation for this class was generated from the following files: