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,306 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="ConvertWorksheetOptionsrb.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 ConvertWorksheetOptions
34
+ #The class has a public property named "Name" with a getter and setter method.
35
+ attr_accessor :name
36
+ #
37
+ attr_accessor :data_source
38
+ #
39
+ attr_accessor :file_info
40
+ #
41
+ attr_accessor :worksheet_name
42
+ #
43
+ attr_accessor :page_setup
44
+ #
45
+ attr_accessor :image_or_print_options
46
+ #
47
+ attr_accessor :convert_format
48
+ #
49
+ attr_accessor :check_excel_restriction
50
+ #
51
+ attr_accessor :region
52
+
53
+ # Attribute mapping from ruby-style variable name to JSON key.
54
+ def self.attribute_map
55
+ {
56
+ :'name' => :'Name',
57
+ :'data_source' => :'DataSource',
58
+ :'file_info' => :'FileInfo',
59
+ :'worksheet_name' => :'WorksheetName',
60
+ :'page_setup' => :'PageSetup',
61
+ :'image_or_print_options' => :'ImageOrPrintOptions',
62
+ :'convert_format' => :'ConvertFormat',
63
+ :'check_excel_restriction' => :'CheckExcelRestriction',
64
+ :'region' => :'Region'
65
+ }
66
+ end
67
+
68
+ # Attribute type mapping.
69
+ def self.swagger_types
70
+ {
71
+ :'name' => :'String',
72
+ :'data_source' => :'DataSource',
73
+ :'file_info' => :'FileInfo',
74
+ :'worksheet_name' => :'String',
75
+ :'page_setup' => :'PageSetup',
76
+ :'image_or_print_options' => :'ImageOrPrintOptions',
77
+ :'convert_format' => :'String',
78
+ :'check_excel_restriction' => :'BOOLEAN',
79
+ :'region' => :'String'
80
+ }
81
+ end
82
+
83
+ # Initializes the object
84
+ # @param [Hash] attributes Model attributes in the form of hash
85
+ def initialize(attributes = {})
86
+ return unless attributes.is_a?(Hash)
87
+
88
+ # convert string to symbol for hash key
89
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
90
+
91
+ if attributes.has_key?(:'Name')
92
+ self.name = attributes[:'Name']
93
+ end
94
+ if attributes.has_key?(:'DataSource')
95
+ self.data_source = attributes[:'DataSource']
96
+ end
97
+ if attributes.has_key?(:'FileInfo')
98
+ self.file_info = attributes[:'FileInfo']
99
+ end
100
+ if attributes.has_key?(:'WorksheetName')
101
+ self.worksheet_name = attributes[:'WorksheetName']
102
+ end
103
+ if attributes.has_key?(:'PageSetup')
104
+ self.page_setup = attributes[:'PageSetup']
105
+ end
106
+ if attributes.has_key?(:'ImageOrPrintOptions')
107
+ self.image_or_print_options = attributes[:'ImageOrPrintOptions']
108
+ end
109
+ if attributes.has_key?(:'ConvertFormat')
110
+ self.convert_format = attributes[:'ConvertFormat']
111
+ end
112
+ if attributes.has_key?(:'CheckExcelRestriction')
113
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
114
+ end
115
+ if attributes.has_key?(:'Region')
116
+ self.region = attributes[:'Region']
117
+ end
118
+
119
+ end
120
+
121
+ # Show invalid properties with the reasons. Usually used together with valid?
122
+ # @return Array for valid properies with the reasons
123
+ def list_invalid_properties
124
+ invalid_properties = Array.new
125
+ if @name.nil?
126
+ invalid_properties.push("invalid value for 'name', name cannot be nil.")
127
+ end
128
+ if @data_source.nil?
129
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
130
+ end
131
+ if @file_info.nil?
132
+ invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
133
+ end
134
+ if @worksheet_name.nil?
135
+ invalid_properties.push("invalid value for 'worksheet_name', worksheet_name cannot be nil.")
136
+ end
137
+ if @page_setup.nil?
138
+ invalid_properties.push("invalid value for 'page_setup', page_setup cannot be nil.")
139
+ end
140
+ if @image_or_print_options.nil?
141
+ invalid_properties.push("invalid value for 'image_or_print_options', image_or_print_options cannot be nil.")
142
+ end
143
+ if @convert_format.nil?
144
+ invalid_properties.push("invalid value for 'convert_format', convert_format cannot be nil.")
145
+ end
146
+ if @check_excel_restriction.nil?
147
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
148
+ end
149
+ if @region.nil?
150
+ invalid_properties.push("invalid value for 'region', region cannot be nil.")
151
+ end
152
+
153
+ return invalid_properties
154
+ end
155
+
156
+ # Check to see if the all the properties in the model are valid
157
+ # @return true if the model is valid
158
+ def valid?
159
+ return false if @name.nil?
160
+ return false if @data_source.nil?
161
+ return false if @file_info.nil?
162
+ return false if @worksheet_name.nil?
163
+ return false if @page_setup.nil?
164
+ return false if @image_or_print_options.nil?
165
+ return false if @convert_format.nil?
166
+ return false if @check_excel_restriction.nil?
167
+ return false if @region.nil?
168
+ return true
169
+ end
170
+
171
+ # Checks equality by comparing each attribute.
172
+ # @param [Object] Object to be compared
173
+ def ==(o)
174
+ return true if self.equal?(o)
175
+ self.class == o.class &&
176
+ name == o.name &&
177
+ data_source == o.data_source &&
178
+ file_info == o.file_info &&
179
+ worksheet_name == o.worksheet_name &&
180
+ page_setup == o.page_setup &&
181
+ image_or_print_options == o.image_or_print_options &&
182
+ convert_format == o.convert_format &&
183
+ check_excel_restriction == o.check_excel_restriction &&
184
+ region == o.region
185
+ std_dev == o.std_dev
186
+ end
187
+
188
+ # @see the `==` method
189
+ # @param [Object] Object to be compared
190
+ def eql?(o)
191
+ self == o
192
+ end
193
+
194
+ # Calculates hash code according to all attributes.
195
+ # @return [Fixnum] Hash code
196
+ def hash
197
+ [ name , data_source , file_info , worksheet_name , page_setup , image_or_print_options , convert_format , check_excel_restriction , region ].hash
198
+ end
199
+
200
+ # Builds the object from hash
201
+ # @param [Hash] attributes Model attributes in the form of hash
202
+ # @return [Object] Returns the model itself
203
+ def build_from_hash(attributes)
204
+ return nil unless attributes.is_a?(Hash)
205
+ self.class.swagger_types.each_pair do |key, type|
206
+ if type =~ /\AArray<(.*)>/i
207
+ # check to ensure the input is an array given that the the attribute
208
+ # is documented as an array but the input is not
209
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
210
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
211
+ end
212
+ elsif !attributes[self.class.attribute_map[key]].nil?
213
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
214
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
215
+ end
216
+
217
+ self
218
+ end
219
+
220
+ # Deserializes the data based on type
221
+ # @param string type Data type
222
+ # @param string value Value to be deserialized
223
+ # @return [Object] Deserialized data
224
+ def _deserialize(type, value)
225
+ case type.to_sym
226
+ when :DateTime
227
+ DateTime.parse(value)
228
+ when :Date
229
+ Date.parse(value)
230
+ when :String
231
+ value.to_s
232
+ when :Integer
233
+ value.to_i
234
+ when :Float
235
+ value.to_f
236
+ when :BOOLEAN
237
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
238
+ true
239
+ else
240
+ false
241
+ end
242
+ when :Object
243
+ # generic object (usually a Hash), return directly
244
+ value
245
+ when /\AArray<(?<inner_type>.+)>\z/
246
+ inner_type = Regexp.last_match[:inner_type]
247
+ value.map { |v| _deserialize(inner_type, v) }
248
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
249
+ k_type = Regexp.last_match[:k_type]
250
+ v_type = Regexp.last_match[:v_type]
251
+ {}.tap do |hash|
252
+ value.each do |k, v|
253
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
254
+ end
255
+ end
256
+ else # model
257
+ temp_model = AsposeCellsCloud.const_get(type).new
258
+ temp_model.build_from_hash(value)
259
+ end
260
+ end
261
+
262
+ # Returns the string representation of the object
263
+ # @return [String] String presentation of the object
264
+ def to_s
265
+ to_hash.to_s
266
+ end
267
+
268
+ # to_body is an alias to to_hash (backward compatibility)
269
+ # @return [Hash] Returns the object in the form of hash
270
+ def to_body
271
+ to_hash
272
+ end
273
+
274
+ # Returns the object in the form of hash
275
+ # @return [Hash] Returns the object in the form of hash
276
+ def to_hash
277
+ hash = {}
278
+ self.class.attribute_map.each_pair do |attr, param|
279
+ value = self.send(attr)
280
+ next if value.nil?
281
+ hash[param] = _to_hash(value)
282
+ end
283
+ hash
284
+ end
285
+
286
+ # Outputs non-array value in the form of hash
287
+ # For object, use to_hash. Otherwise, just return the value
288
+ # @param [Object] value Any valid value
289
+ # @return [Hash] Returns the value in the form of hash
290
+ def _to_hash(value)
291
+ if value.is_a?(Array)
292
+ value.compact.map{ |v| _to_hash(v) }
293
+ elsif value.is_a?(Hash)
294
+ {}.tap do |hash|
295
+ value.each { |k, v| hash[k] = _to_hash(v) }
296
+ end
297
+ elsif value.respond_to? :to_hash
298
+ value.to_hash
299
+ else
300
+ value
301
+ end
302
+ end
303
+
304
+ end
305
+
306
+ end
@@ -43,6 +43,8 @@ module AsposeCellsCloud
43
43
  attr_accessor :refer_to_destination_sheet
