aspose_words_cloud 23.8.0 → 23.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +28 -4
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/bookmark_insert.rb +14 -14
- data/lib/aspose_words_cloud/models/bookmark_response.rb +1 -0
- data/lib/aspose_words_cloud/models/bookmarks_response.rb +1 -0
- data/lib/aspose_words_cloud/models/border.rb +5 -0
- data/lib/aspose_words_cloud/models/border_response.rb +1 -0
- data/lib/aspose_words_cloud/models/borders_response.rb +1 -0
- data/lib/aspose_words_cloud/models/classification_response.rb +1 -0
- data/lib/aspose_words_cloud/models/comment.rb +3 -0
- data/lib/aspose_words_cloud/models/comment_insert.rb +15 -11
- data/lib/aspose_words_cloud/models/comment_response.rb +1 -0
- data/lib/aspose_words_cloud/models/comment_update.rb +15 -11
- data/lib/aspose_words_cloud/models/comments_response.rb +1 -0
- data/lib/aspose_words_cloud/models/csv_data_load_options.rb +5 -0
- data/lib/aspose_words_cloud/models/custom_xml_part.rb +2 -0
- data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +2 -0
- data/lib/aspose_words_cloud/models/custom_xml_part_response.rb +1 -0
- data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +2 -0
- data/lib/aspose_words_cloud/models/custom_xml_parts_response.rb +1 -0
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/docm_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/document_properties_response.rb +1 -0
- data/lib/aspose_words_cloud/models/document_property_response.rb +1 -0
- data/lib/aspose_words_cloud/models/docx_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/dot_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/dotm_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/dotx_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/downsample_options_data.rb +3 -0
- data/lib/aspose_words_cloud/models/drawing_object_insert.rb +21 -21
- data/lib/aspose_words_cloud/models/drawing_object_update.rb +18 -18
- data/lib/aspose_words_cloud/models/drawing_objects_response.rb +1 -0
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/eps_save_options_data.rb +719 -0
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +16 -0
- data/lib/aspose_words_cloud/models/error.rb +4 -4
- data/lib/aspose_words_cloud/models/error_details.rb +2 -2
- data/lib/aspose_words_cloud/models/field_insert.rb +14 -14
- data/lib/aspose_words_cloud/models/field_names_response.rb +1 -0
- data/lib/aspose_words_cloud/models/field_options.rb +16 -16
- data/lib/aspose_words_cloud/models/field_response.rb +1 -0
- data/lib/aspose_words_cloud/models/field_update.rb +14 -14
- data/lib/aspose_words_cloud/models/fields_response.rb +1 -0
- data/lib/aspose_words_cloud/models/flat_opc_macro_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/flat_opc_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/flat_opc_template_macro_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/flat_opc_template_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/font.rb +4 -0
- data/lib/aspose_words_cloud/models/font_response.rb +1 -0
- data/lib/aspose_words_cloud/models/footnote.rb +2 -0
- data/lib/aspose_words_cloud/models/footnote_insert.rb +13 -11
- data/lib/aspose_words_cloud/models/footnote_response.rb +1 -0
- data/lib/aspose_words_cloud/models/footnote_update.rb +13 -11
- data/lib/aspose_words_cloud/models/footnotes_response.rb +1 -0
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +8 -0
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +9 -0
- data/lib/aspose_words_cloud/models/form_field_response.rb +1 -0
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +10 -0
- data/lib/aspose_words_cloud/models/form_fields_response.rb +1 -0
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/header_footer_response.rb +1 -0
- data/lib/aspose_words_cloud/models/header_footers_response.rb +1 -0
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +18 -0
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +16 -0
- data/lib/aspose_words_cloud/models/hyperlink_response.rb +1 -0
- data/lib/aspose_words_cloud/models/hyperlinks_response.rb +1 -0
- data/lib/aspose_words_cloud/models/image_entry_list.rb +1 -0
- data/lib/aspose_words_cloud/models/info_response.rb +3 -3
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/json_data_load_options.rb +15 -0
- data/lib/aspose_words_cloud/models/list_format.rb +2 -0
- data/lib/aspose_words_cloud/models/list_format_update.rb +17 -14
- data/lib/aspose_words_cloud/models/list_info.rb +7 -0
- data/lib/aspose_words_cloud/models/list_insert.rb +1 -0
- data/lib/aspose_words_cloud/models/list_level.rb +11 -0
- data/lib/aspose_words_cloud/models/list_level_update.rb +72 -62
- data/lib/aspose_words_cloud/models/list_levels.rb +1 -0
- data/lib/aspose_words_cloud/models/list_response.rb +1 -0
- data/lib/aspose_words_cloud/models/list_update.rb +1 -0
- data/lib/aspose_words_cloud/models/lists_response.rb +1 -0
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +13 -12
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +17 -0
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +12 -0
- data/lib/aspose_words_cloud/models/office_math_object.rb +2 -0
- data/lib/aspose_words_cloud/models/office_math_object_response.rb +1 -0
- data/lib/aspose_words_cloud/models/office_math_objects_response.rb +1 -0
- data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/models/ott_save_options_data.rb +12 -0
- data/lib/aspose_words_cloud/models/outline_options_data.rb +17 -16
- data/lib/aspose_words_cloud/models/page_setup.rb +7 -0
- data/lib/aspose_words_cloud/models/paragraph_format.rb +7 -0
- data/lib/aspose_words_cloud/models/paragraph_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +7 -0
- data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +1 -0
- data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/paragraph_response.rb +1 -0
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +15 -0
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +29 -0
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/models/range_text_response.rb +1 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +1 -11
- data/lib/aspose_words_cloud/models/responses/accept_all_revisions_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/append_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/apply_style_to_document_element_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/compare_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/compress_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/copy_style_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/create_or_update_document_property_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_all_paragraph_tab_stops_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_border_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_borders_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_paragraph_list_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_paragraph_tab_stop_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_watermark_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_bookmark_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_comment_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_custom_xml_part_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_drawing_object_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_footnote_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_form_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_header_footer_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_list_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_or_update_paragraph_tab_stop_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_page_numbers_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_paragraph_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_run_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_structured_document_tag_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_style_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_table_cell_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_table_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_table_row_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_watermark_image_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_watermark_text_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/protect_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/reject_all_revisions_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/remove_range_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/replace_text_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/replace_with_text_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/save_as_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/save_as_range_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/save_as_tiff_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/split_document_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/unprotect_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_bookmark_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_border_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_comment_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_custom_xml_part_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_drawing_object_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_fields_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_footnote_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_form_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_list_level_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_list_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_paragraph_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_paragraph_list_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_run_font_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_run_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_section_page_setup_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_structured_document_tag_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_style_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_table_cell_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_table_properties_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_table_row_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/run_response.rb +1 -0
- data/lib/aspose_words_cloud/models/runs_response.rb +1 -0
- data/lib/aspose_words_cloud/models/search_response.rb +1 -0
- data/lib/aspose_words_cloud/models/section_link_collection_response.rb +1 -0
- data/lib/aspose_words_cloud/models/section_page_setup_response.rb +1 -0
- data/lib/aspose_words_cloud/models/section_response.rb +1 -0
- data/lib/aspose_words_cloud/models/split_document_response.rb +1 -0
- data/lib/aspose_words_cloud/models/structured_document_tag.rb +30 -4
- data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +30 -4
- data/lib/aspose_words_cloud/models/structured_document_tag_list_item.rb +2 -0
- data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +30 -4
- data/lib/aspose_words_cloud/models/structured_document_tags_response.rb +1 -0
- data/lib/aspose_words_cloud/models/style.rb +6 -0
- data/lib/aspose_words_cloud/models/style_response.rb +1 -0
- data/lib/aspose_words_cloud/models/style_update.rb +17 -14
- data/lib/aspose_words_cloud/models/styles_response.rb +1 -0
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/models/tab_stops_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_cell_format.rb +3 -0
- data/lib/aspose_words_cloud/models/table_cell_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_cell_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_link_collection_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_properties.rb +3 -0
- data/lib/aspose_words_cloud/models/table_properties_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_row_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_row_response.rb +1 -0
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +15 -0
- data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/xml_color.rb +20 -4
- data/lib/aspose_words_cloud/models/xml_data_load_options.rb +2 -0
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +1 -9
- metadata +3 -11
- data/lib/aspose_words_cloud/models/font_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/range_document_dto.rb +0 -208
- data/lib/aspose_words_cloud/models/replace_range_dto.rb +0 -259
- data/lib/aspose_words_cloud/models/table_cell_format_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/table_cell_insert_dto.rb +0 -208
- data/lib/aspose_words_cloud/models/table_insert_dto.rb +0 -228
- data/lib/aspose_words_cloud/models/table_properties_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/table_row_format_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/table_row_insert_dto.rb +0 -218
|
@@ -36,15 +36,19 @@ module AsposeWordsCloud
|
|
|
36
36
|
attr_accessor :range_end
|
|
37
37
|
|
|
38
38
|
# Gets or sets the author name for a comment.
|
|
39
|
+
# Cannot be null.Default is empty string.
|
|
39
40
|
attr_accessor :author
|
|
40
41
|
|
|
41
|
-
# Gets or sets the date and time that the comment was made.
|
|
42
|
-
attr_accessor :date_time
|
|
43
|
-
|
|
44
42
|
# Gets or sets the initials of the user associated with a specific comment.
|
|
43
|
+
# Cannot be null.Default is empty string.
|
|
45
44
|
attr_accessor :initial
|
|
46
45
|
|
|
46
|
+
# Gets or sets the date and time that the comment was made.
|
|
47
|
+
# Default is MinValue03.01.0001.
|
|
48
|
+
attr_accessor :date_time
|
|
49
|
+
|
|
47
50
|
# Gets or sets text of the comment.
|
|
51
|
+
# This method allows to quickly set text of a comment from a string. The string can contain paragraph breaks, this will create paragraphs of text in the comment accordingly.
|
|
48
52
|
attr_accessor :text
|
|
49
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
50
54
|
def self.attribute_map
|
|
@@ -52,8 +56,8 @@ module AsposeWordsCloud
|
|
|
52
56
|
:'range_start' => :'RangeStart',
|
|
53
57
|
:'range_end' => :'RangeEnd',
|
|
54
58
|
:'author' => :'Author',
|
|
55
|
-
:'date_time' => :'DateTime',
|
|
56
59
|
:'initial' => :'Initial',
|
|
60
|
+
:'date_time' => :'DateTime',
|
|
57
61
|
:'text' => :'Text'
|
|
58
62
|
}
|
|
59
63
|
end
|
|
@@ -64,8 +68,8 @@ module AsposeWordsCloud
|
|
|
64
68
|
:'range_start' => :'NewDocumentPosition',
|
|
65
69
|
:'range_end' => :'NewDocumentPosition',
|
|
66
70
|
:'author' => :'String',
|
|
67
|
-
:'date_time' => :'DateTime',
|
|
68
71
|
:'initial' => :'String',
|
|
72
|
+
:'date_time' => :'DateTime',
|
|
69
73
|
:'text' => :'String'
|
|
70
74
|
}
|
|
71
75
|
end
|
|
@@ -90,14 +94,14 @@ module AsposeWordsCloud
|
|
|
90
94
|
self.author = attributes[:'Author']
|
|
91
95
|
end
|
|
92
96
|
|
|
93
|
-
if attributes.key?(:'DateTime')
|
|
94
|
-
self.date_time = attributes[:'DateTime']
|
|
95
|
-
end
|
|
96
|
-
|
|
97
97
|
if attributes.key?(:'Initial')
|
|
98
98
|
self.initial = attributes[:'Initial']
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
+
if attributes.key?(:'DateTime')
|
|
102
|
+
self.date_time = attributes[:'DateTime']
|
|
103
|
+
end
|
|
104
|
+
|
|
101
105
|
if attributes.key?(:'Text')
|
|
102
106
|
self.text = attributes[:'Text']
|
|
103
107
|
end
|
|
@@ -124,8 +128,8 @@ module AsposeWordsCloud
|
|
|
124
128
|
range_start == other.range_start &&
|
|
125
129
|
range_end == other.range_end &&
|
|
126
130
|
author == other.author &&
|
|
127
|
-
date_time == other.date_time &&
|
|
128
131
|
initial == other.initial &&
|
|
132
|
+
date_time == other.date_time &&
|
|
129
133
|
text == other.text
|
|
130
134
|
end
|
|
131
135
|
|
|
@@ -138,7 +142,7 @@ module AsposeWordsCloud
|
|
|
138
142
|
# Calculates hash code according to all attributes.
|
|
139
143
|
# @return [Fixnum] Hash code
|
|
140
144
|
def hash
|
|
141
|
-
[range_start, range_end, author,
|
|
145
|
+
[range_start, range_end, author, initial, date_time, text].hash
|
|
142
146
|
end
|
|
143
147
|
|
|
144
148
|
# Builds the object from hash
|
|
@@ -28,6 +28,7 @@ require 'date'
|
|
|
28
28
|
module AsposeWordsCloud
|
|
29
29
|
|
|
30
30
|
# The REST response with a collection of comments.
|
|
31
|
+
# This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments" REST API requests.
|
|
31
32
|
class CommentsResponse
|
|
32
33
|
# Gets or sets the request Id.
|
|
33
34
|
attr_accessor :request_id
|
|
@@ -29,17 +29,22 @@ module AsposeWordsCloud
|
|
|
29
29
|
|
|
30
30
|
# Represents options for parsing CSV data.
|
|
31
31
|
# To learn more, visit the LINQ Reporting Engine documentation article.
|
|
32
|
+
# An instance of this class can be passed into constructors of CsvDataSource.
|
|
32
33
|
class CsvDataLoadOptions
|
|
33
34
|
# Gets or sets the character that is used to comment lines of CSV data.
|
|
35
|
+
# The default value is '#' (number sign).
|
|
34
36
|
attr_accessor :comment_char
|
|
35
37
|
|
|
36
38
|
# Gets or sets the character to be used as a column delimiter.
|
|
39
|
+
# The default value is ',' (comma).
|
|
37
40
|
attr_accessor :delimiter
|
|
38
41
|
|
|
39
42
|
# Gets or sets a value indicating whether the first record of CSV data contains column names.
|
|
43
|
+
# The default value is false.
|
|
40
44
|
attr_accessor :has_headers
|
|
41
45
|
|
|
42
46
|
# Gets or sets the character that is used to quote field values.
|
|
47
|
+
# The default value is '"' (quotation mark).Double the character to place it into quoted text.
|
|
43
48
|
attr_accessor :quote_char
|
|
44
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
50
|
def self.attribute_map
|
|
@@ -33,9 +33,11 @@ module AsposeWordsCloud
|
|
|
33
33
|
attr_accessor :link
|
|
34
34
|
|
|
35
35
|
# Gets or sets the custom xml part id.
|
|
36
|
+
# Cannot be null.
|
|
36
37
|
attr_accessor :id
|
|
37
38
|
|
|
38
39
|
# Gets or sets the custom xml part data.
|
|
40
|
+
# Cannot be null.Default is empty string.
|
|
39
41
|
attr_accessor :data
|
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
43
|
def self.attribute_map
|
|
@@ -33,9 +33,11 @@ module AsposeWordsCloud
|
|
|
33
33
|
attr_accessor :link
|
|
34
34
|
|
|
35
35
|
# Gets or sets the custom xml part id.
|
|
36
|
+
# Cannot be null.
|
|
36
37
|
attr_accessor :id
|
|
37
38
|
|
|
38
39
|
# Gets or sets the custom xml part data.
|
|
40
|
+
# Cannot be null.Default is empty string.
|
|
39
41
|
attr_accessor :data
|
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
43
|
def self.attribute_map
|
|
@@ -28,6 +28,7 @@ require 'date'
|
|
|
28
28
|
module AsposeWordsCloud
|
|
29
29
|
|
|
30
30
|
# The REST response with a custom xml part.
|
|
31
|
+
# This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts/0" REST API requests.
|
|
31
32
|
class CustomXmlPartResponse
|
|
32
33
|
# Gets or sets the request Id.
|
|
33
34
|
attr_accessor :request_id
|
|
@@ -33,9 +33,11 @@ module AsposeWordsCloud
|
|
|
33
33
|
attr_accessor :link
|
|
34
34
|
|
|
35
35
|
# Gets or sets the custom xml part id.
|
|
36
|
+
# Cannot be null.
|
|
36
37
|
attr_accessor :id
|
|
37
38
|
|
|
38
39
|
# Gets or sets the custom xml part data.
|
|
40
|
+
# Cannot be null.Default is empty string.
|
|
39
41
|
attr_accessor :data
|
|
40
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
43
|
def self.attribute_map
|
|
@@ -28,6 +28,7 @@ require 'date'
|
|
|
28
28
|
module AsposeWordsCloud
|
|
29
29
|
|
|
30
30
|
# The REST response with a collection of custom xml parts.
|
|
31
|
+
# This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/customXmlParts" REST API requests.
|
|
31
32
|
class CustomXmlPartsResponse
|
|
32
33
|
# Gets or sets the request Id.
|
|
33
34
|
attr_accessor :request_id
|
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for doc/dot save options.
|
|
31
31
|
class DocSaveOptionsData
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
|
33
|
+
# 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.
|
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
|
34
37
|
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
|
37
40
|
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
|
40
44
|
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
|
42
46
|
# { Simplified | None | Fine }.
|
|
47
|
+
# The default value is Simplified.
|
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
|
44
50
|
|
|
45
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.
|
|
46
54
|
attr_accessor :dml_rendering_mode
|
|
47
55
|
|
|
48
56
|
# Gets or sets the name of destination file.
|
|
49
57
|
attr_accessor :file_name
|
|
50
58
|
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
|
52
61
|
attr_accessor :iml_rendering_mode
|
|
53
62
|
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
@@ -62,10 +71,12 @@ module AsposeWordsCloud
|
|
|
62
71
|
attr_accessor :update_last_printed_property
|
|
63
72
|
|
|
64
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.
|
|
65
75
|
attr_accessor :update_last_saved_time_property
|
|
66
76
|
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
|
68
78
|
# The default value is false.
|
|
79
|
+
# When set to true, output files will be zipped.
|
|
69
80
|
attr_accessor :zip_output
|
|
70
81
|
|
|
71
82
|
# Gets or sets a value indicating when False, that small metafiles are not compressed for performance reason.
|
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for docm save options.
|
|
31
31
|
class DocmSaveOptionsData
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
|
33
|
+
# 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.
|
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
|
34
37
|
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
|
37
40
|
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
|
40
44
|
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
|
42
46
|
# { Simplified | None | Fine }.
|
|
47
|
+
# The default value is Simplified.
|
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
|
44
50
|
|
|
45
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.
|
|
46
54
|
attr_accessor :dml_rendering_mode
|
|
47
55
|
|
|
48
56
|
# Gets or sets the name of destination file.
|
|
49
57
|
attr_accessor :file_name
|
|
50
58
|
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
|
52
61
|
attr_accessor :iml_rendering_mode
|
|
53
62
|
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
@@ -62,10 +71,12 @@ module AsposeWordsCloud
|
|
|
62
71
|
attr_accessor :update_last_printed_property
|
|
63
72
|
|
|
64
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.
|
|
65
75
|
attr_accessor :update_last_saved_time_property
|
|
66
76
|
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
|
68
78
|
# The default value is false.
|
|
79
|
+
# When set to true, output files will be zipped.
|
|
69
80
|
attr_accessor :zip_output
|
|
70
81
|
|
|
71
82
|
# Gets or sets the oOXML version for the output document.
|
|
@@ -28,6 +28,7 @@ require 'date'
|
|
|
28
28
|
module AsposeWordsCloud
|
|
29
29
|
|
|
30
30
|
# The REST response with a collection of document properties.
|
|
31
|
+
# This response should be returned by the service when handling: GET /documentProperties.
|
|
31
32
|
class DocumentPropertiesResponse
|
|
32
33
|
# Gets or sets the request Id.
|
|
33
34
|
attr_accessor :request_id
|
|
@@ -28,6 +28,7 @@ require 'date'
|
|
|
28
28
|
module AsposeWordsCloud
|
|
29
29
|
|
|
30
30
|
# The REST response with a document property.
|
|
31
|
+
# This response should be returned by the service when handling: GET documentProperties/{propertyName}.
|
|
31
32
|
class DocumentPropertyResponse
|
|
32
33
|
# Gets or sets the request Id.
|
|
33
34
|
attr_accessor :request_id
|
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for docx save options.
|
|
31
31
|
class DocxSaveOptionsData
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
|
33
|
+
# 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.
|
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
|
34
37
|
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
|
37
40
|
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
|
40
44
|
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
|
42
46
|
# { Simplified | None | Fine }.
|
|
47
|
+
# The default value is Simplified.
|
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
|
44
50
|
|
|
45
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.
|
|
46
54
|
attr_accessor :dml_rendering_mode
|
|
47
55
|
|
|
48
56
|
# Gets or sets the name of destination file.
|
|
49
57
|
attr_accessor :file_name
|
|
50
58
|
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
|
52
61
|
attr_accessor :iml_rendering_mode
|
|
53
62
|
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
@@ -62,10 +71,12 @@ module AsposeWordsCloud
|
|
|
62
71
|
attr_accessor :update_last_printed_property
|
|
63
72
|
|
|
64
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.
|
|
65
75
|
attr_accessor :update_last_saved_time_property
|
|
66
76
|
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
|
68
78
|
# The default value is false.
|
|
79
|
+
# When set to true, output files will be zipped.
|
|
69
80
|
attr_accessor :zip_output
|
|
70
81
|
|
|
71
82
|
# Gets or sets the oOXML version for the output document.
|
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for dot save options.
|
|
31
31
|
class DotSaveOptionsData
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
|
33
|
+
# 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.
|
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
|
34
37
|
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
|
37
40
|
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
|
40
44
|
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
|
42
46
|
# { Simplified | None | Fine }.
|
|
47
|
+
# The default value is Simplified.
|
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
|
44
50
|
|
|
45
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.
|
|
46
54
|
attr_accessor :dml_rendering_mode
|
|
47
55
|
|
|
48
56
|
# Gets or sets the name of destination file.
|
|
49
57
|
attr_accessor :file_name
|
|
50
58
|
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
|
52
61
|
attr_accessor :iml_rendering_mode
|
|
53
62
|
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
@@ -62,10 +71,12 @@ module AsposeWordsCloud
|
|
|
62
71
|
attr_accessor :update_last_printed_property
|
|
63
72
|
|
|
64
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.
|
|
65
75
|
attr_accessor :update_last_saved_time_property
|
|
66
76
|
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
|
68
78
|
# The default value is false.
|
|
79
|
+
# When set to true, output files will be zipped.
|
|
69
80
|
attr_accessor :zip_output
|
|
70
81
|
|
|
71
82
|
# Gets or sets a value indicating when False, that small metafiles are not compressed for performance reason.
|
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for dotm save options.
|
|
31
31
|
class DotmSaveOptionsData
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
|
33
|
+
# 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.
|
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
|
34
37
|
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
|
37
40
|
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
|
40
44
|
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
|
42
46
|
# { Simplified | None | Fine }.
|
|
47
|
+
# The default value is Simplified.
|
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
|
44
50
|
|
|
45
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.
|
|
46
54
|
attr_accessor :dml_rendering_mode
|
|
47
55
|
|
|
48
56
|
# Gets or sets the name of destination file.
|
|
49
57
|
attr_accessor :file_name
|
|
50
58
|
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
|
52
61
|
attr_accessor :iml_rendering_mode
|
|
53
62
|
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
@@ -62,10 +71,12 @@ module AsposeWordsCloud
|
|
|
62
71
|
attr_accessor :update_last_printed_property
|
|
63
72
|
|
|
64
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.
|
|
65
75
|
attr_accessor :update_last_saved_time_property
|
|
66
76
|
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
|
68
78
|
# The default value is false.
|
|
79
|
+
# When set to true, output files will be zipped.
|
|
69
80
|
attr_accessor :zip_output
|
|
70
81
|
|
|
71
82
|
# Gets or sets the oOXML version for the output document.
|
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for dotx save options.
|
|
31
31
|
class DotxSaveOptionsData
|
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
|
33
|
+
# 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.
|
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
|
34
37
|
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
|
37
40
|
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
|
40
44
|
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
|
42
46
|
# { Simplified | None | Fine }.
|
|
47
|
+
# The default value is Simplified.
|
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
|
44
50
|
|
|
45
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.
|
|
46
54
|
attr_accessor :dml_rendering_mode
|
|
47
55
|
|
|
48
56
|
# Gets or sets the name of destination file.
|
|
49
57
|
attr_accessor :file_name
|
|
50
58
|
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
|
52
61
|
attr_accessor :iml_rendering_mode
|
|
53
62
|
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
|
@@ -62,10 +71,12 @@ module AsposeWordsCloud
|
|
|
62
71
|
attr_accessor :update_last_printed_property
|
|
63
72
|
|
|
64
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.
|
|
65
75
|
attr_accessor :update_last_saved_time_property
|
|
66
76
|
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
|
68
78
|
# The default value is false.
|
|
79
|
+
# When set to true, output files will be zipped.
|
|
69
80
|
attr_accessor :zip_output
|
|
70
81
|
|
|
71
82
|
# Gets or sets the oOXML version for the output document.
|
|
@@ -30,12 +30,15 @@ module AsposeWordsCloud
|
|
|
30
30
|
# Container class for Downsample options.
|
|
31
31
|
class DownsampleOptionsData
|
|
32
32
|
# Gets or sets a value indicating whether images should be downsampled.
|
|
33
|
+
# The default value is true.
|
|
33
34
|
attr_accessor :downsample_images
|
|
34
35
|
|
|
35
36
|
# Gets or sets the resolution in pixels per inch which the images should be downsampled to.
|
|
37
|
+
# The default value is 220 ppi.
|
|
36
38
|
attr_accessor :resolution
|
|
37
39
|
|
|
38
40
|
# Gets or sets the threshold resolution in pixels per inch. If resolution of an image in the document is less than threshold value, the downsampling algorithm will not be applied. A value of 0 means the threshold check is not used and all images that can be reduced in size are downsampled.
|
|
41
|
+
# The default value is 0.
|
|
39
42
|
attr_accessor :resolution_threshold
|
|
40
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
41
44
|
def self.attribute_map
|
|
@@ -29,18 +29,15 @@ module AsposeWordsCloud
|
|
|
29
29
|
|
|
30
30
|
# Drawing object element for insert.
|
|
31
31
|
class DrawingObjectInsert
|
|
32
|
-
# Gets or sets the height of the DrawingObject in points.
|
|
33
|
-
attr_accessor :height
|
|
34
|
-
|
|
35
|
-
# Gets or sets the distance in points from the origin to the left side of the image.
|
|
36
|
-
attr_accessor :left
|
|
37
|
-
|
|
38
32
|
# Gets or sets the position, before which the DrawingObject will be inserted.
|
|
39
33
|
attr_accessor :position
|
|
40
34
|
|
|
41
35
|
# Gets or sets the relative horizontal position, from which the distance to the image is measured.
|
|
42
36
|
attr_accessor :relative_horizontal_position
|
|
43
37
|
|
|
38
|
+
# Gets or sets the distance in points from the origin to the left side of the image.
|
|
39
|
+
attr_accessor :left
|
|
40
|
+
|
|
44
41
|
# Gets or sets the relative vertical position, from which the distance to the image is measured.
|
|
45
42
|
attr_accessor :relative_vertical_position
|
|
46
43
|
|
|
@@ -50,6 +47,9 @@ module AsposeWordsCloud
|
|
|
50
47
|
# Gets or sets the width of the DrawingObjects in points.
|
|
51
48
|
attr_accessor :width
|
|
52
49
|
|
|
50
|
+
# Gets or sets the height of the DrawingObject in points.
|
|
51
|
+
attr_accessor :height
|
|
52
|
+
|
|
53
53
|
# Gets or sets the option indicating how to wrap text around the image.
|
|
54
54
|
attr_accessor :wrap_type
|
|
55
55
|
|
|
@@ -78,13 +78,13 @@ module AsposeWordsCloud
|
|
|
78
78
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
79
79
|
def self.attribute_map
|
|
80
80
|
{
|
|
81
|
-
:'height' => :'Height',
|
|
82
|
-
:'left' => :'Left',
|
|
83
81
|
:'position' => :'Position',
|
|
84
82
|
:'relative_horizontal_position' => :'RelativeHorizontalPosition',
|
|
83
|
+
:'left' => :'Left',
|
|
85
84
|
:'relative_vertical_position' => :'RelativeVerticalPosition',
|
|
86
85
|
:'top' => :'Top',
|
|
87
86
|
:'width' => :'Width',
|
|
87
|
+
:'height' => :'Height',
|
|
88
88
|
:'wrap_type' => :'WrapType'
|
|
89
89
|
}
|
|
90
90
|
end
|
|
@@ -92,13 +92,13 @@ module AsposeWordsCloud
|
|
|
92
92
|
# Attribute type mapping.
|
|
93
93
|
def self.swagger_types
|
|
94
94
|
{
|
|
95
|
-
:'height' => :'Float',
|
|
96
|
-
:'left' => :'Float',
|
|
97
95
|
:'position' => :'NewDocumentPosition',
|
|
98
96
|
:'relative_horizontal_position' => :'String',
|
|
97
|
+
:'left' => :'Float',
|
|
99
98
|
:'relative_vertical_position' => :'String',
|
|
100
99
|
:'top' => :'Float',
|
|
101
100
|
:'width' => :'Float',
|
|
101
|
+
:'height' => :'Float',
|
|
102
102
|
:'wrap_type' => :'String'
|
|
103
103
|
}
|
|
104
104
|
end
|
|
@@ -111,14 +111,6 @@ module AsposeWordsCloud
|
|
|
111
111
|
# convert string to symbol for hash key
|
|
112
112
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
113
113
|
|
|
114
|
-
if attributes.key?(:'Height')
|
|
115
|
-
self.height = attributes[:'Height']
|
|
116
|
-
end
|
|
117
|
-
|
|
118
|
-
if attributes.key?(:'Left')
|
|
119
|
-
self.left = attributes[:'Left']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
114
|
if attributes.key?(:'Position')
|
|
123
115
|
self.position = attributes[:'Position']
|
|
124
116
|
end
|
|
@@ -127,6 +119,10 @@ module AsposeWordsCloud
|
|
|
127
119
|
self.relative_horizontal_position = attributes[:'RelativeHorizontalPosition']
|
|
128
120
|
end
|
|
129
121
|
|
|
122
|
+
if attributes.key?(:'Left')
|
|
123
|
+
self.left = attributes[:'Left']
|
|
124
|
+
end
|
|
125
|
+
|
|
130
126
|
if attributes.key?(:'RelativeVerticalPosition')
|
|
131
127
|
self.relative_vertical_position = attributes[:'RelativeVerticalPosition']
|
|
132
128
|
end
|
|
@@ -139,6 +135,10 @@ module AsposeWordsCloud
|
|
|
139
135
|
self.width = attributes[:'Width']
|
|
140
136
|
end
|
|
141
137
|
|
|
138
|
+
if attributes.key?(:'Height')
|
|
139
|
+
self.height = attributes[:'Height']
|
|
140
|
+
end
|
|
141
|
+
|
|
142
142
|
if attributes.key?(:'WrapType')
|
|
143
143
|
self.wrap_type = attributes[:'WrapType']
|
|
144
144
|
end
|
|
@@ -212,13 +212,13 @@ module AsposeWordsCloud
|
|
|
212
212
|
def ==(other)
|
|
213
213
|
return true if self.equal?(other)
|
|
214
214
|
self.class == other.class &&
|
|
215
|
-
height == other.height &&
|
|
216
|
-
left == other.left &&
|
|
217
215
|
position == other.position &&
|
|
218
216
|
relative_horizontal_position == other.relative_horizontal_position &&
|
|
217
|
+
left == other.left &&
|
|
219
218
|
relative_vertical_position == other.relative_vertical_position &&
|
|
220
219
|
top == other.top &&
|
|
221
220
|
width == other.width &&
|
|
221
|
+
height == other.height &&
|
|
222
222
|
wrap_type == other.wrap_type
|
|
223
223
|
end
|
|
224
224
|
|
|
@@ -231,7 +231,7 @@ module AsposeWordsCloud
|
|
|
231
231
|
# Calculates hash code according to all attributes.
|
|
232
232
|
# @return [Fixnum] Hash code
|
|
233
233
|
def hash
|
|
234
|
-
[
|
|
234
|
+
[position, relative_horizontal_position, left, relative_vertical_position, top, width, height, wrap_type].hash
|
|
235
235
|
end
|
|
236
236
|
|
|
237
237
|
# Builds the object from hash
|