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,370 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="field_options.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
|
+
# DTO for field options.
|
31
|
+
class FieldOptions
|
32
|
+
# Gets or sets BuiltIn Templates Paths.
|
33
|
+
attr_accessor :built_in_templates_paths
|
34
|
+
|
35
|
+
# Gets or sets Curren tUser.
|
36
|
+
attr_accessor :current_user
|
37
|
+
|
38
|
+
# Gets or sets Custom Toc Style Separator.
|
39
|
+
attr_accessor :custom_toc_style_separator
|
40
|
+
|
41
|
+
# Gets or sets Default Document Author.
|
42
|
+
attr_accessor :default_document_author
|
43
|
+
|
44
|
+
# Gets or sets Field Index Format.
|
45
|
+
attr_accessor :field_index_format
|
46
|
+
|
47
|
+
# Gets or sets Field Update Culture Source.
|
48
|
+
attr_accessor :field_update_culture_source
|
49
|
+
|
50
|
+
# Gets or sets File Name.
|
51
|
+
attr_accessor :file_name
|
52
|
+
|
53
|
+
# Gets or sets if Bidi Text Supported OnUpdate.
|
54
|
+
attr_accessor :is_bidi_text_supported_on_update
|
55
|
+
|
56
|
+
# Gets or sets if Legacy Number Format.
|
57
|
+
attr_accessor :legacy_number_format
|
58
|
+
|
59
|
+
# Gets or sets PreProcess Culture Name.
|
60
|
+
attr_accessor :pre_process_culture_name
|
61
|
+
|
62
|
+
# Gets or sets Template Name.
|
63
|
+
attr_accessor :template_name
|
64
|
+
|
65
|
+
# Gets or sets if Use Invariant Culture Number Format.
|
66
|
+
attr_accessor :use_invariant_culture_number_format
|
67
|
+
|
68
|
+
class EnumAttributeValidator
|
69
|
+
attr_reader :datatype
|
70
|
+
attr_reader :allowable_values
|
71
|
+
|
72
|
+
def initialize(datatype, allowable_values)
|
73
|
+
@allowable_values = allowable_values.map do |value|
|
74
|
+
case datatype.to_s
|
75
|
+
when /Integer/i
|
76
|
+
value.to_i
|
77
|
+
when /Float/i
|
78
|
+
value.to_f
|
79
|
+
else
|
80
|
+
value
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
84
|
+
|
85
|
+
def valid?(value)
|
86
|
+
!value || allowable_values.include?(value)
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
91
|
+
def self.attribute_map
|
92
|
+
{
|
93
|
+
:'built_in_templates_paths' => :'BuiltInTemplatesPaths',
|
94
|
+
:'current_user' => :'CurrentUser',
|
95
|
+
:'custom_toc_style_separator' => :'CustomTocStyleSeparator',
|
96
|
+
:'default_document_author' => :'DefaultDocumentAuthor',
|
97
|
+
:'field_index_format' => :'FieldIndexFormat',
|
98
|
+
:'field_update_culture_source' => :'FieldUpdateCultureSource',
|
99
|
+
:'file_name' => :'FileName',
|
100
|
+
:'is_bidi_text_supported_on_update' => :'IsBidiTextSupportedOnUpdate',
|
101
|
+
:'legacy_number_format' => :'LegacyNumberFormat',
|
102
|
+
:'pre_process_culture_name' => :'PreProcessCultureName',
|
103
|
+
:'template_name' => :'TemplateName',
|
104
|
+
:'use_invariant_culture_number_format' => :'UseInvariantCultureNumberFormat'
|
105
|
+
}
|
106
|
+
end
|
107
|
+
|
108
|
+
# Attribute type mapping.
|
109
|
+
def self.swagger_types
|
110
|
+
{
|
111
|
+
:'built_in_templates_paths' => :'Array<String>',
|
112
|
+
:'current_user' => :'UserInformation',
|
113
|
+
:'custom_toc_style_separator' => :'String',
|
114
|
+
:'default_document_author' => :'String',
|
115
|
+
:'field_index_format' => :'String',
|
116
|
+
:'field_update_culture_source' => :'String',
|
117
|
+
:'file_name' => :'String',
|
118
|
+
:'is_bidi_text_supported_on_update' => :'BOOLEAN',
|
119
|
+
:'legacy_number_format' => :'BOOLEAN',
|
120
|
+
:'pre_process_culture_name' => :'String',
|
121
|
+
:'template_name' => :'String',
|
122
|
+
:'use_invariant_culture_number_format' => :'BOOLEAN'
|
123
|
+
}
|
124
|
+
end
|
125
|
+
|
126
|
+
# Initializes the object
|
127
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
128
|
+
def initialize(attributes = {})
|
129
|
+
return unless attributes.is_a?(Hash)
|
130
|
+
|
131
|
+
# convert string to symbol for hash key
|
132
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
133
|
+
|
134
|
+
if attributes.key?(:'BuiltInTemplatesPaths')
|
135
|
+
if (value = attributes[:'BuiltInTemplatesPaths']).is_a?(Array)
|
136
|
+
self.built_in_templates_paths = value
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
if attributes.key?(:'CurrentUser')
|
141
|
+
self.current_user = attributes[:'CurrentUser']
|
142
|
+
end
|
143
|
+
|
144
|
+
if attributes.key?(:'CustomTocStyleSeparator')
|
145
|
+
self.custom_toc_style_separator = attributes[:'CustomTocStyleSeparator']
|
146
|
+
end
|
147
|
+
|
148
|
+
if attributes.key?(:'DefaultDocumentAuthor')
|
149
|
+
self.default_document_author = attributes[:'DefaultDocumentAuthor']
|
150
|
+
end
|
151
|
+
|
152
|
+
if attributes.key?(:'FieldIndexFormat')
|
153
|
+
self.field_index_format = attributes[:'FieldIndexFormat']
|
154
|
+
end
|
155
|
+
|
156
|
+
if attributes.key?(:'FieldUpdateCultureSource')
|
157
|
+
self.field_update_culture_source = attributes[:'FieldUpdateCultureSource']
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes.key?(:'FileName')
|
161
|
+
self.file_name = attributes[:'FileName']
|
162
|
+
end
|
163
|
+
|
164
|
+
if attributes.key?(:'IsBidiTextSupportedOnUpdate')
|
165
|
+
self.is_bidi_text_supported_on_update = attributes[:'IsBidiTextSupportedOnUpdate']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'LegacyNumberFormat')
|
169
|
+
self.legacy_number_format = attributes[:'LegacyNumberFormat']
|
170
|
+
end
|
171
|
+
|
172
|
+
if attributes.key?(:'PreProcessCultureName')
|
173
|
+
self.pre_process_culture_name = attributes[:'PreProcessCultureName']
|
174
|
+
end
|
175
|
+
|
176
|
+
if attributes.key?(:'TemplateName')
|
177
|
+
self.template_name = attributes[:'TemplateName']
|
178
|
+
end
|
179
|
+
|
180
|
+
if attributes.key?(:'UseInvariantCultureNumberFormat')
|
181
|
+
self.use_invariant_culture_number_format = attributes[:'UseInvariantCultureNumberFormat']
|
182
|
+
end
|
183
|
+
end
|
184
|
+
|
185
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
186
|
+
# @return Array for valid properies with the reasons
|
187
|
+
def list_invalid_properties
|
188
|
+
invalid_properties = []
|
189
|
+
return invalid_properties
|
190
|
+
end
|
191
|
+
|
192
|
+
# Check to see if the all the properties in the model are valid
|
193
|
+
# @return true if the model is valid
|
194
|
+
def valid?
|
195
|
+
field_index_format_validator = EnumAttributeValidator.new('String', ["Template", "Classic", "Fancy", "Modern", "Bulleted", "Formal", "Simple"])
|
196
|
+
return false unless field_index_format_validator.valid?(@field_index_format)
|
197
|
+
field_update_culture_source_validator = EnumAttributeValidator.new('String', ["CurrentThread", "FieldCode"])
|
198
|
+
return false unless field_update_culture_source_validator.valid?(@field_update_culture_source)
|
199
|
+
|
200
|
+
return true
|
201
|
+
end
|
202
|
+
|
203
|
+
# Custom attribute writer method checking allowed values (enum).
|
204
|
+
# @param [Object] field_index_format Object to be assigned
|
205
|
+
def field_index_format=(field_index_format)
|
206
|
+
validator = EnumAttributeValidator.new('String', ["Template", "Classic", "Fancy", "Modern", "Bulleted", "Formal", "Simple"])
|
207
|
+
if field_index_format.to_i == 0
|
208
|
+
unless validator.valid?(field_index_format)
|
209
|
+
raise ArgumentError, "invalid value for 'field_index_format', must be one of #{validator.allowable_values}."
|
210
|
+
end
|
211
|
+
@field_index_format = field_index_format
|
212
|
+
else
|
213
|
+
@field_index_format = validator.allowable_values[field_index_format.to_i]
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
# Custom attribute writer method checking allowed values (enum).
|
218
|
+
# @param [Object] field_update_culture_source Object to be assigned
|
219
|
+
def field_update_culture_source=(field_update_culture_source)
|
220
|
+
validator = EnumAttributeValidator.new('String', ["CurrentThread", "FieldCode"])
|
221
|
+
if field_update_culture_source.to_i == 0
|
222
|
+
unless validator.valid?(field_update_culture_source)
|
223
|
+
raise ArgumentError, "invalid value for 'field_update_culture_source', must be one of #{validator.allowable_values}."
|
224
|
+
end
|
225
|
+
@field_update_culture_source = field_update_culture_source
|
226
|
+
else
|
227
|
+
@field_update_culture_source = validator.allowable_values[field_update_culture_source.to_i]
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
|
232
|
+
# Checks equality by comparing each attribute.
|
233
|
+
# @param [Object] Object to be compared
|
234
|
+
def ==(other)
|
235
|
+
return true if self.equal?(other)
|
236
|
+
self.class == other.class &&
|
237
|
+
built_in_templates_paths == other.built_in_templates_paths &&
|
238
|
+
current_user == other.current_user &&
|
239
|
+
custom_toc_style_separator == other.custom_toc_style_separator &&
|
240
|
+
default_document_author == other.default_document_author &&
|
241
|
+
field_index_format == other.field_index_format &&
|
242
|
+
field_update_culture_source == other.field_update_culture_source &&
|
243
|
+
file_name == other.file_name &&
|
244
|
+
is_bidi_text_supported_on_update == other.is_bidi_text_supported_on_update &&
|
245
|
+
legacy_number_format == other.legacy_number_format &&
|
246
|
+
pre_process_culture_name == other.pre_process_culture_name &&
|
247
|
+
template_name == other.template_name &&
|
248
|
+
use_invariant_culture_number_format == other.use_invariant_culture_number_format
|
249
|
+
end
|
250
|
+
|
251
|
+
# @see the `==` method
|
252
|
+
# @param [Object] Object to be compared
|
253
|
+
def eql?(other)
|
254
|
+
self == other
|
255
|
+
end
|
256
|
+
|
257
|
+
# Calculates hash code according to all attributes.
|
258
|
+
# @return [Fixnum] Hash code
|
259
|
+
def hash
|
260
|
+
[built_in_templates_paths, current_user, custom_toc_style_separator, default_document_author, field_index_format, field_update_culture_source, file_name, is_bidi_text_supported_on_update, legacy_number_format, pre_process_culture_name, template_name, use_invariant_culture_number_format].hash
|
261
|
+
end
|
262
|
+
|
263
|
+
# Builds the object from hash
|
264
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
265
|
+
# @return [Object] Returns the model itself
|
266
|
+
def build_from_hash(attributes)
|
267
|
+
return nil unless attributes.is_a?(Hash)
|
268
|
+
self.class.swagger_types.each_pair do |key, type|
|
269
|
+
if type =~ /\AArray<(.*)>/i
|
270
|
+
# check to ensure the input is an array given that the the attribute
|
271
|
+
# is documented as an array but the input is not
|
272
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
273
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
274
|
+
end
|
275
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
276
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
277
|
+
end
|
278
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
279
|
+
end
|
280
|
+
|
281
|
+
self
|
282
|
+
end
|
283
|
+
|
284
|
+
# Deserializes the data based on type
|
285
|
+
# @param string type Data type
|
286
|
+
# @param string value Value to be deserialized
|
287
|
+
# @return [Object] Deserialized data
|
288
|
+
def _deserialize(type, value)
|
289
|
+
case type.to_sym
|
290
|
+
when :DateTime
|
291
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
292
|
+
when :Date
|
293
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
294
|
+
when :String
|
295
|
+
value.to_s
|
296
|
+
when :Integer
|
297
|
+
value.to_i
|
298
|
+
when :Float
|
299
|
+
value.to_f
|
300
|
+
when :BOOLEAN
|
301
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
302
|
+
true
|
303
|
+
else
|
304
|
+
false
|
305
|
+
end
|
306
|
+
when :Object
|
307
|
+
# generic object (usually a Hash), return directly
|
308
|
+
value
|
309
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
310
|
+
inner_type = Regexp.last_match[:inner_type]
|
311
|
+
value.map { |v| _deserialize(inner_type, v) }
|
312
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
313
|
+
k_type = Regexp.last_match[:k_type]
|
314
|
+
v_type = Regexp.last_match[:v_type]
|
315
|
+
{}.tap do |hash|
|
316
|
+
value.each do |k, v|
|
317
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
318
|
+
end
|
319
|
+
end
|
320
|
+
else
|
321
|
+
# model
|
322
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
323
|
+
temp_model.build_from_hash(value)
|
324
|
+
end
|
325
|
+
end
|
326
|
+
|
327
|
+
# Returns the string representation of the object
|
328
|
+
# @return [String] String presentation of the object
|
329
|
+
def to_s
|
330
|
+
to_hash.to_s
|
331
|
+
end
|
332
|
+
|
333
|
+
# to_body is an alias to to_hash (backward compatibility)
|
334
|
+
# @return [Hash] Returns the object in the form of hash
|
335
|
+
def to_body
|
336
|
+
to_hash
|
337
|
+
end
|
338
|
+
|
339
|
+
# Returns the object in the form of hash
|
340
|
+
# @return [Hash] Returns the object in the form of hash
|
341
|
+
def to_hash
|
342
|
+
hash = {}
|
343
|
+
self.class.attribute_map.each_pair do |attr, param|
|
344
|
+
value = self.send(attr)
|
345
|
+
next if value.nil?
|
346
|
+
hash[param] = _to_hash(value)
|
347
|
+
end
|
348
|
+
hash
|
349
|
+
end
|
350
|
+
|
351
|
+
# Outputs non-array value in the form of hash
|
352
|
+
# For object, use to_hash. Otherwise, just return the value
|
353
|
+
# @param [Object] value Any valid value
|
354
|
+
# @return [Hash] Returns the value in the form of hash
|
355
|
+
def _to_hash(value)
|
356
|
+
if value.is_a?(Array)
|
357
|
+
value.compact.map { |v| _to_hash(v) }
|
358
|
+
elsif value.is_a?(Hash)
|
359
|
+
{}.tap do |hash|
|
360
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
361
|
+
end
|
362
|
+
elsif value.respond_to? :to_hash
|
363
|
+
value.to_hash
|
364
|
+
else
|
365
|
+
value
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
end
|
370
|
+
end
|
@@ -452,7 +452,7 @@ module AsposeWordsCloud
|
|
452
452
|
# Check to see if the all the properties in the model are valid
|
453
453
|
# @return true if the model is valid
|
454
454
|
def valid?
|
455
|
-
style_identifier_validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "User", "Nil"])
|
455
|
+
style_identifier_validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "Mention", "SmartHyperlink", "Hashtag", "UnresolvedMention", "User", "Nil"])
|
456
456
|
return false unless style_identifier_validator.valid?(@style_identifier)
|
457
457
|
text_effect_validator = EnumAttributeValidator.new('String', ["None", "LasVegasLights", "BlinkingBackground", "SparkleText", "MarchingBlackAnts", "MarchingRedAnts", "Shimmer"])
|
458
458
|
return false unless text_effect_validator.valid?(@text_effect)
|
@@ -465,7 +465,7 @@ module AsposeWordsCloud
|
|
465
465
|
# Custom attribute writer method checking allowed values (enum).
|
466
466
|
# @param [Object] style_identifier Object to be assigned
|
467
467
|
def style_identifier=(style_identifier)
|
468
|
-
validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "User", "Nil"])
|
468
|
+
validator = EnumAttributeValidator.new('String', ["Normal", "Heading1", "Heading2", "Heading3", "Heading4", "Heading5", "Heading6", "Heading7", "Heading8", "Heading9", "Index1", "Index2", "Index3", "Index4", "Index5", "Index6", "Index7", "Index8", "Index9", "Toc1", "Toc2", "Toc3", "Toc4", "Toc5", "Toc6", "Toc7", "Toc8", "Toc9", "NormalIndent", "FootnoteText", "CommentText", "Header", "Footer", "IndexHeading", "Caption", "TableOfFigures", "EnvelopeAddress", "EnvelopeReturn", "FootnoteReference", "CommentReference", "LineNumber", "PageNumber", "EndnoteReference", "EndnoteText", "TableOfAuthorities", "Macro", "ToaHeading", "List", "ListBullet", "ListNumber", "List2", "List3", "List4", "List5", "ListBullet2", "ListBullet3", "ListBullet4", "ListBullet5", "ListNumber2", "ListNumber3", "ListNumber4", "ListNumber5", "Title", "Closing", "Signature", "DefaultParagraphFont", "BodyText", "BodyTextInd", "ListContinue", "ListContinue2", "ListContinue3", "ListContinue4", "ListContinue5", "MessageHeader", "Subtitle", "Salutation", "Date", "BodyText1I", "BodyText1I2", "NoteHeading", "BodyText2", "BodyText3", "BodyTextInd2", "BodyTextInd3", "BlockText", "Hyperlink", "FollowedHyperlink", "Strong", "Emphasis", "DocumentMap", "PlainText", "EmailSignature", "HtmlTopOfForm", "HtmlBottomOfForm", "NormalWeb", "HtmlAcronym", "HtmlAddress", "HtmlCite", "HtmlCode", "HtmlDefinition", "HtmlKeyboard", "HtmlPreformatted", "HtmlSample", "HtmlTypewriter", "HtmlVariable", "TableNormal", "CommentSubject", "NoList", "OutlineList1", "OutlineList2", "OutlineList3", "TableSimple1", "TableSimple2", "TableSimple3", "TableClassic1", "TableClassic2", "TableClassic3", "TableClassic4", "TableColorful1", "TableColorful2", "TableColorful3", "TableColumns1", "TableColumns2", "TableColumns3", "TableColumns4", "TableColumns5", "TableGrid1", "TableGrid2", "TableGrid3", "TableGrid4", "TableGrid5", "TableGrid6", "TableGrid7", "TableGrid8", "TableList1", "TableList2", "TableList3", "TableList4", "TableList5", "TableList6", "TableList7", "TableList8", "Table3DEffects1", "Table3DEffects2", "Table3DEffects3", "TableContemporary", "TableElegant", "TableProfessional", "TableSubtle1", "TableSubtle2", "TableWeb1", "TableWeb2", "TableWeb3", "BalloonText", "TableGrid", "TableTheme", "PlaceholderText", "NoSpacing", "LightShading", "LightList", "LightGrid", "MediumShading1", "MediumShading2", "MediumList1", "MediumList2", "MediumGrid1", "MediumGrid2", "MediumGrid3", "DarkList", "ColorfulShading", "ColorfulList", "ColorfulGrid", "LightShadingAccent1", "LightListAccent1", "LightGridAccent1", "MediumShading1Accent1", "MediumShading2Accent1", "MediumList1Accent1", "Revision", "ListParagraph", "Quote", "IntenseQuote", "MediumList2Accent1", "MediumGrid1Accent1", "MediumGrid2Accent1", "MediumGrid3Accent1", "DarkListAccent1", "ColorfulShadingAccent1", "ColorfulListAccent1", "ColorfulGridAccent1", "LightShadingAccent2", "LightListAccent2", "LightGridAccent2", "MediumShading1Accent2", "MediumShading2Accent2", "MediumList1Accent2", "MediumList2Accent2", "MediumGrid1Accent2", "MediumGrid2Accent2", "MediumGrid3Accent2", "DarkListAccent2", "ColorfulShadingAccent2", "ColorfulListAccent2", "ColorfulGridAccent2", "LightShadingAccent3", "LightListAccent3", "LightGridAccent3", "MediumShading1Accent3", "MediumShading2Accent3", "MediumList1Accent3", "MediumList2Accent3", "MediumGrid1Accent3", "MediumGrid2Accent3", "MediumGrid3Accent3", "DarkListAccent3", "ColorfulShadingAccent3", "ColorfulListAccent3", "ColorfulGridAccent3", "LightShadingAccent4", "LightListAccent4", "LightGridAccent4", "MediumShading1Accent4", "MediumShading2Accent4", "MediumList1Accent4", "MediumList2Accent4", "MediumGrid1Accent4", "MediumGrid2Accent4", "MediumGrid3Accent4", "DarkListAccent4", "ColorfulShadingAccent4", "ColorfulListAccent4", "ColorfulGridAccent4", "LightShadingAccent5", "LightListAccent5", "LightGridAccent5", "MediumShading1Accent5", "MediumShading2Accent5", "MediumList1Accent5", "MediumList2Accent5", "MediumGrid1Accent5", "MediumGrid2Accent5", "MediumGrid3Accent5", "DarkListAccent5", "ColorfulShadingAccent5", "ColorfulListAccent5", "ColorfulGridAccent5", "LightShadingAccent6", "LightListAccent6", "LightGridAccent6", "MediumShading1Accent6", "MediumShading2Accent6", "MediumList1Accent6", "MediumList2Accent6", "MediumGrid1Accent6", "MediumGrid2Accent6", "MediumGrid3Accent6", "DarkListAccent6", "ColorfulShadingAccent6", "ColorfulListAccent6", "ColorfulGridAccent6", "SubtleEmphasis", "IntenseEmphasis", "SubtleReference", "IntenseReference", "BookTitle", "Bibliography", "TocHeading", "PlainTable1", "PlainTable2", "PlainTable3", "PlainTable4", "PlainTable5", "TableGridLight", "GridTable1Light", "GridTable2", "GridTable3", "GridTable4", "GridTable5Dark", "GridTable6Colorful", "GridTable7Colorful", "GridTable1LightAccent1", "GridTable2Accent1", "GridTable3Accent1", "GridTable4Accent1", "GridTable5DarkAccent1", "GridTable6ColorfulAccent1", "GridTable7ColorfulAccent1", "GridTable1LightAccent2", "GridTable2Accent2", "GridTable3Accent2", "GridTable4Accent2", "GridTable5DarkAccent2", "GridTable6ColorfulAccent2", "GridTable7ColorfulAccent2", "GridTable1LightAccent3", "GridTable2Accent3", "GridTable3Accent3", "GridTable4Accent3", "GridTable5DarkAccent3", "GridTable6ColorfulAccent3", "GridTable7ColorfulAccent3", "GridTable1LightAccent4", "GridTable2Accent4", "GridTable3Accent4", "GridTable4Accent4", "GridTable5DarkAccent4", "GridTable6ColorfulAccent4", "GridTable7ColorfulAccent4", "GridTable1LightAccent5", "GridTable2Accent5", "GridTable3Accent5", "GridTable4Accent5", "GridTable5DarkAccent5", "GridTable6ColorfulAccent5", "GridTable7ColorfulAccent5", "GridTable1LightAccent6", "GridTable2Accent6", "GridTable3Accent6", "GridTable4Accent6", "GridTable5DarkAccent6", "GridTable6ColorfulAccent6", "GridTable7ColorfulAccent6", "ListTable1Light", "ListTable2", "ListTable3", "ListTable4", "ListTable5Dark", "ListTable6Colorful", "ListTable7Colorful", "ListTable1LightAccent1", "ListTable2Accent1", "ListTable3Accent1", "ListTable4Accent1", "ListTable5DarkAccent1", "ListTable6ColorfulAccent1", "ListTable7ColorfulAccent1", "ListTable1LightAccent2", "ListTable2Accent2", "ListTable3Accent2", "ListTable4Accent2", "ListTable5DarkAccent2", "ListTable6ColorfulAccent2", "ListTable7ColorfulAccent2", "ListTable1LightAccent3", "ListTable2Accent3", "ListTable3Accent3", "ListTable4Accent3", "ListTable5DarkAccent3", "ListTable6ColorfulAccent3", "ListTable7ColorfulAccent3", "ListTable1LightAccent4", "ListTable2Accent4", "ListTable3Accent4", "ListTable4Accent4", "ListTable5DarkAccent4", "ListTable6ColorfulAccent4", "ListTable7ColorfulAccent4", "ListTable1LightAccent5", "ListTable2Accent5", "ListTable3Accent5", "ListTable4Accent5", "ListTable5DarkAccent5", "ListTable6ColorfulAccent5", "ListTable7ColorfulAccent5", "ListTable1LightAccent6", "ListTable2Accent6", "ListTable3Accent6", "ListTable4Accent6", "ListTable5DarkAccent6", "ListTable6ColorfulAccent6", "ListTable7ColorfulAccent6", "SmartLink", "Mention", "SmartHyperlink", "Hashtag", "UnresolvedMention", "User", "Nil"])
|
469
469
|
if style_identifier.to_i == 0
|
470
470
|
unless validator.valid?(style_identifier)
|
471
471
|
raise ArgumentError, "invalid value for 'style_identifier', must be one of #{validator.allowable_values}."
|
@@ -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
|
@@ -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
|