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

#include <listenercontext.hxx>

Collaboration diagram for sc::EndListeningContext:
[legend]

Public Member Functions

 EndListeningContext (const EndListeningContext &)=delete
 
const EndListeningContextoperator= (const EndListeningContext &)=delete
 
 EndListeningContext (ScDocument &rDoc, ScTokenArray *pOldCode=nullptr)
 
 EndListeningContext (ScDocument &rDoc, std::shared_ptr< ColumnBlockPositionSet > pSet, ScTokenArray *pOldCode=nullptr)
 
void setPositionDelta (const ScAddress &rDelta)
 
ScDocumentgetDoc ()
 
ScTokenArraygetOldCode ()
 
ScAddress getOldPosition (const ScAddress &rPos) const
 
ColumnBlockPositiongetBlockPosition (SCTAB nTab, SCCOL nCol)
 
void addEmptyBroadcasterPosition (SCTAB nTab, SCCOL nCol, SCROW nRow)
 
void purgeEmptyBroadcasters ()
 

Private Attributes

ScDocumentmrDoc
 
ColumnSpanSet maSet
 
std::shared_ptr< ColumnBlockPositionSetmpPosSet
 
ScTokenArraympOldCode
 
ScAddress maPosDelta
 

Detailed Description

Definition at line 43 of file listenercontext.hxx.

Constructor & Destructor Documentation

◆ EndListeningContext() [1/3]

sc::EndListeningContext::EndListeningContext ( const EndListeningContext )
delete

◆ EndListeningContext() [2/3]

sc::EndListeningContext::EndListeningContext ( ScDocument rDoc,
ScTokenArray pOldCode = nullptr 
)

Definition at line 39 of file listenercontext.cxx.

References make_shared().

◆ EndListeningContext() [3/3]

sc::EndListeningContext::EndListeningContext ( ScDocument rDoc,
std::shared_ptr< ColumnBlockPositionSet pSet,
ScTokenArray pOldCode = nullptr 
)

Definition at line 43 of file listenercontext.cxx.

Member Function Documentation

◆ addEmptyBroadcasterPosition()

void sc::EndListeningContext::addEmptyBroadcasterPosition ( SCTAB  nTab,
SCCOL  nCol,
SCROW  nRow 
)

Definition at line 67 of file listenercontext.cxx.

References maSet, mrDoc, and sc::ColumnSpanSet::set().

Referenced by ScColumn::EndListening().

◆ getBlockPosition()

ColumnBlockPosition * sc::EndListeningContext::getBlockPosition ( SCTAB  nTab,
SCCOL  nCol 
)

Definition at line 62 of file listenercontext.cxx.

References mpPosSet.

Referenced by ScColumn::EndListening().

◆ getDoc()

ScDocument & sc::EndListeningContext::getDoc ( )
inline

Definition at line 60 of file listenercontext.hxx.

References mrDoc.

Referenced by ScFormulaCell::EndListeningTo().

◆ getOldCode()

ScTokenArray * sc::EndListeningContext::getOldCode ( )
inline

Definition at line 61 of file listenercontext.hxx.

References mpOldCode.

Referenced by ScFormulaCell::EndListeningTo().

◆ getOldPosition()

ScAddress sc::EndListeningContext::getOldPosition ( const ScAddress rPos) const

◆ operator=()

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

◆ purgeEmptyBroadcasters()

void sc::EndListeningContext::purgeEmptyBroadcasters ( )

◆ setPositionDelta()

void sc::EndListeningContext::setPositionDelta ( const ScAddress rDelta)

Definition at line 48 of file listenercontext.cxx.

References maPosDelta.

Member Data Documentation

◆ maPosDelta

ScAddress sc::EndListeningContext::maPosDelta
private

Definition at line 49 of file listenercontext.hxx.

Referenced by getOldPosition(), and setPositionDelta().

◆ maSet

ColumnSpanSet sc::EndListeningContext::maSet
private

Definition at line 46 of file listenercontext.hxx.

Referenced by addEmptyBroadcasterPosition(), and purgeEmptyBroadcasters().

◆ mpOldCode

ScTokenArray* sc::EndListeningContext::mpOldCode
private

Definition at line 48 of file listenercontext.hxx.

Referenced by getOldCode().

◆ mpPosSet

std::shared_ptr<ColumnBlockPositionSet> sc::EndListeningContext::mpPosSet
private

Definition at line 47 of file listenercontext.hxx.

Referenced by getBlockPosition().

◆ mrDoc

ScDocument& sc::EndListeningContext::mrDoc
private

Definition at line 45 of file listenercontext.hxx.

Referenced by addEmptyBroadcasterPosition(), getDoc(), and purgeEmptyBroadcasters().


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