aspose_words_cloud 21.8.0 → 21.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +100 -8
- data/lib/aspose_words_cloud/api_client.rb +25 -14
- data/lib/aspose_words_cloud/configuration.rb +7 -0
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/field_options.rb +370 -0
- data/lib/aspose_words_cloud/models/font.rb +2 -2
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/image_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/info_additional_item.rb +211 -0
- data/lib/aspose_words_cloud/models/info_response.rb +233 -0
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/{string_format_data.rb → json_data_load_options.rb} +42 -119
- 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/png_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/report_build_options.rb +1 -0
- data/lib/aspose_words_cloud/models/report_engine_settings.rb +24 -4
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/append_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/batch_part_request.rb +57 -0
- data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/classify_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/create_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/download_file_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +10 -2
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +10 -2
- data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_border_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_info_request.rb +115 -0
- data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_list_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_public_key_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_run_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_section_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_style_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/move_file_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_page_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/render_table_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/save_as_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/search_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/search_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/split_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_border_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_list_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_run_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_style_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +2 -1
- data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +2 -1
- data/lib/aspose_words_cloud/models/style.rb +2 -2
- data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +1 -11
- data/lib/aspose_words_cloud/models/user_information.rb +221 -0
- data/lib/aspose_words_cloud/models/xml_data_load_options.rb +203 -0
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +7 -2
- metadata +10 -4
- data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +0 -356
@@ -0,0 +1,211 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="info_additional_item.rb">
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
module AsposeWordsCloud
|
29
|
+
|
30
|
+
# Info additional item.
|
31
|
+
class InfoAdditionalItem
|
32
|
+
# Gets or sets Key.
|
33
|
+
attr_accessor :key
|
34
|
+
|
35
|
+
# Gets or sets Value.
|
36
|
+
attr_accessor :value
|
37
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
38
|
+
def self.attribute_map
|
39
|
+
{
|
40
|
+
:'key' => :'Key',
|
41
|
+
:'value' => :'Value'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# Attribute type mapping.
|
46
|
+
def self.swagger_types
|
47
|
+
{
|
48
|
+
:'key' => :'String',
|
49
|
+
:'value' => :'String'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Initializes the object
|
54
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
55
|
+
def initialize(attributes = {})
|
56
|
+
return unless attributes.is_a?(Hash)
|
57
|
+
|
58
|
+
# convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
60
|
+
|
61
|
+
if attributes.key?(:'Key')
|
62
|
+
self.key = attributes[:'Key']
|
63
|
+
end
|
64
|
+
|
65
|
+
if attributes.key?(:'Value')
|
66
|
+
self.value = attributes[:'Value']
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
71
|
+
# @return Array for valid properies with the reasons
|
72
|
+
def list_invalid_properties
|
73
|
+
invalid_properties = []
|
74
|
+
return invalid_properties
|
75
|
+
end
|
76
|
+
|
77
|
+
# Check to see if the all the properties in the model are valid
|
78
|
+
# @return true if the model is valid
|
79
|
+
def valid?
|
80
|
+
return true
|
81
|
+
end
|
82
|
+
|
83
|
+
# Checks equality by comparing each attribute.
|
84
|
+
# @param [Object] Object to be compared
|
85
|
+
def ==(other)
|
86
|
+
return true if self.equal?(other)
|
87
|
+
self.class == other.class &&
|
88
|
+
key == other.key &&
|
89
|
+
value == other.value
|
90
|
+
end
|
91
|
+
|
92
|
+
# @see the `==` method
|
93
|
+
# @param [Object] Object to be compared
|
94
|
+
def eql?(other)
|
95
|
+
self == other
|
96
|
+
end
|
97
|
+
|
98
|
+
# Calculates hash code according to all attributes.
|
99
|
+
# @return [Fixnum] Hash code
|
100
|
+
def hash
|
101
|
+
[key, value].hash
|
102
|
+
end
|
103
|
+
|
104
|
+
# Builds the object from hash
|
105
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
106
|
+
# @return [Object] Returns the model itself
|
107
|
+
def build_from_hash(attributes)
|
108
|
+
return nil unless attributes.is_a?(Hash)
|
109
|
+
self.class.swagger_types.each_pair do |key, type|
|
110
|
+
if type =~ /\AArray<(.*)>/i
|
111
|
+
# check to ensure the input is an array given that the the attribute
|
112
|
+
# is documented as an array but the input is not
|
113
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
114
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
115
|
+
end
|
116
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
117
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
118
|
+
end
|
119
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
120
|
+
end
|
121
|
+
|
122
|
+
self
|
123
|
+
end
|
124
|
+
|
125
|
+
# Deserializes the data based on type
|
126
|
+
# @param string type Data type
|
127
|
+
# @param string value Value to be deserialized
|
128
|
+
# @return [Object] Deserialized data
|
129
|
+
def _deserialize(type, value)
|
130
|
+
case type.to_sym
|
131
|
+
when :DateTime
|
132
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
133
|
+
when :Date
|
134
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
135
|
+
when :String
|
136
|
+
value.to_s
|
137
|
+
when :Integer
|
138
|
+
value.to_i
|
139
|
+
when :Float
|
140
|
+
value.to_f
|
141
|
+
when :BOOLEAN
|
142
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
143
|
+
true
|
144
|
+
else
|
145
|
+
false
|
146
|
+
end
|
147
|
+
when :Object
|
148
|
+
# generic object (usually a Hash), return directly
|
149
|
+
value
|
150
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
151
|
+
inner_type = Regexp.last_match[:inner_type]
|
152
|
+
value.map { |v| _deserialize(inner_type, v) }
|
153
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
154
|
+
k_type = Regexp.last_match[:k_type]
|
155
|
+
v_type = Regexp.last_match[:v_type]
|
156
|
+
{}.tap do |hash|
|
157
|
+
value.each do |k, v|
|
158
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
159
|
+
end
|
160
|
+
end
|
161
|
+
else
|
162
|
+
# model
|
163
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
164
|
+
temp_model.build_from_hash(value)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# Returns the string representation of the object
|
169
|
+
# @return [String] String presentation of the object
|
170
|
+
def to_s
|
171
|
+
to_hash.to_s
|
172
|
+
end
|
173
|
+
|
174
|
+
# to_body is an alias to to_hash (backward compatibility)
|
175
|
+
# @return [Hash] Returns the object in the form of hash
|
176
|
+
def to_body
|
177
|
+
to_hash
|
178
|
+
end
|
179
|
+
|
180
|
+
# Returns the object in the form of hash
|
181
|
+
# @return [Hash] Returns the object in the form of hash
|
182
|
+
def to_hash
|
183
|
+
hash = {}
|
184
|
+
self.class.attribute_map.each_pair do |attr, param|
|
185
|
+
value = self.send(attr)
|
186
|
+
next if value.nil?
|
187
|
+
hash[param] = _to_hash(value)
|
188
|
+
end
|
189
|
+
hash
|
190
|
+
end
|
191
|
+
|
192
|
+
# Outputs non-array value in the form of hash
|
193
|
+
# For object, use to_hash. Otherwise, just return the value
|
194
|
+
# @param [Object] value Any valid value
|
195
|
+
# @return [Hash] Returns the value in the form of hash
|
196
|
+
def _to_hash(value)
|
197
|
+
if value.is_a?(Array)
|
198
|
+
value.compact.map { |v| _to_hash(v) }
|
199
|
+
elsif value.is_a?(Hash)
|
200
|
+
{}.tap do |hash|
|
201
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
202
|
+
end
|
203
|
+
elsif value.respond_to? :to_hash
|
204
|
+
value.to_hash
|
205
|
+
else
|
206
|
+
value
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
end
|
211
|
+
end
|
@@ -0,0 +1,233 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="info_response.rb">
|
3
|
+
# Copyright (c) 2021 Aspose.Words for Cloud
|
4
|
+
# </copyright>
|
5
|
+
# <summary>
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the "Software"), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
# </summary>
|
24
|
+
# ------------------------------------------------------------------------------------
|
25
|
+
|
26
|
+
require 'date'
|
27
|
+
|
28
|
+
module AsposeWordsCloud
|
29
|
+
|
30
|
+
# Response with API info.
|
31
|
+
class InfoResponse
|
32
|
+
# Gets or sets the request Id.
|
33
|
+
attr_accessor :request_id
|
34
|
+
|
35
|
+
# Gets or sets additional info.
|
36
|
+
attr_accessor :additional_info
|
37
|
+
|
38
|
+
# Gets or sets application name.
|
39
|
+
attr_accessor :name
|
40
|
+
|
41
|
+
# Gets or sets version.
|
42
|
+
attr_accessor :version
|
43
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
44
|
+
def self.attribute_map
|
45
|
+
{
|
46
|
+
:'request_id' => :'RequestId',
|
47
|
+
:'additional_info' => :'AdditionalInfo',
|
48
|
+
:'name' => :'Name',
|
49
|
+
:'version' => :'Version'
|
50
|
+
}
|
51
|
+
end
|
52
|
+
|
53
|
+
# Attribute type mapping.
|
54
|
+
def self.swagger_types
|
55
|
+
{
|
56
|
+
:'request_id' => :'String',
|
57
|
+
:'additional_info' => :'Array<InfoAdditionalItem>',
|
58
|
+
:'name' => :'String',
|
59
|
+
:'version' => :'String'
|
60
|
+
}
|
61
|
+
end
|
62
|
+
|
63
|
+
# Initializes the object
|
64
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
65
|
+
def initialize(attributes = {})
|
66
|
+
return unless attributes.is_a?(Hash)
|
67
|
+
|
68
|
+
# convert string to symbol for hash key
|
69
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
70
|
+
|
71
|
+
if attributes.key?(:'RequestId')
|
72
|
+
self.request_id = attributes[:'RequestId']
|
73
|
+
end
|
74
|
+
|
75
|
+
if attributes.key?(:'AdditionalInfo')
|
76
|
+
if (value = attributes[:'AdditionalInfo']).is_a?(Array)
|
77
|
+
self.additional_info = value
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.key?(:'Name')
|
82
|
+
self.name = attributes[:'Name']
|
83
|
+
end
|
84
|
+
|
85
|
+
if attributes.key?(:'Version')
|
86
|
+
self.version = attributes[:'Version']
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
91
|
+
# @return Array for valid properies with the reasons
|
92
|
+
def list_invalid_properties
|
93
|
+
invalid_properties = []
|
94
|
+
return invalid_properties
|
95
|
+
end
|
96
|
+
|
97
|
+
# Check to see if the all the properties in the model are valid
|
98
|
+
# @return true if the model is valid
|
99
|
+
def valid?
|
100
|
+
return true
|
101
|
+
end
|
102
|
+
|
103
|
+
# Checks equality by comparing each attribute.
|
104
|
+
# @param [Object] Object to be compared
|
105
|
+
def ==(other)
|
106
|
+
return true if self.equal?(other)
|
107
|
+
self.class == other.class &&
|
108
|
+
request_id == other.request_id &&
|
109
|
+
additional_info == other.additional_info &&
|
110
|
+
name == other.name &&
|
111
|
+
version == other.version
|
112
|
+
end
|
113
|
+
|
114
|
+
# @see the `==` method
|
115
|
+
# @param [Object] Object to be compared
|
116
|
+
def eql?(other)
|
117
|
+
self == other
|
118
|
+
end
|
119
|
+
|
120
|
+
# Calculates hash code according to all attributes.
|
121
|
+
# @return [Fixnum] Hash code
|
122
|
+
def hash
|
123
|
+
[request_id, additional_info, name, version].hash
|
124
|
+
end
|
125
|
+
|
126
|
+
# Builds the object from hash
|
127
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
128
|
+
# @return [Object] Returns the model itself
|
129
|
+
def build_from_hash(attributes)
|
130
|
+
return nil unless attributes.is_a?(Hash)
|
131
|
+
self.class.swagger_types.each_pair do |key, type|
|
132
|
+
if type =~ /\AArray<(.*)>/i
|
133
|
+
# check to ensure the input is an array given that the the attribute
|
134
|
+
# is documented as an array but the input is not
|
135
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
136
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
137
|
+
end
|
138
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
139
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
140
|
+
end
|
141
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
142
|
+
end
|
143
|
+
|
144
|
+
self
|
145
|
+
end
|
146
|
+
|
147
|
+
# Deserializes the data based on type
|
148
|
+
# @param string type Data type
|
149
|
+
# @param string value Value to be deserialized
|
150
|
+
# @return [Object] Deserialized data
|
151
|
+
def _deserialize(type, value)
|
152
|
+
case type.to_sym
|
153
|
+
when :DateTime
|
154
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
155
|
+
when :Date
|
156
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
157
|
+
when :String
|
158
|
+
value.to_s
|
159
|
+
when :Integer
|
160
|
+
value.to_i
|
161
|
+
when :Float
|
162
|
+
value.to_f
|
163
|
+
when :BOOLEAN
|
164
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
165
|
+
true
|
166
|
+
else
|
167
|
+
false
|
168
|
+
end
|
169
|
+
when :Object
|
170
|
+
# generic object (usually a Hash), return directly
|
171
|
+
value
|
172
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
173
|
+
inner_type = Regexp.last_match[:inner_type]
|
174
|
+
value.map { |v| _deserialize(inner_type, v) }
|
175
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
176
|
+
k_type = Regexp.last_match[:k_type]
|
177
|
+
v_type = Regexp.last_match[:v_type]
|
178
|
+
{}.tap do |hash|
|
179
|
+
value.each do |k, v|
|
180
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
181
|
+
end
|
182
|
+
end
|
183
|
+
else
|
184
|
+
# model
|
185
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
186
|
+
temp_model.build_from_hash(value)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Returns the string representation of the object
|
191
|
+
# @return [String] String presentation of the object
|
192
|
+
def to_s
|
193
|
+
to_hash.to_s
|
194
|
+
end
|
195
|
+
|
196
|
+
# to_body is an alias to to_hash (backward compatibility)
|
197
|
+
# @return [Hash] Returns the object in the form of hash
|
198
|
+
def to_body
|
199
|
+
to_hash
|
200
|
+
end
|
201
|
+
|
202
|
+
# Returns the object in the form of hash
|
203
|
+
# @return [Hash] Returns the object in the form of hash
|
204
|
+
def to_hash
|
205
|
+
hash = {}
|
206
|
+
self.class.attribute_map.each_pair do |attr, param|
|
207
|
+
value = self.send(attr)
|
208
|
+
next if value.nil?
|
209
|
+
hash[param] = _to_hash(value)
|
210
|
+
end
|
211
|
+
hash
|
212
|
+
end
|
213
|
+
|
214
|
+
# Outputs non-array value in the form of hash
|
215
|
+
# For object, use to_hash. Otherwise, just return the value
|
216
|
+
# @param [Object] value Any valid value
|
217
|
+
# @return [Hash] Returns the value in the form of hash
|
218
|
+
def _to_hash(value)
|
219
|
+
if value.is_a?(Array)
|
220
|
+
value.compact.map { |v| _to_hash(v) }
|
221
|
+
elsif value.is_a?(Hash)
|
222
|
+
{}.tap do |hash|
|
223
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
224
|
+
end
|
225
|
+
elsif value.respond_to? :to_hash
|
226
|
+
value.to_hash
|
227
|
+
else
|
228
|
+
value
|
229
|
+
end
|
230
|
+
end
|
231
|
+
|
232
|
+
end
|
233
|
+
end
|
@@ -102,9 +102,6 @@ module AsposeWordsCloud
|
|
102
102
|
# Gets or sets the 0-based index of the first page to render.
|
103
103
|
attr_accessor :page_index
|
104
104
|
|
105
|
-
# Gets or sets the additional System.Drawing.Graphics quality options.
|
106
|
-
attr_accessor :graphics_quality_options
|
107
|
-
|
108
105
|
# Gets or sets the horizontal resolution in dots per inch for the generated images.
|
109
106
|
# This property has effect only when saving to raster image formats.
|
110
107
|
# The default value is 96.
|
@@ -194,7 +191,6 @@ module AsposeWordsCloud
|
|
194
191
|
:'optimize_output' => :'OptimizeOutput',
|
195
192
|
:'page_count' => :'PageCount',
|
196
193
|
:'page_index' => :'PageIndex',
|
197
|
-
:'graphics_quality_options' => :'GraphicsQualityOptions',
|
198
194
|
:'horizontal_resolution' => :'HorizontalResolution',
|
199
195
|
:'image_brightness' => :'ImageBrightness',
|
200
196
|
:'image_color_mode' => :'ImageColorMode',
|
@@ -235,7 +231,6 @@ module AsposeWordsCloud
|
|
235
231
|
:'optimize_output' => :'BOOLEAN',
|
236
232
|
:'page_count' => :'Integer',
|
237
233
|
:'page_index' => :'Integer',
|
238
|
-
:'graphics_quality_options' => :'GraphicsQualityOptionsData',
|
239
234
|
:'horizontal_resolution' => :'Float',
|
240
235
|
:'image_brightness' => :'Float',
|
241
236
|
:'image_color_mode' => :'String',
|
@@ -347,10 +342,6 @@ module AsposeWordsCloud
|
|
347
342
|
self.page_index = attributes[:'PageIndex']
|
348
343
|
end
|
349
344
|
|
350
|
-
if attributes.key?(:'GraphicsQualityOptions')
|
351
|
-
self.graphics_quality_options = attributes[:'GraphicsQualityOptions']
|
352
|
-
end
|
353
|
-
|
354
345
|
if attributes.key?(:'HorizontalResolution')
|
355
346
|
self.horizontal_resolution = attributes[:'HorizontalResolution']
|
356
347
|
end
|
@@ -458,7 +449,6 @@ module AsposeWordsCloud
|
|
458
449
|
optimize_output == other.optimize_output &&
|
459
450
|
page_count == other.page_count &&
|
460
451
|
page_index == other.page_index &&
|
461
|
-
graphics_quality_options == other.graphics_quality_options &&
|
462
452
|
horizontal_resolution == other.horizontal_resolution &&
|
463
453
|
image_brightness == other.image_brightness &&
|
464
454
|
image_color_mode == other.image_color_mode &&
|
@@ -482,7 +472,7 @@ module AsposeWordsCloud
|
|
482
472
|
# Calculates hash code according to all attributes.
|
483
473
|
# @return [Fixnum] Hash code
|
484
474
|
def hash
|
485
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, 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,
|
475
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, flat_opc_xml_mapping_only, iml_rendering_mode, 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, 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
|
486
476
|
end
|
487
477
|
|
488
478
|
# Builds the object from hash
|