Skip to content

Commit 44f125b

Browse files
author
evgeny.ivanov
committed
SDK regenerated by CI server [ci skip]
1 parent c78b4b6 commit 44f125b

29 files changed

+814
-28
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ Python Cloud SDK wraps Aspose.Words Cloud API so you could seamlessly integrate
1919
## Enhancements in Version 21.8
2020

2121
- Added new api methods to get, insert, update or delete custom xml parts from documents.
22+
- Added parameter 'ResultDocumentFormat' to Compare API
23+
- Added 'ExportLanguageToSpanTag' pdf save option
24+
- Added 'FlatOpcXmlMappingOnly' save option
2225

2326

2427
## Enhancements in Version 21.7

asposewordscloud/models/bmp_save_options_data.py

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ class BmpSaveOptionsData(object):
4949
'dml_effects_rendering_mode': 'str',
5050
'dml_rendering_mode': 'str',
5151
'file_name': 'str',
52+
'flat_opc_xml_mapping_only': 'bool',
5253
'iml_rendering_mode': 'str',
5354
'save_format': 'str',
5455
'update_created_time_property': 'bool',
@@ -86,6 +87,7 @@ class BmpSaveOptionsData(object):
8687
'dml_effects_rendering_mode': 'DmlEffectsRenderingMode',
8788
'dml_rendering_mode': 'DmlRenderingMode',
8889
'file_name': 'FileName',
90+
'flat_opc_xml_mapping_only': 'FlatOpcXmlMappingOnly',
8991
'iml_rendering_mode': 'ImlRenderingMode',
9092
'save_format': 'SaveFormat',
9193
'update_created_time_property': 'UpdateCreatedTimeProperty',
@@ -116,7 +118,7 @@ class BmpSaveOptionsData(object):
116118
'vertical_resolution': 'VerticalResolution'
117119
}
118120

119-
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, iml_rendering_mode=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
121+
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, flat_opc_xml_mapping_only=None, iml_rendering_mode=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
120122
"""BmpSaveOptionsData - a model defined in Swagger""" # noqa: E501
121123

122124
self._allow_embedding_post_script_fonts = None
@@ -125,6 +127,7 @@ def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info
125127
self._dml_effects_rendering_mode = None
126128
self._dml_rendering_mode = None
127129
self._file_name = None
130+
self._flat_opc_xml_mapping_only = None
128131
self._iml_rendering_mode = None
129132
self._save_format = None
130133
self._update_created_time_property = None
@@ -167,6 +170,8 @@ def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info
167170
self.dml_rendering_mode = dml_rendering_mode
168171
if file_name is not None:
169172
self.file_name = file_name
173+
if flat_opc_xml_mapping_only is not None:
174+
self.flat_opc_xml_mapping_only = flat_opc_xml_mapping_only
170175
if iml_rendering_mode is not None:
171176
self.iml_rendering_mode = iml_rendering_mode
172177
if save_format is not None:
@@ -364,6 +369,28 @@ def file_name(self, file_name):
364369
"""
365370
self._file_name = file_name
366371

372+
@property
373+
def flat_opc_xml_mapping_only(self):
374+
"""Gets the flat_opc_xml_mapping_only of this BmpSaveOptionsData. # noqa: E501
375+
376+
Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping. By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped. # noqa: E501
377+
378+
:return: The flat_opc_xml_mapping_only of this BmpSaveOptionsData. # noqa: E501
379+
:rtype: bool
380+
"""
381+
return self._flat_opc_xml_mapping_only
382+
383+
@flat_opc_xml_mapping_only.setter
384+
def flat_opc_xml_mapping_only(self, flat_opc_xml_mapping_only):
385+
"""Sets the flat_opc_xml_mapping_only of this BmpSaveOptionsData.
386+
387+
Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping. By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped. # noqa: E501
388+
389+
:param flat_opc_xml_mapping_only: The flat_opc_xml_mapping_only of this BmpSaveOptionsData. # noqa: E501
390+
:type: bool
391+
"""
392+
self._flat_opc_xml_mapping_only = flat_opc_xml_mapping_only
393+
367394
@property
368395
def iml_rendering_mode(self):
369396
"""Gets the iml_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
@@ -49,6 +49,7 @@ class DocSaveOptionsData(object):
4949
'dml_effects_rendering_mode': 'str',
5050
'dml_rendering_mode': 'str',
5151
'file_name': 'str',
52+
'flat_opc_xml_mapping_only': 'bool',
5253
'iml_rendering_mode': 'str',
5354
'save_format': 'str',
5455
'update_created_time_property': 'bool',
@@ -70,6 +71,7 @@ class DocSaveOptionsData(object):
7071
'dml_effects_rendering_mode': 'DmlEffectsRenderingMode',
7172
'dml_rendering_mode': 'DmlRenderingMode',
7273
'file_name': 'FileName',
74+
'flat_opc_xml_mapping_only': 'FlatOpcXmlMappingOnly',
7375
'iml_rendering_mode': 'ImlRenderingMode',
7476
'save_format': 'SaveFormat',
7577
'update_created_time_property': 'UpdateCreatedTimeProperty',
@@ -84,7 +86,7 @@ class DocSaveOptionsData(object):
8486
'save_routing_slip': 'SaveRoutingSlip'
8587
}
8688

87-
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, iml_rendering_mode=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
89+
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, flat_opc_xml_mapping_only=None, iml_rendering_mode=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
8890
"""DocSaveOptionsData - a model defined in Swagger""" # noqa: E501
8991

