Skip to content

Commit d40831a

Browse files
committed
Release Aspose.Cells Cloud 25.3.
1 parent 7f6a036 commit d40831a

30 files changed

+611
-56
lines changed

HistoryVersion.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Release History Version
2+
3+
## Feature & Enhancements in Version 25.2
4+
5+
- Support copying a range from one workbook to another workbook.
6+
- Add query parameters for image and print options to enhance the Get Worksheet API.
7+
- Added an API to count the number of Excel characters for cells cloud.
8+
- Added an API to count the number of Excel words for cells cloud.
9+
- Added an API to count the number of occurrences of a specified word in Excel for cells cloud
10+
- Add a new feature to support converting range to images.
11+
- Add a new feature to support converting worksheets to images.
12+
113
## Feature & Enhancements in Version 25.1
214

315
- Add the new API for splitting text in the cell.

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-go)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go/blob/master/LICENSE)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-go)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-go/blob/master/LICENSE)
22

33
Aspose.Cells Cloud for Go enables you to handle various aspects of Excel files, including cell data, styles, formulas, charts, pivot tables, data validation, comments, drawing objects, images, hyperlinks, and so on. Additionally, it supports operations such as splitting, merging, repairing, and converting to other compatible file formats.
44

@@ -19,17 +19,15 @@ Enhance your Go applications with the [Aspose.Cells Cloud](https://products.aspo
1919
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
2020
- 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.
2121

22-
## Feature & Enhancements in Version v25.2.0
22+
## Feature & Enhancements in Version v25.3.0
2323

2424
Full list of issues covering all changes in this release:
2525

26-
- Support copying a range from one workbook to another workbook.
27-
- Add query parameters for image and print options to enhance the Get Worksheet API.
28-
- Added an API to count the number of Excel characters for cells cloud.
29-
- Added an API to count the number of Excel words for cells cloud.
30-
- Added an API to count the number of occurrences of a specified word in Excel for cells cloud
31-
- Add a new feature to support converting range to images.
32-
- Add a new feature to support converting worksheets to images.
26+
- Optimized the properties of `SaveOptions` to enhance performance and flexibility.
27+
- Optimized the conversion method of `Workbook` for improved efficiency and reliability.
28+
- Developed a new API to retrieve a comprehensive list of all styles in a workbook.
29+
- Enhanced all save options to improve functionality and user experience.
30+
- Added a new API to insert images into cells, providing enhanced document customization capabilities.
3331

3432
## Support file format
3533

api_cells.go

Lines changed: 89 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
)
3434

3535
func Version() {
36-
fmt.Println("---Version: 25.2---")
36+
fmt.Println("---Version: 25.3---")
3737
}
3838

