Skip to content

Commit 5d8acf7

Browse files
committed
Aspose.Cells for Node.js via C++ v25.5 api reference
1 parent e21ad31 commit 5d8acf7

File tree

59 files changed

+1464
-984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1464
-984
lines changed

english/nodejs-cpp/abstractcalculationengine/_index.md

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -21,88 +21,88 @@ User should not modify any part of the Workbook directly in this implementation(
2121

2222
| Method | Description |
2323
| --- | --- |
24-
| [calculate(CalculationData)](#calculate-calculationdata-)| Calculates one function with given data. |
25-
| [forceRecalculate(string)](#forceRecalculate-string-)| Whether force given function to be recalculated always when calculating shared formulas. |
2624
| abstract [isParamLiteralRequired()](#isParamLiteralRequired--)| Indicates whether this engine needs the literal text of parameter while doing calculation. Default value is false. |
2725
| abstract [isParamArrayModeRequired()](#isParamArrayModeRequired--)| Indicates whether this engine needs the parameter to be calculated in array mode. Default value is false. If [CalculationData.GetParamValueInArrayMode(int, int, int)](../calculationdata.getparamvalueinarraymode(int, int, int)/) is required when calculating custom functions and user has not updated the definition for them (by [Workbook.UpdateCustomFunctionDefinition(CustomFunctionDefinition)](../workbook.updatecustomfunctiondefinition(customfunctiondefinition)/)), this property needs to be set as true. |
2826
| abstract [getProcessBuiltInFunctions()](#getProcessBuiltInFunctions--)| Whether built-in functions that have been supported by the built-in engine should be checked and processed by this implementation. Default is false. |
27+
| abstract [calculate(CalculationData)](#calculate-calculationdata-)| Calculates one function with given data. |
28+
| abstract [forceRecalculate(string)](#forceRecalculate-string-)| Whether force given function to be recalculated always when calculating shared formulas. |
2929

3030

31-
### calculate(CalculationData) {#calculate-calculationdata-}
31+
### isParamLiteralRequired() {#isParamLiteralRequired--}
3232

33-
Calculates one function with given data.
33+
Indicates whether this engine needs the literal text of parameter while doing calculation. Default value is false.
3434

3535
```javascript
36-
calculate(data: CalculationData) : void;
36+
abstract isParamLiteralRequired() : boolean;
3737
```
3838

39-
**Parameters:**
40-
| Parameter | Type | Description |
41-
| --- | --- | --- |
42-
| data | [CalculationData](../calculationdata/) | the required data to calculate function such as function name, parameters, ...etc. |
4339

4440
**Remarks**
4541

46-
User should set the calculated value for given data for all functions(including excel native functions) that he wants to calculate by himself in this implementation.
42+
If this custom calculation engine needs the parameter's literal text, more stacks will be required to cache the literal text for parameters and Calculate() method may be called recursively to calculate the parameter's value. Generally the literal text is not needed for calculating formulas and this property should be kept as false for most implementations to get better performance.
4743

48-
### forceRecalculate(string) {#forceRecalculate-string-}
44+
### isParamArrayModeRequired() {#isParamArrayModeRequired--}
4945

50-
Whether force given function to be recalculated always when calculating shared formulas.
46+
Indicates whether this engine needs the parameter to be calculated in array mode. Default value is false. If [CalculationData.GetParamValueInArrayMode(int, int, int)](../calculationdata.getparamvalueinarraymode(int, int, int)/) is required when calculating custom functions and user has not updated the definition for them (by [Workbook.UpdateCustomFunctionDefinition(CustomFunctionDefinition)](../workbook.updatecustomfunctiondefinition(customfunctiondefinition)/)), this property needs to be set as true.
5147

5248
```javascript
53-
forceRecalculate(functionName: string) : boolean;
49+
abstract isParamArrayModeRequired() : boolean;
5450
```
5551

56-
**Parameters:**
57-
| Parameter | Type | Description |
58-
| --- | --- | --- |
59-
| functionName | string | name of the function. Generally it is custom function's name. /// If [ProcessBuiltInFunctions](../processbuiltinfunctions/) is true, then built-in functions will also be checked here. |
60-
61-
**Returns**
62-
63-
true if the specified function needs to be recalculated always.
6452

6553
**Remarks**
6654

67-
For shared formulas, multiple cells share the same function. If the function's parameters keep same for those cells too, then generally this function needs to be calculated only once. So for performance consideration we only calculate such kind of function once too([Calculate(CalculationData)](../calculate(calculationdata)/) is called only once, instead of being called repeatedly for every cell). However, for user's custom implementation, maybe the function, especially the custom function, needs to be calculated differently for different cells. If so, user needs to override this method to make it return true for the function. And for [Calculate(CalculationData)](../calculate(calculationdata)/), the given [CalculationData.CalculatedValue](../calculationdata.calculatedvalue/) may have been initialized with the cached value of previous calculation.
55+
If this custom calculation engine needs the parameter to be calculated in array mode, more stacks will be required to cache the tree for parameters and Calculate() method may be called recursively to calculate the parameter's value. For performance consideration, please keep this property as the default value(false) if there is no special requirement.
6856

69-
### isParamLiteralRequired() {#isParamLiteralRequired--}
57+
### getProcessBuiltInFunctions() {#getProcessBuiltInFunctions--}
7058

71-
Indicates whether this engine needs the literal text of parameter while doing calculation. Default value is false.
59+
Whether built-in functions that have been supported by the built-in engine should be checked and processed by this implementation. Default is false.
7260

7361
```javascript
74-
abstract isParamLiteralRequired() : boolean;
62+
abstract getProcessBuiltInFunctions() : boolean;
7563
```
7664

7765

7866
**Remarks**
7967

80-
If this custom calculation engine needs the parameter's literal text, more stacks will be required to cache the literal text for parameters and Calculate() method may be called recursively to calculate the parameter's value. Generally the literal text is not needed for calculating formulas and this property should be kept as false for most implementations to get better performance.
68+
If user needs to change the calculation logic of some built-in functions, this property should be set as true. Otherwise please leave this property as false for performance consideration.
8169

82-
### isParamArrayModeRequired() {#isParamArrayModeRequired--}
70+
### calculate(CalculationData) {#calculate-calculationdata-}
8371

84-
Indicates whether this engine needs the parameter to be calculated in array mode. Default value is false. If [CalculationData.GetParamValueInArrayMode(int, int, int)](../calculationdata.getparamvalueinarraymode(int, int, int)/) is required when calculating custom functions and user has not updated the definition for them (by [Workbook.UpdateCustomFunctionDefinition(CustomFunctionDefinition)](../workbook.updatecustomfunctiondefinition(customfunctiondefinition)/)), this property needs to be set as true.
72+
Calculates one function with given data.
8573

8674
```javascript
87-
abstract isParamArrayModeRequired() : boolean;
75+
abstract calculate(data: CalculationData) : void;
8876
```
8977

78+
**Parameters:**
79+
| Parameter | Type | Description |
80+
| --- | --- | --- |
81+
| data | [CalculationData](../calculationdata/) | the required data to calculate function such as function name, parameters, ...etc. |
9082

9183
**Remarks**
9284

93-
If this custom calculation engine needs the parameter to be calculated in array mode, more stacks will be required to cache the tree for parameters and Calculate() method may be called recursively to calculate the parameter's value. For performance consideration, please keep this property as the default value(false) if there is no special requirement.
85+
User should set the calculated value for given data for all functions(including excel native functions) that he wants to calculate by himself in this implementation.
9486

95-
### getProcessBuiltInFunctions() {#getProcessBuiltInFunctions--}
87+
### forceRecalculate(string) {#forceRecalculate-string-}
9688

97-
Whether built-in functions that have been supported by the built-in engine should be checked and processed by this implementation. Default is false.
89+
Whether force given function to be recalculated always when calculating shared formulas.
9890

9991
```javascript
100-
abstract getProcessBuiltInFunctions() : boolean;
92+
abstract forceRecalculate(functionName: string) : boolean;
10193
```
10294

95+
**Parameters:**
96+
| Parameter | Type | Description |
97+
| --- | --- | --- |
98+
| functionName | string | name of the function. Generally it is custom function's name. /// If [ProcessBuiltInFunctions](../processbuiltinfunctions/) is true, then built-in functions will also be checked here. |
99+
100+
**Returns**
101+
102+
true if the specified function needs to be recalculated always.
103103

104104
**Remarks**
105105

106-
If user needs to change the calculation logic of some built-in functions, this property should be set as true. Otherwise please leave this property as false for performance consideration.
106+
For shared formulas, multiple cells share the same function. If the function's parameters keep same for those cells too, then generally this function needs to be calculated only once. So for performance consideration we only calculate such kind of function once too([Calculate(CalculationData)](../calculate(calculationdata)/) is called only once, instead of being called repeatedly for every cell). However, for user's custom implementation, maybe the function, especially the custom function, needs to be calculated differently for different cells. If so, user needs to override this method to make it return true for the function. And for [Calculate(CalculationData)](../calculate(calculationdata)/), the given [CalculationData.CalculatedValue](../calculationdata.calculatedvalue/) may have been initialized with the cached value of previous calculation.
107107

108108

english/nodejs-cpp/abstractformulachangemonitor/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ For example, while deleting/inserting range of cells, formulas of other cells ma
2121

2222
| Method | Description |
2323
| --- | --- |
24-
| [onCellFormulaChanged(number, number, number)](#onCellFormulaChanged-number-number-number-)| The event that will be triggered when the formula in a cell is changed. |
25-
| [onFormatConditionFormulaChanged(FormatCondition)](#onFormatConditionFormulaChanged-formatcondition-)| The event that will be triggered when the formula of FormatCondition is changed. |
24+
| abstract [onCellFormulaChanged(number, number, number)](#onCellFormulaChanged-number-number-number-)| The event that will be triggered when the formula in a cell is changed. |
25+
| abstract [onFormatConditionFormulaChanged(FormatCondition)](#onFormatConditionFormulaChanged-formatcondition-)| The event that will be triggered when the formula of FormatCondition is changed. |
2626

2727

2828
### onCellFormulaChanged(number, number, number) {#onCellFormulaChanged-number-number-number-}
2929

3030
The event that will be triggered when the formula in a cell is changed.
3131

3232
```javascript
33-
onCellFormulaChanged(sheetIndex: number, rowIndex: number, columnIndex: number) : void;
33+
abstract onCellFormulaChanged(sheetIndex: number, rowIndex: number, columnIndex: number) : void;
3434
```
3535

3636
**Parameters:**
@@ -45,7 +45,7 @@ onCellFormulaChanged(sheetIndex: number, rowIndex: number, columnIndex: number)
4545
The event that will be triggered when the formula of FormatCondition is changed.
4646

4747
```javascript
48-
onFormatConditionFormulaChanged(fc: FormatCondition) : void;
48+
abstract onFormatConditionFormulaChanged(fc: FormatCondition) : void;
4949
```
5050

5151
**Parameters:**

english/nodejs-cpp/abstractlowcodeloadoptionsprovider/_index.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -21,58 +21,58 @@ For example, [SpreadsheetMerger](../spreadsheetmerger/) feature requires multipl
2121

2222
| Method | Description |
2323
| --- | --- |
24-
| [moveNext()](#moveNext--)| Checks whether there is more input. |
25-
| [finish(LowCodeLoadOptions)](#finish-lowcodeloadoptions-)| Releases resources after processing currently part of input. |
2624
| [isNull()](#isNull--)| Checks whether the implementation object is null. |
2725
| [getCurrent()](#getCurrent--)| Gets the load options from which to load data of currently processed part. |
26+
| [moveNext()](#moveNext--)| Checks whether there is more input. |
27+
| [finish(LowCodeLoadOptions)](#finish-lowcodeloadoptions-)| Releases resources after processing currently part of input. |
2828

2929

30-
### moveNext() {#moveNext--}
30+
### isNull() {#isNull--}
3131

32-
Checks whether there is more input.
32+
Checks whether the implementation object is null.
3333

3434
```javascript
35-
moveNext() : boolean;
35+
isNull() : boolean;
3636
```
3737

3838

39-
### finish(LowCodeLoadOptions) {#finish-lowcodeloadoptions-}
39+
### getCurrent() {#getCurrent--}
4040

41-
Releases resources after processing currently part of input.
41+
Gets the load options from which to load data of currently processed part.
4242

4343
```javascript
44-
finish(part: LowCodeLoadOptions) : void;
44+
getCurrent() : LowCodeLoadOptions;
4545
```
4646

47-
**Parameters:**
48-
| Parameter | Type | Description |
49-
| --- | --- | --- |
50-
| part | [LowCodeLoadOptions](../lowcodeloadoptions/) | the load options used for currently split part. |
5147

52-
**Remarks**
48+
**Returns**
5349

54-
By default this method just closes the stream specified by the [LowCodeLoadOptions.InputStream](../lowcodeloadoptions.inputstream/) directly(if the load options specified a Stream as source). User may overwrite this method to control how to release resources according to their requirement and the implementation of [Current](../current/).
50+
[LowCodeLoadOptions](../lowcodeloadoptions/)
5551

56-
### isNull() {#isNull--}
52+
### moveNext() {#moveNext--}
5753

58-
Checks whether the implementation object is null.
54+
Checks whether there is more input.
5955

6056
```javascript
61-
isNull() : boolean;
57+
moveNext() : boolean;
6258
```
6359

6460

65-
### getCurrent() {#getCurrent--}
61+
### finish(LowCodeLoadOptions) {#finish-lowcodeloadoptions-}
6662

67-
Gets the load options from which to load data of currently processed part.
63+
Releases resources after processing currently part of input.
6864

6965
```javascript
70-
getCurrent() : LowCodeLoadOptions;
66+
finish(part: LowCodeLoadOptions) : void;
7167
```
7268

69+
**Parameters:**
70+
| Parameter | Type | Description |
71+
| --- | --- | --- |
72+
| part | [LowCodeLoadOptions](../lowcodeloadoptions/) | the load options used for currently split part. |
7373

74-
**Returns**
74+
**Remarks**
7575

76-
[LowCodeLoadOptions](../lowcodeloadoptions/)
76+
By default this method just closes the stream specified by the [LowCodeLoadOptions.InputStream](../lowcodeloadoptions.inputstream/) directly(if the load options specified a Stream as source). User may overwrite this method to control how to release resources according to their requirement and the implementation of [Current](../current/).
7777

7878

english/nodejs-cpp/abstractlowcodeprotectionprovider/_index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ class AbstractLowCodeProtectionProvider;
2525

2626
| Method | Description |
2727
| --- | --- |
28+
| [isNull()](#isNull--)| Checks whether the implementation object is null. |
2829
| [getOpenPassword()](#getOpenPassword--)| Gets the password to open spread sheet file. |
2930
| [getWritePassword()](#getWritePassword--)| Gets the password to modify spread sheet file. |
3031
| [getWorkbookPassword()](#getWorkbookPassword--)| Gets the password to protect the workbook with specified protection type. |
3132
| [getWorkbookProtectionType()](#getWorkbookProtectionType--)| Gets the protection type to protect the workbook. |
3233
| [getWorksheetPassword(string)](#getWorksheetPassword-string-)| Gets the password to protect the specified worksheet. |
3334
| [getWorksheetProtectionType(string)](#getWorksheetProtectionType-string-)| Gets the protection type to protect the specified worksheet. |
34-
| [isNull()](#isNull--)| Checks whether the implementation object is null. |
3535

3636

3737
### constructor() {#constructor--}
@@ -43,6 +43,15 @@ constructor();
4343
```
4444

4545

46+
### isNull() {#isNull--}
47+
48+
Checks whether the implementation object is null.
49+
50+
```javascript
51+
isNull() : boolean;
52+
```
53+
54+
4655
### getOpenPassword() {#getOpenPassword--}
4756

4857
Gets the password to open spread sheet file.
@@ -129,13 +138,4 @@ getWorksheetProtectionType(sheetName: string) : ProtectionType;
129138

130139
Protection type to protect the specified worksheet. [ProtectionType.None](../protectiontype.none/) means no protection for the worksheet.
131140

132-
### isNull() {#isNull--}
133-
134-
Checks whether the implementation object is null.
135-
136-
```javascript
137-
isNull() : boolean;
138-
```
139-
140-
141141

english/nodejs-cpp/abstractlowcodesaveoptionsprovider/_index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,18 @@ class AbstractLowCodeSaveOptionsProvider;
1919

2020
| Method | Description |
2121
| --- | --- |
22+
| [isNull()](#isNull--)| Checks whether the implementation object is null. |
2223
| [getSaveOptions(SplitPartInfo)](#getSaveOptions-splitpartinfo-)| Gets the save options from which to get the output settings for currently split part. Returning null denotes to skip given part. |
2324
| [finish(LowCodeSaveOptions)](#finish-lowcodesaveoptions-)| Releases resources after processing currently split part. |
24-
| [isNull()](#isNull--)| Checks whether the implementation object is null. |
25+
26+
27+
### isNull() {#isNull--}
28+
29+
Checks whether the implementation object is null.
30+
31+
```javascript
32+
isNull() : boolean;
33+
```
2534

2635

2736
### getSaveOptions(SplitPartInfo) {#getSaveOptions-splitpartinfo-}
@@ -58,13 +67,4 @@ finish(part: LowCodeSaveOptions) : void;
5867

5968
By default this method just closes the stream specified by the [LowCodeSaveOptions.OutputStream](../lowcodesaveoptions.outputstream/) directly(if the save options specified a Stream as destination). User may overwrite this method to control how to release resources according to their requirement and the implementation of [GetSaveOptions(SplitPartInfo)](../getsaveoptions(splitpartinfo)/).
6069

61-
### isNull() {#isNull--}
62-
63-
Checks whether the implementation object is null.
64-
65-
```javascript
66-
isNull() : boolean;
67-
```
68-
69-
7070

0 commit comments

Comments
 (0)