Skip to content

Commit 7ce70c3

Browse files
Merge branch 'master' into release
2 parents 48adda5 + 7086797 commit 7ce70c3

File tree

9 files changed

+1695
-8
lines changed

9 files changed

+1695
-8
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ Python Cloud SDK wraps Aspose.Words Cloud API so you could seamlessly integrate
1616
- [Convert a document to desired file format](https://docs.aspose.cloud/display/wordscloud/Convert+Document+to+Destination+Format+with+Detailed+Settings+and+Save+Result+to+Storage) along with detailed settings.
1717
- Convert an encrypted PDF document into Word document format.
1818

19+
## Enhancements in Version 24.7
20+
21+
- Added support for azw3 (Amazon Kindle Format) documents.
22+
23+
1924
## Enhancements in Version 24.6
2025

2126
- Added the 'TranslateNodeId' method to transalate a node id to a node path.

asposewordscloud/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from asposewordscloud.models.file_reference import FileReference
1414
from asposewordscloud.models.api_error import ApiError
1515
from asposewordscloud.models.available_fonts_response import AvailableFontsResponse
16+
from asposewordscloud.models.azw3_save_options_data import Azw3SaveOptionsData
1617
from asposewordscloud.models.bmp_save_options_data import BmpSaveOptionsData
1718
from asposewordscloud.models.bookmark import Bookmark
1819
from asposewordscloud.models.bookmark_data import BookmarkData

asposewordscloud/api_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class ApiClient(object):
7878
MODEL_TYPES_MAPPING = {
7979
'ApiError, _': asposewordscloud.models.ApiError,
8080
'AvailableFontsResponse, _': asposewordscloud.models.AvailableFontsResponse,
81+
'Azw3SaveOptionsData, _': asposewordscloud.models.Azw3SaveOptionsData,
8182
'BmpSaveOptionsData, _': asposewordscloud.models.BmpSaveOptionsData,
8283
'Bookmark, _': asposewordscloud.models.Bookmark,
8384
'BookmarkData, _': asposewordscloud.models.BookmarkData,
@@ -348,12 +349,12 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
348349

349350
self.pool = None
350351
self.rest_client = rest.RESTClientObject(configuration)
351-
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-client-version': '24.6'}
352+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-client-version': '24.7'}
352353
if header_name is not None:
353354
self.default_headers[header_name] = header_value
354355
self.cookie = cookie
355356
# Set default User-Agent.
356-
self.user_agent = 'python sdk 24.6'
357+
self.user_agent = 'python sdk 24.7'
357358

358359
def __del__(self):
359360
if not self.pool is None:

asposewordscloud/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,6 @@ def to_debug_report(self):
262262
return "Python SDK Debug Report:\n"\
263263
"OS: {env}\n"\
264264
"Python Version: {pyversion}\n"\
265-
"Version of the API: 24.6\n"\
266-
"SDK Package Version: 24.6".\
265+
"Version of the API: 24.7\n"\
266+
"SDK Package Version: 24.7".\
267267
format(env=sys.platform, pyversion=sys.version)

asposewordscloud/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from asposewordscloud.models.file_reference import FileReference
99
from asposewordscloud.models.api_error import ApiError
1010
from asposewordscloud.models.available_fonts_response import AvailableFontsResponse
11+
from asposewordscloud.models.azw3_save_options_data import Azw3SaveOptionsData
1112
from asposewordscloud.models.bmp_save_options_data import BmpSaveOptionsData
1213
from asposewordscloud.models.bookmark import Bookmark
1314
from asposewordscloud.models.bookmark_data import BookmarkData

asposewordscloud/models/azw3_save_options_data.py

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

asposewordscloud/models/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def source_format(self, source_format):
214214
:param source_format: The source_format of this Document. # noqa: E501
215215
:type: str
216216
"""
217-
allowed_values = ["Unknown", "Doc", "Dot", "DocPreWord60", "Docx", "Docm", "Dotx", "Dotm", "FlatOpc", "Rtf", "WordML", "Html", "Mhtml", "Epub", "Text", "Odt", "Ott", "Pdf", "Xps", "Tiff", "Svg"] # noqa: E501
217+
allowed_values = ["Unknown", "Doc", "Dot", "DocPreWord60", "Docx", "Docm", "Dotx", "Dotm", "FlatOpc", "Rtf", "WordML", "Html", "Mhtml", "Epub", "Text", "Odt", "Ott", "Pdf", "Xps", "Tiff", "Svg", "Azw3"] # noqa: E501
218218
if not source_format.isdigit():
219219
if source_format not in allowed_values:
220220
raise ValueError(

asposewordscloud/models/pdf_save_options_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ def compliance(self, compliance):
795795
:param compliance: The compliance of this PdfSaveOptionsData. # noqa: E501
796796
:type: str
797797
"""
798-
allowed_values = ["Pdf17", "Pdf20", "PdfA1a", "PdfA1b", "PdfA2a", "PdfA2u", "PdfA4", "PdfUa1"] # noqa: E501
798+
allowed_values = ["Pdf17", "Pdf20", "PdfA1a", "PdfA1b", "PdfA2a", "PdfA2u", "PdfA4", "PdfA4Ua2", "PdfUa1", "PdfUa2"] # noqa: E501
799799
if not compliance.isdigit():
800800
if compliance not in allowed_values:
801801
raise ValueError(

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
66
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
77
8-
OpenAPI spec version: 24.6
8+
OpenAPI spec version: 24.7
99
1010
Generated by: https://github.com/swagger-api/swagger-codegen.git
1111
"""
@@ -14,7 +14,7 @@
1414
from setuptools import setup, find_packages # noqa: H301
1515

1616
NAME = "aspose-words-cloud"
17-
VERSION = "24.6.0"
17+
VERSION = "24.7.0"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

0 commit comments

Comments
 (0)