/// MUST be called once before any other method. staticvoid Init();
staticvoidExit();
/** Get one parameter type for function eOp. @paramnParameter Whichparameter,0-based. SAL_MAX_UINT16forreturntypeofeOp.
*/ static formula::ParamClass GetParameterType( const formula::FormulaToken* pToken,
sal_uInt16 nParameter);
/** Whether OpCode has a parameter of type
ForceArray or ReferenceOrForceArray. */ staticbool HasForceArray( OpCode eOp)
{ return0 <= static_cast<short>(eOp) &&
eOp <= SC_OPCODE_LAST_OPCODE_ID &&
pData[eOp].bHasForceArray;
}
#if DEBUG_SC_PARCLASSDOC // Generate documentation to stdout if environment variable // OOO_CALC_GENPARCLASSDOC is set. staticvoid GenerateDocumentation();
/* OpCodes not specified in the implementation are taken from the global *functionlistandallparameters,ifany,areassumedtobeoftype *Value.Thiscouldalsobedoneintheproductversionifneeded,butwe *don'twanttospoilstartuptime.However,doingsocouldpropagatethe *minimumparametercounttotheformulacompiler,which,togetherwith *additionalinformationaboutoptionalparameters,couldreactonmissing
* parameters then. */ staticvoid MergeArgumentsFromFunctionResource();
/** Minimum number of parameters, or fix number ofparametersifHasRepeatParameters() returnssal_False.Foropcodesnotspecifiedin theimplementationaparametercountof1 isassumed,foropcodesoutofrange0is assumed.IfHasRepeatParameters()returns sal_True,informationisNOTrelatedtowhether anyparametersareoptional,onlythetype
of parameters is significant. */ staticinline sal_uInt8 GetMinimumParameters( OpCode eOp)
{ if ( eOp <= SC_OPCODE_LAST_OPCODE_ID ) return pData[eOp].aData.nParam[0]
== formula::ParamClass::Unknown ? 1 :
pData[eOp].nMinParams; return0;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.