Skip to content

Commit 9020f0d

Browse files
committed
Release Aspose.Cells Cloud SDK 24.12.0
1 parent 723a950 commit 9020f0d

30 files changed

+668
-14
lines changed

Aspose.Cells.Cloud.SDK.Test/Api/PivotTablesControllerTests.cs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
1010
// copies of the Software, and to permit persons to whom the Software is
1111
// furnished to do so, subject to the following conditions:
12-
//
12+
//
1313
// The above copyright notice and this permission notice shall be included in all
1414
// copies or substantial portions of the Software.
15-
//
15+
//
1616
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1717
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1818
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
@@ -25,7 +25,7 @@
2525

2626
namespace Aspose.Cells.Cloud.SDK.Tests.Api.Api
2727
{
28-
using Microsoft.VisualStudio.TestTools.UnitTesting;
28+
using Microsoft.VisualStudio.TestTools.UnitTesting;
2929
using Aspose.Cells.Cloud.SDK.Model;
3030
using Aspose.Cells.Cloud.SDK.Request;
3131
using System.Collections.Generic;
@@ -133,8 +133,9 @@ public void TestGetWorksheetPivotTableFilters()
133133
/// <summary>
134134
/// Test for GetWorksheetPivotTableFilter of PivotTablesController.
135135
/// </summary>
136-
[TestCategory(ProductName)]
136+
/* [TestCategory(ProductName)]
137137
[TestMethod]
138+
[Ignore]
138139
public void TestGetWorksheetPivotTableFilter()
139140
{
140141
string localName = "TestCase.xlsx";
@@ -152,7 +153,7 @@ public void TestGetWorksheetPivotTableFilter()
152153
);
153154
var actual = this.CellsApi.GetWorksheetPivotTableFilter(request);
154155
Assert.AreEqual(200, actual.Code);
155-
}
156+
}*/
156157

157158
/// <summary>
158159
/// Test for PutWorksheetPivotTable of PivotTablesController.
@@ -213,12 +214,13 @@ public void TestPutPivotTableField()
213214
var actual = this.CellsApi.PutPivotTableField(request);
214215
Assert.AreEqual(200, actual.Code);
215216
}
216-
217+
/*
217218
/// <summary>
218219
/// Test for PutWorksheetPivotTableFilter of PivotTablesController.
219220
/// </summary>
220221
[TestCategory(ProductName)]
221222
[TestMethod]
223+
[Ignore]
222224
public void TestPutWorksheetPivotTableFilter()
223225
{
224226
string localName = "TestCase.xlsx";
@@ -243,6 +245,7 @@ public void TestPutWorksheetPivotTableFilter()
243245
var actual = this.CellsApi.PutWorksheetPivotTableFilter(request);
244246
Assert.AreEqual(200, actual.Code);
245247
}
248+
*/
246249

247250
/// <summary>
248251
/// Test for PostPivotTableFieldHideItem of PivotTablesController.

