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

#include <undotab.hxx>

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

Public Member Functions

 ScUndoImportTab (ScDocShell *pShell, SCTAB nNewTab, SCTAB nNewCount)
 
virtual ~ScUndoImportTab () 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 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
 

Private Attributes

SCTAB nTab
 
SCTAB nCount
 
ScDocumentUniquePtr xRedoDoc
 
std::unique_ptr< SdrUndoActionpDrawUndo
 

Additional Inherited Members

- Public Types inherited from ScSimpleUndo
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > DataSpansType
 
- 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 ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 252 of file undotab.hxx.

Constructor & Destructor Documentation

ScUndoImportTab::ScUndoImportTab ( ScDocShell pShell,
SCTAB  nNewTab,
SCTAB  nNewCount 
)
ScUndoImportTab::~ScUndoImportTab ( )
overridevirtual

Definition at line 865 of file undotab.cxx.

References pDrawUndo.

Member Function Documentation

bool ScUndoImportTab::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1004 of file undotab.cxx.

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

Reimplemented from SfxUndoAction.

Definition at line 870 of file undotab.cxx.

References ScResId().

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

Reimplemented from SfxUndoAction.

Definition at line 997 of file undotab.cxx.

References Execute.

void ScUndoImportTab::Undo ( )
overridevirtual

Member Data Documentation

SCTAB ScUndoImportTab::nCount
private

Definition at line 269 of file undotab.hxx.

Referenced by Redo(), and Undo().

SCTAB ScUndoImportTab::nTab
private

Definition at line 268 of file undotab.hxx.

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

std::unique_ptr<SdrUndoAction> ScUndoImportTab::pDrawUndo
private

Definition at line 271 of file undotab.hxx.

Referenced by Redo(), ScUndoImportTab(), Undo(), and ~ScUndoImportTab().

ScDocumentUniquePtr ScUndoImportTab::xRedoDoc
private

Definition at line 270 of file undotab.hxx.

Referenced by Redo(), and Undo().


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