LibreOffice Module formula (master) 1
|
Go to the source code of this file.
Enumerations | |
enum class | FormulaError : sal_uInt16 { NONE = 0 , IllegalChar = 501 , IllegalArgument = 502 , IllegalFPOperation = 503 , IllegalParameter = 504 , Pair = 507 , PairExpected = 508 , OperatorExpected = 509 , VariableExpected = 510 , ParameterExpected = 511 , CodeOverflow = 512 , StringOverflow = 513 , StackOverflow = 514 , UnknownState = 515 , UnknownVariable = 516 , UnknownOpCode = 517 , UnknownStackVariable = 518 , NoValue = 519 , UnknownToken = 520 , NoCode = 521 , CircularReference = 522 , NoConvergence = 523 , NoRef = 524 , NoName = 525 , CellNoValue = 529 , NoAddin = 530 , NoMacro = 531 , DivisionByZero = 532 , NestedArray = 533 , NotNumericString = 534 , JumpMatHasResult = 535 , ElementNaN = 536 , RetryCircular = 537 , MatrixSize = 538 , BadArrayContent = 539 , LinkFormulaNeedingCheck = 540 , NotAvailable = 0x7fff } |
Functions | |
double | CreateDoubleError (FormulaError nErr) |
Unconditionally construct a double value of NAN where the lower bits represent an interpreter error code. More... | |
FormulaError | GetDoubleErrorValue (double fVal) |
Recreate the error code of a coded double error, if any. More... | |
bool | isPublishedFormulaError (FormulaError nErr) |
Error values that are accepted as detailed "#ERRxxx!" constants. More... | |
|
strong |
Definition at line 31 of file errorcodes.hxx.
|
inline |
Unconditionally construct a double value of NAN where the lower bits represent an interpreter error code.
Definition at line 98 of file errorcodes.hxx.
|
inline |
Recreate the error code of a coded double error, if any.
Definition at line 107 of file errorcodes.hxx.
References if(), IllegalFPOperation, NONE, and NoValue.
|
inline |
Error values that are accepted as detailed "#ERRxxx!" constants.
Used in FormulaCompiler::GetErrorConstant() to prevent users from inventing arbitrary values that already have or later might get a significant meaning.
Definition at line 128 of file errorcodes.hxx.
References BadArrayContent, CellNoValue, CircularReference, CodeOverflow, DivisionByZero, ElementNaN, IllegalArgument, IllegalChar, IllegalFPOperation, IllegalParameter, JumpMatHasResult, LinkFormulaNeedingCheck, MatrixSize, NestedArray, NoAddin, NoCode, NoConvergence, NoMacro, NoName, NONE, NoRef, NotAvailable, NotNumericString, NoValue, OperatorExpected, Pair, PairExpected, ParameterExpected, RetryCircular, StackOverflow, StringOverflow, UnknownOpCode, UnknownStackVariable, UnknownState, UnknownToken, UnknownVariable, and VariableExpected.
Referenced by formula::FormulaCompiler::GetErrorConstant().