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

#include <undobase.hxx>

Inheritance diagram for ScDBFuncUndo:
Collaboration diagram for ScDBFuncUndo:

Public Member Functions

 ScDBFuncUndo (ScDocShell *pDocSh, const ScRange &rOriginal)
virtual ~ScDBFuncUndo () override
void BeginUndo ()
void EndUndo ()
void BeginRedo ()
void EndRedo ()
- 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

Protected Attributes

std::unique_ptr< ScDBDatapAutoDBRange
ScRange aOriginalRange
- Protected Attributes inherited from ScSimpleUndo
std::unique_ptr< SfxUndoActionpDetectiveUndo
ViewShellId mnViewShellId

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)

Detailed Description

Definition at line 123 of file undobase.hxx.

Constructor & Destructor Documentation

◆ ScDBFuncUndo()

ScDBFuncUndo::ScDBFuncUndo ( ScDocShell pDocSh,
const ScRange rOriginal 

Definition at line 457 of file undobase.cxx.

References ScDocShell::GetOldAutoDBRange(), and pAutoDBRange.

◆ ~ScDBFuncUndo()

ScDBFuncUndo::~ScDBFuncUndo ( )

Definition at line 464 of file undobase.cxx.

References pAutoDBRange.

Member Function Documentation

◆ BeginRedo()

void ScDBFuncUndo::BeginRedo ( )

◆ BeginUndo()

void ScDBFuncUndo::BeginUndo ( )

◆ EndRedo()

void ScDBFuncUndo::EndRedo ( )

◆ EndUndo()

void ScDBFuncUndo::EndUndo ( )

Member Data Documentation

◆ aOriginalRange

ScRange ScDBFuncUndo::aOriginalRange

Definition at line 127 of file undobase.hxx.

Referenced by BeginRedo(), and ScUndoAutoFilter::DoChange().

◆ pAutoDBRange

std::unique_ptr<ScDBData> ScDBFuncUndo::pAutoDBRange

Definition at line 126 of file undobase.hxx.

Referenced by BeginRedo(), EndUndo(), ScDBFuncUndo(), and ~ScDBFuncUndo().

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