Skip to content

Commit 362c6b3

Browse files
committed
Release Aspose.Cells Cloud SDK 24.2.1
1 parent 365022d commit 362c6b3

File tree

75 files changed

+2653
-113
lines changed

Some content is hidden

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

75 files changed

+2653
-113
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
package com.aspose.cloud.cells.api;
2+
3+
import com.aspose.cloud.cells.client.*;
4+
import com.aspose.cloud.cells.model.*;
5+
import com.aspose.cloud.cells.request.*;
6+
7+
import org.junit.Test;
8+
import java.util.ArrayList;
9+
import java.util.List;
10+
import java.io.File;
11+
import java.util.HashMap;
12+
13+
public class ExamplePostFitTallToPages {
14+
private CellsApi api;
15+
public ExamplePostFitTallToPages(){
16+
try {
17+
api = new CellsApi(
18+
System.getenv("CellsCloudClientId"),
19+
System.getenv("CellsCloudClientSecret"),
20+
"v3.0",
21+
System.getenv("CellsCloudApiBaseUrl")
22+
);
23+
} catch (ApiException e) {
24+
e.printStackTrace();
25+
}
26+
}
27+
28+
public void Run(){
29+
try{
30+
String remoteFolder = "TestData/In";
31+
32+
String localName = "Book1.xlsx";
33+
String remoteName = "Book1.xlsx";
34+
35+
UploadFileRequest uploadFileRequest = new UploadFileRequest();
36+
uploadFileRequest.setPath( remoteFolder + "/" + remoteName );
37+
uploadFileRequest.setStorageName( "");
38+
HashMap<String,File> files = new HashMap<String,File>();
39+
files.put( localName , new File(localName ));
40+
uploadFileRequest.setUploadFiles(files);
41+
cellsApi.uploadFile(uploadFileRequest);
42+
43+
PostFitTallToPagesRequest request = new PostFitTallToPagesRequest();
44+
request.setName(remoteName);
45+
46+
request.setSheetName("Sheet1");
47+
48+
request.setFolder(remoteFolder);
49+
50+
request.setStorageName("");
51+
52+
this.api.postFitTallToPages(request);
53+
54+
} catch (ApiException e) {
55+
// TODO Auto-generated catch block
56+
e.printStackTrace();
57+
}
58+
}
59+
}
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
package com.aspose.cloud.cells.api;
2+
3+
import com.aspose.cloud.cells.client.*;
4+
import com.aspose.cloud.cells.model.*;
5+
import com.aspose.cloud.cells.request.*;
6+
7+
import org.junit.Test;
8+
import java.util.ArrayList;
9+
import java.util.List;
10+
import java.io.File;
11+
import java.util.HashMap;
12+
13+
public class ExamplePostFitWideToPages {
14+
private CellsApi api;
15+
public ExamplePostFitWideToPages(){
16+
try {
17+
api = new CellsApi(
18+
System.getenv("CellsCloudClientId"),
19+
System.getenv("CellsCloudClientSecret"),
20+
"v3.0",
21+
System.getenv("CellsCloudApiBaseUrl")
22+
);
23+
} catch (ApiException e) {
24+
e.printStackTrace();
25+
}
26+
}
27+
28+
public void Run(){
29+
try{
30+
String remoteFolder = "TestData/In";
31+
32+
String localName = "Book1.xlsx";
33+
String remoteName = "Book1.xlsx";
34+
35+
UploadFileRequest uploadFileRequest = new UploadFileRequest();
36+
uploadFileRequest.setPath( remoteFolder + "/" + remoteName );
37+
uploadFileRequest.setStorageName( "");
38+
HashMap<String,File> files = new HashMap<String,File>();
39+
files.put( localName , new File(localName ));
40+
uploadFileRequest.setUploadFiles(files);
41+
cellsApi.uploadFile(uploadFileRequest);
42+
43+
PostFitWideToPagesRequest request = new PostFitWideToPagesRequest();
44+
request.setName(remoteName);
45+
46+
request.setSheetName("Sheet1");
47+
48+
request.setFolder(remoteFolder);
49+
50+
request.setStorageName("");
51+
52+
this.api.postFitWideToPages(request);
53+
54+
} catch (ApiException e) {
55+
// TODO Auto-generated catch block
56+
e.printStackTrace();
57+
}
58+
}
59+
}

README.md

Lines changed: 3 additions & 6 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-java)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-java/24.1.1)
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-java)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-java/24.2.1)
22

