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

#include <undobase.hxx>

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

Public Member Functions

 ScMoveUndo (ScDocShell *pDocSh, ScDocumentUniquePtr pRefDoc, std::unique_ptr< ScRefUndoData > pRefData)
 
virtual ~ScMoveUndo () 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 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 OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Protected Member Functions

void BeginUndo ()
 
void EndUndo ()
 
- 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...
 

Protected Attributes

std::unique_ptr< SdrUndoActionpDrawUndo
 
ScDocumentUniquePtr pRefUndoDoc
 
std::unique_ptr< ScRefUndoDatapRefUndoData
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Private Member Functions

void UndoRef ()
 

Additional Inherited Members

- Public Types inherited from ScSimpleUndo
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > DataSpansType
 
- Static Protected Member Functions inherited from ScSimpleUndo
static void ShowTable (SCTAB nTab)
 
static void ShowTable (const ScRange &rRange)
 

Detailed Description

Definition at line 135 of file undobase.hxx.

Constructor & Destructor Documentation

ScMoveUndo::ScMoveUndo ( ScDocShell pDocSh,
ScDocumentUniquePtr  pRefDoc,
std::unique_ptr< ScRefUndoData pRefData 
)
ScMoveUndo::~ScMoveUndo ( )
overridevirtual

Definition at line 419 of file undobase.cxx.

References pDrawUndo, pRefUndoData, and pRefUndoDoc.

Member Function Documentation

void ScMoveUndo::BeginUndo ( )
protected
void ScMoveUndo::EndUndo ( )
protected
void ScMoveUndo::UndoRef ( )
private

Member Data Documentation

std::unique_ptr<SdrUndoAction> ScMoveUndo::pDrawUndo
protected
std::unique_ptr<ScRefUndoData> ScMoveUndo::pRefUndoData
protected

Definition at line 145 of file undobase.hxx.

Referenced by ScMoveUndo(), UndoRef(), and ~ScMoveUndo().

ScDocumentUniquePtr ScMoveUndo::pRefUndoDoc
protected

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