aspose_words_cloud 21.4.0 → 21.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +21 -0
- data/lib/aspose_words_cloud/api_client.rb +93 -6
- data/lib/aspose_words_cloud/configuration.rb +2 -1
- data/lib/aspose_words_cloud/models/font.rb +2 -2
- data/lib/aspose_words_cloud/models/paragraph_format.rb +2 -2
- data/lib/aspose_words_cloud/models/paragraph_format_base.rb +2 -2
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/append_document_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +101 -0
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +102 -0
- data/lib/aspose_words_cloud/models/requests/classify_request.rb +93 -0
- data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +102 -0
- data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/create_document_request.rb +88 -0
- data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +92 -0
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +108 -0
- data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +94 -0
- data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +94 -0
- data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +114 -0
- data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/download_file_request.rb +94 -0
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +84 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_border_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +108 -0
- data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_field_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +92 -0
- data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_list_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_run_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_section_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/get_style_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +97 -0
- data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +98 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_table_request.rb +106 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +110 -0
- data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +93 -0
- data/lib/aspose_words_cloud/models/requests/move_file_request.rb +102 -0
- data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +108 -0
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/render_page_request.rb +112 -0
- data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/render_table_request.rb +116 -0
- data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +109 -0
- data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +81 -0
- data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +111 -0
- data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/save_as_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +139 -0
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +141 -0
- data/lib/aspose_words_cloud/models/requests/search_online_request.rb +103 -0
- data/lib/aspose_words_cloud/models/requests/search_request.rb +104 -0
- data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +113 -0
- data/lib/aspose_words_cloud/models/requests/split_document_request.rb +114 -0
- data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +105 -0
- data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +107 -0
- data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_border_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +127 -0
- data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_field_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +99 -0
- data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +100 -0
- data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_list_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_run_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/update_style_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +117 -0
- data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +119 -0
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +121 -0
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +123 -0
- data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +101 -0
- data/lib/aspose_words_cloud/models/style.rb +2 -2
- data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
- data/lib/aspose_words_cloud/version.rb +1 -1
- metadata +2 -2
@@ -64,5 +64,116 @@ module AsposeWordsCloud
|
|
64
64
|
self.load_encoding = load_encoding
|
65
65
|
self.password = password
|
66
66
|
end
|
67
|
+
|
68
|
+
# Creating batch part from request
|
69
|
+
def to_batch_part(api_client)
|
70
|
+
# verify the required parameter 'document' is set
|
71
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.save_as_range_online' if api_client.config.client_side_validation && self.document.nil?
|
72
|
+
# verify the required parameter 'range_start_identifier' is set
|
73
|
+
raise ArgumentError, 'Missing the required parameter range_start_identifier when calling WordsApi.save_as_range_online' if api_client.config.client_side_validation && self.range_start_identifier.nil?
|
74
|
+
# verify the required parameter 'document_parameters' is set
|
75
|
+
raise ArgumentError, 'Missing the required parameter document_parameters when calling WordsApi.save_as_range_online' if api_client.config.client_side_validation && self.document_parameters.nil?
|
76
|
+
|
77
|
+
# resource path
|
78
|
+
local_var_path = '/words/online/post/range/{rangeStartIdentifier}/{rangeEndIdentifier}/SaveAs'[7..-1]
|
79
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeStartIdentifier') + '}', self.range_start_identifier.nil? ? '' : self.range_start_identifier.to_s)
|
80
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeEndIdentifier') + '}', self.range_end_identifier.nil? ? '' : self.range_end_identifier.to_s)
|
81
|
+
local_var_path = local_var_path.sub('//', '/')
|
82
|
+
|
83
|
+
# query parameters
|
84
|
+
query_params = {}
|
85
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
86
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
87
|
+
|
88
|
+
if query_params
|
89
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
90
|
+
end
|
91
|
+
|
92
|
+
header_params = {}
|
93
|
+
# header parameters
|
94
|
+
# HTTP header 'Content-Type'
|
95
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
96
|
+
|
97
|
+
# form parameters
|
98
|
+
form_params = {}
|
99
|
+
form_params[downcase_first_letter('Document')] = self.document
|
100
|
+
form_params[downcase_first_letter('DocumentParameters')] = self.document_parameters.to_body.to_json
|
101
|
+
|
102
|
+
# http body (model)
|
103
|
+
post_body = nil
|
104
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
105
|
+
part = ""
|
106
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
107
|
+
part.concat(" ".force_encoding('UTF-8'))
|
108
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
109
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
110
|
+
|
111
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
112
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
113
|
+
if body
|
114
|
+
if body.is_a?(Hash)
|
115
|
+
body.each do |key, value|
|
116
|
+
part.concat(value, "\r\n")
|
117
|
+
end
|
118
|
+
else
|
119
|
+
part.concat(body)
|
120
|
+
end
|
121
|
+
end
|
122
|
+
part
|
123
|
+
end
|
124
|
+
|
125
|
+
def create_http_request(api_client)
|
126
|
+
# verify the required parameter 'document' is set
|
127
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.save_as_range_online' if api_client.config.client_side_validation && self.document.nil?
|
128
|
+
# verify the required parameter 'range_start_identifier' is set
|
129
|
+
raise ArgumentError, 'Missing the required parameter range_start_identifier when calling WordsApi.save_as_range_online' if api_client.config.client_side_validation && self.range_start_identifier.nil?
|
130
|
+
# verify the required parameter 'document_parameters' is set
|
131
|
+
raise ArgumentError, 'Missing the required parameter document_parameters when calling WordsApi.save_as_range_online' if api_client.config.client_side_validation && self.document_parameters.nil?
|
132
|
+
|
133
|
+
# resource path
|
134
|
+
local_var_path = '/words/online/post/range/{rangeStartIdentifier}/{rangeEndIdentifier}/SaveAs'[1..-1]
|
135
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeStartIdentifier') + '}', self.range_start_identifier.nil? ? '' : self.range_start_identifier.to_s)
|
136
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeEndIdentifier') + '}', self.range_end_identifier.nil? ? '' : self.range_end_identifier.to_s)
|
137
|
+
local_var_path = local_var_path.sub('//', '/')
|
138
|
+
|
139
|
+
# query parameters
|
140
|
+
query_params = {}
|
141
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
142
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
143
|
+
|
144
|
+
# header parameters
|
145
|
+
header_params = {}
|
146
|
+
# HTTP header 'Content-Type'
|
147
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
148
|
+
|
149
|
+
# form parameters
|
150
|
+
form_params = {}
|
151
|
+
form_params[downcase_first_letter('Document')] = self.document
|
152
|
+
form_params[downcase_first_letter('DocumentParameters')] = self.document_parameters.to_body.to_json
|
153
|
+
|
154
|
+
# http body (model)
|
155
|
+
post_body = nil
|
156
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
157
|
+
{
|
158
|
+
'method': :PUT,
|
159
|
+
'path': local_var_path,
|
160
|
+
'header_params': header_params,
|
161
|
+
'query_params': query_params,
|
162
|
+
'body': body,
|
163
|
+
'auth_names': ['JWT']
|
164
|
+
}
|
165
|
+
end
|
166
|
+
|
167
|
+
#
|
168
|
+
# Helper method to convert first letter to downcase
|
169
|
+
#
|
170
|
+
def downcase_first_letter(str)
|
171
|
+
str[0].downcase + str[1..-1]
|
172
|
+
end
|
173
|
+
|
174
|
+
# Get response type
|
175
|
+
def get_response_type
|
176
|
+
'SaveAsRangeOnlineResponse'
|
177
|
+
end
|
67
178
|
end
|
68
179
|
end
|
@@ -74,5 +74,118 @@ module AsposeWordsCloud
|
|
74
74
|
self.load_encoding = load_encoding
|
75
75
|
self.password = password
|
76
76
|
end
|
77
|
+
|
78
|
+
# Creating batch part from request
|
79
|
+
def to_batch_part(api_client)
|
80
|
+
# verify the required parameter 'name' is set
|
81
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.save_as_range' if api_client.config.client_side_validation && self.name.nil?
|
82
|
+
# verify the required parameter 'range_start_identifier' is set
|
83
|
+
raise ArgumentError, 'Missing the required parameter range_start_identifier when calling WordsApi.save_as_range' if api_client.config.client_side_validation && self.range_start_identifier.nil?
|
84
|
+
# verify the required parameter 'document_parameters' is set
|
85
|
+
raise ArgumentError, 'Missing the required parameter document_parameters when calling WordsApi.save_as_range' if api_client.config.client_side_validation && self.document_parameters.nil?
|
86
|
+
|
87
|
+
# resource path
|
88
|
+
local_var_path = '/words/{name}/range/{rangeStartIdentifier}/{rangeEndIdentifier}/SaveAs'[7..-1]
|
89
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
90
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeStartIdentifier') + '}', self.range_start_identifier.nil? ? '' : self.range_start_identifier.to_s)
|
91
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeEndIdentifier') + '}', self.range_end_identifier.nil? ? '' : self.range_end_identifier.to_s)
|
92
|
+
local_var_path = local_var_path.sub('//', '/')
|
93
|
+
|
94
|
+
# query parameters
|
95
|
+
query_params = {}
|
96
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
97
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
98
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
99
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
100
|
+
|
101
|
+
if query_params
|
102
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
103
|
+
end
|
104
|
+
|
105
|
+
header_params = {}
|
106
|
+
# header parameters
|
107
|
+
# HTTP header 'Content-Type'
|
108
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
109
|
+
|
110
|
+
# form parameters
|
111
|
+
form_params = {}
|
112
|
+
|
113
|
+
# http body (model)
|
114
|
+
post_body = api_client.object_to_http_body(self.document_parameters)
|
115
|
+
body = post_body
|
116
|
+
part = ""
|
117
|
+
part.concat("POST".force_encoding('UTF-8'))
|
118
|
+
part.concat(" ".force_encoding('UTF-8'))
|
119
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
120
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
121
|
+
|
122
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
123
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
124
|
+
if body
|
125
|
+
if body.is_a?(Hash)
|
126
|
+
body.each do |key, value|
|
127
|
+
part.concat(value, "\r\n")
|
128
|
+
end
|
129
|
+
else
|
130
|
+
part.concat(body)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
part
|
134
|
+
end
|
135
|
+
|
136
|
+
def create_http_request(api_client)
|
137
|
+
# verify the required parameter 'name' is set
|
138
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.save_as_range' if api_client.config.client_side_validation && self.name.nil?
|
139
|
+
# verify the required parameter 'range_start_identifier' is set
|
140
|
+
raise ArgumentError, 'Missing the required parameter range_start_identifier when calling WordsApi.save_as_range' if api_client.config.client_side_validation && self.range_start_identifier.nil?
|
141
|
+
# verify the required parameter 'document_parameters' is set
|
142
|
+
raise ArgumentError, 'Missing the required parameter document_parameters when calling WordsApi.save_as_range' if api_client.config.client_side_validation && self.document_parameters.nil?
|
143
|
+
|
144
|
+
# resource path
|
145
|
+
local_var_path = '/words/{name}/range/{rangeStartIdentifier}/{rangeEndIdentifier}/SaveAs'[1..-1]
|
146
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
147
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeStartIdentifier') + '}', self.range_start_identifier.nil? ? '' : self.range_start_identifier.to_s)
|
148
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('RangeEndIdentifier') + '}', self.range_end_identifier.nil? ? '' : self.range_end_identifier.to_s)
|
149
|
+
local_var_path = local_var_path.sub('//', '/')
|
150
|
+
|
151
|
+
# query parameters
|
152
|
+
query_params = {}
|
153
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
154
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
155
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
156
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
157
|
+
|
158
|
+
# header parameters
|
159
|
+
header_params = {}
|
160
|
+
# HTTP header 'Content-Type'
|
161
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
162
|
+
|
163
|
+
# form parameters
|
164
|
+
form_params = {}
|
165
|
+
|
166
|
+
# http body (model)
|
167
|
+
post_body = api_client.object_to_http_body(self.document_parameters)
|
168
|
+
body = post_body
|
169
|
+
{
|
170
|
+
'method': :POST,
|
171
|
+
'path': local_var_path,
|
172
|
+
'header_params': header_params,
|
173
|
+
'query_params': query_params,
|
174
|
+
'body': body,
|
175
|
+
'auth_names': ['JWT']
|
176
|
+
}
|
177
|
+
end
|
178
|
+
|
179
|
+
#
|
180
|
+
# Helper method to convert first letter to downcase
|
181
|
+
#
|
182
|
+
def downcase_first_letter(str)
|
183
|
+
str[0].downcase + str[1..-1]
|
184
|
+
end
|
185
|
+
|
186
|
+
# Get response type
|
187
|
+
def get_response_type
|
188
|
+
'DocumentResponse'
|
189
|
+
end
|
77
190
|
end
|
78
191
|
end
|
@@ -69,5 +69,112 @@ module AsposeWordsCloud
|
|
69
69
|
self.password = password
|
70
70
|
self.fonts_location = fonts_location
|
71
71
|
end
|
72
|
+
|
73
|
+
# Creating batch part from request
|
74
|
+
def to_batch_part(api_client)
|
75
|
+
# verify the required parameter 'name' is set
|
76
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.save_as' if api_client.config.client_side_validation && self.name.nil?
|
77
|
+
# verify the required parameter 'save_options_data' is set
|
78
|
+
raise ArgumentError, 'Missing the required parameter save_options_data when calling WordsApi.save_as' if api_client.config.client_side_validation && self.save_options_data.nil?
|
79
|
+
|
80
|
+
# resource path
|
81
|
+
local_var_path = '/words/{name}/saveAs'[7..-1]
|
82
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
83
|
+
local_var_path = local_var_path.sub('//', '/')
|
84
|
+
|
85
|
+
# query parameters
|
86
|
+
query_params = {}
|
87
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
88
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
89
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
90
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
91
|
+
query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
|
92
|
+
|
93
|
+
if query_params
|
94
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
95
|
+
end
|
96
|
+
|
97
|
+
header_params = {}
|
98
|
+
# header parameters
|
99
|
+
# HTTP header 'Content-Type'
|
100
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
101
|
+
|
102
|
+
# form parameters
|
103
|
+
form_params = {}
|
104
|
+
|
105
|
+
# http body (model)
|
106
|
+
post_body = api_client.object_to_http_body(self.save_options_data)
|
107
|
+
body = post_body
|
108
|
+
part = ""
|
109
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
110
|
+
part.concat(" ".force_encoding('UTF-8'))
|
111
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
112
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
113
|
+
|
114
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
115
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
116
|
+
if body
|
117
|
+
if body.is_a?(Hash)
|
118
|
+
body.each do |key, value|
|
119
|
+
part.concat(value, "\r\n")
|
120
|
+
end
|
121
|
+
else
|
122
|
+
part.concat(body)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
part
|
126
|
+
end
|
127
|
+
|
128
|
+
def create_http_request(api_client)
|
129
|
+
# verify the required parameter 'name' is set
|
130
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.save_as' if api_client.config.client_side_validation && self.name.nil?
|
131
|
+
# verify the required parameter 'save_options_data' is set
|
132
|
+
raise ArgumentError, 'Missing the required parameter save_options_data when calling WordsApi.save_as' if api_client.config.client_side_validation && self.save_options_data.nil?
|
133
|
+
|
134
|
+
# resource path
|
135
|
+
local_var_path = '/words/{name}/saveAs'[1..-1]
|
136
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
137
|
+
local_var_path = local_var_path.sub('//', '/')
|
138
|
+
|
139
|
+
# query parameters
|
140
|
+
query_params = {}
|
141
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
142
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
143
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
144
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
145
|
+
query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
|
146
|
+
|
147
|
+
# header parameters
|
148
|
+
header_params = {}
|
149
|
+
# HTTP header 'Content-Type'
|
150
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
151
|
+
|
152
|
+
# form parameters
|
153
|
+
form_params = {}
|
154
|
+
|
155
|
+
# http body (model)
|
156
|
+
post_body = api_client.object_to_http_body(self.save_options_data)
|
157
|
+
body = post_body
|
158
|
+
{
|
159
|
+
'method': :PUT,
|
160
|
+
'path': local_var_path,
|
161
|
+
'header_params': header_params,
|
162
|
+
'query_params': query_params,
|
163
|
+
'body': body,
|
164
|
+
'auth_names': ['JWT']
|
165
|
+
}
|
166
|
+
end
|
167
|
+
|
168
|
+
#
|
169
|
+
# Helper method to convert first letter to downcase
|
170
|
+
#
|
171
|
+
def downcase_first_letter(str)
|
172
|
+
str[0].downcase + str[1..-1]
|
173
|
+
end
|
174
|
+
|
175
|
+
# Get response type
|
176
|
+
def get_response_type
|
177
|
+
'SaveResponse'
|
178
|
+
end
|
72
179
|
end
|
73
180
|
end
|
@@ -144,5 +144,144 @@ module AsposeWordsCloud
|
|
144
144
|
self.zip_output = zip_output
|
145
145
|
self.fonts_location = fonts_location
|
146
146
|
end
|
147
|
+
|
148
|
+
# Creating batch part from request
|
149
|
+
def to_batch_part(api_client)
|
150
|
+
# verify the required parameter 'document' is set
|
151
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.save_as_tiff_online' if api_client.config.client_side_validation && self.document.nil?
|
152
|
+
# verify the required parameter 'save_options' is set
|
153
|
+
raise ArgumentError, 'Missing the required parameter save_options when calling WordsApi.save_as_tiff_online' if api_client.config.client_side_validation && self.save_options.nil?
|
154
|
+
|
155
|
+
# resource path
|
156
|
+
local_var_path = '/words/online/put/saveAs/tiff'[7..-1]
|
157
|
+
local_var_path = local_var_path.sub('//', '/')
|
158
|
+
|
159
|
+
# query parameters
|
160
|
+
query_params = {}
|
161
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
162
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
163
|
+
query_params[downcase_first_letter('UseAntiAliasing')] = self.use_anti_aliasing unless self.use_anti_aliasing.nil?
|
164
|
+
query_params[downcase_first_letter('UseHighQualityRendering')] = self.use_high_quality_rendering unless self.use_high_quality_rendering.nil?
|
165
|
+
query_params[downcase_first_letter('ImageBrightness')] = self.image_brightness unless self.image_brightness.nil?
|
166
|
+
query_params[downcase_first_letter('ImageColorMode')] = self.image_color_mode unless self.image_color_mode.nil?
|
167
|
+
query_params[downcase_first_letter('ImageContrast')] = self.image_contrast unless self.image_contrast.nil?
|
168
|
+
query_params[downcase_first_letter('NumeralFormat')] = self.numeral_format unless self.numeral_format.nil?
|
169
|
+
query_params[downcase_first_letter('PageCount')] = self.page_count unless self.page_count.nil?
|
170
|
+
query_params[downcase_first_letter('PageIndex')] = self.page_index unless self.page_index.nil?
|
171
|
+
query_params[downcase_first_letter('PaperColor')] = self.paper_color unless self.paper_color.nil?
|
172
|
+
query_params[downcase_first_letter('PixelFormat')] = self.pixel_format unless self.pixel_format.nil?
|
173
|
+
query_params[downcase_first_letter('Resolution')] = self.resolution unless self.resolution.nil?
|
174
|
+
query_params[downcase_first_letter('Scale')] = self.scale unless self.scale.nil?
|
175
|
+
query_params[downcase_first_letter('TiffCompression')] = self.tiff_compression unless self.tiff_compression.nil?
|
176
|
+
query_params[downcase_first_letter('DmlRenderingMode')] = self.dml_rendering_mode unless self.dml_rendering_mode.nil?
|
177
|
+
query_params[downcase_first_letter('DmlEffectsRenderingMode')] = self.dml_effects_rendering_mode unless self.dml_effects_rendering_mode.nil?
|
178
|
+
query_params[downcase_first_letter('TiffBinarizationMethod')] = self.tiff_binarization_method unless self.tiff_binarization_method.nil?
|
179
|
+
query_params[downcase_first_letter('ZipOutput')] = self.zip_output unless self.zip_output.nil?
|
180
|
+
query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
|
181
|
+
|
182
|
+
if query_params
|
183
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
184
|
+
end
|
185
|
+
|
186
|
+
header_params = {}
|
187
|
+
# header parameters
|
188
|
+
# HTTP header 'Content-Type'
|
189
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
190
|
+
|
191
|
+
# form parameters
|
192
|
+
form_params = {}
|
193
|
+
form_params[downcase_first_letter('Document')] = self.document
|
194
|
+
form_params[downcase_first_letter('SaveOptions')] = self.save_options.to_body.to_json
|
195
|
+
|
196
|
+
# http body (model)
|
197
|
+
post_body = nil
|
198
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
199
|
+
part = ""
|
200
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
201
|
+
part.concat(" ".force_encoding('UTF-8'))
|
202
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
203
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
204
|
+
|
205
|
+
header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
|
206
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
207
|
+
if body
|
208
|
+
if body.is_a?(Hash)
|
209
|
+
body.each do |key, value|
|
210
|
+
part.concat(value, "\r\n")
|
211
|
+
end
|
212
|
+
else
|
213
|
+
part.concat(body)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
part
|
217
|
+
end
|
218
|
+
|
219
|
+
def create_http_request(api_client)
|
220
|
+
# verify the required parameter 'document' is set
|
221
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.save_as_tiff_online' if api_client.config.client_side_validation && self.document.nil?
|
222
|
+
# verify the required parameter 'save_options' is set
|
223
|
+
raise ArgumentError, 'Missing the required parameter save_options when calling WordsApi.save_as_tiff_online' if api_client.config.client_side_validation && self.save_options.nil?
|
224
|
+
|
225
|
+
# resource path
|
226
|
+
local_var_path = '/words/online/put/saveAs/tiff'[1..-1]
|
227
|
+
local_var_path = local_var_path.sub('//', '/')
|
228
|
+
|
229
|
+
# query parameters
|
230
|
+
query_params = {}
|
231
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
232
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
233
|
+
query_params[downcase_first_letter('UseAntiAliasing')] = self.use_anti_aliasing unless self.use_anti_aliasing.nil?
|
234
|
+
query_params[downcase_first_letter('UseHighQualityRendering')] = self.use_high_quality_rendering unless self.use_high_quality_rendering.nil?
|
235
|
+
query_params[downcase_first_letter('ImageBrightness')] = self.image_brightness unless self.image_brightness.nil?
|
236
|
+
query_params[downcase_first_letter('ImageColorMode')] = self.image_color_mode unless self.image_color_mode.nil?
|
237
|
+
query_params[downcase_first_letter('ImageContrast')] = self.image_contrast unless self.image_contrast.nil?
|
238
|
+
query_params[downcase_first_letter('NumeralFormat')] = self.numeral_format unless self.numeral_format.nil?
|
239
|
+
query_params[downcase_first_letter('PageCount')] = self.page_count unless self.page_count.nil?
|
240
|
+
query_params[downcase_first_letter('PageIndex')] = self.page_index unless self.page_index.nil?
|
241
|
+
query_params[downcase_first_letter('PaperColor')] = self.paper_color unless self.paper_color.nil?
|
242
|
+
query_params[downcase_first_letter('PixelFormat')] = self.pixel_format unless self.pixel_format.nil?
|
243
|
+
query_params[downcase_first_letter('Resolution')] = self.resolution unless self.resolution.nil?
|
244
|
+
query_params[downcase_first_letter('Scale')] = self.scale unless self.scale.nil?
|
245
|
+
query_params[downcase_first_letter('TiffCompression')] = self.tiff_compression unless self.tiff_compression.nil?
|
246
|
+
query_params[downcase_first_letter('DmlRenderingMode')] = self.dml_rendering_mode unless self.dml_rendering_mode.nil?
|
247
|
+
query_params[downcase_first_letter('DmlEffectsRenderingMode')] = self.dml_effects_rendering_mode unless self.dml_effects_rendering_mode.nil?
|
248
|
+
query_params[downcase_first_letter('TiffBinarizationMethod')] = self.tiff_binarization_method unless self.tiff_binarization_method.nil?
|
249
|
+
query_params[downcase_first_letter('ZipOutput')] = self.zip_output unless self.zip_output.nil?
|
250
|
+
query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
|
251
|
+
|
252
|
+
# header parameters
|
253
|
+
header_params = {}
|
254
|
+
# HTTP header 'Content-Type'
|
255
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
256
|
+
|
257
|
+
# form parameters
|
258
|
+
form_params = {}
|
259
|
+
form_params[downcase_first_letter('Document')] = self.document
|
260
|
+
form_params[downcase_first_letter('SaveOptions')] = self.save_options.to_body.to_json
|
261
|
+
|
262
|
+
# http body (model)
|
263
|
+
post_body = nil
|
264
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
265
|
+
{
|
266
|
+
'method': :PUT,
|
267
|
+
'path': local_var_path,
|
268
|
+
'header_params': header_params,
|
269
|
+
'query_params': query_params,
|
270
|
+
'body': body,
|
271
|
+
'auth_names': ['JWT']
|
272
|
+
}
|
273
|
+
end
|
274
|
+
|
275
|
+
#
|
276
|
+
# Helper method to convert first letter to downcase
|
277
|
+
#
|
278
|
+
def downcase_first_letter(str)
|
279
|
+
str[0].downcase + str[1..-1]
|
280
|
+
end
|
281
|
+
|
282
|
+
# Get response type
|
283
|
+
def get_response_type
|
284
|
+
'SaveAsTiffOnlineResponse'
|
285
|
+
end
|
147
286
|
end
|
148
287
|
end
|