44
44
  #In ms excel, when copying formulas which refer to other worksheets while copying a worksheet to another one, the copied formulas should refer to source workbook. However, for some situations user may need the copied formulas refer to worksheets with the same name in the same workbook, such as when those worksheets have been copied before this copy operation, then this property should be kept as true.
45
45
  attr_accessor :refer_to_sheet_with_same_name
46
+ #
47
+ attr_accessor :copy_theme
46
48
 
47
49
  # Attribute mapping from ruby-style variable name to JSON key.
48
50
  def self.attribute_map
@@ -52,7 +54,8 @@ module AsposeCellsCloud
52
54
  :'copy_names' => :'CopyNames',
53
55
  :'extend_to_adjacent_range' => :'ExtendToAdjacentRange',
54
56
  :'refer_to_destination_sheet' => :'ReferToDestinationSheet',
55
- :'refer_to_sheet_with_same_name' => :'ReferToSheetWithSameName'
57
+ :'refer_to_sheet_with_same_name' => :'ReferToSheetWithSameName',
58
+ :'copy_theme' => :'CopyTheme'
56
59
  }
57
60
  end
58
61
 
@@ -64,7 +67,8 @@ module AsposeCellsCloud
64
67
  :'copy_names' => :'BOOLEAN',
65
68
  :'extend_to_adjacent_range' => :'BOOLEAN',
