aspose_cells_cloud 21.6 → 21.11
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 -10
- data/lib/aspose_cells_cloud/api/cells_api.rb +329 -68
- data/lib/aspose_cells_cloud/api/lite_cells_api.rb +224 -11
- data/lib/aspose_cells_cloud/api_client.rb +3 -2
- data/lib/aspose_cells_cloud/models/access_token_response.rb +13 -13
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +234 -0
- data/lib/aspose_cells_cloud/models/conditional_formatting_value.rb +1 -1
- data/lib/aspose_cells_cloud/models/custom_filter.rb +1 -1
- data/lib/aspose_cells_cloud/models/dynamic_filter.rb +2 -2
- data/lib/aspose_cells_cloud/models/import_picture_option.rb +285 -0
- data/lib/aspose_cells_cloud/models/match_condition_request.rb +209 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +3 -0
- data/spec/api/cells_batch_spec.rb +45 -0
- data/spec/api/cells_compress_spec.rb +44 -0
- data/spec/api/cells_export_spec.rb +177 -0
- data/spec/api/cells_import_spec.rb +43 -0
- data/spec/api/cells_replace_spec.rb +44 -0
- data/spec/api/cells_simple_spec.rb +11 -11
- data/spec/api/cells_workbook_api_spec.rb +12 -1
- data/spec/api/cells_worksheets_api_spec.rb +24 -0
- data/spec/spec_helper.rb +1 -1
- metadata +9 -2
@@ -1825,7 +1825,7 @@ module AsposeCellsCloud
|
|
1825
1825
|
# @param [Hash] opts the optional parameters
|
1826
1826
|
# @option opts [String] :folder The workbook folder.
|
1827
1827
|
# @option opts [String] :storage_name storage name.
|
1828
|
-
# @return [
|
1828
|
+
# @return [CellsCloudResponse]
|
1829
1829
|
def cells_charts_delete_worksheet_delete_chart(name, sheet_name, chart_index, opts = {})
|
1830
1830
|
data, _status_code, _headers = cells_charts_delete_worksheet_delete_chart_with_http_info(name, sheet_name, chart_index, opts)
|
1831
1831
|
return data
|
@@ -1839,7 +1839,7 @@ module AsposeCellsCloud
|
|
1839
1839
|
# @param [Hash] opts the optional parameters
|
1840
1840
|
# @option opts [String] :folder The workbook folder.
|
1841
1841
|
# @option opts [String] :storage_name storage name.
|
1842
|
-
# @return [Array<(
|
1842
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
1843
1843
|
def cells_charts_delete_worksheet_delete_chart_with_http_info(name, sheet_name, chart_index, opts = {})
|
1844
1844
|
if @api_client.config.debugging
|
1845
1845
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_charts_delete_worksheet_delete_chart ..."
|
@@ -1885,7 +1885,7 @@ module AsposeCellsCloud
|
|
1885
1885
|
:form_params => form_params,
|
1886
1886
|
:body => post_body,
|
1887
1887
|
:auth_names => auth_names,
|
1888
|
-
:return_type => '
|
1888
|
+
:return_type => 'CellsCloudResponse')
|
1889
1889
|
if @api_client.config.debugging
|
1890
1890
|
@api_client.config.logger.debug "API called: CellsApi#cells_charts_delete_worksheet_delete_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1891
1891
|
end
|
@@ -2275,7 +2275,7 @@ module AsposeCellsCloud
|
|
2275
2275
|
# @option opts [Legend] :legend
|
2276
2276
|
# @option opts [String] :folder The workbook folder.
|
2277
2277
|
# @option opts [String] :storage_name storage name.
|
2278
|
-
# @return [
|
2278
|
+
# @return [CellsCloudResponse]
|
2279
2279
|
def cells_charts_post_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
|
2280
2280
|
data, _status_code, _headers = cells_charts_post_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
|
2281
2281
|
return data
|
@@ -2290,7 +2290,7 @@ module AsposeCellsCloud
|
|
2290
2290
|
# @option opts [Legend] :legend
|
2291
2291
|
# @option opts [String] :folder The workbook folder.
|
2292
2292
|
# @option opts [String] :storage_name storage name.
|
2293
|
-
# @return [Array<(
|
2293
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
2294
2294
|
def cells_charts_post_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
|
2295
2295
|
if @api_client.config.debugging
|
2296
2296
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_worksheet_chart_legend ..."
|
@@ -2336,7 +2336,7 @@ module AsposeCellsCloud
|
|
2336
2336
|
:form_params => form_params,
|
2337
2337
|
:body => post_body,
|
2338
2338
|
:auth_names => auth_names,
|
2339
|
-
:return_type => '
|
2339
|
+
:return_type => 'CellsCloudResponse')
|
2340
2340
|
if @api_client.config.debugging
|
2341
2341
|
@api_client.config.logger.debug "API called: CellsApi#cells_charts_post_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2342
2342
|
end
|
@@ -2352,7 +2352,7 @@ module AsposeCellsCloud
|
|
2352
2352
|
# @option opts [Title] :title Chart title
|
2353
2353
|
# @option opts [String] :folder The workbook folder.
|
2354
2354
|
# @option opts [String] :storage_name storage name.
|
2355
|
-
# @return [
|
2355
|
+
# @return [CellsCloudResponse]
|
2356
2356
|
def cells_charts_post_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
|
2357
2357
|
data, _status_code, _headers = cells_charts_post_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
|
2358
2358
|
return data
|
@@ -2367,7 +2367,7 @@ module AsposeCellsCloud
|
|
2367
2367
|
# @option opts [Title] :title Chart title
|
2368
2368
|
# @option opts [String] :folder The workbook folder.
|
2369
2369
|
# @option opts [String] :storage_name storage name.
|
2370
|
-
# @return [Array<(
|
2370
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
2371
2371
|
def cells_charts_post_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
|
2372
2372
|
if @api_client.config.debugging
|
2373
2373
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_worksheet_chart_title ..."
|
@@ -2413,7 +2413,7 @@ module AsposeCellsCloud
|
|
2413
2413
|
:form_params => form_params,
|
2414
2414
|
:body => post_body,
|
2415
2415
|
:auth_names => auth_names,
|
2416
|
-
:return_type => '
|
2416
|
+
:return_type => 'CellsCloudResponse')
|
2417
2417
|
if @api_client.config.debugging
|
2418
2418
|
@api_client.config.logger.debug "API called: CellsApi#cells_charts_post_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2419
2419
|
end
|
@@ -2441,7 +2441,7 @@ module AsposeCellsCloud
|
|
2441
2441
|
# @option opts [String] :data_labels_position (default to Above)
|
2442
2442
|
# @option opts [String] :pivot_table_sheet
|
2443
2443
|
# @option opts [String] :pivot_table_name
|
2444
|
-
# @return [
|
2444
|
+
# @return [CellsCloudResponse]
|
2445
2445
|
def cells_charts_put_worksheet_add_chart(name, sheet_name, chart_type, opts = {})
|
2446
2446
|
data, _status_code, _headers = cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts)
|
2447
2447
|
return data
|
@@ -2468,7 +2468,7 @@ module AsposeCellsCloud
|
|
2468
2468
|
# @option opts [String] :data_labels_position
|
2469
2469
|
# @option opts [String] :pivot_table_sheet
|
2470
2470
|
# @option opts [String] :pivot_table_name
|
2471
|
-
# @return [Array<(
|
2471
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
2472
2472
|
def cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts = {})
|
2473
2473
|
if @api_client.config.debugging
|
2474
2474
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_charts_put_worksheet_add_chart ..."
|
@@ -2528,7 +2528,7 @@ module AsposeCellsCloud
|
|
2528
2528
|
:form_params => form_params,
|
2529
2529
|
:body => post_body,
|
2530
2530
|
:auth_names => auth_names,
|
2531
|
-
:return_type => '
|
2531
|
+
:return_type => 'CellsCloudResponse')
|
2532
2532
|
if @api_client.config.debugging
|
2533
2533
|
@api_client.config.logger.debug "API called: CellsApi#cells_charts_put_worksheet_add_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2534
2534
|
end
|
@@ -2619,7 +2619,7 @@ module AsposeCellsCloud
|
|
2619
2619
|
# @option opts [Title] :title Chart title.
|
2620
2620
|
# @option opts [String] :folder The workbook folder.
|
2621
2621
|
# @option opts [String] :storage_name storage name.
|
2622
|
-
# @return [
|
2622
|
+
# @return [CellsCloudResponse]
|
2623
2623
|
def cells_charts_put_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
|
2624
2624
|
data, _status_code, _headers = cells_charts_put_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
|
2625
2625
|
return data
|
@@ -2634,7 +2634,7 @@ module AsposeCellsCloud
|
|
2634
2634
|
# @option opts [Title] :title Chart title.
|
2635
2635
|
# @option opts [String] :folder The workbook folder.
|
2636
2636
|
# @option opts [String] :storage_name storage name.
|
2637
|
-
# @return [Array<(
|
2637
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
2638
2638
|
def cells_charts_put_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
|
2639
2639
|
if @api_client.config.debugging
|
2640
2640
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_charts_put_worksheet_chart_title ..."
|
@@ -2680,7 +2680,7 @@ module AsposeCellsCloud
|
|
2680
2680
|
:form_params => form_params,
|
2681
2681
|
:body => post_body,
|
2682
2682
|
:auth_names => auth_names,
|
2683
|
-
:return_type => '
|
2683
|
+
:return_type => 'CellsCloudResponse')
|
2684
2684
|
if @api_client.config.debugging
|
2685
2685
|
@api_client.config.logger.debug "API called: CellsApi#cells_charts_put_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
2686
2686
|
end
|
@@ -4576,7 +4576,7 @@ module AsposeCellsCloud
|
|
4576
4576
|
# @option opts [Hyperlink] :hyperlink Hyperlink object
|
4577
4577
|
# @option opts [String] :folder The document folder.
|
4578
4578
|
# @option opts [String] :storage_name storage name.
|
4579
|
-
# @return [
|
4579
|
+
# @return [CellsCloudResponse]
|
4580
4580
|
def cells_hypelinks_post_worksheet_hyperlink(name, sheet_name, hyperlink_index, opts = {})
|
4581
4581
|
data, _status_code, _headers = cells_hypelinks_post_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts)
|
4582
4582
|
return data
|
@@ -4591,7 +4591,7 @@ module AsposeCellsCloud
|
|
4591
4591
|
# @option opts [Hyperlink] :hyperlink Hyperlink object
|
4592
4592
|
# @option opts [String] :folder The document folder.
|
4593
4593
|
# @option opts [String] :storage_name storage name.
|
4594
|
-
# @return [Array<(
|
4594
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
4595
4595
|
def cells_hypelinks_post_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts = {})
|
4596
4596
|
if @api_client.config.debugging
|
4597
4597
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_post_worksheet_hyperlink ..."
|
@@ -4637,7 +4637,7 @@ module AsposeCellsCloud
|
|
4637
4637
|
:form_params => form_params,
|
4638
4638
|
:body => post_body,
|
4639
4639
|
:auth_names => auth_names,
|
4640
|
-
:return_type => '
|
4640
|
+
:return_type => 'CellsCloudResponse')
|
4641
4641
|
if @api_client.config.debugging
|
4642
4642
|
@api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_post_worksheet_hyperlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4643
4643
|
end
|
@@ -4656,7 +4656,7 @@ module AsposeCellsCloud
|
|
4656
4656
|
# @param [Hash] opts the optional parameters
|
4657
4657
|
# @option opts [String] :folder The document folder.
|
4658
4658
|
# @option opts [String] :storage_name storage name.
|
4659
|
-
# @return [
|
4659
|
+
# @return [CellsCloudResponse]
|
4660
4660
|
def cells_hypelinks_put_worksheet_hyperlink(name, sheet_name, first_row, first_column, total_rows, total_columns, address, opts = {})
|
4661
4661
|
data, _status_code, _headers = cells_hypelinks_put_worksheet_hyperlink_with_http_info(name, sheet_name, first_row, first_column, total_rows, total_columns, address, opts)
|
4662
4662
|
return data
|
@@ -4674,7 +4674,7 @@ module AsposeCellsCloud
|
|
4674
4674
|
# @param [Hash] opts the optional parameters
|
4675
4675
|
# @option opts [String] :folder The document folder.
|
4676
4676
|
# @option opts [String] :storage_name storage name.
|
4677
|
-
# @return [Array<(
|
4677
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
4678
4678
|
def cells_hypelinks_put_worksheet_hyperlink_with_http_info(name, sheet_name, first_row, first_column, total_rows, total_columns, address, opts = {})
|
4679
4679
|
if @api_client.config.debugging
|
4680
4680
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_put_worksheet_hyperlink ..."
|
@@ -4741,7 +4741,7 @@ module AsposeCellsCloud
|
|
4741
4741
|
:form_params => form_params,
|
4742
4742
|
:body => post_body,
|
4743
4743
|
:auth_names => auth_names,
|
4744
|
-
:return_type => '
|
4744
|
+
:return_type => 'CellsCloudResponse')
|
4745
4745
|
if @api_client.config.debugging
|
4746
4746
|
@api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_put_worksheet_hyperlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4747
4747
|
end
|
@@ -4898,9 +4898,10 @@ module AsposeCellsCloud
|
|
4898
4898
|
# @param sheet_name The worksheet name.
|
4899
4899
|
# @param listobjectindex list object index.
|
4900
4900
|
# @param [Hash] opts the optional parameters
|
4901
|
+
# @option opts [String] :format export format.
|
4901
4902
|
# @option opts [String] :folder Document's folder.
|
4902
4903
|
# @option opts [String] :storage_name storage name.
|
4903
|
-
# @return [
|
4904
|
+
# @return [File]
|
4904
4905
|
def cells_list_objects_get_worksheet_list_object(name, sheet_name, listobjectindex, opts = {})
|
4905
4906
|
data, _status_code, _headers = cells_list_objects_get_worksheet_list_object_with_http_info(name, sheet_name, listobjectindex, opts)
|
4906
4907
|
return data
|
@@ -4912,9 +4913,10 @@ module AsposeCellsCloud
|
|
4912
4913
|
# @param sheet_name The worksheet name.
|
4913
4914
|
# @param listobjectindex list object index.
|
4914
4915
|
# @param [Hash] opts the optional parameters
|
4916
|
+
# @option opts [String] :format export format.
|
4915
4917
|
# @option opts [String] :folder Document's folder.
|
4916
4918
|
# @option opts [String] :storage_name storage name.
|
4917
|
-
# @return [Array<(
|
4919
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
4918
4920
|
def cells_list_objects_get_worksheet_list_object_with_http_info(name, sheet_name, listobjectindex, opts = {})
|
4919
4921
|
if @api_client.config.debugging
|
4920
4922
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_get_worksheet_list_object ..."
|
@@ -4937,6 +4939,7 @@ module AsposeCellsCloud
|
|
4937
4939
|
|
4938
4940
|
# query parameters
|
4939
4941
|
query_params = {}
|
4942
|
+
query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
|
4940
4943
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
4941
4944
|
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
|
4942
4945
|
|
@@ -4960,7 +4963,7 @@ module AsposeCellsCloud
|
|
4960
4963
|
:form_params => form_params,
|
4961
4964
|
:body => post_body,
|
4962
4965
|
:auth_names => auth_names,
|
4963
|
-
:return_type => '
|
4966
|
+
:return_type => 'File')
|
4964
4967
|
if @api_client.config.debugging
|
4965
4968
|
@api_client.config.logger.debug "API called: CellsApi#cells_list_objects_get_worksheet_list_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
4966
4969
|
end
|
@@ -5362,7 +5365,7 @@ module AsposeCellsCloud
|
|
5362
5365
|
# @option opts [ListObject] :list_object List Object
|
5363
5366
|
# @option opts [String] :folder Document's folder.
|
5364
5367
|
# @option opts [String] :storage_name storage name.
|
5365
|
-
# @return [
|
5368
|
+
# @return [CellsCloudResponse]
|
5366
5369
|
def cells_list_objects_put_worksheet_list_object(name, sheet_name, start_row, start_column, end_row, end_column, opts = {})
|
5367
5370
|
data, _status_code, _headers = cells_list_objects_put_worksheet_list_object_with_http_info(name, sheet_name, start_row, start_column, end_row, end_column, opts)
|
5368
5371
|
return data
|
@@ -5381,7 +5384,7 @@ module AsposeCellsCloud
|
|
5381
5384
|
# @option opts [ListObject] :list_object List Object
|
5382
5385
|
# @option opts [String] :folder Document's folder.
|
5383
5386
|
# @option opts [String] :storage_name storage name.
|
5384
|
-
# @return [Array<(
|
5387
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
5385
5388
|
def cells_list_objects_put_worksheet_list_object_with_http_info(name, sheet_name, start_row, start_column, end_row, end_column, opts = {})
|
5386
5389
|
if @api_client.config.debugging
|
5387
5390
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_put_worksheet_list_object ..."
|
@@ -5444,7 +5447,7 @@ module AsposeCellsCloud
|
|
5444
5447
|
:form_params => form_params,
|
5445
5448
|
:body => post_body,
|
5446
5449
|
:auth_names => auth_names,
|
5447
|
-
:return_type => '
|
5450
|
+
:return_type => 'CellsCloudResponse')
|
5448
5451
|
if @api_client.config.debugging
|
5449
5452
|
@api_client.config.logger.debug "API called: CellsApi#cells_list_objects_put_worksheet_list_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5450
5453
|
end
|
@@ -5833,7 +5836,7 @@ module AsposeCellsCloud
|
|
5833
5836
|
# @option opts [String] :image_file Image filename
|
5834
5837
|
# @option opts [String] :folder The workbook folder.
|
5835
5838
|
# @option opts [String] :storage_name storage name.
|
5836
|
-
# @return [
|
5839
|
+
# @return [CellsCloudResponse]
|
5837
5840
|
def cells_ole_objects_put_worksheet_ole_object(name, sheet_name, opts = {})
|
5838
5841
|
data, _status_code, _headers = cells_ole_objects_put_worksheet_ole_object_with_http_info(name, sheet_name, opts)
|
5839
5842
|
return data
|
@@ -5853,7 +5856,7 @@ module AsposeCellsCloud
|
|
5853
5856
|
# @option opts [String] :image_file Image filename
|
5854
5857
|
# @option opts [String] :folder The workbook folder.
|
5855
5858
|
# @option opts [String] :storage_name storage name.
|
5856
|
-
# @return [Array<(
|
5859
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
5857
5860
|
def cells_ole_objects_put_worksheet_ole_object_with_http_info(name, sheet_name, opts = {})
|
5858
5861
|
if @api_client.config.debugging
|
5859
5862
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_put_worksheet_ole_object ..."
|
@@ -5901,7 +5904,7 @@ module AsposeCellsCloud
|
|
5901
5904
|
:form_params => form_params,
|
5902
5905
|
:body => post_body,
|
5903
5906
|
:auth_names => auth_names,
|
5904
|
-
:return_type => '
|
5907
|
+
:return_type => 'CellsCloudResponse')
|
5905
5908
|
if @api_client.config.debugging
|
5906
5909
|
@api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_put_worksheet_ole_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
5907
5910
|
end
|
@@ -7485,7 +7488,7 @@ module AsposeCellsCloud
|
|
7485
7488
|
# @option opts [Picture] :picture Picture object
|
7486
7489
|
# @option opts [String] :folder The document folder.
|
7487
7490
|
# @option opts [String] :storage_name storage name.
|
7488
|
-
# @return [
|
7491
|
+
# @return [CellsCloudResponse]
|
7489
7492
|
def cells_pictures_post_worksheet_picture(name, sheet_name, picture_index, opts = {})
|
7490
7493
|
data, _status_code, _headers = cells_pictures_post_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts)
|
7491
7494
|
return data
|
@@ -7500,7 +7503,7 @@ module AsposeCellsCloud
|
|
7500
7503
|
# @option opts [Picture] :picture Picture object
|
7501
7504
|
# @option opts [String] :folder The document folder.
|
7502
7505
|
# @option opts [String] :storage_name storage name.
|
7503
|
-
# @return [Array<(
|
7506
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
7504
7507
|
def cells_pictures_post_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {})
|
7505
7508
|
if @api_client.config.debugging
|
7506
7509
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_post_worksheet_picture ..."
|
@@ -7546,7 +7549,7 @@ module AsposeCellsCloud
|
|
7546
7549
|
:form_params => form_params,
|
7547
7550
|
:body => post_body,
|
7548
7551
|
:auth_names => auth_names,
|
7549
|
-
:return_type => '
|
7552
|
+
:return_type => 'CellsCloudResponse')
|
7550
7553
|
if @api_client.config.debugging
|
7551
7554
|
@api_client.config.logger.debug "API called: CellsApi#cells_pictures_post_worksheet_picture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7552
7555
|
end
|
@@ -7566,7 +7569,7 @@ module AsposeCellsCloud
|
|
7566
7569
|
# @option opts [String] :picture_path The picture path, if not provided the picture data is inspected in the request body.
|
7567
7570
|
# @option opts [String] :folder The workbook folder.
|
7568
7571
|
# @option opts [String] :storage_name storage name.
|
7569
|
-
# @return [
|
7572
|
+
# @return [CellsCloudResponse]
|
7570
7573
|
def cells_pictures_put_worksheet_add_picture(name, sheet_name, opts = {})
|
7571
7574
|
data, _status_code, _headers = cells_pictures_put_worksheet_add_picture_with_http_info(name, sheet_name, opts)
|
7572
7575
|
return data
|
@@ -7585,7 +7588,7 @@ module AsposeCellsCloud
|
|
7585
7588
|
# @option opts [String] :picture_path The picture path, if not provided the picture data is inspected in the request body.
|
7586
7589
|
# @option opts [String] :folder The workbook folder.
|
7587
7590
|
# @option opts [String] :storage_name storage name.
|
7588
|
-
# @return [Array<(
|
7591
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
7589
7592
|
def cells_pictures_put_worksheet_add_picture_with_http_info(name, sheet_name, opts = {})
|
7590
7593
|
if @api_client.config.debugging
|
7591
7594
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_put_worksheet_add_picture ..."
|
@@ -7632,7 +7635,7 @@ module AsposeCellsCloud
|
|
7632
7635
|
:form_params => form_params,
|
7633
7636
|
:body => post_body,
|
7634
7637
|
:auth_names => auth_names,
|
7635
|
-
:return_type => '
|
7638
|
+
:return_type => 'CellsCloudResponse')
|
7636
7639
|
if @api_client.config.debugging
|
7637
7640
|
@api_client.config.logger.debug "API called: CellsApi#cells_pictures_put_worksheet_add_picture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
7638
7641
|
end
|
@@ -9234,7 +9237,7 @@ module AsposeCellsCloud
|
|
9234
9237
|
# @option opts [String] :dest_cell_name The cell in the upper-left corner of the PivotTable report's destination range.
|
9235
9238
|
# @option opts [String] :table_name The name of the new PivotTable report.
|
9236
9239
|
# @option opts [BOOLEAN] :use_same_source Indicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
|
9237
|
-
# @return [
|
9240
|
+
# @return [CellsCloudResponse]
|
9238
9241
|
def cells_pivot_tables_put_worksheet_pivot_table(name, sheet_name, opts = {})
|
9239
9242
|
data, _status_code, _headers = cells_pivot_tables_put_worksheet_pivot_table_with_http_info(name, sheet_name, opts)
|
9240
9243
|
return data
|
@@ -9252,7 +9255,7 @@ module AsposeCellsCloud
|
|
9252
9255
|
# @option opts [String] :dest_cell_name The cell in the upper-left corner of the PivotTable report's destination range.
|
9253
9256
|
# @option opts [String] :table_name The name of the new PivotTable report.
|
9254
9257
|
# @option opts [BOOLEAN] :use_same_source Indicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory.
|
9255
|
-
# @return [Array<(
|
9258
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
9256
9259
|
def cells_pivot_tables_put_worksheet_pivot_table_with_http_info(name, sheet_name, opts = {})
|
9257
9260
|
if @api_client.config.debugging
|
9258
9261
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_put_worksheet_pivot_table ..."
|
@@ -9298,7 +9301,7 @@ module AsposeCellsCloud
|
|
9298
9301
|
:form_params => form_params,
|
9299
9302
|
:body => post_body,
|
9300
9303
|
:auth_names => auth_names,
|
9301
|
-
:return_type => '
|
9304
|
+
:return_type => 'CellsCloudResponse')
|
9302
9305
|
if @api_client.config.debugging
|
9303
9306
|
@api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_put_worksheet_pivot_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
9304
9307
|
end
|
@@ -11587,7 +11590,7 @@ module AsposeCellsCloud
|
|
11587
11590
|
# @param [Hash] opts the optional parameters
|
11588
11591
|
# @option opts [String] :folder The document folder.
|
11589
11592
|
# @option opts [String] :storage_name storage name.
|
11590
|
-
# @return [
|
11593
|
+
# @return [CellsCloudResponse]
|
11591
11594
|
def cells_properties_delete_document_properties(name, opts = {})
|
11592
11595
|
data, _status_code, _headers = cells_properties_delete_document_properties_with_http_info(name, opts)
|
11593
11596
|
return data
|
@@ -11599,7 +11602,7 @@ module AsposeCellsCloud
|
|
11599
11602
|
# @param [Hash] opts the optional parameters
|
11600
11603
|
# @option opts [String] :folder The document folder.
|
11601
11604
|
# @option opts [String] :storage_name storage name.
|
11602
|
-
# @return [Array<(
|
11605
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
11603
11606
|
def cells_properties_delete_document_properties_with_http_info(name, opts = {})
|
11604
11607
|
if @api_client.config.debugging
|
11605
11608
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_properties_delete_document_properties ..."
|
@@ -11637,7 +11640,7 @@ module AsposeCellsCloud
|
|
11637
11640
|
:form_params => form_params,
|
11638
11641
|
:body => post_body,
|
11639
11642
|
:auth_names => auth_names,
|
11640
|
-
:return_type => '
|
11643
|
+
:return_type => 'CellsCloudResponse')
|
11641
11644
|
if @api_client.config.debugging
|
11642
11645
|
@api_client.config.logger.debug "API called: CellsApi#cells_properties_delete_document_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11643
11646
|
end
|
@@ -11651,7 +11654,7 @@ module AsposeCellsCloud
|
|
11651
11654
|
# @param [Hash] opts the optional parameters
|
11652
11655
|
# @option opts [String] :folder The document folder.
|
11653
11656
|
# @option opts [String] :storage_name storage name.
|
11654
|
-
# @return [
|
11657
|
+
# @return [CellsCloudResponse]
|
11655
11658
|
def cells_properties_delete_document_property(name, property_name, opts = {})
|
11656
11659
|
data, _status_code, _headers = cells_properties_delete_document_property_with_http_info(name, property_name, opts)
|
11657
11660
|
return data
|
@@ -11664,7 +11667,7 @@ module AsposeCellsCloud
|
|
11664
11667
|
# @param [Hash] opts the optional parameters
|
11665
11668
|
# @option opts [String] :folder The document folder.
|
11666
11669
|
# @option opts [String] :storage_name storage name.
|
11667
|
-
# @return [Array<(
|
11670
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
11668
11671
|
def cells_properties_delete_document_property_with_http_info(name, property_name, opts = {})
|
11669
11672
|
if @api_client.config.debugging
|
11670
11673
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_properties_delete_document_property ..."
|
@@ -11706,7 +11709,7 @@ module AsposeCellsCloud
|
|
11706
11709
|
:form_params => form_params,
|
11707
11710
|
:body => post_body,
|
11708
11711
|
:auth_names => auth_names,
|
11709
|
-
:return_type => '
|
11712
|
+
:return_type => 'CellsCloudResponse')
|
11710
11713
|
if @api_client.config.debugging
|
11711
11714
|
@api_client.config.logger.debug "API called: CellsApi#cells_properties_delete_document_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11712
11715
|
end
|
@@ -11853,7 +11856,7 @@ module AsposeCellsCloud
|
|
11853
11856
|
# @option opts [CellsDocumentProperty] :property with new property value.
|
11854
11857
|
# @option opts [String] :folder The document folder.
|
11855
11858
|
# @option opts [String] :storage_name storage name.
|
11856
|
-
# @return [
|
11859
|
+
# @return [CellsCloudResponse]
|
11857
11860
|
def cells_properties_put_document_property(name, property_name, opts = {})
|
11858
11861
|
data, _status_code, _headers = cells_properties_put_document_property_with_http_info(name, property_name, opts)
|
11859
11862
|
return data
|
@@ -11867,7 +11870,7 @@ module AsposeCellsCloud
|
|
11867
11870
|
# @option opts [CellsDocumentProperty] :property with new property value.
|
11868
11871
|
# @option opts [String] :folder The document folder.
|
11869
11872
|
# @option opts [String] :storage_name storage name.
|
11870
|
-
# @return [Array<(
|
11873
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
11871
11874
|
def cells_properties_put_document_property_with_http_info(name, property_name, opts = {})
|
11872
11875
|
if @api_client.config.debugging
|
11873
11876
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_properties_put_document_property ..."
|
@@ -11909,7 +11912,7 @@ module AsposeCellsCloud
|
|
11909
11912
|
:form_params => form_params,
|
11910
11913
|
:body => post_body,
|
11911
11914
|
:auth_names => auth_names,
|
11912
|
-
:return_type => '
|
11915
|
+
:return_type => 'CellsCloudResponse')
|
11913
11916
|
if @api_client.config.debugging
|
11914
11917
|
@api_client.config.logger.debug "API called: CellsApi#cells_properties_put_document_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
11915
11918
|
end
|
@@ -12901,7 +12904,7 @@ module AsposeCellsCloud
|
|
12901
12904
|
|
12902
12905
|
# query parameters
|
12903
12906
|
query_params = {}
|
12904
|
-
query_params[:'
|
12907
|
+
query_params[:'value'] = value
|
12905
12908
|
query_params[:'isConverted'] = opts[:'is_converted'] if !opts[:'is_converted'].nil?
|
12906
12909
|
query_params[:'setStyle'] = opts[:'set_style'] if !opts[:'set_style'].nil?
|
12907
12910
|
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
@@ -13542,7 +13545,7 @@ module AsposeCellsCloud
|
|
13542
13545
|
# @option opts [Integer] :height Represents the width of Spinner, in unit of pixel.
|
13543
13546
|
# @option opts [String] :folder Document's folder.
|
13544
13547
|
# @option opts [String] :storage_name storage name.
|
13545
|
-
# @return [
|
13548
|
+
# @return [CellsCloudResponse]
|
13546
13549
|
def cells_shapes_put_worksheet_shape(name, sheet_name, opts = {})
|
13547
13550
|
data, _status_code, _headers = cells_shapes_put_worksheet_shape_with_http_info(name, sheet_name, opts)
|
13548
13551
|
return data
|
@@ -13563,7 +13566,7 @@ module AsposeCellsCloud
|
|
13563
13566
|
# @option opts [Integer] :height Represents the width of Spinner, in unit of pixel.
|
13564
13567
|
# @option opts [String] :folder Document's folder.
|
13565
13568
|
# @option opts [String] :storage_name storage name.
|
13566
|
-
# @return [Array<(
|
13569
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
13567
13570
|
def cells_shapes_put_worksheet_shape_with_http_info(name, sheet_name, opts = {})
|
13568
13571
|
if @api_client.config.debugging
|
13569
13572
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_put_worksheet_shape ..."
|
@@ -13582,7 +13585,7 @@ module AsposeCellsCloud
|
|
13582
13585
|
|
13583
13586
|
# query parameters
|
13584
13587
|
query_params = {}
|
13585
|
-
query_params[:'
|
13588
|
+
query_params[:'drawingType'] = opts[:'drawing_type'] if !opts[:'drawing_type'].nil?
|
13586
13589
|
query_params[:'upperLeftRow'] = opts[:'upper_left_row'] if !opts[:'upper_left_row'].nil?
|
13587
13590
|
query_params[:'upperLeftColumn'] = opts[:'upper_left_column'] if !opts[:'upper_left_column'].nil?
|
13588
13591
|
query_params[:'top'] = opts[:'top'] if !opts[:'top'].nil?
|
@@ -13612,7 +13615,7 @@ module AsposeCellsCloud
|
|
13612
13615
|
:form_params => form_params,
|
13613
13616
|
:body => post_body,
|
13614
13617
|
:auth_names => auth_names,
|
13615
|
-
:return_type => '
|
13618
|
+
:return_type => 'CellsCloudResponse')
|
13616
13619
|
if @api_client.config.debugging
|
13617
13620
|
@api_client.config.logger.debug "API called: CellsApi#cells_shapes_put_worksheet_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
13618
13621
|
end
|
@@ -14530,6 +14533,69 @@ module AsposeCellsCloud
|
|
14530
14533
|
return data, status_code, headers
|
14531
14534
|
end
|
14532
14535
|
|
14536
|
+
# Get page count for workbook.
|
14537
|
+
#
|
14538
|
+
# @param name Document name.
|
14539
|
+
# @param [Hash] opts the optional parameters
|
14540
|
+
# @option opts [String] :folder Document's folder.
|
14541
|
+
# @option opts [String] :storage_name storage name.
|
14542
|
+
# @return [Object]
|
14543
|
+
def cells_workbook_get_page_count(name, opts = {})
|
14544
|
+
data, _status_code, _headers = cells_workbook_get_page_count_with_http_info(name, opts)
|
14545
|
+
return data
|
14546
|
+
end
|
14547
|
+
|
14548
|
+
# Get page count for workbook.
|
14549
|
+
#
|
14550
|
+
# @param name Document name.
|
14551
|
+
# @param [Hash] opts the optional parameters
|
14552
|
+
# @option opts [String] :folder Document's folder.
|
14553
|
+
# @option opts [String] :storage_name storage name.
|
14554
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
14555
|
+
def cells_workbook_get_page_count_with_http_info(name, opts = {})
|
14556
|
+
if @api_client.config.debugging
|
14557
|
+
@api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_page_count ..."
|
14558
|
+
end
|
14559
|
+
@api_client.request_token_if_needed
|
14560
|
+
# verify the required parameter 'name' is set
|
14561
|
+
if @api_client.config.client_side_validation && name.nil?
|
14562
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_page_count"
|
14563
|
+
end
|
14564
|
+
# resource path
|
14565
|
+
local_var_path = "/cells/{name}/pagecount".sub('{' + 'name' + '}', name.to_s)
|
14566
|
+
|
14567
|
+
# query parameters
|
14568
|
+
query_params = {}
|
14569
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
14570
|
+
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
|
14571
|
+
|
14572
|
+
# header parameters
|
14573
|
+
header_params = {}
|
14574
|
+
# HTTP header 'Accept' (if needed)
|
14575
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
14576
|
+
# HTTP header 'Content-Type'
|
14577
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
14578
|
+
|
14579
|
+
# form parameters
|
14580
|
+
form_params = {}
|
14581
|
+
|
14582
|
+
# http body (model)
|
14583
|
+
post_body = nil
|
14584
|
+
#auth_names = []
|
14585
|
+
auth_names = ['JWT']
|
14586
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
14587
|
+
:header_params => header_params,
|
14588
|
+
:query_params => query_params,
|
14589
|
+
:form_params => form_params,
|
14590
|
+
:body => post_body,
|
14591
|
+
:auth_names => auth_names,
|
14592
|
+
:return_type => 'Object')
|
14593
|
+
if @api_client.config.debugging
|
14594
|
+
@api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_page_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
14595
|
+
end
|
14596
|
+
return data, status_code, headers
|
14597
|
+
end
|
14598
|
+
|
14533
14599
|
# Read workbook info or export.
|
14534
14600
|
#
|
14535
14601
|
# @param name The document name.
|
@@ -16188,7 +16254,7 @@ module AsposeCellsCloud
|
|
16188
16254
|
# @param [Hash] opts the optional parameters
|
16189
16255
|
# @option opts [String] :folder Document's folder.
|
16190
16256
|
# @option opts [String] :storage_name storage name.
|
16191
|
-
# @return [
|
16257
|
+
# @return [CellsCloudResponse]
|
16192
16258
|
def cells_worksheet_validations_delete_worksheet_validation(name, sheet_name, validation_index, opts = {})
|
16193
16259
|
data, _status_code, _headers = cells_worksheet_validations_delete_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts)
|
16194
16260
|
return data
|
@@ -16202,7 +16268,7 @@ module AsposeCellsCloud
|
|
16202
16268
|
# @param [Hash] opts the optional parameters
|
16203
16269
|
# @option opts [String] :folder Document's folder.
|
16204
16270
|
# @option opts [String] :storage_name storage name.
|
16205
|
-
# @return [Array<(
|
16271
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
16206
16272
|
def cells_worksheet_validations_delete_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {})
|
16207
16273
|
if @api_client.config.debugging
|
16208
16274
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_delete_worksheet_validation ..."
|
@@ -16248,7 +16314,7 @@ module AsposeCellsCloud
|
|
16248
16314
|
:form_params => form_params,
|
16249
16315
|
:body => post_body,
|
16250
16316
|
:auth_names => auth_names,
|
16251
|
-
:return_type => '
|
16317
|
+
:return_type => 'CellsCloudResponse')
|
16252
16318
|
if @api_client.config.debugging
|
16253
16319
|
@api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_delete_worksheet_validation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
16254
16320
|
end
|
@@ -16697,7 +16763,7 @@ module AsposeCellsCloud
|
|
16697
16763
|
# @param [Hash] opts the optional parameters
|
16698
16764
|
# @option opts [String] :folder Document's folder.
|
16699
16765
|
# @option opts [String] :storage_name storage name.
|
16700
|
-
# @return [
|
16766
|
+
# @return [CellsCloudResponse]
|
16701
16767
|
def cells_worksheets_delete_worksheet(name, sheet_name, opts = {})
|
16702
16768
|
data, _status_code, _headers = cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts)
|
16703
16769
|
return data
|
@@ -16710,7 +16776,7 @@ module AsposeCellsCloud
|
|
16710
16776
|
# @param [Hash] opts the optional parameters
|
16711
16777
|
# @option opts [String] :folder Document's folder.
|
16712
16778
|
# @option opts [String] :storage_name storage name.
|
16713
|
-
# @return [Array<(
|
16779
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
16714
16780
|
def cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts = {})
|
16715
16781
|
if @api_client.config.debugging
|
16716
16782
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet ..."
|
@@ -16752,7 +16818,7 @@ module AsposeCellsCloud
|
|
16752
16818
|
:form_params => form_params,
|
16753
16819
|
:body => post_body,
|
16754
16820
|
:auth_names => auth_names,
|
16755
|
-
:return_type => '
|
16821
|
+
:return_type => 'CellsCloudResponse')
|
16756
16822
|
if @api_client.config.debugging
|
16757
16823
|
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
16758
16824
|
end
|
@@ -17069,6 +17135,75 @@ module AsposeCellsCloud
|
|
17069
17135
|
return data, status_code, headers
|
17070
17136
|
end
|
17071
17137
|
|
17138
|
+
# Read worksheets info.
|
17139
|
+
#
|
17140
|
+
# @param name
|
17141
|
+
# @param match_condition
|
17142
|
+
# @param [Hash] opts the optional parameters
|
17143
|
+
# @option opts [String] :folder
|
17144
|
+
# @option opts [String] :storage_name
|
17145
|
+
# @return [CellsCloudResponse]
|
17146
|
+
def cells_worksheets_delete_worksheets(name, match_condition, opts = {})
|
17147
|
+
data, _status_code, _headers = cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts)
|
17148
|
+
return data
|
17149
|
+
end
|
17150
|
+
|
17151
|
+
# Read worksheets info.
|
17152
|
+
#
|
17153
|
+
# @param name
|
17154
|
+
# @param match_condition
|
17155
|
+
# @param [Hash] opts the optional parameters
|
17156
|
+
# @option opts [String] :folder
|
17157
|
+
# @option opts [String] :storage_name
|
17158
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
17159
|
+
def cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts = {})
|
17160
|
+
if @api_client.config.debugging
|
17161
|
+
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheets ..."
|
17162
|
+
end
|
17163
|
+
@api_client.request_token_if_needed
|
17164
|
+
# verify the required parameter 'name' is set
|
17165
|
+
if @api_client.config.client_side_validation && name.nil?
|
17166
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheets"
|
17167
|
+
end
|
17168
|
+
# verify the required parameter 'match_condition' is set
|
17169
|
+
if @api_client.config.client_side_validation && match_condition.nil?
|
17170
|
+
fail ArgumentError, "Missing the required parameter 'match_condition' when calling CellsApi.cells_worksheets_delete_worksheets"
|
17171
|
+
end
|
17172
|
+
# resource path
|
17173
|
+
local_var_path = "/cells/{name}/worksheets".sub('{' + 'name' + '}', name.to_s)
|
17174
|
+
|
17175
|
+
# query parameters
|
17176
|
+
query_params = {}
|
17177
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
17178
|
+
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
|
17179
|
+
|
17180
|
+
# header parameters
|
17181
|
+
header_params = {}
|
17182
|
+
# HTTP header 'Accept' (if needed)
|
17183
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
17184
|
+
# HTTP header 'Content-Type'
|
17185
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
17186
|
+
|
17187
|
+
# form parameters
|
17188
|
+
form_params = {}
|
17189
|
+
|
17190
|
+
# http body (model)
|
17191
|
+
post_body = @api_client.object_to_http_body(match_condition)
|
17192
|
+
#auth_names = []
|
17193
|
+
auth_names = ['JWT']
|
17194
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
|
17195
|
+
:header_params => header_params,
|
17196
|
+
:query_params => query_params,
|
17197
|
+
:form_params => form_params,
|
17198
|
+
:body => post_body,
|
17199
|
+
:auth_names => auth_names,
|
17200
|
+
:return_type => 'CellsCloudResponse')
|
17201
|
+
if @api_client.config.debugging
|
17202
|
+
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
17203
|
+
end
|
17204
|
+
return data, status_code, headers
|
17205
|
+
end
|
17206
|
+
|
17072
17207
|
# Read worksheets ranges info.
|
17073
17208
|
#
|
17074
17209
|
# @param name Document name.
|
@@ -17132,6 +17267,75 @@ module AsposeCellsCloud
|
|
17132
17267
|
return data, status_code, headers
|
17133
17268
|
end
|
17134
17269
|
|
17270
|
+
# Get page count for worksheet.
|
17271
|
+
#
|
17272
|
+
# @param name Document name.
|
17273
|
+
# @param sheet_name The worksheet name.
|
17274
|
+
# @param [Hash] opts the optional parameters
|
17275
|
+
# @option opts [String] :folder Document's folder.
|
17276
|
+
# @option opts [String] :storage_name storage name.
|
17277
|
+
# @return [Object]
|
17278
|
+
def cells_worksheets_get_page_count(name, sheet_name, opts = {})
|
17279
|
+
data, _status_code, _headers = cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts)
|
17280
|
+
return data
|
17281
|
+
end
|
17282
|
+
|
17283
|
+
# Get page count for worksheet.
|
17284
|
+
#
|
17285
|
+
# @param name Document name.
|
17286
|
+
# @param sheet_name The worksheet name.
|
17287
|
+
# @param [Hash] opts the optional parameters
|
17288
|
+
# @option opts [String] :folder Document's folder.
|
17289
|
+
# @option opts [String] :storage_name storage name.
|
17290
|
+
# @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
|
17291
|
+
def cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts = {})
|
17292
|
+
if @api_client.config.debugging
|
17293
|
+
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_page_count ..."
|
17294
|
+
end
|
17295
|
+
@api_client.request_token_if_needed
|
17296
|
+
# verify the required parameter 'name' is set
|
17297
|
+
if @api_client.config.client_side_validation && name.nil?
|
17298
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_page_count"
|
17299
|
+
end
|
17300
|
+
# verify the required parameter 'sheet_name' is set
|
17301
|
+
if @api_client.config.client_side_validation && sheet_name.nil?
|
17302
|
+
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_page_count"
|
17303
|
+
end
|
17304
|
+
# resource path
|
17305
|
+
local_var_path = "/cells/{name}/worksheets/{sheetName}/pagecount".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
|
17306
|
+
|
17307
|
+
# query parameters
|
17308
|
+
query_params = {}
|
17309
|
+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
|
17310
|
+
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
|
17311
|
+
|
17312
|
+
# header parameters
|
17313
|
+
header_params = {}
|
17314
|
+
# HTTP header 'Accept' (if needed)
|
17315
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
17316
|
+
# HTTP header 'Content-Type'
|
17317
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
17318
|
+
|
17319
|
+
# form parameters
|
17320
|
+
form_params = {}
|
17321
|
+
|
17322
|
+
# http body (model)
|
17323
|
+
post_body = nil
|
17324
|
+
#auth_names = []
|
17325
|
+
auth_names = ['JWT']
|
17326
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path,
|
17327
|
+
:header_params => header_params,
|
17328
|
+
:query_params => query_params,
|
17329
|
+
:form_params => form_params,
|
17330
|
+
:body => post_body,
|
17331
|
+
:auth_names => auth_names,
|
17332
|
+
:return_type => 'Object')
|
17333
|
+
if @api_client.config.debugging
|
17334
|
+
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_page_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
17335
|
+
end
|
17336
|
+
return data, status_code, headers
|
17337
|
+
end
|
17338
|
+
|
17135
17339
|
# Read worksheet info or export.
|
17136
17340
|
#
|
17137
17341
|
# @param name The document name.
|
@@ -18067,7 +18271,7 @@ module AsposeCellsCloud
|
|
18067
18271
|
# @option opts [WorksheetMovingRequest] :moving with moving parameters.
|
18068
18272
|
# @option opts [String] :folder The document folder.
|
18069
18273
|
# @option opts [String] :storage_name storage name.
|
18070
|
-
# @return [
|
18274
|
+
# @return [CellsCloudResponse]
|
18071
18275
|
def cells_worksheets_post_move_worksheet(name, sheet_name, opts = {})
|
18072
18276
|
data, _status_code, _headers = cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts)
|
18073
18277
|
return data
|
@@ -18081,7 +18285,7 @@ module AsposeCellsCloud
|
|
18081
18285
|
# @option opts [WorksheetMovingRequest] :moving with moving parameters.
|
18082
18286
|
# @option opts [String] :folder The document folder.
|
18083
18287
|
# @option opts [String] :storage_name storage name.
|
18084
|
-
# @return [Array<(
|
18288
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
18085
18289
|
def cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts = {})
|
18086
18290
|
if @api_client.config.debugging
|
18087
18291
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_move_worksheet ..."
|
@@ -18123,7 +18327,7 @@ module AsposeCellsCloud
|
|
18123
18327
|
:form_params => form_params,
|
18124
18328
|
:body => post_body,
|
18125
18329
|
:auth_names => auth_names,
|
18126
|
-
:return_type => '
|
18330
|
+
:return_type => 'CellsCloudResponse')
|
18127
18331
|
if @api_client.config.debugging
|
18128
18332
|
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_move_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
18129
18333
|
end
|
@@ -18676,7 +18880,7 @@ module AsposeCellsCloud
|
|
18676
18880
|
# @option opts [String] :sheettype The new sheet type.
|
18677
18881
|
# @option opts [String] :folder Document folder.
|
18678
18882
|
# @option opts [String] :storage_name storage name.
|
18679
|
-
# @return [
|
18883
|
+
# @return [CellsCloudResponse]
|
18680
18884
|
def cells_worksheets_put_add_new_worksheet(name, sheet_name, opts = {})
|
18681
18885
|
data, _status_code, _headers = cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts)
|
18682
18886
|
return data
|
@@ -18691,7 +18895,7 @@ module AsposeCellsCloud
|
|
18691
18895
|
# @option opts [String] :sheettype The new sheet type.
|
18692
18896
|
# @option opts [String] :folder Document folder.
|
18693
18897
|
# @option opts [String] :storage_name storage name.
|
18694
|
-
# @return [Array<(
|
18898
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
18695
18899
|
def cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts = {})
|
18696
18900
|
if @api_client.config.debugging
|
18697
18901
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_add_new_worksheet ..."
|
@@ -18735,7 +18939,7 @@ module AsposeCellsCloud
|
|
18735
18939
|
:form_params => form_params,
|
18736
18940
|
:body => post_body,
|
18737
18941
|
:auth_names => auth_names,
|
18738
|
-
:return_type => '
|
18942
|
+
:return_type => 'CellsCloudResponse')
|
18739
18943
|
if @api_client.config.debugging
|
18740
18944
|
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_add_new_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
18741
18945
|
end
|
@@ -18750,7 +18954,7 @@ module AsposeCellsCloud
|
|
18750
18954
|
# @param [Hash] opts the optional parameters
|
18751
18955
|
# @option opts [String] :folder The document folder.
|
18752
18956
|
# @option opts [String] :storage_name storage name.
|
18753
|
-
# @return [
|
18957
|
+
# @return [CellsCloudResponse]
|
18754
18958
|
def cells_worksheets_put_change_visibility_worksheet(name, sheet_name, is_visible, opts = {})
|
18755
18959
|
data, _status_code, _headers = cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts)
|
18756
18960
|
return data
|
@@ -18764,7 +18968,7 @@ module AsposeCellsCloud
|
|
18764
18968
|
# @param [Hash] opts the optional parameters
|
18765
18969
|
# @option opts [String] :folder The document folder.
|
18766
18970
|
# @option opts [String] :storage_name storage name.
|
18767
|
-
# @return [Array<(
|
18971
|
+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
|
18768
18972
|
def cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts = {})
|
18769
18973
|
if @api_client.config.debugging
|
18770
18974
|
@api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_change_visibility_worksheet ..."
|
@@ -18811,7 +19015,7 @@ module AsposeCellsCloud
|
|
18811
19015
|
:form_params => form_params,
|
18812
19016
|
:body => post_body,
|
18813
19017
|
:auth_names => auth_names,
|
18814
|
-
:return_type => '
|
19018
|
+
:return_type => 'CellsCloudResponse')
|
18815
19019
|
if @api_client.config.debugging
|
18816
19020
|
@api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_change_visibility_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
18817
19021
|
end
|
@@ -19977,6 +20181,63 @@ module AsposeCellsCloud
|
|
19977
20181
|
return data, status_code, headers
|
19978
20182
|
end
|
19979
20183
|
|
20184
|
+
#
|
20185
|
+
#
|
20186
|
+
# @param batch_convert_request
|
20187
|
+
# @param [Hash] opts the optional parameters
|
20188
|
+
# @return [File]
|
20189
|
+
def post_batch_convert(batch_convert_request, opts = {})
|
20190
|
+
data, _status_code, _headers = post_batch_convert_with_http_info(batch_convert_request, opts)
|
20191
|
+
return data
|
20192
|
+
end
|
20193
|
+
|
20194
|
+
#
|
20195
|
+
#
|
20196
|
+
# @param batch_convert_request
|
20197
|
+
# @param [Hash] opts the optional parameters
|
20198
|
+
# @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
|
20199
|
+
def post_batch_convert_with_http_info(batch_convert_request, opts = {})
|
20200
|
+
if @api_client.config.debugging
|
20201
|
+
@api_client.config.logger.debug "Calling API: CellsApi.post_batch_convert ..."
|
20202
|
+
end
|
20203
|
+
@api_client.request_token_if_needed
|
20204
|
+
# verify the required parameter 'batch_convert_request' is set
|
20205
|
+
if @api_client.config.client_side_validation && batch_convert_request.nil?
|
20206
|
+
fail ArgumentError, "Missing the required parameter 'batch_convert_request' when calling CellsApi.post_batch_convert"
|
20207
|
+
end
|
20208
|
+
# resource path
|
20209
|
+
local_var_path = "/cells/batch/convert"
|
20210
|
+
|
20211
|
+
# query parameters
|
20212
|
+
query_params = {}
|
20213
|
+
|
20214
|
+
# header parameters
|
20215
|
+
header_params = {}
|
20216
|
+
# HTTP header 'Accept' (if needed)
|
20217
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
20218
|
+
# HTTP header 'Content-Type'
|
20219
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
|
20220
|
+
|
20221
|
+
# form parameters
|
20222
|
+
form_params = {}
|
20223
|
+
|
20224
|
+
# http body (model)
|
20225
|
+
post_body = @api_client.object_to_http_body(batch_convert_request)
|
20226
|
+
#auth_names = []
|
20227
|
+
auth_names = ['JWT']
|
20228
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
20229
|
+
:header_params => header_params,
|
20230
|
+
:query_params => query_params,
|
20231
|
+
:form_params => form_params,
|
20232
|
+
:body => post_body,
|
20233
|
+
:auth_names => auth_names,
|
20234
|
+
:return_type => 'File')
|
20235
|
+
if @api_client.config.debugging
|
20236
|
+
@api_client.config.logger.debug "API called: CellsApi#post_batch_convert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
20237
|
+
end
|
20238
|
+
return data, status_code, headers
|
20239
|
+
end
|
20240
|
+
|
19980
20241
|
# Check if storage exists
|
19981
20242
|
#
|
19982
20243
|
# @param storage_name Storage name
|