aspose_cells_cloud 26.4 → 26.6.4

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 (119) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +87 -0
  4. data/lib/aspose_cells_cloud/models/ebook_save_options.rb +822 -0
  5. data/lib/aspose_cells_cloud/requests/add_text_in_remote_spreadsheet_request.rb +196 -0
  6. data/lib/aspose_cells_cloud/requests/convert_range_to_csv_request.rb +16 -0
  7. data/lib/aspose_cells_cloud/requests/convert_range_to_html_request.rb +16 -0
  8. data/lib/aspose_cells_cloud/requests/convert_range_to_image_request.rb +16 -0
  9. data/lib/aspose_cells_cloud/requests/convert_range_to_json_request.rb +16 -0
  10. data/lib/aspose_cells_cloud/requests/convert_range_to_pdf_request.rb +16 -0
  11. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_request.rb +16 -0
  12. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_csv_request.rb +16 -0
  13. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_json_request.rb +16 -0
  14. data/lib/aspose_cells_cloud/requests/convert_spreadsheet_to_pdf_request.rb +16 -0
  15. data/lib/aspose_cells_cloud/requests/convert_table_to_csv_request.rb +16 -0
  16. data/lib/aspose_cells_cloud/requests/convert_table_to_html_request.rb +16 -0
  17. data/lib/aspose_cells_cloud/requests/convert_table_to_image_request.rb +16 -0
  18. data/lib/aspose_cells_cloud/requests/convert_table_to_json_request.rb +16 -0
  19. data/lib/aspose_cells_cloud/requests/convert_table_to_pdf_request.rb +16 -0
  20. data/lib/aspose_cells_cloud/requests/convert_text_in_remote_spreadsheet_request.rb +184 -0
  21. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_csv_request.rb +16 -0
  22. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_html_request.rb +16 -0
  23. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_image_request.rb +16 -0
  24. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_json_request.rb +16 -0
  25. data/lib/aspose_cells_cloud/requests/convert_worksheet_to_pdf_request.rb +16 -0
  26. data/lib/aspose_cells_cloud/requests/export_range_as_format_request.rb +16 -0
  27. data/lib/aspose_cells_cloud/requests/export_spreadsheet_as_format_request.rb +16 -0
  28. data/lib/aspose_cells_cloud/requests/export_table_as_format_request.rb +16 -0
  29. data/lib/aspose_cells_cloud/requests/export_worksheet_as_format_request.rb +16 -0
  30. data/lib/aspose_cells_cloud/requests/get_spreadsheet_structure_request.rb +123 -0
  31. data/lib/aspose_cells_cloud/requests/get_structure_in_remote_spreadsheet_request.rb +134 -0
  32. data/lib/aspose_cells_cloud/requests/remove_characters_by_position_in_remote_spreadsheet_request.rb +196 -0
  33. data/lib/aspose_cells_cloud/requests/remove_characters_in_remote_spreadsheet_request.rb +188 -0
  34. data/lib/aspose_cells_cloud/requests/remove_duplicate_substrings_in_remote_spreadsheet_request.rb +184 -0
  35. data/lib/aspose_cells_cloud/requests/report_ai_analysis_request.rb +122 -0
  36. data/lib/aspose_cells_cloud/requests/save_spreadsheet_as_request.rb +16 -0
  37. data/lib/aspose_cells_cloud/requests/summarize_spreadsheet_request.rb +123 -0
  38. data/lib/aspose_cells_cloud/requests/trim_character_in_remote_spreadsheet_request.rb +212 -0
  39. data/lib/aspose_cells_cloud/requests/update_word_case_in_remote_spreadsheet_request.rb +168 -0
  40. data/lib/aspose_cells_cloud/version.rb +1 -1
  41. data/lib/aspose_cells_cloud.rb +12 -0
  42. data/spec/TestData/AggregateCellsByColor.xlsx +0 -0
  43. data/spec/TestData/Book1.xlsx +0 -0
  44. data/spec/TestData/BookCsvDuplicateData.csv +21 -0
  45. data/spec/TestData/BookDuplicateData.xlsx +0 -0
  46. data/spec/TestData/BookFormula.xlsx +0 -0
  47. data/spec/TestData/BookTableL2W.xlsx +0 -0
  48. data/spec/TestData/BookText.xlsx +0 -0
  49. data/spec/TestData/CompanySales.xlsx +0 -0
  50. data/spec/TestData/EmployeeSalesSummary-BlankWorksheet.xlsx +0 -0
  51. data/spec/TestData/EmployeeSalesSummary.xlsx +0 -0
  52. data/spec/TestData/EmployeeSalesSummary_Locked.xlsx +0 -0
  53. data/spec/TestData/Formula tutorial.xlsx +0 -0
  54. data/spec/TestData/Group.xlsx +0 -0
  55. data/spec/TestData/Home inventory.xlsx +0 -0
  56. data/spec/TestData/LockedEmployeeSalesSummary.xlsx +0 -0
  57. data/spec/TestData/OLEDoc.docx +0 -0
  58. data/spec/TestData/ReportData.xml +1 -0
  59. data/spec/TestData/Simple invoice.xlsx +0 -0
  60. data/spec/TestData/Template.xlsx +0 -0
  61. data/spec/TestData/TestCase.xlsx +0 -0
  62. data/spec/TestData/TestTables.xlsx +0 -0
  63. data/spec/TestData/WaterMark.png +0 -0
  64. data/spec/TestData/assemblytest.xlsx +0 -0
  65. data/spec/TestData/data.xml +1 -0
  66. data/spec/TestData/datasource.xlsx +0 -0
  67. data/spec/TestData/myDocument.xlsx +0 -0
  68. data/spec/TestData/needUnlock.xlsx +0 -0
  69. data/spec/TestData/needlock.xlsx +0 -0
  70. data/spec/TestData/roywang.pfx +0 -0
  71. data/spec/TestData/word.jpg +0 -0
  72. data/spec/calculate/calculate_spec.rb +29 -0
  73. data/spec/cells_cloud30/auto_filter_controller_spec.rb +211 -0
  74. data/spec/cells_cloud30/batch_controller_spec.rb +113 -0
  75. data/spec/cells_cloud30/cells_controller_spec.rb +627 -0
  76. data/spec/cells_cloud30/cells_status_controller_spec.rb +43 -0
  77. data/spec/cells_cloud30/chart_area_controller_spec.rb +58 -0
  78. data/spec/cells_cloud30/charts_controller_spec.rb +227 -0
  79. data/spec/cells_cloud30/conditional_formattings_controller_spec.rb +149 -0
  80. data/spec/cells_cloud30/conversion30_spec.rb +1112 -0
  81. data/spec/cells_cloud30/data_processing_controller_spec.rb +97 -0
  82. data/spec/cells_cloud30/hypelinks_controller_spec.rb +104 -0
  83. data/spec/cells_cloud30/light_cells_spec.rb +1059 -0
  84. data/spec/cells_cloud30/list_objects_controller_spec.rb +225 -0
  85. data/spec/cells_cloud30/ole_objects_controller_spec.rb +108 -0
  86. data/spec/cells_cloud30/page_breaks_controller_spec.rb +163 -0
  87. data/spec/cells_cloud30/page_setup_controller_spec.rb +149 -0
  88. data/spec/cells_cloud30/pictures_controller_spec.rb +106 -0
  89. data/spec/cells_cloud30/pivot_tables_controller_spec.rb +312 -0
  90. data/spec/cells_cloud30/properties_controller_spec.rb +89 -0
  91. data/spec/cells_cloud30/ranges_controller_spec.rb +227 -0
  92. data/spec/cells_cloud30/shapes_controller_spec.rb +139 -0
  93. data/spec/cells_cloud30/sparkline_groups_controller_spec.rb +104 -0
  94. data/spec/cells_cloud30/text_processing_controller_spec.rb +67 -0
  95. data/spec/cells_cloud30/workbook_controller_spec.rb +519 -0
  96. data/spec/cells_cloud30/worksheet_controller_spec.rb +609 -0
  97. data/spec/cells_cloud30/worksheet_validations_controller_spec.rb +104 -0
  98. data/spec/cells_cloud30/xml_controller_spec.rb +48 -0
  99. data/spec/data_processing/conversion_spec.rb +428 -0
  100. data/spec/data_processing/import_data_spec.rb +24 -0
  101. data/spec/data_processing/merger_spec.rb +28 -0
  102. data/spec/data_processing/protection_spec.rb +29 -0
  103. data/spec/data_processing/splitter_spec.rb +47 -0
  104. data/spec/data_processing/transform_spec.rb +43 -0
  105. data/spec/dynabic/file_controller_spec.rb +60 -0
  106. data/spec/dynabic/folder_controller_spec.rb +88 -0
  107. data/spec/dynabic/storage_controller_spec.rb +73 -0
  108. data/spec/management/management_spec.rb +111 -0
  109. data/spec/search2_replace/replacer_spec.rb +46 -0
  110. data/spec/search2_replace/searcher_spec.rb +131 -0
  111. data/spec/spec_helper.rb +134 -0
  112. data/spec/text_processing/add_text_spec.rb +45 -0
  113. data/spec/text_processing/convert_text_spec.rb +37 -0
  114. data/spec/text_processing/extract_text_spec.rb +37 -0
  115. data/spec/text_processing/remove_characters_spec.rb +53 -0
  116. data/spec/text_processing/split_text_spec.rb +21 -0
  117. data/spec/text_processing/trim_spreadsheet_spec.rb +29 -0
  118. data/spec/text_processing/update_word_case_spec.rb +37 -0
  119. metadata +92 -3
