Skip to content

Commit 216f3db

Browse files
Merge branch 'master' into release
2 parents 7ce70c3 + 89ee2ff commit 216f3db

File tree

325 files changed

+1955
-326
lines changed

Some content is hidden

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

325 files changed

+1955
-326
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,15 @@ 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.8
20+
21+
- Added the support of OpenType standard. It is usefull for languages required advanced typography.
22+
23+
1924
## Enhancements in Version 24.7
2025

2126
- Added support for azw3 (Amazon Kindle Format) documents.
27+
- Added 'MaxImageResolution' property for SvgSaveOptionsData class.
2228

2329

2430
## Enhancements in Version 24.6

asposewordscloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,12 +349,12 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
349349

350350
self.pool = None
351351
self.rest_client = rest.RESTClientObject(configuration)
352-
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-client-version': '24.7'}
352+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-client-version': '24.8'}
353353
if header_name is not None:
354354
self.default_headers[header_name] = header_value
355355
self.cookie = cookie
356356
# Set default User-Agent.
357-
self.user_agent = 'python sdk 24.7'
357+
self.user_agent = 'python sdk 24.8'
358358

359359
def __del__(self):
360360
if not self.pool is None:

asposewordscloud/apis/words_api.py

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

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.7\n"\
266-
"SDK Package Version: 24.7".\
265+
"Version of the API: 24.8\n"\
266+
"SDK Package Version: 24.8".\
267267
format(env=sys.platform, pyversion=sys.version)

asposewordscloud/models/requests/accept_all_revisions_online_request.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,16 @@ class AcceptAllRevisionsOnlineRequest(BaseRequestObject):
3939
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4040
:param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
4141
:param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
42+
:param open_type_support The value indicates whether OpenType support is on.
4243
:param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4344
"""
4445

45-
def __init__(self, document, load_encoding=None, password=None, encrypted_password=None, dest_file_name=None):
46+
def __init__(self, document, load_encoding=None, password=None, encrypted_password=None, open_type_support=None, dest_file_name=None):
4647
self.document = document
4748
self.load_encoding = load_encoding
4849
self.password = password
4950
self.encrypted_password = encrypted_password
51+
self.open_type_support = open_type_support
5052
self.dest_file_name = dest_file_name
5153

5254
def create_http_request(self, api_client, encryptor):
@@ -79,6 +81,8 @@ def create_http_request(self, api_client, encryptor):
7981
query_params.append(('password', self.password)) # noqa: E501
8082
if self.encrypted_password is not None:
8183
query_params.append(('encryptedPassword', self.encrypted_password)) # noqa: E501
84+
if self.open_type_support is not None:
85+
query_params.append(('openTypeSupport', self.open_type_support)) # noqa: E501
8286
if self.dest_file_name is not None:
8387
query_params.append(('destFileName', self.dest_file_name)) # noqa: E501
8488

asposewordscloud/models/requests/accept_all_revisions_request.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,18 @@ class AcceptAllRevisionsRequest(BaseRequestObject):
4141
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4242
:param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
4343
:param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
44+
:param open_type_support The value indicates whether OpenType support is on.
4445
:param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4546
"""
4647

47-
def __init__(self, name, folder=None, storage=None, load_encoding=None, password=None, encrypted_password=None, dest_file_name=None):
48+
def __init__(self, name, folder=None, storage=None, load_encoding=None, password=None, encrypted_password=None, open_type_support=None, dest_file_name=None):
4849
self.name = name
4950
self.folder = folder
5051
self.storage = storage
5152
self.load_encoding = load_encoding
5253
self.password = password
5354
self.encrypted_password = encrypted_password
55+
self.open_type_support = open_type_support
5456
self.dest_file_name = dest_file_name
5557

5658
def create_http_request(self, api_client, encryptor):
@@ -91,6 +93,8 @@ def create_http_request(self, api_client, encryptor):
9193
query_params.append(('password', self.password)) # noqa: E501
9294
if self.encrypted_password is not None:
9395
query_params.append(('encryptedPassword', self.encrypted_password)) # noqa: E501
96+
if self.open_type_support is not None:
97+
query_params.append(('openTypeSupport', self.open_type_support)) # noqa: E501
9498
if self.dest_file_name is not None:
9599
query_params.append(('destFileName', self.dest_file_name)) # noqa: E501
96100

asposewordscloud/models/requests/append_document_online_request.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,19 @@ class AppendDocumentOnlineRequest(BaseRequestObject):
4040
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4141
:param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
4242
:param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
43+
:param open_type_support The value indicates whether OpenType support is on.
4344
:param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4445
:param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
4546
:param revision_date_time The date and time to use for revisions.
4647
"""
4748

48-
def __init__(self, document, document_list, load_encoding=None, password=None, encrypted_password=None, dest_file_name=None, revision_author=None, revision_date_time=None):
49+
def __init__(self, document, document_list, load_encoding=None, password=None, encrypted_password=None, open_type_support=None, dest_file_name=None, revision_author=None, revision_date_time=None):
4950
self.document = document
5051
self.document_list = document_list
5152
self.load_encoding = load_encoding
5253
self.password = password
5354
self.encrypted_password = encrypted_password
55+
self.open_type_support = open_type_support
5456
self.dest_file_name = dest_file_name
5557
self.revision_author = revision_author
5658
self.revision_date_time = revision_date_time
@@ -91,6 +93,8 @@ def create_http_request(self, api_client, encryptor):
9193
query_params.append(('password', self.password)) # noqa: E501
9294
if self.encrypted_password is not None:
9395
query_params.append(('encryptedPassword', self.encrypted_password)) # noqa: E501
96+
if self.open_type_support is not None:
97+
query_params.append(('openTypeSupport', self.open_type_support)) # noqa: E501
9498
if self.dest_file_name is not None:
9599
query_params.append(('destFileName', self.dest_file_name)) # noqa: E501
96100
if self.revision_author is not None:

asposewordscloud/models/requests/append_document_request.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,21 @@ class AppendDocumentRequest(BaseRequestObject):
4242
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4343
:param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
4444
:param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
45+
:param open_type_support The value indicates whether OpenType support is on.
4546
:param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4647
:param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
4748
:param revision_date_time The date and time to use for revisions.
4849
"""
4950

