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

#include <undobase.hxx>

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

Public Member Functions

 ScMultiBlockUndo (ScDocShell *pDocSh, ScRangeList aRanges)
 
virtual ~ScMultiBlockUndo () 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
 

Protected Member Functions

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

Protected Attributes

ScRangeList maBlockRanges
 
std::unique_ptr< SdrUndoAction > mpDrawUndo
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShell * pDocShell
 
std::unique_ptr< SfxUndoAction > pDetectiveUndo
 
ViewShellId mnViewShellId
 

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 103 of file undobase.hxx.

Constructor & Destructor Documentation

◆ ScMultiBlockUndo()

ScMultiBlockUndo::ScMultiBlockUndo ( ScDocShell *  pDocSh,
ScRangeList  aRanges 
)

◆ ~ScMultiBlockUndo()

ScMultiBlockUndo::~ScMultiBlockUndo ( )
overridevirtual

Definition at line 354 of file undobase.cxx.

References mpDrawUndo.

Member Function Documentation

◆ BeginUndo()

void ScMultiBlockUndo::BeginUndo ( )
protected

◆ EndRedo()

void ScMultiBlockUndo::EndRedo ( )
protected

Definition at line 374 of file undobase.cxx.

References ScSimpleUndo::EndRedo(), and ShowBlock().

Referenced by ScUndoPaste::Redo().

◆ EndUndo()

void ScMultiBlockUndo::EndUndo ( )
protected

◆ ShowBlock()

void ScMultiBlockUndo::ShowBlock ( )
protected

Member Data Documentation

◆ maBlockRanges

ScRangeList ScMultiBlockUndo::maBlockRanges
protected

◆ mpDrawUndo

std::unique_ptr<SdrUndoAction> ScMultiBlockUndo::mpDrawUndo
protected

Definition at line 111 of file undobase.hxx.

Referenced by ScUndoPaste::DoChange(), EndUndo(), ScMultiBlockUndo(), and ~ScMultiBlockUndo().


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