66
69
  :'refer_to_destination_sheet' => :'BOOLEAN',
67
- :'refer_to_sheet_with_same_name' => :'BOOLEAN'
70
+ :'refer_to_sheet_with_same_name' => :'BOOLEAN',
71
+ :'copy_theme' => :'BOOLEAN'
68
72
  }
69
73
  end
70
74
 
@@ -94,6 +98,9 @@ module AsposeCellsCloud
94
98
  if attributes.has_key?(:'ReferToSheetWithSameName')
95
99
  self.refer_to_sheet_with_same_name = attributes[:'ReferToSheetWithSameName']
96
100
  end
101
+ if attributes.has_key?(:'CopyTheme')
102
+ self.copy_theme = attributes[:'CopyTheme']
103
+ end
97
104
 
98
105
  end
99
106
 
@@ -119,6 +126,9 @@ module AsposeCellsCloud
119
126
  if @refer_to_sheet_with_same_name.nil?
120
127
  invalid_properties.push("invalid value for 'refer_to_sheet_with_same_name', refer_to_sheet_with_same_name cannot be nil.")
121
128
  end
129
+ if @copy_theme.nil?
130
+ invalid_properties.push("invalid value for 'copy_theme', copy_theme cannot be nil.")
131
+ end
122
132
 
123
133
  return invalid_properties
