| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int | |
| private final String | |
| private final byte[] | |
| private final byte | |
| private static final short | FUNCTION_MAX_PARAMS
maxParams=30 in functionMetadata.txt means the maximum number arguments supported by the given version of Excel. |
| Access | Constructor and Description |
|---|---|
| pack-priv | FunctionMetadata(int index, String name, int minParams, int maxParams, byte returnClassCode, byte[] parameterClassCodes)
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public String | |
| public byte[] | |
| public byte | |
| public boolean | |
| public boolean | Returns: true if this function can the maximum number of arguments allowable by
the org.Some varags functions (like VLOOKUP) have a specific limit to the number of arguments that can be passed. |
| public String |
| _index | back to summary |
|---|---|
| private final int _index | |
| _maxParams | back to summary |
|---|---|
| private final int _maxParams | |
| _minParams | back to summary |
|---|---|
| private final int _minParams | |
| _name | back to summary |
|---|---|
| private final String _name | |
| _parameterClassCodes | back to summary |
|---|---|
| private final byte[] _parameterClassCodes | |
| _returnClassCode | back to summary |
|---|---|
| private final byte _returnClassCode | |
| FUNCTION_MAX_PARAMS | back to summary |
|---|---|
| private static final short FUNCTION_MAX_PARAMS maxParams=30 in functionMetadata.txt means the maximum number arguments supported by the given version of Excel. Validation routines should take the actual limit (Excel 97 or 2007) from the SpreadsheetVersion enum. Perhaps a value like 'M' should be used instead of '30' in functionMetadata.txt to make that file more version neutral.
| |
| FunctionMetadata | back to summary |
|---|---|
| pack-priv FunctionMetadata(int index, String name, int minParams, int maxParams, byte returnClassCode, byte[] parameterClassCodes) | |
| getIndex | back to summary |
|---|---|
| public int getIndex() | |
| getMaxParams | back to summary |
|---|---|
| public int getMaxParams() | |
| getMinParams | back to summary |
|---|---|
| public int getMinParams() | |
| getName | back to summary |
|---|---|
| public String getName() | |
| getParameterClassCodes | back to summary |
|---|---|
| public byte[] getParameterClassCodes() | |
| getReturnClassCode | back to summary |
|---|---|
| public byte getReturnClassCode() | |
| hasFixedArgsLength | back to summary |
|---|---|
| public boolean hasFixedArgsLength() | |
| hasUnlimitedVarags | back to summary |
|---|---|
| public boolean hasUnlimitedVarags() Some varags functions (like VLOOKUP) have a specific limit to the number of arguments that can be passed. Other functions (like SUM) don't have such a limit. For those functions, the spreadsheet version determines the maximum number of arguments that can be passed.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |