Skip to content

Commit 5a8d54f

Browse files
committed
Release Aspose.Cells Cloud SDK 24.12.0
1 parent 954b0a9 commit 5a8d54f

28 files changed

+949
-48
lines changed

README.md

Lines changed: 8 additions & 3 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.11.0)
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.12.0)
22

33
# Java package for Aspose.Cells Cloud
44

@@ -17,11 +17,13 @@ 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.11
20+
## Feature & Enhancements in Version 24.12
2121

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

24-
- Add convert text feature on TextProcessingController.
24+
- Add the new remove duplicates api.
25+
- Add the new extract text API.
26+
- The pivot filter could not be created successfully.
2527

2628
## Support file format
2729

@@ -110,6 +112,9 @@ File response = cellsApi.putConvertWorkbook(request);
110112

111113
# Release history version
112114

115+
## Enhancements in Version 24.11
116+
117+
- Add convert text feature on TextProcessingController.
113118

114119
## Enhancements in Version 24.10
115120

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

docs/api/post-extract-text.md

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

docs/api/post-remove-duplicates.md

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

docs/model/extract-text-options.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# **extractTextOptions**
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+
|Worksheet|String|true|false | ||
13+
|Range|String|true|false | ||
14+
|ExtractTextType|String|true|false | ||
15+
|BeforeText|String|true|false | ||
16+
|AfterText|String|true|false | ||
17+
|BeforePosition|Integer|true|false | ||
18+
|AfterPosition|Integer|true|false | ||
19+
|OutPositionRange|String|true|false | ||
20+

docs/model/extract-text-type.md

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

docs/model/pivot-filter.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ Represents a PivotFilter in PivotFilter Collection.
1010
|EvaluationOrder|Integer|true|false | |Gets the Evaluation Order of the pivot filter.|
1111
|FieldIndex|Integer|true|false | |Gets the field index of the pivot filter.|
1212
|FilterType|String|true|false | |Gets the autofilter type of the pivot filter.|
13-
|MeasureFldIndex|Integer|true|false | |Gets the measure field index of the pivot filter. |
13+
|ValueFieldIndex|Integer|true|false | |Gets the measure field index of the pivot filter. |
1414
|MemberPropertyFieldIndex|Integer|true|false | |Gets the member property field index of the pivot filter. |
1515
|Name|String|true|false | |Gets the name of the pivot filter.|
1616
|Value1|String|true|false | |Gets the string value1 of the label pivot filter. |
1717
|Value2|String|true|false | |Gets the string value2 of the label pivot filter. |
18+
|Top10Filter|Class|true|false | ||
1819

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# **removeDuplicatesAreaType**
2+
3+
4+
5+
## **Properties**
6+
7+
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
8+
| :- | :- | :- |:- | :- | :- |
9+
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# **removeDuplicatesOptions**
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+
|Worksheet|String|true|false | ||
13+
|RemoveDuplicatesArea|String|true|false | ||
14+
|RemoveDuplicatesAreaValue|String|true|false | ||
15+

docs/model/top10-filter.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
| Property Name | Property Type | Nullable | ReadOnly | DefaultValue | Description |
88
| :- | :- | :- |:- | :- | :- |
9+
|FieldIndex|Integer|true|false | ||
910
|Criteria|String|true|false | | |
1011
|IsPercent|Boolean|true|false | |Indicates whether the items is percent. |
1112
|IsTop|Boolean|true|false | |Indicates whether it's top filter. |

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.11</version>
8+
<version>24.12</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
@@ -14056,6 +14056,114 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
1405614056
}
1405714057

1405814058

