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

#include <undodat.hxx>

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

Public Member Functions

 ScUndoImportData (ScDocShell *pNewDocShell, SCTAB nNewTab, const ScImportParam &rParam, SCCOL nNewEndX, SCROW nNewEndY, SCCOL nNewFormula, ScDocumentUniquePtr pNewUndoDoc, ScDocumentUniquePtr pNewRedoDoc, std::unique_ptr< ScDBData > pNewUndoData, std::unique_ptr< ScDBData > pNewRedoData)
 
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 Attributes

SCTAB nTab
 
ScImportParam aImportParam
 
SCCOL nEndCol
 
SCROW nEndRow
 
ScDocumentUniquePtr xUndoDoc
 
ScDocumentUniquePtr xRedoDoc
 
std::unique_ptr< ScDBDataxUndoDBData
 
std::unique_ptr< ScDBDataxRedoDBData
 
SCCOL nFormulaCols
 
bool bRedoFilled
 

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 279 of file undodat.hxx.

Constructor & Destructor Documentation

ScUndoImportData::ScUndoImportData ( ScDocShell pNewDocShell,
SCTAB  nNewTab,
const ScImportParam rParam,
SCCOL  nNewEndX,
SCROW  nNewEndY,
SCCOL  nNewFormula,
ScDocumentUniquePtr  pNewUndoDoc,
ScDocumentUniquePtr  pNewRedoDoc,
std::unique_ptr< ScDBData pNewUndoData,
std::unique_ptr< ScDBData pNewRedoData 
)

Definition at line 1015 of file undodat.cxx.

Member Function Documentation

bool ScUndoImportData::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1209 of file undodat.cxx.

References xUndoDBData.

OUString ScUndoImportData::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1035 of file undodat.cxx.

References ScResId().

void ScUndoImportData::Redo ( )
overridevirtual
void ScUndoImportData::Repeat ( SfxRepeatTarget rTarget)
overridevirtual
void ScUndoImportData::Undo ( )
overridevirtual

Member Data Documentation

ScImportParam ScUndoImportData::aImportParam
private

Definition at line 297 of file undodat.hxx.

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

bool ScUndoImportData::bRedoFilled
private

Definition at line 305 of file undodat.hxx.

Referenced by Undo().

SCCOL ScUndoImportData::nEndCol
private

Definition at line 298 of file undodat.hxx.

Referenced by Redo(), and Undo().

SCROW ScUndoImportData::nEndRow
private

Definition at line 299 of file undodat.hxx.

Referenced by Redo(), and Undo().

SCCOL ScUndoImportData::nFormulaCols
private

Definition at line 304 of file undodat.hxx.

Referenced by Redo(), and Undo().

SCTAB ScUndoImportData::nTab
private

Definition at line 296 of file undodat.hxx.

Referenced by Redo(), and Undo().

std::unique_ptr<ScDBData> ScUndoImportData::xRedoDBData
private

Definition at line 303 of file undodat.hxx.

Referenced by Redo(), and Undo().

ScDocumentUniquePtr ScUndoImportData::xRedoDoc
private

Definition at line 301 of file undodat.hxx.

Referenced by Redo(), and Undo().

std::unique_ptr<ScDBData> ScUndoImportData::xUndoDBData
private

Definition at line 302 of file undodat.hxx.

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

ScDocumentUniquePtr ScUndoImportData::xUndoDoc
private

Definition at line 300 of file undodat.hxx.

Referenced by Undo().


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