aspose_cells_cloud 25.1 → 25.2

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.
Files changed (232) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -4
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +36 -0
  4. data/lib/aspose_cells_cloud/models/add_text_options.rb +1 -1
  5. data/lib/aspose_cells_cloud/models/analyze_excel_request.rb +1 -1
  6. data/lib/aspose_cells_cloud/models/analyzed_column_description.rb +1 -1
  7. data/lib/aspose_cells_cloud/models/applied_operate.rb +1 -1
  8. data/lib/aspose_cells_cloud/models/arc_shape_response.rb +1 -1
  9. data/lib/aspose_cells_cloud/models/area.rb +1 -1
  10. data/lib/aspose_cells_cloud/models/auto_filter_response.rb +1 -1
  11. data/lib/aspose_cells_cloud/models/auto_shape_response.rb +1 -1
  12. data/lib/aspose_cells_cloud/models/auto_shapes.rb +1 -1
  13. data/lib/aspose_cells_cloud/models/auto_shapes_response.rb +1 -1
  14. data/lib/aspose_cells_cloud/models/axis_response.rb +1 -1
  15. data/lib/aspose_cells_cloud/models/base_operate_options.rb +1 -1
  16. data/lib/aspose_cells_cloud/models/batch_convert_request.rb +1 -1
  17. data/lib/aspose_cells_cloud/models/batch_protect_request.rb +1 -1
  18. data/lib/aspose_cells_cloud/models/border.rb +1 -1
  19. data/lib/aspose_cells_cloud/models/border_response.rb +1 -1
  20. data/lib/aspose_cells_cloud/models/button_response.rb +1 -1
  21. data/lib/aspose_cells_cloud/models/calculate_formula_response.rb +1 -1
  22. data/lib/aspose_cells_cloud/models/cell.rb +1 -1
  23. data/lib/aspose_cells_cloud/models/cell_response.rb +1 -1
  24. data/lib/aspose_cells_cloud/models/cell_value.rb +1 -1
  25. data/lib/aspose_cells_cloud/models/cells.rb +1 -1
  26. data/lib/aspose_cells_cloud/models/cells_cloud_file_info_response.rb +1 -1
  27. data/lib/aspose_cells_cloud/models/cells_cloud_response.rb +1 -1
  28. data/lib/aspose_cells_cloud/models/cells_document_properties_response.rb +1 -1
  29. data/lib/aspose_cells_cloud/models/cells_document_property_response.rb +1 -1
  30. data/lib/aspose_cells_cloud/models/cells_drawing_response.rb +1 -1
  31. data/lib/aspose_cells_cloud/models/cells_response.rb +1 -1
  32. data/lib/aspose_cells_cloud/models/character_count_options.rb +222 -0
  33. data/lib/aspose_cells_cloud/models/chart_area_response.rb +1 -1
  34. data/lib/aspose_cells_cloud/models/chart_data_table_response.rb +1 -1
  35. data/lib/aspose_cells_cloud/models/chart_point_response.rb +1 -1
  36. data/lib/aspose_cells_cloud/models/chart_points_response.rb +1 -1
  37. data/lib/aspose_cells_cloud/models/chart_response.rb +1 -1
  38. data/lib/aspose_cells_cloud/models/charts_response.rb +1 -1
  39. data/lib/aspose_cells_cloud/models/check_box_response.rb +1 -1
  40. data/lib/aspose_cells_cloud/models/color_filter.rb +1 -1
  41. data/lib/aspose_cells_cloud/models/column_response.rb +1 -1
  42. data/lib/aspose_cells_cloud/models/columns_response.rb +1 -1
  43. data/lib/aspose_cells_cloud/models/combination_source_data.rb +282 -0
  44. data/lib/aspose_cells_cloud/models/combo_box.rb +1 -1
  45. data/lib/aspose_cells_cloud/models/combo_box_response.rb +1 -1
  46. data/lib/aspose_cells_cloud/models/comment.rb +1 -1
  47. data/lib/aspose_cells_cloud/models/comment_response.rb +1 -1
  48. data/lib/aspose_cells_cloud/models/comment_shape_response.rb +1 -1
  49. data/lib/aspose_cells_cloud/models/comments.rb +1 -1
  50. data/lib/aspose_cells_cloud/models/comments_response.rb +1 -1
  51. data/lib/aspose_cells_cloud/models/conditional_formatting.rb +1 -1
  52. data/lib/aspose_cells_cloud/models/conditional_formatting_response.rb +1 -1
  53. data/lib/aspose_cells_cloud/models/conditional_formattings.rb +1 -1
  54. data/lib/aspose_cells_cloud/models/conditional_formattings_response.rb +1 -1
  55. data/lib/aspose_cells_cloud/models/convert_parameter.rb +1 -1
  56. data/lib/aspose_cells_cloud/models/convert_text_options.rb +1 -1
  57. data/lib/aspose_cells_cloud/models/convert_worksheet_options.rb +306 -0
  58. data/lib/aspose_cells_cloud/models/copy_options.rb +16 -4
  59. data/lib/aspose_cells_cloud/models/criteria_multiple_filter.rb +1 -1
  60. data/lib/aspose_cells_cloud/models/custom_parser_config.rb +1 -1
  61. data/lib/aspose_cells_cloud/models/data_deduplication_request.rb +1 -1
  62. data/lib/aspose_cells_cloud/models/data_labels.rb +1 -1
  63. data/lib/aspose_cells_cloud/models/data_labels_response.rb +1 -1
  64. data/lib/aspose_cells_cloud/models/data_output_location.rb +258 -0
  65. data/lib/aspose_cells_cloud/models/data_transformation_request.rb +1 -1
  66. data/lib/aspose_cells_cloud/models/delete_incomplete_rows_request.rb +1 -1
  67. data/lib/aspose_cells_cloud/models/display_unit_label.rb +1 -1
  68. data/lib/aspose_cells_cloud/models/display_unit_label_response.rb +1 -1
  69. data/lib/aspose_cells_cloud/models/drop_bars_response.rb +1 -1
  70. data/lib/aspose_cells_cloud/models/error_bar.rb +1 -1
  71. data/lib/aspose_cells_cloud/models/error_bar_response.rb +1 -1
  72. data/lib/aspose_cells_cloud/models/extract_text_options.rb +1 -1
  73. data/lib/aspose_cells_cloud/models/file_source.rb +1 -1
  74. data/lib/aspose_cells_cloud/models/fill_format_response.rb +1 -1
  75. data/lib/aspose_cells_cloud/models/filter_column.rb +1 -1
  76. data/lib/aspose_cells_cloud/models/find_response.rb +1 -1
  77. data/lib/aspose_cells_cloud/models/floor_response.rb +1 -1
  78. data/lib/aspose_cells_cloud/models/form.rb +1 -1
  79. data/lib/aspose_cells_cloud/models/form_response.rb +1 -1
  80. data/lib/aspose_cells_cloud/models/forms.rb +1 -1
  81. data/lib/aspose_cells_cloud/models/forms_response.rb +1 -1
  82. data/lib/aspose_cells_cloud/models/gradient_fill_stop.rb +1 -1
  83. data/lib/aspose_cells_cloud/models/group_box_response.rb +1 -1
  84. data/lib/aspose_cells_cloud/models/horizontal_page_break_response.rb +1 -1
  85. data/lib/aspose_cells_cloud/models/horizontal_page_breaks_response.rb +1 -1
  86. data/lib/aspose_cells_cloud/models/html_save_options.rb +1 -1
  87. data/lib/aspose_cells_cloud/models/hyperlink_response.rb +1 -1
  88. data/lib/aspose_cells_cloud/models/hyperlinks.rb +1 -1
  89. data/lib/aspose_cells_cloud/models/hyperlinks_response.rb +1 -1
  90. data/lib/aspose_cells_cloud/models/image_or_print_options.rb +1 -1
  91. data/lib/aspose_cells_cloud/models/import2_dimension_double_array_option.rb +1 -1
  92. data/lib/aspose_cells_cloud/models/import2_dimension_int_array_option.rb +1 -1
  93. data/lib/aspose_cells_cloud/models/import2_dimension_string_array_option.rb +1 -1
  94. data/lib/aspose_cells_cloud/models/import_batch_data_option.rb +1 -1
  95. data/lib/aspose_cells_cloud/models/import_csv_data_option.rb +1 -1
  96. data/lib/aspose_cells_cloud/models/import_double_array_option.rb +1 -1
  97. data/lib/aspose_cells_cloud/models/import_int_array_option.rb +1 -1
  98. data/lib/aspose_cells_cloud/models/import_option.rb +1 -1
  99. data/lib/aspose_cells_cloud/models/import_picture_option.rb +1 -1
  100. data/lib/aspose_cells_cloud/models/import_position.rb +1 -1
  101. data/lib/aspose_cells_cloud/models/import_string_array_option.rb +1 -1
  102. data/lib/aspose_cells_cloud/models/label_response.rb +1 -1
  103. data/lib/aspose_cells_cloud/models/legend_entries.rb +1 -1
  104. data/lib/aspose_cells_cloud/models/legend_entries_response.rb +1 -1
  105. data/lib/aspose_cells_cloud/models/legend_entry_response.rb +1 -1
  106. data/lib/aspose_cells_cloud/models/legend_response.rb +1 -1
  107. data/lib/aspose_cells_cloud/models/line_response.rb +1 -1
  108. data/lib/aspose_cells_cloud/models/line_shape_response.rb +1 -1
  109. data/lib/aspose_cells_cloud/models/link.rb +1 -1
  110. data/lib/aspose_cells_cloud/models/link_element.rb +1 -1
  111. data/lib/aspose_cells_cloud/models/list_box.rb +1 -1
  112. data/lib/aspose_cells_cloud/models/list_box_response.rb +1 -1
  113. data/lib/aspose_cells_cloud/models/list_object_response.rb +1 -1
  114. data/lib/aspose_cells_cloud/models/list_objects.rb +1 -1
  115. data/lib/aspose_cells_cloud/models/list_objects_response.rb +1 -1
  116. data/lib/aspose_cells_cloud/models/load_options.rb +1 -1
  117. data/lib/aspose_cells_cloud/models/merge_table_options.rb +270 -0
  118. data/lib/aspose_cells_cloud/models/merged_cell.rb +1 -1
  119. data/lib/aspose_cells_cloud/models/merged_cell_response.rb +1 -1
  120. data/lib/aspose_cells_cloud/models/merged_cells.rb +1 -1
  121. data/lib/aspose_cells_cloud/models/merged_cells_response.rb +1 -1
  122. data/lib/aspose_cells_cloud/models/multiple_filters.rb +1 -1
  123. data/lib/aspose_cells_cloud/models/name.rb +1 -1
  124. data/lib/aspose_cells_cloud/models/name_response.rb +1 -1
  125. data/lib/aspose_cells_cloud/models/names.rb +1 -1
  126. data/lib/aspose_cells_cloud/models/names_response.rb +1 -1
  127. data/lib/aspose_cells_cloud/models/ole_object_response.rb +1 -1
  128. data/lib/aspose_cells_cloud/models/ole_objects.rb +1 -1
  129. data/lib/aspose_cells_cloud/models/ole_objects_response.rb +1 -1
  130. data/lib/aspose_cells_cloud/models/oval_response.rb +1 -1
  131. data/lib/aspose_cells_cloud/models/page_section.rb +1 -1
  132. data/lib/aspose_cells_cloud/models/page_setup_response.rb +1 -1
  133. data/lib/aspose_cells_cloud/models/paginated_save_options.rb +1 -1
  134. data/lib/aspose_cells_cloud/models/pdf_security_options.rb +1 -1
  135. data/lib/aspose_cells_cloud/models/picture.rb +1 -1
  136. data/lib/aspose_cells_cloud/models/picture_response.rb +1 -1
  137. data/lib/aspose_cells_cloud/models/pictures.rb +1 -1
  138. data/lib/aspose_cells_cloud/models/pictures_response.rb +1 -1
  139. data/lib/aspose_cells_cloud/models/pivot_field.rb +1 -1
  140. data/lib/aspose_cells_cloud/models/pivot_field_response.rb +1 -1
  141. data/lib/aspose_cells_cloud/models/pivot_filter.rb +1 -1
  142. data/lib/aspose_cells_cloud/models/pivot_filter_response.rb +1 -1
  143. data/lib/aspose_cells_cloud/models/pivot_filters_response.rb +1 -1
  144. data/lib/aspose_cells_cloud/models/pivot_item.rb +1 -1
  145. data/lib/aspose_cells_cloud/models/pivot_table.rb +1 -1
  146. data/lib/aspose_cells_cloud/models/pivot_table_response.rb +1 -1
  147. data/lib/aspose_cells_cloud/models/pivot_tables.rb +1 -1
  148. data/lib/aspose_cells_cloud/models/pivot_tables_response.rb +1 -1
  149. data/lib/aspose_cells_cloud/models/plot_area_response.rb +1 -1
  150. data/lib/aspose_cells_cloud/models/protect_sheet_parameter.rb +1 -1
  151. data/lib/aspose_cells_cloud/models/radio_button_response.rb +1 -1
  152. data/lib/aspose_cells_cloud/models/range_convert_request.rb +246 -0
  153. data/lib/aspose_cells_cloud/models/range_copy_request.rb +13 -1
  154. data/lib/aspose_cells_cloud/models/range_response.rb +1 -1
  155. data/lib/aspose_cells_cloud/models/range_value_response.rb +1 -1
  156. data/lib/aspose_cells_cloud/models/ranges.rb +1 -1
  157. data/lib/aspose_cells_cloud/models/ranges_response.rb +1 -1
  158. data/lib/aspose_cells_cloud/models/rectangle_shape_response.rb +1 -1
  159. data/lib/aspose_cells_cloud/models/remove_characters_by_character.rb +1 -1
  160. data/lib/aspose_cells_cloud/models/remove_characters_by_position.rb +1 -1
  161. data/lib/aspose_cells_cloud/models/remove_characters_options.rb +1 -1
  162. data/lib/aspose_cells_cloud/models/remove_duplicates_options.rb +1 -1
  163. data/lib/aspose_cells_cloud/models/rendering_font.rb +1 -1
  164. data/lib/aspose_cells_cloud/models/rendering_watermark.rb +1 -1
  165. data/lib/aspose_cells_cloud/models/row_response.rb +1 -1
  166. data/lib/aspose_cells_cloud/models/rows.rb +1 -1
  167. data/lib/aspose_cells_cloud/models/rows_response.rb +1 -1
  168. data/lib/aspose_cells_cloud/models/save_files_to_cloud_result_response.rb +1 -1
  169. data/lib/aspose_cells_cloud/models/save_response.rb +1 -1
  170. data/lib/aspose_cells_cloud/models/scope_item.rb +1 -1
  171. data/lib/aspose_cells_cloud/models/scope_options.rb +1 -1
  172. data/lib/aspose_cells_cloud/models/scroll_bar_response.rb +1 -1
  173. data/lib/aspose_cells_cloud/models/series_items.rb +1 -1
  174. data/lib/aspose_cells_cloud/models/series_response.rb +1 -1
  175. data/lib/aspose_cells_cloud/models/serieses_response.rb +1 -1
  176. data/lib/aspose_cells_cloud/models/shape_response.rb +1 -1
  177. data/lib/aspose_cells_cloud/models/shapes_response.rb +1 -1
  178. data/lib/aspose_cells_cloud/models/single_value_response.rb +1 -1
  179. data/lib/aspose_cells_cloud/models/sort_key.rb +1 -1
  180. data/lib/aspose_cells_cloud/models/sparkline_group_response.rb +1 -1
  181. data/lib/aspose_cells_cloud/models/sparkline_groups_response.rb +1 -1
  182. data/lib/aspose_cells_cloud/models/specify_words_count_options.rb +234 -0
  183. data/lib/aspose_cells_cloud/models/spinner_response.rb +1 -1
  184. data/lib/aspose_cells_cloud/models/split_text_options.rb +1 -1
  185. data/lib/aspose_cells_cloud/models/style.rb +1 -1
  186. data/lib/aspose_cells_cloud/models/style_response.rb +1 -1
  187. data/lib/aspose_cells_cloud/models/styles.rb +1 -1
  188. data/lib/aspose_cells_cloud/models/table_position_info.rb +198 -0
  189. data/lib/aspose_cells_cloud/models/task_run_result_response.rb +1 -1
  190. data/lib/aspose_cells_cloud/models/text_box_response.rb +1 -1
  191. data/lib/aspose_cells_cloud/models/text_item_response.rb +1 -1
  192. data/lib/aspose_cells_cloud/models/text_items_response.rb +1 -1
  193. data/lib/aspose_cells_cloud/models/text_options.rb +1 -1
  194. data/lib/aspose_cells_cloud/models/text_water_marker_request.rb +1 -1
  195. data/lib/aspose_cells_cloud/models/texture_fill.rb +1 -1
  196. data/lib/aspose_cells_cloud/models/tick_labels_response.rb +1 -1
  197. data/lib/aspose_cells_cloud/models/title.rb +1 -1
  198. data/lib/aspose_cells_cloud/models/title_response.rb +1 -1
  199. data/lib/aspose_cells_cloud/models/top10_filter.rb +1 -1
  200. data/lib/aspose_cells_cloud/models/trendline.rb +1 -1
  201. data/lib/aspose_cells_cloud/models/trendline_response.rb +1 -1
  202. data/lib/aspose_cells_cloud/models/trendlines.rb +1 -1
  203. data/lib/aspose_cells_cloud/models/trendlines_response.rb +1 -1
  204. data/lib/aspose_cells_cloud/models/trim_content_options.rb +1 -1
  205. data/lib/aspose_cells_cloud/models/validation_response.rb +1 -1
  206. data/lib/aspose_cells_cloud/models/validations.rb +1 -1
  207. data/lib/aspose_cells_cloud/models/validations_response.rb +1 -1
  208. data/lib/aspose_cells_cloud/models/vertical_page_break_response.rb +1 -1
  209. data/lib/aspose_cells_cloud/models/vertical_page_breaks_response.rb +1 -1
  210. data/lib/aspose_cells_cloud/models/walls_response.rb +1 -1
  211. data/lib/aspose_cells_cloud/models/word_case_options.rb +1 -1
  212. data/lib/aspose_cells_cloud/models/words_count_options.rb +222 -0
  213. data/lib/aspose_cells_cloud/models/workbook_replace_response.rb +1 -1
  214. data/lib/aspose_cells_cloud/models/workbook_response.rb +1 -1
  215. data/lib/aspose_cells_cloud/models/workbook_settings_response.rb +1 -1
  216. data/lib/aspose_cells_cloud/models/workbooks_response.rb +1 -1
  217. data/lib/aspose_cells_cloud/models/worksheet.rb +1 -1
  218. data/lib/aspose_cells_cloud/models/worksheet_replace_response.rb +1 -1
  219. data/lib/aspose_cells_cloud/models/worksheet_response.rb +1 -1
  220. data/lib/aspose_cells_cloud/models/worksheets.rb +1 -1
  221. data/lib/aspose_cells_cloud/models/worksheets_response.rb +1 -1
  222. data/lib/aspose_cells_cloud/requests/get_worksheet_with_format_request.rb +14 -0
  223. data/lib/aspose_cells_cloud/requests/post_character_count_request.rb +103 -0
  224. data/lib/aspose_cells_cloud/requests/post_convert_worksheet_to_image_request.rb +103 -0
  225. data/lib/aspose_cells_cloud/requests/post_specify_words_count_request.rb +103 -0
  226. data/lib/aspose_cells_cloud/requests/post_words_count_request.rb +103 -0
  227. data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_to_image_request.rb +138 -0
  228. data/lib/aspose_cells_cloud/version.rb +1 -1
  229. data/lib/aspose_cells_cloud.rb +14 -0
  230. data/spec/api/pivot_tables_controller_spec.rb +1 -1
  231. data/spec/api/ranges_controller_spec.rb +2 -2
  232. metadata +16 -2
