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