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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fab39e91be9a6adfe58f149efc6f9d96f6693ff94ed88f6038348f029b89f87
|
4
|
+
data.tar.gz: c6dd67d5a1433b8218b195a120eda50e8c7f92305269a92ae3bd14b089721f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd96b053acc75055f7b525f7a993f838608583ec8e677d67e6aa1da28b2c498170d2ec0d4d6eaedda7716dcb339119d3a26bb3f5f2e01daf5f70a21db810f723
|
7
|
+
data.tar.gz: 6202a720cc956df2552bdcd0a5d82555331de2249b3e861de55f2aa751f24d8a6046617ba2838488c418581ddf0beea44422d36e5c873fd23c666a5a8585d658
|
data/lib/aspose_words_cloud.rb
CHANGED
@@ -258,6 +258,7 @@ require_relative 'aspose_words_cloud/models/tab_stop_insert'
|
|
258
258
|
require_relative 'aspose_words_cloud/models/tab_stops_response'
|
259
259
|
require_relative 'aspose_words_cloud/models/text_save_options_data'
|
260
260
|
require_relative 'aspose_words_cloud/models/tiff_save_options_data'
|
261
|
+
require_relative 'aspose_words_cloud/models/time_zone_info_data'
|
261
262
|
require_relative 'aspose_words_cloud/models/txt_save_options_base_data'
|
262
263
|
require_relative 'aspose_words_cloud/models/watermark_text'
|
263
264
|
require_relative 'aspose_words_cloud/models/word_ml_save_options_data'
|
@@ -25,6 +25,7 @@
|
|
25
25
|
|
26
26
|
require 'uri'
|
27
27
|
require 'json'
|
28
|
+
require 'faraday'
|
28
29
|
|
29
30
|
module AsposeWordsCloud
|
30
31
|
#
|
@@ -40,6 +41,26 @@ module AsposeWordsCloud
|
|
40
41
|
request_token
|
41
42
|
end
|
42
43
|
|
44
|
+
def batch(requests)
|
45
|
+
raise ArgumentError, 'Requests array is nil' unless requests != nil
|
46
|
+
raise ArgumentError, 'There must be at least one request' unless requests.length != 0
|
47
|
+
form_params = {}
|
48
|
+
request_token
|
49
|
+
header_params = {'Content-Type' => 'multipart/form-data'}
|
50
|
+
@api_client.update_params_for_auth! header_params, {}, "JWT"
|
51
|
+
requests.each_with_index do |request, index|
|
52
|
+
form_params["request-#{index}"] = Faraday::ParamPart.new(request.to_batch_part(@api_client), "application/http; msgtype=request")
|
53
|
+
end
|
54
|
+
data, status_code, headers = @api_client.call_api(:PUT, "/v4.0/words/batch",
|
55
|
+
header_params: header_params,
|
56
|
+
query_params: {},
|
57
|
+
form_params: form_params,
|
58
|
+
body: nil,
|
59
|
+
batch: true,
|
60
|
+
parts: requests,
|
61
|
+
auth_names: ['JWT'])
|
62
|
+
end
|
63
|
+
|
43
64
|
# Accepts all revisions in the document.
|
44
65
|
# @param request AcceptAllRevisionsRequest
|
45
66
|
# @return [RevisionsModificationResponse]
|
@@ -966,6 +987,7 @@ module AsposeWordsCloud
|
|
966
987
|
form_params = {}
|
967
988
|
form_params[downcase_first_letter('Document')] = request.document
|
968
989
|
form_params[downcase_first_letter('CompareData')] = request.compare_data.to_body.to_json
|
990
|
+
form_params[downcase_first_letter('ComparingDocument')] = request.comparing_document
|
969
991
|
|
970
992
|
# http body (model)
|
971
993
|
post_body = nil
|
@@ -29,7 +29,7 @@ require 'logger'
|
|
29
29
|
require 'tempfile'
|
30
30
|
require 'uri'
|
31
31
|
require 'faraday'
|
32
|
-
require '
|
32
|
+
require 'marcel'
|
33
33
|
require 'multipart_parser/reader'
|
34
34
|
require_relative 'version'
|
35
35
|
require_relative 'api_error'
|
@@ -96,6 +96,8 @@ module AsposeWordsCloud
|
|
96
96
|
|
97
97
|
if opts[:multipart_response] == true
|
98
98
|
data = deserialize_multipart(response)
|
99
|
+
elsif opts[:batch] == true
|
100
|
+
data = deserialize_batch(response, opts[:parts])
|
99
101
|
else
|
100
102
|
data = deserialize(response.body, opts[:return_type]) if opts[:return_type]
|
101
103
|
end
|
@@ -223,6 +225,50 @@ module AsposeWordsCloud
|
|
223
225
|
parts
|
224
226
|
end
|
225
227
|
|
228
|
+
# Deserialize batch
|
229
|
+
def deserialize_batch(response, requests)
|
230
|
+
result = { errors: [], parts: [] }
|
231
|
+
def result.part(name)
|
232
|
+
hash = self[:parts].detect { |h| h[:part].name == name }
|
233
|
+
[hash[:part], hash[:body].join]
|
234
|
+
end
|
235
|
+
responses_data = []
|
236
|
+
content_type = response.headers['content-type']
|
237
|
+
reader = MultipartParser::Reader.new(MultipartParser::Reader::extract_boundary_value(content_type))
|
238
|
+
reader.on_part do |part|
|
239
|
+
result[:parts] << thispart = {
|
240
|
+
part: part,
|
241
|
+
body: []
|
242
|
+
}
|
243
|
+
part.on_data do |chunk|
|
244
|
+
thispart[:body] << chunk
|
245
|
+
end
|
246
|
+
end
|
247
|
+
reader.on_error do |msg|
|
248
|
+
result[:errors] << msg
|
249
|
+
end
|
250
|
+
reader.write response.body
|
251
|
+
reader.ended? or raise Exception, 'Truncated multipart message'
|
252
|
+
|
253
|
+
separator = "\r\n\r\n"
|
254
|
+
result[:parts].each do |part|
|
255
|
+
part[:body] = part[:body].join("")
|
256
|
+
part_body = part[:body]
|
257
|
+
data_index = part_body.index(separator)
|
258
|
+
if data_index != nil
|
259
|
+
header_data = part_body[0..data_index]
|
260
|
+
body_data = part_body[data_index+separator.length, part_body.length]
|
261
|
+
part[:body] = body_data
|
262
|
+
end
|
263
|
+
end
|
264
|
+
|
265
|
+
result[:parts].each_with_index do |response_data, index|
|
266
|
+
return_type = requests[index].get_response_type
|
267
|
+
responses_data.push(deserialize(response_data[:body], return_type))
|
268
|
+
end
|
269
|
+
responses_data
|
270
|
+
end
|
271
|
+
|
226
272
|
# Convert data to the given return type.
|
227
273
|
# @param [Object] data Data to be converted
|
228
274
|
# @param [String] return_type Return type
|
@@ -306,9 +352,10 @@ module AsposeWordsCloud
|
|
306
352
|
def download_file_from_multipart(body)
|
307
353
|
prefix = 'download-'
|
308
354
|
prefix += '-' unless prefix.end_with?('-')
|
309
|
-
tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding:body.encoding)
|
355
|
+
tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding:body.encoding, binmode: true)
|
310
356
|
@tempfile = tempfile
|
311
357
|
tempfile.write(body)
|
358
|
+
tempfile.size
|
312
359
|
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
313
360
|
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
314
361
|
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
@@ -339,14 +386,43 @@ module AsposeWordsCloud
|
|
339
386
|
# @return [String] HTTP body data in the form of string
|
340
387
|
def build_request_body(header_params, form_params, body)
|
341
388
|
# http form
|
342
|
-
if header_params['Content-Type']
|
343
|
-
header_params['Content-Type']
|
389
|
+
if header_params['Content-Type']['application/x-www-form-urlencoded'] ||
|
390
|
+
header_params['Content-Type']['multipart/form-data']
|
391
|
+
data = {}
|
392
|
+
form_params.each do |key, value|
|
393
|
+
case value
|
394
|
+
when ::File, ::Tempfile
|
395
|
+
data[key] = Faraday::UploadIO.new(value.path, Marcel::Magic.by_magic(value).to_s, key)
|
396
|
+
when ::Array, nil, Faraday::ParamPart
|
397
|
+
data[key] = value
|
398
|
+
else
|
399
|
+
data[key] = value.to_s
|
400
|
+
end
|
401
|
+
end
|
402
|
+
elsif body
|
403
|
+
data = body.is_a?(String) ? body : body.to_json
|
404
|
+
else
|
405
|
+
data = nil
|
406
|
+
end
|
407
|
+
data
|
408
|
+
end
|
409
|
+
|
410
|
+
# Builds the HTTP request body
|
411
|
+
#
|
412
|
+
# @param [Hash] header_params Header parameters
|
413
|
+
# @param [Hash] form_params Query parameters
|
414
|
+
# @param [Object] body HTTP body (JSON/XML)
|
415
|
+
# @return [String] HTTP body data in the form of string
|
416
|
+
def build_request_body_batch(header_params, form_params, body)
|
417
|
+
# http form
|
418
|
+
if header_params['Content-Type']['application/x-www-form-urlencoded'] ||
|
419
|
+
header_params['Content-Type']['multipart/form-data']
|
344
420
|
data = {}
|
345
421
|
form_params.each do |key, value|
|
346
422
|
case value
|
347
|
-
when ::File
|
348
|
-
data[key] =
|
349
|
-
when ::Array, nil
|
423
|
+
when ::File, ::Tempfile
|
424
|
+
data[key] = File.open(value.path, 'rb') { |f| f.read }
|
425
|
+
when ::Array, nil, Faraday::ParamPart
|
350
426
|
data[key] = value
|
351
427
|
else
|
352
428
|
data[key] = value.to_s
|
@@ -360,6 +436,18 @@ module AsposeWordsCloud
|
|
360
436
|
data
|
361
437
|
end
|
362
438
|
|
439
|
+
# Append query parameter to url
|
440
|
+
#
|
441
|
+
# @param [String] url current url
|
442
|
+
# @param [String] param_name query parameter name
|
443
|
+
# @param [String] param_value query parameter value
|
444
|
+
def add_param_to_query(url, param_name, param_value)
|
445
|
+
uri = URI(url)
|
446
|
+
params = URI.decode_www_form(uri.query || "") << [param_name, param_value]
|
447
|
+
uri.query = URI.encode_www_form(params)
|
448
|
+
uri.to_s
|
449
|
+
end
|
450
|
+
|
363
451
|
# Update hearder and query params based on authentication settings.
|
364
452
|
#
|
365
453
|
# @param [Hash] header_params Header parameters
|
@@ -119,7 +119,8 @@ module AsposeWordsCloud
|
|
119
119
|
return URI.join(baseUrl, path).to_s
|
120
120
|
end
|
121
121
|
|
122
|
-
|
122
|
+
p = URI::Parser.new
|
123
|
+
URI.join(baseUrl, "/v4.0/", p.escape(path)).to_s
|
123
124
|
end
|
124
125
|
|
125
126
|
# Gets API key (with prefix if set).
|
@@ -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
|
@@ -29,6 +29,9 @@ module AsposeWordsCloud
|
|
29
29
|
|
30
30
|
# DTO container with compare documents options.
|
31
31
|
class CompareOptions
|
32
|
+
# Gets or sets whether accept revisions before comparison or not.
|
33
|
+
attr_accessor :accept_all_revisions_before_comparison
|
34
|
+
|
32
35
|
# Gets or sets a value indicating whether documents comparison is case insensitive. By default comparison is case sensitive.
|
33
36
|
attr_accessor :ignore_case_changes
|
34
37
|
|
@@ -81,6 +84,7 @@ module AsposeWordsCloud
|
|
81
84
|
# Attribute mapping from ruby-style variable name to JSON key.
|
82
85
|
def self.attribute_map
|
83
86
|
{
|
87
|
+
:'accept_all_revisions_before_comparison' => :'AcceptAllRevisionsBeforeComparison',
|
84
88
|
:'ignore_case_changes' => :'IgnoreCaseChanges',
|
85
89
|
:'ignore_comments' => :'IgnoreComments',
|
86
90
|
:'ignore_fields' => :'IgnoreFields',
|
@@ -96,6 +100,7 @@ module AsposeWordsCloud
|
|
96
100
|
# Attribute type mapping.
|
97
101
|
def self.swagger_types
|
98
102
|
{
|
103
|
+
:'accept_all_revisions_before_comparison' => :'BOOLEAN',
|
99
104
|
:'ignore_case_changes' => :'BOOLEAN',
|
100
105
|
:'ignore_comments' => :'BOOLEAN',
|
101
106
|
:'ignore_fields' => :'BOOLEAN',
|
@@ -116,6 +121,10 @@ module AsposeWordsCloud
|
|
116
121
|
# convert string to symbol for hash key
|
117
122
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
118
123
|
|
124
|
+
if attributes.key?(:'AcceptAllRevisionsBeforeComparison')
|
125
|
+
self.accept_all_revisions_before_comparison = attributes[:'AcceptAllRevisionsBeforeComparison']
|
126
|
+
end
|
127
|
+
|
119
128
|
if attributes.key?(:'IgnoreCaseChanges')
|
120
129
|
self.ignore_case_changes = attributes[:'IgnoreCaseChanges']
|
121
130
|
end
|
@@ -189,6 +198,7 @@ module AsposeWordsCloud
|
|
189
198
|
def ==(other)
|
190
199
|
return true if self.equal?(other)
|
191
200
|
self.class == other.class &&
|
201
|
+
accept_all_revisions_before_comparison == other.accept_all_revisions_before_comparison &&
|
192
202
|
ignore_case_changes == other.ignore_case_changes &&
|
193
203
|
ignore_comments == other.ignore_comments &&
|
194
204
|
ignore_fields == other.ignore_fields &&
|
@@ -209,7 +219,7 @@ module AsposeWordsCloud
|
|
209
219
|
# Calculates hash code according to all attributes.
|
210
220
|
# @return [Fixnum] Hash code
|
211
221
|
def hash
|
212
|
-
[ignore_case_changes, ignore_comments, ignore_fields, ignore_footnotes, ignore_formatting, ignore_headers_and_footers, ignore_tables, ignore_textboxes, target].hash
|
222
|
+
[accept_all_revisions_before_comparison, ignore_case_changes, ignore_comments, ignore_fields, ignore_footnotes, ignore_formatting, ignore_headers_and_footers, ignore_tables, ignore_textboxes, target].hash
|
213
223
|
end
|
214
224
|
|
215
225
|
# 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
|
|
@@ -104,11 +111,13 @@ module AsposeWordsCloud
|
|
104
111
|
def self.attribute_map
|
105
112
|
{
|
106
113
|
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
114
|
+
:'custom_time_zone_info_data' => :'CustomTimeZoneInfoData',
|
107
115
|
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
108
116
|
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
109
117
|
:'dml_rendering_mode' => :'DmlRenderingMode',
|
110
118
|
:'file_name' => :'FileName',
|
111
119
|
:'save_format' => :'SaveFormat',
|
120
|
+
:'update_created_time_property' => :'UpdateCreatedTimeProperty',
|
112
121
|
:'update_fields' => :'UpdateFields',
|
113
122
|
:'update_last_printed_property' => :'UpdateLastPrintedProperty',
|
114
123
|
:'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
|
@@ -125,11 +134,13 @@ module AsposeWordsCloud
|
|
125
134
|
def self.swagger_types
|
126
135
|
{
|
127
136
|
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
137
|
+
:'custom_time_zone_info_data' => :'TimeZoneInfoData',
|
128
138
|
:'dml3_d_effects_rendering_mode' => :'String',
|
129
139
|
:'dml_effects_rendering_mode' => :'String',
|
130
140
|
:'dml_rendering_mode' => :'String',
|
131
141
|
:'file_name' => :'String',
|
132
142
|
:'save_format' => :'String',
|
143
|
+
:'update_created_time_property' => :'BOOLEAN',
|
133
144
|
:'update_fields' => :'BOOLEAN',
|
134
145
|
:'update_last_printed_property' => :'BOOLEAN',
|
135
146
|
:'update_last_saved_time_property' => :'BOOLEAN',
|
@@ -154,6 +165,10 @@ module AsposeWordsCloud
|
|
154
165
|
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
155
166
|
end
|
156
167
|
|
168
|
+
if attributes.key?(:'CustomTimeZoneInfoData')
|
169
|
+
self.custom_time_zone_info_data = attributes[:'CustomTimeZoneInfoData']
|
170
|
+
end
|
171
|
+
|
157
172
|
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
158
173
|
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
159
174
|
end
|
@@ -174,6 +189,10 @@ module AsposeWordsCloud
|
|
174
189
|
self.save_format = attributes[:'SaveFormat']
|
175
190
|
end
|
176
191
|
|
192
|
+
if attributes.key?(:'UpdateCreatedTimeProperty')
|
193
|
+
self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
|
194
|
+
end
|
195
|
+
|
177
196
|
if attributes.key?(:'UpdateFields')
|
178
197
|
self.update_fields = attributes[:'UpdateFields']
|
179
198
|
end
|
@@ -248,11 +267,13 @@ module AsposeWordsCloud
|
|
248
267
|
return true if self.equal?(other)
|
249
268
|
self.class == other.class &&
|
250
269
|
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
270
|
+
custom_time_zone_info_data == other.custom_time_zone_info_data &&
|
251
271
|
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
252
272
|
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
253
273
|
dml_rendering_mode == other.dml_rendering_mode &&
|
254
274
|
file_name == other.file_name &&
|
255
275
|
save_format == other.save_format &&
|
276
|
+
update_created_time_property == other.update_created_time_property &&
|
256
277
|
update_fields == other.update_fields &&
|
257
278
|
update_last_printed_property == other.update_last_printed_property &&
|
258
279
|
update_last_saved_time_property == other.update_last_saved_time_property &&
|
@@ -273,7 +294,7 @@ module AsposeWordsCloud
|
|
273
294
|
# Calculates hash code according to all attributes.
|
274
295
|
# @return [Fixnum] Hash code
|
275
296
|
def hash
|
276
|
-
[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, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
|
297
|
+
[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, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
|
277
298
|
end
|
278
299
|
|
279
300
|
# Builds the object from hash
|