aspose_words_cloud 24.6.0 → 24.8.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/models/azw3_save_options_data.rb +963 -0
- data/lib/aspose_words_cloud/models/document.rb +2 -2
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +2 -2
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/append_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/build_report_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compress_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/compress_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/copy_styles_from_template_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmarks_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_bookmarks_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_objects_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_office_math_objects_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_border_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_list_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tags_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_structured_document_tags_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_bookmark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_bookmark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/link_header_footers_to_previous_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/merge_with_next_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/merge_with_next_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_page_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/render_table_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/search_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/search_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/split_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/translate_node_id_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/translate_node_id_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_border_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_list_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_run_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_structured_document_tag_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_structured_document_tag_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_style_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +8 -1
- data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +8 -1
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +13 -1
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +1 -0
- metadata +3 -2
@@ -0,0 +1,963 @@
|
|
1
|
+
# ------------------------------------------------------------------------------------
|
2
|
+
# <copyright company="Aspose" file="azw3_save_options_data.rb">
|
3
|
+
# Copyright (c) 2024 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
|
+
# Container class for azw3 save options.
|
31
|
+
class Azw3SaveOptionsData
|
32
|
+
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
# Note, Word does not embed PostScript fonts, but can open documents with embedded fonts of this type.
|
34
|
+
# This option only works when Aspose.Words.Fonts.FontInfoCollection.EmbedTrueTypeFonts of the Aspose.Words.DocumentBase.FontInfos property is set to true.
|
35
|
+
# The default value is false.
|
36
|
+
attr_accessor :allow_embedding_post_script_fonts
|
37
|
+
|
38
|
+
# Gets or sets CustomTimeZoneInfo.
|
39
|
+
attr_accessor :custom_time_zone_info_data
|
40
|
+
|
41
|
+
# Gets or sets the value determining how 3D effects are rendered.
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
43
|
+
attr_accessor :dml3_d_effects_rendering_mode
|
44
|
+
|
45
|
+
# Gets or sets the value determining how DrawingML effects are rendered.
|
46
|
+
# { Simplified | None | Fine }.
|
47
|
+
# The default value is Simplified.
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
49
|
+
attr_accessor :dml_effects_rendering_mode
|
50
|
+
|
51
|
+
# Gets or sets the option that controls how DrawingML shapes are rendered.
|
52
|
+
# { Fallback | DrawingML }. The default value is Fallback.
|
53
|
+
# This property is used when the document is exported to fixed page formats.
|
54
|
+
attr_accessor :dml_rendering_mode
|
55
|
+
|
56
|
+
# Gets or sets the name of destination file.
|
57
|
+
attr_accessor :file_name
|
58
|
+
|
59
|
+
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
61
|
+
attr_accessor :iml_rendering_mode
|
62
|
+
|
63
|
+
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
64
|
+
# Default value is false.
|
65
|
+
attr_accessor :update_created_time_property
|
66
|
+
|
67
|
+
# Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
|
68
|
+
attr_accessor :update_fields
|
69
|
+
|
70
|
+
# Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastPrinted property is updated before saving.
|
71
|
+
attr_accessor :update_last_printed_property
|
72
|
+
|
73
|
+
# Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving.
|
74
|
+
# The default value is false.
|
75
|
+
attr_accessor :update_last_saved_time_property
|
76
|
+
|
77
|
+
# Gets or sets a value indicating whether to zip output or not.
|
78
|
+
# The default value is false.
|
79
|
+
# When set to true, output files will be zipped.
|
80
|
+
attr_accessor :zip_output
|
81
|
+
|
82
|
+
# Gets or sets a value indicating whether negative left and right indents of paragraphs are allowed (not normalized).
|
83
|
+
attr_accessor :allow_negative_indent
|
84
|
+
|
85
|
+
# Gets or sets the prefix which is added to all CSS class names. The default value is an empty string and generated CSS class names have no common prefix.
|
86
|
+
# If this value is not empty, all CSS classes generated by Aspose.Words will start with the specified prefix.This might be useful, for example, if you add custom CSS to generated documents and want to prevent class name conflicts.
|
87
|
+
# If the value is not null or empty, it must be a valid CSS identifier.
|
88
|
+
attr_accessor :css_class_name_prefix
|
89
|
+
|
90
|
+
# Gets or sets the name of the CSS file written when the document is exported to HTML.
|
91
|
+
attr_accessor :css_style_sheet_file_name
|
92
|
+
|
93
|
+
# Gets or sets the option that controls how the CSS styles are exported.
|
94
|
+
attr_accessor :css_style_sheet_type
|
95
|
+
|
96
|
+
# Gets or sets the option that controls how the document should be split when saving.
|
97
|
+
attr_accessor :document_split_criteria
|
98
|
+
|
99
|
+
# Gets or sets the maximum level of headings at which to split the document.
|
100
|
+
attr_accessor :document_split_heading_level
|
101
|
+
|
102
|
+
# Gets or sets the character encoding to use when exporting.
|
103
|
+
attr_accessor :encoding
|
104
|
+
|
105
|
+
# Gets or sets a value indicating whether to export built-in and custom document properties.
|
106
|
+
attr_accessor :export_document_properties
|
107
|
+
|
108
|
+
# Gets or sets the flag, that controls how drop-down form fields are saved to HTML.
|
109
|
+
# The default value is false.
|
110
|
+
# When set to true, exports drop-down form fields as normal text.
|
111
|
+
# When false, exports drop-down form fields as SELECT element in HTML.
|
112
|
+
attr_accessor :export_drop_down_form_field_as_text
|
113
|
+
|
114
|
+
# Gets or sets a value indicating whether font resources should be exported.
|
115
|
+
attr_accessor :export_font_resources
|
116
|
+
|
117
|
+
# Gets or sets a value indicating whether fonts resources should be embedded to HTML in Base64 encoding. The default value is false.
|
118
|
+
attr_accessor :export_fonts_as_base64
|
119
|
+
|
120
|
+
# Gets or sets the option that controls how headers and footers are exported.
|
121
|
+
attr_accessor :export_headers_footers_mode
|
122
|
+
|
123
|
+
# Gets or sets a value indicating whether images are saved in Base64 format.
|
124
|
+
attr_accessor :export_images_as_base64
|
125
|
+
|
126
|
+
# Gets or sets a value indicating whether language information is exported.
|
127
|
+
attr_accessor :export_language_information
|
128
|
+
|
129
|
+
# Gets or sets the option that controls how list labels are exported.
|
130
|
+
attr_accessor :export_list_labels
|
131
|
+
|
132
|
+
# Gets or sets a value indicating whether the original URL should be used as the URL of the linked images.
|
133
|
+
# The default value is false.
|
134
|
+
# If value is set to true - ResourceFolder value is used as the URL of linked images and linked images are not loaded into document's folder or ImagesFolder.If value is set to false - linked images are loaded into document's folder or ImagesFolder and URL of each linked image is constructed depending on document's folder, ImagesFolder and ImagesFolderAlias properties.
|
135
|
+
attr_accessor :export_original_url_for_linked_images
|
136
|
+
|
137
|
+
# Gets or sets a value indicating whether page margins are exported to HTML, MHTML or EPUB.
|
138
|
+
# The default value is false.
|
139
|
+
# Aspose.Words does not show area of page margins by default. If any elements are completely or partially clipped by the document edge the displayed area can be extended with this option.
|
140
|
+
attr_accessor :export_page_margins
|
141
|
+
|
142
|
+
# Gets or sets a value indicating whether page setup is exported.
|
143
|
+
attr_accessor :export_page_setup
|
144
|
+
|
145
|
+
# Gets or sets a value indicating whether font sizes should be output in relative units when saving.
|
146
|
+
attr_accessor :export_relative_font_size
|
147
|
+
|
148
|
+
# Gets or sets a value indicating whether to write the roundtrip information when saving to HTML. The default value is true.
|
149
|
+
# Saving of the roundtrip information allows to restore document properties such as tab stops, comments, headers and footers during the HTML documents loading back into a Document object.When true, the roundtrip information is exported as -aw-* CSS properties of the corresponding HTML elements.When false, causes no roundtrip information to be output into produced files.
|
150
|
+
attr_accessor :export_roundtrip_information
|
151
|
+
|
152
|
+
# Gets or sets the flag, that controls how text input form fields are saved.
|
153
|
+
attr_accessor :export_text_input_form_field_as_text
|
154
|
+
|
155
|
+
# Gets or sets a value indicating whether to write page numbers to table of contents when saving.
|
156
|
+
attr_accessor :export_toc_page_numbers
|
157
|
+
|
158
|
+
# Gets or sets a value indicating whether to write the DOCTYPE declaration when saving.
|
159
|
+
attr_accessor :export_xhtml_transitional
|
160
|
+
|
161
|
+
# Gets or sets the option that controls which font resources need subsetting when saving.
|
162
|
+
attr_accessor :font_resources_subsetting_size_threshold
|
163
|
+
|
164
|
+
# Gets or sets the physical folder where fonts are saved when exporting a document.
|
165
|
+
attr_accessor :fonts_folder
|
166
|
+
|
167
|
+
# Gets or sets the name of the folder used to construct font URIs.
|
168
|
+
attr_accessor :fonts_folder_alias
|
169
|
+
|
170
|
+
# Gets or sets the version of HTML standard, that should be used when saving the document to HTML or MHTML.
|
171
|
+
# Default value is Aspose.Words.Saving.HtmlVersion.Xhtml.
|
172
|
+
attr_accessor :html_version
|
173
|
+
|
174
|
+
# Gets or sets the output resolution for images when exporting.
|
175
|
+
attr_accessor :image_resolution
|
176
|
+
|
177
|
+
# Gets or sets the physical folder where images are saved when exporting a document.
|
178
|
+
attr_accessor :images_folder
|
179
|
+
|
180
|
+
# Gets or sets the name of the folder used to construct image URIs.
|
181
|
+
attr_accessor :images_folder_alias
|
182
|
+
|
183
|
+
# Gets or sets the options, that controls in what format metafiles are saved when exporting to HTML, MHTML, or EPUB.
|
184
|
+
# The default value is Aspose.Words.Saving.HtmlMetafileFormat.Png, meaning that metafiles are rendered to raster PNG images.
|
185
|
+
# Metafiles are not natively displayed by HTML browsers. By default, Aspose.Words converts WMF and EMF images into PNG files when exporting to HTML.Other options are to convert metafiles to SVG images or to export them as is without conversion.
|
186
|
+
# Some image transforms, in particular image cropping, will not be applied to metafile images if they are exported to HTML without conversion.
|
187
|
+
attr_accessor :metafile_format
|
188
|
+
|
189
|
+
# Gets or sets the option that controls how OfficeMath objects are exported to HTML, MHTML or EPUB. The default value is HtmlOfficeMathOutputMode.Image.
|
190
|
+
attr_accessor :office_math_output_mode
|
191
|
+
|
192
|
+
# Gets or sets a value indicating whether to use pretty formats output.
|
193
|
+
attr_accessor :pretty_format
|
194
|
+
|
195
|
+
# Gets or sets a value indicating whether font family names used in the document are resolved and substituted according to FontSettings when being written into HTML-based formats.
|
196
|
+
# The default value is false.
|
197
|
+
attr_accessor :resolve_font_names
|
198
|
+
|
199
|
+
# Gets or sets the physical folder where all resources like images, fonts, and external CSS are saved when a document is exported to HTML. The default value is an empty string.
|
200
|
+
attr_accessor :resource_folder
|
201
|
+
|
202
|
+
# Gets or sets the name of the folder used to construct URIs of all resources written into HTML document. The default value is an empty string.
|
203
|
+
attr_accessor :resource_folder_alias
|
204
|
+
|
205
|
+
# Gets or sets a value indicating whether images are scaled by Aspose.Words to the bounding shape size when exporting.
|
206
|
+
attr_accessor :scale_image_to_shape_size
|
207
|
+
|
208
|
+
# Gets or sets the option that controls how table, row and cell widths are exported.
|
209
|
+
attr_accessor :table_width_output_mode
|
210
|
+
|
211
|
+
# Gets or sets the maximum level of headings populated to the navigation map when exporting.
|
212
|
+
attr_accessor :navigation_map_level
|
213
|
+
|
214
|
+
# Gets the format of save.
|
215
|
+
attr_accessor :save_format
|
216
|
+
|
217
|
+
class EnumAttributeValidator
|
218
|
+
attr_reader :datatype
|
219
|
+
attr_reader :allowable_values
|
220
|
+
|
221
|
+
def initialize(datatype, allowable_values)
|
222
|
+
@allowable_values = allowable_values.map do |value|
|
223
|
+
case datatype.to_s
|
224
|
+
when /Integer/i
|
225
|
+
value.to_i
|
226
|
+
when /Float/i
|
227
|
+
value.to_f
|
228
|
+
else
|
229
|
+
value
|
230
|
+
end
|
231
|
+
end
|
232
|
+
end
|
233
|
+
|
234
|
+
def valid?(value)
|
235
|
+
!value || allowable_values.include?(value)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
239
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
240
|
+
def self.attribute_map
|
241
|
+
{
|
242
|
+
:'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
|
243
|
+
:'custom_time_zone_info_data' => :'CustomTimeZoneInfoData',
|
244
|
+
:'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
|
245
|
+
:'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
|
246
|
+
:'dml_rendering_mode' => :'DmlRenderingMode',
|
247
|
+
:'file_name' => :'FileName',
|
248
|
+
:'iml_rendering_mode' => :'ImlRenderingMode',
|
249
|
+
:'update_created_time_property' => :'UpdateCreatedTimeProperty',
|
250
|
+
:'update_fields' => :'UpdateFields',
|
251
|
+
:'update_last_printed_property' => :'UpdateLastPrintedProperty',
|
252
|
+
:'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
|
253
|
+
:'zip_output' => :'ZipOutput',
|
254
|
+
:'allow_negative_indent' => :'AllowNegativeIndent',
|
255
|
+
:'css_class_name_prefix' => :'CssClassNamePrefix',
|
256
|
+
:'css_style_sheet_file_name' => :'CssStyleSheetFileName',
|
257
|
+
:'css_style_sheet_type' => :'CssStyleSheetType',
|
258
|
+
:'document_split_criteria' => :'DocumentSplitCriteria',
|
259
|
+
:'document_split_heading_level' => :'DocumentSplitHeadingLevel',
|
260
|
+
:'encoding' => :'Encoding',
|
261
|
+
:'export_document_properties' => :'ExportDocumentProperties',
|
262
|
+
:'export_drop_down_form_field_as_text' => :'ExportDropDownFormFieldAsText',
|
263
|
+
:'export_font_resources' => :'ExportFontResources',
|
264
|
+
:'export_fonts_as_base64' => :'ExportFontsAsBase64',
|
265
|
+
:'export_headers_footers_mode' => :'ExportHeadersFootersMode',
|
266
|
+
:'export_images_as_base64' => :'ExportImagesAsBase64',
|
267
|
+
:'export_language_information' => :'ExportLanguageInformation',
|
268
|
+
:'export_list_labels' => :'ExportListLabels',
|
269
|
+
:'export_original_url_for_linked_images' => :'ExportOriginalUrlForLinkedImages',
|
270
|
+
:'export_page_margins' => :'ExportPageMargins',
|
271
|
+
:'export_page_setup' => :'ExportPageSetup',
|
272
|
+
:'export_relative_font_size' => :'ExportRelativeFontSize',
|
273
|
+
:'export_roundtrip_information' => :'ExportRoundtripInformation',
|
274
|
+
:'export_text_input_form_field_as_text' => :'ExportTextInputFormFieldAsText',
|
275
|
+
:'export_toc_page_numbers' => :'ExportTocPageNumbers',
|
276
|
+
:'export_xhtml_transitional' => :'ExportXhtmlTransitional',
|
277
|
+
:'font_resources_subsetting_size_threshold' => :'FontResourcesSubsettingSizeThreshold',
|
278
|
+
:'fonts_folder' => :'FontsFolder',
|
279
|
+
:'fonts_folder_alias' => :'FontsFolderAlias',
|
280
|
+
:'html_version' => :'HtmlVersion',
|
281
|
+
:'image_resolution' => :'ImageResolution',
|
282
|
+
:'images_folder' => :'ImagesFolder',
|
283
|
+
:'images_folder_alias' => :'ImagesFolderAlias',
|
284
|
+
:'metafile_format' => :'MetafileFormat',
|
285
|
+
:'office_math_output_mode' => :'OfficeMathOutputMode',
|
286
|
+
:'pretty_format' => :'PrettyFormat',
|
287
|
+
:'resolve_font_names' => :'ResolveFontNames',
|
288
|
+
:'resource_folder' => :'ResourceFolder',
|
289
|
+
:'resource_folder_alias' => :'ResourceFolderAlias',
|
290
|
+
:'scale_image_to_shape_size' => :'ScaleImageToShapeSize',
|
291
|
+
:'table_width_output_mode' => :'TableWidthOutputMode',
|
292
|
+
:'navigation_map_level' => :'NavigationMapLevel',
|
293
|
+
:'save_format' => :'SaveFormat'
|
294
|
+
}
|
295
|
+
end
|
296
|
+
|
297
|
+
# Attribute type mapping.
|
298
|
+
def self.swagger_types
|
299
|
+
{
|
300
|
+
:'allow_embedding_post_script_fonts' => :'BOOLEAN',
|
301
|
+
:'custom_time_zone_info_data' => :'TimeZoneInfoData',
|
302
|
+
:'dml3_d_effects_rendering_mode' => :'String',
|
303
|
+
:'dml_effects_rendering_mode' => :'String',
|
304
|
+
:'dml_rendering_mode' => :'String',
|
305
|
+
:'file_name' => :'String',
|
306
|
+
:'iml_rendering_mode' => :'String',
|
307
|
+
:'update_created_time_property' => :'BOOLEAN',
|
308
|
+
:'update_fields' => :'BOOLEAN',
|
309
|
+
:'update_last_printed_property' => :'BOOLEAN',
|
310
|
+
:'update_last_saved_time_property' => :'BOOLEAN',
|
311
|
+
:'zip_output' => :'BOOLEAN',
|
312
|
+
:'allow_negative_indent' => :'BOOLEAN',
|
313
|
+
:'css_class_name_prefix' => :'String',
|
314
|
+
:'css_style_sheet_file_name' => :'String',
|
315
|
+
:'css_style_sheet_type' => :'String',
|
316
|
+
:'document_split_criteria' => :'String',
|
317
|
+
:'document_split_heading_level' => :'Integer',
|
318
|
+
:'encoding' => :'String',
|
319
|
+
:'export_document_properties' => :'BOOLEAN',
|
320
|
+
:'export_drop_down_form_field_as_text' => :'BOOLEAN',
|
321
|
+
:'export_font_resources' => :'BOOLEAN',
|
322
|
+
:'export_fonts_as_base64' => :'BOOLEAN',
|
323
|
+
:'export_headers_footers_mode' => :'String',
|
324
|
+
:'export_images_as_base64' => :'BOOLEAN',
|
325
|
+
:'export_language_information' => :'BOOLEAN',
|
326
|
+
:'export_list_labels' => :'String',
|
327
|
+
:'export_original_url_for_linked_images' => :'BOOLEAN',
|
328
|
+
:'export_page_margins' => :'BOOLEAN',
|
329
|
+
:'export_page_setup' => :'BOOLEAN',
|
330
|
+
:'export_relative_font_size' => :'BOOLEAN',
|
331
|
+
:'export_roundtrip_information' => :'BOOLEAN',
|
332
|
+
:'export_text_input_form_field_as_text' => :'BOOLEAN',
|
333
|
+
:'export_toc_page_numbers' => :'BOOLEAN',
|
334
|
+
:'export_xhtml_transitional' => :'BOOLEAN',
|
335
|
+
:'font_resources_subsetting_size_threshold' => :'Integer',
|
336
|
+
:'fonts_folder' => :'String',
|
337
|
+
:'fonts_folder_alias' => :'String',
|
338
|
+
:'html_version' => :'String',
|
339
|
+
:'image_resolution' => :'Integer',
|
340
|
+
:'images_folder' => :'String',
|
341
|
+
:'images_folder_alias' => :'String',
|
342
|
+
:'metafile_format' => :'String',
|
343
|
+
:'office_math_output_mode' => :'String',
|
344
|
+
:'pretty_format' => :'BOOLEAN',
|
345
|
+
:'resolve_font_names' => :'BOOLEAN',
|
346
|
+
:'resource_folder' => :'String',
|
347
|
+
:'resource_folder_alias' => :'String',
|
348
|
+
:'scale_image_to_shape_size' => :'BOOLEAN',
|
349
|
+
:'table_width_output_mode' => :'String',
|
350
|
+
:'navigation_map_level' => :'Integer',
|
351
|
+
:'save_format' => :'String'
|
352
|
+
}
|
353
|
+
end
|
354
|
+
|
355
|
+
# Initializes the object
|
356
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
357
|
+
def initialize(attributes = {})
|
358
|
+
return unless attributes.is_a?(Hash)
|
359
|
+
|
360
|
+
# convert string to symbol for hash key
|
361
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
362
|
+
|
363
|
+
self.save_format = 'azw3'
|
364
|
+
|
365
|
+
if attributes.key?(:'AllowEmbeddingPostScriptFonts')
|
366
|
+
self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
|
367
|
+
end
|
368
|
+
|
369
|
+
if attributes.key?(:'CustomTimeZoneInfoData')
|
370
|
+
self.custom_time_zone_info_data = attributes[:'CustomTimeZoneInfoData']
|
371
|
+
end
|
372
|
+
|
373
|
+
if attributes.key?(:'Dml3DEffectsRenderingMode')
|
374
|
+
self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
|
375
|
+
end
|
376
|
+
|
377
|
+
if attributes.key?(:'DmlEffectsRenderingMode')
|
378
|
+
self.dml_effects_rendering_mode = attributes[:'DmlEffectsRenderingMode']
|
379
|
+
end
|
380
|
+
|
381
|
+
if attributes.key?(:'DmlRenderingMode')
|
382
|
+
self.dml_rendering_mode = attributes[:'DmlRenderingMode']
|
383
|
+
end
|
384
|
+
|
385
|
+
if attributes.key?(:'FileName')
|
386
|
+
self.file_name = attributes[:'FileName']
|
387
|
+
end
|
388
|
+
|
389
|
+
if attributes.key?(:'ImlRenderingMode')
|
390
|
+
self.iml_rendering_mode = attributes[:'ImlRenderingMode']
|
391
|
+
end
|
392
|
+
|
393
|
+
if attributes.key?(:'UpdateCreatedTimeProperty')
|
394
|
+
self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
|
395
|
+
end
|
396
|
+
|
397
|
+
if attributes.key?(:'UpdateFields')
|
398
|
+
self.update_fields = attributes[:'UpdateFields']
|
399
|
+
end
|
400
|
+
|
401
|
+
if attributes.key?(:'UpdateLastPrintedProperty')
|
402
|
+
self.update_last_printed_property = attributes[:'UpdateLastPrintedProperty']
|
403
|
+
end
|
404
|
+
|
405
|
+
if attributes.key?(:'UpdateLastSavedTimeProperty')
|
406
|
+
self.update_last_saved_time_property = attributes[:'UpdateLastSavedTimeProperty']
|
407
|
+
end
|
408
|
+
|
409
|
+
if attributes.key?(:'ZipOutput')
|
410
|
+
self.zip_output = attributes[:'ZipOutput']
|
411
|
+
end
|
412
|
+
|
413
|
+
if attributes.key?(:'AllowNegativeIndent')
|
414
|
+
self.allow_negative_indent = attributes[:'AllowNegativeIndent']
|
415
|
+
end
|
416
|
+
|
417
|
+
if attributes.key?(:'CssClassNamePrefix')
|
418
|
+
self.css_class_name_prefix = attributes[:'CssClassNamePrefix']
|
419
|
+
end
|
420
|
+
|
421
|
+
if attributes.key?(:'CssStyleSheetFileName')
|
422
|
+
self.css_style_sheet_file_name = attributes[:'CssStyleSheetFileName']
|
423
|
+
end
|
424
|
+
|
425
|
+
if attributes.key?(:'CssStyleSheetType')
|
426
|
+
self.css_style_sheet_type = attributes[:'CssStyleSheetType']
|
427
|
+
end
|
428
|
+
|
429
|
+
if attributes.key?(:'DocumentSplitCriteria')
|
430
|
+
self.document_split_criteria = attributes[:'DocumentSplitCriteria']
|
431
|
+
end
|
432
|
+
|
433
|
+
if attributes.key?(:'DocumentSplitHeadingLevel')
|
434
|
+
self.document_split_heading_level = attributes[:'DocumentSplitHeadingLevel']
|
435
|
+
end
|
436
|
+
|
437
|
+
if attributes.key?(:'Encoding')
|
438
|
+
self.encoding = attributes[:'Encoding']
|
439
|
+
end
|
440
|
+
|
441
|
+
if attributes.key?(:'ExportDocumentProperties')
|
442
|
+
self.export_document_properties = attributes[:'ExportDocumentProperties']
|
443
|
+
end
|
444
|
+
|
445
|
+
if attributes.key?(:'ExportDropDownFormFieldAsText')
|
446
|
+
self.export_drop_down_form_field_as_text = attributes[:'ExportDropDownFormFieldAsText']
|
447
|
+
end
|
448
|
+
|
449
|
+
if attributes.key?(:'ExportFontResources')
|
450
|
+
self.export_font_resources = attributes[:'ExportFontResources']
|
451
|
+
end
|
452
|
+
|
453
|
+
if attributes.key?(:'ExportFontsAsBase64')
|
454
|
+
self.export_fonts_as_base64 = attributes[:'ExportFontsAsBase64']
|
455
|
+
end
|
456
|
+
|
457
|
+
if attributes.key?(:'ExportHeadersFootersMode')
|
458
|
+
self.export_headers_footers_mode = attributes[:'ExportHeadersFootersMode']
|
459
|
+
end
|
460
|
+
|
461
|
+
if attributes.key?(:'ExportImagesAsBase64')
|
462
|
+
self.export_images_as_base64 = attributes[:'ExportImagesAsBase64']
|
463
|
+
end
|
464
|
+
|
465
|
+
if attributes.key?(:'ExportLanguageInformation')
|
466
|
+
self.export_language_information = attributes[:'ExportLanguageInformation']
|
467
|
+
end
|
468
|
+
|
469
|
+
if attributes.key?(:'ExportListLabels')
|
470
|
+
self.export_list_labels = attributes[:'ExportListLabels']
|
471
|
+
end
|
472
|
+
|
473
|
+
if attributes.key?(:'ExportOriginalUrlForLinkedImages')
|
474
|
+
self.export_original_url_for_linked_images = attributes[:'ExportOriginalUrlForLinkedImages']
|
475
|
+
end
|
476
|
+
|
477
|
+
if attributes.key?(:'ExportPageMargins')
|
478
|
+
self.export_page_margins = attributes[:'ExportPageMargins']
|
479
|
+
end
|
480
|
+
|
481
|
+
if attributes.key?(:'ExportPageSetup')
|
482
|
+
self.export_page_setup = attributes[:'ExportPageSetup']
|
483
|
+
end
|
484
|
+
|
485
|
+
if attributes.key?(:'ExportRelativeFontSize')
|
486
|
+
self.export_relative_font_size = attributes[:'ExportRelativeFontSize']
|
487
|
+
end
|
488
|
+
|
489
|
+
if attributes.key?(:'ExportRoundtripInformation')
|
490
|
+
self.export_roundtrip_information = attributes[:'ExportRoundtripInformation']
|
491
|
+
end
|
492
|
+
|
493
|
+
if attributes.key?(:'ExportTextInputFormFieldAsText')
|
494
|
+
self.export_text_input_form_field_as_text = attributes[:'ExportTextInputFormFieldAsText']
|
495
|
+
end
|
496
|
+
|
497
|
+
if attributes.key?(:'ExportTocPageNumbers')
|
498
|
+
self.export_toc_page_numbers = attributes[:'ExportTocPageNumbers']
|
499
|
+
end
|
500
|
+
|
501
|
+
if attributes.key?(:'ExportXhtmlTransitional')
|
502
|
+
self.export_xhtml_transitional = attributes[:'ExportXhtmlTransitional']
|
503
|
+
end
|
504
|
+
|
505
|
+
if attributes.key?(:'FontResourcesSubsettingSizeThreshold')
|
506
|
+
self.font_resources_subsetting_size_threshold = attributes[:'FontResourcesSubsettingSizeThreshold']
|
507
|
+
end
|
508
|
+
|
509
|
+
if attributes.key?(:'FontsFolder')
|
510
|
+
self.fonts_folder = attributes[:'FontsFolder']
|
511
|
+
end
|
512
|
+
|
513
|
+
if attributes.key?(:'FontsFolderAlias')
|
514
|
+
self.fonts_folder_alias = attributes[:'FontsFolderAlias']
|
515
|
+
end
|
516
|
+
|
517
|
+
if attributes.key?(:'HtmlVersion')
|
518
|
+
self.html_version = attributes[:'HtmlVersion']
|
519
|
+
end
|
520
|
+
|
521
|
+
if attributes.key?(:'ImageResolution')
|
522
|
+
self.image_resolution = attributes[:'ImageResolution']
|
523
|
+
end
|
524
|
+
|
525
|
+
if attributes.key?(:'ImagesFolder')
|
526
|
+
self.images_folder = attributes[:'ImagesFolder']
|
527
|
+
end
|
528
|
+
|
529
|
+
if attributes.key?(:'ImagesFolderAlias')
|
530
|
+
self.images_folder_alias = attributes[:'ImagesFolderAlias']
|
531
|
+
end
|
532
|
+
|
533
|
+
if attributes.key?(:'MetafileFormat')
|
534
|
+
self.metafile_format = attributes[:'MetafileFormat']
|
535
|
+
end
|
536
|
+
|
537
|
+
if attributes.key?(:'OfficeMathOutputMode')
|
538
|
+
self.office_math_output_mode = attributes[:'OfficeMathOutputMode']
|
539
|
+
end
|
540
|
+
|
541
|
+
if attributes.key?(:'PrettyFormat')
|
542
|
+
self.pretty_format = attributes[:'PrettyFormat']
|
543
|
+
end
|
544
|
+
|
545
|
+
if attributes.key?(:'ResolveFontNames')
|
546
|
+
self.resolve_font_names = attributes[:'ResolveFontNames']
|
547
|
+
end
|
548
|
+
|
549
|
+
if attributes.key?(:'ResourceFolder')
|
550
|
+
self.resource_folder = attributes[:'ResourceFolder']
|
551
|
+
end
|
552
|
+
|
553
|
+
if attributes.key?(:'ResourceFolderAlias')
|
554
|
+
self.resource_folder_alias = attributes[:'ResourceFolderAlias']
|
555
|
+
end
|
556
|
+
|
557
|
+
if attributes.key?(:'ScaleImageToShapeSize')
|
558
|
+
self.scale_image_to_shape_size = attributes[:'ScaleImageToShapeSize']
|
559
|
+
end
|
560
|
+
|
561
|
+
if attributes.key?(:'TableWidthOutputMode')
|
562
|
+
self.table_width_output_mode = attributes[:'TableWidthOutputMode']
|
563
|
+
end
|
564
|
+
|
565
|
+
if attributes.key?(:'NavigationMapLevel')
|
566
|
+
self.navigation_map_level = attributes[:'NavigationMapLevel']
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
570
|
+
# Check to see if the all the properties in the model are valid
|
571
|
+
# @return true if the model is valid
|
572
|
+
def valid?
|
573
|
+
dml3_d_effects_rendering_mode_validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
|
574
|
+
return false unless dml3_d_effects_rendering_mode_validator.valid?(@dml3_d_effects_rendering_mode)
|
575
|
+
dml_effects_rendering_mode_validator = EnumAttributeValidator.new('String', ["Simplified", "None", "Fine"])
|
576
|
+
return false unless dml_effects_rendering_mode_validator.valid?(@dml_effects_rendering_mode)
|
577
|
+
dml_rendering_mode_validator = EnumAttributeValidator.new('String', ["Fallback", "DrawingML"])
|
578
|
+
return false unless dml_rendering_mode_validator.valid?(@dml_rendering_mode)
|
579
|
+
iml_rendering_mode_validator = EnumAttributeValidator.new('String', ["Fallback", "InkML"])
|
580
|
+
return false unless iml_rendering_mode_validator.valid?(@iml_rendering_mode)
|
581
|
+
css_style_sheet_type_validator = EnumAttributeValidator.new('String', ["Inline", "Embedded", "External"])
|
582
|
+
return false unless css_style_sheet_type_validator.valid?(@css_style_sheet_type)
|
583
|
+
document_split_criteria_validator = EnumAttributeValidator.new('String', ["None", "PageBreak", "ColumnBreak", "SectionBreak", "HeadingParagraph"])
|
584
|
+
return false unless document_split_criteria_validator.valid?(@document_split_criteria)
|
585
|
+
export_headers_footers_mode_validator = EnumAttributeValidator.new('String', ["None", "PerSection", "FirstSectionHeaderLastSectionFooter", "FirstPageHeaderFooterPerSection"])
|
586
|
+
return false unless export_headers_footers_mode_validator.valid?(@export_headers_footers_mode)
|
587
|
+
export_list_labels_validator = EnumAttributeValidator.new('String', ["Auto", "AsInlineText", "ByHtmlTags"])
|
588
|
+
return false unless export_list_labels_validator.valid?(@export_list_labels)
|
589
|
+
html_version_validator = EnumAttributeValidator.new('String', ["Xhtml", "Html5"])
|
590
|
+
return false unless html_version_validator.valid?(@html_version)
|
591
|
+
metafile_format_validator = EnumAttributeValidator.new('String', ["Png", "Svg", "EmfOrWmf"])
|
592
|
+
return false unless metafile_format_validator.valid?(@metafile_format)
|
593
|
+
office_math_output_mode_validator = EnumAttributeValidator.new('String', ["Image", "MathML", "Text"])
|
594
|
+
return false unless office_math_output_mode_validator.valid?(@office_math_output_mode)
|
595
|
+
table_width_output_mode_validator = EnumAttributeValidator.new('String', ["All", "RelativeOnly", "None"])
|
596
|
+
return false unless table_width_output_mode_validator.valid?(@table_width_output_mode)
|
597
|
+
|
598
|
+
return true
|
599
|
+
end
|
600
|
+
|
601
|
+
# Custom attribute writer method checking allowed values (enum).
|
602
|
+
# @param [Object] dml3_d_effects_rendering_mode Object to be assigned
|
603
|
+
def dml3_d_effects_rendering_mode=(dml3_d_effects_rendering_mode)
|
604
|
+
validator = EnumAttributeValidator.new('String', ["Basic", "Advanced"])
|
605
|
+
if dml3_d_effects_rendering_mode.to_i == 0
|
606
|
+
unless validator.valid?(dml3_d_effects_rendering_mode)
|
607
|
+
raise ArgumentError, "invalid value for 'dml3_d_effects_rendering_mode', must be one of #{validator.allowable_values}."
|
608
|
+
end
|
609
|
+
@dml3_d_effects_rendering_mode = dml3_d_effects_rendering_mode
|
610
|
+
else
|
611
|
+
@dml3_d_effects_rendering_mode = validator.allowable_values[dml3_d_effects_rendering_mode.to_i]
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# Custom attribute writer method checking allowed values (enum).
|
616
|
+
# @param [Object] dml_effects_rendering_mode Object to be assigned
|
617
|
+
def dml_effects_rendering_mode=(dml_effects_rendering_mode)
|
618
|
+
validator = EnumAttributeValidator.new('String', ["Simplified", "None", "Fine"])
|
619
|
+
if dml_effects_rendering_mode.to_i == 0
|
620
|
+
unless validator.valid?(dml_effects_rendering_mode)
|
621
|
+
raise ArgumentError, "invalid value for 'dml_effects_rendering_mode', must be one of #{validator.allowable_values}."
|
622
|
+
end
|
623
|
+
@dml_effects_rendering_mode = dml_effects_rendering_mode
|
624
|
+
else
|
625
|
+
@dml_effects_rendering_mode = validator.allowable_values[dml_effects_rendering_mode.to_i]
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# Custom attribute writer method checking allowed values (enum).
|
630
|
+
# @param [Object] dml_rendering_mode Object to be assigned
|
631
|
+
def dml_rendering_mode=(dml_rendering_mode)
|
632
|
+
validator = EnumAttributeValidator.new('String', ["Fallback", "DrawingML"])
|
633
|
+
if dml_rendering_mode.to_i == 0
|
634
|
+
unless validator.valid?(dml_rendering_mode)
|
635
|
+
raise ArgumentError, "invalid value for 'dml_rendering_mode', must be one of #{validator.allowable_values}."
|
636
|
+
end
|
637
|
+
@dml_rendering_mode = dml_rendering_mode
|
638
|
+
else
|
639
|
+
@dml_rendering_mode = validator.allowable_values[dml_rendering_mode.to_i]
|
640
|
+
end
|
641
|
+
end
|
642
|
+
|
643
|
+
# Custom attribute writer method checking allowed values (enum).
|
644
|
+
# @param [Object] iml_rendering_mode Object to be assigned
|
645
|
+
def iml_rendering_mode=(iml_rendering_mode)
|
646
|
+
validator = EnumAttributeValidator.new('String', ["Fallback", "InkML"])
|
647
|
+
if iml_rendering_mode.to_i == 0
|
648
|
+
unless validator.valid?(iml_rendering_mode)
|
649
|
+
raise ArgumentError, "invalid value for 'iml_rendering_mode', must be one of #{validator.allowable_values}."
|
650
|
+
end
|
651
|
+
@iml_rendering_mode = iml_rendering_mode
|
652
|
+
else
|
653
|
+
@iml_rendering_mode = validator.allowable_values[iml_rendering_mode.to_i]
|
654
|
+
end
|
655
|
+
end
|
656
|
+
|
657
|
+
# Custom attribute writer method checking allowed values (enum).
|
658
|
+
# @param [Object] css_style_sheet_type Object to be assigned
|
659
|
+
def css_style_sheet_type=(css_style_sheet_type)
|
660
|
+
validator = EnumAttributeValidator.new('String', ["Inline", "Embedded", "External"])
|
661
|
+
if css_style_sheet_type.to_i == 0
|
662
|
+
unless validator.valid?(css_style_sheet_type)
|
663
|
+
raise ArgumentError, "invalid value for 'css_style_sheet_type', must be one of #{validator.allowable_values}."
|
664
|
+
end
|
665
|
+
@css_style_sheet_type = css_style_sheet_type
|
666
|
+
else
|
667
|
+
@css_style_sheet_type = validator.allowable_values[css_style_sheet_type.to_i]
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
# Custom attribute writer method checking allowed values (enum).
|
672
|
+
# @param [Object] document_split_criteria Object to be assigned
|
673
|
+
def document_split_criteria=(document_split_criteria)
|
674
|
+
validator = EnumAttributeValidator.new('String', ["None", "PageBreak", "ColumnBreak", "SectionBreak", "HeadingParagraph"])
|
675
|
+
if document_split_criteria.to_i == 0
|
676
|
+
unless validator.valid?(document_split_criteria)
|
677
|
+
raise ArgumentError, "invalid value for 'document_split_criteria', must be one of #{validator.allowable_values}."
|
678
|
+
end
|
679
|
+
@document_split_criteria = document_split_criteria
|
680
|
+
else
|
681
|
+
@document_split_criteria = validator.allowable_values[document_split_criteria.to_i]
|
682
|
+
end
|
683
|
+
end
|
684
|
+
|
685
|
+
# Custom attribute writer method checking allowed values (enum).
|
686
|
+
# @param [Object] export_headers_footers_mode Object to be assigned
|
687
|
+
def export_headers_footers_mode=(export_headers_footers_mode)
|
688
|
+
validator = EnumAttributeValidator.new('String', ["None", "PerSection", "FirstSectionHeaderLastSectionFooter", "FirstPageHeaderFooterPerSection"])
|
689
|
+
if export_headers_footers_mode.to_i == 0
|
690
|
+
unless validator.valid?(export_headers_footers_mode)
|
691
|
+
raise ArgumentError, "invalid value for 'export_headers_footers_mode', must be one of #{validator.allowable_values}."
|
692
|
+
end
|
693
|
+
@export_headers_footers_mode = export_headers_footers_mode
|
694
|
+
else
|
695
|
+
@export_headers_footers_mode = validator.allowable_values[export_headers_footers_mode.to_i]
|
696
|
+
end
|
697
|
+
end
|
698
|
+
|
699
|
+
# Custom attribute writer method checking allowed values (enum).
|
700
|
+
# @param [Object] export_list_labels Object to be assigned
|
701
|
+
def export_list_labels=(export_list_labels)
|
702
|
+
validator = EnumAttributeValidator.new('String', ["Auto", "AsInlineText", "ByHtmlTags"])
|
703
|
+
if export_list_labels.to_i == 0
|
704
|
+
unless validator.valid?(export_list_labels)
|
705
|
+
raise ArgumentError, "invalid value for 'export_list_labels', must be one of #{validator.allowable_values}."
|
706
|
+
end
|
707
|
+
@export_list_labels = export_list_labels
|
708
|
+
else
|
709
|
+
@export_list_labels = validator.allowable_values[export_list_labels.to_i]
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
713
|
+
# Custom attribute writer method checking allowed values (enum).
|
714
|
+
# @param [Object] html_version Object to be assigned
|
715
|
+
def html_version=(html_version)
|
716
|
+
validator = EnumAttributeValidator.new('String', ["Xhtml", "Html5"])
|
717
|
+
if html_version.to_i == 0
|
718
|
+
unless validator.valid?(html_version)
|
719
|
+
raise ArgumentError, "invalid value for 'html_version', must be one of #{validator.allowable_values}."
|
720
|
+
end
|
721
|
+
@html_version = html_version
|
722
|
+
else
|
723
|
+
@html_version = validator.allowable_values[html_version.to_i]
|
724
|
+
end
|
725
|
+
end
|
726
|
+
|
727
|
+
# Custom attribute writer method checking allowed values (enum).
|
728
|
+
# @param [Object] metafile_format Object to be assigned
|
729
|
+
def metafile_format=(metafile_format)
|
730
|
+
validator = EnumAttributeValidator.new('String', ["Png", "Svg", "EmfOrWmf"])
|
731
|
+
if metafile_format.to_i == 0
|
732
|
+
unless validator.valid?(metafile_format)
|
733
|
+
raise ArgumentError, "invalid value for 'metafile_format', must be one of #{validator.allowable_values}."
|
734
|
+
end
|
735
|
+
@metafile_format = metafile_format
|
736
|
+
else
|
737
|
+
@metafile_format = validator.allowable_values[metafile_format.to_i]
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
# Custom attribute writer method checking allowed values (enum).
|
742
|
+
# @param [Object] office_math_output_mode Object to be assigned
|
743
|
+
def office_math_output_mode=(office_math_output_mode)
|
744
|
+
validator = EnumAttributeValidator.new('String', ["Image", "MathML", "Text"])
|
745
|
+
if office_math_output_mode.to_i == 0
|
746
|
+
unless validator.valid?(office_math_output_mode)
|
747
|
+
raise ArgumentError, "invalid value for 'office_math_output_mode', must be one of #{validator.allowable_values}."
|
748
|
+
end
|
749
|
+
@office_math_output_mode = office_math_output_mode
|
750
|
+
else
|
751
|
+
@office_math_output_mode = validator.allowable_values[office_math_output_mode.to_i]
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
# Custom attribute writer method checking allowed values (enum).
|
756
|
+
# @param [Object] table_width_output_mode Object to be assigned
|
757
|
+
def table_width_output_mode=(table_width_output_mode)
|
758
|
+
validator = EnumAttributeValidator.new('String', ["All", "RelativeOnly", "None"])
|
759
|
+
if table_width_output_mode.to_i == 0
|
760
|
+
unless validator.valid?(table_width_output_mode)
|
761
|
+
raise ArgumentError, "invalid value for 'table_width_output_mode', must be one of #{validator.allowable_values}."
|
762
|
+
end
|
763
|
+
@table_width_output_mode = table_width_output_mode
|
764
|
+
else
|
765
|
+
@table_width_output_mode = validator.allowable_values[table_width_output_mode.to_i]
|
766
|
+
end
|
767
|
+
end
|
768
|
+
|
769
|
+
|
770
|
+
# Checks equality by comparing each attribute.
|
771
|
+
# @param [Object] Object to be compared
|
772
|
+
def ==(other)
|
773
|
+
return true if self.equal?(other)
|
774
|
+
self.class == other.class &&
|
775
|
+
allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
|
776
|
+
custom_time_zone_info_data == other.custom_time_zone_info_data &&
|
777
|
+
dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
|
778
|
+
dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
|
779
|
+
dml_rendering_mode == other.dml_rendering_mode &&
|
780
|
+
file_name == other.file_name &&
|
781
|
+
iml_rendering_mode == other.iml_rendering_mode &&
|
782
|
+
update_created_time_property == other.update_created_time_property &&
|
783
|
+
update_fields == other.update_fields &&
|
784
|
+
update_last_printed_property == other.update_last_printed_property &&
|
785
|
+
update_last_saved_time_property == other.update_last_saved_time_property &&
|
786
|
+
zip_output == other.zip_output &&
|
787
|
+
allow_negative_indent == other.allow_negative_indent &&
|
788
|
+
css_class_name_prefix == other.css_class_name_prefix &&
|
789
|
+
css_style_sheet_file_name == other.css_style_sheet_file_name &&
|
790
|
+
css_style_sheet_type == other.css_style_sheet_type &&
|
791
|
+
document_split_criteria == other.document_split_criteria &&
|
792
|
+
document_split_heading_level == other.document_split_heading_level &&
|
793
|
+
encoding == other.encoding &&
|
794
|
+
export_document_properties == other.export_document_properties &&
|
795
|
+
export_drop_down_form_field_as_text == other.export_drop_down_form_field_as_text &&
|
796
|
+
export_font_resources == other.export_font_resources &&
|
797
|
+
export_fonts_as_base64 == other.export_fonts_as_base64 &&
|
798
|
+
export_headers_footers_mode == other.export_headers_footers_mode &&
|
799
|
+
export_images_as_base64 == other.export_images_as_base64 &&
|
800
|
+
export_language_information == other.export_language_information &&
|
801
|
+
export_list_labels == other.export_list_labels &&
|
802
|
+
export_original_url_for_linked_images == other.export_original_url_for_linked_images &&
|
803
|
+
export_page_margins == other.export_page_margins &&
|
804
|
+
export_page_setup == other.export_page_setup &&
|
805
|
+
export_relative_font_size == other.export_relative_font_size &&
|
806
|
+
export_roundtrip_information == other.export_roundtrip_information &&
|
807
|
+
export_text_input_form_field_as_text == other.export_text_input_form_field_as_text &&
|
808
|
+
export_toc_page_numbers == other.export_toc_page_numbers &&
|
809
|
+
export_xhtml_transitional == other.export_xhtml_transitional &&
|
810
|
+
font_resources_subsetting_size_threshold == other.font_resources_subsetting_size_threshold &&
|
811
|
+
fonts_folder == other.fonts_folder &&
|
812
|
+
fonts_folder_alias == other.fonts_folder_alias &&
|
813
|
+
html_version == other.html_version &&
|
814
|
+
image_resolution == other.image_resolution &&
|
815
|
+
images_folder == other.images_folder &&
|
816
|
+
images_folder_alias == other.images_folder_alias &&
|
817
|
+
metafile_format == other.metafile_format &&
|
818
|
+
office_math_output_mode == other.office_math_output_mode &&
|
819
|
+
pretty_format == other.pretty_format &&
|
820
|
+
resolve_font_names == other.resolve_font_names &&
|
821
|
+
resource_folder == other.resource_folder &&
|
822
|
+
resource_folder_alias == other.resource_folder_alias &&
|
823
|
+
scale_image_to_shape_size == other.scale_image_to_shape_size &&
|
824
|
+
table_width_output_mode == other.table_width_output_mode &&
|
825
|
+
navigation_map_level == other.navigation_map_level &&
|
826
|
+
save_format == other.save_format
|
827
|
+
end
|
828
|
+
|
829
|
+
# @see the `==` method
|
830
|
+
# @param [Object] Object to be compared
|
831
|
+
def eql?(other)
|
832
|
+
self == other
|
833
|
+
end
|
834
|
+
|
835
|
+
# Calculates hash code according to all attributes.
|
836
|
+
# @return [Fixnum] Hash code
|
837
|
+
def hash
|
838
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, navigation_map_level, save_format].hash
|
839
|
+
end
|
840
|
+
|
841
|
+
# Builds the object from hash
|
842
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
843
|
+
# @return [Object] Returns the model itself
|
844
|
+
def build_from_hash(attributes)
|
845
|
+
return nil unless attributes.is_a?(Hash)
|
846
|
+
self.class.swagger_types.each_pair do |key, type|
|
847
|
+
if type =~ /\AArray<(.*)>/i
|
848
|
+
# check to ensure the input is an array given that the the attribute
|
849
|
+
# is documented as an array but the input is not
|
850
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
851
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
852
|
+
end
|
853
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
854
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
855
|
+
end
|
856
|
+
# or else data not found in attributes(hash), not an issue as the data can be optional
|
857
|
+
end
|
858
|
+
|
859
|
+
self
|
860
|
+
end
|
861
|
+
|
862
|
+
# Deserializes the data based on type
|
863
|
+
# @param string type Data type
|
864
|
+
# @param string value Value to be deserialized
|
865
|
+
# @return [Object] Deserialized data
|
866
|
+
def _deserialize(type, value)
|
867
|
+
case type.to_sym
|
868
|
+
when :DateTime
|
869
|
+
Time.at(/\d/.match(value)[0].to_f).to_datetime
|
870
|
+
when :Date
|
871
|
+
Time.at(/\d/.match(value)[0].to_f).to_date
|
872
|
+
when :String
|
873
|
+
value.to_s
|
874
|
+
when :Integer
|
875
|
+
value.to_i
|
876
|
+
when :Float
|
877
|
+
value.to_f
|
878
|
+
when :BOOLEAN
|
879
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
880
|
+
true
|
881
|
+
else
|
882
|
+
false
|
883
|
+
end
|
884
|
+
when :Object
|
885
|
+
# generic object (usually a Hash), return directly
|
886
|
+
value
|
887
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
888
|
+
inner_type = Regexp.last_match[:inner_type]
|
889
|
+
value.map { |v| _deserialize(inner_type, v) }
|
890
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
891
|
+
k_type = Regexp.last_match[:k_type]
|
892
|
+
v_type = Regexp.last_match[:v_type]
|
893
|
+
{}.tap do |hash|
|
894
|
+
value.each do |k, v|
|
895
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
896
|
+
end
|
897
|
+
end
|
898
|
+
else
|
899
|
+
# model
|
900
|
+
if value[:'$type']
|
901
|
+
type = value[:'$type'][0..-4]
|
902
|
+
end
|
903
|
+
|
904
|
+
temp_model = AsposeWordsCloud.const_get(type).new
|
905
|
+
temp_model.build_from_hash(value)
|
906
|
+
end
|
907
|
+
end
|
908
|
+
|
909
|
+
# Returns the string representation of the object
|
910
|
+
# @return [String] String presentation of the object
|
911
|
+
def to_s
|
912
|
+
to_hash.to_s
|
913
|
+
end
|
914
|
+
|
915
|
+
# to_body is an alias to to_hash (backward compatibility)
|
916
|
+
# @return [Hash] Returns the object in the form of hash
|
917
|
+
def to_body
|
918
|
+
to_hash
|
919
|
+
end
|
920
|
+
|
921
|
+
# Returns the object in the form of hash
|
922
|
+
# @return [Hash] Returns the object in the form of hash
|
923
|
+
def to_hash
|
924
|
+
hash = {}
|
925
|
+
self.class.attribute_map.each_pair do |attr, param|
|
926
|
+
value = self.send(attr)
|
927
|
+
next if value.nil?
|
928
|
+
hash[param] = _to_hash(value)
|
929
|
+
end
|
930
|
+
hash
|
931
|
+
end
|
932
|
+
|
933
|
+
# Outputs non-array value in the form of hash
|
934
|
+
# For object, use to_hash. Otherwise, just return the value
|
935
|
+
# @param [Object] value Any valid value
|
936
|
+
# @return [Hash] Returns the value in the form of hash
|
937
|
+
def _to_hash(value)
|
938
|
+
if value.is_a?(Array)
|
939
|
+
value.compact.map { |v| _to_hash(v) }
|
940
|
+
elsif value.is_a?(Hash)
|
941
|
+
{}.tap do |hash|
|
942
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
943
|
+
end
|
944
|
+
elsif value.respond_to? :to_hash
|
945
|
+
value.to_hash
|
946
|
+
else
|
947
|
+
value
|
948
|
+
end
|
949
|
+
end
|
950
|
+
|
951
|
+
def collectFilesContent(resultFilesContent)
|
952
|
+
end
|
953
|
+
|
954
|
+
def validate()
|
955
|
+
raise ArgumentError, 'Property file_name in Azw3SaveOptionsData is required.' if self.file_name.nil?
|
956
|
+
unless self.custom_time_zone_info_data.nil?
|
957
|
+
self.custom_time_zone_info_data.validate
|
958
|
+
end
|
959
|
+
|
960
|
+
end
|
961
|
+
|
962
|
+
end
|
963
|
+
end
|