9092
self._allow_embedding_post_script_fonts = None
@@ -93,6 +95,7 @@ def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info
9395
self._dml_effects_rendering_mode = None
9496
self._dml_rendering_mode = None
9597
self._file_name = None
98+
self._flat_opc_xml_mapping_only = None
9699
self._iml_rendering_mode = None
97100
self._save_format = None
98101
self._update_created_time_property = None
@@ -119,6 +122,8 @@ def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info
119122
self.dml_rendering_mode = dml_rendering_mode
120123
if file_name is not None:
121124
self.file_name = file_name
125+
if flat_opc_xml_mapping_only is not None:
126+
self.flat_opc_xml_mapping_only = flat_opc_xml_mapping_only
122127
if iml_rendering_mode is not None:
123128
self.iml_rendering_mode = iml_rendering_mode
124129
if save_format is not None:
@@ -284,6 +289,28 @@ def file_name(self, file_name):
284289
"""
285290
self._file_name = file_name
286291

292+
@property
293+
def flat_opc_xml_mapping_only(self):
294+
"""Gets the flat_opc_xml_mapping_only of this DocSaveOptionsData. # noqa: E501
295+
296+
Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping. By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped. # noqa: E501
297+
298+
:return: The flat_opc_xml_mapping_only of this DocSaveOptionsData. # noqa: E501
299+
:rtype: bool
300+
"""
301+
return self._flat_opc_xml_mapping_only
302+
303+
@flat_opc_xml_mapping_only.setter
304+
def flat_opc_xml_mapping_only(self, flat_opc_xml_mapping_only):
305+
"""Sets the flat_opc_xml_mapping_only of this DocSaveOptionsData.
306+
307+
Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping. By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped. # noqa: E501
308+
309+
:param flat_opc_xml_mapping_only: The flat_opc_xml_mapping_only of this DocSaveOptionsData. # noqa: E501
310+
:type: bool
311+
"""
312+
self._flat_opc_xml_mapping_only = flat_opc_xml_mapping_only
313+
287314
@property
288315
def iml_rendering_mode(self):
289316
"""Gets the iml_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
@@ -49,6 +49,7 @@ class EmfSaveOptionsData(object):
4949
'dml_effects_rendering_mode': 'str',
5050
'dml_rendering_mode': 'str',
5151
'file_name': 'str',
52+
'flat_opc_xml_mapping_only': 'bool',
5253
'iml_rendering_mode': 'str',
5354
'save_format': 'str',
5455
'update_created_time_property': 'bool',
@@ -86,6 +87,7 @@ class EmfSaveOptionsData(object):
8687
'dml_effects_rendering_mode': 'DmlEffectsRenderingMode',
8788
'dml_rendering_mode': 'DmlRenderingMode',
8889
'file_name': 'FileName',
90+
'flat_opc_xml_mapping_only': 'FlatOpcXmlMappingOnly',
8991
'iml_rendering_mode': 'ImlRenderingMode',
9092
'save_format': 'SaveFormat',
9193
'update_created_time_property': 'UpdateCreatedTimeProperty',
@@ -116,7 +118,7 @@ class EmfSaveOptionsData(object):
116118
'vertical_resolution': 'VerticalResolution'
117119
}
118120

119-
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, iml_rendering_mode=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
121+
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, flat_opc_xml_mapping_only=None, iml_rendering_mode=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
120122
"""EmfSaveOptionsData - a model defined in Swagger""" # noqa: E501
121123

122124
self._allow_embedding_post_script_fonts = None
@@ -125,6 +127,7 @@ def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info
125127
self._dml_effects_rendering_mode = None
126128
self._dml_rendering_mode = None
127129
self._file_name = None
130+
self._flat_opc_xml_mapping_only = None
128131
self._iml_rendering_mode = None
129132
self._save_format = None
130133
self._update_created_time_property = None
@@ -167,6 +170,8 @@ def __init__(self, allow_embedding_post_script_fonts=None, custom_time_zone_info
167170
self.dml_rendering_mode = dml_rendering_mode
168171
if file_name is not None:
169172
self.file_name = file_name
173+
if flat_opc_xml_mapping_only is not None:
174+
self.flat_opc_xml_mapping_only = flat_opc_xml_mapping_only
170175
if iml_rendering_mode is not None:
171176
self.iml_rendering_mode = iml_rendering_mode
172177
if save_format is not None:
@@ -364,6 +369,28 @@ def file_name(self, file_name):
364369
"""
365370
self._file_name = file_name
366371

372+
@property
373+
def flat_opc_xml_mapping_only(self):
374+
"""Gets the flat_opc_xml_mapping_only of this EmfSaveOptionsData. # noqa: E501
375+
376+
Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping. By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped. # noqa: E501
377+
378+
:return: The flat_opc_xml_mapping_only of this EmfSaveOptionsData. # noqa: E501
379+
:rtype: bool
380+
"""
381+
return self._flat_opc_xml_mapping_only
382+
383+
@flat_opc_xml_mapping_only.setter
384+
def flat_opc_xml_mapping_only(self, flat_opc_xml_mapping_only):
385+
"""Sets the flat_opc_xml_mapping_only of this EmfSaveOptionsData.
386+
387+
Gets or sets value determining which document formats are allowed to be mapped by Aspose.Words.Markup.StructuredDocumentTag.XmlMapping. By default only Aspose.Words.LoadFormat.FlatOpc document format is allowed to be mapped. # noqa: E501
388+
389+
:param flat_opc_xml_mapping_only: The flat_opc_xml_mapping_only of this EmfSaveOptionsData. # noqa: E501
390+
:type: bool
391+
"""
392+
self._flat_opc_xml_mapping_only = flat_opc_xml_mapping_only
393+
367394
@property
368395
def iml_rendering_mode(self):
369396
"""Gets the iml_rendering_mode of this EmfSaveOptionsData. # noqa: E501

0 commit comments

Comments
 (0)