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:

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

ColumnSpanSet maSet
std::shared_ptr< ColumnBlockPositionSetmpPosSet
ScAddress maPosDelta

Detailed Description

Definition at line 43 of file listenercontext.hxx.

Constructor & Destructor Documentation

sc::EndListeningContext::EndListeningContext ( const EndListeningContext )
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 ( )

Definition at line 60 of file listenercontext.hxx.

References mrDoc.

Referenced by ScFormulaCell::EndListeningTo().

ScTokenArray* sc::EndListeningContext::getOldCode ( )

Definition at line 61 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 )
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

Definition at line 49 of file listenercontext.hxx.

Referenced by getOldPosition(), and setPositionDelta().

ColumnSpanSet sc::EndListeningContext::maSet

Definition at line 46 of file listenercontext.hxx.

Referenced by addEmptyBroadcasterPosition(), and purgeEmptyBroadcasters().

ScTokenArray* sc::EndListeningContext::mpOldCode

Definition at line 48 of file listenercontext.hxx.

Referenced by getOldCode().

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

Definition at line 47 of file listenercontext.hxx.

Referenced by getBlockPosition().

ScDocument& sc::EndListeningContext::mrDoc

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: