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

#include <undotab.hxx>

Inheritance diagram for ScUndoDeleteTab:
Collaboration diagram for ScUndoDeleteTab:

Public Member Functions

 ScUndoDeleteTab (ScDocShell *pNewDocShell, const std::vector< SCTAB > &theTabs, ScDocumentUniquePtr pUndoDocument, std::unique_ptr< ScRefUndoData > pRefData)
virtual ~ScUndoDeleteTab () 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...
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

Private Member Functions

void SetChangeTrack ()

Private Attributes

std::vector< SCTABtheTabs
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
std::unique_ptr< SfxUndoActionpDetectiveUndo
ViewShellId mnViewShellId

Detailed Description

Definition at line 91 of file undotab.hxx.

Constructor & Destructor Documentation

◆ ScUndoDeleteTab()

ScUndoDeleteTab::ScUndoDeleteTab ( ScDocShell pNewDocShell,
const std::vector< SCTAB > &  theTabs,
ScDocumentUniquePtr  pUndoDocument,
std::unique_ptr< ScRefUndoData pRefData 

Definition at line 253 of file undotab.cxx.

References SetChangeTrack(), and theTabs.

◆ ~ScUndoDeleteTab()

ScUndoDeleteTab::~ScUndoDeleteTab ( )

Definition at line 261 of file undotab.cxx.

References theTabs.

Member Function Documentation

◆ CanRepeat()

bool ScUndoDeleteTab::CanRepeat ( SfxRepeatTarget &  rTarget) const

Reimplemented from SfxUndoAction.

Definition at line 409 of file undotab.cxx.

References rTarget.

◆ GetComment()

OUString ScUndoDeleteTab::GetComment ( ) const

Reimplemented from SfxUndoAction.

Definition at line 266 of file undotab.cxx.

References ScResId().

◆ Redo()

void ScUndoDeleteTab::Redo ( )

◆ Repeat()

void ScUndoDeleteTab::Repeat ( SfxRepeatTarget &  rTarget)

◆ SetChangeTrack()

void ScUndoDeleteTab::SetChangeTrack ( )

◆ Undo()

void ScUndoDeleteTab::Undo ( )

Member Data Documentation

◆ nEndChangeAction

sal_uLong ScUndoDeleteTab::nEndChangeAction

Definition at line 111 of file undotab.hxx.

Referenced by SetChangeTrack(), and Undo().

◆ nStartChangeAction

sal_uLong ScUndoDeleteTab::nStartChangeAction

Definition at line 110 of file undotab.hxx.

Referenced by SetChangeTrack(), and Undo().

◆ theTabs

std::vector<SCTAB> ScUndoDeleteTab::theTabs

Definition at line 109 of file undotab.hxx.

Referenced by Redo(), ScUndoDeleteTab(), SetChangeTrack(), Undo(), and ~ScUndoDeleteTab().

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