LibreOffice Module sc (master) 1
|
#include <formulacell.hxx>
Public Member Functions | |
ScFormulaCellGroup () | |
ScFormulaCellGroup (const ScFormulaCellGroup &)=delete | |
const ScFormulaCellGroup & | operator= (const ScFormulaCellGroup &)=delete |
~ScFormulaCellGroup () | |
void | setCode (const ScTokenArray &rCode) |
void | compileCode (ScDocument &rDoc, const ScAddress &rPos, formula::FormulaGrammar::Grammar eGram) |
sc::FormulaGroupAreaListener * | getAreaListener (ScFormulaCell **ppTopCell, const ScRange &rRange, bool bStartFixed, bool bEndFixed) |
void | endAllGroupListening (ScDocument &rDoc) |
Public Attributes | |
AreaListenersType | m_AreaListeners |
size_t | mnRefCount |
std::optional< ScTokenArray > | mpCode |
ScFormulaCell * | mpTopCell |
SCROW | mnLength |
sal_Int32 | mnWeight |
SvNumFormatType | mnFormatType |
bool | mbInvariant:1 |
bool | mbSubTotal:1 |
bool | mbPartOfCycle:1 |
sal_uInt8 | meCalcState |
Definition at line 70 of file formulacell.hxx.
ScFormulaCellGroup::ScFormulaCellGroup | ( | ) |
Definition at line 504 of file formulacell.cxx.
|
delete |
ScFormulaCellGroup::~ScFormulaCellGroup | ( | ) |
Definition at line 517 of file formulacell.cxx.
void ScFormulaCellGroup::compileCode | ( | ScDocument & | rDoc, |
const ScAddress & | rPos, | ||
formula::FormulaGrammar::Grammar | eGram | ||
) |
Definition at line 528 of file formulacell.cxx.
References formula::FormulaCompiler::CompileTokenArray(), ScFormulaCell::GetMatrixFlag(), formula::FormulaCompiler::GetNumFormatType(), mbSubTotal, mnFormatType, mpCode, mpTopCell, NONE, ocAggregate, and ocSubTotal.
void ScFormulaCellGroup::endAllGroupListening | ( | ScDocument & | rDoc | ) |
Definition at line 566 of file formulacell.cxx.
References BCA_LISTEN_ALWAYS, ScDocument::EndListeningArea(), sc::FormulaGroupAreaListener::getListeningRange(), and m_AreaListeners.
sc::FormulaGroupAreaListener * ScFormulaCellGroup::getAreaListener | ( | ScFormulaCell ** | ppTopCell, |
const ScRange & | rRange, | ||
bool | bStartFixed, | ||
bool | bEndFixed | ||
) |
Definition at line 547 of file formulacell.cxx.
References m_AreaListeners, and mnLength.
|
delete |
void ScFormulaCellGroup::setCode | ( | const ScTokenArray & | rCode | ) |
Definition at line 521 of file formulacell.cxx.
References ScTokenArray::CloneValue(), mbInvariant, and mpCode.
AreaListenersType ScFormulaCellGroup::m_AreaListeners |
Definition at line 72 of file formulacell.hxx.
Referenced by endAllGroupListening(), and getAreaListener().
bool ScFormulaCellGroup::mbInvariant |
Definition at line 82 of file formulacell.hxx.
Referenced by setCode().
bool ScFormulaCellGroup::mbPartOfCycle |
Definition at line 84 of file formulacell.hxx.
bool ScFormulaCellGroup::mbSubTotal |
Definition at line 83 of file formulacell.hxx.
Referenced by compileCode().
sal_uInt8 ScFormulaCellGroup::meCalcState |
Definition at line 86 of file formulacell.hxx.
SvNumFormatType ScFormulaCellGroup::mnFormatType |
Definition at line 81 of file formulacell.hxx.
Referenced by compileCode().
SCROW ScFormulaCellGroup::mnLength |
Definition at line 79 of file formulacell.hxx.
Referenced by getAreaListener().
|
mutable |
Definition at line 75 of file formulacell.hxx.
sal_Int32 ScFormulaCellGroup::mnWeight |
Definition at line 80 of file formulacell.hxx.
std::optional<ScTokenArray> ScFormulaCellGroup::mpCode |
Definition at line 77 of file formulacell.hxx.
Referenced by compileCode(), and setCode().
ScFormulaCell* ScFormulaCellGroup::mpTopCell |
Definition at line 78 of file formulacell.hxx.
Referenced by compileCode().