aspose_cells_cloud 25.6 → 25.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aspose_cells_cloud/api/cells_api.rb +160 -1
- data/lib/aspose_cells_cloud/models/add_text_options.rb +19 -31
- data/lib/aspose_cells_cloud/models/character_count_options.rb +2 -2
- data/lib/aspose_cells_cloud/models/convert_text_options.rb +13 -25
- data/lib/aspose_cells_cloud/models/extract_text_options.rb +2 -2
- data/lib/aspose_cells_cloud/models/remove_characters_options.rb +13 -25
- data/lib/aspose_cells_cloud/models/remove_duplicates_options.rb +13 -37
- data/lib/aspose_cells_cloud/models/scope_item.rb +12 -12
- data/lib/aspose_cells_cloud/models/scope_options.rb +2 -2
- data/lib/aspose_cells_cloud/models/split_text_options.rb +2 -2
- data/lib/aspose_cells_cloud/models/trim_content_options.rb +9 -9
- data/lib/aspose_cells_cloud/models/word_case_options.rb +2 -2
- data/lib/aspose_cells_cloud/models/words_count_options.rb +2 -2
- data/lib/aspose_cells_cloud/requests/codegen_spec_request.rb +106 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_csv_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_html_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_image_request.rb +188 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_json_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_range_to_pdf_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_csv_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_html_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_image_request.rb +180 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_json_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_table_to_pdf_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_image_request.rb +168 -0
- data/lib/aspose_cells_cloud/requests/convert_worksheet_to_pdf_request.rb +156 -0
- data/lib/aspose_cells_cloud/requests/export_range_as_format_request.rb +192 -0
- data/lib/aspose_cells_cloud/requests/export_table_as_format_request.rb +192 -0
- data/lib/aspose_cells_cloud/requests/export_worksheet_as_format_request.rb +181 -0
- data/lib/aspose_cells_cloud/requests/protect_spreadsheet_request.rb +152 -0
- data/lib/aspose_cells_cloud/requests/put_workbook_background_request.rb +5 -4
- data/lib/aspose_cells_cloud/requests/put_worksheet_background_request.rb +5 -3
- data/lib/aspose_cells_cloud/requests/spec_request.rb +118 -0
- data/lib/aspose_cells_cloud/requests/unprotect_spreadsheet_request.rb +152 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +19 -0
- metadata +41 -9
- data/examples/CompanySales.xlsx +0 -0
- data/examples/EmployeeSalesSummary.xlsx +0 -0
- data/examples/Example_QuickStart.rb +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a5af3499370a3f5260f6456a1c4ea47e4ca75e416ae662195ef880c4665d520
|
4
|
+
data.tar.gz: aa2fb4f0b52e39c35ab7fc31772f4f9d3913b9eb191aab5d034ec871967e4f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a5534f832f9cdbbd59144fe44be31c8c0ff8bec5167100398b7cbfcc76f6779dd490d27047a878929c5f4d11b22b49ea88d3f78960714ec48cc67e73f5ffe0d
|
7
|
+
data.tar.gz: 22d7b982ffa50e3fba3fecd38c902a96aa20960163021bc3653b01b67be147582465b40ef502f9e9251cc1a7050856caf9e9cd76df0b34561a297af80978332e
|
@@ -73,6 +73,14 @@ module AsposeCellsCloud
|
|
73
73
|
return data
|
74
74
|
end
|
75
75
|
|
76
|
+
# Converts a worksheet of spreadsheet in cloud storage to the specified format.
|
77
|
+
|
78
|
+
def export_worksheet_as_format( export_worksheet_as_format_request, opts = {})
|
79
|
+
|
80
|
+
data, _status_code, _headers = export_worksheet_as_format_request.create_http_request(@api_client,opts )
|
81
|
+
return data
|
82
|
+
end
|
83
|
+
|
76
84
|
# Converts a chart of spreadsheet in cloud storage to the specified format.
|
77
85
|
|
78
86
|
def export_chart_as_format( export_chart_as_format_request, opts = {})
|
@@ -81,6 +89,22 @@ module AsposeCellsCloud
|
|
81
89
|
return data
|
82
90
|
end
|
83
91
|
|
92
|
+
# Converts a table of spreadsheet in cloud storage to the specified format.
|
93
|
+
|
94
|
+
def export_table_as_format( export_table_as_format_request, opts = {})
|
95
|
+
|
96
|
+
data, _status_code, _headers = export_table_as_format_request.create_http_request(@api_client,opts )
|
97
|
+
return data
|
98
|
+
end
|
99
|
+
|
100
|
+
# Converts the range of spreadsheet in cloud storage to the specified format.
|
101
|
+
|
102
|
+
def export_range_as_format( export_range_as_format_request, opts = {})
|
103
|
+
|
104
|
+
data, _status_code, _headers = export_range_as_format_request.create_http_request(@api_client,opts )
|
105
|
+
return data
|
106
|
+
end
|
107
|
+
|
84
108
|
# Converts a spreadsheet on a local drive to the specified format.
|
85
109
|
|
86
110
|
def convert_spreadsheet( convert_spreadsheet_request, opts = {})
|
@@ -89,6 +113,102 @@ module AsposeCellsCloud
|
|
89
113
|
return data
|
90
114
|
end
|
91
115
|
|
116
|
+
# Converts a worksheet of spreadsheet on a local drive to the image format.
|
117
|
+
|
118
|
+
def convert_worksheet_to_image( convert_worksheet_to_image_request, opts = {})
|
119
|
+
|
120
|
+
data, _status_code, _headers = convert_worksheet_to_image_request.create_http_request(@api_client,opts )
|
121
|
+
return data
|
122
|
+
end
|
123
|
+
|
124
|
+
# Converts a worksheet of spreadsheet on a local drive to the pdf file.
|
125
|
+
|
126
|
+
def convert_worksheet_to_pdf( convert_worksheet_to_pdf_request, opts = {})
|
127
|
+
|
128
|
+
data, _status_code, _headers = convert_worksheet_to_pdf_request.create_http_request(@api_client,opts )
|
129
|
+
return data
|
130
|
+
end
|
131
|
+
|
132
|
+
# Converts a table of spreadsheet on a local drive to the image file.
|
133
|
+
|
134
|
+
def convert_table_to_image( convert_table_to_image_request, opts = {})
|
135
|
+
|
136
|
+
data, _status_code, _headers = convert_table_to_image_request.create_http_request(@api_client,opts )
|
137
|
+
return data
|
138
|
+
end
|
139
|
+
|
140
|
+
# Converts a table of spreadsheet on a local drive to the pdf file.
|
141
|
+
|
142
|
+
def convert_table_to_pdf( convert_table_to_pdf_request, opts = {})
|
143
|
+
|
144
|
+
data, _status_code, _headers = convert_table_to_pdf_request.create_http_request(@api_client,opts )
|
145
|
+
return data
|
146
|
+
end
|
147
|
+
|
148
|
+
# Converts a table of spreadsheet on a local drive to the csv file.
|
149
|
+
|
150
|
+
def convert_table_to_csv( convert_table_to_csv_request, opts = {})
|
151
|
+
|
152
|
+
data, _status_code, _headers = convert_table_to_csv_request.create_http_request(@api_client,opts )
|
153
|
+
return data
|
154
|
+
end
|
155
|
+
|
156
|
+
# Converts a table of spreadsheet on a local drive to the html file.
|
157
|
+
|
158
|
+
def convert_table_to_html( convert_table_to_html_request, opts = {})
|
159
|
+
|
160
|
+
data, _status_code, _headers = convert_table_to_html_request.create_http_request(@api_client,opts )
|
161
|
+
return data
|
162
|
+
end
|
163
|
+
|
164
|
+
# Converts a table of spreadsheet on a local drive to the json file.
|
165
|
+
|
166
|
+
def convert_table_to_json( convert_table_to_json_request, opts = {})
|
167
|
+
|
168
|
+
data, _status_code, _headers = convert_table_to_json_request.create_http_request(@api_client,opts )
|
169
|
+
return data
|
170
|
+
end
|
171
|
+
|
172
|
+
# Converts a range of spreadsheet on a local drive to the image file.
|
173
|
+
|
174
|
+
def convert_range_to_image( convert_range_to_image_request, opts = {})
|
175
|
+
|
176
|
+
data, _status_code, _headers = convert_range_to_image_request.create_http_request(@api_client,opts )
|
177
|
+
return data
|
178
|
+
end
|
179
|
+
|
180
|
+
# Converts a range of spreadsheet on a local drive to the pdf file.
|
181
|
+
|
182
|
+
def convert_range_to_pdf( convert_range_to_pdf_request, opts = {})
|
183
|
+
|
184
|
+
data, _status_code, _headers = convert_range_to_pdf_request.create_http_request(@api_client,opts )
|
185
|
+
return data
|
186
|
+
end
|
187
|
+
|
188
|
+
# Converts a range of spreadsheet on a local drive to the csv file.
|
189
|
+
|
190
|
+
def convert_range_to_csv( convert_range_to_csv_request, opts = {})
|
191
|
+
|
192
|
+
data, _status_code, _headers = convert_range_to_csv_request.create_http_request(@api_client,opts )
|
193
|
+
return data
|
194
|
+
end
|
195
|
+
|
196
|
+
# Converts a range of spreadsheet on a local drive to the html file.
|
197
|
+
|
198
|
+
def convert_range_to_html( convert_range_to_html_request, opts = {})
|
199
|
+
|
200
|
+
data, _status_code, _headers = convert_range_to_html_request.create_http_request(@api_client,opts )
|
201
|
+
return data
|
202
|
+
end
|
203
|
+
|
204
|
+
# Converts a range of spreadsheet on a local drive to the json file.
|
205
|
+
|
206
|
+
def convert_range_to_json( convert_range_to_json_request, opts = {})
|
207
|
+
|
208
|
+
data, _status_code, _headers = convert_range_to_json_request.create_http_request(@api_client,opts )
|
209
|
+
return data
|
210
|
+
end
|
211
|
+
|
92
212
|
# Converts a chart of spreadsheet on a local drive to image.
|
93
213
|
|
94
214
|
def convert_chart_to_image( convert_chart_to_image_request, opts = {})
|
@@ -161,6 +281,22 @@ module AsposeCellsCloud
|
|
161
281
|
return data
|
162
282
|
end
|
163
283
|
|
284
|
+
# Applies dual-layer password protection to Excel spreadsheets, supporting both open and modify passwords with encryption.
|
285
|
+
|
286
|
+
def protect_spreadsheet( protect_spreadsheet_request, opts = {})
|
287
|
+
|
288
|
+
data, _status_code, _headers = protect_spreadsheet_request.create_http_request(@api_client,opts )
|
289
|
+
return data
|
290
|
+
end
|
291
|
+
|
292
|
+
# Removes dual-layer password protection from Excel spreadsheets, supporting both open and modify passwords with encryption.
|
293
|
+
|
294
|
+
def unprotect_spreadsheet( unprotect_spreadsheet_request, opts = {})
|
295
|
+
|
296
|
+
data, _status_code, _headers = unprotect_spreadsheet_request.create_http_request(@api_client,opts )
|
297
|
+
return data
|
298
|
+
end
|
299
|
+
|
164
300
|
# Search text in the local spreadsheet.
|
165
301
|
|
166
302
|
def search_spreadsheet_content( search_spreadsheet_content_request, opts = {})
|
@@ -256,6 +392,22 @@ module AsposeCellsCloud
|
|
256
392
|
data, _status_code, _headers = search_broken_links_in_remote_range_request.create_http_request(@api_client,opts )
|
257
393
|
return data
|
258
394
|
end
|
395
|
+
|
396
|
+
# Get the specifications
|
397
|
+
|
398
|
+
def spec( spec_request, opts = {})
|
399
|
+
|
400
|
+
data, _status_code, _headers = spec_request.create_http_request(@api_client,opts )
|
401
|
+
return data
|
402
|
+
end
|
403
|
+
|
404
|
+
|
405
|
+
def codegen_spec( codegen_spec_request, opts = {})
|
406
|
+
|
407
|
+
data, _status_code, _headers = codegen_spec_request.create_http_request(@api_client,opts )
|
408
|
+
return data
|
409
|
+
end
|
410
|
+
|
259
411
|
# Delete all blank rows which do not contain any data or other object.
|
260
412
|
|
261
413
|
def delete_spreadsheet_blank_rows( delete_spreadsheet_blank_rows_request, opts = {})
|
@@ -2468,7 +2620,7 @@ module AsposeCellsCloud
|
|
2468
2620
|
return data
|
2469
2621
|
end
|
2470
2622
|
|
2471
|
-
# Adds text content to a
|
2623
|
+
# Adds text content to a specified location within a document. It requires an object that defines the text to be added and the insertion location.
|
2472
2624
|
|
2473
2625
|
def post_add_text_content( post_add_text_content_request, opts = {})
|
2474
2626
|
|
@@ -2476,6 +2628,7 @@ module AsposeCellsCloud
|
|
2476
2628
|
return data
|
2477
2629
|
end
|
2478
2630
|
|
2631
|
+
# The PostTrimContent API is designed to process and trim content within a specified range in a spreadsheet. This API allows users to remove extra spaces, line breaks, or other unnecessary characters from the content of selected cells. It is particularly useful for cleaning up data entries and ensuring consistency in spreadsheet formatting
|
2479
2632
|
|
2480
2633
|
def post_trim_content( post_trim_content_request, opts = {})
|
2481
2634
|
|
@@ -2483,6 +2636,7 @@ module AsposeCellsCloud
|
|
2483
2636
|
return data
|
2484
2637
|
end
|
2485
2638
|
|
2639
|
+
# Managing inconsistent text case in spreadsheets (Excel, Google Sheets, CSV) can be frustrating, especially with large datasets. The PostUpdateWordCase WEB API solves this by automating text case conversions, ensuring clean and standardized data.
|
2486
2640
|
|
2487
2641
|
def post_update_word_case( post_update_word_case_request, opts = {})
|
2488
2642
|
|
@@ -2490,6 +2644,7 @@ module AsposeCellsCloud
|
|
2490
2644
|
return data
|
2491
2645
|
end
|
2492
2646
|
|
2647
|
+
# A comprehensive set of tools for cleaning text content within selected cells. It allows users to remove specific characters, character sets, and substrings, ensuring that the text is standardized and free from unwanted symbols or sequences.
|
2493
2648
|
|
2494
2649
|
def post_remove_characters( post_remove_characters_request, opts = {})
|
2495
2650
|
|
@@ -2497,6 +2652,7 @@ module AsposeCellsCloud
|
|
2497
2652
|
return data
|
2498
2653
|
end
|
2499
2654
|
|
2655
|
+
# Enhance Excel data through essential text conversions: convert text to numbers, replace characters and line breaks, and remove accents.
|
2500
2656
|
|
2501
2657
|
def post_convert_text( post_convert_text_request, opts = {})
|
2502
2658
|
|
@@ -2504,6 +2660,7 @@ module AsposeCellsCloud
|
|
2504
2660
|
return data
|
2505
2661
|
end
|
2506
2662
|
|
2663
|
+
# Efficiently remove duplicate substrings from Excel cells. Select a range, specify delimiters, and apply options to eliminate repeated text segments.
|
2507
2664
|
|
2508
2665
|
def post_remove_duplicates( post_remove_duplicates_request, opts = {})
|
2509
2666
|
|
@@ -2511,6 +2668,7 @@ module AsposeCellsCloud
|
|
2511
2668
|
return data
|
2512
2669
|
end
|
2513
2670
|
|
2671
|
+
# Effortlessly extract text and numbers from Excel cells with precise options. This API allows extraction of first/last characters, text between delimiters, and numbers from strings, with output as static values or formulas.
|
2514
2672
|
|
2515
2673
|
def post_extract_text( post_extract_text_request, opts = {})
|
2516
2674
|
|
@@ -2518,6 +2676,7 @@ module AsposeCellsCloud
|
|
2518
2676
|
return data
|
2519
2677
|
end
|
2520
2678
|
|
2679
|
+
# Efficiently divides Excel cell content into columns or rows based on specified delimiters or patterns. Supports Character-based splitting, Custom string splitting, Mask and wildcard splitting for pattern-based division, Line break division, Column or row splitting, Delimiter removal or retention.
|
2521
2680
|
|
2522
2681
|
def post_split_text( post_split_text_request, opts = {})
|
2523
2682
|
|
@@ -33,21 +33,19 @@ module AsposeCellsCloud
|
|
33
33
|
class AddTextOptions
|
34
34
|
#The class has a public property named "Name" with a getter and setter method.
|
35
35
|
attr_accessor :name
|
36
|
-
#
|
36
|
+
#Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
|
37
37
|
attr_accessor :data_source
|
38
|
-
#
|
38
|
+
#Represents file information. Include of filename, filesize, and file content(base64String).
|
39
39
|
attr_accessor :file_info
|
40
|
-
#
|
40
|
+
#Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
|
41
|
+
attr_accessor :scope_options
|
42
|
+
#Add text content.
|
41
43
|
attr_accessor :text
|
42
|
-
#
|
43
|
-
attr_accessor :worksheet
|
44
|
-
#
|
45
|
-
attr_accessor :range
|
46
|
-
#
|
44
|
+
#Represents where text should be inserted or selected in the spreadsheet.
|
47
45
|
attr_accessor :select_poistion
|
48
|
-
#
|
46
|
+
#Selected text of cell where text should be inserted or selected in the spreadsheet.
|
49
47
|
attr_accessor :select_text
|
50
|
-
#
|
48
|
+
#Indicates whether empty cells should be skipped during processing.
|
51
49
|
attr_accessor :skip_empty_cells
|
52
50
|
|
53
51
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -56,9 +54,8 @@ module AsposeCellsCloud
|
|
56
54
|
:'name' => :'Name',
|
57
55
|
:'data_source' => :'DataSource',
|
58
56
|
:'file_info' => :'FileInfo',
|
57
|
+
:'scope_options' => :'ScopeOptions',
|
59
58
|
:'text' => :'Text',
|
60
|
-
:'worksheet' => :'Worksheet',
|
61
|
-
:'range' => :'Range',
|
62
59
|
:'select_poistion' => :'SelectPoistion',
|
63
60
|
:'select_text' => :'SelectText',
|
64
61
|
:'skip_empty_cells' => :'SkipEmptyCells'
|
@@ -71,9 +68,8 @@ module AsposeCellsCloud
|
|
71
68
|
:'name' => :'String',
|
72
69
|
:'data_source' => :'DataSource',
|
73
70
|
:'file_info' => :'FileInfo',
|
71
|
+
:'scope_options' => :'ScopeOptions',
|
74
72
|
:'text' => :'String',
|
75
|
-
:'worksheet' => :'String',
|
76
|
-
:'range' => :'String',
|
77
73
|
:'select_poistion' => :'String',
|
78
74
|
:'select_text' => :'String',
|
79
75
|
:'skip_empty_cells' => :'BOOLEAN'
|
@@ -97,15 +93,12 @@ module AsposeCellsCloud
|
|
97
93
|
if attributes.has_key?(:'FileInfo')
|
98
94
|
self.file_info = attributes[:'FileInfo']
|
99
95
|
end
|
96
|
+
if attributes.has_key?(:'ScopeOptions')
|
97
|
+
self.scope_options = attributes[:'ScopeOptions']
|
98
|
+
end
|
100
99
|
if attributes.has_key?(:'Text')
|
101
100
|
self.text = attributes[:'Text']
|
102
101
|
end
|
103
|
-
if attributes.has_key?(:'Worksheet')
|
104
|
-
self.worksheet = attributes[:'Worksheet']
|
105
|
-
end
|
106
|
-
if attributes.has_key?(:'Range')
|
107
|
-
self.range = attributes[:'Range']
|
108
|
-
end
|
109
102
|
if attributes.has_key?(:'SelectPoistion')
|
110
103
|
self.select_poistion = attributes[:'SelectPoistion']
|
111
104
|
end
|
@@ -131,15 +124,12 @@ module AsposeCellsCloud
|
|
131
124
|
if @file_info.nil?
|
132
125
|
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
133
126
|
end
|
127
|
+
if @scope_options.nil?
|
128
|
+
invalid_properties.push("invalid value for 'scope_options', scope_options cannot be nil.")
|
129
|
+
end
|
134
130
|
if @text.nil?
|
135
131
|
invalid_properties.push("invalid value for 'text', text cannot be nil.")
|
136
132
|
end
|
137
|
-
if @worksheet.nil?
|
138
|
-
invalid_properties.push("invalid value for 'worksheet', worksheet cannot be nil.")
|
139
|
-
end
|
140
|
-
if @range.nil?
|
141
|
-
invalid_properties.push("invalid value for 'range', range cannot be nil.")
|
142
|
-
end
|
143
133
|
if @select_poistion.nil?
|
144
134
|
invalid_properties.push("invalid value for 'select_poistion', select_poistion cannot be nil.")
|
145
135
|
end
|
@@ -159,9 +149,8 @@ module AsposeCellsCloud
|
|
159
149
|
return false if @name.nil?
|
160
150
|
return false if @data_source.nil?
|
161
151
|
return false if @file_info.nil?
|
152
|
+
return false if @scope_options.nil?
|
162
153
|
return false if @text.nil?
|
163
|
-
return false if @worksheet.nil?
|
164
|
-
return false if @range.nil?
|
165
154
|
return false if @select_poistion.nil?
|
166
155
|
return false if @select_text.nil?
|
167
156
|
return false if @skip_empty_cells.nil?
|
@@ -176,9 +165,8 @@ module AsposeCellsCloud
|
|
176
165
|
name == o.name &&
|
177
166
|
data_source == o.data_source &&
|
178
167
|
file_info == o.file_info &&
|
168
|
+
scope_options == o.scope_options &&
|
179
169
|
text == o.text &&
|
180
|
-
worksheet == o.worksheet &&
|
181
|
-
range == o.range &&
|
182
170
|
select_poistion == o.select_poistion &&
|
183
171
|
select_text == o.select_text &&
|
184
172
|
skip_empty_cells == o.skip_empty_cells
|
@@ -194,7 +182,7 @@ module AsposeCellsCloud
|
|
194
182
|
# Calculates hash code according to all attributes.
|
195
183
|
# @return [Fixnum] Hash code
|
196
184
|
def hash
|
197
|
-
[ name , data_source , file_info ,
|
185
|
+
[ name , data_source , file_info , scope_options , text , select_poistion , select_text , skip_empty_cells ].hash
|
198
186
|
end
|
199
187
|
|
200
188
|
# Builds the object from hash
|
@@ -31,9 +31,9 @@ require 'date'
|
|
31
31
|
module AsposeCellsCloud
|
32
32
|
|
33
33
|
class CharacterCountOptions
|
34
|
-
#
|
34
|
+
#Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
|
35
35
|
attr_accessor :data_source
|
36
|
-
#
|
36
|
+
#Represents file information. Include of filename, filesize, and file content(base64String).
|
37
37
|
attr_accessor :file_info
|
38
38
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -33,14 +33,12 @@ module AsposeCellsCloud
|
|
33
33
|
class ConvertTextOptions
|
34
34
|
#The class has a public property called "Name" of type string that can be accessed and modified.
|
35
35
|
attr_accessor :name
|
36
|
-
#
|
36
|
+
#Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
|
37
37
|
attr_accessor :data_source
|
38
|
-
#
|
38
|
+
#Represents file information. Include of filename, filesize, and file content(base64String).
|
39
39
|
attr_accessor :file_info
|
40
|
-
#
|
41
|
-
attr_accessor :
|
42
|
-
#
|
43
|
-
attr_accessor :range
|
40
|
+
#Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
|
41
|
+
attr_accessor :scope_options
|
44
42
|
#
|
45
43
|
attr_accessor :convert_text_type
|
46
44
|
#
|
@@ -54,8 +52,7 @@ module AsposeCellsCloud
|
|
54
52
|
:'name' => :'Name',
|
55
53
|
:'data_source' => :'DataSource',
|
56
54
|
:'file_info' => :'FileInfo',
|
57
|
-
:'
|
58
|
-
:'range' => :'Range',
|
55
|
+
:'scope_options' => :'ScopeOptions',
|
59
56
|
:'convert_text_type' => :'ConvertTextType',
|
60
57
|
:'source_characters' => :'SourceCharacters',
|
61
58
|
:'target_characters' => :'TargetCharacters'
|
@@ -68,8 +65,7 @@ module AsposeCellsCloud
|
|
68
65
|
:'name' => :'String',
|
69
66
|
:'data_source' => :'DataSource',
|
70
67
|
:'file_info' => :'FileInfo',
|
71
|
-
:'
|
72
|
-
:'range' => :'String',
|
68
|
+
:'scope_options' => :'ScopeOptions',
|
73
69
|
:'convert_text_type' => :'String',
|
74
70
|
:'source_characters' => :'String',
|
75
71
|
:'target_characters' => :'String'
|
@@ -93,11 +89,8 @@ module AsposeCellsCloud
|
|
93
89
|
if attributes.has_key?(:'FileInfo')
|
94
90
|
self.file_info = attributes[:'FileInfo']
|
95
91
|
end
|
96
|
-
if attributes.has_key?(:'
|
97
|
-
self.
|
98
|
-
end
|
99
|
-
if attributes.has_key?(:'Range')
|
100
|
-
self.range = attributes[:'Range']
|
92
|
+
if attributes.has_key?(:'ScopeOptions')
|
93
|
+
self.scope_options = attributes[:'ScopeOptions']
|
101
94
|
end
|
102
95
|
if attributes.has_key?(:'ConvertTextType')
|
103
96
|
self.convert_text_type = attributes[:'ConvertTextType']
|
@@ -124,11 +117,8 @@ module AsposeCellsCloud
|
|
124
117
|
if @file_info.nil?
|
125
118
|
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
126
119
|
end
|
127
|
-
if @
|
128
|
-
invalid_properties.push("invalid value for '
|
129
|
-
end
|
130
|
-
if @range.nil?
|
131
|
-
invalid_properties.push("invalid value for 'range', range cannot be nil.")
|
120
|
+
if @scope_options.nil?
|
121
|
+
invalid_properties.push("invalid value for 'scope_options', scope_options cannot be nil.")
|
132
122
|
end
|
133
123
|
if @convert_text_type.nil?
|
134
124
|
invalid_properties.push("invalid value for 'convert_text_type', convert_text_type cannot be nil.")
|
@@ -149,8 +139,7 @@ module AsposeCellsCloud
|
|
149
139
|
return false if @name.nil?
|
150
140
|
return false if @data_source.nil?
|
151
141
|
return false if @file_info.nil?
|
152
|
-
return false if @
|
153
|
-
return false if @range.nil?
|
142
|
+
return false if @scope_options.nil?
|
154
143
|
return false if @convert_text_type.nil?
|
155
144
|
return false if @source_characters.nil?
|
156
145
|
return false if @target_characters.nil?
|
@@ -165,8 +154,7 @@ module AsposeCellsCloud
|
|
165
154
|
name == o.name &&
|
166
155
|
data_source == o.data_source &&
|
167
156
|
file_info == o.file_info &&
|
168
|
-
|
169
|
-
range == o.range &&
|
157
|
+
scope_options == o.scope_options &&
|
170
158
|
convert_text_type == o.convert_text_type &&
|
171
159
|
source_characters == o.source_characters &&
|
172
160
|
target_characters == o.target_characters
|
@@ -182,7 +170,7 @@ module AsposeCellsCloud
|
|
182
170
|
# Calculates hash code according to all attributes.
|
183
171
|
# @return [Fixnum] Hash code
|
184
172
|
def hash
|
185
|
-
[ name , data_source , file_info ,
|
173
|
+
[ name , data_source , file_info , scope_options , convert_text_type , source_characters , target_characters ].hash
|
186
174
|
end
|
187
175
|
|
188
176
|
# Builds the object from hash
|
@@ -33,9 +33,9 @@ module AsposeCellsCloud
|
|
33
33
|
class ExtractTextOptions
|
34
34
|
#This class has a public property for storing and retrieving a name value.
|
35
35
|
attr_accessor :name
|
36
|
-
#
|
36
|
+
#Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
|
37
37
|
attr_accessor :data_source
|
38
|
-
#
|
38
|
+
#Represents file information. Include of filename, filesize, and file content(base64String).
|
39
39
|
attr_accessor :file_info
|
40
40
|
#
|
41
41
|
attr_accessor :worksheet
|
@@ -33,14 +33,12 @@ module AsposeCellsCloud
|
|
33
33
|
class RemoveCharactersOptions
|
34
34
|
#Name property with a getter and setter override that returns a string.
|
35
35
|
attr_accessor :name
|
36
|
-
#
|
36
|
+
#Represents data source. There are three types of data, they are CloudFileSystem, RequestFiles, HttpUri.
|
37
37
|
attr_accessor :data_source
|
38
|
-
#
|
38
|
+
#Represents file information. Include of filename, filesize, and file content(base64String).
|
39
39
|
attr_accessor :file_info
|
40
|
-
#
|
41
|
-
attr_accessor :
|
42
|
-
#
|
43
|
-
attr_accessor :range
|
40
|
+
#Specifies the range of cells within the worksheet where the spreadsheet operations will be performed. This parameter allows users to define the exact area to be processed, ensuring that operations are applied only to the designated cells.
|
41
|
+
attr_accessor :scope_options
|
44
42
|
#
|
45
43
|
attr_accessor :remove_characters_by_character
|
46
44
|
#
|
@@ -52,8 +50,7 @@ module AsposeCellsCloud
|
|
52
50
|
:'name' => :'Name',
|
53
51
|
:'data_source' => :'DataSource',
|
54
52
|
:'file_info' => :'FileInfo',
|
55
|
-
:'
|
56
|
-
:'range' => :'Range',
|
53
|
+
:'scope_options' => :'ScopeOptions',
|
57
54
|
:'remove_characters_by_character' => :'RemoveCharactersByCharacter',
|
58
55
|
:'remove_characters_by_position' => :'RemoveCharactersByPosition'
|
59
56
|
}
|
@@ -65,8 +62,7 @@ module AsposeCellsCloud
|
|
65
62
|
:'name' => :'String',
|
66
63
|
:'data_source' => :'DataSource',
|
67
64
|
:'file_info' => :'FileInfo',
|
68
|
-
:'
|
69
|
-
:'range' => :'String',
|
65
|
+
:'scope_options' => :'ScopeOptions',
|
70
66
|
:'remove_characters_by_character' => :'RemoveCharactersByCharacter',
|
71
67
|
:'remove_characters_by_position' => :'RemoveCharactersByPosition'
|
72
68
|
}
|
@@ -89,11 +85,8 @@ module AsposeCellsCloud
|
|
89
85
|
if attributes.has_key?(:'FileInfo')
|
90
86
|
self.file_info = attributes[:'FileInfo']
|
91
87
|
end
|
92
|
-
if attributes.has_key?(:'
|
93
|
-
self.
|
94
|
-
end
|
95
|
-
if attributes.has_key?(:'Range')
|
96
|
-
self.range = attributes[:'Range']
|
88
|
+
if attributes.has_key?(:'ScopeOptions')
|
89
|
+
self.scope_options = attributes[:'ScopeOptions']
|
97
90
|
end
|
98
91
|
if attributes.has_key?(:'RemoveCharactersByCharacter')
|
99
92
|
self.remove_characters_by_character = attributes[:'RemoveCharactersByCharacter']
|
@@ -117,11 +110,8 @@ module AsposeCellsCloud
|
|
117
110
|
if @file_info.nil?
|
118
111
|
invalid_properties.push("invalid value for 'file_info', file_info cannot be nil.")
|
119
112
|
end
|
120
|
-
if @
|
121
|
-
invalid_properties.push("invalid value for '
|
122
|
-
end
|
123
|
-
if @range.nil?
|
124
|
-
invalid_properties.push("invalid value for 'range', range cannot be nil.")
|
113
|
+
if @scope_options.nil?
|
114
|
+
invalid_properties.push("invalid value for 'scope_options', scope_options cannot be nil.")
|
125
115
|
end
|
126
116
|
if @remove_characters_by_character.nil?
|
127
117
|
invalid_properties.push("invalid value for 'remove_characters_by_character', remove_characters_by_character cannot be nil.")
|
@@ -139,8 +129,7 @@ module AsposeCellsCloud
|
|
139
129
|
return false if @name.nil?
|
140
130
|
return false if @data_source.nil?
|
141
131
|
return false if @file_info.nil?
|
142
|
-
return false if @
|
143
|
-
return false if @range.nil?
|
132
|
+
return false if @scope_options.nil?
|
144
133
|
return false if @remove_characters_by_character.nil?
|
145
134
|
return false if @remove_characters_by_position.nil?
|
146
135
|
return true
|
@@ -154,8 +143,7 @@ module AsposeCellsCloud
|
|
154
143
|
name == o.name &&
|
155
144
|
data_source == o.data_source &&
|
156
145
|
file_info == o.file_info &&
|
157
|
-
|
158
|
-
range == o.range &&
|
146
|
+
scope_options == o.scope_options &&
|
159
147
|
remove_characters_by_character == o.remove_characters_by_character &&
|
160
148
|
remove_characters_by_position == o.remove_characters_by_position
|
161
149
|
std_dev == o.std_dev
|
@@ -170,7 +158,7 @@ module AsposeCellsCloud
|
|
170
158
|
# Calculates hash code according to all attributes.
|
171
159
|
# @return [Fixnum] Hash code
|
172
160
|
def hash
|
173
|
-
[ name , data_source , file_info ,
|
161
|
+
[ name , data_source , file_info , scope_options , remove_characters_by_character , remove_characters_by_position ].hash
|
174
162
|
end
|
175
163
|
|
176
164
|
# Builds the object from hash
|