aspose_words_cloud 21.2.0 → 21.6.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.rb +1 -0
- data/lib/aspose_words_cloud/api/words_api.rb +22 -0
- data/lib/aspose_words_cloud/api_client.rb +95 -7
- data/lib/aspose_words_cloud/configuration.rb +2 -1
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/compare_options.rb +11 -1
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/font.rb +2 -2
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +22 -1
- 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/pcl_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +22 -11
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +22 -1
- 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 +113 -1
- 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/rtf_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/style.rb +2 -2
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/time_zone_info_data.rb +231 -0
- data/lib/aspose_words_cloud/models/txt_save_options_base_data.rb +22 -1
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +22 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- metadata +28 -13
@@ -79,5 +79,115 @@ module AsposeWordsCloud
|
|
79
79
|
self.revision_author = revision_author
|
80
80
|
self.revision_date_time = revision_date_time
|
81
81
|
end
|
82
|
+
|
83
|
+
# Creating batch part from request
|
84
|
+
def to_batch_part(api_client)
|
85
|
+
# verify the required parameter 'name' is set
|
86
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_section' if api_client.config.client_side_validation && self.name.nil?
|
87
|
+
# verify the required parameter 'section_index' is set
|
88
|
+
raise ArgumentError, 'Missing the required parameter section_index when calling WordsApi.delete_section' if api_client.config.client_side_validation && self.section_index.nil?
|
89
|
+
|
90
|
+
# resource path
|
91
|
+
local_var_path = '/words/{name}/sections/{sectionIndex}'[7..-1]
|
92
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
93
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('SectionIndex') + '}', self.section_index.nil? ? '' : self.section_index.to_s)
|
94
|
+
local_var_path = local_var_path.sub('//', '/')
|
95
|
+
|
96
|
+
# query parameters
|
97
|
+
query_params = {}
|
98
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
99
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
100
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
101
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
102
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
103
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
104
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
105
|
+
|
106
|
+
if query_params
|
107
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
108
|
+
end
|
109
|
+
|
110
|
+
header_params = {}
|
111
|
+
|
112
|
+
# form parameters
|
113
|
+
form_params = {}
|
114
|
+
|
115
|
+
# http body (model)
|
116
|
+
post_body = nil
|
117
|
+
body = nil
|
118
|
+
part = ""
|
119
|
+
part.concat("DELETE".force_encoding('UTF-8'))
|
120
|
+
part.concat(" ".force_encoding('UTF-8'))
|
121
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
122
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
123
|
+
|
124
|
+
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')) }
|
125
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
126
|
+
if body
|
127
|
+
if body.is_a?(Hash)
|
128
|
+
body.each do |key, value|
|
129
|
+
part.concat(value, "\r\n")
|
130
|
+
end
|
131
|
+
else
|
132
|
+
part.concat(body)
|
133
|
+
end
|
134
|
+
end
|
135
|
+
part
|
136
|
+
end
|
137
|
+
|
138
|
+
def create_http_request(api_client)
|
139
|
+
# verify the required parameter 'name' is set
|
140
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_section' if api_client.config.client_side_validation && self.name.nil?
|
141
|
+
# verify the required parameter 'section_index' is set
|
142
|
+
raise ArgumentError, 'Missing the required parameter section_index when calling WordsApi.delete_section' if api_client.config.client_side_validation && self.section_index.nil?
|
143
|
+
|
144
|
+
# resource path
|
145
|
+
local_var_path = '/words/{name}/sections/{sectionIndex}'[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('SectionIndex') + '}', self.section_index.nil? ? '' : self.section_index.to_s)
|
148
|
+
local_var_path = local_var_path.sub('//', '/')
|
149
|
+
|
150
|
+
# query parameters
|
151
|
+
query_params = {}
|
152
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
153
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
154
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
155
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
156
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
157
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
158
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
159
|
+
|
160
|
+
# header parameters
|
161
|
+
header_params = {}
|
162
|
+
# HTTP header 'Content-Type'
|
163
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
164
|
+
|
165
|
+
# form parameters
|
166
|
+
form_params = {}
|
167
|
+
|
168
|
+
# http body (model)
|
169
|
+
post_body = nil
|
170
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
171
|
+
{
|
172
|
+
'method': :DELETE,
|
173
|
+
'path': local_var_path,
|
174
|
+
'header_params': header_params,
|
175
|
+
'query_params': query_params,
|
176
|
+
'body': body,
|
177
|
+
'auth_names': ['JWT']
|
178
|
+
}
|
179
|
+
end
|
180
|
+
|
181
|
+
#
|
182
|
+
# Helper method to convert first letter to downcase
|
183
|
+
#
|
184
|
+
def downcase_first_letter(str)
|
185
|
+
str[0].downcase + str[1..-1]
|
186
|
+
end
|
187
|
+
|
188
|
+
# Get response type
|
189
|
+
def get_response_type
|
190
|
+
nil
|
191
|
+
end
|
82
192
|
end
|
83
193
|
end
|
@@ -74,5 +74,120 @@ module AsposeWordsCloud
|
|
74
74
|
self.revision_author = revision_author
|
75
75
|
self.revision_date_time = revision_date_time
|
76
76
|
end
|
77
|
+
|
78
|
+
# Creating batch part from request
|
79
|
+
def to_batch_part(api_client)
|
80
|
+
# verify the required parameter 'document' is set
|
81
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.delete_table_cell_online' if api_client.config.client_side_validation && self.document.nil?
|
82
|
+
# verify the required parameter 'table_row_path' is set
|
83
|
+
raise ArgumentError, 'Missing the required parameter table_row_path when calling WordsApi.delete_table_cell_online' if api_client.config.client_side_validation && self.table_row_path.nil?
|
84
|
+
# verify the required parameter 'index' is set
|
85
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_table_cell_online' if api_client.config.client_side_validation && self.index.nil?
|
86
|
+
|
87
|
+
# resource path
|
88
|
+
local_var_path = '/words/online/delete/{tableRowPath}/cells/{index}'[7..-1]
|
89
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('TableRowPath') + '}', self.table_row_path.nil? ? '' : self.table_row_path.to_s)
|
90
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
91
|
+
local_var_path = local_var_path.sub('//', '/')
|
92
|
+
|
93
|
+
# query parameters
|
94
|
+
query_params = {}
|
95
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
96
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
97
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
98
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
99
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.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(['multipart/form-data'])
|
109
|
+
|
110
|
+
# form parameters
|
111
|
+
form_params = {}
|
112
|
+
form_params[downcase_first_letter('Document')] = self.document
|
113
|
+
|
114
|
+
# http body (model)
|
115
|
+
post_body = nil
|
116
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
117
|
+
part = ""
|
118
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
119
|
+
part.concat(" ".force_encoding('UTF-8'))
|
120
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
121
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
122
|
+
|
123
|
+
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')) }
|
124
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
125
|
+
if body
|
126
|
+
if body.is_a?(Hash)
|
127
|
+
body.each do |key, value|
|
128
|
+
part.concat(value, "\r\n")
|
129
|
+
end
|
130
|
+
else
|
131
|
+
part.concat(body)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
part
|
135
|
+
end
|
136
|
+
|
137
|
+
def create_http_request(api_client)
|
138
|
+
# verify the required parameter 'document' is set
|
139
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.delete_table_cell_online' if api_client.config.client_side_validation && self.document.nil?
|
140
|
+
# verify the required parameter 'table_row_path' is set
|
141
|
+
raise ArgumentError, 'Missing the required parameter table_row_path when calling WordsApi.delete_table_cell_online' if api_client.config.client_side_validation && self.table_row_path.nil?
|
142
|
+
# verify the required parameter 'index' is set
|
143
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_table_cell_online' if api_client.config.client_side_validation && self.index.nil?
|
144
|
+
|
145
|
+
# resource path
|
146
|
+
local_var_path = '/words/online/delete/{tableRowPath}/cells/{index}'[1..-1]
|
147
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('TableRowPath') + '}', self.table_row_path.nil? ? '' : self.table_row_path.to_s)
|
148
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
149
|
+
local_var_path = local_var_path.sub('//', '/')
|
150
|
+
|
151
|
+
# query parameters
|
152
|
+
query_params = {}
|
153
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
154
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
155
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
156
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
157
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
158
|
+
|
159
|
+
# header parameters
|
160
|
+
header_params = {}
|
161
|
+
# HTTP header 'Content-Type'
|
162
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
163
|
+
|
164
|
+
# form parameters
|
165
|
+
form_params = {}
|
166
|
+
form_params[downcase_first_letter('Document')] = self.document
|
167
|
+
|
168
|
+
# http body (model)
|
169
|
+
post_body = nil
|
170
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
171
|
+
{
|
172
|
+
'method': :PUT,
|
173
|
+
'path': local_var_path,
|
174
|
+
'header_params': header_params,
|
175
|
+
'query_params': query_params,
|
176
|
+
'body': body,
|
177
|
+
'auth_names': ['JWT']
|
178
|
+
}
|
179
|
+
end
|
180
|
+
|
181
|
+
#
|
182
|
+
# Helper method to convert first letter to downcase
|
183
|
+
#
|
184
|
+
def downcase_first_letter(str)
|
185
|
+
str[0].downcase + str[1..-1]
|
186
|
+
end
|
187
|
+
|
188
|
+
# Get response type
|
189
|
+
def get_response_type
|
190
|
+
'File'
|
191
|
+
end
|
77
192
|
end
|
78
193
|
end
|
@@ -84,5 +84,121 @@ module AsposeWordsCloud
|
|
84
84
|
self.revision_author = revision_author
|
85
85
|
self.revision_date_time = revision_date_time
|
86
86
|
end
|
87
|
+
|
88
|
+
# Creating batch part from request
|
89
|
+
def to_batch_part(api_client)
|
90
|
+
# verify the required parameter 'name' is set
|
91
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_table_cell' if api_client.config.client_side_validation && self.name.nil?
|
92
|
+
# verify the required parameter 'table_row_path' is set
|
93
|
+
raise ArgumentError, 'Missing the required parameter table_row_path when calling WordsApi.delete_table_cell' if api_client.config.client_side_validation && self.table_row_path.nil?
|
94
|
+
# verify the required parameter 'index' is set
|
95
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_table_cell' if api_client.config.client_side_validation && self.index.nil?
|
96
|
+
|
97
|
+
# resource path
|
98
|
+
local_var_path = '/words/{name}/{tableRowPath}/cells/{index}'[7..-1]
|
99
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
100
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('TableRowPath') + '}', self.table_row_path.nil? ? '' : self.table_row_path.to_s)
|
101
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
102
|
+
local_var_path = local_var_path.sub('//', '/')
|
103
|
+
|
104
|
+
# query parameters
|
105
|
+
query_params = {}
|
106
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
107
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
108
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
109
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
110
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
111
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
112
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
113
|
+
|
114
|
+
if query_params
|
115
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
116
|
+
end
|
117
|
+
|
118
|
+
header_params = {}
|
119
|
+
|
120
|
+
# form parameters
|
121
|
+
form_params = {}
|
122
|
+
|
123
|
+
# http body (model)
|
124
|
+
post_body = nil
|
125
|
+
body = nil
|
126
|
+
part = ""
|
127
|
+
part.concat("DELETE".force_encoding('UTF-8'))
|
128
|
+
part.concat(" ".force_encoding('UTF-8'))
|
129
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
130
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
131
|
+
|
132
|
+
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')) }
|
133
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
134
|
+
if body
|
135
|
+
if body.is_a?(Hash)
|
136
|
+
body.each do |key, value|
|
137
|
+
part.concat(value, "\r\n")
|
138
|
+
end
|
139
|
+
else
|
140
|
+
part.concat(body)
|
141
|
+
end
|
142
|
+
end
|
143
|
+
part
|
144
|
+
end
|
145
|
+
|
146
|
+
def create_http_request(api_client)
|
147
|
+
# verify the required parameter 'name' is set
|
148
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_table_cell' if api_client.config.client_side_validation && self.name.nil?
|
149
|
+
# verify the required parameter 'table_row_path' is set
|
150
|
+
raise ArgumentError, 'Missing the required parameter table_row_path when calling WordsApi.delete_table_cell' if api_client.config.client_side_validation && self.table_row_path.nil?
|
151
|
+
# verify the required parameter 'index' is set
|
152
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_table_cell' if api_client.config.client_side_validation && self.index.nil?
|
153
|
+
|
154
|
+
# resource path
|
155
|
+
local_var_path = '/words/{name}/{tableRowPath}/cells/{index}'[1..-1]
|
156
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
157
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('TableRowPath') + '}', self.table_row_path.nil? ? '' : self.table_row_path.to_s)
|
158
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
159
|
+
local_var_path = local_var_path.sub('//', '/')
|
160
|
+
|
161
|
+
# query parameters
|
162
|
+
query_params = {}
|
163
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
164
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
165
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
166
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
167
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
168
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
169
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
170
|
+
|
171
|
+
# header parameters
|
172
|
+
header_params = {}
|
173
|
+
# HTTP header 'Content-Type'
|
174
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
175
|
+
|
176
|
+
# form parameters
|
177
|
+
form_params = {}
|
178
|
+
|
179
|
+
# http body (model)
|
180
|
+
post_body = nil
|
181
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
182
|
+
{
|
183
|
+
'method': :DELETE,
|
184
|
+
'path': local_var_path,
|
185
|
+
'header_params': header_params,
|
186
|
+
'query_params': query_params,
|
187
|
+
'body': body,
|
188
|
+
'auth_names': ['JWT']
|
189
|
+
}
|
190
|
+
end
|
191
|
+
|
192
|
+
#
|
193
|
+
# Helper method to convert first letter to downcase
|
194
|
+
#
|
195
|
+
def downcase_first_letter(str)
|
196
|
+
str[0].downcase + str[1..-1]
|
197
|
+
end
|
198
|
+
|
199
|
+
# Get response type
|
200
|
+
def get_response_type
|
201
|
+
nil
|
202
|
+
end
|
87
203
|
end
|
88
204
|
end
|
@@ -74,5 +74,116 @@ module AsposeWordsCloud
|
|
74
74
|
self.revision_author = revision_author
|
75
75
|
self.revision_date_time = revision_date_time
|
76
76
|
end
|
77
|
+
|
78
|
+
# Creating batch part from request
|
79
|
+
def to_batch_part(api_client)
|
80
|
+
# verify the required parameter 'document' is set
|
81
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.delete_table_online' if api_client.config.client_side_validation && self.document.nil?
|
82
|
+
# verify the required parameter 'index' is set
|
83
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_table_online' if api_client.config.client_side_validation && self.index.nil?
|
84
|
+
|
85
|
+
# resource path
|
86
|
+
local_var_path = '/words/online/delete/{nodePath}/tables/{index}'[7..-1]
|
87
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
88
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
89
|
+
local_var_path = local_var_path.sub('//', '/')
|
90
|
+
|
91
|
+
# query parameters
|
92
|
+
query_params = {}
|
93
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
94
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
95
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
96
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
97
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
98
|
+
|
99
|
+
if query_params
|
100
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
101
|
+
end
|
102
|
+
|
103
|
+
header_params = {}
|
104
|
+
# header parameters
|
105
|
+
# HTTP header 'Content-Type'
|
106
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
107
|
+
|
108
|
+
# form parameters
|
109
|
+
form_params = {}
|
110
|
+
form_params[downcase_first_letter('Document')] = self.document
|
111
|
+
|
112
|
+
# http body (model)
|
113
|
+
post_body = nil
|
114
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
115
|
+
part = ""
|
116
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
117
|
+
part.concat(" ".force_encoding('UTF-8'))
|
118
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
119
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
120
|
+
|
121
|
+
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')) }
|
122
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
123
|
+
if body
|
124
|
+
if body.is_a?(Hash)
|
125
|
+
body.each do |key, value|
|
126
|
+
part.concat(value, "\r\n")
|
127
|
+
end
|
128
|
+
else
|
129
|
+
part.concat(body)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
part
|
133
|
+
end
|
134
|
+
|
135
|
+
def create_http_request(api_client)
|
136
|
+
# verify the required parameter 'document' is set
|
137
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.delete_table_online' if api_client.config.client_side_validation && self.document.nil?
|
138
|
+
# verify the required parameter 'index' is set
|
139
|
+
raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_table_online' if api_client.config.client_side_validation && self.index.nil?
|
140
|
+
|
141
|
+
# resource path
|
142
|
+
local_var_path = '/words/online/delete/{nodePath}/tables/{index}'[1..-1]
|
143
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', self.index.nil? ? '' : self.index.to_s)
|
144
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', self.node_path.nil? ? '' : self.node_path.to_s)
|
145
|
+
local_var_path = local_var_path.sub('//', '/')
|
146
|
+
|
147
|
+
# query parameters
|
148
|
+
query_params = {}
|
149
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
150
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
151
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
152
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
153
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
154
|
+
|
155
|
+
# header parameters
|
156
|
+
header_params = {}
|
157
|
+
# HTTP header 'Content-Type'
|
158
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
159
|
+
|
160
|
+
# form parameters
|
161
|
+
form_params = {}
|
162
|
+
form_params[downcase_first_letter('Document')] = self.document
|
163
|
+
|
164
|
+
# http body (model)
|
165
|
+
post_body = nil
|
166
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
167
|
+
{
|
168
|
+
'method': :PUT,
|
169
|
+
'path': local_var_path,
|
170
|
+
'header_params': header_params,
|
171
|
+
'query_params': query_params,
|
172
|
+
'body': body,
|
173
|
+
'auth_names': ['JWT']
|
174
|
+
}
|
175
|
+
end
|
176
|
+
|
177
|
+
#
|
178
|
+
# Helper method to convert first letter to downcase
|
179
|
+
#
|
180
|
+
def downcase_first_letter(str)
|
181
|
+
str[0].downcase + str[1..-1]
|
182
|
+
end
|
183
|
+
|
184
|
+
# Get response type
|
185
|
+
def get_response_type
|
186
|
+
'File'
|
187
|
+
end
|
77
188
|
end
|
78
189
|
end
|