124
134
  end
@@ -132,6 +142,7 @@ module AsposeCellsCloud
132
142
  return false if @extend_to_adjacent_range.nil?
133
143
  return false if @refer_to_destination_sheet.nil?
134
144
  return false if @refer_to_sheet_with_same_name.nil?
145
+ return false if @copy_theme.nil?
135
146
  return true
136
147
  end
137
148
 
@@ -145,7 +156,8 @@ module AsposeCellsCloud
145
156
  copy_names == o.copy_names &&
146
157
  extend_to_adjacent_range == o.extend_to_adjacent_range &&
147
158
  refer_to_destination_sheet == o.refer_to_destination_sheet &&
148
- refer_to_sheet_with_same_name == o.refer_to_sheet_with_same_name
159
+ refer_to_sheet_with_same_name == o.refer_to_sheet_with_same_name &&
160
+ copy_theme == o.copy_theme
149
161
  std_dev == o.std_dev
150
162
  end
151
163
 
@@ -158,7 +170,7 @@ module AsposeCellsCloud
158
170
  # Calculates hash code according to all attributes.
159
171
  # @return [Fixnum] Hash code
160
172
  def hash
161
- [ column_character_width , copy_invalid_formulas_as_values , copy_names , extend_to_adjacent_range , refer_to_destination_sheet , refer_to_sheet_with_same_name ].hash
173
+ [ column_character_width , copy_invalid_formulas_as_values , copy_names , extend_to_adjacent_range , refer_to_destination_sheet , refer_to_sheet_with_same_name , copy_theme ].hash
162
174
  end
163
175
 
164
176
  # Builds the object from hash
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class CriteriaMultipleFilter
34
- #
34
+ #A property named "Criteria" of type string, allowing both getting and setting its value.
35
35
  attr_accessor :criteria
36
36
 
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -35,7 +35,7 @@ module AsposeCellsCloud
35
35
  attr_accessor :column_index
36
36
  #data parser method. ToDateTime ToString
37
37
  attr_accessor :parse_method
38
- #
38
+ #A property that allows storing and retrieving custom styling information for an object.
39
39
  attr_accessor :custom_style
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -33,7 +33,7 @@ module AsposeCellsCloud
33
33
  class DataDeduplicationRequest
34
34
  #Spreadsheet files that require data fulling.
35
35
  attr_accessor :file
36
- #
36
+ #This class has a property named "DeduplicationRegion" of type "DeduplicationRegion" with a default value of a new instance of the "DeduplicationRegion" class.
37
37
  attr_accessor :deduplication_region
38
38
  #finish to data cleansing, outfile`s file format.
39
39
  attr_accessor :out_file_format
@@ -33,7 +33,7 @@ module AsposeCellsCloud
33
33
  class DataLabels
34
34
  #Indicates the text is auto generated.
35
35
  attr_accessor :is_auto_text
36
- #
36
+ #A nullable boolean property "IsDeleted" indicating whether an object has been deleted.
37
37
  attr_accessor :is_deleted
38
38
  #
