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

#include <undobase.hxx>

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

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...
 
- 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 OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Protected Attributes

std::unique_ptr< ScDBDatapAutoDBRange
 
ScRange aOriginalRange
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
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 119 of file undobase.hxx.

Constructor & Destructor Documentation

ScDBFuncUndo::ScDBFuncUndo ( ScDocShell pDocSh,
const ScRange rOriginal 
)

Definition at line 454 of file undobase.cxx.

References ScDocShell::GetOldAutoDBRange(), and pAutoDBRange.

ScDBFuncUndo::~ScDBFuncUndo ( )
overridevirtual

Definition at line 461 of file undobase.cxx.

References pAutoDBRange.

Member Function Documentation

void ScDBFuncUndo::BeginRedo ( )
void ScDBFuncUndo::BeginUndo ( )
void ScDBFuncUndo::EndRedo ( )
void ScDBFuncUndo::EndUndo ( )

Member Data Documentation

ScRange ScDBFuncUndo::aOriginalRange
protected

Definition at line 123 of file undobase.hxx.

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

std::unique_ptr<ScDBData> ScDBFuncUndo::pAutoDBRange
protected

Definition at line 122 of file undobase.hxx.

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


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