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, const 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 44 of file listenercontext.hxx.
|
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.
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().
|
inline |
Definition at line 61 of file listenercontext.hxx.
References mrDoc.
Referenced by ScFormulaCell::EndListeningTo().
|
inline |
Definition at line 62 of file listenercontext.hxx.
References mpOldCode.
Referenced by ScFormulaCell::EndListeningTo().
Definition at line 52 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 71 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().
Definition at line 47 of file listenercontext.cxx.
References maPosDelta.
|
private |
Definition at line 50 of file listenercontext.hxx.
Referenced by getOldPosition(), and setPositionDelta().
|
private |
Definition at line 47 of file listenercontext.hxx.
Referenced by addEmptyBroadcasterPosition(), and purgeEmptyBroadcasters().
|
private |
Definition at line 49 of file listenercontext.hxx.
Referenced by getOldCode().
|
private |
Definition at line 48 of file listenercontext.hxx.
Referenced by getBlockPosition().
|
private |
Definition at line 46 of file listenercontext.hxx.
Referenced by addEmptyBroadcasterPosition(), getDoc(), and purgeEmptyBroadcasters().