@@ -0,0 +1,122 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="ReportAIAnalysis_request.rb.cs">
4
+ Copyright (c) 2026 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 "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class ReportAIAnalysisRequest
33
+
34
+ attr_accessor :spreadsheet
35
+ attr_accessor :region
36
+ attr_accessor :password
37
+
38
+ def initialize(attributes = {})
39
+ return unless attributes.is_a?(Hash)
40
+
41
+ # convert string to symbol for hash key
42
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
43
+
44
+ if attributes.has_key?(:'Spreadsheet')
45
+ self.spreadsheet = attributes[:'Spreadsheet']
46
+ end
47
+
48
+ if attributes.has_key?(:'region')
49
+ self.region = attributes[:'region']
50
+ end
51
+
52
+ if attributes.has_key?(:'password')
53
+ self.password = attributes[:'password']
54
+ end
55
+
56
+ end
57
+ # Attribute mapping from ruby-style variable name to JSON key.
58
+ def self.attribute_map
59
+ {
60
+ :'spreadsheet' => :'Spreadsheet',
61
+ :'region' => :'region',
62
+ :'password' => :'password'
63
+ }
64
+ end
65
+
66
+ # Attribute type mapping.
67
+ def self.swagger_types
68
+ {
69
+ :'spreadsheet' => :'String',
70
+ :'region' => :'String',
71
+ :'password' => :'String'
72
+ }
73
+ end
74
+
75
+ def create_http_request(api_client,opts = {})
76
+ if api_client.config.debugging
77
+ api_client.config.logger.debug "Calling API: CellsApi.report_ai_analysis ..."
78
+ end
79
+ api_client.request_token_if_needed
80
+ # verify the required parameter 'spreadsheet' is set
81
+ if api_client.config.client_side_validation && spreadsheet.nil?
82
+ fail ArgumentError, "Missing the required parameter 'spreadsheet' when calling CellsApi.report_ai_analysis "
83
+ end
84
+
85
+ # resource path
86
+ local_var_path = "v4.0/cells/ai/report/analysis"
87
+ # query parameters
88
+ query_params = {}
89
+ query_params[:'region'] = self.region if !self.region.nil?
90
+ query_params[:'password'] = self.password if !self.password.nil?
91
+
92
+ # header parameters
93
+ header_params = {}
94
+ # HTTP header 'Accept' (if needed)
95
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
96
+ # HTTP header 'Content-Type'
97
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
98
+
99
+ # form parameters
100
+ form_params = {}
101
+ post_body = nil
102
+
103
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
104
+ if !spreadsheet.empty? && File.exist?(spreadsheet )
105
+ form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
106
+ end
107
+
108
+ #auth_names = []
109
+ auth_names = ['JWT']
110
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
111
+ :header_params => header_params,
112
+ :query_params => query_params,
113
+ :form_params => form_params,
114
+ :body => post_body,
115
+ :auth_names => auth_names)
116
+ if api_client.config.debugging
117
+ api_client.config.logger.debug "API called: Specification.Name>Api.report_ai_analysis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
118
+ end
119
+ return data, status_code, headers
120
+ end
121
+ end
122
+ end
@@ -39,6 +39,8 @@ module AsposeCellsCloud
39
39
  attr_accessor :out_path
