Skip to content

Commit 5637278

Browse files
committed
2023-09-08 : There are 6 files that was modified in the project. Respectively are CellsApiPartials2.cs, AutoFitterOptions.cs, CalculationOptions.cs, and so on. There is 1 file that was deleted in the project. It is Aspose.Cells.Cloud.SDK/Request/GetExtractBarcodesRequest.cs There are 14 files that was added in the project. Respectively are AbstractCalculationEngine.cs, AbstractCalculationMonitor.cs, ChartGlobalizationSettings.cs, and so on.
1 parent 855e7ea commit 5637278

20 files changed

+1454
-25
lines changed

Aspose.Cells.Cloud.SDK/Api/CellsApiPartials2.cs

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,11 +1821,35 @@ public CellsCloudResponse PostWorksheetListObjectSortTable(PostWorksheetListO
18211821
}
18221822

18231823

1824+
/// <summary>
1825+
/// Remove duplicates on list object.
1826+
/// </summary>
1827+
/// <param name="request">Request. <see cref="PostWorksheetListObjectRemoveDuplicatesRequest" /></param>
1828+
public CellsCloudResponse PostWorksheetListObjectRemoveDuplicates(PostWorksheetListObjectRemoveDuplicatesRequest request)
1829+
{
1830+
requestHandlers.ForEach(p => p.ProcessUrl(""));
1831+
var result = invoker.InvokeApiAsync<CellsCloudResponse>(request.CreateHttpRequest(BaseUri + "/" + Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
1832+
return result;
1833+
}
1834+
1835+
1836+
1837+
/// <summary>
1838+
/// Insert slicer for list object.
1839+
/// </summary>
1840+
/// <param name="request">Request. <see cref="PostWorksheetListObjectInsertSlicerRequest" /></param>
1841+
public CellsCloudResponse PostWorksheetListObjectInsertSlicer(PostWorksheetListObjectInsertSlicerRequest request)
1842+
{
1843+
requestHandlers.ForEach(p => p.ProcessUrl(""));
1844+
var result = invoker.InvokeApiAsync<CellsCloudResponse>(request.CreateHttpRequest(BaseUri + "/" + Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
1845+
return result;
1846+
}
1847+
18241848

18251849
/// <summary>
18261850
/// </summary>
18271851
/// <param name="request">Request. <see cref="PostWorksheetListColumnRequest" /></param>
1828-
public CellsCloudResponse PostWorksheetListColumn(PostWorksheetListColumnRequest request)
1852+
public CellsCloudResponse PostWorksheetListColumn(PostWorksheetListColumnRequest request)
18291853
{
18301854
requestHandlers.ForEach(p => p.ProcessUrl(""));
18311855
var result = invoker.InvokeApiAsync< CellsCloudResponse >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
@@ -2599,12 +2623,23 @@ public CellsCloudResponse PostWorksheetCellsRangeMoveTo(PostWorksheetCellsRan
25992623
return result;
26002624
}
26012625

2626+
/// <summary>
2627+
/// Sets outline border around a range of cells.
2628+
/// </summary>
2629+
/// <param name="request">Request. <see cref="PostWorksheetCellsRangeSortRequest" /></param>
2630+
public CellsCloudResponse PostWorksheetCellsRangeSort(PostWorksheetCellsRangeSortRequest request)
2631+
{
2632+
requestHandlers.ForEach(p => p.ProcessUrl(""));
2633+
var result = invoker.InvokeApiAsync<CellsCloudResponse>(request.CreateHttpRequest(BaseUri + "/" + Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
2634+
return result;
2635+
}
2636+
26022637

26032638

26042639
/// <summary>
26052640
/// </summary>
26062641
/// <param name="request">Request. <see cref="PostWorksheetCellsRangeOutlineBorderRequest" /></param>
2607-
public CellsCloudResponse PostWorksheetCellsRangeOutlineBorder(PostWorksheetCellsRangeOutlineBorderRequest request)
2642+
public CellsCloudResponse PostWorksheetCellsRangeOutlineBorder(PostWorksheetCellsRangeOutlineBorderRequest request)
26082643
{
26092644
requestHandlers.ForEach(p => p.ProcessUrl(""));
26102645
var result = invoker.InvokeApiAsync< CellsCloudResponse >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="AbstractCalculationEngine.cs">
3+
// Copyright (c) 2023 Aspose.Cells Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Cells.Cloud.SDK.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using System.Drawing;
34+
using Newtonsoft.Json;
35+
using Newtonsoft.Json.Converters;
36+
37+
/// <summary>
38+
/// Represents user's custom calculation engine to extend the default calculation engine of Aspose.Cells.
39+
///
40+
/// </summary>
41+
public class AbstractCalculationEngine
42+
{
43+
/// <summary>
44+
/// Indicates whether this engine needs the literal text of parameter while doing calculation. Default value is false.
45+
///
46+
/// </summary>
47+
public virtual bool? IsParamLiteralRequired { get; set; }
48+
49+
/// <summary>
50+
/// Indicates whether this engine needs the parameter to be calculated in array mode. Default value is false. If is required when calculating custom functions, this property needs to be set as true.
51+
///
52+
/// </summary>
53+
public virtual bool? IsParamArrayModeRequired { get; set; }
54+
55+
/// <summary>
56+
/// Whether built-in functions that have been supported by the built-in engine should be checked and processed by this implementation. Default is false. 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.
57+
///
58+
/// </summary>
59+
public virtual bool? ProcessBuiltInFunctions { get; set; }
60+
61+
/// <summary>
62+
/// Get the string presentation of the object.
63+
/// </summary>
64+
/// <returns>String presentation of the object.</returns>
65+
public override string ToString()
66+
{
67+
var sb = new StringBuilder();
68+
sb.Append("class AbstractCalculationEngine {\n");
69+
sb.Append(" IsParamLiteralRequired: ").Append(this.IsParamLiteralRequired).Append("\n");
70+
sb.Append(" IsParamArrayModeRequired: ").Append(this.IsParamArrayModeRequired).Append("\n");
71+
sb.Append(" ProcessBuiltInFunctions: ").Append(this.ProcessBuiltInFunctions).Append("\n");
72+
sb.Append("}\n");
73+
return sb.ToString();
74+
}
75+
}
76+
}
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="AbstractCalculationMonitor.cs">
3+
// Copyright (c) 2023 Aspose.Cells Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Cells.Cloud.SDK.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using System.Drawing;
34+
using Newtonsoft.Json;
35+
using Newtonsoft.Json.Converters;
36+
37+
/// <summary>
38+
/// Monitor for user to track the progress of formula calculation.
39+
///
40+
/// </summary>
41+
public class AbstractCalculationMonitor
42+
{
43+
/// <summary>
44+
/// Gets the old value of the calculated cell. Should be used only in and .
45+
///
46+
/// </summary>
47+
public virtual Object OriginalValue { get; set; }
48+
49+
/// <summary>
50+
/// Whether the cell's value has been changed after the calculation. Should be used only in .
51+
///
52+
/// </summary>
53+
public virtual bool? ValueChanged { get; set; }
54+
55+
/// <summary>
56+
/// Gets the newly calculated value of the cell. Should be used only in .
57+
///
58+
/// </summary>
59+
public virtual Object CalculatedValue { get; set; }
60+
61+
/// <summary>
62+
/// Get the string presentation of the object.
63+
/// </summary>
64+
/// <returns>String presentation of the object.</returns>
65+
public override string ToString()
66+
{
67+
var sb = new StringBuilder();
68+
sb.Append("class AbstractCalculationMonitor {\n");
69+
sb.Append(" OriginalValue: ").Append(this.OriginalValue).Append("\n");
70+
sb.Append(" ValueChanged: ").Append(this.ValueChanged).Append("\n");
71+
sb.Append(" CalculatedValue: ").Append(this.CalculatedValue).Append("\n");
72+
sb.Append("}\n");
73+
return sb.ToString();
74+
}
75+
}
76+
}

Aspose.Cells.Cloud.SDK/Model/AutoFitterOptions.cs

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,31 @@ public class AutoFitterOptions
5959
/// </summary>
6060
public virtual bool? OnlyAuto { get; set; }
6161

62+
/// <summary>
63+
/// Gets or sets DefaultEditLanguage.
64+
/// </summary>
65+
public virtual string DefaultEditLanguage { get; set; }
66+
67+
/// <summary>
68+
/// Gets or sets MaxRowHeight.
69+
/// </summary>
70+
public virtual double? MaxRowHeight { get; set; }
71+
72+
/// <summary>
73+
/// Gets or sets AutoFitWrappedTextType.
74+
/// </summary>
75+
public virtual string AutoFitWrappedTextType { get; set; }
76+
77+
/// <summary>
78+
/// Gets or sets FormatStrategy.
79+
/// </summary>
80+
public virtual string FormatStrategy { get; set; }
81+
82+
/// <summary>
83+
/// Gets or sets ForRendering.
84+
/// </summary>
85+
public virtual bool? ForRendering { get; set; }
86+
6287
/// <summary>
6388
/// Get the string presentation of the object.
6489
/// </summary>
@@ -71,6 +96,11 @@ public override string ToString()
7196
sb.Append(" AutoFitMergedCells: ").Append(this.AutoFitMergedCells).Append("\n");
7297
sb.Append(" IgnoreHidden: ").Append(this.IgnoreHidden).Append("\n");
7398
sb.Append(" OnlyAuto: ").Append(this.OnlyAuto).Append("\n");
99+
sb.Append(" DefaultEditLanguage: ").Append(this.DefaultEditLanguage).Append("\n");
100+
sb.Append(" MaxRowHeight: ").Append(this.MaxRowHeight).Append("\n");
101+
sb.Append(" AutoFitWrappedTextType: ").Append(this.AutoFitWrappedTextType).Append("\n");
102+
sb.Append(" FormatStrategy: ").Append(this.FormatStrategy).Append("\n");
103+
sb.Append(" ForRendering: ").Append(this.ForRendering).Append("\n");
74104
sb.Append("}\n");
75105
return sb.ToString();
76106
}

Aspose.Cells.Cloud.SDK/Model/CalculationOptions.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,24 @@ public class CalculationOptions
5959
/// </summary>
6060
public virtual bool? Recursive { get; set; }
6161

62+
/// <summary>
63+
/// The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.
64+
///
65+
/// </summary>
66+
public virtual AbstractCalculationEngine CustomEngine { get; set; }
67+
68+
/// <summary>
69+
/// The monitor for user to track the progress of formula calculation.
70+
///
71+
/// </summary>
72+
public virtual AbstractCalculationMonitor CalculationMonitor { get; set; }
73+
74+
/// <summary>
75+
/// Specifies the data sources for external links used in formulas.
76+
///
77+
/// </summary>
78+
public virtual List<Workbook> LinkedDataSources { get; set; }
79+
6280
/// <summary>
6381
/// Get the string presentation of the object.
6482
/// </summary>
@@ -71,6 +89,9 @@ public override string ToString()
7189
sb.Append(" IgnoreError: ").Append(this.IgnoreError).Append("\n");
7290
sb.Append(" PrecisionStrategy: ").Append(this.PrecisionStrategy).Append("\n");
7391
sb.Append(" Recursive: ").Append(this.Recursive).Append("\n");
92+
sb.Append(" CustomEngine: ").Append(this.CustomEngine).Append("\n");
93+
sb.Append(" CalculationMonitor: ").Append(this.CalculationMonitor).Append("\n");
94+
sb.Append(" LinkedDataSources: ").Append(this.LinkedDataSources).Append("\n");
7495
sb.Append("}\n");
7596
return sb.ToString();
7697
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="ChartGlobalizationSettings.cs">
3+
// Copyright (c) 2023 Aspose.Cells Cloud
4+
// </copyright>
5+
// <summary>
6+
// Permission is hereby granted, free of charge, to any person obtaining a copy
7+
// of this software and associated documentation files (the "Software"), to deal
8+
// in the Software without restriction, including without limitation the rights
9+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
// copies of the Software, and to permit persons to whom the Software is
11+
// furnished to do so, subject to the following conditions:
12+
//
13+
// The above copyright notice and this permission notice shall be included in all
14+
// copies or substantial portions of the Software.
15+
//
16+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
// SOFTWARE.
23+
// </summary>
24+
// --------------------------------------------------------------------------------------------------------------------
25+
26+
namespace Aspose.Cells.Cloud.SDK.Model
27+
{
28+
using System;
29+
using System.Collections;
30+
using System.Collections.Generic;
31+
using System.Runtime.Serialization;
32+
using System.Text;
33+
using System.Drawing;
34+
using Newtonsoft.Json;
35+
using Newtonsoft.Json.Converters;
36+
37+
/// <summary>
38+
/// Represents the globalization settings for chart.
39+
///
40+
/// </summary>
41+
public class ChartGlobalizationSettings
42+
{
43+
/// <summary>
44+
/// Get the string presentation of the object.
45+
/// </summary>
46+
/// <returns>String presentation of the object.</returns>
47+
public override string ToString()
48+
{
49+
var sb = new StringBuilder();
50+
sb.Append("class ChartGlobalizationSettings {\n");
51+
sb.Append("}\n");
52+
return sb.ToString();
53+
}
54+
}
55+
}

0 commit comments

Comments
 (0)