Skip to content

Commit 1edbea0

Browse files
Update to v23.10
1 parent bdd1637 commit 1edbea0

Some content is hidden

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

47 files changed

+2377
-814
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
2727
**Web:** HTML/HTML5
2828
**Other:** MPEG4, SWF (export whole presentations)
2929

30+
## Enhancements in Version 23.10
31+
32+
* Added asynchronous API - **SlidesAsyncApi** class with **StartConvert**, **StartDownloadPresentation**, **GetOperationStatus**, **GetOperationResult** methods that allow tracking progress of conversion operations.
33+
3034
## Enhancements in Version 23.9
3135

3236
* Added **ReplaceImage** and **ReplaceImageOnline** methods that enable replacing images in a presentation.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ allprojects {
4141
}
4242

4343
jar {
44-
baseName 'aspose-slides-cloud-android-23.9.0'
44+
baseName 'aspose-slides-cloud-android-23.10.0'
4545
}

src/main/java/com/aspose/slides/ApiClient.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -637,11 +637,11 @@ public <T> T deserialize(Response response, Type returnType) throws ApiException
637637
// ensuring a default content type
638638
contentType = "application/json";
639639
}
640-
if (isJsonMime(contentType)) {
641-
return json.deserialize(respBody, returnType);
642-
} else if (returnType.equals(String.class)) {
640+
if (returnType.equals(String.class)) {
643641
// Expecting string, return the raw response body.
644-
return (T) respBody;
642+
return (T) respBody.replaceAll("^\"|\"$", "");
643+
} else if (isJsonMime(contentType)) {
644+
return json.deserialize(respBody, returnType);
645645
} else {
646646
throw new ApiException(
647647
"Content type \"" + contentType + "\" is not supported for type: " + returnType,

src/main/java/com/aspose/slides/api/SlidesAsyncApi.java

Lines changed: 602 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)