Lines Matching refs:formula
42 const formula::FormulaToken* mpToken; // if not, result token obtained from interpreter
65 inline void ResolveToken( const formula::FormulaToken * p );
101 explicit ScFormulaResult( const formula::FormulaToken* p ) in ScFormulaResult()
129 inline void SetToken( const formula::FormulaToken* p );
132 inline formula::FormulaConstTokenRef GetToken() const;
136 inline formula::FormulaConstTokenRef GetCellResultToken() const;
140 inline formula::StackVar GetType() const;
144 inline formula::StackVar GetCellResultType() const;
224 inline void ScFormulaResult::ResolveToken( const formula::FormulaToken * p ) in ResolveToken()
236 case formula::svError: in ResolveToken()
244 case formula::svEmptyCell: in ResolveToken()
251 case formula::svDouble: in ResolveToken()
303 inline void ScFormulaResult::SetToken( const formula::FormulaToken* p ) in SetToken()
314 (p && p->GetType() == formula::svMatrixCell ? in SetToken()
371 inline formula::StackVar ScFormulaResult::GetType() const in GetType()
375 return formula::svError; in GetType()
377 return formula::svEmptyCell; in GetType()
379 return formula::svDouble; in GetType()
382 return formula::svUnknown; in GetType()
386 inline formula::StackVar ScFormulaResult::GetCellResultType() const in GetCellResultType()
388 formula::StackVar sv = GetType(); in GetCellResultType()
389 if (sv == formula::svMatrixCell) in GetCellResultType()
400 if (GetType() == formula::svMatrixCell) in IsEmptyDisplayedAsString()
415 formula::StackVar sv = GetCellResultType(); in IsValue()
416 return sv == formula::svDouble || sv == formula::svError || sv == formula::svEmptyCell; in IsValue()
437 formula::StackVar sv = GetCellResultType(); in GetResultError()
438 if (sv == formula::svError) in GetResultError()
440 if (GetType() == formula::svMatrixCell) in GetResultError()
457 inline formula::FormulaConstTokenRef ScFormulaResult::GetToken() const in GetToken()
465 inline formula::FormulaConstTokenRef ScFormulaResult::GetCellResultToken() const in GetCellResultToken()
467 if (GetType() == formula::svMatrixCell) in GetCellResultToken()
483 case formula::svHybridCell: in GetDouble()
485 case formula::svMatrixCell: in GetDouble()
489 if (p->GetUpperLeftType() == formula::svDouble) in GetDouble()
511 case formula::svString: in GetString()
512 case formula::svHybridCell: in GetString()
514 case formula::svMatrixCell: in GetString()
518 if (p->GetUpperLeftType() == formula::svString) in GetString()
532 if (GetType() == formula::svMatrixCell) in GetMatrix()
540 if (GetType() == formula::svHybridCell) in GetHybridFormula()
600 return (GetType() == formula::svMatrixCell ? in GetMatrixFormulaCellToken()