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, OUString aDoc)
 
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...
 
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 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 275 of file undotab.hxx.

Constructor & Destructor Documentation

◆ ScUndoRemoveLink()

ScUndoRemoveLink::ScUndoRemoveLink ( ScDocShell pShell,
OUString  aDoc 
)

◆ ~ScUndoRemoveLink()

ScUndoRemoveLink::~ScUndoRemoveLink ( )
overridevirtual

Definition at line 1055 of file undotab.cxx.

Member Function Documentation

◆ CanRepeat()

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

Reimplemented from SfxUndoAction.

Definition at line 1090 of file undotab.cxx.

◆ DoChange()

void ScUndoRemoveLink::DoChange ( bool  bLink) const
private

◆ GetComment()

OUString ScUndoRemoveLink::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1059 of file undotab.cxx.

References ScResId().

◆ Redo()

void ScUndoRemoveLink::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1080 of file undotab.cxx.

References DoChange().

◆ Repeat()

void ScUndoRemoveLink::Repeat ( SfxRepeatTarget &  rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1085 of file undotab.cxx.

◆ Undo()

void ScUndoRemoveLink::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1075 of file undotab.cxx.

References DoChange().

Member Data Documentation

◆ aDocName

OUString ScUndoRemoveLink::aDocName
private

Definition at line 291 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ aFltName

OUString ScUndoRemoveLink::aFltName
private

Definition at line 292 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ aOptions

OUString ScUndoRemoveLink::aOptions
private

Definition at line 293 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ nCount

sal_uInt16 ScUndoRemoveLink::nCount
private

Definition at line 295 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ nRefreshDelay

sal_uLong ScUndoRemoveLink::nRefreshDelay
private

Definition at line 294 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ pModes

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

Definition at line 299 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ pTabNames

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

Definition at line 301 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().

◆ pTabs

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

Definition at line 297 of file undotab.hxx.

Referenced by DoChange(), and ScUndoRemoveLink().


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