diff --git a/README.md b/README.md index 817fea1..1ef2044 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Aspose.PDF Cloud - API version: 3.0 -- Package version: 20.5.0 +- Package version: 20.6.0 [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. @@ -527,6 +527,7 @@ Class | Method | HTTP request | Description - [ObjectExist](docs/ObjectExist.md) - [OptimizeOptions](docs/OptimizeOptions.md) - [Option](docs/Option.md) + - [OutputFormat](docs/OutputFormat.md) - [PageLayout](docs/PageLayout.md) - [PageMode](docs/PageMode.md) - [PageWordCount](docs/PageWordCount.md) diff --git a/asposepdfcloud/__init__.py b/asposepdfcloud/__init__.py index 28c8e8f..3ff7539 100644 --- a/asposepdfcloud/__init__.py +++ b/asposepdfcloud/__init__.py @@ -95,6 +95,7 @@ from .models.object_exist import ObjectExist from .models.optimize_options import OptimizeOptions from .models.option import Option +from .models.output_format import OutputFormat from .models.page_layout import PageLayout from .models.page_mode import PageMode from .models.page_word_count import PageWordCount diff --git a/asposepdfcloud/api_client.py b/asposepdfcloud/api_client.py index 2d19228..0256a4f 100644 --- a/asposepdfcloud/api_client.py +++ b/asposepdfcloud/api_client.py @@ -83,7 +83,7 @@ def __init__(self, app_key, app_sid, host=None): self.rest_client = RESTClientObject() self.default_headers = {} self.default_headers['x-aspose-client'] = 'python sdk' - self.default_headers['x-aspose-client-version'] = '20.5.0' + self.default_headers['x-aspose-client-version'] = '20.6.0' self.app_key = app_key self.app_sid = app_sid diff --git a/asposepdfcloud/apis/pdf_api.py b/asposepdfcloud/apis/pdf_api.py index 29d9b07..b7984f7 100644 --- a/asposepdfcloud/apis/pdf_api.py +++ b/asposepdfcloud/apis/pdf_api.py @@ -36396,6 +36396,7 @@ def put_pdf_in_request_to_html(self, out_path, **kwargs): :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. :param str storage: The document storage. :param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. + :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. :param file file: A file to be converted. :return: AsposeResponse If the method is called asynchronously, @@ -36452,13 +36453,14 @@ def put_pdf_in_request_to_html_with_http_info(self, out_path, **kwargs): :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. :param str storage: The document storage. :param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. + :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. :param file file: A file to be converted. :return: AsposeResponse If the method is called asynchronously, returns the request thread. """ - 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'] + 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -36546,6 +36548,8 @@ def put_pdf_in_request_to_html_with_http_info(self, out_path, **kwargs): query_params.append(('storage', params['storage'])) if 'flow_layout_paragraph_full_width' in params: query_params.append(('flowLayoutParagraphFullWidth', params['flow_layout_paragraph_full_width'])) + if 'output_format' in params: + query_params.append(('outputFormat', params['output_format'])) header_params = {} @@ -38240,6 +38244,7 @@ def put_pdf_in_storage_to_html(self, name, out_path, **kwargs): :param str folder: The document folder. :param str storage: The document storage. :param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. + :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. :return: AsposeResponse If the method is called asynchronously, returns the request thread. @@ -38297,12 +38302,13 @@ def put_pdf_in_storage_to_html_with_http_info(self, name, out_path, **kwargs): :param str folder: The document folder. :param str storage: The document storage. :param bool flow_layout_paragraph_full_width: This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. + :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. :return: AsposeResponse If the method is called asynchronously, returns the request thread. """ - 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'] + 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'] all_params.append('callback') all_params.append('_return_http_data_only') all_params.append('_preload_content') @@ -38397,6 +38403,8 @@ def put_pdf_in_storage_to_html_with_http_info(self, name, out_path, **kwargs): query_params.append(('storage', params['storage'])) if 'flow_layout_paragraph_full_width' in params: query_params.append(('flowLayoutParagraphFullWidth', params['flow_layout_paragraph_full_width'])) + if 'output_format' in params: + query_params.append(('outputFormat', params['output_format'])) header_params = {} diff --git a/asposepdfcloud/configuration.py b/asposepdfcloud/configuration.py index b58e9d6..250ce61 100644 --- a/asposepdfcloud/configuration.py +++ b/asposepdfcloud/configuration.py @@ -199,5 +199,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: 3.0\n"\ - "SDK Package Version: 20.5.0".\ + "SDK Package Version: 20.6.0".\ format(env=sys.platform, pyversion=sys.version) diff --git a/asposepdfcloud/models/__init__.py b/asposepdfcloud/models/__init__.py index 06c8c30..9d873e4 100644 --- a/asposepdfcloud/models/__init__.py +++ b/asposepdfcloud/models/__init__.py @@ -95,6 +95,7 @@ from .object_exist import ObjectExist from .optimize_options import OptimizeOptions from .option import Option +from .output_format import OutputFormat from .page_layout import PageLayout from .page_mode import PageMode from .page_word_count import PageWordCount diff --git a/asposepdfcloud/models/check_box_field.py b/asposepdfcloud/models/check_box_field.py index 0e65b0a..e111e1c 100644 --- a/asposepdfcloud/models/check_box_field.py +++ b/asposepdfcloud/models/check_box_field.py @@ -50,6 +50,7 @@ class CheckBoxField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -77,6 +78,7 @@ class CheckBoxField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -101,13 +103,14 @@ class CheckBoxField(object): 'export_value': 'ExportValue' } - 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): + 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): """ CheckBoxField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -135,6 +138,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -224,6 +229,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this CheckBoxField. + Full Field name. + + :return: The full_name of this CheckBoxField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this CheckBoxField. + Full Field name. + + :param full_name: The full_name of this CheckBoxField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/choice_field.py b/asposepdfcloud/models/choice_field.py index b436bf6..9f5c5c8 100644 --- a/asposepdfcloud/models/choice_field.py +++ b/asposepdfcloud/models/choice_field.py @@ -50,6 +50,7 @@ class ChoiceField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -74,6 +75,7 @@ class ChoiceField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -95,13 +97,14 @@ class ChoiceField(object): 'selected': 'Selected' } - 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): + 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): """ ChoiceField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -126,6 +129,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -210,6 +215,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this ChoiceField. + Full Field name. + + :return: The full_name of this ChoiceField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this ChoiceField. + Full Field name. + + :param full_name: The full_name of this ChoiceField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/combo_box_field.py b/asposepdfcloud/models/combo_box_field.py index 4567ee6..56febec 100644 --- a/asposepdfcloud/models/combo_box_field.py +++ b/asposepdfcloud/models/combo_box_field.py @@ -50,6 +50,7 @@ class ComboBoxField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -78,6 +79,7 @@ class ComboBoxField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -103,13 +105,14 @@ class ComboBoxField(object): 'spell_check': 'SpellCheck' } - 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): + 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): """ ComboBoxField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -138,6 +141,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -230,6 +235,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this ComboBoxField. + Full Field name. + + :return: The full_name of this ComboBoxField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this ComboBoxField. + Full Field name. + + :param full_name: The full_name of this ComboBoxField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/form_field.py b/asposepdfcloud/models/form_field.py index 6c7c0d6..57a07a4 100644 --- a/asposepdfcloud/models/form_field.py +++ b/asposepdfcloud/models/form_field.py @@ -50,6 +50,7 @@ class FormField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -72,6 +73,7 @@ class FormField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -91,13 +93,14 @@ class FormField(object): 'border': 'Border' } - 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): + 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): """ FormField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -120,6 +123,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -200,6 +205,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this FormField. + Full Field name. + + :return: The full_name of this FormField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this FormField. + Full Field name. + + :param full_name: The full_name of this FormField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/list_box_field.py b/asposepdfcloud/models/list_box_field.py index c539f16..f5cc77a 100644 --- a/asposepdfcloud/models/list_box_field.py +++ b/asposepdfcloud/models/list_box_field.py @@ -50,6 +50,7 @@ class ListBoxField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -78,6 +79,7 @@ class ListBoxField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -103,13 +105,14 @@ class ListBoxField(object): 'selected_items': 'SelectedItems' } - 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, top_index=None, selected_items=None): + 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, top_index=None, selected_items=None): """ ListBoxField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -138,6 +141,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -230,6 +235,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this ListBoxField. + Full Field name. + + :return: The full_name of this ListBoxField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this ListBoxField. + Full Field name. + + :param full_name: The full_name of this ListBoxField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/output_format.py b/asposepdfcloud/models/output_format.py new file mode 100644 index 0000000..4f63c12 --- /dev/null +++ b/asposepdfcloud/models/output_format.py @@ -0,0 +1,121 @@ +# coding: utf-8 + +""" + Aspose.PDF Cloud API Reference + + + Copyright (c) 2020 Aspose.PDF Cloud + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + + + OpenAPI spec version: 3.0 + +""" + + +from pprint import pformat +from six import iteritems +import re + + +class OutputFormat(object): + """ + NOTE: This class is auto generated by the swagger code generator program. + Do not edit the class manually. + """ + + """ + allowed enum values + """ + ZIP = "Zip" + FOLDER = "Folder" + + """ + Attributes: + swagger_types (dict): The key is attribute name + and the value is attribute type. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + """ + swagger_types = { + + } + + attribute_map = { + + } + + def __init__(self): + """ + OutputFormat - a model defined in Swagger + """ + + + + def to_dict(self): + """ + Returns the model properties as a dict + """ + result = {} + + for attr, _ in iteritems(self.swagger_types): + value = getattr(self, attr) + if isinstance(value, list): + result[attr] = list(map( + lambda x: x.to_dict() if hasattr(x, "to_dict") else x, + value + )) + elif hasattr(value, "to_dict"): + result[attr] = value.to_dict() + elif isinstance(value, dict): + result[attr] = dict(map( + lambda item: (item[0], item[1].to_dict()) + if hasattr(item[1], "to_dict") else item, + value.items() + )) + else: + result[attr] = value + + return result + + def to_str(self): + """ + Returns the string representation of the model + """ + return pformat(self.to_dict()) + + def __repr__(self): + """ + For `print` and `pprint` + """ + return self.to_str() + + def __eq__(self, other): + """ + Returns true if both objects are equal + """ + if not isinstance(other, OutputFormat): + return False + + return self.__dict__ == other.__dict__ + + def __ne__(self, other): + """ + Returns true if both objects are not equal + """ + return not self == other diff --git a/asposepdfcloud/models/radio_button_field.py b/asposepdfcloud/models/radio_button_field.py index c9c86cd..eca0d0c 100644 --- a/asposepdfcloud/models/radio_button_field.py +++ b/asposepdfcloud/models/radio_button_field.py @@ -50,6 +50,7 @@ class RadioButtonField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -77,6 +78,7 @@ class RadioButtonField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -101,13 +103,14 @@ class RadioButtonField(object): 'style': 'Style' } - 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, radio_button_options_field=None, style=None): + 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, radio_button_options_field=None, style=None): """ RadioButtonField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -135,6 +138,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -225,6 +230,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this RadioButtonField. + Full Field name. + + :return: The full_name of this RadioButtonField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this RadioButtonField. + Full Field name. + + :param full_name: The full_name of this RadioButtonField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/radio_button_option_field.py b/asposepdfcloud/models/radio_button_option_field.py index 683854b..e22803f 100644 --- a/asposepdfcloud/models/radio_button_option_field.py +++ b/asposepdfcloud/models/radio_button_option_field.py @@ -50,6 +50,7 @@ class RadioButtonOptionField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -74,6 +75,7 @@ class RadioButtonOptionField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -95,13 +97,14 @@ class RadioButtonOptionField(object): 'style': 'Style' } - 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, option_name=None, style=None): + 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, option_name=None, style=None): """ RadioButtonOptionField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -126,6 +129,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -210,6 +215,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this RadioButtonOptionField. + Full Field name. + + :return: The full_name of this RadioButtonOptionField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this RadioButtonOptionField. + Full Field name. + + :param full_name: The full_name of this RadioButtonOptionField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/signature_field.py b/asposepdfcloud/models/signature_field.py index 0c9163b..921a0ab 100644 --- a/asposepdfcloud/models/signature_field.py +++ b/asposepdfcloud/models/signature_field.py @@ -50,6 +50,7 @@ class SignatureField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -73,6 +74,7 @@ class SignatureField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -93,13 +95,14 @@ class SignatureField(object): 'signature': 'Signature' } - 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, signature=None): + 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, signature=None): """ SignatureField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -123,6 +126,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -205,6 +210,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this SignatureField. + Full Field name. + + :return: The full_name of this SignatureField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this SignatureField. + Full Field name. + + :param full_name: The full_name of this SignatureField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/asposepdfcloud/models/text_box_field.py b/asposepdfcloud/models/text_box_field.py index 7b79385..05d2a29 100644 --- a/asposepdfcloud/models/text_box_field.py +++ b/asposepdfcloud/models/text_box_field.py @@ -50,6 +50,7 @@ class TextBoxField(object): swagger_types = { 'links': 'list[Link]', 'partial_name': 'str', + 'full_name': 'str', 'rect': 'Rectangle', 'value': 'str', 'page_index': 'int', @@ -78,6 +79,7 @@ class TextBoxField(object): attribute_map = { 'links': 'Links', 'partial_name': 'PartialName', + 'full_name': 'FullName', 'rect': 'Rect', 'value': 'Value', 'page_index': 'PageIndex', @@ -103,13 +105,14 @@ class TextBoxField(object): 'barcode': 'Barcode' } - 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, multiline=None, spell_check=None, scrollable=None, force_combs=None, max_len=None, barcode=None): + 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, multiline=None, spell_check=None, scrollable=None, force_combs=None, max_len=None, barcode=None): """ TextBoxField - a model defined in Swagger """ self._links = None self._partial_name = None + self._full_name = None self._rect = None self._value = None self._page_index = None @@ -138,6 +141,8 @@ def __init__(self, links=None, partial_name=None, rect=None, value=None, page_in self.links = links if partial_name is not None: self.partial_name = partial_name + if full_name is not None: + self.full_name = full_name if rect is not None: self.rect = rect if value is not None: @@ -230,6 +235,29 @@ def partial_name(self, partial_name): self._partial_name = partial_name + @property + def full_name(self): + """ + Gets the full_name of this TextBoxField. + Full Field name. + + :return: The full_name of this TextBoxField. + :rtype: str + """ + return self._full_name + + @full_name.setter + def full_name(self, full_name): + """ + Sets the full_name of this TextBoxField. + Full Field name. + + :param full_name: The full_name of this TextBoxField. + :type: str + """ + + self._full_name = full_name + @property def rect(self): """ diff --git a/docs/CheckBoxField.md b/docs/CheckBoxField.md index fd4a856..d176d0a 100644 --- a/docs/CheckBoxField.md +++ b/docs/CheckBoxField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/ChoiceField.md b/docs/ChoiceField.md index cc7f23a..9e73878 100644 --- a/docs/ChoiceField.md +++ b/docs/ChoiceField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/ComboBoxField.md b/docs/ComboBoxField.md index c53ff63..3b8e4b5 100644 --- a/docs/ComboBoxField.md +++ b/docs/ComboBoxField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/FormField.md b/docs/FormField.md index 1cc3bb6..d432636 100644 --- a/docs/FormField.md +++ b/docs/FormField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/ListBoxField.md b/docs/ListBoxField.md index abdf9a8..927d465 100644 --- a/docs/ListBoxField.md +++ b/docs/ListBoxField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/OutputFormat.md b/docs/OutputFormat.md new file mode 100644 index 0000000..ad8185c --- /dev/null +++ b/docs/OutputFormat.md @@ -0,0 +1,13 @@ +# OutputFormat +Enumeration for output type format. + +## Enum +Name | Type | Value | Description +------------ | ------------- | ------------- | ------------- +**ZIP** | **str** | "Zip" | Zip archive. +**FOLDER** | **str** | "Folder" | Folder. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PdfApi.md b/docs/PdfApi.md index 32544ff..fdc7119 100644 --- a/docs/PdfApi.md +++ b/docs/PdfApi.md @@ -8032,7 +8032,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **put_pdf_in_request_to_html** -> AsposeResponse put_pdf_in_request_to_html(out_path, additional_margin_width_in_points=additional_margin_width_in_points, compress_svg_graphics_if_any=compress_svg_graphics_if_any, convert_marked_content_to_layers=convert_marked_content_to_layers, default_font_name=default_font_name, document_type=document_type, fixed_layout=fixed_layout, image_resolution=image_resolution, minimal_line_width=minimal_line_width, prevent_glyphs_grouping=prevent_glyphs_grouping, split_css_into_pages=split_css_into_pages, split_into_pages=split_into_pages, use_z_order=use_z_order, antialiasing_processing=antialiasing_processing, css_class_names_prefix=css_class_names_prefix, explicit_list_of_saved_pages=explicit_list_of_saved_pages, font_encoding_strategy=font_encoding_strategy, font_saving_mode=font_saving_mode, html_markup_generation_mode=html_markup_generation_mode, letters_positioning_method=letters_positioning_method, pages_flow_type_depends_on_viewers_screen_size=pages_flow_type_depends_on_viewers_screen_size, parts_embedding_mode=parts_embedding_mode, raster_images_saving_mode=raster_images_saving_mode, remove_empty_areas_on_top_and_bottom=remove_empty_areas_on_top_and_bottom, save_shadowed_texts_as_transparent_texts=save_shadowed_texts_as_transparent_texts, save_transparent_texts=save_transparent_texts, special_folder_for_all_images=special_folder_for_all_images, special_folder_for_svg_images=special_folder_for_svg_images, try_save_text_underlining_and_strikeouting_in_css=try_save_text_underlining_and_strikeouting_in_css, storage=storage, flow_layout_paragraph_full_width=flow_layout_paragraph_full_width, file=file) +> AsposeResponse put_pdf_in_request_to_html(out_path, additional_margin_width_in_points=additional_margin_width_in_points, compress_svg_graphics_if_any=compress_svg_graphics_if_any, convert_marked_content_to_layers=convert_marked_content_to_layers, default_font_name=default_font_name, document_type=document_type, fixed_layout=fixed_layout, image_resolution=image_resolution, minimal_line_width=minimal_line_width, prevent_glyphs_grouping=prevent_glyphs_grouping, split_css_into_pages=split_css_into_pages, split_into_pages=split_into_pages, use_z_order=use_z_order, antialiasing_processing=antialiasing_processing, css_class_names_prefix=css_class_names_prefix, explicit_list_of_saved_pages=explicit_list_of_saved_pages, font_encoding_strategy=font_encoding_strategy, font_saving_mode=font_saving_mode, html_markup_generation_mode=html_markup_generation_mode, letters_positioning_method=letters_positioning_method, pages_flow_type_depends_on_viewers_screen_size=pages_flow_type_depends_on_viewers_screen_size, parts_embedding_mode=parts_embedding_mode, raster_images_saving_mode=raster_images_saving_mode, remove_empty_areas_on_top_and_bottom=remove_empty_areas_on_top_and_bottom, save_shadowed_texts_as_transparent_texts=save_shadowed_texts_as_transparent_texts, save_transparent_texts=save_transparent_texts, special_folder_for_all_images=special_folder_for_all_images, special_folder_for_svg_images=special_folder_for_svg_images, try_save_text_underlining_and_strikeouting_in_css=try_save_text_underlining_and_strikeouting_in_css, storage=storage, flow_layout_paragraph_full_width=flow_layout_paragraph_full_width, output_format=output_format, file=file) Converts PDF document (in request content) to Html format and uploads resulting file to storage. @@ -8071,6 +8071,7 @@ Name | Type | Description | Notes **try_save_text_underlining_and_strikeouting_in_css** | **bool**| 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. | [optional] **storage** | **str**| The document storage. | [optional] **flow_layout_paragraph_full_width** | **bool**| This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. | [optional] + **output_format** | **str**| 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. | [optional] [default to Zip] **file** | **file**| A file to be converted. | [optional] ### Return type @@ -8434,7 +8435,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **put_pdf_in_storage_to_html** -> AsposeResponse put_pdf_in_storage_to_html(name, out_path, additional_margin_width_in_points=additional_margin_width_in_points, compress_svg_graphics_if_any=compress_svg_graphics_if_any, convert_marked_content_to_layers=convert_marked_content_to_layers, default_font_name=default_font_name, document_type=document_type, fixed_layout=fixed_layout, image_resolution=image_resolution, minimal_line_width=minimal_line_width, prevent_glyphs_grouping=prevent_glyphs_grouping, split_css_into_pages=split_css_into_pages, split_into_pages=split_into_pages, use_z_order=use_z_order, antialiasing_processing=antialiasing_processing, css_class_names_prefix=css_class_names_prefix, explicit_list_of_saved_pages=explicit_list_of_saved_pages, font_encoding_strategy=font_encoding_strategy, font_saving_mode=font_saving_mode, html_markup_generation_mode=html_markup_generation_mode, letters_positioning_method=letters_positioning_method, pages_flow_type_depends_on_viewers_screen_size=pages_flow_type_depends_on_viewers_screen_size, parts_embedding_mode=parts_embedding_mode, raster_images_saving_mode=raster_images_saving_mode, remove_empty_areas_on_top_and_bottom=remove_empty_areas_on_top_and_bottom, save_shadowed_texts_as_transparent_texts=save_shadowed_texts_as_transparent_texts, save_transparent_texts=save_transparent_texts, special_folder_for_all_images=special_folder_for_all_images, special_folder_for_svg_images=special_folder_for_svg_images, try_save_text_underlining_and_strikeouting_in_css=try_save_text_underlining_and_strikeouting_in_css, folder=folder, storage=storage, flow_layout_paragraph_full_width=flow_layout_paragraph_full_width) +> AsposeResponse put_pdf_in_storage_to_html(name, out_path, additional_margin_width_in_points=additional_margin_width_in_points, compress_svg_graphics_if_any=compress_svg_graphics_if_any, convert_marked_content_to_layers=convert_marked_content_to_layers, default_font_name=default_font_name, document_type=document_type, fixed_layout=fixed_layout, image_resolution=image_resolution, minimal_line_width=minimal_line_width, prevent_glyphs_grouping=prevent_glyphs_grouping, split_css_into_pages=split_css_into_pages, split_into_pages=split_into_pages, use_z_order=use_z_order, antialiasing_processing=antialiasing_processing, css_class_names_prefix=css_class_names_prefix, explicit_list_of_saved_pages=explicit_list_of_saved_pages, font_encoding_strategy=font_encoding_strategy, font_saving_mode=font_saving_mode, html_markup_generation_mode=html_markup_generation_mode, letters_positioning_method=letters_positioning_method, pages_flow_type_depends_on_viewers_screen_size=pages_flow_type_depends_on_viewers_screen_size, parts_embedding_mode=parts_embedding_mode, raster_images_saving_mode=raster_images_saving_mode, remove_empty_areas_on_top_and_bottom=remove_empty_areas_on_top_and_bottom, save_shadowed_texts_as_transparent_texts=save_shadowed_texts_as_transparent_texts, save_transparent_texts=save_transparent_texts, special_folder_for_all_images=special_folder_for_all_images, special_folder_for_svg_images=special_folder_for_svg_images, try_save_text_underlining_and_strikeouting_in_css=try_save_text_underlining_and_strikeouting_in_css, folder=folder, storage=storage, flow_layout_paragraph_full_width=flow_layout_paragraph_full_width, output_format=output_format) Converts PDF document (located on storage) to Html format and uploads resulting file to storage @@ -8475,6 +8476,7 @@ Name | Type | Description | Notes **folder** | **str**| The document folder. | [optional] **storage** | **str**| The document storage. | [optional] **flow_layout_paragraph_full_width** | **bool**| This attribute specifies full width paragraph text for Flow mode, FixedLayout = false. | [optional] + **output_format** | **str**| 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. | [optional] [default to Zip] ### Return type diff --git a/docs/RadioButtonField.md b/docs/RadioButtonField.md index 5d1f0ab..b627240 100644 --- a/docs/RadioButtonField.md +++ b/docs/RadioButtonField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/RadioButtonOptionField.md b/docs/RadioButtonOptionField.md index fe75f3d..e79f8d8 100644 --- a/docs/RadioButtonOptionField.md +++ b/docs/RadioButtonOptionField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/SignatureField.md b/docs/SignatureField.md index a27d028..d4aae76 100644 --- a/docs/SignatureField.md +++ b/docs/SignatureField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/docs/TextBoxField.md b/docs/TextBoxField.md index e33169a..eaefa05 100644 --- a/docs/TextBoxField.md +++ b/docs/TextBoxField.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **links** | [**list[Link]**](Link.md) | Link to the document. | [optional] **partial_name** | **str** | Field name. | [optional] +**full_name** | **str** | Full Field name. | [optional] **rect** | [**Rectangle**](Rectangle.md) | Field rectangle. | [optional] **value** | **str** | Field value. | [optional] **page_index** | **int** | Page index. | diff --git a/setup.py b/setup.py index 592d66e..53c2972 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ from setuptools import setup, find_packages NAME = "asposepdfcloud" -VERSION = "20.5.0" +VERSION = "20.6.0" # To install the library, run the following # # python setup.py install diff --git a/test/pdf_tests.py b/test/pdf_tests.py index f4b18d3..e3dd4a5 100644 --- a/test/pdf_tests.py +++ b/test/pdf_tests.py @@ -2566,10 +2566,11 @@ def testGetPdfInStorageToHtml(self): def testPutPdfInStorageToHtml(self): file_name = '4pages.pdf' self.uploadFile(file_name) - result_file_name = "result.zip" + result_file_name = "result.html" opts = { - "folder" : self.temp_folder + "output_format" : asposepdfcloud.models.OutputFormat.FOLDER, + "folder" : self.temp_folder } response = self.pdf_api.put_pdf_in_storage_to_html(file_name, self.temp_folder + '/' + result_file_name, **opts)