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

#include <undoblk.hxx>

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

Public Member Functions

 ScUndoAutoFill (ScDocShell *pNewDocShell, const ScRange &rRange, const ScRange &rSourceArea, ScDocumentUniquePtr pNewUndoDoc, const ScMarkData &rMark, FillDir eNewFillDir, FillCmd eNewFillCmd, FillDateCmd eNewFillDateCmd, double fNewStartValue, double fNewStepValue, double fNewMaxValue)
 
virtual ~ScUndoAutoFill () 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 ScBlockUndo
 ScBlockUndo (ScDocShell *pDocSh, const ScRange &rRange, ScBlockUndoMode eBlockMode)
 
virtual ~ScBlockUndo () 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 SetChangeTrack ()
 

Private Attributes

ScRange aSource
 
ScMarkData aMarkData
 
ScDocumentUniquePtr pUndoDoc
 
FillDir eFillDir
 
FillCmd eFillCmd
 
FillDateCmd eFillDateCmd
 
double fStartValue
 
double fStepValue
 
double fMaxValue
 
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 ScBlockUndo
void BeginUndo ()
 
void EndUndo ()
 
void EndRedo ()
 
bool AdjustHeight ()
 
void ShowBlock ()
 
- 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 ScBlockUndo
ScRange aBlockRange
 
std::unique_ptr< SdrUndoActionpDrawUndo
 
ScBlockUndoMode eMode
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 393 of file undoblk.hxx.

Constructor & Destructor Documentation

ScUndoAutoFill::ScUndoAutoFill ( ScDocShell pNewDocShell,
const ScRange rRange,
const ScRange rSourceArea,
ScDocumentUniquePtr  pNewUndoDoc,
const ScMarkData rMark,
FillDir  eNewFillDir,
FillCmd  eNewFillCmd,
FillDateCmd  eNewFillDateCmd,
double  fNewStartValue,
double  fNewStepValue,
double  fNewMaxValue 
)

Definition at line 480 of file undoblk3.cxx.

References SetChangeTrack().

ScUndoAutoFill::~ScUndoAutoFill ( )
overridevirtual

Definition at line 499 of file undoblk3.cxx.

Member Function Documentation

bool ScUndoAutoFill::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 629 of file undoblk3.cxx.

OUString ScUndoAutoFill::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 503 of file undoblk3.cxx.

References ScResId().

void ScUndoAutoFill::Redo ( )
overridevirtual
void ScUndoAutoFill::Repeat ( SfxRepeatTarget rTarget)
overridevirtual
void ScUndoAutoFill::SetChangeTrack ( )
private
void ScUndoAutoFill::Undo ( )
overridevirtual

Member Data Documentation

ScMarkData ScUndoAutoFill::aMarkData
private

Definition at line 413 of file undoblk.hxx.

Referenced by Redo(), and Undo().

ScRange ScUndoAutoFill::aSource
private

Definition at line 412 of file undoblk.hxx.

Referenced by Redo().

FillCmd ScUndoAutoFill::eFillCmd
private

Definition at line 417 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

FillDateCmd ScUndoAutoFill::eFillDateCmd
private

Definition at line 418 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

FillDir ScUndoAutoFill::eFillDir
private

Definition at line 416 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

double ScUndoAutoFill::fMaxValue
private

Definition at line 421 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

double ScUndoAutoFill::fStartValue
private

Definition at line 419 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

double ScUndoAutoFill::fStepValue
private

Definition at line 420 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

sal_uLong ScUndoAutoFill::nEndChangeAction
private

Definition at line 423 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().

sal_uLong ScUndoAutoFill::nStartChangeAction
private

Definition at line 422 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().

ScDocumentUniquePtr ScUndoAutoFill::pUndoDoc
private

Definition at line 415 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().


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