@@ -0,0 +1,234 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="SpecifyWordsCountOptionsrb.cs">
4
+ Copyright (c) 2025 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class SpecifyWordsCountOptions
34
+ #
35
+ attr_accessor :data_source
36
+ #
37
+ attr_accessor :file_info
38
+ #
39
+ attr_accessor :search_word
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+ :'data_source' => :'DataSource',
45
+ :'file_info' => :'FileInfo',
46
+ :'search_word' => :'SearchWord'
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'data_source' => :'DataSource',
54
+ :'file_info' => :'FileInfo',
55
+ :'search_word' => :'String'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+ if attributes.has_key?(:'DataSource')
68
+ self.data_source = attributes[:'DataSource']
69
+ end
70
+ if attributes.has_key?(:'FileInfo')
71
+ self.file_info = attributes[:'FileInfo']
72
+ end
73
+ if attributes.has_key?(:'SearchWord')
74
+ self.search_word = attributes[:'SearchWord']
75
+ end
76
+
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properies with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ if @data_source.nil?
84
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
85
+ end
86
+ if @file_info.nil?
87
+ invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
88
+ end
89
+ if @search_word.nil?
90
+ invalid_properties.push("invalid value for 'search_word', search_word cannot be nil.")
91
+ end
92
+
93
+ return invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ return false if @data_source.nil?
100
+ return false if @file_info.nil?
101
+ return false if @search_word.nil?
102
+ return true
103
+ end
104
+
105
+ # Checks equality by comparing each attribute.
106
+ # @param [Object] Object to be compared
107
+ def ==(o)
108
+ return true if self.equal?(o)
109
+ self.class == o.class &&
110
+ data_source == o.data_source &&
111
+ file_info == o.file_info &&
112
+ search_word == o.search_word
113
+ std_dev == o.std_dev
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(o)
119
+ self == o
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Fixnum] Hash code
124
+ def hash
125
+ [ data_source , file_info , search_word ].hash
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def build_from_hash(attributes)
132
+ return nil unless attributes.is_a?(Hash)
133
+ self.class.swagger_types.each_pair do |key, type|
134
+ if type =~ /\AArray<(.*)>/i
135
+ # check to ensure the input is an array given that the the attribute
136
+ # is documented as an array but the input is not
137
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
138
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
139
+ end
140
+ elsif !attributes[self.class.attribute_map[key]].nil?
141
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
142
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
143
+ end
144
+
145
+ self
146
+ end
147
+
148
+ # Deserializes the data based on type
149
+ # @param string type Data type
150
+ # @param string value Value to be deserialized
151
+ # @return [Object] Deserialized data
152
+ def _deserialize(type, value)
153
+ case type.to_sym
154
+ when :DateTime
155
+ DateTime.parse(value)
156
+ when :Date
157
+ Date.parse(value)
158
+ when :String
159
+ value.to_s
160
+ when :Integer
161
+ value.to_i
162
+ when :Float
163
+ value.to_f
164
+ when :BOOLEAN
165
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
166
+ true
167
+ else
168
+ false
169
+ end
170
+ when :Object
171
+ # generic object (usually a Hash), return directly
172
+ value
173
+ when /\AArray<(?<inner_type>.+)>\z/
174
+ inner_type = Regexp.last_match[:inner_type]
175
+ value.map { |v| _deserialize(inner_type, v) }
176
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
177
+ k_type = Regexp.last_match[:k_type]
178
+ v_type = Regexp.last_match[:v_type]
179
+ {}.tap do |hash|
180
+ value.each do |k, v|
181
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
182
+ end
183
+ end
184
+ else # model
185
+ temp_model = AsposeCellsCloud.const_get(type).new
186
+ temp_model.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ next if value.nil?
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map{ |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+
234
+ end
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class SpinnerResponse
34
- #
34
+ #A property named Shape of type Spinner, with both get and set accessors.
35
35
  attr_accessor :shape
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class SplitTextOptions
34
- #
34
+ #The property "Name" is a publicly accessible and overridable property of type string in the class.
35
35
  attr_accessor :name
36
36
  #
37
37
  attr_accessor :data_source
@@ -71,7 +71,7 @@ module AsposeCellsCloud
71
71
  attr_accessor :vertical_alignment
72
72
  #Gets or sets the horizontal alignment type of the text in a cell.
73
73
  attr_accessor :horizontal_alignment
74
- #
74
+ #A public property named `BorderCollection` that is a list of `Border` objects.
75
75
  attr_accessor :border_collection
76
76
  #Gets and sets the background theme color.
77
77
  attr_accessor :background_theme_color
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class StyleResponse
34
- #
34
+ #A property named "Style" of type "Style" is defined with both getter and setter methods.
35
35
  attr_accessor :style
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Styles
34
- #
34
+ #This property contains a list of elements with the tag "style".
35
35
  attr_accessor :style_list
36
36
  #
37
37
  attr_accessor :link
@@ -0,0 +1,198 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="TablePositionInforb.cs">
4
+ Copyright (c) 2025 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class TablePositionInfo
34
+
35
+ # Attribute mapping from ruby-style variable name to JSON key.
36
+ def self.attribute_map
37
+ {
38
+ }
39
+ end
40
+
41
+ # Attribute type mapping.
42
+ def self.swagger_types
43
+ {
44
+ }
45
+ end
46
+
47
+ # Initializes the object
48
+ # @param [Hash] attributes Model attributes in the form of hash
49
+ def initialize(attributes = {})
50
+ return unless attributes.is_a?(Hash)
51
+
52
+ # convert string to symbol for hash key
53
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
54
+
55
+
56
+ end
57
+
58
+ # Show invalid properties with the reasons. Usually used together with valid?
59
+ # @return Array for valid properies with the reasons
60
+ def list_invalid_properties
61
+ invalid_properties = Array.new
62
+
63
+ return invalid_properties
64
+ end
65
+
66
+ # Check to see if the all the properties in the model are valid
67
+ # @return true if the model is valid
68
+ def valid?
69
+ return true
70
+ end
71
+
72
+ # Checks equality by comparing each attribute.
73
+ # @param [Object] Object to be compared
74
+ def ==(o)
75
+ return true if self.equal?(o)
76
+ self.class == o.class &&
77
+ std_dev == o.std_dev
78
+ end
79
+
80
+ # @see the `==` method
81
+ # @param [Object] Object to be compared
82
+ def eql?(o)
83
+ self == o
84
+ end
85
+
86
+ # Calculates hash code according to all attributes.
87
+ # @return [Fixnum] Hash code
88
+ def hash
89
+ [ ].hash
90
+ end
91
+
92
+ # Builds the object from hash
93
+ # @param [Hash] attributes Model attributes in the form of hash
94
+ # @return [Object] Returns the model itself
95
+ def build_from_hash(attributes)
96
+ return nil unless attributes.is_a?(Hash)
97
+ self.class.swagger_types.each_pair do |key, type|
98
+ if type =~ /\AArray<(.*)>/i
99
+ # check to ensure the input is an array given that the the attribute
100
+ # is documented as an array but the input is not
101
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
102
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
103
+ end
104
+ elsif !attributes[self.class.attribute_map[key]].nil?
105
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
106
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
107
+ end
108
+
109
+ self
110
+ end
111
+
112
+ # Deserializes the data based on type
113
+ # @param string type Data type
114
+ # @param string value Value to be deserialized
115
+ # @return [Object] Deserialized data
116
+ def _deserialize(type, value)
117
+ case type.to_sym
118
+ when :DateTime
119
+ DateTime.parse(value)
120
+ when :Date
121
+ Date.parse(value)
122
+ when :String
123
+ value.to_s
124
+ when :Integer
125
+ value.to_i
126
+ when :Float
127
+ value.to_f
128
+ when :BOOLEAN
129
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
130
+ true
131
+ else
132
+ false
133
+ end
134
+ when :Object
135
+ # generic object (usually a Hash), return directly
136
+ value
137
+ when /\AArray<(?<inner_type>.+)>\z/
138
+ inner_type = Regexp.last_match[:inner_type]
139
+ value.map { |v| _deserialize(inner_type, v) }
140
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
141
+ k_type = Regexp.last_match[:k_type]
142
+ v_type = Regexp.last_match[:v_type]
143
+ {}.tap do |hash|
144
+ value.each do |k, v|
145
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
146
+ end
147
+ end
148
+ else # model
149
+ temp_model = AsposeCellsCloud.const_get(type).new
150
+ temp_model.build_from_hash(value)
151
+ end
152
+ end
153
+
154
+ # Returns the string representation of the object
155
+ # @return [String] String presentation of the object
156
+ def to_s
157
+ to_hash.to_s
158
+ end
159
+
160
+ # to_body is an alias to to_hash (backward compatibility)
161
+ # @return [Hash] Returns the object in the form of hash
162
+ def to_body
163
+ to_hash
164
+ end
165
+
166
+ # Returns the object in the form of hash
167
+ # @return [Hash] Returns the object in the form of hash
168
+ def to_hash
169
+ hash = {}
170
+ self.class.attribute_map.each_pair do |attr, param|
171
+ value = self.send(attr)
172
+ next if value.nil?
173
+ hash[param] = _to_hash(value)
174
+ end
175
+ hash
176
+ end
177
+
178
+ # Outputs non-array value in the form of hash
179
+ # For object, use to_hash. Otherwise, just return the value
180
+ # @param [Object] value Any valid value
181
+ # @return [Hash] Returns the value in the form of hash
182
+ def _to_hash(value)
183
+ if value.is_a?(Array)
184
+ value.compact.map{ |v| _to_hash(v) }
185
+ elsif value.is_a?(Hash)
186
+ {}.tap do |hash|
187
+ value.each { |k, v| hash[k] = _to_hash(v) }
188
+ end
189
+ elsif value.respond_to? :to_hash
190
+ value.to_hash
191
+ else
192
+ value
193
+ end
194
+ end
195
+
196
+ end
197
+
198
+ end
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TaskRunResultResponse
34
- #
34
+ #This class has a property named "TaskRunResult" of type "TaskRunResult" that can be both accessed and modified.
35
35
  attr_accessor :task_run_result
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TextBoxResponse
34
- #
34
+ #A public property named "Shape" of type TextBox is defined with both get and set accessors.
35
35
  attr_accessor :shape
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TextItemResponse
34
- #
34
+ #The class has a property that allows getting and setting a TextItem object.
35
35
  attr_accessor :text_item
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TextItemsResponse
34
- #
34
+ #This property allows access to a collection of TextItems.
35
35
  attr_accessor :text_items
36
36
  #
37
37
  attr_accessor :code
@@ -57,7 +57,7 @@ module AsposeCellsCloud
57
57
  attr_accessor :is_subscript
58
58
  #
59
59
  attr_accessor :is_superscript
60
- #
60
+ #The class has a public property named "Name" with a getter and setter method.
61
61
  attr_accessor :name
62
62
  #
63
63
  attr_accessor :size
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TextWaterMarkerRequest
34
- #
34
+ #A property named Text of type string that can be accessed and modified.
35
35
  attr_accessor :text
36
36
  #Indicates font name.
37
37
  attr_accessor :font_name
@@ -41,7 +41,7 @@ module AsposeCellsCloud
41
41
  attr_accessor :tile_pic_option
42
42
  #Gets or sets picture format option.
43
43
  attr_accessor :pic_format_option
44
- #
44
+ #The class has a public property named "Image" of type LinkElement that can be accessed and set.
45
45
  attr_accessor :image
46
46
 
47
47
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TickLabelsResponse
34
- #
34
+ #Property that represents tick labels for a class.
35
35
  attr_accessor :tick_labels
36
36
  #
37
37
  attr_accessor :code
@@ -33,7 +33,7 @@ module AsposeCellsCloud
33
33
  class Title
34
34
  #Represents whether the title is visible.
35
35
  attr_accessor :is_visible
36
- #
36
+ #A property named LinkedSource with both set and get accessors is defined.
37
37
  attr_accessor :linked_source
38
38
  #
39
39
  attr_accessor :rotation_angle
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TitleResponse
34
- #
34
+ #This class has a property called "Title" of type "Title" with both a getter and a setter.
35
35
  attr_accessor :title
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Top10Filter
34
- #
34
+ #An integer property named FieldIndex that can be accessed and modified.
35
35
  attr_accessor :field_index
36
36
  #
37
37
  attr_accessor :criteria
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Trendline
34
- #
34
+ #The class has a property named "link" of type "Link" that can be accessed and modified.
35
35
  attr_accessor :link
36
36
  #Returns or sets the number of periods (or units on a scatter chart) that the trendline extends backward. The number of periods must be greater than or equal to zero. If the chart type is column ,the number of periods must be between 0 and 0.5
37
37
  attr_accessor :backward
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TrendlineResponse
34
- #
34
+ #The class has a public property called "Trendline" of type "Trendline" that can be accessed and modified.
35
35
  attr_accessor :trendline
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Trendlines
34
- #
34
+ #This property allows for a list of Trendline objects to be stored under the XmlElement "TrendLine".
35
35
  attr_accessor :trendline_list
36
36
  #
37
37
  attr_accessor :link
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TrendlinesResponse
34
- #
34
+ #This property allows access to the Trendlines feature and set new values for it.
35
35
  attr_accessor :trendlines
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class TrimContentOptions
34
- #
34
+ #This class has a public property named DataSource of type DataSource that has both a getter and a setter method.
35
35
  attr_accessor :data_source
36
36
  #
37
37
  attr_accessor :file_info
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ValidationResponse
34
- #
34
+ #The class has a public property for Validation.
35
35
  attr_accessor :validation
36
36
  #
37
37
  attr_accessor :code
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class Validations
34
- #
34
+ #Property summary: The property "Count" with an XML element name "count" returns the number of items in the "ValidationList".
35
35
  attr_accessor :count
36
36
  #
37
37
  attr_accessor :validation_list
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class ValidationsResponse
34
- #
34
+ #This class has a public property named "Validations" of type "Validations" that includes both a getter and a setter.
35
35
  attr_accessor :validations
36
36
  #
37
37
  attr_accessor :code