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

Constructor & Destructor Documentation

◆ ScUndoRepeatDB()

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 1245 of file undodat.cxx.

References aNewQuery, aOldQuery, and bQuerySize.

Member Function Documentation

◆ CanRepeat()

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

Reimplemented from SfxUndoAction.

Definition at line 1402 of file undodat.cxx.

References rTarget.

◆ GetComment()

OUString ScUndoRepeatDB::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1270 of file undodat.cxx.

References ScResId().

◆ Redo()

void ScUndoRepeatDB::Redo ( )
overridevirtual

◆ Repeat()

void ScUndoRepeatDB::Repeat ( SfxRepeatTarget &  rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1396 of file undodat.cxx.

References rTarget.

◆ Undo()

void ScUndoRepeatDB::Undo ( )
overridevirtual

Member Data Documentation

◆ aBlockEnd

ScAddress ScUndoRepeatDB::aBlockEnd
private

Definition at line 326 of file undodat.hxx.

Referenced by Redo(), and Undo().

◆ aBlockStart

ScAddress ScUndoRepeatDB::aBlockStart
private

Definition at line 325 of file undodat.hxx.

Referenced by Redo(), and Undo().

◆ aCursorPos

ScAddress ScUndoRepeatDB::aCursorPos
private

Definition at line 328 of file undodat.hxx.

Referenced by Redo().

◆ aNewQuery

ScRange ScUndoRepeatDB::aNewQuery
private

Definition at line 334 of file undodat.hxx.

Referenced by ScUndoRepeatDB(), and Undo().

◆ aOldQuery

ScRange ScUndoRepeatDB::aOldQuery
private

Definition at line 333 of file undodat.hxx.

Referenced by ScUndoRepeatDB(), and Undo().

◆ bQuerySize

bool ScUndoRepeatDB::bQuerySize
private

Definition at line 335 of file undodat.hxx.

Referenced by ScUndoRepeatDB(), and Undo().

◆ nNewEndRow

SCROW ScUndoRepeatDB::nNewEndRow
private

Definition at line 327 of file undodat.hxx.

Referenced by Undo().

◆ xUndoDB

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

Definition at line 332 of file undodat.hxx.

Referenced by Undo().

◆ xUndoDoc

ScDocumentUniquePtr ScUndoRepeatDB::xUndoDoc
private

Definition at line 329 of file undodat.hxx.

Referenced by Undo().

◆ xUndoRange

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

Definition at line 331 of file undodat.hxx.

Referenced by Undo().

◆ xUndoTable

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

Definition at line 330 of file undodat.hxx.

Referenced by Undo().


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