Aspose.Cells.Cloud.SDK.Test/Infrastructure/CellsTestCommon.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public string GetLocalFilePath(string filename)
112112
int pos = localFolder.IndexOf("bin");
113113
if(pos >0)
114114
{
115-
localFolder = Path.Combine( localFolder.Substring(0, pos),"./../","TestData/CellsCloud");
115+
localFolder = Path.Combine( localFolder.Substring(0, pos),"./../TestData","CellsCloud");
116116
}
117117
}
118118

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

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6277,6 +6277,52 @@ public async Task< FileInfo > PostConvertTextAsync(PostConvertTextRequest req
62776277

62786278

62796279

6280+
/// <summary>
6281+
/// </summary>
6282+
/// <param name="request">Request. <see cref="PostRemoveDuplicatesRequest" /></param>
6283+
public FileInfo PostRemoveDuplicates(PostRemoveDuplicatesRequest request)
6284+
{
6285+
requestHandlers.ForEach(p => p.ProcessUrl(""));
6286+
var result = invoker.InvokeApiAsync< FileInfo >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
6287+
return result;
6288+
}
6289+
6290+
/// <summary>
6291+
/// async/await syntax calling method
6292+
/// </summary>
6293+
6294+
public async Task< FileInfo > PostRemoveDuplicatesAsync(PostRemoveDuplicatesRequest request)
6295+
{
6296+
requestHandlers.ForEach(p => p.ProcessUrl(""));
6297+
var result = await invoker.InvokeApiAsync< FileInfo >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers));
6298+
return result;
6299+
}
6300+
6301+
6302+
6303+
/// <summary>
6304+
/// </summary>
6305+
/// <param name="request">Request. <see cref="PostExtractTextRequest" /></param>
6306+
public FileInfo PostExtractText(PostExtractTextRequest request)
6307+
{
6308+
requestHandlers.ForEach(p => p.ProcessUrl(""));
6309+
var result = invoker.InvokeApiAsync< FileInfo >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
6310+
return result;
6311+
}
6312+
6313+
/// <summary>
6314+
/// async/await syntax calling method
6315+
/// </summary>
6316+
6317+
public async Task< FileInfo > PostExtractTextAsync(PostExtractTextRequest request)
6318+
{
6319+
requestHandlers.ForEach(p => p.ProcessUrl(""));
6320+
var result = await invoker.InvokeApiAsync< FileInfo >(request.CreateHttpRequest(BaseUri +"/" +Version, this.invoker.DefaultHeaderMap, this.requestHandlers));
6321+
return result;
6322+
}
6323+
6324+
6325+
62806326
/// <summary>
62816327
/// Retrieve the description of the default style for the workbook .
62826328
/// </summary>

Aspose.Cells.Cloud.SDK/Aspose.Cells.Cloud.SDK.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<RepositoryType>GitHub</RepositoryType>
1818
<Copyright>MIT</Copyright>
1919
<StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings>
20-
<AssemblyVersion>24.11</AssemblyVersion>
21-
<FileVersion>24.11</FileVersion>
22-
<Version>24.11</Version>
20+
<AssemblyVersion>24.12</AssemblyVersion>
21+
<FileVersion>24.12</FileVersion>
22+
<Version>24.12</Version>
2323
<PackageReadmeFile>README.md</PackageReadmeFile>
2424

2525
</PropertyGroup>