40
40
  attr_accessor :out_storage_name
41
41
  attr_accessor :fonts_location
42
+ attr_accessor :auto_rows_fit
43
+ attr_accessor :auto_columns_fit
42
44
  attr_accessor :region
43
45
  attr_accessor :password
44
46
 
@@ -80,6 +82,14 @@ module AsposeCellsCloud
80
82
  self.fonts_location = attributes[:'fontsLocation']
81
83
  end
82
84
 
85
+ if attributes.has_key?(:'AutoRowsFit')
86
+ self.auto_rows_fit = attributes[:'AutoRowsFit']
87
+ end
88
+
89
+ if attributes.has_key?(:'AutoColumnsFit')
90
+ self.auto_columns_fit = attributes[:'AutoColumnsFit']
91
+ end
92
+
83
93
  if attributes.has_key?(:'region')
84
94
  self.region = attributes[:'region']
85
95
  end
@@ -100,6 +110,8 @@ module AsposeCellsCloud
100
110
  :'out_path' => :'outPath',
101
111
  :'out_storage_name' => :'outStorageName',
102
112
  :'fonts_location' => :'fontsLocation',
113
+ :'auto_rows_fit' => :'AutoRowsFit',
114
+ :'auto_columns_fit' => :'AutoColumnsFit',
103
115
  :'region' => :'region',
