Skip to content

Commit 70b7ec6

Browse files
Merge branch 'master' into release
2 parents 5c6c935 + 4e99cc5 commit 70b7ec6

36 files changed

+1045
-63
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ 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 21.4
20+
21+
- Removed obsolete pdf save option 'EscapeUri'
22+
- SaveOptions now contains CustomTimeZoneInfo to set custom timezone when SdtType.Date structured document tag updated from custom XML
23+
- Url of child requests in batch can be full now (earlier it can be only relative)
24+
- Added 'RquestId' header to all responses
25+
26+
1927
## Enhancements in Version 21.3
2028

2129
- Added 'UpdateCreatedTimeProperty' save option

asposewordscloud/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@
238238
from asposewordscloud.models.tab_stops_response import TabStopsResponse
239239
from asposewordscloud.models.text_save_options_data import TextSaveOptionsData
240240
from asposewordscloud.models.tiff_save_options_data import TiffSaveOptionsData
241+
from asposewordscloud.models.time_zone_info_data import TimeZoneInfoData
241242
from asposewordscloud.models.txt_save_options_base_data import TxtSaveOptionsBaseData
242243
from asposewordscloud.models.watermark_text import WatermarkText
243244
from asposewordscloud.models.word_ml_save_options_data import WordMLSaveOptionsData

asposewordscloud/api_client.py

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

8282
self.pool = ThreadPool()
8383
self.rest_client = rest.RESTClientObject(configuration)
84-
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '21.3'}
84+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '21.4'}
8585
if header_name is not None:
8686
self.default_headers[header_name] = header_value
8787
self.cookie = cookie
8888
# Set default User-Agent.
89-
self.user_agent = 'python sdk 21.3'
89+
self.user_agent = 'python sdk 21.4'
9090

9191
def __del__(self):
9292
self.pool.close()

asposewordscloud/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,6 @@ def to_debug_report(self):
258258
return "Python SDK Debug Report:\n"\
259259
"OS: {env}\n"\
260260
"Python Version: {pyversion}\n"\
261-
"Version of the API: 21.3\n"\
262-
"SDK Package Version: 21.3".\
261+
"Version of the API: 21.4\n"\
262+
"SDK Package Version: 21.4".\
263263
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
@@ -233,6 +233,7 @@
233233
from asposewordscloud.models.tab_stops_response import TabStopsResponse
234234
from asposewordscloud.models.text_save_options_data import TextSaveOptionsData
235235
from asposewordscloud.models.tiff_save_options_data import TiffSaveOptionsData
236+
from asposewordscloud.models.time_zone_info_data import TimeZoneInfoData
236237
from asposewordscloud.models.txt_save_options_base_data import TxtSaveOptionsBaseData
237238
from asposewordscloud.models.watermark_text import WatermarkText
238239
from asposewordscloud.models.word_ml_save_options_data import WordMLSaveOptionsData

