Skip to content

Commit a4f60e0

Browse files
committed
Release Aspose.Cells Cloud SDK 24.7.0
1 parent 0bc1411 commit a4f60e0

15 files changed

+729
-7
lines changed

README.md

Lines changed: 9 additions & 4 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.6)
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.7)
22

33
# Java package for Aspose.Cells Cloud
44

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

20-
## Feature & Enhancements in Version 24.6
20+
## Feature & Enhancements in Version 24.7
2121

2222
Full list of issues covering all changes in this release:
2323

24-
- Optimize the data conversion applied steps.
25-
- Optimize load data function of data transformation.
24+
- Add a new feature about adding text content.
25+
- Add get access token by client id and client secret.
2626

2727
## Support file format
2828

@@ -111,6 +111,11 @@ File response = cellsApi.putConvertWorkbook(request);
111111

112112
# Release history version
113113

114+
## Enhancements in Version 24.6
115+
116+
- Optimize the data conversion applied steps.
117+
- Optimize load data function of data transformation.
118+
114119
## Enhancements in Version 24.5
115120

116121
- Add merge queries method for loading data of data transformation.

docs/api/get-workbook-default-style.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# **getWorkbookDefaultStyle API**
22

3-
Retrieve the description of the default style for the workbook.
3+
Retrieve the description of the default style for the workbook .
44

