11 #include <document.hxx>
13 #include <tokenarray.hxx>
26 SCROW nLen = mrCell.GetCellGroup()->mnLength;
31 SCROW nTest = nEndRow;
52 SCROW nLen = mrCell.GetCellGroup()->mnLength;
58 if (rRefPos.
Row() > nEndRow)
66 SCROW nLastRow = nRow + nRowLen - 1;
67 nLastRow = mrDoc.GetLastDataRow(nTab, nCol1, nCol2, nLastRow);
68 if (nLastRow < (nRow + nRowLen - 1))
73 nRowLen = nLastRow - nRow + 1;
82 else if (nLastRow == 0)
91 mrGroupTokens(rGroupTokens),
103 OUStringBuffer aAsString;
117 switch (
p->GetType())
153 if (!aArray.isValid())
223 std::vector<formula::VectorRefArray> aArrays;
224 aArrays.reserve(nCols);
226 SCROW nArrayLength = nRefRowSize;
231 SCROW nLastRefRow =
mrPos.
Row() + nLen - 1 + nLastRefRowOffset;
233 if (nNewLength > nArrayLength)
234 nArrayLength = nNewLength;
238 SCROW nRequestedLength = nArrayLength;
257 aArrays.push_back(aArray);
301 if (!
convert(*pNamedTokens, rScope))
void AssertNoInterpretNeeded(const ScAddress &rPos, SCROW nLength)
ScTokenArray & mrGroupTokens
ScGroupTokenConverter(ScTokenArray &rGroupTokens, ScDocument &rDoc, const ScFormulaCell &rCell, const ScAddress &rPos)
SC_DLLPUBLIC ScRange toAbs(const ScSheetLimits &rLimits, const ScAddress &rPos) const
Single reference (one address) into the sheet.
ScAddress toAbs(const ScSheetLimits &rLimits, const ScAddress &rPos) const
SC_DLLPUBLIC ScRangeName * GetRangeName(SCTAB nTab) const
std::shared_ptr< sc::FormulaGroupContext > & GetFormulaGroupContext()
std::shared_ptr< sc::FormulaGroupContext > mxFormulaGroupContext
bool isSelfReferenceRelative(const ScAddress &rRefPos, SCROW nRelRow)
bool convert(const ScTokenArray &rCode, sc::FormulaLogger::GroupScope &rScope)
formula::VectorRefArray FetchVectorRefArray(const ScAddress &rPos, SCROW nLength)
SC_DLLPUBLIC ScRangeData * findByIndex(sal_uInt16 i) const
virtual formula::FormulaToken * AddOpCode(OpCode eCode) override
bool isSelfReferenceAbsolute(const ScAddress &rRefPos)
Complex reference (a range) into the sheet.
formula::FormulaTokenRef ResolveStaticReference(const ScAddress &rPos)
SCROW trimLength(SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nRow, SCROW nRowLen)
const ScFormulaCell & mrCell