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
@@ -59,5 +59,103 @@ module AsposeWordsCloud
|
|
59
59
|
self.load_encoding = load_encoding
|
60
60
|
self.password = password
|
61
61
|
end
|
62
|
+
|
63
|
+
# Creating batch part from request
|
64
|
+
def to_batch_part(api_client)
|
65
|
+
# verify the required parameter 'name' is set
|
66
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_document_hyperlinks' if api_client.config.client_side_validation && self.name.nil?
|
67
|
+
|
68
|
+
# resource path
|
69
|
+
local_var_path = '/words/{name}/hyperlinks'[7..-1]
|
70
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
71
|
+
local_var_path = local_var_path.sub('//', '/')
|
72
|
+
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
76
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
77
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
78
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
79
|
+
|
80
|
+
if query_params
|
81
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
82
|
+
end
|
83
|
+
|
84
|
+
header_params = {}
|
85
|
+
|
86
|
+
# form parameters
|
87
|
+
form_params = {}
|
88
|
+
|
89
|
+
# http body (model)
|
90
|
+
post_body = nil
|
91
|
+
body = nil
|
92
|
+
part = ""
|
93
|
+
part.concat("GET".force_encoding('UTF-8'))
|
94
|
+
part.concat(" ".force_encoding('UTF-8'))
|
95
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
96
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
97
|
+
|
98
|
+
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')) }
|
99
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
100
|
+
if body
|
101
|
+
if body.is_a?(Hash)
|
102
|
+
body.each do |key, value|
|
103
|
+
part.concat(value, "\r\n")
|
104
|
+
end
|
105
|
+
else
|
106
|
+
part.concat(body)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
part
|
110
|
+
end
|
111
|
+
|
112
|
+
def create_http_request(api_client)
|
113
|
+
# verify the required parameter 'name' is set
|
114
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_document_hyperlinks' if api_client.config.client_side_validation && self.name.nil?
|
115
|
+
|
116
|
+
# resource path
|
117
|
+
local_var_path = '/words/{name}/hyperlinks'[1..-1]
|
118
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
119
|
+
local_var_path = local_var_path.sub('//', '/')
|
120
|
+
|
121
|
+
# query parameters
|
122
|
+
query_params = {}
|
123
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
124
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
125
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
126
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
127
|
+
|
128
|
+
# header parameters
|
129
|
+
header_params = {}
|
130
|
+
# HTTP header 'Content-Type'
|
131
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
132
|
+
|
133
|
+
# form parameters
|
134
|
+
form_params = {}
|
135
|
+
|
136
|
+
# http body (model)
|
137
|
+
post_body = nil
|
138
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
139
|
+
{
|
140
|
+
'method': :GET,
|
141
|
+
'path': local_var_path,
|
142
|
+
'header_params': header_params,
|
143
|
+
'query_params': query_params,
|
144
|
+
'body': body,
|
145
|
+
'auth_names': ['JWT']
|
146
|
+
}
|
147
|
+
end
|
148
|
+
|
149
|
+
#
|
150
|
+
# Helper method to convert first letter to downcase
|
151
|
+
#
|
152
|
+
def downcase_first_letter(str)
|
153
|
+
str[0].downcase + str[1..-1]
|
154
|
+
end
|
155
|
+
|
156
|
+
# Get response type
|
157
|
+
def get_response_type
|
158
|
+
'HyperlinksResponse'
|
159
|
+
end
|
62
160
|
end
|
63
161
|
end
|
@@ -49,5 +49,102 @@ module AsposeWordsCloud
|
|
49
49
|
self.load_encoding = load_encoding
|
50
50
|
self.password = password
|
51
51
|
end
|
52
|
+
|
53
|
+
# Creating batch part from request
|
54
|
+
def to_batch_part(api_client)
|
55
|
+
# verify the required parameter 'document' is set
|
56
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_document_properties_online' if api_client.config.client_side_validation && self.document.nil?
|
57
|
+
|
58
|
+
# resource path
|
59
|
+
local_var_path = '/words/online/get/documentProperties'[7..-1]
|
60
|
+
local_var_path = local_var_path.sub('//', '/')
|
61
|
+
|
62
|
+
# query parameters
|
63
|
+
query_params = {}
|
64
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
65
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
66
|
+
|
67
|
+
if query_params
|
68
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
69
|
+
end
|
70
|
+
|
71
|
+
header_params = {}
|
72
|
+
# header parameters
|
73
|
+
# HTTP header 'Content-Type'
|
74
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
75
|
+
|
76
|
+
# form parameters
|
77
|
+
form_params = {}
|
78
|
+
form_params[downcase_first_letter('Document')] = self.document
|
79
|
+
|
80
|
+
# http body (model)
|
81
|
+
post_body = nil
|
82
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
83
|
+
part = ""
|
84
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
85
|
+
part.concat(" ".force_encoding('UTF-8'))
|
86
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
87
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
88
|
+
|
89
|
+
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')) }
|
90
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
91
|
+
if body
|
92
|
+
if body.is_a?(Hash)
|
93
|
+
body.each do |key, value|
|
94
|
+
part.concat(value, "\r\n")
|
95
|
+
end
|
96
|
+
else
|
97
|
+
part.concat(body)
|
98
|
+
end
|
99
|
+
end
|
100
|
+
part
|
101
|
+
end
|
102
|
+
|
103
|
+
def create_http_request(api_client)
|
104
|
+
# verify the required parameter 'document' is set
|
105
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_document_properties_online' if api_client.config.client_side_validation && self.document.nil?
|
106
|
+
|
107
|
+
# resource path
|
108
|
+
local_var_path = '/words/online/get/documentProperties'[1..-1]
|
109
|
+
local_var_path = local_var_path.sub('//', '/')
|
110
|
+
|
111
|
+
# query parameters
|
112
|
+
query_params = {}
|
113
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
114
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
115
|
+
|
116
|
+
# header parameters
|
117
|
+
header_params = {}
|
118
|
+
# HTTP header 'Content-Type'
|
119
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
120
|
+
|
121
|
+
# form parameters
|
122
|
+
form_params = {}
|
123
|
+
form_params[downcase_first_letter('Document')] = self.document
|
124
|
+
|
125
|
+
# http body (model)
|
126
|
+
post_body = nil
|
127
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
128
|
+
{
|
129
|
+
'method': :PUT,
|
130
|
+
'path': local_var_path,
|
131
|
+
'header_params': header_params,
|
132
|
+
'query_params': query_params,
|
133
|
+
'body': body,
|
134
|
+
'auth_names': ['JWT']
|
135
|
+
}
|
136
|
+
end
|
137
|
+
|
138
|
+
#
|
139
|
+
# Helper method to convert first letter to downcase
|
140
|
+
#
|
141
|
+
def downcase_first_letter(str)
|
142
|
+
str[0].downcase + str[1..-1]
|
143
|
+
end
|
144
|
+
|
145
|
+
# Get response type
|
146
|
+
def get_response_type
|
147
|
+
'DocumentPropertiesResponse'
|
148
|
+
end
|
52
149
|
end
|
53
150
|
end
|
@@ -59,5 +59,103 @@ module AsposeWordsCloud
|
|
59
59
|
self.load_encoding = load_encoding
|
60
60
|
self.password = password
|
61
61
|
end
|
62
|
+
|
63
|
+
# Creating batch part from request
|
64
|
+
def to_batch_part(api_client)
|
65
|
+
# verify the required parameter 'name' is set
|
66
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_document_properties' if api_client.config.client_side_validation && self.name.nil?
|
67
|
+
|
68
|
+
# resource path
|
69
|
+
local_var_path = '/words/{name}/documentProperties'[7..-1]
|
70
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
71
|
+
local_var_path = local_var_path.sub('//', '/')
|
72
|
+
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
76
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
77
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
78
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
79
|
+
|
80
|
+
if query_params
|
81
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
82
|
+
end
|
83
|
+
|
84
|
+
header_params = {}
|
85
|
+
|
86
|
+
# form parameters
|
87
|
+
form_params = {}
|
88
|
+
|
89
|
+
# http body (model)
|
90
|
+
post_body = nil
|
91
|
+
body = nil
|
92
|
+
part = ""
|
93
|
+
part.concat("GET".force_encoding('UTF-8'))
|
94
|
+
part.concat(" ".force_encoding('UTF-8'))
|
95
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
96
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
97
|
+
|
98
|
+
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')) }
|
99
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
100
|
+
if body
|
101
|
+
if body.is_a?(Hash)
|
102
|
+
body.each do |key, value|
|
103
|
+
part.concat(value, "\r\n")
|
104
|
+
end
|
105
|
+
else
|
106
|
+
part.concat(body)
|
107
|
+
end
|
108
|
+
end
|
109
|
+
part
|
110
|
+
end
|
111
|
+
|
112
|
+
def create_http_request(api_client)
|
113
|
+
# verify the required parameter 'name' is set
|
114
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_document_properties' if api_client.config.client_side_validation && self.name.nil?
|
115
|
+
|
116
|
+
# resource path
|
117
|
+
local_var_path = '/words/{name}/documentProperties'[1..-1]
|
118
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
119
|
+
local_var_path = local_var_path.sub('//', '/')
|
120
|
+
|
121
|
+
# query parameters
|
122
|
+
query_params = {}
|
123
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
124
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
125
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
126
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
127
|
+
|
128
|
+
# header parameters
|
129
|
+
header_params = {}
|
130
|
+
# HTTP header 'Content-Type'
|
131
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
132
|
+
|
133
|
+
# form parameters
|
134
|
+
form_params = {}
|
135
|
+
|
136
|
+
# http body (model)
|
137
|
+
post_body = nil
|
138
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
139
|
+
{
|
140
|
+
'method': :GET,
|
141
|
+
'path': local_var_path,
|
142
|
+
'header_params': header_params,
|
143
|
+
'query_params': query_params,
|
144
|
+
'body': body,
|
145
|
+
'auth_names': ['JWT']
|
146
|
+
}
|
147
|
+
end
|
148
|
+
|
149
|
+
#
|
150
|
+
# Helper method to convert first letter to downcase
|
151
|
+
#
|
152
|
+
def downcase_first_letter(str)
|
153
|
+
str[0].downcase + str[1..-1]
|
154
|
+
end
|
155
|
+
|
156
|
+
# Get response type
|
157
|
+
def get_response_type
|
158
|
+
'DocumentPropertiesResponse'
|
159
|
+
end
|
62
160
|
end
|
63
161
|
end
|
@@ -54,5 +54,108 @@ module AsposeWordsCloud
|
|
54
54
|
self.load_encoding = load_encoding
|
55
55
|
self.password = password
|
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.get_document_property_online' if api_client.config.client_side_validation && self.document.nil?
|
62
|
+
# verify the required parameter 'property_name' is set
|
63
|
+
raise ArgumentError, 'Missing the required parameter property_name when calling WordsApi.get_document_property_online' if api_client.config.client_side_validation && self.property_name.nil?
|
64
|
+
|
65
|
+
# resource path
|
66
|
+
local_var_path = '/words/online/get/documentProperties/{propertyName}'[7..-1]
|
67
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('PropertyName') + '}', self.property_name.nil? ? '' : self.property_name.to_s)
|
68
|
+
local_var_path = local_var_path.sub('//', '/')
|
69
|
+
|
70
|
+
# query parameters
|
71
|
+
query_params = {}
|
72
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
73
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
74
|
+
|
75
|
+
if query_params
|
76
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
77
|
+
end
|
78
|
+
|
79
|
+
header_params = {}
|
80
|
+
# header parameters
|
81
|
+
# HTTP header 'Content-Type'
|
82
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
83
|
+
|
84
|
+
# form parameters
|
85
|
+
form_params = {}
|
86
|
+
form_params[downcase_first_letter('Document')] = self.document
|
87
|
+
|
88
|
+
# http body (model)
|
89
|
+
post_body = nil
|
90
|
+
body = api_client.build_request_body_batch(header_params, form_params, post_body)
|
91
|
+
part = ""
|
92
|
+
part.concat("PUT".force_encoding('UTF-8'))
|
93
|
+
part.concat(" ".force_encoding('UTF-8'))
|
94
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
95
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
96
|
+
|
97
|
+
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')) }
|
98
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
99
|
+
if body
|
100
|
+
if body.is_a?(Hash)
|
101
|
+
body.each do |key, value|
|
102
|
+
part.concat(value, "\r\n")
|
103
|
+
end
|
104
|
+
else
|
105
|
+
part.concat(body)
|
106
|
+
end
|
107
|
+
end
|
108
|
+
part
|
109
|
+
end
|
110
|
+
|
111
|
+
def create_http_request(api_client)
|
112
|
+
# verify the required parameter 'document' is set
|
113
|
+
raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_document_property_online' if api_client.config.client_side_validation && self.document.nil?
|
114
|
+
# verify the required parameter 'property_name' is set
|
115
|
+
raise ArgumentError, 'Missing the required parameter property_name when calling WordsApi.get_document_property_online' if api_client.config.client_side_validation && self.property_name.nil?
|
116
|
+
|
117
|
+
# resource path
|
118
|
+
local_var_path = '/words/online/get/documentProperties/{propertyName}'[1..-1]
|
119
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('PropertyName') + '}', self.property_name.nil? ? '' : self.property_name.to_s)
|
120
|
+
local_var_path = local_var_path.sub('//', '/')
|
121
|
+
|
122
|
+
# query parameters
|
123
|
+
query_params = {}
|
124
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
125
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
126
|
+
|
127
|
+
# header parameters
|
128
|
+
header_params = {}
|
129
|
+
# HTTP header 'Content-Type'
|
130
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
131
|
+
|
132
|
+
# form parameters
|
133
|
+
form_params = {}
|
134
|
+
form_params[downcase_first_letter('Document')] = self.document
|
135
|
+
|
136
|
+
# http body (model)
|
137
|
+
post_body = nil
|
138
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
139
|
+
{
|
140
|
+
'method': :PUT,
|
141
|
+
'path': local_var_path,
|
142
|
+
'header_params': header_params,
|
143
|
+
'query_params': query_params,
|
144
|
+
'body': body,
|
145
|
+
'auth_names': ['JWT']
|
146
|
+
}
|
147
|
+
end
|
148
|
+
|
149
|
+
#
|
150
|
+
# Helper method to convert first letter to downcase
|
151
|
+
#
|
152
|
+
def downcase_first_letter(str)
|
153
|
+
str[0].downcase + str[1..-1]
|
154
|
+
end
|
155
|
+
|
156
|
+
# Get response type
|
157
|
+
def get_response_type
|
158
|
+
'DocumentPropertyResponse'
|
159
|
+
end
|
57
160
|
end
|
58
161
|
end
|
@@ -64,5 +64,109 @@ module AsposeWordsCloud
|
|
64
64
|
self.load_encoding = load_encoding
|
65
65
|
self.password = password
|
66
66
|
end
|
67
|
+
|
68
|
+
# Creating batch part from request
|
69
|
+
def to_batch_part(api_client)
|
70
|
+
# verify the required parameter 'name' is set
|
71
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_document_property' if api_client.config.client_side_validation && self.name.nil?
|
72
|
+
# verify the required parameter 'property_name' is set
|
73
|
+
raise ArgumentError, 'Missing the required parameter property_name when calling WordsApi.get_document_property' if api_client.config.client_side_validation && self.property_name.nil?
|
74
|
+
|
75
|
+
# resource path
|
76
|
+
local_var_path = '/words/{name}/documentProperties/{propertyName}'[7..-1]
|
77
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
78
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('PropertyName') + '}', self.property_name.nil? ? '' : self.property_name.to_s)
|
79
|
+
local_var_path = local_var_path.sub('//', '/')
|
80
|
+
|
81
|
+
# query parameters
|
82
|
+
query_params = {}
|
83
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
84
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
85
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
86
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
87
|
+
|
88
|
+
if query_params
|
89
|
+
query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
|
90
|
+
end
|
91
|
+
|
92
|
+
header_params = {}
|
93
|
+
|
94
|
+
# form parameters
|
95
|
+
form_params = {}
|
96
|
+
|
97
|
+
# http body (model)
|
98
|
+
post_body = nil
|
99
|
+
body = nil
|
100
|
+
part = ""
|
101
|
+
part.concat("GET".force_encoding('UTF-8'))
|
102
|
+
part.concat(" ".force_encoding('UTF-8'))
|
103
|
+
part.concat(local_var_path.force_encoding('UTF-8'))
|
104
|
+
part.concat(" \r\n".force_encoding('UTF-8'))
|
105
|
+
|
106
|
+
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')) }
|
107
|
+
part.concat("\r\n".force_encoding('UTF-8'))
|
108
|
+
if body
|
109
|
+
if body.is_a?(Hash)
|
110
|
+
body.each do |key, value|
|
111
|
+
part.concat(value, "\r\n")
|
112
|
+
end
|
113
|
+
else
|
114
|
+
part.concat(body)
|
115
|
+
end
|
116
|
+
end
|
117
|
+
part
|
118
|
+
end
|
119
|
+
|
120
|
+
def create_http_request(api_client)
|
121
|
+
# verify the required parameter 'name' is set
|
122
|
+
raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_document_property' if api_client.config.client_side_validation && self.name.nil?
|
123
|
+
# verify the required parameter 'property_name' is set
|
124
|
+
raise ArgumentError, 'Missing the required parameter property_name when calling WordsApi.get_document_property' if api_client.config.client_side_validation && self.property_name.nil?
|
125
|
+
|
126
|
+
# resource path
|
127
|
+
local_var_path = '/words/{name}/documentProperties/{propertyName}'[1..-1]
|
128
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
|
129
|
+
local_var_path = local_var_path.sub('{' + downcase_first_letter('PropertyName') + '}', self.property_name.nil? ? '' : self.property_name.to_s)
|
130
|
+
local_var_path = local_var_path.sub('//', '/')
|
131
|
+
|
132
|
+
# query parameters
|
133
|
+
query_params = {}
|
134
|
+
query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
|
135
|
+
query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
|
136
|
+
query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
|
137
|
+
query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
|
138
|
+
|
139
|
+
# header parameters
|
140
|
+
header_params = {}
|
141
|
+
# HTTP header 'Content-Type'
|
142
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
|
143
|
+
|
144
|
+
# form parameters
|
145
|
+
form_params = {}
|
146
|
+
|
147
|
+
# http body (model)
|
148
|
+
post_body = nil
|
149
|
+
body = api_client.build_request_body(header_params, form_params, post_body)
|
150
|
+
{
|
151
|
+
'method': :GET,
|
152
|
+
'path': local_var_path,
|
153
|
+
'header_params': header_params,
|
154
|
+
'query_params': query_params,
|
155
|
+
'body': body,
|
156
|
+
'auth_names': ['JWT']
|
157
|
+
}
|
158
|
+
end
|
159
|
+
|
160
|
+
#
|
161
|
+
# Helper method to convert first letter to downcase
|
162
|
+
#
|
163
|
+
def downcase_first_letter(str)
|
164
|
+
str[0].downcase + str[1..-1]
|
165
|
+
end
|
166
|
+
|
167
|
+
# Get response type
|
168
|
+
def get_response_type
|
169
|
+
'DocumentPropertyResponse'
|
170
|
+
end
|
67
171
|
end
|
68
172
|
end
|