33
# Java SDK for Spreadsheet Processing in the Cloud
44

@@ -24,14 +24,11 @@ This Cloud SDK enhances your Java-based cloud apps to [process & manipulate Micr
2424
- Fetch the required shape from worksheet.
2525
- Leverage the power of [Pivot Tables](https://docs.aspose.cloud/cells/working-with-pivot-tables/) & Ranges.
2626

27-
## Feature & Enhancements in Version 24.1.1
27+
## Feature & Enhancements in Version 24.2.1
2828

2929
Full list of issues covering all changes in this release:
3030

31-
- Fixed spelling mistakes for several functions.
32-
- Add the PostFitTallToPages method for page setup controller.
33-
- Add the PostFitWideToPages method for page setup controller.
34-
- Optimize save options about paginated.
31+
- Add the analyze excel api for analyze controller.
3532

3633
## Read & Write Spreadsheet Formats
3734

docs/api/delete-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/metadata/delete
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|Cells document property name.|
15+
|File|File|FormData|File to upload|
1616
|type|String|Query|Cells document property name.|
1717
|outFormat|String|Query|The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|
1818
|password|String|Query|The password needed to open an Excel file.|

docs/api/get-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/metadata/get
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|Cells document property name.|
15+
|File|File|FormData|File to upload|
1616
|type|String|Query|Cells document property name.|
1717
|password|String|Query|The password needed to open an Excel file.|
1818
|checkExcelRestriction|Boolean|Query|Whether check restriction of excel file when user modify cells related objects.|

docs/api/get-worksheet-columns.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ GET http://api.aspose.cloud/v3.0//cells/{name}/worksheets/{sheetName}/cells/colu
1414
| :- | :- | :- |:- |
1515
|name|String|Path|The file name.|
1616
|sheetName|String|Path|The worksheet name.|
17-
|offset|Integer|Query|The folder where the file is situated.|
18-
|count|Integer|Query|The storage name where the file is situated.|
19-
|folder|String|Query|The workdook folder.|
20-
|storageName|String|Query||
17+
|offset|Integer|Query|The workdook folder.|
18+
|count|Integer|Query||
19+
|folder|String|Query|The folder where the file is situated.|
20+
|storageName|String|Query|The storage name where the file is situated.|
2121

2222

2323
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/CellsController/GetWorksheetColumns) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/post-analyze-excel.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# **postAnalyzeExcel API**
2+
3+
Perform business analysis of data in Excel files.
4+
5+
```bash
6+
7+
POST http://api.aspose.cloud/v3.0//cells/analyze
8+
9+
```
10+
11+
## The request parameters of **postAnalyzeExcel** API are:
12+
13+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
14+
| :- | :- | :- |:- |
15+
|analyzeExcelRequest|Class|Body|Excel files and analysis output requirements|
16+
17+
18+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/AnalyseController/PostAnalyzeExcel) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/post-assemble.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/assemble
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|The format to convert(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|
15+
|File|File|FormData|File to upload|
1616
|datasource|String|Query||
1717
|outFormat|String|Query|The format to convert(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|
1818
|password|String|Query|The password needed to open an Excel file.|

docs/api/post-clear-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/clearobjects
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|chart/comment/picture/shape/listobject/hyperlink/oleobject/pivottable/validation/Background|
15+
|File|File|FormData|File to upload|
1616
|objecttype|String|Query|chart/comment/picture/shape/listobject/hyperlink/oleobject/pivottable/validation/Background|
1717
|sheetname|String|Query|The worksheet name, specify the scope of the deletion.|
1818
|outFormat|String|Query|The output data file format.(CSV/XLS/HTML/MHTML/ODS/PDF/XML/TXT/TIFF/XLSB/XLSM/XLSX/XLTM/XLTX/XPS/PNG/JPG/JPEG/GIF/EMF/BMP/MD[Markdown]/Numbers)|

docs/api/post-compress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ POST http://api.aspose.cloud/v3.0//cells/compress
1212

1313
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
1414
| :- | :- | :- |:- |
15-
|File|File|FormData|Compress level. The compression ratio 1-100.|
15+
|File|File|FormData|File to upload|
1616
|CompressLevel|Integer|Query|Compress level. The compression ratio 1-100.|
1717
|password|String|Query|The password needed to open an Excel file.|
1818
|checkExcelRestriction|Boolean|Query|Whether check restriction of excel file when user modify cells related objects.|

0 commit comments

Comments
 (0)