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

#include <undobase.hxx>

Inheritance diagram for ScBlockUndo:
Collaboration diagram for ScBlockUndo:

Public Member Functions

 ScBlockUndo (ScDocShell *pDocSh, const ScRange &rRange, ScBlockUndoMode eBlockMode)
virtual ~ScBlockUndo () 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 ()
bool AdjustHeight ()
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

ScRange aBlockRange
std::unique_ptr< SdrUndoActionpDrawUndo
ScBlockUndoMode eMode
- Protected Attributes inherited from ScSimpleUndo
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 77 of file undobase.hxx.

Constructor & Destructor Documentation

ScBlockUndo::ScBlockUndo ( ScDocShell pDocSh,
const ScRange rRange,
ScBlockUndoMode  eBlockMode 
ScBlockUndo::~ScBlockUndo ( )

Definition at line 250 of file undobase.cxx.

References pDrawUndo.

Member Function Documentation

bool ScBlockUndo::AdjustHeight ( )
void ScBlockUndo::BeginUndo ( )
void ScBlockUndo::EndRedo ( )
void ScBlockUndo::EndUndo ( )
void ScBlockUndo::ShowBlock ( )

Member Data Documentation

ScRange ScBlockUndo::aBlockRange
ScBlockUndoMode ScBlockUndo::eMode

Definition at line 87 of file undobase.hxx.

Referenced by EndRedo(), and EndUndo().

std::unique_ptr<SdrUndoAction> ScBlockUndo::pDrawUndo

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