LibreOffice Module sc (master) 1
|
#include <grouptokenconverter.hxx>
Public Member Functions | |
ScGroupTokenConverter (ScTokenArray &rGroupTokens, ScDocument &rDoc, const ScFormulaCell &rCell, const ScAddress &rPos) | |
bool | convert (const ScTokenArray &rCode, sc::FormulaLogger::GroupScope &rScope) |
Private Member Functions | |
bool | isSelfReferenceRelative (const ScAddress &rRefPos, SCROW nRelRow) |
bool | isSelfReferenceAbsolute (const ScAddress &rRefPos) |
SCROW | trimLength (SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nRow, SCROW nRowLen) |
Private Attributes | |
ScTokenArray & | mrGroupTokens |
ScDocument & | mrDoc |
std::shared_ptr< sc::FormulaGroupContext > | mxFormulaGroupContext |
const ScFormulaCell & | mrCell |
const ScAddress & | mrPos |
Definition at line 20 of file grouptokenconverter.hxx.
ScGroupTokenConverter::ScGroupTokenConverter | ( | ScTokenArray & | rGroupTokens, |
ScDocument & | rDoc, | ||
const ScFormulaCell & | rCell, | ||
const ScAddress & | rPos | ||
) |
Definition at line 89 of file grouptokenconverter.cxx.
bool ScGroupTokenConverter::convert | ( | const ScTokenArray & | rCode, |
sc::FormulaLogger::GroupScope & | rScope | ||
) |
Definition at line 98 of file grouptokenconverter.cxx.
References ScTokenArray::AddOpCode(), sc::FormulaLogger::GroupScope::addRefMessage(), formula::FormulaTokenArray::AddToken(), ScRange::aEnd, ScDocument::AssertNoInterpretNeeded(), ScRange::aStart, ScAddress::Col(), convert(), formula::FormulaCompiler::CreateStringFromTokenArray(), ScDocument::FetchVectorRefArray(), ScRangeName::findByIndex(), formula::FormulaTokenArrayPlainIterator::First(), ScFormulaCell::GetCellGroup(), ScRangeData::GetCode(), ScDocument::GetFormulaGroupContext(), ScDocument::GetRangeName(), formula::FormulaGrammar::GRAM_NATIVE_XL_R1C1, i, ScSingleRefData::IsDeleted(), ScComplexRefData::IsDeleted(), ScSingleRefData::IsRowRel(), isSelfReferenceAbsolute(), isSelfReferenceRelative(), formula::VectorRefArray::isValid(), mrCell, mrDoc, mrGroupTokens, mrPos, mxFormulaGroupContext, formula::FormulaTokenArrayPlainIterator::Next(), ocClose, ocName, ocOpen, p, ScComplexRefData::Ref1, ScComplexRefData::Ref2, ScDocument::ResolveStaticReference(), ScAddress::Row(), ScSingleRefData::Row(), ScAddress::SetCol(), svDoubleRef, svIndex, svSingleRef, ScAddress::Tab(), ScSingleRefData::toAbs(), ScComplexRefData::toAbs(), and trimLength().
Referenced by convert(), and ScFormulaCell::InterpretFormulaGroupOpenCL().
|
private |
Definition at line 47 of file grouptokenconverter.cxx.
References ScAddress::Col(), ScFormulaCell::GetCellGroup(), mrCell, mrPos, ScAddress::Row(), and ScAddress::Tab().
Referenced by convert().
|
private |
Definition at line 21 of file grouptokenconverter.cxx.
References ScAddress::Col(), ScFormulaCell::GetCellGroup(), mrCell, mrPos, ScAddress::Row(), and ScAddress::Tab().
Referenced by convert().
|
private |
Definition at line 64 of file grouptokenconverter.cxx.
References ScDocument::GetLastDataRow(), and mrDoc.
Referenced by convert().
|
private |
Definition at line 25 of file grouptokenconverter.hxx.
Referenced by convert(), isSelfReferenceAbsolute(), and isSelfReferenceRelative().
|
private |
Definition at line 23 of file grouptokenconverter.hxx.
Referenced by convert(), and trimLength().
|
private |
Definition at line 22 of file grouptokenconverter.hxx.
Referenced by convert().
|
private |
Definition at line 26 of file grouptokenconverter.hxx.
Referenced by convert(), isSelfReferenceAbsolute(), and isSelfReferenceRelative().
|
private |
Definition at line 24 of file grouptokenconverter.hxx.
Referenced by convert().