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, const 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 44 of file listenercontext.hxx.

Constructor & Destructor Documentation

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

Definition at line 38 of file listenercontext.cxx.

References make_shared().

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

Definition at line 42 of file listenercontext.cxx.

Member Function Documentation

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

Definition at line 66 of file listenercontext.cxx.

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

Referenced by ScColumn::EndListening().

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

Definition at line 61 of file listenercontext.cxx.

References mpPosSet.

Referenced by ScColumn::EndListening().

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

Definition at line 61 of file listenercontext.hxx.

References mrDoc.

Referenced by ScFormulaCell::EndListeningTo().

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

Definition at line 62 of file listenercontext.hxx.

References mpOldCode.

Referenced by ScFormulaCell::EndListeningTo().

ScAddress sc::EndListeningContext::getOldPosition ( const ScAddress rPos) const
const EndListeningContext& sc::EndListeningContext::operator= ( const EndListeningContext )
delete
void sc::EndListeningContext::purgeEmptyBroadcasters ( )
void sc::EndListeningContext::setPositionDelta ( const ScAddress rDelta)

Definition at line 47 of file listenercontext.cxx.

References maPosDelta.

Member Data Documentation

ScAddress sc::EndListeningContext::maPosDelta
private

Definition at line 50 of file listenercontext.hxx.

Referenced by getOldPosition(), and setPositionDelta().

ColumnSpanSet sc::EndListeningContext::maSet
private

Definition at line 47 of file listenercontext.hxx.

Referenced by addEmptyBroadcasterPosition(), and purgeEmptyBroadcasters().

ScTokenArray* sc::EndListeningContext::mpOldCode
private

Definition at line 49 of file listenercontext.hxx.

Referenced by getOldCode().

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

Definition at line 48 of file listenercontext.hxx.

Referenced by getBlockPosition().

ScDocument& sc::EndListeningContext::mrDoc
private

Definition at line 46 of file listenercontext.hxx.

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


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