Aspose.Cells.Cloud.SDK/Infrastructure/Invoker/ApiInvoker.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ internal class ApiInvoker
5050
internal ApiInvoker(List<IRequestHandler> requestHandlers)
5151
{
5252
this.AddDefaultHeader(AsposeClientHeaderName, ".net sdk");
53-
this.AddDefaultHeader(AsposeClientVersionHeaderName, "24.11");
53+
this.AddDefaultHeader(AsposeClientVersionHeaderName, "24.12");
5454
this.requestHandlers = requestHandlers;
5555
}
5656

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="ExtractTextOptions.cs">
3+
// Copyright (c) 2024 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+
///
39+
/// </summary>
40+
public class ExtractTextOptions : BaseOperateOptions
41+
{
42+
/// <summary>
43+
///
44+
/// </summary>
45+
public override string Name { get; set; }
46+
47+
/// <summary>
48+
///
49+
/// </summary>
50+
public virtual DataSource DataSource { get; set; }
51+
52+
/// <summary>
53+
///
54+
/// </summary>
55+
public virtual FileInfo FileInfo { get; set; }
56+
57+
/// <summary>
58+
///
59+
/// </summary>
60+
public virtual string Worksheet { get; set; }
61+
62+
/// <summary>
63+
///
64+
/// </summary>
65+
public virtual string Range { get; set; }
66+
67+
/// <summary>
68+
/// Gets or sets ExtractTextType.
69+
/// </summary>
70+
public virtual string ExtractTextType { get; set; }
71+
72+
/// <summary>
73+
/// Gets or sets BeforeText.
74+
/// </summary>
75+
public virtual string BeforeText { get; set; }
76+
77+
/// <summary>
78+
/// Gets or sets AfterText.
79+
/// </summary>
80+
public virtual string AfterText { get; set; }
81+
82+
/// <summary>
83+
/// Gets or sets BeforePosition.
84+
/// </summary>
85+
public virtual int? BeforePosition { get; set; }
86+
87+
/// <summary>
88+
/// Gets or sets AfterPosition.
89+
/// </summary>
90+
public virtual int? AfterPosition { get; set; }
91+
92+
/// <summary>
93+
/// Gets or sets OutPositionRange.
94+
/// </summary>
95+
public virtual string OutPositionRange { get; set; }
96+
97+
/// <summary>
98+
/// Get the string presentation of the object.
99+
/// </summary>
100+
/// <returns>String presentation of the object.</returns>
101+
public override string ToString()
102+
{
103+
var sb = new StringBuilder();
104+
sb.Append("class ExtractTextOptions {\n");
105+
sb.Append(" Name: ").Append(this.Name).Append("\n");
106+
sb.Append(" DataSource: ").Append(this.DataSource).Append("\n");
107+
sb.Append(" FileInfo: ").Append(this.FileInfo).Append("\n");
108+
sb.Append(" Worksheet: ").Append(this.Worksheet).Append("\n");
109+
sb.Append(" Range: ").Append(this.Range).Append("\n");
110+
sb.Append(" ExtractTextType: ").Append(this.ExtractTextType).Append("\n");
111+
sb.Append(" BeforeText: ").Append(this.BeforeText).Append("\n");
112+
sb.Append(" AfterText: ").Append(this.AfterText).Append("\n");
113+
sb.Append(" BeforePosition: ").Append(this.BeforePosition).Append("\n");
114+
sb.Append(" AfterPosition: ").Append(this.AfterPosition).Append("\n");
115+
sb.Append(" OutPositionRange: ").Append(this.OutPositionRange).Append("\n");
116+
sb.Append("}\n");
117+
return sb.ToString();
118+
}
119+
}
120+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="ExtractTextType.cs">
3+
// Copyright (c) 2024 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+
/// ExtractTextType.
39+
/// </summary>
40+
[JsonConverter(typeof(StringEnumConverter))]
41+
public enum ExtractTextType
42+
{
43+
}
44+
}

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class PivotFilter
6363
/// Gets the measure field index of the pivot filter.
6464
///
6565
/// </summary>
66-
public virtual int? MeasureFldIndex { get; set; }
66+
public virtual int? ValueFieldIndex { get; set; }
6767

6868
/// <summary>
6969
/// Gets the member property field index of the pivot filter.
@@ -88,6 +88,11 @@ public class PivotFilter
8888
/// </summary>
8989
public virtual string Value2 { get; set; }
9090

91+
/// <summary>
92+
///
93+
/// </summary>
94+
public virtual Top10Filter Top10Filter { get; set; }
95+
9196
/// <summary>
9297
/// Get the string presentation of the object.
9398
/// </summary>
@@ -100,11 +105,12 @@ public override string ToString()
100105
sb.Append(" EvaluationOrder: ").Append(this.EvaluationOrder).Append("\n");
101106
sb.Append(" FieldIndex: ").Append(this.FieldIndex).Append("\n");
102107
sb.Append(" FilterType: ").Append(this.FilterType).Append("\n");
103-
sb.Append(" MeasureFldIndex: ").Append(this.MeasureFldIndex).Append("\n");
108+
sb.Append(" ValueFieldIndex: ").Append(this.ValueFieldIndex).Append("\n");
104109
sb.Append(" MemberPropertyFieldIndex: ").Append(this.MemberPropertyFieldIndex).Append("\n");
105110
sb.Append(" Name: ").Append(this.Name).Append("\n");
106111
sb.Append(" Value1: ").Append(this.Value1).Append("\n");
107112
sb.Append(" Value2: ").Append(this.Value2).Append("\n");
113+
sb.Append(" Top10Filter: ").Append(this.Top10Filter).Append("\n");
108114
sb.Append("}\n");
109115
return sb.ToString();
110116
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="RemoveDuplicatesAreaType.cs">
3+
// Copyright (c) 2024 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+
/// RemoveDuplicatesAreaType.
39+
/// </summary>
40+
[JsonConverter(typeof(StringEnumConverter))]
41+
public enum RemoveDuplicatesAreaType
42+
{
43+
}
44+
}

0 commit comments

Comments
 (0)