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

#include <undoblk.hxx>

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

Public Member Functions

 ScUndoDeleteMulti (ScDocShell *pNewDocShell, bool bNewRows, bool bNeedsRefresh, SCTAB nNewTab, const std::vector< sc::ColRowSpan > &rSpans, ScDocumentUniquePtr pUndoDocument, std::unique_ptr< ScRefUndoData > pRefData)
 
virtual ~ScUndoDeleteMulti () override
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual void Repeat (SfxRepeatTarget &rTarget) override
 
virtual bool CanRepeat (SfxRepeatTarget &rTarget) const override
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from ScMoveUndo
 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 UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void DoChange () const
 
void SetChangeTrack ()
 

Private Attributes

bool mbRows:1
 
bool mbRefresh:1
 
SCTAB nTab
 
std::vector< sc::ColRowSpanmaSpans
 
sal_uLong nStartChangeAction
 
sal_uLong nEndChangeAction
 

Additional Inherited Members

- Public Types inherited from ScSimpleUndo
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > DataSpansType
 
- Protected Member Functions inherited from ScMoveUndo
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...
 
- Static Protected Member Functions inherited from ScSimpleUndo
static void ShowTable (SCTAB nTab)
 
static void ShowTable (const ScRange &rRange)
 
- Protected Attributes inherited from ScMoveUndo
std::unique_ptr< SdrUndoActionpDrawUndo
 
ScDocumentUniquePtr pRefUndoDoc
 
std::unique_ptr< ScRefUndoDatapRefUndoData
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 105 of file undoblk.hxx.

Constructor & Destructor Documentation

ScUndoDeleteMulti::ScUndoDeleteMulti ( ScDocShell pNewDocShell,
bool  bNewRows,
bool  bNeedsRefresh,
SCTAB  nNewTab,
const std::vector< sc::ColRowSpan > &  rSpans,
ScDocumentUniquePtr  pUndoDocument,
std::unique_ptr< ScRefUndoData pRefData 
)

Definition at line 621 of file undoblk.cxx.

References SetChangeTrack().

ScUndoDeleteMulti::~ScUndoDeleteMulti ( )
overridevirtual

Definition at line 635 of file undoblk.cxx.

Member Function Documentation

bool ScUndoDeleteMulti::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 793 of file undoblk.cxx.

void ScUndoDeleteMulti::DoChange ( ) const
private
OUString ScUndoDeleteMulti::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 639 of file undoblk.cxx.

References ScResId().

void ScUndoDeleteMulti::Redo ( )
overridevirtual
void ScUndoDeleteMulti::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 786 of file undoblk.cxx.

References Rows.

void ScUndoDeleteMulti::SetChangeTrack ( )
private
void ScUndoDeleteMulti::Undo ( )
overridevirtual

Member Data Documentation

std::vector<sc::ColRowSpan> ScUndoDeleteMulti::maSpans
private

Definition at line 127 of file undoblk.hxx.

Referenced by DoChange(), Redo(), SetChangeTrack(), and Undo().

bool ScUndoDeleteMulti::mbRefresh
private

Definition at line 125 of file undoblk.hxx.

Referenced by DoChange().

bool ScUndoDeleteMulti::mbRows
private

Definition at line 124 of file undoblk.hxx.

Referenced by DoChange(), Redo(), SetChangeTrack(), and Undo().

sal_uLong ScUndoDeleteMulti::nEndChangeAction
private

Definition at line 129 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().

sal_uLong ScUndoDeleteMulti::nStartChangeAction
private

Definition at line 128 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().

SCTAB ScUndoDeleteMulti::nTab
private

Definition at line 126 of file undoblk.hxx.

Referenced by DoChange(), Redo(), SetChangeTrack(), and Undo().


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