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
 
virtual std::optional< ScRangegetAffectedRange () 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...
 
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

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

Constructor & Destructor Documentation

◆ ScUndoAutoFill()

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 484 of file undoblk3.cxx.

References SetChangeTrack().

◆ ~ScUndoAutoFill()

ScUndoAutoFill::~ScUndoAutoFill ( )
overridevirtual

Definition at line 503 of file undoblk3.cxx.

Member Function Documentation

◆ CanRepeat()

bool ScUndoAutoFill::CanRepeat ( SfxRepeatTarget &  rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 633 of file undoblk3.cxx.

References rTarget.

◆ GetComment()

OUString ScUndoAutoFill::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 507 of file undoblk3.cxx.

References ScResId().

◆ Redo()

void ScUndoAutoFill::Redo ( )
overridevirtual

◆ Repeat()

void ScUndoAutoFill::Repeat ( SfxRepeatTarget &  rTarget)
overridevirtual

◆ SetChangeTrack()

void ScUndoAutoFill::SetChangeTrack ( )
private

◆ Undo()

void ScUndoAutoFill::Undo ( )
overridevirtual

Member Data Documentation

◆ aMarkData

ScMarkData ScUndoAutoFill::aMarkData
private

Definition at line 412 of file undoblk.hxx.

Referenced by Redo(), and Undo().

◆ aSource

ScRange ScUndoAutoFill::aSource
private

Definition at line 411 of file undoblk.hxx.

Referenced by Redo().

◆ eFillCmd

FillCmd ScUndoAutoFill::eFillCmd
private

Definition at line 416 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

◆ eFillDateCmd

FillDateCmd ScUndoAutoFill::eFillDateCmd
private

Definition at line 417 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

◆ eFillDir

FillDir ScUndoAutoFill::eFillDir
private

Definition at line 415 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

◆ fMaxValue

double ScUndoAutoFill::fMaxValue
private

Definition at line 420 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

◆ fStartValue

double ScUndoAutoFill::fStartValue
private

Definition at line 418 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

◆ fStepValue

double ScUndoAutoFill::fStepValue
private

Definition at line 419 of file undoblk.hxx.

Referenced by Redo(), and Repeat().

◆ nEndChangeAction

sal_uLong ScUndoAutoFill::nEndChangeAction
private

Definition at line 422 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().

◆ nStartChangeAction

sal_uLong ScUndoAutoFill::nStartChangeAction
private

Definition at line 421 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().

◆ pUndoDoc

ScDocumentUniquePtr ScUndoAutoFill::pUndoDoc
private

Definition at line 414 of file undoblk.hxx.

Referenced by SetChangeTrack(), and Undo().


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