public interface ICustomFunction
Remarks
User should not modify any part in the Workbook directly in this implementation. Otherwise unexpected result or Exception may be caused. NOTE: This member is now obsolete. Instead, please use AbstractCalculationEngine which provides more convenient and flexible APIs for manipulating custom functions. This interface will be removed 12 months later since August 2020. Aspose apologizes for any inconvenience you may have experienced.| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
calculateCustomFunction(java.lang.String functionName,
java.util.ArrayList paramsList,
java.util.ArrayList contextObjects)
Deprecated.
Calculates the result of custom function.
|
java.lang.Object calculateCustomFunction(java.lang.String functionName,
java.util.ArrayList paramsList,
java.util.ArrayList contextObjects)
Remarks
Currently there are 3 fixed context objects and some varialbe context objects:1. Current Workbook object.
2. Current Worksheet object.
3. Current Cell object.
Others are custom function parameters text.
If a custom function name is not supported, please return a null reference.functionName - InnerCustom function name, such as "MyFunc1".paramsList - A list of parameters value for custom functions.contextObjects - A list of context objects.See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2001-2023. All Rights Reserved.