Skip to content

Commit 47940ba

Browse files
committed
2 parents 6a89051 + f07728d commit 47940ba

File tree

315 files changed

+16160
-6311
lines changed

Some content is hidden

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

315 files changed

+16160
-6311
lines changed

.github/workflows/sdkbuild2run.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ jobs:
3737
go run .\Example_MergeExcelFiles.go
3838
go run .\Example_SplitExcelFiles.go
3939
go run .\Example_CreateReportFiles.go
40+
go run .\Example_Management.go

HistoryVersion.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
# Release History Version
22

3+
## Feature & Enhancements in Version 25.8
4+
5+
Full list of issues covering all changes in this release:
6+
7+
|**Summary**|**Category**|
8+
| :- | :- |
9+
| Support of Authorization in Aspose.Cells Cloud Docker Container | New Feature |
10+
| New Feature: Aggregate cells by color in CalculateController. | New Feature |
11+
| New Feature: Math Calculations in CalculateController. | New Feature |
12+
| New Feature: Adding/Deleting/Renaming worksheet in ManagementController. | New Feature |
13+
| New Feature: Adding/Deleting worksheet in ManagementController. | New Feature |
14+
| New Feature: create spreadsheet in ManagementController. | New Feature |
15+
| New feature: Redesign the data import into the Spreadsheet. | New Feature |
16+
| New feature: Swap data ranges in the spreadsheet. | New Feature |
17+
| Fix the code generator of the cells cloud SDK specification for the enum query parameter. | Bug |
18+
19+
## Feature & Enhancements in Version 25.7
20+
21+
|**Summary**| **Category** |
22+
| :- |:-------------|
23+
| Optimize operate scope options for extProcessingController.| Improvement |
24+
| Add protect/unprotect spreadsheet APIs.| New Feature |
25+
| Add convert worksheet/table/range to other formats. | New Feature |
26+
27+
## Feature & Enhancements in Version 25.6
28+
29+
|**Summary**| **Category** |
30+
| :- |:-------------|
31+
| Optimize the upload file API | Improvement |
32+
| Support delete blank rows, columns, and worksheets. | New Feature |
33+
| Optimize search context for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
34+
| Optimize search broken links for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
35+
| Optimize replace context for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
36+
337
## Feature & Enhancements in Version 25.5
438

539
- Add the new API for getting the public key for encrypting the password.

