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

also change BlockUndo? More...

#include <undoblk.hxx>

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

Public Member Functions

 ScUndoUpdateAreaLink (ScDocShell *pShell, const OUString &rOldD, const OUString &rOldF, const OUString &rOldO, const OUString &rOldA, const ScRange &rOldR, sal_uLong nOldRD, const OUString &rNewD, const OUString &rNewF, const OUString &rNewO, const OUString &rNewA, const ScRange &rNewR, sal_uLong nNewRD, ScDocumentUniquePtr pUndo, ScDocumentUniquePtr pRedo, bool bDoInsert)
 
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 Member Functions

void DoChange (const bool bUndo) const
 

Private Attributes

OUString aOldDoc
 
OUString aOldFlt
 
OUString aOldOpt
 
OUString aOldArea
 
ScRange aOldRange
 
OUString aNewDoc
 
OUString aNewFlt
 
OUString aNewOpt
 
OUString aNewArea
 
ScRange aNewRange
 
ScDocumentUniquePtr xUndoDoc
 
ScDocumentUniquePtr xRedoDoc
 
sal_uLong nOldRefresh
 
sal_uLong nNewRefresh
 
bool bWithInsert
 

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

also change BlockUndo?

Definition at line 806 of file undoblk.hxx.

Constructor & Destructor Documentation

ScUndoUpdateAreaLink::ScUndoUpdateAreaLink ( ScDocShell pShell,
const OUString &  rOldD,
const OUString &  rOldF,
const OUString &  rOldO,
const OUString &  rOldA,
const ScRange rOldR,
sal_uLong  nOldRD,
const OUString &  rNewD,
const OUString &  rNewF,
const OUString &  rNewO,
const OUString &  rNewA,
const ScRange rNewR,
sal_uLong  nNewRD,
ScDocumentUniquePtr  pUndo,
ScDocumentUniquePtr  pRedo,
bool  bDoInsert 
)

Definition at line 1607 of file undoblk3.cxx.

References aNewRange, aOldRange, and ScRange::aStart.

Member Function Documentation

bool ScUndoUpdateAreaLink::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1733 of file undoblk3.cxx.

void ScUndoUpdateAreaLink::DoChange ( const bool  bUndo) const
private
OUString ScUndoUpdateAreaLink::GetComment ( ) const
overridevirtual

own text ??

Reimplemented from SfxUndoAction.

Definition at line 1633 of file undoblk3.cxx.

References ScResId().

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

Reimplemented from SfxUndoAction.

Definition at line 1728 of file undoblk3.cxx.

void ScUndoUpdateAreaLink::Undo ( )
overridevirtual

Member Data Documentation

OUString ScUndoUpdateAreaLink::aNewArea
private

Definition at line 837 of file undoblk.hxx.

Referenced by Redo(), and Undo().

OUString ScUndoUpdateAreaLink::aNewDoc
private

Definition at line 834 of file undoblk.hxx.

Referenced by Redo(), and Undo().

OUString ScUndoUpdateAreaLink::aNewFlt
private

Definition at line 835 of file undoblk.hxx.

Referenced by Redo(), and Undo().

OUString ScUndoUpdateAreaLink::aNewOpt
private

Definition at line 836 of file undoblk.hxx.

Referenced by Redo(), and Undo().

ScRange ScUndoUpdateAreaLink::aNewRange
private

Definition at line 838 of file undoblk.hxx.

Referenced by DoChange(), Redo(), ScUndoUpdateAreaLink(), and Undo().

OUString ScUndoUpdateAreaLink::aOldArea
private

Definition at line 832 of file undoblk.hxx.

Referenced by Redo(), and Undo().

OUString ScUndoUpdateAreaLink::aOldDoc
private

Definition at line 829 of file undoblk.hxx.

Referenced by Redo(), and Undo().

OUString ScUndoUpdateAreaLink::aOldFlt
private

Definition at line 830 of file undoblk.hxx.

Referenced by Redo(), and Undo().

OUString ScUndoUpdateAreaLink::aOldOpt
private

Definition at line 831 of file undoblk.hxx.

Referenced by Redo(), and Undo().

ScRange ScUndoUpdateAreaLink::aOldRange
private

Definition at line 833 of file undoblk.hxx.

Referenced by DoChange(), Redo(), ScUndoUpdateAreaLink(), and Undo().

bool ScUndoUpdateAreaLink::bWithInsert
private

Definition at line 843 of file undoblk.hxx.

Referenced by DoChange().

sal_uLong ScUndoUpdateAreaLink::nNewRefresh
private

Definition at line 842 of file undoblk.hxx.

Referenced by Redo().

sal_uLong ScUndoUpdateAreaLink::nOldRefresh
private

Definition at line 841 of file undoblk.hxx.

Referenced by Undo().

ScDocumentUniquePtr ScUndoUpdateAreaLink::xRedoDoc
private

Definition at line 840 of file undoblk.hxx.

Referenced by DoChange().

ScDocumentUniquePtr ScUndoUpdateAreaLink::xUndoDoc
private

Definition at line 839 of file undoblk.hxx.

Referenced by DoChange().


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