14059+
@SuppressWarnings("rawtypes")
14060+
private com.squareup.okhttp.Call postRemoveDuplicatesValidateBeforeCall(PostRemoveDuplicatesRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
14061+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
14062+
}
14063+
14064+
public FileInfo postRemoveDuplicates(PostRemoveDuplicatesRequest request) throws ApiException, IOException {
14065+
try {
14066+
ApiResponse< FileInfo > resp = postRemoveDuplicatesWithHttpInfo(request);
14067+
return resp.getData();
14068+
}
14069+
catch (ApiException ex) {
14070+
if (ex.getCode() == apiClient.getNotAuthCode()) {
14071+
apiClient.requestToken();
14072+
ApiResponse< FileInfo > resp = postRemoveDuplicatesWithHttpInfo(request);
14073+
return resp.getData();
14074+
}
14075+
throw ex;
14076+
}
14077+
}
14078+
14079+
private ApiResponse< FileInfo > postRemoveDuplicatesWithHttpInfo(PostRemoveDuplicatesRequest request) throws ApiException, IOException {
14080+
com.squareup.okhttp.Call call = postRemoveDuplicatesValidateBeforeCall(request, null, null);
14081+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
14082+
return apiClient.execute(call, localVarReturnType);
14083+
}
14084+
14085+
public com.squareup.okhttp.Call postRemoveDuplicatesAsync( PostRemoveDuplicatesRequest request, final ApiCallback< FileInfo > callback) throws ApiException, IOException {
14086+
14087+
ProgressResponseBody.ProgressListener progressListener = null;
14088+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
14089+
14090+
if (callback != null) {
14091+
progressListener = new ProgressResponseBody.ProgressListener() {
14092+
@Override
14093+
public void update(long bytesRead, long contentLength, boolean done) {
14094+
callback.onDownloadProgress(bytesRead, contentLength, done);
14095+
}
14096+
};
14097+
14098+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
14099+
@Override
14100+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
14101+
callback.onUploadProgress(bytesWritten, contentLength, done);
14102+
}
14103+
};
14104+
}
14105+
14106+
com.squareup.okhttp.Call call = postRemoveDuplicatesValidateBeforeCall(request, progressListener, progressRequestListener);
14107+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
14108+
apiClient.executeAsync(call, localVarReturnType, callback);
14109+
return call;
14110+
}
14111+
14112+
14113+
@SuppressWarnings("rawtypes")
14114+
private com.squareup.okhttp.Call postExtractTextValidateBeforeCall(PostExtractTextRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
14115+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
14116+
}
14117+
14118+
public FileInfo postExtractText(PostExtractTextRequest request) throws ApiException, IOException {
14119+
try {
14120+
ApiResponse< FileInfo > resp = postExtractTextWithHttpInfo(request);
14121+
return resp.getData();
14122+
}
14123+
catch (ApiException ex) {
14124+
if (ex.getCode() == apiClient.getNotAuthCode()) {
14125+
apiClient.requestToken();
14126+
ApiResponse< FileInfo > resp = postExtractTextWithHttpInfo(request);
14127+
return resp.getData();
14128+
}
14129+
throw ex;
14130+
}
14131+
}
14132+
14133+
private ApiResponse< FileInfo > postExtractTextWithHttpInfo(PostExtractTextRequest request) throws ApiException, IOException {
14134+
com.squareup.okhttp.Call call = postExtractTextValidateBeforeCall(request, null, null);
14135+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
14136+
return apiClient.execute(call, localVarReturnType);
14137+
}
14138+
14139+
public com.squareup.okhttp.Call postExtractTextAsync( PostExtractTextRequest request, final ApiCallback< FileInfo > callback) throws ApiException, IOException {
14140+
14141+
ProgressResponseBody.ProgressListener progressListener = null;
14142+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
14143+
14144+
if (callback != null) {
14145+
progressListener = new ProgressResponseBody.ProgressListener() {
14146+
@Override
14147+
public void update(long bytesRead, long contentLength, boolean done) {
14148+
callback.onDownloadProgress(bytesRead, contentLength, done);
14149+
}
14150+
};
14151+
14152+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
14153+
@Override
14154+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
14155+
callback.onUploadProgress(bytesWritten, contentLength, done);
14156+
}
14157+
};
14158+
}
14159+
14160+
com.squareup.okhttp.Call call = postExtractTextValidateBeforeCall(request, progressListener, progressRequestListener);
14161+
Type localVarReturnType = new TypeToken< FileInfo >(){}.getType();
14162+
apiClient.executeAsync(call, localVarReturnType, callback);
14163+
return call;
14164+
}
14165+
14166+
1405914167
@SuppressWarnings("rawtypes")
1406014168
private com.squareup.okhttp.Call getWorkbookDefaultStyleValidateBeforeCall(GetWorkbookDefaultStyleRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
1406114169
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);

src/main/java/com/aspose/cloud/cells/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public ApiClient() {
186186
this.lenientDatetimeFormat = true;
187187

188188
// Set default User-Agent.
189-
setUserAgent("CellsCloud-SDK/24.11/java");
189+
setUserAgent("CellsCloud-SDK/24.12/java");
190190

191191
// Setup authentications (key: authentication name, value:
192192
// authentication).

0 commit comments

Comments
 (0)