asposewordscloud/models/bmp_save_options_data.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class BmpSaveOptionsData(object):
4444
"""
4545
swagger_types = {
4646
'allow_embedding_post_script_fonts': 'bool',
47+
'custom_time_zone_info_data': 'TimeZoneInfoData',
4748
'dml3_d_effects_rendering_mode': 'str',
4849
'dml_effects_rendering_mode': 'str',
4950
'dml_rendering_mode': 'str',
@@ -79,6 +80,7 @@ class BmpSaveOptionsData(object):
7980

8081
attribute_map = {
8182
'allow_embedding_post_script_fonts': 'AllowEmbeddingPostScriptFonts',
83+
'custom_time_zone_info_data': 'CustomTimeZoneInfoData',
8284
'dml3_d_effects_rendering_mode': 'Dml3DEffectsRenderingMode',
8385
'dml_effects_rendering_mode': 'DmlEffectsRenderingMode',
8486
'dml_rendering_mode': 'DmlRenderingMode',
@@ -112,10 +114,11 @@ class BmpSaveOptionsData(object):
112114
'vertical_resolution': 'VerticalResolution'
113115
}
114116

115-
def __init__(self, allow_embedding_post_script_fonts=None, dml3_d_effects_rendering_mode=None, dml_effects_rendering_mode=None, dml_rendering_mode=None, file_name=None, save_format=None, update_created_time_property=None, update_fields=None, update_last_printed_property=None, update_last_saved_time_property=None, update_sdt_content=None, zip_output=None, color_mode=None, jpeg_quality=None, metafile_rendering_options=None, numeral_format=None, optimize_output=None, page_count=None, page_index=None, graphics_quality_options=None, horizontal_resolution=None, image_brightness=None, image_color_mode=None, image_contrast=None, paper_color=None, pixel_format=None, resolution=None, scale=None, use_anti_aliasing=None, use_gdi_emf_renderer=None, use_high_quality_rendering=None, vertical_resolution=None): # noqa: E501
117+
def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info_data=None, dml3_d_effects_rendering_mode=None, dml_effects_rendering_mode=None, dml_rendering_mode=None, file_name=None, save_format=None, update_created_time_property=None, update_fields=None, update_last_printed_property=None, update_last_saved_time_property=None, update_sdt_content=None, zip_output=None, color_mode=None, jpeg_quality=None, metafile_rendering_options=None, numeral_format=None, optimize_output=None, page_count=None, page_index=None, graphics_quality_options=None, horizontal_resolution=None, image_brightness=None, image_color_mode=None, image_contrast=None, paper_color=None, pixel_format=None, resolution=None, scale=None, use_anti_aliasing=None, use_gdi_emf_renderer=None, use_high_quality_rendering=None, vertical_resolution=None): # noqa: E501
116118
"""BmpSaveOptionsData - a model defined in Swagger""" # noqa: E501
117119

118120
self._allow_embedding_post_script_fonts = None
121+
self._custom_time_zone_info_data = None
119122
self._dml3_d_effects_rendering_mode = None
120123
self._dml_effects_rendering_mode = None
121124
self._dml_rendering_mode = None
@@ -151,6 +154,8 @@ def __init__(self, allow_embedding_post_script_fonts=None, dml3_d_effects_render
151154

152155
if allow_embedding_post_script_fonts is not None:
153156
self.allow_embedding_post_script_fonts = allow_embedding_post_script_fonts
157+
if custom_time_zone_info_data is not None:
158+
self.custom_time_zone_info_data = custom_time_zone_info_data
154159
if dml3_d_effects_rendering_mode is not None:
155160
self.dml3_d_effects_rendering_mode = dml3_d_effects_rendering_mode
156161
if dml_effects_rendering_mode is not None:
@@ -236,6 +241,28 @@ def allow_embedding_post_script_fonts(self, allow_embedding_post_script_fonts):
236241
"""
237242
self._allow_embedding_post_script_fonts = allow_embedding_post_script_fonts
238243

244+
@property
245+
def custom_time_zone_info_data(self):
246+
"""Gets the custom_time_zone_info_data of this BmpSaveOptionsData. # noqa: E501
247+
248+
Gets or sets CustomTimeZoneInfo. # noqa: E501
249+
250+
:return: The custom_time_zone_info_data of this BmpSaveOptionsData. # noqa: E501
251+
:rtype: TimeZoneInfoData
252+
"""
253+
return self._custom_time_zone_info_data
254+
255+
@custom_time_zone_info_data.setter
256+
def custom_time_zone_info_data(self, custom_time_zone_info_data):
257+
"""Sets the custom_time_zone_info_data of this BmpSaveOptionsData.
258+
259+
Gets or sets CustomTimeZoneInfo. # noqa: E501
260+
261+
:param custom_time_zone_info_data: The custom_time_zone_info_data of this BmpSaveOptionsData. # noqa: E501
262+
:type: TimeZoneInfoData
263+
"""
264+
self._custom_time_zone_info_data = custom_time_zone_info_data
265+
239266
@property
240267
def dml3_d_effects_rendering_mode(self):
241268
"""Gets the dml3_d_effects_rendering_mode of this BmpSaveOptionsData. # noqa: E501

asposewordscloud/models/doc_save_options_data.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class DocSaveOptionsData(object):
4444
"""
4545
swagger_types = {
4646
'allow_embedding_post_script_fonts': 'bool',
47+
'custom_time_zone_info_data': 'TimeZoneInfoData',
4748
'dml3_d_effects_rendering_mode': 'str',
4849
'dml_effects_rendering_mode': 'str',
4950
'dml_rendering_mode': 'str',
@@ -63,6 +64,7 @@ class DocSaveOptionsData(object):
6364

6465
attribute_map = {
6566
'allow_embedding_post_script_fonts': 'AllowEmbeddingPostScriptFonts',
67+
'custom_time_zone_info_data': 'CustomTimeZoneInfoData',
6668
'dml3_d_effects_rendering_mode': 'Dml3DEffectsRenderingMode',
6769
'dml_effects_rendering_mode': 'DmlEffectsRenderingMode',
6870
'dml_rendering_mode': 'DmlRenderingMode',
@@ -80,10 +82,11 @@ class DocSaveOptionsData(object):
8082
'save_routing_slip': 'SaveRoutingSlip'
8183
}
8284

83-
def __init__(self, allow_embedding_post_script_fonts=None, dml3_d_effects_rendering_mode=None, dml_effects_rendering_mode=None, dml_rendering_mode=None, file_name=None, save_format=None, update_created_time_property=None, update_fields=None, update_last_printed_property=None, update_last_saved_time_property=None, update_sdt_content=None, zip_output=None, always_compress_metafiles=None, password=None, save_picture_bullet=None, save_routing_slip=None): # noqa: E501
85+
def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info_data=None, dml3_d_effects_rendering_mode=None, dml_effects_rendering_mode=None, dml_rendering_mode=None, file_name=None, save_format=None, update_created_time_property=None, update_fields=None, update_last_printed_property=None, update_last_saved_time_property=None, update_sdt_content=None, zip_output=None, always_compress_metafiles=None, password=None, save_picture_bullet=None, save_routing_slip=None): # noqa: E501
8486
"""DocSaveOptionsData - a model defined in Swagger""" # noqa: E501
8587