50-
def __init__(self, name, document_list, folder=None, storage=None, load_encoding=None, password=None, encrypted_password=None, dest_file_name=None, revision_author=None, revision_date_time=None):
51+
def __init__(self, name, document_list, folder=None, storage=None, load_encoding=None, password=None, encrypted_password=None, open_type_support=None, dest_file_name=None, revision_author=None, revision_date_time=None):
5152
self.name = name
5253
self.document_list = document_list
5354
self.folder = folder
5455
self.storage = storage
5556
self.load_encoding = load_encoding
5657
self.password = password
5758
self.encrypted_password = encrypted_password
59+
self.open_type_support = open_type_support
5860
self.dest_file_name = dest_file_name
5961
self.revision_author = revision_author
6062
self.revision_date_time = revision_date_time
@@ -103,6 +105,8 @@ def create_http_request(self, api_client, encryptor):
103105
query_params.append(('password', self.password)) # noqa: E501
104106
if self.encrypted_password is not None:
105107
query_params.append(('encryptedPassword', self.encrypted_password)) # noqa: E501
108+
if self.open_type_support is not None:
109+
query_params.append(('openTypeSupport', self.open_type_support)) # noqa: E501
106110
if self.dest_file_name is not None:
107111
query_params.append(('destFileName', self.dest_file_name)) # noqa: E501
108112
if self.revision_author is not None:

asposewordscloud/models/requests/apply_style_to_document_element_online_request.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,20 @@ class ApplyStyleToDocumentElementOnlineRequest(BaseRequestObject):
4141
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4242
:param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
4343
:param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
44+
:param open_type_support The value indicates whether OpenType support is on.
4445
:param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4546
:param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
4647
:param revision_date_time The date and time to use for revisions.
4748
"""
4849

49-
def __init__(self, document, styled_node_path, style_apply, load_encoding=None, password=None, encrypted_password=None, dest_file_name=None, revision_author=None, revision_date_time=None):
50+
def __init__(self, document, styled_node_path, style_apply, load_encoding=None, password=None, encrypted_password=None, open_type_support=None, dest_file_name=None, revision_author=None, revision_date_time=None):
5051
self.document = document
5152
self.styled_node_path = styled_node_path
5253
self.style_apply = style_apply
5354
self.load_encoding = load_encoding
5455
self.password = password
5556
self.encrypted_password = encrypted_password
57+
self.open_type_support = open_type_support
5658
self.dest_file_name = dest_file_name
5759
self.revision_author = revision_author
5860
self.revision_date_time = revision_date_time
@@ -100,6 +102,8 @@ def create_http_request(self, api_client, encryptor):
100102
query_params.append(('password', self.password)) # noqa: E501
101103
if self.encrypted_password is not None:
102104
query_params.append(('encryptedPassword', self.encrypted_password)) # noqa: E501
105+
if self.open_type_support is not None:
106+
query_params.append(('openTypeSupport', self.open_type_support)) # noqa: E501
103107
if self.dest_file_name is not None:
104108
query_params.append(('destFileName', self.dest_file_name)) # noqa: E501
105109
if self.revision_author is not None:

asposewordscloud/models/requests/apply_style_to_document_element_request.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ class ApplyStyleToDocumentElementRequest(BaseRequestObject):
4343
:param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
4444
:param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
4545
:param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
46+
:param open_type_support The value indicates whether OpenType support is on.
4647
:param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
4748
:param revision_author Initials of the author to use for revisions.If you set this parameter and then make some changes to the document programmatically, save the document and later open the document in MS Word you will see these changes as revisions.
4849
:param revision_date_time The date and time to use for revisions.
4950
"""
5051

51-
def __init__(self, name, styled_node_path, style_apply, folder=None, storage=None, load_encoding=None, password=None, encrypted_password=None, dest_file_name=None, revision_author=None, revision_date_time=None):
52+
def __init__(self, name, styled_node_path, style_apply, folder=None, storage=None, load_encoding=None, password=None, encrypted_password=None, open_type_support=None, dest_file_name=None, revision_author=None, revision_date_time=None):
5253
self.name = name
5354
self.styled_node_path = styled_node_path
5455
self.style_apply = style_apply
@@ -57,6 +58,7 @@ def __init__(self, name, styled_node_path, style_apply, folder=None, storage=Non
5758
self.load_encoding = load_encoding
5859
self.password = password
5960
self.encrypted_password = encrypted_password
61+
self.open_type_support = open_type_support
6062
self.dest_file_name = dest_file_name
6163
self.revision_author = revision_author
6264
self.revision_date_time = revision_date_time
@@ -112,6 +114,8 @@ def create_http_request(self, api_client, encryptor):
112114
query_params.append(('password', self.password)) # noqa: E501
113115
if self.encrypted_password is not None:
114116
query_params.append(('encryptedPassword', self.encrypted_password)) # noqa: E501
117+
if self.open_type_support is not None:
118+
query_params.append(('openTypeSupport', self.open_type_support)) # noqa: E501
115119
if self.dest_file_name is not None:
116120
query_params.append(('destFileName', self.dest_file_name)) # noqa: E501
117121
if self.revision_author is not None:

0 commit comments

Comments
 (0)