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

#include <undoblk.hxx>

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

Public Member Functions

 ScUndoFillTable (ScDocShell *pNewDocShell, const ScMarkData &rMark, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, ScDocumentUniquePtr pNewUndoDoc, bool bNewMulti, SCTAB nSrc, InsertDeleteFlags nFlg, ScPasteFunc nFunc, bool bSkip, bool bLink)
 
virtual ~ScUndoFillTable () 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 bool bUndo)
 
void SetChangeTrack ()
 

Private Attributes

ScRange aRange
 
ScMarkData aMarkData
 
ScDocumentUniquePtr pUndoDoc
 
sal_uLong nStartChangeAction
 
sal_uLong nEndChangeAction
 
InsertDeleteFlags nFlags
 
ScPasteFunc nFunction
 
SCTAB nSrcTab
 
bool bMulti
 
bool bSkipEmpty
 
bool bAsLink
 

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 284 of file undoblk.hxx.

Constructor & Destructor Documentation

ScUndoFillTable::ScUndoFillTable ( ScDocShell pNewDocShell,
const ScMarkData rMark,
SCCOL  nStartX,
SCROW  nStartY,
SCTAB  nStartZ,
SCCOL  nEndX,
SCROW  nEndY,
SCTAB  nEndZ,
ScDocumentUniquePtr  pNewUndoDoc,
bool  bNewMulti,
SCTAB  nSrc,
InsertDeleteFlags  nFlg,
ScPasteFunc  nFunc,
bool  bSkip,
bool  bLink 
)

Definition at line 202 of file undoblk3.cxx.

References SetChangeTrack().

ScUndoFillTable::~ScUndoFillTable ( )
overridevirtual

Definition at line 222 of file undoblk3.cxx.

Member Function Documentation

bool ScUndoFillTable::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 333 of file undoblk3.cxx.

void ScUndoFillTable::DoChange ( const bool  bUndo)
private
OUString ScUndoFillTable::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 226 of file undoblk3.cxx.

References ScResId().

void ScUndoFillTable::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 320 of file undoblk3.cxx.

References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().

void ScUndoFillTable::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 327 of file undoblk3.cxx.

References bAsLink, bSkipEmpty, nFlags, and nFunction.

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

Reimplemented from SfxUndoAction.

Definition at line 313 of file undoblk3.cxx.

References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().

Member Data Documentation

ScMarkData ScUndoFillTable::aMarkData
private

Definition at line 304 of file undoblk.hxx.

Referenced by DoChange(), and SetChangeTrack().

ScRange ScUndoFillTable::aRange
private

Definition at line 303 of file undoblk.hxx.

Referenced by DoChange(), and SetChangeTrack().

bool ScUndoFillTable::bAsLink
private

Definition at line 314 of file undoblk.hxx.

Referenced by DoChange(), and Repeat().

bool ScUndoFillTable::bMulti
private

Definition at line 312 of file undoblk.hxx.

Referenced by DoChange().

bool ScUndoFillTable::bSkipEmpty
private

Definition at line 313 of file undoblk.hxx.

Referenced by DoChange(), and Repeat().

sal_uLong ScUndoFillTable::nEndChangeAction
private

Definition at line 308 of file undoblk.hxx.

Referenced by DoChange(), and SetChangeTrack().

InsertDeleteFlags ScUndoFillTable::nFlags
private

Definition at line 309 of file undoblk.hxx.

Referenced by DoChange(), and Repeat().

ScPasteFunc ScUndoFillTable::nFunction
private

Definition at line 310 of file undoblk.hxx.

Referenced by DoChange(), and Repeat().

SCTAB ScUndoFillTable::nSrcTab
private

Definition at line 311 of file undoblk.hxx.

Referenced by DoChange(), and SetChangeTrack().

sal_uLong ScUndoFillTable::nStartChangeAction
private

Definition at line 307 of file undoblk.hxx.

Referenced by DoChange(), and SetChangeTrack().

ScDocumentUniquePtr ScUndoFillTable::pUndoDoc
private

Definition at line 306 of file undoblk.hxx.

Referenced by DoChange(), and SetChangeTrack().


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