Skip to content

Commit 214b779

Browse files
committed
Release Aspose.Cells Cloud SDK 23.4
1 parent 8181f6c commit 214b779

File tree

3 files changed

+122
-7
lines changed

3 files changed

+122
-7
lines changed

README.md

Lines changed: 11 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/23.3)
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/23.4)
22

33
# Java SDK for Spreadsheet Processing in the Cloud
44

@@ -24,10 +24,17 @@ 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 23.3
27+
## Feature & Enhancements in Version 23.4
28+
29+
We are pleased to announce the release of Aspose.Cells Cloud SDK 23.4 with the following improvements.
30+
31+
## Aspose.Cells Cloud SDK
32+
33+
Full list of issues covering all changes in this release:
34+
35+
- Add import xml data api.
36+
- Add export xml data api.
2837

29-
- Adopt the new model.
30-
3138
## Read & Write Spreadsheet Formats
3239

3340
**Microsoft Excel:** XLS, XLSX, XLSB, XLSM, XLT, XLTX, XLTM
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue May 17 23:08:05 CST 2016
1+
#Fri Apr 21 03:21:04 PDT 2023
22
distributionBase=GRADLE_USER_HOME
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
34
distributionPath=wrapper/dists
4-
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-2.6-bin.zip
6+
zipStoreBase=GRADLE_USER_HOME

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

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64927,6 +64927,114 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
6492764927
return call;
6492864928
}
6492964929

64930+
@SuppressWarnings("rawtypes")
64931+
private com.squareup.okhttp.Call postWorkbookExportXMLValidateBeforeCall(PostWorkbookExportXMLRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
64932+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
64933+
}
64934+
64935+
public File postWorkbookExportXML(PostWorkbookExportXMLRequest request) throws ApiException, IOException {
64936+
try {
64937+
ApiResponse< File > resp = postWorkbookExportXMLWithHttpInfo(request);
64938+
return resp.getData();
64939+
}
64940+
catch (ApiException ex) {
64941+
if (ex.getCode() == apiClient.getNotAuthCode()) {
64942+
apiClient.requestToken();
64943+
ApiResponse< File > resp = postWorkbookExportXMLWithHttpInfo(request);
64944+
return resp.getData();
64945+
}
64946+
throw ex;
64947+
}
64948+
}
64949+
64950+
private ApiResponse< File > postWorkbookExportXMLWithHttpInfo(PostWorkbookExportXMLRequest request) throws ApiException, IOException {
64951+
com.squareup.okhttp.Call call = postWorkbookExportXMLValidateBeforeCall(request, null, null);
64952+
Type localVarReturnType = new TypeToken< File >(){}.getType();
64953+
return apiClient.execute(call, localVarReturnType);
64954+
}
64955+
64956+
public com.squareup.okhttp.Call postWorkbookExportXMLAsync( PostWorkbookExportXMLRequest request, final ApiCallback< HashMap<String,File> > callback) throws ApiException, IOException {
64957+
64958+
ProgressResponseBody.ProgressListener progressListener = null;
64959+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
64960+
64961+
if (callback != null) {
64962+
progressListener = new ProgressResponseBody.ProgressListener() {
64963+
@Override
64964+
public void update(long bytesRead, long contentLength, boolean done) {
64965+
callback.onDownloadProgress(bytesRead, contentLength, done);
64966+
}
64967+
};
64968+
64969+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
64970+
@Override
64971+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
64972+
callback.onUploadProgress(bytesWritten, contentLength, done);
64973+
}
64974+
};
64975+
}
64976+
64977+
com.squareup.okhttp.Call call = postWorkbookExportXMLValidateBeforeCall(request, progressListener, progressRequestListener);
64978+
Type localVarReturnType = new TypeToken< HashMap<String,File> >(){}.getType();
64979+
apiClient.executeAsync(call, localVarReturnType, callback);
64980+
return call;
64981+
}
64982+
64983+
64984+
@SuppressWarnings("rawtypes")
64985+
private com.squareup.okhttp.Call postWorkbookImportXMLValidateBeforeCall(PostWorkbookImportXMLRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {
64986+
return request.buildHttpRequest(apiClient, progressListener, progressRequestListener, true);
64987+
}
64988+
64989+
public File postWorkbookImportXML(PostWorkbookImportXMLRequest request) throws ApiException, IOException {
64990+
try {
64991+
ApiResponse< File > resp = postWorkbookImportXMLWithHttpInfo(request);
64992+
return resp.getData();
64993+
}
64994+
catch (ApiException ex) {
64995+
if (ex.getCode() == apiClient.getNotAuthCode()) {
64996+
apiClient.requestToken();
64997+
ApiResponse< File > resp = postWorkbookImportXMLWithHttpInfo(request);
64998+
return resp.getData();
64999+
}
65000+
throw ex;
65001+
}
65002+
}
65003+
65004+
private ApiResponse< File > postWorkbookImportXMLWithHttpInfo(PostWorkbookImportXMLRequest request) throws ApiException, IOException {
65005+
com.squareup.okhttp.Call call = postWorkbookImportXMLValidateBeforeCall(request, null, null);
65006+
Type localVarReturnType = new TypeToken< File >(){}.getType();
65007+
return apiClient.execute(call, localVarReturnType);
65008+
}
65009+
65010+
public com.squareup.okhttp.Call postWorkbookImportXMLAsync( PostWorkbookImportXMLRequest request, final ApiCallback< HashMap<String,File> > callback) throws ApiException, IOException {
65011+
65012+
ProgressResponseBody.ProgressListener progressListener = null;
65013+
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
65014+
65015+
if (callback != null) {
65016+
progressListener = new ProgressResponseBody.ProgressListener() {
65017+
@Override
65018+
public void update(long bytesRead, long contentLength, boolean done) {
65019+
callback.onDownloadProgress(bytesRead, contentLength, done);
65020+
}
65021+
};
65022+
65023+
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
65024+
@Override
65025+
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
65026+
callback.onUploadProgress(bytesWritten, contentLength, done);
65027+
}
65028+
};
65029+
}
65030+
65031+
com.squareup.okhttp.Call call = postWorkbookImportXMLValidateBeforeCall(request, progressListener, progressRequestListener);
65032+
Type localVarReturnType = new TypeToken< HashMap<String,File> >(){}.getType();
65033+
apiClient.executeAsync(call, localVarReturnType, callback);
65034+
return call;
65035+
}
65036+
65037+
6493065038

6493165039
@SuppressWarnings("rawtypes")
6493265040
private com.squareup.okhttp.Call downloadFileValidateBeforeCall(DownloadFileRequest request, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException, IOException {

0 commit comments

Comments
 (0)