LibreOffice Module sc (master) 1
|
#include <listenercontext.hxx>
Public Member Functions | |
EndListeningContext (const EndListeningContext &)=delete | |
const EndListeningContext & | operator= (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) |
ScDocument & | getDoc () |
ScTokenArray * | getOldCode () |
ScAddress | getOldPosition (const ScAddress &rPos) const |
ColumnBlockPosition * | getBlockPosition (SCTAB nTab, SCCOL nCol) |
void | addEmptyBroadcasterPosition (SCTAB nTab, SCCOL nCol, SCROW nRow) |
void | purgeEmptyBroadcasters () |
Private Attributes | |
ScDocument & | mrDoc |
ColumnSpanSet | maSet |
std::shared_ptr< ColumnBlockPositionSet > | mpPosSet |
ScTokenArray * | mpOldCode |
ScAddress | maPosDelta |
Definition at line 43 of file listenercontext.hxx.
|
delete |
sc::EndListeningContext::EndListeningContext | ( | ScDocument & | rDoc, |
ScTokenArray * | pOldCode = nullptr |
||
) |
Definition at line 39 of file listenercontext.cxx.
References make_shared().
sc::EndListeningContext::EndListeningContext | ( | ScDocument & | rDoc, |
std::shared_ptr< ColumnBlockPositionSet > | pSet, | ||
ScTokenArray * | pOldCode = nullptr |
||
) |
Definition at line 43 of file listenercontext.cxx.
Definition at line 67 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 62 of file listenercontext.cxx.
References mpPosSet.
Referenced by ScColumn::EndListening().
|
inline |
Definition at line 60 of file listenercontext.hxx.
References mrDoc.
Referenced by ScFormulaCell::EndListeningTo().
|
inline |
Definition at line 61 of file listenercontext.hxx.
References mpOldCode.
Referenced by ScFormulaCell::EndListeningTo().
Definition at line 53 of file listenercontext.cxx.
References ScAddress::Col(), ScAddress::IncCol(), ScAddress::IncRow(), ScAddress::IncTab(), maPosDelta, ScAddress::Row(), and ScAddress::Tab().
Referenced by ScFormulaCell::EndListeningTo().
|
delete |
void sc::EndListeningContext::purgeEmptyBroadcasters | ( | ) |
Definition at line 72 of file listenercontext.cxx.
References sc::ColumnSpanSet::executeAction(), maSet, and mrDoc.
Referenced by ScDocument::ConvertFormulaToValue(), ScDocument::DeleteArea(), ScDocument::DeleteSelection(), ScDocument::DeleteSelectionTab(), ScDocument::EndListeningFormulaCells(), ScDocument::EndListeningGroups(), ScDocument::SetString(), ScDocument::SetValue(), and ScDocument::SwapNonEmpty().
void sc::EndListeningContext::setPositionDelta | ( | const ScAddress & | rDelta | ) |
Definition at line 48 of file listenercontext.cxx.
References maPosDelta.
|
private |
Definition at line 49 of file listenercontext.hxx.
Referenced by getOldPosition(), and setPositionDelta().
|
private |
Definition at line 46 of file listenercontext.hxx.
Referenced by addEmptyBroadcasterPosition(), and purgeEmptyBroadcasters().
|
private |
Definition at line 48 of file listenercontext.hxx.
Referenced by getOldCode().
|
private |
Definition at line 47 of file listenercontext.hxx.
Referenced by getBlockPosition().
|
private |
Definition at line 45 of file listenercontext.hxx.
Referenced by addEmptyBroadcasterPosition(), getDoc(), and purgeEmptyBroadcasters().