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, const ScRangeList &rRanges)
 
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...
 
- 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 ()
 
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< SdrUndoActionmpDrawUndo
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
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 99 of file undobase.hxx.

Constructor & Destructor Documentation

ScMultiBlockUndo::ScMultiBlockUndo ( ScDocShell pDocSh,
const ScRangeList rRanges 
)
ScMultiBlockUndo::~ScMultiBlockUndo ( )
overridevirtual

Definition at line 351 of file undobase.cxx.

References mpDrawUndo.

Member Function Documentation

void ScMultiBlockUndo::BeginUndo ( )
protected
void ScMultiBlockUndo::EndRedo ( )
protected

Definition at line 371 of file undobase.cxx.

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

Referenced by ScUndoPaste::Redo().

void ScMultiBlockUndo::EndUndo ( )
protected
void ScMultiBlockUndo::ShowBlock ( )
protected

Member Data Documentation

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

Definition at line 107 of file undobase.hxx.

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


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