8688
self._allow_embedding_post_script_fonts = None
89+
self._custom_time_zone_info_data = None
8790
self._dml3_d_effects_rendering_mode = None
8891
self._dml_effects_rendering_mode = None
8992
self._dml_rendering_mode = None
@@ -103,6 +106,8 @@ def __init__(self, allow_embedding_post_script_fonts=None, dml3_d_effects_render
103106

104107
if allow_embedding_post_script_fonts is not None:
105108
self.allow_embedding_post_script_fonts = allow_embedding_post_script_fonts
109+
if custom_time_zone_info_data is not None:
110+
self.custom_time_zone_info_data = custom_time_zone_info_data
106111
if dml3_d_effects_rendering_mode is not None:
107112
self.dml3_d_effects_rendering_mode = dml3_d_effects_rendering_mode
108113
if dml_effects_rendering_mode is not None:
@@ -156,6 +161,28 @@ def allow_embedding_post_script_fonts(self, allow_embedding_post_script_fonts):
156161
"""
157162
self._allow_embedding_post_script_fonts = allow_embedding_post_script_fonts
158163

164+
@property
165+
def custom_time_zone_info_data(self):
166+
"""Gets the custom_time_zone_info_data of this DocSaveOptionsData. # noqa: E501
167+
168+
Gets or sets CustomTimeZoneInfo. # noqa: E501
169+
170+
:return: The custom_time_zone_info_data of this DocSaveOptionsData. # noqa: E501
171+
:rtype: TimeZoneInfoData
172+
"""
173+
return self._custom_time_zone_info_data
174+
175+
@custom_time_zone_info_data.setter
176+
def custom_time_zone_info_data(self, custom_time_zone_info_data):
177+
"""Sets the custom_time_zone_info_data of this DocSaveOptionsData.
178+
179+
Gets or sets CustomTimeZoneInfo. # noqa: E501
180+
181+
:param custom_time_zone_info_data: The custom_time_zone_info_data of this DocSaveOptionsData. # noqa: E501
182+
:type: TimeZoneInfoData
183+
"""
184+
self._custom_time_zone_info_data = custom_time_zone_info_data
185+
159186
@property
160187
def dml3_d_effects_rendering_mode(self):
161188
"""Gets the dml3_d_effects_rendering_mode of this DocSaveOptionsData. # noqa: E501

asposewordscloud/models/emf_save_options_data.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class EmfSaveOptionsData(object):
4444
"""
4545
swagger_types = {
4646
'allow_embedding_post_script_fonts': 'bool',
47+
'custom_time_zone_info_data': 'TimeZoneInfoData',
4748
'dml3_d_effects_rendering_mode': 'str',
4849
'dml_effects_rendering_mode': 'str',
4950
'dml_rendering_mode': 'str',
@@ -79,6 +80,7 @@ class EmfSaveOptionsData(object):
7980

8081
attribute_map = {
8182
'allow_embedding_post_script_fonts': 'AllowEmbeddingPostScriptFonts',
83+
'custom_time_zone_info_data': 'CustomTimeZoneInfoData',
8284
'dml3_d_effects_rendering_mode': 'Dml3DEffectsRenderingMode',
8385
'dml_effects_rendering_mode': 'DmlEffectsRenderingMode',
8486
'dml_rendering_mode': 'DmlRenderingMode',
@@ -112,10 +114,11 @@ class EmfSaveOptionsData(object):
112114
'vertical_resolution': 'VerticalResolution'
113115
}
114116

115-
def __init__(self, allow_embedding_post_script_fonts=None, dml3_d_effects_rendering_mode=None, dml_effects_rendering_mode=None, dml_rendering_mode=None, file_name=None, save_format=None, update_created_time_property=None, update_fields=None, update_last_printed_property=None, update_last_saved_time_property=None, update_sdt_content=None, zip_output=None, color_mode=None, jpeg_quality=None, metafile_rendering_options=None, numeral_format=None, optimize_output=None, page_count=None, page_index=None, graphics_quality_options=None, horizontal_resolution=None, image_brightness=None, image_color_mode=None, image_contrast=None, paper_color=None, pixel_format=None, resolution=None, scale=None, use_anti_aliasing=None, use_gdi_emf_renderer=None, use_high_quality_rendering=None, vertical_resolution=None): # noqa: E501
117+
def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info_data=None, dml3_d_effects_rendering_mode=None, dml_effects_rendering_mode=None, dml_rendering_mode=None, file_name=None, save_format=None, update_created_time_property=None, update_fields=None, update_last_printed_property=None, update_last_saved_time_property=None, update_sdt_content=None, zip_output=None, color_mode=None, jpeg_quality=None, metafile_rendering_options=None, numeral_format=None, optimize_output=None, page_count=None, page_index=None, graphics_quality_options=None, horizontal_resolution=None, image_brightness=None, image_color_mode=None, image_contrast=None, paper_color=None, pixel_format=None, resolution=None, scale=None, use_anti_aliasing=None, use_gdi_emf_renderer=None, use_high_quality_rendering=None, vertical_resolution=None): # noqa: E501
116118
"""EmfSaveOptionsData - a model defined in Swagger""" # noqa: E501
117119

118120
self._allow_embedding_post_script_fonts = None
121+
self._custom_time_zone_info_data = None
119122
self._dml3_d_effects_rendering_mode = None
120123
self._dml_effects_rendering_mode = None
121124
self._dml_rendering_mode = None
@@ -151,6 +154,8 @@ def __init__(self, allow_embedding_post_script_fonts=None, dml3_d_effects_render
151154

152155
if allow_embedding_post_script_fonts is not None:
153156
self.allow_embedding_post_script_fonts = allow_embedding_post_script_fonts
157+
if custom_time_zone_info_data is not None:
158+
self.custom_time_zone_info_data = custom_time_zone_info_data
154159
if dml3_d_effects_rendering_mode is not None:
155160
self.dml3_d_effects_rendering_mode = dml3_d_effects_rendering_mode
156161
if dml_effects_rendering_mode is not None:
@@ -236,6 +241,28 @@ def allow_embedding_post_script_fonts(self, allow_embedding_post_script_fonts):
236241
"""
237242
self._allow_embedding_post_script_fonts = allow_embedding_post_script_fonts
238243

244+
@property
245+
def custom_time_zone_info_data(self):
246+
"""Gets the custom_time_zone_info_data of this EmfSaveOptionsData. # noqa: E501
247+
248+
Gets or sets CustomTimeZoneInfo. # noqa: E501
249+
250+
:return: The custom_time_zone_info_data of this EmfSaveOptionsData. # noqa: E501
251+
:rtype: TimeZoneInfoData
252+
"""
253+
return self._custom_time_zone_info_data
254+
255+
@custom_time_zone_info_data.setter
256+
def custom_time_zone_info_data(self, custom_time_zone_info_data):
257+
"""Sets the custom_time_zone_info_data of this EmfSaveOptionsData.
258+
259+
Gets or sets CustomTimeZoneInfo. # noqa: E501
260+
261+
:param custom_time_zone_info_data: The custom_time_zone_info_data of this EmfSaveOptionsData. # noqa: E501
262+
:type: TimeZoneInfoData
263+
"""
264+
self._custom_time_zone_info_data = custom_time_zone_info_data
265+
239266
@property
240267
def dml3_d_effects_rendering_mode(self):
241268
"""Gets the dml3_d_effects_rendering_mode of this EmfSaveOptionsData. # noqa: E501

0 commit comments

Comments
 (0)