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

#include <undocell.hxx>

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

Public Member Functions

 ScUndoEnterValue (ScDocShell *pNewDocShell, const ScAddress &rNewPos, const ScCellValue &rUndoCell, double nVal)
 
virtual ~ScUndoEnterValue () 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 SetChangeTrack ()
 

Private Attributes

ScAddress aPos
 
ScCellValue maOldCell
 
double nValue
 
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 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 110 of file undocell.hxx.

Constructor & Destructor Documentation

ScUndoEnterValue::ScUndoEnterValue ( ScDocShell pNewDocShell,
const ScAddress rNewPos,
const ScCellValue rUndoCell,
double  nVal 
)

Definition at line 306 of file undocell.cxx.

References nValue, and SetChangeTrack().

ScUndoEnterValue::~ScUndoEnterValue ( )
overridevirtual

Definition at line 317 of file undocell.cxx.

Member Function Documentation

bool ScUndoEnterValue::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 377 of file undocell.cxx.

OUString ScUndoEnterValue::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 321 of file undocell.cxx.

References ScResId().

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

Reimplemented from SfxUndoAction.

Definition at line 372 of file undocell.cxx.

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

Member Data Documentation

ScAddress ScUndoEnterValue::aPos
private

Definition at line 127 of file undocell.hxx.

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

ScCellValue ScUndoEnterValue::maOldCell
private

Definition at line 128 of file undocell.hxx.

Referenced by SetChangeTrack(), and Undo().

sal_uLong ScUndoEnterValue::nEndChangeAction
private

Definition at line 130 of file undocell.hxx.

Referenced by SetChangeTrack(), and Undo().

double ScUndoEnterValue::nValue
private

Definition at line 129 of file undocell.hxx.

Referenced by Redo().


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