11#include <document.hxx>
13#include <tokenarray.hxx>
31 SCROW nTest = nEndRow;
58 if (rRefPos.
Row() > nEndRow)
66 SCROW nLastRow = nRow + nRowLen - 1;
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())
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);
260 std::vector<formula::VectorRefArray> aArraysTmp = aArrays;
302 if (!
convert(*pNamedTokens, rScope))
formula::VectorRefArray FetchVectorRefArray(const ScAddress &rPos, SCROW nLength)
std::shared_ptr< sc::FormulaGroupContext > & GetFormulaGroupContext()
SC_DLLPUBLIC SCROW GetLastDataRow(SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nLastRow) const
Return the last non-empty row position in given columns that's no greater than the initial last row p...
SC_DLLPUBLIC ScRangeName * GetRangeName(SCTAB nTab) const
formula::FormulaTokenRef ResolveStaticReference(const ScAddress &rPos)
void AssertNoInterpretNeeded(const ScAddress &rPos, SCROW nLength)
SCROW trimLength(SCTAB nTab, SCCOL nCol1, SCCOL nCol2, SCROW nRow, SCROW nRowLen)
bool convert(const ScTokenArray &rCode, sc::FormulaLogger::GroupScope &rScope)
bool isSelfReferenceAbsolute(const ScAddress &rRefPos)
ScGroupTokenConverter(ScTokenArray &rGroupTokens, ScDocument &rDoc, const ScFormulaCell &rCell, const ScAddress &rPos)
bool isSelfReferenceRelative(const ScAddress &rRefPos, SCROW nRelRow)
const ScFormulaCell & mrCell
std::shared_ptr< sc::FormulaGroupContext > mxFormulaGroupContext
ScTokenArray & mrGroupTokens
SC_DLLPUBLIC ScRangeData * findByIndex(sal_uInt16 i) const
virtual formula::FormulaToken * AddOpCode(OpCode eCode) override
Complex reference (a range) into the sheet.
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