Skip to content

Commit 05a0956

Browse files
committed
Release Aspose.Cells Cloud SDK 25.6.0
1 parent 0e476a4 commit 05a0956

File tree

718 files changed

+10839
-742
lines changed

Some content is hidden

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

718 files changed

+10839
-742
lines changed

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

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,53 @@ public async Task< BrokenLinksReponse > SearchBrokenLinksInRemoteRangeAsync(S
783783
return result;
784784
}
785785

786+
787+
/// <summary>
788+
/// Get the specifications
789+
/// </summary>
790+
/// <param name="request">Request. <see cref="SpecRequest" /></param>
791+
public void Spec(SpecRequest request)
792+
{
793+
requestHandlers.ForEach(p => p.ProcessUrl(""));
794+
var result = invoker.InvokeApiAsync< string >(request.CreateHttpRequest(BaseUri +"/v4.0" , this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
795+
return ;
796+
}
797+
798+
/// <summary>
799+
/// async/await syntax calling method
800+
/// </summary>
801+
public async Task SpecAsync(SpecRequest request)
802+
{
803+
requestHandlers.ForEach(p => p.ProcessUrl(""));
804+
var result = await invoker.InvokeApiAsync< string >(request.CreateHttpRequest(BaseUri +"/v4.0" , this.invoker.DefaultHeaderMap, this.requestHandlers));
805+
return ;
806+
}
807+
808+
809+
810+
/// <summary>
811+
/// </summary>
812+
/// <param name="request">Request. <see cref="CodegenSpecRequest" /></param>
813+
public void CodegenSpec(CodegenSpecRequest request)
814+
{
815+
requestHandlers.ForEach(p => p.ProcessUrl(""));
816+
var result = invoker.InvokeApiAsync< string >(request.CreateHttpRequest(BaseUri +"/v4.0" , this.invoker.DefaultHeaderMap, this.requestHandlers)).Result;
817+
return ;
818+
}
819+
820+
/// <summary>
821+
/// async/await syntax calling method
822+
/// </summary>
823+
public async Task CodegenSpecAsync(CodegenSpecRequest request)
824+
{
825+
requestHandlers.ForEach(p => p.ProcessUrl(""));
826+
var result = await invoker.InvokeApiAsync< string >(request.CreateHttpRequest(BaseUri +"/v4.0" , this.invoker.DefaultHeaderMap, this.requestHandlers));
827+
return ;
828+
}
829+
830+
831+
832+
786833
public void DeleteSpreadsheetBlankRows(DeleteSpreadsheetBlankRowsRequest request, string LocalOutPath){
787834
var result = DeleteSpreadsheetBlankRows(request);
788835
using (Stream stream = File.OpenWrite(LocalOutPath))

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>25.5.4</AssemblyVersion>
21-
<FileVersion>25.5.4</FileVersion>
22-
<Version>25.5.4</Version>
20+
<AssemblyVersion>25.6.0</AssemblyVersion>
21+
<FileVersion>25.6.0</FileVersion>
22+
<Version>25.6.0</Version>
2323
<PackageReadmeFile>README.md</PackageReadmeFile>
2424

2525
</PropertyGroup>
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="CodegenSpecRequest.cs">
3+
// Copyright (c) 2025 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.Request
27+
{
28+
using Aspose.Cells.Cloud.SDK.Model;
29+
using Newtonsoft.Json;
30+
using System.Collections.Generic;
31+
using System.Net;
32+
using System.Text.RegularExpressions;
33+
34+
/// <summary>
35+
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.CodegenSpec" /> operation.
36+
/// </summary>
37+
public class CodegenSpecRequest : IRequestModel
38+
{
39+
40+
/// <summary>
41+
/// Initializes a new instance of the <see cref="CodegenSpecRequest"/> class.
42+
/// </summary>
43+
public CodegenSpecRequest()
44+
{
45+
46+
}
47+
/// <summary>
48+
/// Initializes a new instance of the <see cref="CodegenSpecRequest"/> class.
49+
/// </summary>
50+
/// <param name="regoin">The spreadsheet region setting.</param>
51+
/// <param name="password">The password for opening spreadsheet file.</param>
52+
public CodegenSpecRequest(string regoin = null, string password = null)
53+
{
54+
this.regoin = regoin;
55+
this.password = password;
56+
}
57+
58+
/// <summary>
59+
/// The spreadsheet region setting.
60+
/// </summary>
61+
public string regoin { get; set; }
62+
63+
64+
/// <summary>
65+
/// The password for opening spreadsheet file.
66+
/// </summary>
67+
public string password { get; set; }
68+
69+
70+
/// <summary>
71+
/// Gets or sets extendQueryParameterMap.
72+
/// </summary>
73+
public IDictionary<string, string> extendQueryParameterMap ;
74+
75+
/// <summary>
76+
/// Creates the http request based on this request.
77+
/// </summary>
78+
/// <param name="baseUri">Api base uri.</param>
79+
/// <returns>The http request instance.</returns>
80+
public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, string> defaultHeaderMap, List<Invoker.IRequestHandler> requestHandlers)
81+
{
82+
var localVarHeaderParams = new Dictionary<string, string>();
83+
var localVarFileParams = new Dictionary<string, object>();
84+
string localVarPostBody ="";
85+
string localVarHttpContentType = "application/json";
86+
var path = baseUri + "/cells/codegen/spec";
87+
path = Regex
88+
.Replace(path, "\\*", string.Empty)
89+
.Replace("&amp;", "&")
90+
.Replace("/?", "?");
91+
92+
if (!string.IsNullOrEmpty(this.regoin)) path = UrlHelper.AddQueryParameterToUrl(path, "regoin", this.regoin);
93+
if (!string.IsNullOrEmpty(this.password)) path = UrlHelper.AddQueryParameterToUrl(path, "password", this.password);
94+
if (this.extendQueryParameterMap != null)
95+
{
96+
foreach (KeyValuePair<string, string> kvp in extendQueryParameterMap)
97+
{
98+
path = UrlHelper.AddQueryParameterToUrl(path, kvp.Key, kvp.Value);
99+
}
100+
}
101+
102+
103+
return UrlHelper.PrepareRequest(path, "GET", localVarFileParams, localVarHeaderParams, localVarPostBody, localVarHttpContentType, defaultHeaderMap, requestHandlers);
104+
}
105+
}
106+
}

Aspose.Cells.Cloud.SDK/Request/MergeSpreadsheetsRequest.cs

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public MergeSpreadsheetsRequest()
5555
/// <param name="fontsLocation">Use Custom fonts.</param>
5656
/// <param name="regoin">The spreadsheet region setting.</param>
5757
/// <param name="password">The password for opening spreadsheet file.</param>
58-
public MergeSpreadsheetsRequest(string spreadsheet, string outFormat = null, bool? mergeInOneSheet = null, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
58+
public MergeSpreadsheetsRequest(IDictionary<string, System.IO.Stream> spreadsheet, string outFormat = null, bool? mergeInOneSheet = null, string outPath = null, string outStorageName = null, string fontsLocation = null, string regoin = null, string password = null)
5959
{
6060
this.Spreadsheet = spreadsheet;
6161
this.outFormat = outFormat;
@@ -70,7 +70,7 @@ public MergeSpreadsheetsRequest(string spreadsheet, string outFormat = null, b
7070
/// <summary>
7171
/// Upload spreadsheet file.
7272
/// </summary>
73-
public string Spreadsheet { get; set; }
73+
public IDictionary<string, System.IO.Stream> Spreadsheet { get; set; }
7474

7575

7676
/// <summary>
@@ -132,7 +132,7 @@ public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, strin
132132
string localVarPostBody ="";
133133
string localVarHttpContentType = "application/json";
134134
// verify the required parameter 'spreadsheet' is set
135-
if ( string.IsNullOrEmpty(this.Spreadsheet) )
135+
if ( this.Spreadsheet == null )
136136
{
137137
throw new ApiException(400, "Missing required parameter 'spreadsheet' when calling MergeSpreadsheets");
138138
}
@@ -158,12 +158,13 @@ public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, strin
158158
}
159159
}
160160

161-
if (!string.IsNullOrEmpty(Spreadsheet ) && System.IO.File.Exists(Spreadsheet )) {
162-
System.IO.FileInfo fileInfo = new System.IO.FileInfo(Spreadsheet);
163-
localVarFileParams.Add(fileInfo.Name, UrlHelper.ToFileInfo(System.IO.File.OpenRead(Spreadsheet), fileInfo.Name));
164-
}
165-
166-
161+
162+
if (Spreadsheet != null){
163+
foreach (KeyValuePair<string, System.IO.Stream> keyValueFileParam in Spreadsheet )
164+
{
165+
localVarFileParams.Add(keyValueFileParam.Key, UrlHelper.ToFileInfo(keyValueFileParam.Value, keyValueFileParam.Key));
166+
}
167+
}
167168

168169
return UrlHelper.PrepareRequest(path, "PUT", localVarFileParams, localVarHeaderParams, localVarPostBody, localVarHttpContentType, defaultHeaderMap, requestHandlers);
169170
}
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
// --------------------------------------------------------------------------------------------------------------------
2+
// <copyright company="Aspose" file="SpecRequest.cs">
3+
// Copyright (c) 2025 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.Request
27+
{
28+
using Aspose.Cells.Cloud.SDK.Model;
29+
using Newtonsoft.Json;
30+
using System.Collections.Generic;
31+
using System.Net;
32+
using System.Text.RegularExpressions;
33+
34+
/// <summary>
35+
/// Request model for <see cref="Aspose.Cells.Cloud.SDK.Api.CellsApi.Spec" /> operation.
36+
/// </summary>
37+
public class SpecRequest : IRequestModel
38+
{
39+
40+
/// <summary>
41+
/// Initializes a new instance of the <see cref="SpecRequest"/> class.
42+
/// </summary>
43+
public SpecRequest()
44+
{
45+
46+
}
47+
/// <summary>
48+
/// Initializes a new instance of the <see cref="SpecRequest"/> class.
49+
/// </summary>
50+
/// <param name="version"></param>
51+
/// <param name="regoin">The spreadsheet region setting.</param>
52+
/// <param name="password">The password for opening spreadsheet file.</param>
53+
public SpecRequest(string version, string regoin = null, string password = null)
54+
{
55+
this.version = version;
56+
this.regoin = regoin;
57+
this.password = password;
58+
}
59+
60+
/// <summary>
61+
/// Gets or sets version.
62+
/// </summary>
63+
public string version { get; set; }
64+
65+
66+
/// <summary>
67+
/// The spreadsheet region setting.
68+
/// </summary>
69+
public string regoin { get; set; }
70+
71+
72+
/// <summary>
73+
/// The password for opening spreadsheet file.
74+
/// </summary>
75+
public string password { get; set; }
76+
77+
78+
/// <summary>
79+
/// Gets or sets extendQueryParameterMap.
80+
/// </summary>
81+
public IDictionary<string, string> extendQueryParameterMap ;
82+
83+
/// <summary>
84+
/// Creates the http request based on this request.
85+
/// </summary>
86+
/// <param name="baseUri">Api base uri.</param>
87+
/// <returns>The http request instance.</returns>
88+
public HttpWebRequest CreateHttpRequest(string baseUri,IDictionary<string, string> defaultHeaderMap, List<Invoker.IRequestHandler> requestHandlers)
89+
{
90+
var localVarHeaderParams = new Dictionary<string, string>();
91+
var localVarFileParams = new Dictionary<string, object>();
92+
string localVarPostBody ="";
93+
string localVarHttpContentType = "application/json";
94+
// verify the required parameter 'version' is set
95+
if (string.IsNullOrEmpty (this.version ))
96+
{
97+
throw new ApiException(400, "Missing required parameter 'version' when calling Spec");
98+
}
99+
100+
var path = baseUri + "/cells/swagger/spec";
101+
path = Regex
102+
.Replace(path, "\\*", string.Empty)
103+
.Replace("&amp;", "&")
104+
.Replace("/?", "?");
105+
106+
path = UrlHelper.AddQueryParameterToUrl(path, "version", this.version);
107+
if (!string.IsNullOrEmpty(this.regoin)) path = UrlHelper.AddQueryParameterToUrl(path, "regoin", this.regoin);
108+
if (!string.IsNullOrEmpty(this.password)) path = UrlHelper.AddQueryParameterToUrl(path, "password", this.password);
109+
if (this.extendQueryParameterMap != null)
110+
{
111+
foreach (KeyValuePair<string, string> kvp in extendQueryParameterMap)
112+
{
113+
path = UrlHelper.AddQueryParameterToUrl(path, kvp.Key, kvp.Value);
114+
}
115+
}
116+
117+
118+
return UrlHelper.PrepareRequest(path, "GET", localVarFileParams, localVarHeaderParams, localVarPostBody, localVarHttpContentType, defaultHeaderMap, requestHandlers);
119+
}
120+
}
121+
}

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-v25.5.0-blue?style=for-the-badge&logo=dotnet) [![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/net/) [![Documentation](https://img.shields.io/badge/Documentation-388e3c?style=for-the-badge&logo=Hugo&logoColor=white)](https://docs.aspose.cloud/cells/) [![API Ref](https://img.shields.io/badge/Reference-f39c12?style=for-the-badge&logo=html5&logoColor=white)](https://reference.aspose.cloud/cells/) [![Examples](https://img.shields.io/badge/Examples-1565c0?style=for-the-badge&logo=Github&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/tree/main/examples) [![Blog](https://img.shields.io/badge/Blog-d32f2f?style=for-the-badge&logo=WordPress&logoColor=white)](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [![Support](https://img.shields.io/badge/Support-7b1fa2?style=for-the-badge&logo=Discourse&logoColor=white)](https://forum.aspose.cloud/c/cells/7) [![License](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-go?style=for-the-badge&logo=rocket&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/blob/master/LICENSE)
1+
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-v25.6.0-blue?style=for-the-badge&logo=dotnet) [![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/net/) [![Documentation](https://img.shields.io/badge/Documentation-388e3c?style=for-the-badge&logo=Hugo&logoColor=white)](https://docs.aspose.cloud/cells/) [![API Ref](https://img.shields.io/badge/Reference-f39c12?style=for-the-badge&logo=html5&logoColor=white)](https://reference.aspose.cloud/cells/) [![Examples](https://img.shields.io/badge/Examples-1565c0?style=for-the-badge&logo=Github&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/tree/main/examples) [![Blog](https://img.shields.io/badge/Blog-d32f2f?style=for-the-badge&logo=WordPress&logoColor=white)](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [![Support](https://img.shields.io/badge/Support-7b1fa2?style=for-the-badge&logo=Discourse&logoColor=white)](https://forum.aspose.cloud/c/cells/7) [![License](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-go?style=for-the-badge&logo=rocket&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet/blob/master/LICENSE)
22

33
# .NET package for Aspose.Cells Cloud
44

@@ -98,16 +98,17 @@ To get started with Aspose.Cells Cloud for .NET, follow these steps:
9898
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
9999
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
100100

101-
## Feature & Enhancements in Version 25.5.0
101+
## Feature & Enhancements in Version 25.6.0
102102

103103
Full list of issues covering all changes in this release:
104104

105105
|**Summary**| **Category** |
106106
| :- |:-------------|
107-
| Add the new API for getting public key about encrypt password. | New Feature |
108-
| Optimize convert workbook feature: Add auto fit row parameter. | Improvement |
109-
| Optimize auto fit rows for worksheet. | Improvement |
110-
| Optimize auto fit rows for worksheet: Add firstColumn and lastColumn. | Improvement |
107+
| Optimize the upload file API | Improvement |
108+
| Support delete blank rows, columns, and worksheets. | New Feature |
109+
| Optimize search context for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
110+
| Optimize search broken links for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
111+
| Optimize replace context for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
111112

112113
## Available SDKs
113114

docs/api/add-picture-in-cell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# **addPictureInCell API**
1+
# **Spreadsheet Cloud API: addPictureInCell**
22

33
add new picture in the cells.
44

docs/api/check-cloud-service-health.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# **checkCloudServiceHealth API**
1+
# **Spreadsheet Cloud API: checkCloudServiceHealth**
22

33
Check the Health Status of Aspose.Cells Cloud Service.
44

docs/api/check-workbook-formula-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# **checkWorkbookFormulaErrors API**
1+
# **Spreadsheet Cloud API: checkWorkbookFormulaErrors**
22

33

44

docs/api/check-wrokbook-external-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# **checkWrokbookExternalReference API**
1+
# **Spreadsheet Cloud API: checkWrokbookExternalReference**
22

33
Export Excel internal elements or the workbook itself to various format files.
44

0 commit comments

Comments
 (0)