README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-v25.6.0-green?style=for-the-badge&logo=go)[![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/go/) [![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-go/tree/master/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-go/blob/master/LICENSE)
1+
![](https://img.shields.io/badge/aspose.cells%20Cloud%20SDK-v25.9.0-green?style=for-the-badge&logo=go)[![Product Page](https://img.shields.io/badge/Product-0288d1?style=for-the-badge&logo=Google-Chrome&logoColor=white)](https://products.aspose.cloud/cells/go/) [![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-go/tree/master/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-go/blob/master/LICENSE)
22

33
Aspose.Cells Cloud SDK for Go empowers developers to programmatically manage Excel files with precision. This comprehensive Go library supports advanced Excel operations like cell data formatting, dynamic formulas, pivot tables, conditional styling, charts, hyperlinks, comments, and data validation. It also enables seamless Excel file conversion (XLSX, CSV, PDF, ODS), document splitting/merging, and file repair. Designed for cloud integration, this API-first solution accelerates spreadsheet automation while ensuring data integrity across platforms like AWS, Azure, and Google Cloud.
44

@@ -101,36 +101,34 @@ go run main.go
101101
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
102102
- 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.
103103

104-
## Feature & Enhancements in Version v25.6.0
104+
## Feature & Enhancements in Version v25.9.0
105105

106106
Full list of issues covering all changes in this release:
107107

108-
|**Summary**| **Category** |
109-
| :- |:-------------|
110-
| Optimize the upload file API | Improvement |
111-
| Support delete blank rows, columns, and worksheets. | New Feature |
112-
| Optimize search context for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
113-
| Optimize search broken links for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
114-
| Optimize replace context for remote spreadsheet features by splitting them into independent APIs, each dedicated to a specific operational area. | New Feature |
108+
|**Summary**|**Category**|
109+
| :- | :- |
110+
| Support trim spreadsheet content in Cells Cloud 4.0. | Improvement |
111+
| Support trim worksheet range content in Cells Cloud 4.0. | Improvement |
112+
| Fix few issues about spelling error. | Bug |
115113

116114
## Available SDKs
117115

118116
The Aspose.Cells Cloud SDK is available in multiple popular programming languages, enabling developers to integrate spreadsheet processing capabilities across various development environments.
119117

120-
[![Go](https://img.shields.io/badge/Go-00ADD8.svg?style=for-the-badge&logo=go&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go) [![Go](https://img.shields.io/badge/Go-Install%20go%20get%20package--asposecellscloud-%2300ADD8?logo=go&style=for-the-badge)](https://pkg.go.dev/github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25)
118+
[![Go](https://img.shields.io/badge/Go-00ADD8.svg?style=for-the-badge&logo=go&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go) [![Go](https://img.shields.io/badge/Go-asposecellscloud-%2300ADD8?logo=go&style=for-the-badge)](https://pkg.go.dev/github.com/aspose-cells-cloud/aspose-cells-cloud-go/v25)
121119

122-
[![Java](https://img.shields.io/badge/Java-red?logo=openjdk&style=for-the-badge&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java) [![Java](https://img.shields.io/badge/Maven-Aspose.Cells%20Cloud.pom.xml-red?logo=apache-maven&style=for-the-badge)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/Aspose.Cells.Cloud.pom.xml)
120+
[![Java](https://img.shields.io/badge/Java-red?logo=openjdk&style=for-the-badge&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java) [![Java](https://img.shields.io/badge/Maven-Aspose.Cells.Cloud.pom.xml-red?logo=apache-maven&style=for-the-badge)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/Aspose.Cells.Cloud.pom.xml)
123121

124-
[![C#](https://img.shields.io/badge/.NET-%23512BD4?style=for-the-badge&logo=dotnet&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet) [![.NET](https://img.shields.io/badge/NuGet-Install%20Aspose.Cells--Cloud-%23512BD4?logo=nuget&style=for-the-badge)](https://www.nuget.org/packages/Aspose.cells-Cloud/#readme-body-tab)
122+
[![C#](https://img.shields.io/badge/.NET-%23512BD4?style=for-the-badge&logo=dotnet&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-dotnet) [![.NET](https://img.shields.io/badge/NuGet-Aspose.Cells--Cloud-%23512BD4?logo=nuget&style=for-the-badge)](https://www.nuget.org/packages/Aspose.cells-Cloud/#readme-body-tab)
125123

126-
[![Node.js](https://img.shields.io/badge/Node.js-43853D.svg?style=for-the-badge&logo=node.js&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node) [![Node.js](https://img.shields.io/badge/npm-install%20asposecellscloud-orange?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/asposecellscloud)
124+
[![Node.js](https://img.shields.io/badge/Node.js-43853D.svg?style=for-the-badge&logo=node.js&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-node) [![Node.js](https://img.shields.io/badge/npm-asposecellscloud-orange?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/asposecellscloud)
127125

128-
[![Perl](https://img.shields.io/badge/Perl-39457E.svg?style=for-the-badge&logo=perl&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl) [![Perl](https://img.shields.io/badge/CPAN-Install%20AsposeCellsCloud--CellsApi-blue?logo=perl&style=for-the-badge)](https://metacpan.org/dist/AsposeCellsCloud-CellsApi)
126+
[![Perl](https://img.shields.io/badge/Perl-39457E.svg?style=for-the-badge&logo=perl&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl) [![Perl](https://img.shields.io/badge/CPAN-AsposeCellsCloud--CellsApi-blue?logo=perl&style=for-the-badge)](https://metacpan.org/dist/AsposeCellsCloud-CellsApi)
129127

130-
[![PHP](https://img.shields.io/badge/PHP-777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php) [![PHP](https://img.shields.io/badge/Composer-require%20aspose/cells--sdk--php-8892BF?logo=php&style=for-the-badge)](https://packagist.org/packages/aspose/cells-sdk-php)
128+
[![PHP](https://img.shields.io/badge/PHP-777BB4.svg?style=for-the-badge&logo=php&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-php) [![PHP](https://img.shields.io/badge/Composer-aspose/cells--sdk--php-8892BF?logo=php&style=for-the-badge)](https://packagist.org/packages/aspose/cells-sdk-php)
131129

132-
[![Python](https://img.shields.io/badge/Python-14354C.svg?style=for-the-badge&logo=python&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python) [![Python](https://img.shields.io/badge/pip-install%20asposecellscloud-blue?logo=pypi&style=for-the-badge)](https://pypi.org/project/asposecellscloud/)
130+
[![Python](https://img.shields.io/badge/Python-14354C.svg?style=for-the-badge&logo=python&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-python) [![Python](https://img.shields.io/badge/pip-asposecellscloud-blue?logo=pypi&style=for-the-badge)](https://pypi.org/project/asposecellscloud/)
133131

134-
[![Ruby](https://img.shields.io/badge/Ruby-CC342D.svg?style=for-the-badge&logo=ruby&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [![Ruby](https://img.shields.io/badge/Gem-install%20aspose__cells__cloud-red?logo=ruby&style=for-the-badge)](https://rubygems.org/gems/aspose_cells_cloud)
132+
[![Ruby](https://img.shields.io/badge/Ruby-CC342D.svg?style=for-the-badge&logo=ruby&logoColor=white)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [![Ruby](https://img.shields.io/badge/Gem-aspose__cells__cloud-red?logo=ruby&style=for-the-badge)](https://rubygems.org/gems/aspose_cells_cloud)
135133

136134
## [Release history version](HistoryVersion.md)
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
/** --------------------------------------------------------------------------------------------------------------------
2+
* <copyright company="Aspose" file="add_worksheet_to_spreadsheet_request.go">
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+
package asposecellscloud
27+
28+
import (
29+
"path/filepath"
30+
"net/url"
31+
"net/http"
32+
"strings"
33+
)
34+
35+
type AddWorksheetToSpreadsheetRequest struct {
36+
SheetType string `json:"sheet_type,omitempty" xml:"sheet_type"`
37+
Position int64 `json:"position,omitempty" xml:"position"`
38+
SheetName string `json:"sheet_name,omitempty" xml:"sheet_name"`
39+
OutPath string `json:"out_path,omitempty" xml:"out_path"`
40+
OutStorageName string `json:"out_storage_name,omitempty" xml:"out_storage_name"`
41+
Region string `json:"region,omitempty" xml:"region"`
42+
Password string `json:"password,omitempty" xml:"password"`
43+
44+
Spreadsheet string `json:"spreadsheet,omitempty" xml:"spreadsheet"`
45+
46+
47+
ExtendQueryParameterMap map[string]string `json:"ExtendQueryParameterMap,omitempty" xml:"ExtendQueryParameterMap"`
48+
}
49+
50+
func (data *AddWorksheetToSpreadsheetRequest) CreateRequestData( client *APIClient) (localVarRequest *http.Request, err error) {
51+
var (
52+
localVarHttpMethod = strings.ToUpper("PUT")
53+
localVarPostBody interface{}
54+
localVarFileName string
55+
localVarFileBytes []byte
56+
)
57+
58+
// create path and map variables
59+
localVarPath := client.cfg.BasePath + "/v4.0/cells/spreadsheet/add/worksheet"
60+
61+
localVarHeaderParams := make(map[string]string)
62+
localVarQueryParams := url.Values{}
63+
localVarFormParams := url.Values{}
64+
65+
// query params : sheetType
66+
if data.SheetType != "" {
67+
localVarQueryParams.Add("sheetType", parameterToString(data.SheetType, ""))
68+
}
69+
// query params : position
70+
if &data.Position != nil {
71+
localVarQueryParams.Add("position", parameterToString(data.Position, ""))
72+
}
73+
// query params : sheetName
74+
if data.SheetName != "" {
75+
localVarQueryParams.Add("sheetName", parameterToString(data.SheetName, ""))
76+
}
77+
// query params : outPath
78+
if data.OutPath != "" {
79+
localVarQueryParams.Add("outPath", parameterToString(data.OutPath, ""))
80+
}
81+
// query params : outStorageName
82+
if data.OutStorageName != "" {
83+
localVarQueryParams.Add("outStorageName", parameterToString(data.OutStorageName, ""))
84+
}
85+
// query params : region
86+
if data.Region != "" {
87+
localVarQueryParams.Add("region", parameterToString(data.Region, ""))
88+
}
89+
// query params : password
90+
if data.Password != "" {
91+
localVarQueryParams.Add("password", parameterToString(data.Password, ""))
92+
}
93+
if data.ExtendQueryParameterMap != nil {
94+
for key, value := range data.ExtendQueryParameterMap {
95+
localVarQueryParams.Add(key, parameterToString(value, ""))
96+
}
97+
}
98+
localVarHttpContentTypes := []string{"multipart/form-data"}
99+
100+
// set Content-Type header
101+
localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes)
102+
if localVarHttpContentType != "" {
103+
localVarHeaderParams["Content-Type"] = localVarHttpContentType
104+
}
105+
106+
// to determine the Accept header
107+
localVarHttpHeaderAccepts := []string{"application/json"}
108+
109+
// set Accept header
110+
localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts)
111+
if localVarHttpHeaderAccept != "" {
112+
localVarHeaderParams["Accept"] = localVarHttpHeaderAccept
113+
}
114+
115+
if strings.TrimSpace(data.Spreadsheet) != "" { localVarFormParams["@"+ filepath.Base(data.Spreadsheet)] = []string {data.Spreadsheet}}
116+
r, err := client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes)
117+
return r,err
118+
}

0 commit comments

Comments
 (0)