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

#include <undodat.hxx>

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

Public Member Functions

 ScUndoRepeatDB (ScDocShell *pNewDocShell, SCTAB nNewTab, SCCOL nStartX, SCROW nStartY, SCCOL nEndX, SCROW nEndY, SCROW nResultEndRow, SCCOL nCurX, SCROW nCurY, ScDocumentUniquePtr pNewUndoDoc, std::unique_ptr< ScOutlineTable > pNewUndoTab, std::unique_ptr< ScRangeName > pNewUndoRange, std::unique_ptr< ScDBCollection > pNewUndoDB, const ScRange *pOldQ, const ScRange *pNewQ)
 
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 Attributes

ScAddress aBlockStart
 
ScAddress aBlockEnd
 
SCROW nNewEndRow
 
ScAddress aCursorPos
 
ScDocumentUniquePtr xUndoDoc
 
std::unique_ptr< ScOutlineTablexUndoTable
 
std::unique_ptr< ScRangeNamexUndoRange
 
std::unique_ptr< ScDBCollectionxUndoDB
 
ScRange aOldQuery
 
ScRange aNewQuery
 
bool bQuerySize
 

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 308 of file undodat.hxx.

Constructor & Destructor Documentation

ScUndoRepeatDB::ScUndoRepeatDB ( ScDocShell pNewDocShell,
SCTAB  nNewTab,
SCCOL  nStartX,
SCROW  nStartY,
SCCOL  nEndX,
SCROW  nEndY,
SCROW  nResultEndRow,
SCCOL  nCurX,
SCROW  nCurY,
ScDocumentUniquePtr  pNewUndoDoc,
std::unique_ptr< ScOutlineTable pNewUndoTab,
std::unique_ptr< ScRangeName pNewUndoRange,
std::unique_ptr< ScDBCollection pNewUndoDB,
const ScRange pOldQ,
const ScRange pNewQ 
)

Definition at line 1219 of file undodat.cxx.

References aNewQuery, aOldQuery, and bQuerySize.

Member Function Documentation

bool ScUndoRepeatDB::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1372 of file undodat.cxx.

OUString ScUndoRepeatDB::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1244 of file undodat.cxx.

References ScResId().

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

Reimplemented from SfxUndoAction.

Definition at line 1366 of file undodat.cxx.

void ScUndoRepeatDB::Undo ( )
overridevirtual

Member Data Documentation

ScAddress ScUndoRepeatDB::aBlockEnd
private

Definition at line 327 of file undodat.hxx.

Referenced by Redo(), and Undo().

ScAddress ScUndoRepeatDB::aBlockStart
private

Definition at line 326 of file undodat.hxx.

Referenced by Redo(), and Undo().

ScAddress ScUndoRepeatDB::aCursorPos
private

Definition at line 329 of file undodat.hxx.

Referenced by Redo().

ScRange ScUndoRepeatDB::aNewQuery
private

Definition at line 335 of file undodat.hxx.

Referenced by ScUndoRepeatDB(), and Undo().

ScRange ScUndoRepeatDB::aOldQuery
private

Definition at line 334 of file undodat.hxx.

Referenced by ScUndoRepeatDB(), and Undo().

bool ScUndoRepeatDB::bQuerySize
private

Definition at line 336 of file undodat.hxx.

Referenced by ScUndoRepeatDB(), and Undo().

SCROW ScUndoRepeatDB::nNewEndRow
private

Definition at line 328 of file undodat.hxx.

Referenced by Undo().

std::unique_ptr<ScDBCollection> ScUndoRepeatDB::xUndoDB
private

Definition at line 333 of file undodat.hxx.

Referenced by Undo().

ScDocumentUniquePtr ScUndoRepeatDB::xUndoDoc
private

Definition at line 330 of file undodat.hxx.

Referenced by Undo().

std::unique_ptr<ScRangeName> ScUndoRepeatDB::xUndoRange
private

Definition at line 332 of file undodat.hxx.

Referenced by Undo().

std::unique_ptr<ScOutlineTable> ScUndoRepeatDB::xUndoTable
private

Definition at line 331 of file undodat.hxx.

Referenced by Undo().


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