104
116
  :'password' => :'password'
105
117
  }
@@ -116,6 +128,8 @@ module AsposeCellsCloud
116
128
  :'out_path' => :'String',
117
129
  :'out_storage_name' => :'String',
118
130
  :'fonts_location' => :'String',
131
+ :'auto_rows_fit' => :'String',
132
+ :'auto_columns_fit' => :'String',
119
133
  :'region' => :'String',
120
134
  :'password' => :'String'
121
135
  }
@@ -145,6 +159,8 @@ module AsposeCellsCloud
145
159
  query_params[:'outPath'] = self.out_path if !self.out_path.nil?
146
160
  query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
147
161
  query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
162
+ query_params[:'AutoRowsFit'] = self.auto_rows_fit if !self.auto_rows_fit.nil?
163
+ query_params[:'AutoColumnsFit'] = self.auto_columns_fit if !self.auto_columns_fit.nil?
148
164
  query_params[:'region'] = self.region if !self.region.nil?
149
165
  query_params[:'password'] = self.password if !self.password.nil?
150
166
 
@@ -0,0 +1,123 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="SummarizeSpreadsheet_request.rb.cs">
4
+ Copyright (c) 2026 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 "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class SummarizeSpreadsheetRequest
33
+
34
+ attr_accessor :spreadsheet
35
+ attr_accessor :region
36
+ attr_accessor :password
37
+
38
+ def initialize(attributes = {})
39
+ return unless attributes.is_a?(Hash)
40
+
41
+ # convert string to symbol for hash key
42
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
43
+
44
+ if attributes.has_key?(:'Spreadsheet')
45
+ self.spreadsheet = attributes[:'Spreadsheet']
46
+ end
47
+
48
+ if attributes.has_key?(:'region')
49
+ self.region = attributes[:'region']
50
+ end
51
+
52
+ if attributes.has_key?(:'password')
53
+ self.password = attributes[:'password']
54
+ end
55
+
56
+ end
57
+ # Attribute mapping from ruby-style variable name to JSON key.
58
+ def self.attribute_map
59
+ {
60
+ :'spreadsheet' => :'Spreadsheet',
61
+ :'region' => :'region',
62
+ :'password' => :'password'
63
+ }
64
+ end
65
+
66
+ # Attribute type mapping.
67
+ def self.swagger_types
68
+ {
69
+ :'spreadsheet' => :'String',
70
+ :'region' => :'String',
71
+ :'password' => :'String'
72
+ }
73
+ end
74
+
75
+ def create_http_request(api_client,opts = {})
76
+ if api_client.config.debugging
77
+ api_client.config.logger.debug "Calling API: CellsApi.summarize_spreadsheet ..."
78
+ end
79
+ api_client.request_token_if_needed
80
+ # verify the required parameter 'spreadsheet' is set
81
+ if api_client.config.client_side_validation && spreadsheet.nil?
82
+ fail ArgumentError, "Missing the required parameter 'spreadsheet' when calling CellsApi.summarize_spreadsheet "
83
+ end
84
+
85
+ # resource path
86
+ local_var_path = "v4.0/cells/ai/summarize/spreadsheet"
87
+ # query parameters
88
+ query_params = {}
89
+ query_params[:'region'] = self.region if !self.region.nil?
90
+ query_params[:'password'] = self.password if !self.password.nil?
91
+
92
+ # header parameters
93
+ header_params = {}
94
+ # HTTP header 'Accept' (if needed)
95
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
96
+ # HTTP header 'Content-Type'
97
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
98
+
99
+ # form parameters
100
+ form_params = {}
101
+ post_body = nil
102
+
103
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
104
+ if !spreadsheet.empty? && File.exist?(spreadsheet )
105
+ form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
106
+ end
107
+
108
+ #auth_names = []
109
+ auth_names = ['JWT']
110
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
111
+ :header_params => header_params,
112
+ :query_params => query_params,
113
+ :form_params => form_params,
114
+ :body => post_body,
115
+ :auth_names => auth_names,
116
+ :return_type => 'File')
117
+ if api_client.config.debugging
118
+ api_client.config.logger.debug "API called: Specification.Name>Api.summarize_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
119
+ end
120
+ return data, status_code, headers
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,212 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="TrimCharacterInRemoteSpreadsheet_request.rb.cs">
4
+ Copyright (c) 2026 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 "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class TrimCharacterInRemoteSpreadsheetRequest
33
+
34
+ attr_accessor :name
35
+ attr_accessor :worksheet
36
+ attr_accessor :range
37
+ attr_accessor :trim_content
38
+ attr_accessor :trim_leading
39
+ attr_accessor :trim_trailing
40
+ attr_accessor :trim_space_between_word_to1
41
+ attr_accessor :trim_non_breaking_spaces
42
+ attr_accessor :remove_extra_line_breaks
43
+ attr_accessor :remove_all_line_breaks
44
+ attr_accessor :folder
45
+ attr_accessor :storage_name
46
+ attr_accessor :region
47
+ attr_accessor :password
48
+
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
+ if attributes.has_key?(:'name')
56
+ self.name = attributes[:'name']
57
+ end
58
+
59
+ if attributes.has_key?(:'worksheet')
60
+ self.worksheet = attributes[:'worksheet']
61
+ end
62
+
63
+ if attributes.has_key?(:'range')
64
+ self.range = attributes[:'range']
65
+ end
66
+
67
+ if attributes.has_key?(:'trimContent')
68
+ self.trim_content = attributes[:'trimContent']
69
+ end
70
+
71
+ if attributes.has_key?(:'trimLeading')
72
+ self.trim_leading = attributes[:'trimLeading']
73
+ end
74
+
75
+ if attributes.has_key?(:'trimTrailing')
76
+ self.trim_trailing = attributes[:'trimTrailing']
77
+ end
78
+
79
+ if attributes.has_key?(:'trimSpaceBetweenWordTo1')
80
+ self.trim_space_between_word_to1 = attributes[:'trimSpaceBetweenWordTo1']
81
+ end
82
+
83
+ if attributes.has_key?(:'trimNonBreakingSpaces')
84
+ self.trim_non_breaking_spaces = attributes[:'trimNonBreakingSpaces']
85
+ end
86
+
87
+ if attributes.has_key?(:'removeExtraLineBreaks')
88
+ self.remove_extra_line_breaks = attributes[:'removeExtraLineBreaks']
89
+ end
90
+
91
+ if attributes.has_key?(:'removeAllLineBreaks')
92
+ self.remove_all_line_breaks = attributes[:'removeAllLineBreaks']
93
+ end
94
+
95
+ if attributes.has_key?(:'folder')
96
+ self.folder = attributes[:'folder']
97
+ end
98
+
99
+ if attributes.has_key?(:'storageName')
100
+ self.storage_name = attributes[:'storageName']
101
+ end
102
+
103
+ if attributes.has_key?(:'region')
104
+ self.region = attributes[:'region']
105
+ end
106
+
107
+ if attributes.has_key?(:'password')
108
+ self.password = attributes[:'password']
109
+ end
110
+
111
+ end
112
+ # Attribute mapping from ruby-style variable name to JSON key.
113
+ def self.attribute_map
114
+ {
115
+ :'name' => :'name',
116
+ :'worksheet' => :'worksheet',
117
+ :'range' => :'range',
118
+ :'trim_content' => :'trimContent',
119
+ :'trim_leading' => :'trimLeading',
120
+ :'trim_trailing' => :'trimTrailing',
121
+ :'trim_space_between_word_to1' => :'trimSpaceBetweenWordTo1',
122
+ :'trim_non_breaking_spaces' => :'trimNonBreakingSpaces',
123
+ :'remove_extra_line_breaks' => :'removeExtraLineBreaks',
124
+ :'remove_all_line_breaks' => :'removeAllLineBreaks',
125
+ :'folder' => :'folder',
126
+ :'storage_name' => :'storageName',
127
+ :'region' => :'region',
128
+ :'password' => :'password'
129
+ }
130
+ end
131
+
132
+ # Attribute type mapping.
133
+ def self.swagger_types
134
+ {
135
+ :'name' => :'String',
136
+ :'worksheet' => :'String',
137
+ :'range' => :'String',
138
+ :'trim_content' => :'String',
139
+ :'trim_leading' => :'BOOLEAN',
140
+ :'trim_trailing' => :'BOOLEAN',
141
+ :'trim_space_between_word_to1' => :'BOOLEAN',
142
+ :'trim_non_breaking_spaces' => :'BOOLEAN',
143
+ :'remove_extra_line_breaks' => :'BOOLEAN',
144
+ :'remove_all_line_breaks' => :'BOOLEAN',
145
+ :'folder' => :'String',
146
+ :'storage_name' => :'String',
147
+ :'region' => :'String',
148
+ :'password' => :'String'
149
+ }
150
+ end
151
+
152
+ def create_http_request(api_client,opts = {})
153
+ if api_client.config.debugging
154
+ api_client.config.logger.debug "Calling API: CellsApi.trim_character_in_remote_spreadsheet ..."
155
+ end
156
+ api_client.request_token_if_needed
157
+ # verify the required parameter 'name' is set
158
+ if api_client.config.client_side_validation && name.nil?
159
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.trim_character_in_remote_spreadsheet "
160
+ end
161
+ # verify the required parameter 'worksheet' is set
162
+ if api_client.config.client_side_validation && worksheet.nil?
163
+ fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.trim_character_in_remote_spreadsheet "
164
+ end
165
+ # verify the required parameter 'range' is set
166
+ if api_client.config.client_side_validation && range.nil?
167
+ fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.trim_character_in_remote_spreadsheet "
168
+ end
169
+
170
+ # resource path
171
+ local_var_path = "v4.0/cells/{name}/worksheets/{worksheet}/range/{range}/content/trim".sub('{' + 'name' + '}', name.to_s).sub('{' + 'worksheet' + '}', worksheet.to_s).sub('{' + 'range' + '}', range.to_s)
172
+ # query parameters
173
+ query_params = {}
174
+ query_params[:'trimContent'] = self.trim_content if !self.trim_content.nil?
175
+ query_params[:'trimLeading'] = self.trim_leading if !self.trim_leading.nil?
176
+ query_params[:'trimTrailing'] = self.trim_trailing if !self.trim_trailing.nil?
177
+ query_params[:'trimSpaceBetweenWordTo1'] = self.trim_space_between_word_to1 if !self.trim_space_between_word_to1.nil?
178
+ query_params[:'trimNonBreakingSpaces'] = self.trim_non_breaking_spaces if !self.trim_non_breaking_spaces.nil?
179
+ query_params[:'removeExtraLineBreaks'] = self.remove_extra_line_breaks if !self.remove_extra_line_breaks.nil?
180
+ query_params[:'removeAllLineBreaks'] = self.remove_all_line_breaks if !self.remove_all_line_breaks.nil?
181
+ query_params[:'folder'] = self.folder if !self.folder.nil?
182
+ query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
183
+ query_params[:'region'] = self.region if !self.region.nil?
184
+ query_params[:'password'] = self.password if !self.password.nil?
185
+
186
+ # header parameters
187
+ header_params = {}
188
+ # HTTP header 'Accept' (if needed)
189
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
190
+ # HTTP header 'Content-Type'
191
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
192
+
193
+ # form parameters
194
+ form_params = {}
195
+ post_body = nil
196
+
197
+ #auth_names = []
198
+ auth_names = ['JWT']
199
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
200
+ :header_params => header_params,
201
+ :query_params => query_params,
202
+ :form_params => form_params,
203
+ :body => post_body,
204
+ :auth_names => auth_names,
205
+ :return_type => 'CellsCloudResponse')
206
+ if api_client.config.debugging
207
+ api_client.config.logger.debug "API called: Specification.Name>Api.trim_character_in_remote_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
208
+ end
209
+ return data, status_code, headers
210
+ end
211
+ end
212
+ end
@@ -0,0 +1,168 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="UpdateWordCaseInRemoteSpreadsheet_request.rb.cs">
4
+ Copyright (c) 2026 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 "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class UpdateWordCaseInRemoteSpreadsheetRequest
33
+
34
+ attr_accessor :name
35
+ attr_accessor :worksheet
36
+ attr_accessor :range
37
+ attr_accessor :word_case_type
38
+ attr_accessor :folder
39
+ attr_accessor :storage_name
40
+ attr_accessor :region
41
+ attr_accessor :password
42
+
43
+ def initialize(attributes = {})
44
+ return unless attributes.is_a?(Hash)
45
+
46
+ # convert string to symbol for hash key
47
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
48
+
49
+ if attributes.has_key?(:'name')
50
+ self.name = attributes[:'name']
51
+ end
52
+
53
+ if attributes.has_key?(:'worksheet')
54
+ self.worksheet = attributes[:'worksheet']
55
+ end
56
+
57
+ if attributes.has_key?(:'range')
58
+ self.range = attributes[:'range']
59
+ end
60
+
61
+ if attributes.has_key?(:'wordCaseType')
62
+ self.word_case_type = attributes[:'wordCaseType']
63
+ end
64
+
65
+ if attributes.has_key?(:'folder')
66
+ self.folder = attributes[:'folder']
67
+ end
68
+
69
+ if attributes.has_key?(:'storageName')
70
+ self.storage_name = attributes[:'storageName']
71
+ end
72
+
73
+ if attributes.has_key?(:'region')
74
+ self.region = attributes[:'region']
75
+ end
76
+
77
+ if attributes.has_key?(:'password')
78
+ self.password = attributes[:'password']
79
+ end
80
+
81
+ end
82
+ # Attribute mapping from ruby-style variable name to JSON key.
83
+ def self.attribute_map
84
+ {
85
+ :'name' => :'name',
86
+ :'worksheet' => :'worksheet',
87
+ :'range' => :'range',
88
+ :'word_case_type' => :'wordCaseType',
89
+ :'folder' => :'folder',
90
+ :'storage_name' => :'storageName',
91
+ :'region' => :'region',
92
+ :'password' => :'password'
93
+ }
94
+ end
95
+
96
+ # Attribute type mapping.
97
+ def self.swagger_types
98
+ {
99
+ :'name' => :'String',
100
+ :'worksheet' => :'String',
101
+ :'range' => :'String',
102
+ :'word_case_type' => :'String',
103
+ :'folder' => :'String',
104
+ :'storage_name' => :'String',
105
+ :'region' => :'String',
106
+ :'password' => :'String'
107
+ }
108
+ end
109
+
110
+ def create_http_request(api_client,opts = {})
111
+ if api_client.config.debugging
112
+ api_client.config.logger.debug "Calling API: CellsApi.update_word_case_in_remote_spreadsheet ..."
113
+ end
114
+ api_client.request_token_if_needed
115
+ # verify the required parameter 'name' is set
116
+ if api_client.config.client_side_validation && name.nil?
117
+ fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.update_word_case_in_remote_spreadsheet "
118
+ end
119
+ # verify the required parameter 'worksheet' is set
120
+ if api_client.config.client_side_validation && worksheet.nil?
121
+ fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.update_word_case_in_remote_spreadsheet "
122
+ end
123
+ # verify the required parameter 'range' is set
124
+ if api_client.config.client_side_validation && range.nil?
125
+ fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.update_word_case_in_remote_spreadsheet "
126
+ end
127
+ # verify the required parameter 'word_case_type' is set
128
+ if api_client.config.client_side_validation && word_case_type.nil?
129
+ fail ArgumentError, "Missing the required parameter 'word_case_type' when calling CellsApi.update_word_case_in_remote_spreadsheet "
130
+ end
131
+
132
+ # resource path
133
+ local_var_path = "v4.0/cells/{name}/worksheets/{worksheet}/range/{range}/content/wordcase".sub('{' + 'name' + '}', name.to_s).sub('{' + 'worksheet' + '}', worksheet.to_s).sub('{' + 'range' + '}', range.to_s)
134
+ # query parameters
135
+ query_params = {}
136
+ query_params[:'wordCaseType'] = self.word_case_type if !self.word_case_type.nil?
137
+ query_params[:'folder'] = self.folder if !self.folder.nil?
138
+ query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
139
+ query_params[:'region'] = self.region if !self.region.nil?
140
+ query_params[:'password'] = self.password if !self.password.nil?
141
+
142
+ # header parameters
143
+ header_params = {}
144
+ # HTTP header 'Accept' (if needed)
145
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
146
+ # HTTP header 'Content-Type'
147
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
148
+
149
+ # form parameters
150
+ form_params = {}
151
+ post_body = nil
152
+
153
+ #auth_names = []
154
+ auth_names = ['JWT']
155
+ data, status_code, headers = api_client.call_api(:PUT, local_var_path,
156
+ :header_params => header_params,
157
+ :query_params => query_params,
158
+ :form_params => form_params,
159
+ :body => post_body,
160
+ :auth_names => auth_names,
161
+ :return_type => 'CellsCloudResponse')
162
+ if api_client.config.debugging
163
+ api_client.config.logger.debug "API called: Specification.Name>Api.update_word_case_in_remote_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
164
+ end
165
+ return data, status_code, headers
166
+ end
167
+ end
168
+ end
@@ -27,5 +27,5 @@
27
27
 
28
28
 
29
29
  module AsposeCellsCloud
30
- VERSION = "26.4"
30
+ VERSION = "26.6.4"
31
31
  end