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
 

Private Attributes

ScDocumentmrDoc
 
std::unique_ptr< ColumnBlockPositionmpBlockPos
 

Detailed Description

Definition at line 69 of file listenercontext.hxx.

Constructor & Destructor Documentation

sc::PurgeListenerAction::PurgeListenerAction ( const PurgeListenerAction )
delete
sc::PurgeListenerAction::PurgeListenerAction ( ScDocument rDoc)

Definition at line 77 of file listenercontext.cxx.

Member Function Documentation

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

Implements sc::ColumnSpanSet::Action.

Definition at line 85 of file listenercontext.cxx.

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

const PurgeListenerAction& sc::PurgeListenerAction::operator= ( const PurgeListenerAction )
delete
void sc::PurgeListenerAction::startColumn ( SCTAB  nTab,
SCCOL  nCol 
)
overridevirtual

Reimplemented from sc::ColumnSpanSet::Action.

Definition at line 80 of file listenercontext.cxx.

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

Member Data Documentation

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

Definition at line 72 of file listenercontext.hxx.

Referenced by execute(), and startColumn().

ScDocument& sc::PurgeListenerAction::mrDoc
private

Definition at line 71 of file listenercontext.hxx.

Referenced by execute(), and startColumn().


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