39
39
  attr_accessor :linked_source
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class DataLabelsResponse
34
- #
34
+ #This class has a property named DataLabels of type DataLabels that can be accessed and modified.
35
35
  attr_accessor :data_labels
36
36
  #
37
37
  attr_accessor :code
@@ -0,0 +1,258 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="DataOutputLocationrb.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 DataOutputLocation
34
+ #
35
+ attr_accessor :data_source
36
+ #
37
+ attr_accessor :file_info
38
+ #
39
+ attr_accessor :worksheet
40
+ #
41
+ attr_accessor :begin_row_index
42
+ #
43
+ attr_accessor :begin_column_index
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'data_source' => :'DataSource',
49
+ :'file_info' => :'FileInfo',
50
+ :'worksheet' => :'Worksheet',
51
+ :'begin_row_index' => :'BeginRowIndex',
52
+ :'begin_column_index' => :'BeginColumnIndex'
53
+ }
54
+ end
55
+
56
+ # Attribute type mapping.
57
+ def self.swagger_types
58
+ {
59
+ :'data_source' => :'DataSource',
60
+ :'file_info' => :'FileInfo',
61
+ :'worksheet' => :'String',
62
+ :'begin_row_index' => :'Integer',
63
+ :'begin_column_index' => :'Integer'
64
+ }
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ return unless attributes.is_a?(Hash)
71
+
72
+ # convert string to symbol for hash key
73
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
74
+
75
+ if attributes.has_key?(:'DataSource')
76
+ self.data_source = attributes[:'DataSource']
77
+ end
78
+ if attributes.has_key?(:'FileInfo')
79
+ self.file_info = attributes[:'FileInfo']
80
+ end
81
+ if attributes.has_key?(:'Worksheet')
82
+ self.worksheet = attributes[:'Worksheet']
83
+ end
84
+ if attributes.has_key?(:'BeginRowIndex')
85
+ self.begin_row_index = attributes[:'BeginRowIndex']
86
+ end
87
+ if attributes.has_key?(:'BeginColumnIndex')
88
+ self.begin_column_index = attributes[:'BeginColumnIndex']
89
+ end
90
+
91
+ end
92
+
93
+ # Show invalid properties with the reasons. Usually used together with valid?
94
+ # @return Array for valid properies with the reasons
95
+ def list_invalid_properties
96
+ invalid_properties = Array.new
97
+ if @data_source.nil?
98
+ invalid_properties.push("invalid value for 'data_source', data_source cannot be nil.")
99
+ end
100
+ if @file_info.nil?
101
+ invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
102
+ end
103
+ if @worksheet.nil?
104
+ invalid_properties.push("invalid value for 'worksheet', worksheet cannot be nil.")
105
+ end
106
+ if @begin_row_index.nil?
107
+ invalid_properties.push("invalid value for 'begin_row_index', begin_row_index cannot be nil.")
108
+ end
109
+ if @begin_column_index.nil?
110
+ invalid_properties.push("invalid value for 'begin_column_index', begin_column_index cannot be nil.")
111
+ end
112
+
113
+ return invalid_properties
114
+ end
115
+
116
+ # Check to see if the all the properties in the model are valid
117
+ # @return true if the model is valid
118
+ def valid?
119
+ return false if @data_source.nil?
120
+ return false if @file_info.nil?
121
+ return false if @worksheet.nil?
122
+ return false if @begin_row_index.nil?
123
+ return false if @begin_column_index.nil?
124
+ return true
125
+ end
126
+
127
+ # Checks equality by comparing each attribute.
128
+ # @param [Object] Object to be compared
129
+ def ==(o)
130
+ return true if self.equal?(o)
131
+ self.class == o.class &&
132
+ data_source == o.data_source &&
133
+ file_info == o.file_info &&
134
+ worksheet == o.worksheet &&
135
+ begin_row_index == o.begin_row_index &&
136
+ begin_column_index == o.begin_column_index
137
+ std_dev == o.std_dev
138
+ end
139
+
140
+ # @see the `==` method
141
+ # @param [Object] Object to be compared
142
+ def eql?(o)
143
+ self == o
144
+ end
145
+
146
+ # Calculates hash code according to all attributes.
147
+ # @return [Fixnum] Hash code
148
+ def hash
149
+ [ data_source , file_info , worksheet , begin_row_index , begin_column_index ].hash
150
+ end
151
+
152
+ # Builds the object from hash
153
+ # @param [Hash] attributes Model attributes in the form of hash
154
+ # @return [Object] Returns the model itself
155
+ def build_from_hash(attributes)
156
+ return nil unless attributes.is_a?(Hash)
157
+ self.class.swagger_types.each_pair do |key, type|
158
+ if type =~ /\AArray<(.*)>/i
159
+ # check to ensure the input is an array given that the the attribute
160
+ # is documented as an array but the input is not
161
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
162
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
163
+ end
164
+ elsif !attributes[self.class.attribute_map[key]].nil?
165
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
166
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
167
+ end
168
+
169
+ self
170
+ end
171
+
172
+ # Deserializes the data based on type
173
+ # @param string type Data type
174
+ # @param string value Value to be deserialized
175
+ # @return [Object] Deserialized data
176
+ def _deserialize(type, value)
177
+ case type.to_sym
178
+ when :DateTime
179
+ DateTime.parse(value)
180
+ when :Date
181
+ Date.parse(value)
182
+ when :String
183
+ value.to_s
184
+ when :Integer
185
+ value.to_i
186
+ when :Float
187
+ value.to_f
188
+ when :BOOLEAN
189
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
190
+ true
191
+ else
192
+ false
193
+ end
194
+ when :Object
195
+ # generic object (usually a Hash), return directly
196
+ value
197
+ when /\AArray<(?<inner_type>.+)>\z/
198
+ inner_type = Regexp.last_match[:inner_type]
199
+ value.map { |v| _deserialize(inner_type, v) }
200
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
201
+ k_type = Regexp.last_match[:k_type]
202
+ v_type = Regexp.last_match[:v_type]
203
+ {}.tap do |hash|
204
+ value.each do |k, v|
205
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
206
+ end
207
+ end
208
+ else # model
209
+ temp_model = AsposeCellsCloud.const_get(type).new
210
+ temp_model.build_from_hash(value)
211
+ end
212
+ end
213
+
214
+ # Returns the string representation of the object
215
+ # @return [String] String presentation of the object
216
+ def to_s
217
+ to_hash.to_s
218
+ end
219
+
220
+ # to_body is an alias to to_hash (backward compatibility)
221
+ # @return [Hash] Returns the object in the form of hash
222
+ def to_body
223
+ to_hash
224
+ end
225
+
226
+ # Returns the object in the form of hash
227
+ # @return [Hash] Returns the object in the form of hash
228
+ def to_hash
229
+ hash = {}
230
+ self.class.attribute_map.each_pair do |attr, param|
231
+ value = self.send(attr)
232
+ next if value.nil?
233
+ hash[param] = _to_hash(value)
234
+ end
235
+ hash
236
+ end
237
+
238
+ # Outputs non-array value in the form of hash
239
+ # For object, use to_hash. Otherwise, just return the value
240
+ # @param [Object] value Any valid value
241
+ # @return [Hash] Returns the value in the form of hash
242
+ def _to_hash(value)
243
+ if value.is_a?(Array)
244
+ value.compact.map{ |v| _to_hash(v) }
245
+ elsif value.is_a?(Hash)
246
+ {}.tap do |hash|
247
+ value.each { |k, v| hash[k] = _to_hash(v) }
248
+ end
249
+ elsif value.respond_to? :to_hash
250
+ value.to_hash
251
+ else
252
+ value
253
+ end
254
+ end
255
+
256
+ end
257
+
258
+ end