LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
sc::PurgeListenerAction Class Referencefinal

#include <listenercontext.hxx>

Inheritance diagram for sc::PurgeListenerAction:
[legend]
Collaboration diagram for sc::PurgeListenerAction:
[legend]

Public Member Functions

 PurgeListenerAction (const PurgeListenerAction &)=delete
 
const PurgeListenerActionoperator= (const PurgeListenerAction &)=delete
 
 PurgeListenerAction (ScDocument &rDoc)
 
virtual void startColumn (SCTAB nTab, SCCOL nCol) override
 
virtual void execute (const ScAddress &rPos, SCROW nLength, bool bVal) override
 
- Public Member Functions inherited from sc::ColumnSpanSet::Action
virtual ~Action ()=0
 
virtual void startColumn (SCTAB nTab, SCCOL nCol)
 
virtual void execute (const ScAddress &rPos, SCROW nLength, bool bVal)=0
 

Private Attributes

ScDocumentmrDoc
 
std::unique_ptr< ColumnBlockPositionmpBlockPos
 

Detailed Description

Definition at line 70 of file listenercontext.hxx.

Constructor & Destructor Documentation

◆ PurgeListenerAction() [1/2]

sc::PurgeListenerAction::PurgeListenerAction ( const PurgeListenerAction )
delete

◆ PurgeListenerAction() [2/2]

sc::PurgeListenerAction::PurgeListenerAction ( ScDocument rDoc)

Definition at line 78 of file listenercontext.cxx.

Member Function Documentation

◆ execute()

void sc::PurgeListenerAction::execute ( const ScAddress rPos,
SCROW  nLength,
bool  bVal 
)
overridevirtual

Implements sc::ColumnSpanSet::Action.

Definition at line 86 of file listenercontext.cxx.

References ScDocument::DeleteBroadcasters(), mpBlockPos, mrDoc, and nLength.

◆ operator=()

const PurgeListenerAction & sc::PurgeListenerAction::operator= ( const PurgeListenerAction )
delete

◆ startColumn()

void sc::PurgeListenerAction::startColumn ( SCTAB  nTab,
SCCOL  nCol 
)
overridevirtual

Reimplemented from sc::ColumnSpanSet::Action.

Definition at line 81 of file listenercontext.cxx.

References ScDocument::InitColumnBlockPosition(), mpBlockPos, and mrDoc.

Member Data Documentation

◆ mpBlockPos

std::unique_ptr<ColumnBlockPosition> sc::PurgeListenerAction::mpBlockPos
private

Definition at line 73 of file listenercontext.hxx.

Referenced by execute(), and startColumn().

◆ mrDoc

ScDocument& sc::PurgeListenerAction::mrDoc
private

Definition at line 72 of file listenercontext.hxx.

Referenced by execute(), and startColumn().


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