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
@@ -32,6 +32,9 @@ module AsposeWordsCloud
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
33
|
attr_accessor :allow_embedding_post_script_fonts
|
34
34
|
|
35
|
+
# Gets or sets CustomTimeZoneInfo.
|
36
|
+
attr_accessor :custom_time_zone_info_data
|
37
|
+
|
35
38
|
# Gets or sets the value determining how 3D effects are rendered.
|
36
39
|
attr_accessor :dml3_d_effects_rendering_mode
|
37
40
|
|
@@ -48,6 +51,10 @@ module AsposeWordsCloud
|
|
48
51
|
# Gets or sets the format of save.
|
49
52
|
attr_accessor :save_format
|
50
53
|
|
54
|
+
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
55
|
+
# Default value is false.
|
56
|
+
attr_accessor :update_created_time_property
|
57
|
+
|
51
58
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
52
59
|
attr_accessor :update_fields
|
53
60
|
|
@@ -159,11 +166,13 @@ module AsposeWordsCloud
|
|
159
166
|
def self.attribute_map
|
160
167
|
{
|
161
168
|
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
169
|
+
:'custom_time_zone_info_data' => :'CustomTimeZoneInfoData',
|
162
170
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
163
171
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
164
172
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
165
173
|
:'file_name' => :'FileName',
|
166
174
|
:'save_format' => :'SaveFormat',
|
175
|
+
:'update_created_time_property' => :'UpdateCreatedTimeProperty',
|
167
176
|
:'update_fields' => :'UpdateFields',
|
168
177
|
:'update_last_printed_property' => :'UpdateLastPrintedProperty',
|
169
178
|
:'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
|
@@ -196,11 +205,13 @@ module AsposeWordsCloud
|
|
196
205
|
def self.swagger_types
|
197
206
|
{
|
198
207
|
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
208
|
+
:'custom_time_zone_info_data' => :'TimeZoneInfoData',
|
199
209
|
:'dml3_d_effects_rendering_mode' => :'String',
|
200
210
|
:'dml_effects_rendering_mode' => :'String',
|
201
211
|
:'dml_rendering_mode' => :'String',
|
202
212
|
:'file_name' => :'String',
|
203
213
|
:'save_format' => :'String',
|
214
|
+
:'update_created_time_property' => :'BOOLEAN',
|
204
215
|
:'update_fields' => :'BOOLEAN',
|
205
216
|
:'update_last_printed_property' => :'BOOLEAN',
|
206
217
|
:'update_last_saved_time_property' => :'BOOLEAN',
|
@@ -241,6 +252,10 @@ module AsposeWordsCloud
|
|
241
252
|
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
242
253
|
end
|
243
254
|
|
255
|
+
if attributes.key?(:'CustomTimeZoneInfoData')
|
256
|
+
self.custom_time_zone_info_data = attributes[:'CustomTimeZoneInfoData']
|
257
|
+
end
|
258
|
+
|
244
259
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
245
260
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
246
261
|
end
|
@@ -261,6 +276,10 @@ module AsposeWordsCloud
|
|
261
276
|
self.save_format = attributes[:'SaveFormat']
|
262
277
|
end
|
263
278
|
|
279
|
+
if attributes.key?(:'UpdateCreatedTimeProperty')
|
280
|
+
self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
|
281
|
+
end
|
282
|
+
|
264
283
|
if attributes.key?(:'UpdateFields')
|
265
284
|
self.update_fields = attributes[:'UpdateFields']
|
266
285
|
end
|
@@ -399,11 +418,13 @@ module AsposeWordsCloud
|
|
399
418
|
return true if self.equal?(other)
|
400
419
|
self.class == other.class &&
|
401
420
|
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
421
|
+
custom_time_zone_info_data == other.custom_time_zone_info_data &&
|
402
422
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
403
423
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
404
424
|
dml_rendering_mode == other.dml_rendering_mode &&
|
405
425
|
file_name == other.file_name &&
|
406
426
|
save_format == other.save_format &&
|
427
|
+
update_created_time_property == other.update_created_time_property &&
|
407
428
|
update_fields == other.update_fields &&
|
408
429
|
update_last_printed_property == other.update_last_printed_property &&
|
409
430
|
update_last_saved_time_property == other.update_last_saved_time_property &&
|
@@ -440,7 +461,7 @@ module AsposeWordsCloud
|
|
440
461
|
# Calculates hash code according to all attributes.
|
441
462
|
# @return [Fixnum] Hash code
|
442
463
|
def hash
|
443
|
-
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
464
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
|
444
465
|
end
|
445
466
|
|
446
467
|
# Builds the object from hash
|
@@ -32,6 +32,9 @@ module AsposeWordsCloud
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
33
|
attr_accessor :allow_embedding_post_script_fonts
|
34
34
|
|
35
|
+
# Gets or sets CustomTimeZoneInfo.
|
36
|
+
attr_accessor :custom_time_zone_info_data
|
37
|
+
|
35
38
|
# Gets or sets the value determining how 3D effects are rendered.
|
36
39
|
attr_accessor :dml3_d_effects_rendering_mode
|
37
40
|
|
@@ -48,6 +51,10 @@ module AsposeWordsCloud
|
|
48
51
|
# Gets or sets the format of save.
|
49
52
|
attr_accessor :save_format
|
50
53
|
|
54
|
+
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
55
|
+
# Default value is false.
|
56
|
+
attr_accessor :update_created_time_property
|
57
|
+
|
51
58
|
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
52
59
|
attr_accessor :update_fields
|
53
60
|
|
@@ -117,11 +124,13 @@ module AsposeWordsCloud
|
|
117
124
|
def self.attribute_map
|
118
125
|
{
|
119
126
|
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
127
|
+
:'custom_time_zone_info_data' => :'CustomTimeZoneInfoData',
|
120
128
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
121
129
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
122
130
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
123
131
|
:'file_name' => :'FileName',
|
124
132
|
:'save_format' => :'SaveFormat',
|
133
|
+
:'update_created_time_property' => :'UpdateCreatedTimeProperty',
|
125
134
|
:'update_fields' => :'UpdateFields',
|
126
135
|
:'update_last_printed_property' => :'UpdateLastPrintedProperty',
|
127
136
|
:'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
|
@@ -142,11 +151,13 @@ module AsposeWordsCloud
|
|
142
151
|
def self.swagger_types
|
143
152
|
{
|
144
153
|
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
154
|
+
:'custom_time_zone_info_data' => :'TimeZoneInfoData',
|
145
155
|
:'dml3_d_effects_rendering_mode' => :'String',
|
146
156
|
:'dml_effects_rendering_mode' => :'String',
|
147
157
|
:'dml_rendering_mode' => :'String',
|
148
158
|
:'file_name' => :'String',
|
149
159
|
:'save_format' => :'String',
|
160
|
+
:'update_created_time_property' => :'BOOLEAN',
|
150
161
|
:'update_fields' => :'BOOLEAN',
|
151
162
|
:'update_last_printed_property' => :'BOOLEAN',
|
152
163
|
:'update_last_saved_time_property' => :'BOOLEAN',
|
@@ -175,6 +186,10 @@ module AsposeWordsCloud
|
|
175
186
|
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
176
187
|
end
|
177
188
|
|
189
|
+
if attributes.key?(:'CustomTimeZoneInfoData')
|
190
|
+
self.custom_time_zone_info_data = attributes[:'CustomTimeZoneInfoData']
|
191
|
+
end
|
192
|
+
|
178
193
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
179
194
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
180
195
|
end
|
@@ -195,6 +210,10 @@ module AsposeWordsCloud
|
|
195
210
|
self.save_format = attributes[:'SaveFormat']
|
196
211
|
end
|
197
212
|
|
213
|
+
if attributes.key?(:'UpdateCreatedTimeProperty')
|
214
|
+
self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
|
215
|
+
end
|
216
|
+
|
198
217
|
if attributes.key?(:'UpdateFields')
|
199
218
|
self.update_fields = attributes[:'UpdateFields']
|
200
219
|
end
|
@@ -285,11 +304,13 @@ module AsposeWordsCloud
|
|
285
304
|
return true if self.equal?(other)
|
286
305
|
self.class == other.class &&
|
287
306
|
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
307
|
+
custom_time_zone_info_data == other.custom_time_zone_info_data &&
|
288
308
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
289
309
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
290
310
|
dml_rendering_mode == other.dml_rendering_mode &&
|
291
311
|
file_name == other.file_name &&
|
292
312
|
save_format == other.save_format &&
|
313
|
+
update_created_time_property == other.update_created_time_property &&
|
293
314
|
update_fields == other.update_fields &&
|
294
315
|
update_last_printed_property == other.update_last_printed_property &&
|
295
316
|
update_last_saved_time_property == other.update_last_saved_time_property &&
|
@@ -314,7 +335,7 @@ module AsposeWordsCloud
|
|
314
335
|
# Calculates hash code according to all attributes.
|
315
336
|
# @return [Fixnum] Hash code
|
316
337
|
def hash
|
317
|
-
[allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, use_book_fold_printing_settings].hash
|
338
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, use_book_fold_printing_settings].hash
|
318
339
|
end
|
319
340
|
|
320
341
|
# Builds the object from hash
|
@@ -54,5 +54,104 @@ module AsposeWordsCloud
|
|
54
54
|
self.password = password
|
55
55
|
self.dest_file_name = dest_file_name
|
56
56
|
end
|
57
|
+
|
58
|
+
# Creating batch part from request
|
59
|
+
def to_batch_part(api_client)
|
60
|
+
# verify the required parameter 'document' is set
|
61
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.accept_all_revisions_online' if api_client.config.client_side_validation && self.document.nil?
|
62
|
+
|
63
|
+
# resource path
|
64
|
+
local_var_path = '/words/online/put/revisions/acceptAll'[7..-1]
|
65
|
+
local_var_path = local_var_path.sub('//', '/')
|
66
|
+
|
67
|
+
# query parameters
|
68
|
+
query_params = {}
|
69
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
70
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
71
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
72
|
+
|
73
|
+
if query_params
|
74
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
75
|
+
end
|
76
|
+
|
77
|
+
header_params = {}
|
78
|
+
# header parameters
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
form_params[downcase_first_letter('Document')] = self.document
|
85
|
+
|
86
|
+
# http body (model)
|
87
|
+
post_body = nil
|
88
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
89
|
+
part = ""
|
90
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
91
|
+
part.concat(" ".force_encoding('UTF-8'))
|
92
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
93
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
94
|
+
|
95
|
+
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')) }
|
96
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
97
|
+
if body
|
98
|
+
if body.is_a?(Hash)
|
99
|
+
body.each do |key, value|
|
100
|
+
part.concat(value, "\r\n")
|
101
|
+
end
|
102
|
+
else
|
103
|
+
part.concat(body)
|
104
|
+
end
|
105
|
+
end
|
106
|
+
part
|
107
|
+
end
|
108
|
+
|
109
|
+
def create_http_request(api_client)
|
110
|
+
# verify the required parameter 'document' is set
|
111
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.accept_all_revisions_online' if api_client.config.client_side_validation && self.document.nil?
|
112
|
+
|
113
|
+
# resource path
|
114
|
+
local_var_path = '/words/online/put/revisions/acceptAll'[1..-1]
|
115
|
+
local_var_path = local_var_path.sub('//', '/')
|
116
|
+
|
117
|
+
# query parameters
|
118
|
+
query_params = {}
|
119
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
120
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
121
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
122
|
+
|
123
|
+
# header parameters
|
124
|
+
header_params = {}
|
125
|
+
# HTTP header 'Content-Type'
|
126
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
127
|
+
|
128
|
+
# form parameters
|
129
|
+
form_params = {}
|
130
|
+
form_params[downcase_first_letter('Document')] = self.document
|
131
|
+
|
132
|
+
# http body (model)
|
133
|
+
post_body = nil
|
134
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
135
|
+
{
|
136
|
+
'method': :PUT,
|
137
|
+
'path': local_var_path,
|
138
|
+
'header_params': header_params,
|
139
|
+
'query_params': query_params,
|
140
|
+
'body': body,
|
141
|
+
'auth_names': ['JWT']
|
142
|
+
}
|
143
|
+
end
|
144
|
+
|
145
|
+
#
|
146
|
+
# Helper method to convert first letter to downcase
|
147
|
+
#
|
148
|
+
def downcase_first_letter(str)
|
149
|
+
str[0].downcase + str[1..-1]
|
150
|
+
end
|
151
|
+
|
152
|
+
# Get response type
|
153
|
+
def get_response_type
|
154
|
+
'AcceptAllRevisionsOnlineResponse'
|
155
|
+
end
|
57
156
|
end
|
58
157
|
end
|
@@ -64,5 +64,105 @@ module AsposeWordsCloud
|
|
64
64
|
self.password = password
|
65
65
|
self.dest_file_name = dest_file_name
|
66
66
|
end
|
67
|
+
|
68
|
+
# Creating batch part from request
|
69
|
+
def to_batch_part(api_client)
|
70
|
+
# verify the required parameter 'name' is set
|
71
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.accept_all_revisions' if api_client.config.client_side_validation && self.name.nil?
|
72
|
+
|
73
|
+
# resource path
|
74
|
+
local_var_path = '/words/{name}/revisions/acceptAll'[7..-1]
|
75
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
76
|
+
local_var_path = local_var_path.sub('//', '/')
|
77
|
+
|
78
|
+
# query parameters
|
79
|
+
query_params = {}
|
80
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
81
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
82
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
83
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
84
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
85
|
+
|
86
|
+
if query_params
|
87
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
88
|
+
end
|
89
|
+
|
90
|
+
header_params = {}
|
91
|
+
|
92
|
+
# form parameters
|
93
|
+
form_params = {}
|
94
|
+
|
95
|
+
# http body (model)
|
96
|
+
post_body = nil
|
97
|
+
body = nil
|
98
|
+
part = ""
|
99
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
100
|
+
part.concat(" ".force_encoding('UTF-8'))
|
101
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
102
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
103
|
+
|
104
|
+
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')) }
|
105
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
106
|
+
if body
|
107
|
+
if body.is_a?(Hash)
|
108
|
+
body.each do |key, value|
|
109
|
+
part.concat(value, "\r\n")
|
110
|
+
end
|
111
|
+
else
|
112
|
+
part.concat(body)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
part
|
116
|
+
end
|
117
|
+
|
118
|
+
def create_http_request(api_client)
|
119
|
+
# verify the required parameter 'name' is set
|
120
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.accept_all_revisions' if api_client.config.client_side_validation && self.name.nil?
|
121
|
+
|
122
|
+
# resource path
|
123
|
+
local_var_path = '/words/{name}/revisions/acceptAll'[1..-1]
|
124
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
125
|
+
local_var_path = local_var_path.sub('//', '/')
|
126
|
+
|
127
|
+
# query parameters
|
128
|
+
query_params = {}
|
129
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
130
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
131
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
132
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
133
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
134
|
+
|
135
|
+
# header parameters
|
136
|
+
header_params = {}
|
137
|
+
# HTTP header 'Content-Type'
|
138
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
139
|
+
|
140
|
+
# form parameters
|
141
|
+
form_params = {}
|
142
|
+
|
143
|
+
# http body (model)
|
144
|
+
post_body = nil
|
145
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
146
|
+
{
|
147
|
+
'method': :PUT,
|
148
|
+
'path': local_var_path,
|
149
|
+
'header_params': header_params,
|
150
|
+
'query_params': query_params,
|
151
|
+
'body': body,
|
152
|
+
'auth_names': ['JWT']
|
153
|
+
}
|
154
|
+
end
|
155
|
+
|
156
|
+
#
|
157
|
+
# Helper method to convert first letter to downcase
|
158
|
+
#
|
159
|
+
def downcase_first_letter(str)
|
160
|
+
str[0].downcase + str[1..-1]
|
161
|
+
end
|
162
|
+
|
163
|
+
# Get response type
|
164
|
+
def get_response_type
|
165
|
+
'RevisionsModificationResponse'
|
166
|
+
end
|
67
167
|
end
|
68
168
|
end
|
@@ -69,5 +69,114 @@ module AsposeWordsCloud
|
|
69
69
|
self.revision_author = revision_author
|
70
70
|
self.revision_date_time = revision_date_time
|
71
71
|
end
|
72
|
+
|
73
|
+
# Creating batch part from request
|
74
|
+
def to_batch_part(api_client)
|
75
|
+
# verify the required parameter 'document' is set
|
76
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.append_document_online' if api_client.config.client_side_validation && self.document.nil?
|
77
|
+
# verify the required parameter 'document_list' is set
|
78
|
+
raise ArgumentError, 'Missing the required parameter document_list when calling WordsApi.append_document_online' if api_client.config.client_side_validation && self.document_list.nil?
|
79
|
+
|
80
|
+
# resource path
|
81
|
+
local_var_path = '/words/online/put/appendDocument'[7..-1]
|
82
|
+
local_var_path = local_var_path.sub('//', '/')
|
83
|
+
|
84
|
+
# query parameters
|
85
|
+
query_params = {}
|
86
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
87
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
88
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
89
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
90
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
91
|
+
|
92
|
+
if query_params
|
93
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
94
|
+
end
|
95
|
+
|
96
|
+
header_params = {}
|
97
|
+
# header parameters
|
98
|
+
# HTTP header 'Content-Type'
|
99
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
100
|
+
|
101
|
+
# form parameters
|
102
|
+
form_params = {}
|
103
|
+
form_params[downcase_first_letter('Document')] = self.document
|
104
|
+
form_params[downcase_first_letter('DocumentList')] = self.document_list.to_body.to_json
|
105
|
+
|
106
|
+
# http body (model)
|
107
|
+
post_body = nil
|
108
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
109
|
+
part = ""
|
110
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
111
|
+
part.concat(" ".force_encoding('UTF-8'))
|
112
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
113
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
114
|
+
|
115
|
+
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')) }
|
116
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
117
|
+
if body
|
118
|
+
if body.is_a?(Hash)
|
119
|
+
body.each do |key, value|
|
120
|
+
part.concat(value, "\r\n")
|
121
|
+
end
|
122
|
+
else
|
123
|
+
part.concat(body)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
part
|
127
|
+
end
|
128
|
+
|
129
|
+
def create_http_request(api_client)
|
130
|
+
# verify the required parameter 'document' is set
|
131
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.append_document_online' if api_client.config.client_side_validation && self.document.nil?
|
132
|
+
# verify the required parameter 'document_list' is set
|
133
|
+
raise ArgumentError, 'Missing the required parameter document_list when calling WordsApi.append_document_online' if api_client.config.client_side_validation && self.document_list.nil?
|
134
|
+
|
135
|
+
# resource path
|
136
|
+
local_var_path = '/words/online/put/appendDocument'[1..-1]
|
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
|
+
query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
|
144
|
+
query_params[downcase_first_letter('RevisionAuthor')] = self.revision_author unless self.revision_author.nil?
|
145
|
+
query_params[downcase_first_letter('RevisionDateTime')] = self.revision_date_time unless self.revision_date_time.nil?
|
146
|
+
|
147
|
+
# header parameters
|
148
|
+
header_params = {}
|
149
|
+
# HTTP header 'Content-Type'
|
150
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
151
|
+
|
152
|
+
# form parameters
|
153
|
+
form_params = {}
|
154
|
+
form_params[downcase_first_letter('Document')] = self.document
|
155
|
+
form_params[downcase_first_letter('DocumentList')] = self.document_list.to_body.to_json
|
156
|
+
|
157
|
+
# http body (model)
|
158
|
+
post_body = nil
|
159
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
160
|
+
{
|
161
|
+
'method': :PUT,
|
162
|
+
'path': local_var_path,
|
163
|
+
'header_params': header_params,
|
164
|
+
'query_params': query_params,
|
165
|
+
'body': body,
|
166
|
+
'auth_names': ['JWT']
|
167
|
+
}
|
168
|
+
end
|
169
|
+
|
170
|
+
#
|
171
|
+
# Helper method to convert first letter to downcase
|
172
|
+
#
|
173
|
+
def downcase_first_letter(str)
|
174
|
+
str[0].downcase + str[1..-1]
|
175
|
+
end
|
176
|
+
|
177
|
+
# Get response type
|
178
|
+
def get_response_type
|
179
|
+
'AppendDocumentOnlineResponse'
|
180
|
+
end
|
72
181
|
end
|
73
182
|
end
|