55
```bash
66

docs/api/post-access-token.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# **postAccessToken API**
2+
3+
Get Access Token Result
4+
5+
```bash
6+
7+
POST http://api.aspose.cloud/v3.0//cells/connect/token
8+
9+
```
10+
11+
## The request parameters of **postAccessToken** API are:
12+
13+
| Parameter Name | Type | Path/Query String/HTTPBody | Description |
14+
| :- | :- | :- |:- |
15+
16+
17+
The [OpenAPI Specification](https://reference.aspose.cloud/cells/#/CellsAuthorityController/PostAccessToken) defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.

docs/api/post-add-text-content.md

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

docs/model/add-text-options.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# **addTextOptions**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|Name|String|true|false | ||
10+
|DataSource|Class|true|false | ||
11+
|FileInfo|Class|true|false | ||
12+
|Text|String|true|false | ||
13+
|Worksheet|String|true|false | ||
14+
|Range|String|true|false | ||
15+
|SelectPoistion|String|true|false | ||
16+
|SelectText|String|true|false | ||
17+
|SkipEmptyCells|Boolean|true|false | ||
18+

docs/model/base-operate-options.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# **baseOperateOptions**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
|Name|String|true|false | ||
10+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# **searchScopeOptionsType**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# **selectPositionOptionsType**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>aspose-cells-cloud</artifactId>
66
<packaging>jar</packaging>
77
<name>aspose-cells-cloud</name>
8-
<version>24.6</version>
8+
<version>24.7</version>
99
<url>https://github.com/aspose-cells-cloud/aspose-cells-cloud-java</url>
1010
<scm>
1111
<connection>scm:git:git@github.com:aspose-cells-cloud/aspose-cells-cloud-java</connection>

src/main/java/com/aspose/cloud/cells/api/CellsApi.java

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,6 +1204,60 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
12041204
}
12051205

12061206

1207+
@SuppressWarnings("rawtypes")
1208+
private com.squareup.okhttp.Call postAccessTokenValidateBeforeCall(PostAccessTokenRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
1209+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
1210+
}
1211+
1212+
public String postAccessToken(PostAccessTokenRequest request) throws ApiException, IOException {
1213+
try {
1214+
ApiResponse< String > resp = postAccessTokenWithHttpInfo(request);
1215+
return resp.getData();
1216+
}
1217+
catch (ApiException ex) {
1218+
if (ex.getCode() == apiClient.getNotAuthCode()) {
1219+
apiClient.requestToken();
1220+
ApiResponse< String > resp = postAccessTokenWithHttpInfo(request);
1221+
return resp.getData();
1222+
}
1223+
throw ex;
1224+
}
1225+
}
1226+
1227+
private ApiResponse< String > postAccessTokenWithHttpInfo(PostAccessTokenRequest request) throws ApiException, IOException {
1228+
com.squareup.okhttp.Call call = postAccessTokenValidateBeforeCall(request, null, null);
1229+
Type localVarReturnType = new TypeToken< String >(){}.getType();
1230+
return apiClient.execute(call, localVarReturnType);
1231+
}
1232+
1233+
public com.squareup.okhttp.Call postAccessTokenAsync( PostAccessTokenRequest request, final ApiCallback< String > callback) throws ApiException, IOException {
1234+
1235+
ProgressResponseBody.ProgressListener progressListener = null;
1236+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
1237+
1238+
if (callback != null) {
1239+
progressListener = new ProgressResponseBody.ProgressListener() {
1240+
@Override
1241+
public void update(long bytesRead, long contentLength, boolean done) {
1242+
callback.onDownloadProgress(bytesRead, contentLength, done);
1243+
}
1244+
};
1245+
1246+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
1247+
@Override
1248+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
1249+
callback.onUploadProgress(bytesWritten, contentLength, done);
1250+
}
1251+
};
1252+
}
1253+
1254+
com.squareup.okhttp.Call call = postAccessTokenValidateBeforeCall(request, progressListener, progressRequestListener);
1255+
Type localVarReturnType = new TypeToken< String >(){}.getType();
1256+
apiClient.executeAsync(call, localVarReturnType, callback);
1257+
return call;
1258+
}
1259+
1260+
12071261
@SuppressWarnings("rawtypes")
12081262
private com.squareup.okhttp.Call postClearContentsValidateBeforeCall(PostClearContentsRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
12091263
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
@@ -13732,6 +13786,60 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
1373213786
}
1373313787

1373413788

13789+
@SuppressWarnings("rawtypes")
13790+
private com.squareup.okhttp.Call postAddTextContentValidateBeforeCall(PostAddTextContentRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
13791+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
13792+
}
13793+
13794+
public FileInfo postAddTextContent(PostAddTextContentRequest request) throws ApiException, IOException {
13795+
try {
13796+
ApiResponse< FileInfo > resp = postAddTextContentWithHttpInfo(request);
13797+
return resp.getData();
13798+
}
13799+
catch (ApiException ex) {
13800+
if (ex.getCode() == apiClient.getNotAuthCode()) {
13801+
apiClient.requestToken();
13802+
ApiResponse< FileInfo > resp = postAddTextContentWithHttpInfo(request);
13803+
return resp.getData();
13804+
}
13805+
throw ex;
13806+
}
13807+
}
13808+
13809+
private ApiResponse< FileInfo > postAddTextContentWithHttpInfo(PostAddTextContentRequest request) throws ApiException, IOException {
13810+
com.squareup.okhttp.Call call = postAddTextContentValidateBeforeCall(request, null, null);
13811+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
13812+
return apiClient.execute(call, localVarReturnType);
13813+
}
13814+
13815+
public com.squareup.okhttp.Call postAddTextContentAsync( PostAddTextContentRequest request, final ApiCallback< FileInfo > callback) throws ApiException, IOException {
13816+
13817+
ProgressResponseBody.ProgressListener progressListener = null;
13818+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
13819+
13820+
if (callback != null) {
13821+
progressListener = new ProgressResponseBody.ProgressListener() {
13822+
@Override
13823+
public void update(long bytesRead, long contentLength, boolean done) {
13824+
callback.onDownloadProgress(bytesRead, contentLength, done);
13825+
}
13826+
};
13827+
13828+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
13829+
@Override
13830+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
13831+
callback.onUploadProgress(bytesWritten, contentLength, done);
13832+
}
13833+
};
13834+
}
13835+
13836+
com.squareup.okhttp.Call call = postAddTextContentValidateBeforeCall(request, progressListener, progressRequestListener);
13837+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
13838+
apiClient.executeAsync(call, localVarReturnType, callback);
13839+
return call;
13840+
}
13841+
13842+
1373513843
@SuppressWarnings("rawtypes")
1373613844
private com.squareup.okhttp.Call getWorkbookDefaultStyleValidateBeforeCall(GetWorkbookDefaultStyleRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
1373713845
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);

0 commit comments

Comments
 (0)