3939
func NewCellsApiService(appSid string, appKey string, opts ...string) *CellsApiService {
@@ -3232,6 +3232,34 @@ func (a *CellsApiService) PostConvertWorksheetToImage(data *PostConvertWorksheet
32323232
}
32333233

32343234

3235+
func (a *CellsApiService) PostConvertWorkbook(data *PostConvertWorkbookRequest) ( FileInfo, *http.Response, error) {
3236+
var (
3237+
localVarReturnValue FileInfo
3238+
3239+
)
3240+
3241+
r, err := data.CreateRequestData(a.client);
3242+
if err != nil {
3243+
return localVarReturnValue, nil, err
3244+
}
3245+
3246+
localVarHttpResponse, err := a.client.callAPI(r)
3247+
if err != nil || localVarHttpResponse == nil {
3248+
return localVarReturnValue, localVarHttpResponse, err
3249+
}
3250+
defer localVarHttpResponse.Body.Close()
3251+
if localVarHttpResponse.StatusCode >= 300 {
3252+
bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body)
3253+
return localVarReturnValue, localVarHttpResponse, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes)
3254+
}
3255+
if err = json.NewDecoder(localVarHttpResponse.Body).Decode(&localVarReturnValue); err != nil {
3256+
return localVarReturnValue, localVarHttpResponse, err
3257+
}
3258+
3259+
return localVarReturnValue, localVarHttpResponse, err
3260+
}
3261+
3262+
32353263
func (a *CellsApiService) PostExport(data *PostExportRequest) ( FilesResult, *http.Response, error) {
32363264
var (
32373265
localVarReturnValue FilesResult
@@ -5338,6 +5366,34 @@ func (a *CellsApiService) PutWorksheetAddPicture(data *PutWorksheetAddPictureReq
53385366
}
53395367

53405368

5369+
func (a *CellsApiService) AddPictureInCell(data *AddPictureInCellRequest) ( CellsCloudResponse, *http.Response, error) {
5370+
var (
5371+
localVarReturnValue CellsCloudResponse
5372+
5373+
)
5374+
5375+
r, err := data.CreateRequestData(a.client);
5376+
if err != nil {
5377+
return localVarReturnValue, nil, err
5378+
}
5379+
5380+
localVarHttpResponse, err := a.client.callAPI(r)
5381+
if err != nil || localVarHttpResponse == nil {
5382+
return localVarReturnValue, localVarHttpResponse, err
5383+
}
5384+
defer localVarHttpResponse.Body.Close()
5385+
if localVarHttpResponse.StatusCode >= 300 {
5386+
bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body)
5387+
return localVarReturnValue, localVarHttpResponse, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes)
5388+
}
5389+
if err = json.NewDecoder(localVarHttpResponse.Body).Decode(&localVarReturnValue); err != nil {
5390+
return localVarReturnValue, localVarHttpResponse, err
5391+
}
5392+
5393+
return localVarReturnValue, localVarHttpResponse, err
5394+
}
5395+
5396+
53415397
func (a *CellsApiService) PostWorksheetPicture(data *PostWorksheetPictureRequest) ( CellsCloudResponse, *http.Response, error) {
53425398
var (
53435399
localVarReturnValue CellsCloudResponse
@@ -6738,9 +6794,9 @@ func (a *CellsApiService) PostWorksheetCellsRangeRowHeight(data *PostWorksheetCe
67386794
}
67396795

67406796

6741-
func (a *CellsApiService) PostWorksheetCellsRangeToImage(data *PostWorksheetCellsRangeToImageRequest) ( CellsCloudResponse, *http.Response, error) {
6797+
func (a *CellsApiService) PostWorksheetCellsRangeToImage(data *PostWorksheetCellsRangeToImageRequest) ( []byte, *http.Response, error) {
67426798
var (
6743-
localVarReturnValue CellsCloudResponse
6799+
localVarReturnValue []byte
67446800

67456801
)
67466802

@@ -6758,7 +6814,8 @@ func (a *CellsApiService) PostWorksheetCellsRangeToImage(data *PostWorksheetCell
67586814
bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body)
67596815
return localVarReturnValue, localVarHttpResponse, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes)
67606816
}
6761-
if err = json.NewDecoder(localVarHttpResponse.Body).Decode(&localVarReturnValue); err != nil {
6817+
6818+
if localVarReturnValue, err = ioutil.ReadAll(localVarHttpResponse.Body); err != nil {
67626819
return localVarReturnValue, localVarHttpResponse, err
67636820
}
67646821

@@ -8227,6 +8284,34 @@ func (a *CellsApiService) GetPageCount(data *GetPageCountRequest) ( *int64, *h
82278284
}
82288285

82298286

8287+
func (a *CellsApiService) GetAllStyles(data *GetAllStylesRequest) ( StylesResponse, *http.Response, error) {
8288+
var (
8289+
localVarReturnValue StylesResponse
8290+
8291+
)
8292+
8293+
r, err := data.CreateRequestData(a.client);
8294+
if err != nil {
8295+
return localVarReturnValue, nil, err
8296+
}
8297+
8298+
localVarHttpResponse, err := a.client.callAPI(r)
8299+
if err != nil || localVarHttpResponse == nil {
8300+
return localVarReturnValue, localVarHttpResponse, err
8301+
}
8302+
defer localVarHttpResponse.Body.Close()
8303+
if localVarHttpResponse.StatusCode >= 300 {
8304+
bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body)
8305+
return localVarReturnValue, localVarHttpResponse, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes)
8306+
}
8307+
if err = json.NewDecoder(localVarHttpResponse.Body).Decode(&localVarReturnValue); err != nil {
8308+
return localVarReturnValue, localVarHttpResponse, err
8309+
}
8310+
8311+
return localVarReturnValue, localVarHttpResponse, err
8312+
}
8313+
8314+
82308315
func (a *CellsApiService) GetWorksheets(data *GetWorksheetsRequest) ( WorksheetsResponse, *http.Response, error) {
82318316
var (
82328317
localVarReturnValue WorksheetsResponse

model_spreadsheet_m_l2003_save_options.go renamed to model_convert_workbook_options.go

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/** --------------------------------------------------------------------------------------------------------------------
2-
* <copyright company="Aspose" file="SpreadsheetML2003SaveOptions.go">
2+
* <copyright company="Aspose" file="ConvertWorkbookOptions.go">
33
* Copyright (c) 2025 Aspose.Cells Cloud
44
* </copyright>
55
* <summary>
@@ -25,18 +25,14 @@
2525

2626
package asposecellscloud
2727

28-
type SpreadsheetML2003SaveOptions struct {
28+
type ConvertWorkbookOptions struct {
2929

30-
SaveFormat string `json:"SaveFormat,omitempty" xml:"SaveFormat"`
31-
CachedFileFolder string `json:"CachedFileFolder,omitempty" xml:"CachedFileFolder"`
32-
ClearData bool `json:"ClearData,omitempty" xml:"ClearData"`
33-
CreateDirectory bool `json:"CreateDirectory,omitempty" xml:"CreateDirectory"`
34-
EnableHTTPCompression bool `json:"EnableHTTPCompression,omitempty" xml:"EnableHTTPCompression"`
35-
RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"`
36-
SortNames bool `json:"SortNames,omitempty" xml:"SortNames"`
37-
ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"`
30+
Name string `json:"Name,omitempty" xml:"Name"`
3831

39-
ExportColumnIndexOfCell bool `json:"ExportColumnIndexOfCell,omitempty" xml:"ExportColumnIndexOfCell"`
40-
IsIndentedFormatting bool `json:"IsIndentedFormatting,omitempty" xml:"IsIndentedFormatting"`
41-
LimitAsXls bool `json:"LimitAsXls,omitempty" xml:"LimitAsXls"`
32+
DataSource *DataSource `json:"DataSource,omitempty" xml:"DataSource"`
33+
FileInfo *FileInfo `json:"FileInfo,omitempty" xml:"FileInfo"`
34+
PageSetup *PageSetup `json:"PageSetup,omitempty" xml:"PageSetup"`
35+
SaveOptions *SaveOptions `json:"SaveOptions,omitempty" xml:"SaveOptions"`
36+
ConvertFormat string `json:"ConvertFormat,omitempty" xml:"ConvertFormat"`
37+
CheckExcelRestriction bool `json:"CheckExcelRestriction,omitempty" xml:"CheckExcelRestriction"`
4238
}

model_dif_save_options.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,10 @@ type DifSaveOptions struct {
3535
RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"`
3636
SortNames bool `json:"SortNames,omitempty" xml:"SortNames"`
3737
ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"`
38+
MergeAreas bool `json:"MergeAreas,omitempty" xml:"MergeAreas"`
39+
SortExternalNames bool `json:"SortExternalNames,omitempty" xml:"SortExternalNames"`
40+
CheckExcelRestriction bool `json:"CheckExcelRestriction,omitempty" xml:"CheckExcelRestriction"`
41+
UpdateSmartArt bool `json:"UpdateSmartArt,omitempty" xml:"UpdateSmartArt"`
42+
EncryptDocumentProperties bool `json:"EncryptDocumentProperties,omitempty" xml:"EncryptDocumentProperties"`
3843

3944
}

model_docx_save_options.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,5 @@ type DocxSaveOptions struct {
4242
TextCrossType string `json:"TextCrossType,omitempty" xml:"TextCrossType"`
4343
DefaultEditLanguage string `json:"DefaultEditLanguage,omitempty" xml:"DefaultEditLanguage"`
4444
EmfRenderSetting string `json:"EmfRenderSetting,omitempty" xml:"EmfRenderSetting"`
45-
MergeAreas bool `json:"MergeAreas,omitempty" xml:"MergeAreas"`
46-
SortExternalNames bool `json:"SortExternalNames,omitempty" xml:"SortExternalNames"`
47-
UpdateSmartArt bool `json:"UpdateSmartArt,omitempty" xml:"UpdateSmartArt"`
4845

4946
}

model_html_save_options.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ type HtmlSaveOptions struct {
3535
RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"`
3636
SortNames bool `json:"SortNames,omitempty" xml:"SortNames"`
3737
ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"`
38+
MergeAreas bool `json:"MergeAreas,omitempty" xml:"MergeAreas"`
39+
SortExternalNames bool `json:"SortExternalNames,omitempty" xml:"SortExternalNames"`
40+
CheckExcelRestriction bool `json:"CheckExcelRestriction,omitempty" xml:"CheckExcelRestriction"`
41+
UpdateSmartArt bool `json:"UpdateSmartArt,omitempty" xml:"UpdateSmartArt"`
42+
EncryptDocumentProperties bool `json:"EncryptDocumentProperties,omitempty" xml:"EncryptDocumentProperties"`
3843

3944
ExportPageHeaders bool `json:"ExportPageHeaders,omitempty" xml:"ExportPageHeaders"`
4045
ExportPageFooters bool `json:"ExportPageFooters,omitempty" xml:"ExportPageFooters"`

model_image_save_options.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ type ImageSaveOptions struct {
3535
RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"`
3636
SortNames bool `json:"SortNames,omitempty" xml:"SortNames"`
3737
ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"`
38+
MergeAreas bool `json:"MergeAreas,omitempty" xml:"MergeAreas"`
39+
SortExternalNames bool `json:"SortExternalNames,omitempty" xml:"SortExternalNames"`
40+
CheckExcelRestriction bool `json:"CheckExcelRestriction,omitempty" xml:"CheckExcelRestriction"`
41+
UpdateSmartArt bool `json:"UpdateSmartArt,omitempty" xml:"UpdateSmartArt"`
42+
EncryptDocumentProperties bool `json:"EncryptDocumentProperties,omitempty" xml:"EncryptDocumentProperties"`
3843

3944
ChartImageType string `json:"ChartImageType,omitempty" xml:"ChartImageType"`
4045
EmbededImageNameInSvg string `json:"EmbededImageNameInSvg,omitempty" xml:"EmbededImageNameInSvg"`

model_json_save_options.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ type JsonSaveOptions struct {
3535
RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"`
3636
SortNames bool `json:"SortNames,omitempty" xml:"SortNames"`
3737
ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"`
38+
MergeAreas bool `json:"MergeAreas,omitempty" xml:"MergeAreas"`
39+
SortExternalNames bool `json:"SortExternalNames,omitempty" xml:"SortExternalNames"`
40+
CheckExcelRestriction bool `json:"CheckExcelRestriction,omitempty" xml:"CheckExcelRestriction"`
41+
UpdateSmartArt bool `json:"UpdateSmartArt,omitempty" xml:"UpdateSmartArt"`
42+
EncryptDocumentProperties bool `json:"EncryptDocumentProperties,omitempty" xml:"EncryptDocumentProperties"`
3843

3944
ExportArea *CellArea `json:"ExportArea,omitempty" xml:"ExportArea"`
4045
HasHeaderRow bool `json:"HasHeaderRow,omitempty" xml:"HasHeaderRow"`

model_m_html_save_options.go

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,38 @@ type MHtmlSaveOptions struct {
3535
RefreshChartCache bool `json:"RefreshChartCache,omitempty" xml:"RefreshChartCache"`
3636
SortNames bool `json:"SortNames,omitempty" xml:"SortNames"`
3737
ValidateMergedAreas bool `json:"ValidateMergedAreas,omitempty" xml:"ValidateMergedAreas"`
38+
MergeAreas bool `json:"MergeAreas,omitempty" xml:"MergeAreas"`
39+
SortExternalNames bool `json:"SortExternalNames,omitempty" xml:"SortExternalNames"`
40+
CheckExcelRestriction bool `json:"CheckExcelRestriction,omitempty" xml:"CheckExcelRestriction"`
41+
UpdateSmartArt bool `json:"UpdateSmartArt,omitempty" xml:"UpdateSmartArt"`
42+
EncryptDocumentProperties bool `json:"EncryptDocumentProperties,omitempty" xml:"EncryptDocumentProperties"`
3843

44+
ExportPageHeaders bool `json:"ExportPageHeaders,omitempty" xml:"ExportPageHeaders"`
45+
ExportPageFooters bool `json:"ExportPageFooters,omitempty" xml:"ExportPageFooters"`
46+
ExportRowColumnHeadings bool `json:"ExportRowColumnHeadings,omitempty" xml:"ExportRowColumnHeadings"`
47+
ShowAllSheets bool `json:"ShowAllSheets,omitempty" xml:"ShowAllSheets"`
48+
ImageOptions *ImageOrPrintOptions `json:"ImageOptions,omitempty" xml:"ImageOptions"`
49+
SaveAsSingleFile bool `json:"SaveAsSingleFile,omitempty" xml:"SaveAsSingleFile"`
50+
ExportHiddenWorksheet bool `json:"ExportHiddenWorksheet,omitempty" xml:"ExportHiddenWorksheet"`
51+
ExportGridLines bool `json:"ExportGridLines,omitempty" xml:"ExportGridLines"`
52+
PresentationPreference bool `json:"PresentationPreference,omitempty" xml:"PresentationPreference"`
53+
CellCssPrefix string `json:"CellCssPrefix,omitempty" xml:"CellCssPrefix"`
54+
TableCssId string `json:"TableCssId,omitempty" xml:"TableCssId"`
55+
IsFullPathLink bool `json:"IsFullPathLink,omitempty" xml:"IsFullPathLink"`
56+
ExportWorksheetCSSSeparately bool `json:"ExportWorksheetCSSSeparately,omitempty" xml:"ExportWorksheetCSSSeparately"`
57+
ExportSimilarBorderStyle bool `json:"ExportSimilarBorderStyle,omitempty" xml:"ExportSimilarBorderStyle"`
58+
MergeEmptyTdForcely bool `json:"MergeEmptyTdForcely,omitempty" xml:"MergeEmptyTdForcely"`
59+
ExportCellCoordinate bool `json:"ExportCellCoordinate,omitempty" xml:"ExportCellCoordinate"`
60+
ExportExtraHeadings bool `json:"ExportExtraHeadings,omitempty" xml:"ExportExtraHeadings"`
61+
ExportHeadings bool `json:"ExportHeadings,omitempty" xml:"ExportHeadings"`
62+
ExportFormula bool `json:"ExportFormula,omitempty" xml:"ExportFormula"`
63+
AddTooltipText bool `json:"AddTooltipText,omitempty" xml:"AddTooltipText"`
64+
ExportBogusRowData bool `json:"ExportBogusRowData,omitempty" xml:"ExportBogusRowData"`
65+
ExcludeUnusedStyles bool `json:"ExcludeUnusedStyles,omitempty" xml:"ExcludeUnusedStyles"`
66+
ExportDocumentProperties bool `json:"ExportDocumentProperties,omitempty" xml:"ExportDocumentProperties"`
67+
ExportWorksheetProperties bool `json:"ExportWorksheetProperties,omitempty" xml:"ExportWorksheetProperties"`
68+
ExportWorkbookProperties bool `json:"ExportWorkbookProperties,omitempty" xml:"ExportWorkbookProperties"`
69+
ExportFrameScriptsAndProperties bool `json:"ExportFrameScriptsAndProperties,omitempty" xml:"ExportFrameScriptsAndProperties"`
3970
AttachedFilesDirectory string `json:"AttachedFilesDirectory,omitempty" xml:"AttachedFilesDirectory"`
4071
AttachedFilesUrlPrefix string `json:"AttachedFilesUrlPrefix,omitempty" xml:"AttachedFilesUrlPrefix"`
4172
Encoding string `json:"Encoding,omitempty" xml:"Encoding"`
@@ -48,4 +79,5 @@ type MHtmlSaveOptions struct {
4879
IsExpImageToTempDir bool `json:"IsExpImageToTempDir,omitempty" xml:"IsExpImageToTempDir"`
4980
PageTitle string `json:"PageTitle,omitempty" xml:"PageTitle"`
5081
ParseHtmlTagInCell bool `json:"ParseHtmlTagInCell,omitempty" xml:"ParseHtmlTagInCell"`
82+
CellNameAttribute string `json:"CellNameAttribute,omitempty" xml:"CellNameAttribute"`
5183
}

0 commit comments

Comments
 (0)