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...
 
virtual std::optional< ScRangegetAffectedRange () 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 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 139 of file undobase.hxx.

Constructor & Destructor Documentation

◆ ScMoveUndo()

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

◆ ~ScMoveUndo()

ScMoveUndo::~ScMoveUndo ( )
overridevirtual

Definition at line 422 of file undobase.cxx.

References pDrawUndo, pRefUndoData, and pRefUndoDoc.

Member Function Documentation

◆ BeginUndo()

void ScMoveUndo::BeginUndo ( )
protected

◆ EndUndo()

void ScMoveUndo::EndUndo ( )
protected

◆ UndoRef()

void ScMoveUndo::UndoRef ( )
private

Member Data Documentation

◆ pDrawUndo

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

◆ pRefUndoData

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

Definition at line 149 of file undobase.hxx.

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

◆ pRefUndoDoc

ScDocumentUniquePtr ScMoveUndo::pRefUndoDoc
protected

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