Skip to content

Commit 7a9febd

Browse files
committed
Update to v20.6
1 parent b15299b commit 7a9febd

29 files changed

+428
-19
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Aspose.PDF Cloud
22
- API version: 3.0
3-
- Package version: 20.5.0
3+
- Package version: 20.6.0
44

55
[Aspose.PDF Cloud](https://products.aspose.cloud/pdf) is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of Pdf documents in the cloud.
66

@@ -527,6 +527,7 @@ Class | Method | HTTP request | Description
527527
- [ObjectExist](docs/ObjectExist.md)
528528
- [OptimizeOptions](docs/OptimizeOptions.md)
529529
- [Option](docs/Option.md)
530+
- [OutputFormat](docs/OutputFormat.md)
530531
- [PageLayout](docs/PageLayout.md)
531532
- [PageMode](docs/PageMode.md)
532533
- [PageWordCount](docs/PageWordCount.md)

asposepdfcloud/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
from .models.object_exist import ObjectExist
9696
from .models.optimize_options import OptimizeOptions
9797
from .models.option import Option
98+
from .models.output_format import OutputFormat
9899
from .models.page_layout import PageLayout
99100
from .models.page_mode import PageMode
100101
from .models.page_word_count import PageWordCount

asposepdfcloud/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(self, app_key, app_sid, host=None):
8383
self.rest_client = RESTClientObject()
8484
self.default_headers = {}
8585
self.default_headers['x-aspose-client'] = 'python sdk'
86-
self.default_headers['x-aspose-client-version'] = '20.5.0'
86+
self.default_headers['x-aspose-client-version'] = '20.6.0'
8787

8888
self.app_key = app_key
8989
self.app_sid = app_sid

asposepdfcloud/apis/pdf_api.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36396,6 +36396,7 @@ def put_pdf_in_request_to_html(self, out_path, **kwargs):
3639636396
:param bool try_save_text_underlining_and_strikeouting_in_css: PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
3639736397
:param str storage: The document storage.
3639836398
:param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
36399+
:param str output_format: This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
3639936400
:param file file: A file to be converted.
3640036401
:return: AsposeResponse
3640136402
If the method is called asynchronously,
@@ -36452,13 +36453,14 @@ def put_pdf_in_request_to_html_with_http_info(self, out_path, **kwargs):
3645236453
:param bool try_save_text_underlining_and_strikeouting_in_css: PDF itself does not contain underlining markers for texts. It emulated with line situated under text. This option allows converter try guess that this or that line is a text's underlining and put this info into CSS instead of drawing of underlining graphically.
3645336454
:param str storage: The document storage.
3645436455
:param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
36456+
:param str output_format: This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
3645536457
:param file file: A file to be converted.
3645636458
:return: AsposeResponse
3645736459
If the method is called asynchronously,
3645836460
returns the request thread.
3645936461
"""
3646036462

36461-
all_params = ['out_path', 'additional_margin_width_in_points', 'compress_svg_graphics_if_any', 'convert_marked_content_to_layers', 'default_font_name', 'document_type', 'fixed_layout', 'image_resolution', 'minimal_line_width', 'prevent_glyphs_grouping', 'split_css_into_pages', 'split_into_pages', 'use_z_order', 'antialiasing_processing', 'css_class_names_prefix', 'explicit_list_of_saved_pages', 'font_encoding_strategy', 'font_saving_mode', 'html_markup_generation_mode', 'letters_positioning_method', 'pages_flow_type_depends_on_viewers_screen_size', 'parts_embedding_mode', 'raster_images_saving_mode', 'remove_empty_areas_on_top_and_bottom', 'save_shadowed_texts_as_transparent_texts', 'save_transparent_texts', 'special_folder_for_all_images', 'special_folder_for_svg_images', 'try_save_text_underlining_and_strikeouting_in_css', 'storage', 'flow_layout_paragraph_full_width', 'file']
36463+
all_params = ['out_path', 'additional_margin_width_in_points', 'compress_svg_graphics_if_any', 'convert_marked_content_to_layers', 'default_font_name', 'document_type', 'fixed_layout', 'image_resolution', 'minimal_line_width', 'prevent_glyphs_grouping', 'split_css_into_pages', 'split_into_pages', 'use_z_order', 'antialiasing_processing', 'css_class_names_prefix', 'explicit_list_of_saved_pages', 'font_encoding_strategy', 'font_saving_mode', 'html_markup_generation_mode', 'letters_positioning_method', 'pages_flow_type_depends_on_viewers_screen_size', 'parts_embedding_mode', 'raster_images_saving_mode', 'remove_empty_areas_on_top_and_bottom', 'save_shadowed_texts_as_transparent_texts', 'save_transparent_texts', 'special_folder_for_all_images', 'special_folder_for_svg_images', 'try_save_text_underlining_and_strikeouting_in_css', 'storage', 'flow_layout_paragraph_full_width', 'output_format', 'file']
3646236464
all_params.append('callback')
3646336465
all_params.append('_return_http_data_only')
3646436466
all_params.append('_preload_content')
@@ -36546,6 +36548,8 @@ def put_pdf_in_request_to_html_with_http_info(self, out_path, **kwargs):
3654636548
query_params.append(('storage', params['storage']))
3654736549
if 'flow_layout_paragraph_full_width' in params:
3654836550
query_params.append(('flowLayoutParagraphFullWidth', params['flow_layout_paragraph_full_width']))
36551+
if 'output_format' in params:
36552+
query_params.append(('outputFormat', params['output_format']))
3654936553

3655036554
header_params = {}
3655136555

@@ -38240,6 +38244,7 @@ def put_pdf_in_storage_to_html(self, name, out_path, **kwargs):
3824038244
:param str folder: The document folder.
3824138245
:param str storage: The document storage.
3824238246
:param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
38247+
:param str output_format: This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
3824338248
:return: AsposeResponse
3824438249
If the method is called asynchronously,
3824538250
returns the request thread.
@@ -38297,12 +38302,13 @@ def put_pdf_in_storage_to_html_with_http_info(self, name, out_path, **kwargs):
3829738302
:param str folder: The document folder.
3829838303
:param str storage: The document storage.
3829938304
:param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false.
38305+
:param str output_format: This parameter determines the type of result. The zip archive will be uploaded into the storage if the parameter is \"Zip\" or missed (default). In case of the \"Folder\", all resulting files and directories will be uploaded to the folder of the resulting HTML file.
3830038306
:return: AsposeResponse
3830138307
If the method is called asynchronously,
3830238308
returns the request thread.
3830338309
"""
3830438310

38305-
all_params = ['name', 'out_path', 'additional_margin_width_in_points', 'compress_svg_graphics_if_any', 'convert_marked_content_to_layers', 'default_font_name', 'document_type', 'fixed_layout', 'image_resolution', 'minimal_line_width', 'prevent_glyphs_grouping', 'split_css_into_pages', 'split_into_pages', 'use_z_order', 'antialiasing_processing', 'css_class_names_prefix', 'explicit_list_of_saved_pages', 'font_encoding_strategy', 'font_saving_mode', 'html_markup_generation_mode', 'letters_positioning_method', 'pages_flow_type_depends_on_viewers_screen_size', 'parts_embedding_mode', 'raster_images_saving_mode', 'remove_empty_areas_on_top_and_bottom', 'save_shadowed_texts_as_transparent_texts', 'save_transparent_texts', 'special_folder_for_all_images', 'special_folder_for_svg_images', 'try_save_text_underlining_and_strikeouting_in_css', 'folder', 'storage', 'flow_layout_paragraph_full_width']
38311+
all_params = ['name', 'out_path', 'additional_margin_width_in_points', 'compress_svg_graphics_if_any', 'convert_marked_content_to_layers', 'default_font_name', 'document_type', 'fixed_layout', 'image_resolution', 'minimal_line_width', 'prevent_glyphs_grouping', 'split_css_into_pages', 'split_into_pages', 'use_z_order', 'antialiasing_processing', 'css_class_names_prefix', 'explicit_list_of_saved_pages', 'font_encoding_strategy', 'font_saving_mode', 'html_markup_generation_mode', 'letters_positioning_method', 'pages_flow_type_depends_on_viewers_screen_size', 'parts_embedding_mode', 'raster_images_saving_mode', 'remove_empty_areas_on_top_and_bottom', 'save_shadowed_texts_as_transparent_texts', 'save_transparent_texts', 'special_folder_for_all_images', 'special_folder_for_svg_images', 'try_save_text_underlining_and_strikeouting_in_css', 'folder', 'storage', 'flow_layout_paragraph_full_width', 'output_format']
3830638312
all_params.append('callback')
3830738313
all_params.append('_return_http_data_only')
3830838314
all_params.append('_preload_content')
@@ -38397,6 +38403,8 @@ def put_pdf_in_storage_to_html_with_http_info(self, name, out_path, **kwargs):
3839738403
query_params.append(('storage', params['storage']))
3839838404
if 'flow_layout_paragraph_full_width' in params:
3839938405
query_params.append(('flowLayoutParagraphFullWidth', params['flow_layout_paragraph_full_width']))
38406+
if 'output_format' in params:
38407+
query_params.append(('outputFormat', params['output_format']))
3840038408

3840138409
header_params = {}
3840238410

asposepdfcloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,5 +199,5 @@ def to_debug_report(self):
199199
"OS: {env}\n"\
200200
"Python Version: {pyversion}\n"\
201201
"Version of the API: 3.0\n"\
202-
"SDK Package Version: 20.5.0".\
202+
"SDK Package Version: 20.6.0".\
203203
format(env=sys.platform, pyversion=sys.version)

asposepdfcloud/models/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
from .object_exist import ObjectExist
9696
from .optimize_options import OptimizeOptions
9797
from .option import Option
98+
from .output_format import OutputFormat
9899
from .page_layout import PageLayout
99100
from .page_mode import PageMode
100101
from .page_word_count import PageWordCount

asposepdfcloud/models/check_box_field.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class CheckBoxField(object):
5050
swagger_types = {
5151
'links': 'list[Link]',
5252
'partial_name': 'str',
53+
'full_name': 'str',
5354
'rect': 'Rectangle',
5455
'value': 'str',
5556
'page_index': 'int',
@@ -77,6 +78,7 @@ class CheckBoxField(object):
7778
attribute_map = {
7879
'links': 'Links',
7980
'partial_name': 'PartialName',
81+
'full_name': 'FullName',
8082
'rect': 'Rect',
8183
'value': 'Value',
8284
'page_index': 'PageIndex',
@@ -101,13 +103,14 @@ class CheckBoxField(object):
101103
'export_value': 'ExportValue'
102104
}
103105

104-
def __init__(self, links=None, partial_name=None, rect=None, value=None, page_index=None, height=None, width=None, z_index=None, is_group=None, parent=None, is_shared_field=None, flags=None, color=None, contents=None, margin=None, highlighting=None, horizontal_alignment=None, vertical_alignment=None, border=None, allowed_states=None, style=None, active_state=None, checked=None, export_value=None):
106+
def __init__(self, links=None, partial_name=None, full_name=None, rect=None, value=None, page_index=None, height=None, width=None, z_index=None, is_group=None, parent=None, is_shared_field=None, flags=None, color=None, contents=None, margin=None, highlighting=None, horizontal_alignment=None, vertical_alignment=None, border=None, allowed_states=None, style=None, active_state=None, checked=None, export_value=None):
105107
"""
106108
CheckBoxField - a model defined in Swagger
107109
"""
108110

109111
self._links = None
110112
self._partial_name = None
113+
self._full_name = None
111114
self._rect = None
112115
self._value = None
113116
self._page_index = None
@@ -135,6 +138,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in
135138
self.links = links
136139
if partial_name is not None:
137140
self.partial_name = partial_name
141+
if full_name is not None:
142+
self.full_name = full_name
138143
if rect is not None:
139144
self.rect = rect
140145
if value is not None:
@@ -224,6 +229,29 @@ def partial_name(self, partial_name):
224229

225230
self._partial_name = partial_name
226231

232+
@property
233+
def full_name(self):
234+
"""
235+
Gets the full_name of this CheckBoxField.
236+
Full Field name.
237+
238+
:return: The full_name of this CheckBoxField.
239+
:rtype: str
240+
"""
241+
return self._full_name
242+
243+
@full_name.setter
244+
def full_name(self, full_name):
245+
"""
246+
Sets the full_name of this CheckBoxField.
247+
Full Field name.
248+
249+
:param full_name: The full_name of this CheckBoxField.
250+
:type: str
251+
"""
252+
253+
self._full_name = full_name
254+
227255
@property
228256
def rect(self):
229257
"""

asposepdfcloud/models/choice_field.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class ChoiceField(object):
5050
swagger_types = {
5151
'links': 'list[Link]',
5252
'partial_name': 'str',
53+
'full_name': 'str',
5354
'rect': 'Rectangle',
5455
'value': 'str',
5556
'page_index': 'int',
@@ -74,6 +75,7 @@ class ChoiceField(object):
7475
attribute_map = {
7576
'links': 'Links',
7677
'partial_name': 'PartialName',
78+
'full_name': 'FullName',
7779
'rect': 'Rect',
7880
'value': 'Value',
7981
'page_index': 'PageIndex',
@@ -95,13 +97,14 @@ class ChoiceField(object):
9597
'selected': 'Selected'
9698
}
9799

98-
def __init__(self, links=None, partial_name=None, rect=None, value=None, page_index=None, height=None, width=None, z_index=None, is_group=None, parent=None, is_shared_field=None, flags=None, color=None, contents=None, margin=None, highlighting=None, horizontal_alignment=None, vertical_alignment=None, border=None, multi_select=None, selected=None):
100+
def __init__(self, links=None, partial_name=None, full_name=None, rect=None, value=None, page_index=None, height=None, width=None, z_index=None, is_group=None, parent=None, is_shared_field=None, flags=None, color=None, contents=None, margin=None, highlighting=None, horizontal_alignment=None, vertical_alignment=None, border=None, multi_select=None, selected=None):
99101
"""
100102
ChoiceField - a model defined in Swagger
101103
"""
102104

103105
self._links = None
104106
self._partial_name = None
107+
self._full_name = None
105108
self._rect = None
106109
self._value = None
107110
self._page_index = None
@@ -126,6 +129,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in
126129
self.links = links
127130
if partial_name is not None:
128131
self.partial_name = partial_name
132+
if full_name is not None:
133+
self.full_name = full_name
129134
if rect is not None:
130135
self.rect = rect
131136
if value is not None:
@@ -210,6 +215,29 @@ def partial_name(self, partial_name):
210215

211216
self._partial_name = partial_name
212217

218+
@property
219+
def full_name(self):
220+
"""
221+
Gets the full_name of this ChoiceField.
222+
Full Field name.
223+
224+
:return: The full_name of this ChoiceField.
225+
:rtype: str
226+
"""
227+
return self._full_name
228+
229+
@full_name.setter
230+
def full_name(self, full_name):
231+
"""
232+
Sets the full_name of this ChoiceField.
233+
Full Field name.
234+
235+
:param full_name: The full_name of this ChoiceField.
236+
:type: str
237+
"""
238+
239+
self._full_name = full_name
240+
213241
@property
214242
def rect(self):
215243
"""

asposepdfcloud/models/combo_box_field.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class ComboBoxField(object):
5050
swagger_types = {
5151
'links': 'list[Link]',
5252
'partial_name': 'str',
53+
'full_name': 'str',
5354
'rect': 'Rectangle',
5455
'value': 'str',
5556
'page_index': 'int',
@@ -78,6 +79,7 @@ class ComboBoxField(object):
7879
attribute_map = {
7980
'links': 'Links',
8081
'partial_name': 'PartialName',
82+
'full_name': 'FullName',
8183
'rect': 'Rect',
8284
'value': 'Value',
8385
'page_index': 'PageIndex',
@@ -103,13 +105,14 @@ class ComboBoxField(object):
103105
'spell_check': 'SpellCheck'
104106
}
105107

106-
def __init__(self, links=None, partial_name=None, rect=None, value=None, page_index=None, height=None, width=None, z_index=None, is_group=None, parent=None, is_shared_field=None, flags=None, color=None, contents=None, margin=None, highlighting=None, horizontal_alignment=None, vertical_alignment=None, border=None, multi_select=None, selected=None, options=None, active_state=None, editable=None, spell_check=None):
108+
def __init__(self, links=None, partial_name=None, full_name=None, rect=None, value=None, page_index=None, height=None, width=None, z_index=None, is_group=None, parent=None, is_shared_field=None, flags=None, color=None, contents=None, margin=None, highlighting=None, horizontal_alignment=None, vertical_alignment=None, border=None, multi_select=None, selected=None, options=None, active_state=None, editable=None, spell_check=None):
107109
"""
108110
ComboBoxField - a model defined in Swagger
109111
"""
110112

111113
self._links = None
112114
self._partial_name = None
115+
self._full_name = None
113116
self._rect = None
114117
self._value = None
115118
self._page_index = None
@@ -138,6 +141,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in
138141
self.links = links
139142
if partial_name is not None:
140143
self.partial_name = partial_name
144+
if full_name is not None:
145+
self.full_name = full_name
141146
if rect is not None:
142147
self.rect = rect
143148
if value is not None:
@@ -230,6 +235,29 @@ def partial_name(self, partial_name):
230235

231236
self._partial_name = partial_name
232237

238+
@property
239+
def full_name(self):
240+
"""
241+
Gets the full_name of this ComboBoxField.
242+
Full Field name.
243+
244+
:return: The full_name of this ComboBoxField.
245+
:rtype: str
246+
"""
247+
return self._full_name
248+
249+
@full_name.setter
250+
def full_name(self, full_name):
251+
"""
252+
Sets the full_name of this ComboBoxField.
253+
Full Field name.
254+
255+
:param full_name: The full_name of this ComboBoxField.
256+
:type: str
257+
"""
258+
259+
self._full_name = full_name
260+
233261
@property
234262
def rect(self):
235263
"""

0 commit comments

Comments
 (0)