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

#include <undotab.hxx>

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

Public Member Functions

 ScUndoRemoveLink (ScDocShell *pShell, const OUString &rDoc)
 
virtual ~ScUndoRemoveLink () 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 Member Functions

void DoChange (bool bLink) const
 

Private Attributes

OUString aDocName
 
OUString aFltName
 
OUString aOptions
 
sal_uLong nRefreshDelay
 
sal_uInt16 nCount
 
std::unique_ptr< SCTAB[]> pTabs
 
std::unique_ptr< ScLinkMode[]> pModes
 
std::unique_ptr< OUString[]> pTabNames
 

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 276 of file undotab.hxx.

Constructor & Destructor Documentation

ScUndoRemoveLink::ScUndoRemoveLink ( ScDocShell pShell,
const OUString &  rDoc 
)
ScUndoRemoveLink::~ScUndoRemoveLink ( )
overridevirtual

Definition at line 1047 of file undotab.cxx.

Member Function Documentation

bool ScUndoRemoveLink::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1082 of file undotab.cxx.

void ScUndoRemoveLink::DoChange ( bool  bLink) const
private
OUString ScUndoRemoveLink::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1051 of file undotab.cxx.

References ScResId().

void ScUndoRemoveLink::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1072 of file undotab.cxx.

References DoChange().

void ScUndoRemoveLink::Repeat ( SfxRepeatTarget rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1077 of file undotab.cxx.

void ScUndoRemoveLink::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1067 of file undotab.cxx.

References DoChange().

Member Data Documentation

OUString ScUndoRemoveLink::aDocName
private

Definition at line 292 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

OUString ScUndoRemoveLink::aFltName
private

Definition at line 293 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

OUString ScUndoRemoveLink::aOptions
private

Definition at line 294 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

sal_uInt16 ScUndoRemoveLink::nCount
private

Definition at line 296 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

sal_uLong ScUndoRemoveLink::nRefreshDelay
private

Definition at line 295 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

std::unique_ptr<ScLinkMode[]> ScUndoRemoveLink::pModes
private

Definition at line 300 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

std::unique_ptr<OUString[]> ScUndoRemoveLink::pTabNames
private

Definition at line 302 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

std::unique_ptr<SCTAB[]> ScUndoRemoveLink::pTabs
private

Definition at line 298 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().


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