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

#include <undoblk.hxx>

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

Public Member Functions

 ScUndoTabOp (ScDocShell *pNewDocShell, SCCOL nStartX, SCROW nStartY, SCTAB nStartZ, SCCOL nEndX, SCROW nEndY, SCTAB nEndZ, ScDocumentUniquePtr pNewUndoDoc, const ScRefAddress &rFormulaCell, const ScRefAddress &rFormulaEnd, const ScRefAddress &rRowCell, const ScRefAddress &rColCell, ScTabOpParam::Mode eMode)
 
virtual ~ScUndoTabOp () 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 Attributes

ScRange aRange
 
ScDocumentUniquePtr pUndoDoc
 
ScRefAddress theFormulaCell
 
ScRefAddress theFormulaEnd
 
ScRefAddress theRowCell
 
ScRefAddress theColCell
 
ScTabOpParam::Mode meMode
 

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 505 of file undoblk.hxx.

Constructor & Destructor Documentation

ScUndoTabOp::ScUndoTabOp ( ScDocShell pNewDocShell,
SCCOL  nStartX,
SCROW  nStartY,
SCTAB  nStartZ,
SCCOL  nEndX,
SCROW  nEndY,
SCTAB  nEndZ,
ScDocumentUniquePtr  pNewUndoDoc,
const ScRefAddress rFormulaCell,
const ScRefAddress rFormulaEnd,
const ScRefAddress rRowCell,
const ScRefAddress rColCell,
ScTabOpParam::Mode  eMode 
)

Definition at line 1094 of file undoblk3.cxx.

References meMode.

ScUndoTabOp::~ScUndoTabOp ( )
overridevirtual

Definition at line 1113 of file undoblk3.cxx.

Member Function Documentation

bool ScUndoTabOp::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1162 of file undoblk3.cxx.

OUString ScUndoTabOp::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1117 of file undoblk3.cxx.

References ScResId().

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

Reimplemented from SfxUndoAction.

Definition at line 1158 of file undoblk3.cxx.

void ScUndoTabOp::Undo ( )
overridevirtual

Member Data Documentation

ScRange ScUndoTabOp::aRange
private

Definition at line 527 of file undoblk.hxx.

Referenced by Redo(), and Undo().

ScTabOpParam::Mode ScUndoTabOp::meMode
private

Definition at line 534 of file undoblk.hxx.

Referenced by Redo().

ScDocumentUniquePtr ScUndoTabOp::pUndoDoc
private

Definition at line 529 of file undoblk.hxx.

Referenced by Undo().

ScRefAddress ScUndoTabOp::theColCell
private

Definition at line 533 of file undoblk.hxx.

Referenced by Redo().

ScRefAddress ScUndoTabOp::theFormulaCell
private

Definition at line 530 of file undoblk.hxx.

Referenced by Redo().

ScRefAddress ScUndoTabOp::theFormulaEnd
private

Definition at line 531 of file undoblk.hxx.

Referenced by Redo().

ScRefAddress ScUndoTabOp::theRowCell
private

Definition at line 532 of file undoblk.hxx.

Referenced by Redo().


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