namespace formula
{ enum ParamClass : sal_uInt8
{
Unknown = 0, // MUST be zero for initialization mechanism!
/** Out of bounds, function doesn't expect that many parameters. However,notnecessarilyreturnedifamodulespecificdefinition
for example returns type Value for an unlisted function. */
Bounds,
/** In array formula: single value to be passed. Results in JumpMatrix beingcreatedandmultiplecallstofunction.Functionshandlinga formula::svDoubleRefbymeansofDoubleRefToPosSingleRef()or PopDoubleRefOrSingleRef()orGetDouble()orGetString()shouldhave
this. */
Value,
/** In array formula: area reference must stay reference. Otherwise don'tcare.Functionshandlingaformula::svDoubleRefbymeansof
PopDoubleRefOrSingleRef() should not have this. */
Reference,
/** Like Reference but the function accepts also a list of references (ocUnionsvRefList)asoneargumentANDhandlesthespecialcaseof anarrayofreferencesinarraymode.Thentheresultingargument foraparameterinJumpMatrixcontextmaybeanarrayofreferences whichthenistobepreferredoveraresultmatrix.Thisfinal
behaviour is the opposite of SuppressedReferenceOrForceArray. */
ReferenceOrRefArray,
/** In array formula: convert area reference to array. Function will be calledonlyonceifnoValuetypeisinvolved.Functionsableto handleasvMatrixparameterbutnotaformula::svDoubleRefparameterasarea
should have this. */
Array,
/** Area reference must be converted to array in any case, and must alsobepropagatedtosubsequentoperatorsandfunctionsbeingpart
of a parameter of this function. */
ForceArray,
/** Area reference is not converted to array, but ForceArray must be propagatedtosubsequentoperatorsandfunctionsbeingpartofa parameterofthisfunction.Usedwithfunctionsthattreat referencesseparatelyfromarrays,butneedtheforcedarray
calculation of parameters that are not references. */
ReferenceOrForceArray,
/** Same as ReferenceOrForceArray but suppressed / not inherited in the compiler'sForceArraycontexttoindicatethataresultof ReferenceinJumpMatrixcontextshouldusetheresultmatrix insteadofthearrayofreferences.Neverusedasinitialparameter
classification. */
SuppressedReferenceOrForceArray,
/** A function return forces the caller into array mode for this one call,makingitbehavelikeithadForceArraybutnotpropagatedto
any further operators in the same parameter. */
ForceArrayReturn
};
}
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.