Class: AsposeCellsCloud::CellsApi

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_cells_cloud/api/cells_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client_id, client_secret, app_version = 'v3.0', app_host = 'api.aspose.cloud', api_client = ApiClient.default) ⇒ CellsApi

Returns a new instance of CellsApi.



29
30
31
32
33
34
35
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 29

def initialize(client_id,client_secret, app_version = 'v3.0', app_host = 'api.aspose.cloud',  api_client = ApiClient.default)
  @api_client = api_client
  @api_client.config.client_secret = client_secret
  @api_client.config.client_id = client_id
  @api_client.config.api_version = app_version
  @api_client.config.host = app_host
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



27
28
29
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 27

def api_client
  @api_client
end

Instance Method Details

#cells_auto_filter_delete_worksheet_date_filter(name, sheet_name, field_index, date_time_grouping_type, opts = {}) ⇒ CellsCloudResponse

Removes a date filter.

Parameters:

  • name
  • sheet_name
  • field_index
  • date_time_grouping_type
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :year (Integer) — default: default to 0
  • :month (Integer) — default: default to 0
  • :day (Integer) — default: default to 0
  • :hour (Integer) — default: default to 0
  • :minute (Integer) — default: default to 0
  • :second (Integer) — default: default to 0
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



2567
2568
2569
2570
2571
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2567

def cells_auto_filter_delete_worksheet_date_filter(name, sheet_name, field_index, date_time_grouping_type, opts = {})
  warn "Warning: #cells_auto_filter_delete_worksheet_date_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_delete_worksheet_date_filter_with_http_info(name, sheet_name, field_index, date_time_grouping_type, opts)
  return data
end

#cells_auto_filter_delete_worksheet_date_filter_with_http_info(name, sheet_name, field_index, date_time_grouping_type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Removes a date filter.

Parameters:

  • name
  • sheet_name
  • field_index
  • date_time_grouping_type
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :year (Integer)
  • :month (Integer)
  • :day (Integer)
  • :hour (Integer)
  • :minute (Integer)
  • :second (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2589

def cells_auto_filter_delete_worksheet_date_filter_with_http_info(name, sheet_name, field_index, date_time_grouping_type, opts = {})
  warn "Warning: #cells_auto_filter_delete_worksheet_date_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_delete_worksheet_date_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_delete_worksheet_date_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_delete_worksheet_date_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_delete_worksheet_date_filter"
  end
  # verify the required parameter 'date_time_grouping_type' is set
  if @api_client.config.client_side_validation && date_time_grouping_type.nil?
    fail ArgumentError, "Missing the required parameter 'date_time_grouping_type' when calling CellsApi.cells_auto_filter_delete_worksheet_date_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/dateFilter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'fieldIndex'] = field_index
  query_params[:'dateTimeGroupingType'] = date_time_grouping_type
  query_params[:'year'] = opts[:'year'] if !opts[:'year'].nil?
  query_params[:'month'] = opts[:'month'] if !opts[:'month'].nil?
  query_params[:'day'] = opts[:'day'] if !opts[:'day'].nil?
  query_params[:'hour'] = opts[:'hour'] if !opts[:'hour'].nil?
  query_params[:'minute'] = opts[:'minute'] if !opts[:'minute'].nil?
  query_params[:'second'] = opts[:'second'] if !opts[:'second'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_delete_worksheet_date_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_delete_worksheet_filter(name, sheet_name, field_index, opts = {}) ⇒ CellsCloudResponse

Delete a filter for a filter column.

Parameters:

  • name
  • sheet_name
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :criteria (String)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



2664
2665
2666
2667
2668
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2664

def cells_auto_filter_delete_worksheet_filter(name, sheet_name, field_index, opts = {})
  warn "Warning: #cells_auto_filter_delete_worksheet_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_delete_worksheet_filter_with_http_info(name, sheet_name, field_index, opts)
  return data
end

#cells_auto_filter_delete_worksheet_filter_with_http_info(name, sheet_name, field_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete a filter for a filter column.

Parameters:

  • name
  • sheet_name
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :criteria (String)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2680

def cells_auto_filter_delete_worksheet_filter_with_http_info(name, sheet_name, field_index, opts = {})
  warn "Warning: #cells_auto_filter_delete_worksheet_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_delete_worksheet_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_delete_worksheet_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_delete_worksheet_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_delete_worksheet_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/filter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'fieldIndex'] = field_index
  query_params[:'criteria'] = opts[:'criteria'] if !opts[:'criteria'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_delete_worksheet_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_get_worksheet_auto_filter(name, sheet_name, opts = {}) ⇒ AutoFilterResponse

Get Auto filter Description

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



2743
2744
2745
2746
2747
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2743

def cells_auto_filter_get_worksheet_auto_filter(name, sheet_name, opts = {})
  warn "Warning: #cells_auto_filter_get_worksheet_auto_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_get_worksheet_auto_filter_with_http_info(name, sheet_name, opts)
  return data
end

#cells_auto_filter_get_worksheet_auto_filter_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(AutoFilterResponse, Fixnum, Hash)>

Get Auto filter Description

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(AutoFilterResponse, Fixnum, Hash)>)

    AutoFilterResponse data, response status code and response headers



2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2757

def cells_auto_filter_get_worksheet_auto_filter_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_auto_filter_get_worksheet_auto_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_get_worksheet_auto_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_get_worksheet_auto_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_get_worksheet_auto_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AutoFilterResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_get_worksheet_auto_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_post_worksheet_auto_filter_refresh(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



2814
2815
2816
2817
2818
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2814

def cells_auto_filter_post_worksheet_auto_filter_refresh(name, sheet_name, opts = {})
  warn "Warning: #cells_auto_filter_post_worksheet_auto_filter_refresh() is deprecated."
  data, _status_code, _headers = cells_auto_filter_post_worksheet_auto_filter_refresh_with_http_info(name, sheet_name, opts)
  return data
end

#cells_auto_filter_post_worksheet_auto_filter_refresh_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2828

def cells_auto_filter_post_worksheet_auto_filter_refresh_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_auto_filter_post_worksheet_auto_filter_refresh_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_post_worksheet_auto_filter_refresh ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_post_worksheet_auto_filter_refresh"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_post_worksheet_auto_filter_refresh"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/refresh".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_post_worksheet_auto_filter_refresh\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_post_worksheet_match_blanks(name, sheet_name, field_index, opts = {}) ⇒ CellsCloudResponse

Match all blank cell in the list.

Parameters:

  • name
  • sheet_name
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



2886
2887
2888
2889
2890
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2886

def cells_auto_filter_post_worksheet_match_blanks(name, sheet_name, field_index, opts = {})
  warn "Warning: #cells_auto_filter_post_worksheet_match_blanks() is deprecated."
  data, _status_code, _headers = cells_auto_filter_post_worksheet_match_blanks_with_http_info(name, sheet_name, field_index, opts)
  return data
end

#cells_auto_filter_post_worksheet_match_blanks_with_http_info(name, sheet_name, field_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Match all blank cell in the list.

Parameters:

  • name
  • sheet_name
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2901

def cells_auto_filter_post_worksheet_match_blanks_with_http_info(name, sheet_name, field_index, opts = {})
  warn "Warning: #cells_auto_filter_post_worksheet_match_blanks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_post_worksheet_match_blanks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_post_worksheet_match_blanks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_post_worksheet_match_blanks"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_post_worksheet_match_blanks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/matchBlanks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'fieldIndex'] = field_index
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_post_worksheet_match_blanks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_post_worksheet_match_non_blanks(name, sheet_name, field_index, opts = {}) ⇒ CellsCloudResponse

Match all not blank cell in the list.

Parameters:

  • name
  • sheet_name
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



2964
2965
2966
2967
2968
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2964

def cells_auto_filter_post_worksheet_match_non_blanks(name, sheet_name, field_index, opts = {})
  warn "Warning: #cells_auto_filter_post_worksheet_match_non_blanks() is deprecated."
  data, _status_code, _headers = cells_auto_filter_post_worksheet_match_non_blanks_with_http_info(name, sheet_name, field_index, opts)
  return data
end

#cells_auto_filter_post_worksheet_match_non_blanks_with_http_info(name, sheet_name, field_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Match all not blank cell in the list.

Parameters:

  • name
  • sheet_name
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2979

def cells_auto_filter_post_worksheet_match_non_blanks_with_http_info(name, sheet_name, field_index, opts = {})
  warn "Warning: #cells_auto_filter_post_worksheet_match_non_blanks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_post_worksheet_match_non_blanks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_post_worksheet_match_non_blanks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_post_worksheet_match_non_blanks"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_post_worksheet_match_non_blanks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/matchNonBlanks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'fieldIndex'] = field_index
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_post_worksheet_match_non_blanks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_color_filter(name, sheet_name, range, field_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :color_filter (ColorFilterRequest)
  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3046
3047
3048
3049
3050
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3046

def cells_auto_filter_put_worksheet_color_filter(name, sheet_name, range, field_index, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_color_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_color_filter_with_http_info(name, sheet_name, range, field_index, opts)
  return data
end

#cells_auto_filter_put_worksheet_color_filter_with_http_info(name, sheet_name, range, field_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :color_filter (ColorFilterRequest)
  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3065

def cells_auto_filter_put_worksheet_color_filter_with_http_info(name, sheet_name, range, field_index, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_color_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_color_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_color_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_color_filter"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_color_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_color_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/colorFilter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'color_filter'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_color_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_custom_filter(name, sheet_name, range, field_index, operator_type1, criteria1, opts = {}) ⇒ CellsCloudResponse

Filters a list with a custom criteria.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • operator_type1
  • criteria1
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :is_and (BOOLEAN)
  • :operator_type2 (String)
  • :criteria2 (String)
  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3143
3144
3145
3146
3147
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3143

def cells_auto_filter_put_worksheet_custom_filter(name, sheet_name, range, field_index, operator_type1, criteria1, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_custom_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_custom_filter_with_http_info(name, sheet_name, range, field_index, operator_type1, criteria1, opts)
  return data
end

#cells_auto_filter_put_worksheet_custom_filter_with_http_info(name, sheet_name, range, field_index, operator_type1, criteria1, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Filters a list with a custom criteria.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • operator_type1
  • criteria1
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :is_and (BOOLEAN)
  • :operator_type2 (String)
  • :criteria2 (String)
  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3166

def cells_auto_filter_put_worksheet_custom_filter_with_http_info(name, sheet_name, range, field_index, operator_type1, criteria1, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_custom_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_custom_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_custom_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_custom_filter"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_custom_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_custom_filter"
  end
  # verify the required parameter 'operator_type1' is set
  if @api_client.config.client_side_validation && operator_type1.nil?
    fail ArgumentError, "Missing the required parameter 'operator_type1' when calling CellsApi.cells_auto_filter_put_worksheet_custom_filter"
  end
  # verify the required parameter 'criteria1' is set
  if @api_client.config.client_side_validation && criteria1.nil?
    fail ArgumentError, "Missing the required parameter 'criteria1' when calling CellsApi.cells_auto_filter_put_worksheet_custom_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/custom".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'operatorType1'] = operator_type1
  query_params[:'criteria1'] = criteria1
  query_params[:'isAnd'] = opts[:'is_and'] if !opts[:'is_and'].nil?
  query_params[:'operatorType2'] = opts[:'operator_type2'] if !opts[:'operator_type2'].nil?
  query_params[:'criteria2'] = opts[:'criteria2'] if !opts[:'criteria2'].nil?
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_custom_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_date_filter(name, sheet_name, range, field_index, date_time_grouping_type, opts = {}) ⇒ CellsCloudResponse

add date filter in worksheet

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • date_time_grouping_type
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :year (Integer) — default: default to 0
  • :month (Integer) — default: default to 0
  • :day (Integer) — default: default to 0
  • :hour (Integer) — default: default to 0
  • :minute (Integer) — default: default to 0
  • :second (Integer) — default: default to 0
  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3259
3260
3261
3262
3263
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3259

def cells_auto_filter_put_worksheet_date_filter(name, sheet_name, range, field_index, date_time_grouping_type, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_date_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_date_filter_with_http_info(name, sheet_name, range, field_index, date_time_grouping_type, opts)
  return data
end

#cells_auto_filter_put_worksheet_date_filter_with_http_info(name, sheet_name, range, field_index, date_time_grouping_type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

add date filter in worksheet

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • date_time_grouping_type
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :year (Integer)
  • :month (Integer)
  • :day (Integer)
  • :hour (Integer)
  • :minute (Integer)
  • :second (Integer)
  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3284

def cells_auto_filter_put_worksheet_date_filter_with_http_info(name, sheet_name, range, field_index, date_time_grouping_type, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_date_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_date_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_date_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_date_filter"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_date_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_date_filter"
  end
  # verify the required parameter 'date_time_grouping_type' is set
  if @api_client.config.client_side_validation && date_time_grouping_type.nil?
    fail ArgumentError, "Missing the required parameter 'date_time_grouping_type' when calling CellsApi.cells_auto_filter_put_worksheet_date_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/dateFilter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'dateTimeGroupingType'] = date_time_grouping_type
  query_params[:'year'] = opts[:'year'] if !opts[:'year'].nil?
  query_params[:'month'] = opts[:'month'] if !opts[:'month'].nil?
  query_params[:'day'] = opts[:'day'] if !opts[:'day'].nil?
  query_params[:'hour'] = opts[:'hour'] if !opts[:'hour'].nil?
  query_params[:'minute'] = opts[:'minute'] if !opts[:'minute'].nil?
  query_params[:'second'] = opts[:'second'] if !opts[:'second'].nil?
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_date_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_dynamic_filter(name, sheet_name, range, field_index, dynamic_filter_type, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • dynamic_filter_type
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3369
3370
3371
3372
3373
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3369

def cells_auto_filter_put_worksheet_dynamic_filter(name, sheet_name, range, field_index, dynamic_filter_type, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_dynamic_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_dynamic_filter_with_http_info(name, sheet_name, range, field_index, dynamic_filter_type, opts)
  return data
end

#cells_auto_filter_put_worksheet_dynamic_filter_with_http_info(name, sheet_name, range, field_index, dynamic_filter_type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • dynamic_filter_type
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3388

def cells_auto_filter_put_worksheet_dynamic_filter_with_http_info(name, sheet_name, range, field_index, dynamic_filter_type, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_dynamic_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_dynamic_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_dynamic_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_dynamic_filter"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_dynamic_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_dynamic_filter"
  end
  # verify the required parameter 'dynamic_filter_type' is set
  if @api_client.config.client_side_validation && dynamic_filter_type.nil?
    fail ArgumentError, "Missing the required parameter 'dynamic_filter_type' when calling CellsApi.cells_auto_filter_put_worksheet_dynamic_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/dynamicFilter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'dynamicFilterType'] = dynamic_filter_type
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_dynamic_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_filter(name, sheet_name, range, field_index, criteria, opts = {}) ⇒ CellsCloudResponse

Adds a filter for a filter column.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • criteria
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3467
3468
3469
3470
3471
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3467

def cells_auto_filter_put_worksheet_filter(name, sheet_name, range, field_index, criteria, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_filter_with_http_info(name, sheet_name, range, field_index, criteria, opts)
  return data
end

#cells_auto_filter_put_worksheet_filter_top10(name, sheet_name, range, field_index, is_top, is_percent, item_count, opts = {}) ⇒ CellsCloudResponse

Filter the top 10 item in the list

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • is_top
  • is_percent
  • item_count
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3567
3568
3569
3570
3571
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3567

def cells_auto_filter_put_worksheet_filter_top10(name, sheet_name, range, field_index, is_top, is_percent, item_count, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_filter_top10() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_filter_top10_with_http_info(name, sheet_name, range, field_index, is_top, is_percent, item_count, opts)
  return data
end

#cells_auto_filter_put_worksheet_filter_top10_with_http_info(name, sheet_name, range, field_index, is_top, is_percent, item_count, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Filter the top 10 item in the list

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • is_top
  • is_percent
  • item_count
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3588

def cells_auto_filter_put_worksheet_filter_top10_with_http_info(name, sheet_name, range, field_index, is_top, is_percent, item_count, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_filter_top10_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_filter_top10 ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # verify the required parameter 'is_top' is set
  if @api_client.config.client_side_validation && is_top.nil?
    fail ArgumentError, "Missing the required parameter 'is_top' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # verify the required parameter 'is_percent' is set
  if @api_client.config.client_side_validation && is_percent.nil?
    fail ArgumentError, "Missing the required parameter 'is_percent' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # verify the required parameter 'item_count' is set
  if @api_client.config.client_side_validation && item_count.nil?
    fail ArgumentError, "Missing the required parameter 'item_count' when calling CellsApi.cells_auto_filter_put_worksheet_filter_top10"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/filterTop10".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'isTop'] = is_top
  query_params[:'isPercent'] = is_percent
  query_params[:'itemCount'] = item_count
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_filter_top10\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_filter_with_http_info(name, sheet_name, range, field_index, criteria, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Adds a filter for a filter column.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • criteria
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3486

def cells_auto_filter_put_worksheet_filter_with_http_info(name, sheet_name, range, field_index, criteria, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_filter"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_filter"
  end
  # verify the required parameter 'criteria' is set
  if @api_client.config.client_side_validation && criteria.nil?
    fail ArgumentError, "Missing the required parameter 'criteria' when calling CellsApi.cells_auto_filter_put_worksheet_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/filter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'criteria'] = criteria
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_auto_filter_put_worksheet_icon_filter(name, sheet_name, range, field_index, icon_set_type, icon_id, opts = {}) ⇒ CellsCloudResponse

Adds an icon filter.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • icon_set_type
  • icon_id
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



3678
3679
3680
3681
3682
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3678

def cells_auto_filter_put_worksheet_icon_filter(name, sheet_name, range, field_index, icon_set_type, icon_id, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_icon_filter() is deprecated."
  data, _status_code, _headers = cells_auto_filter_put_worksheet_icon_filter_with_http_info(name, sheet_name, range, field_index, icon_set_type, icon_id, opts)
  return data
end

#cells_auto_filter_put_worksheet_icon_filter_with_http_info(name, sheet_name, range, field_index, icon_set_type, icon_id, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Adds an icon filter.

Parameters:

  • name
  • sheet_name
  • range
  • field_index
  • icon_set_type
  • icon_id
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :match_blanks (BOOLEAN)
  • :refresh (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3698

def cells_auto_filter_put_worksheet_icon_filter_with_http_info(name, sheet_name, range, field_index, icon_set_type, icon_id, opts = {})
  warn "Warning: #cells_auto_filter_put_worksheet_icon_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_auto_filter_put_worksheet_icon_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_auto_filter_put_worksheet_icon_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_auto_filter_put_worksheet_icon_filter"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_auto_filter_put_worksheet_icon_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_auto_filter_put_worksheet_icon_filter"
  end
  # verify the required parameter 'icon_set_type' is set
  if @api_client.config.client_side_validation && icon_set_type.nil?
    fail ArgumentError, "Missing the required parameter 'icon_set_type' when calling CellsApi.cells_auto_filter_put_worksheet_icon_filter"
  end
  # verify the required parameter 'icon_id' is set
  if @api_client.config.client_side_validation && icon_id.nil?
    fail ArgumentError, "Missing the required parameter 'icon_id' when calling CellsApi.cells_auto_filter_put_worksheet_icon_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoFilter/iconFilter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'fieldIndex'] = field_index
  query_params[:'iconSetType'] = icon_set_type
  query_params[:'iconId'] = icon_id
  query_params[:'matchBlanks'] = opts[:'match_blanks'] if !opts[:'match_blanks'].nil?
  query_params[:'refresh'] = opts[:'refresh'] if !opts[:'refresh'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_auto_filter_put_worksheet_icon_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_autoshapes_get_worksheet_autoshape(name, sheet_name, autoshape_number, opts = {}) ⇒ File

Get autoshape info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • autoshape_number

    The autoshape number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    Exported format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (File)


3779
3780
3781
3782
3783
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3779

def cells_autoshapes_get_worksheet_autoshape(name, sheet_name, autoshape_number, opts = {})
  warn "Warning: #cells_autoshapes_get_worksheet_autoshape() is deprecated."
  data, _status_code, _headers = cells_autoshapes_get_worksheet_autoshape_with_http_info(name, sheet_name, autoshape_number, opts)
  return data
end

#cells_autoshapes_get_worksheet_autoshape_with_http_info(name, sheet_name, autoshape_number, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Get autoshape info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • autoshape_number

    The autoshape number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    Exported format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3795

def cells_autoshapes_get_worksheet_autoshape_with_http_info(name, sheet_name, autoshape_number, opts = {})
  warn "Warning: #cells_autoshapes_get_worksheet_autoshape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_autoshapes_get_worksheet_autoshape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_autoshapes_get_worksheet_autoshape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_autoshapes_get_worksheet_autoshape"
  end
  # verify the required parameter 'autoshape_number' is set
  if @api_client.config.client_side_validation && autoshape_number.nil?
    fail ArgumentError, "Missing the required parameter 'autoshape_number' when calling CellsApi.cells_autoshapes_get_worksheet_autoshape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoshapes/{autoshapeNumber}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'autoshapeNumber' + '}', autoshape_number.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_autoshapes_get_worksheet_autoshape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_autoshapes_get_worksheet_autoshapes(name, sheet_name, opts = {}) ⇒ AutoShapesResponse

Get worksheet autoshapes info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



3857
3858
3859
3860
3861
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3857

def cells_autoshapes_get_worksheet_autoshapes(name, sheet_name, opts = {})
  warn "Warning: #cells_autoshapes_get_worksheet_autoshapes() is deprecated."
  data, _status_code, _headers = cells_autoshapes_get_worksheet_autoshapes_with_http_info(name, sheet_name, opts)
  return data
end

#cells_autoshapes_get_worksheet_autoshapes_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(AutoShapesResponse, Fixnum, Hash)>

Get worksheet autoshapes info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(AutoShapesResponse, Fixnum, Hash)>)

    AutoShapesResponse data, response status code and response headers



3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3871

def cells_autoshapes_get_worksheet_autoshapes_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_autoshapes_get_worksheet_autoshapes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_autoshapes_get_worksheet_autoshapes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_autoshapes_get_worksheet_autoshapes"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_autoshapes_get_worksheet_autoshapes"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autoshapes".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AutoShapesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_autoshapes_get_worksheet_autoshapes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_chart_area_get_chart_area(name, sheet_name, chart_index, opts = {}) ⇒ ChartAreaResponse

Get chart area info.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



3929
3930
3931
3932
3933
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3929

def cells_chart_area_get_chart_area(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_chart_area_get_chart_area() is deprecated."
  data, _status_code, _headers = cells_chart_area_get_chart_area_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_chart_area_get_chart_area_border(name, sheet_name, chart_index, opts = {}) ⇒ LineResponse

Get chart area border info.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4006
4007
4008
4009
4010
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4006

def cells_chart_area_get_chart_area_border(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_chart_area_get_chart_area_border() is deprecated."
  data, _status_code, _headers = cells_chart_area_get_chart_area_border_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_chart_area_get_chart_area_border_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(LineResponse, Fixnum, Hash)>

Get chart area border info.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(LineResponse, Fixnum, Hash)>)

    LineResponse data, response status code and response headers



4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4021

def cells_chart_area_get_chart_area_border_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_chart_area_get_chart_area_border_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_chart_area_get_chart_area_border ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_chart_area_get_chart_area_border"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_chart_area_get_chart_area_border"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_chart_area_get_chart_area_border"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/chartArea/border".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'LineResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_chart_area_get_chart_area_border\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_chart_area_get_chart_area_fill_format(name, sheet_name, chart_index, opts = {}) ⇒ FillFormatResponse

Get chart area fill format info.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4083
4084
4085
4086
4087
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4083

def cells_chart_area_get_chart_area_fill_format(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_chart_area_get_chart_area_fill_format() is deprecated."
  data, _status_code, _headers = cells_chart_area_get_chart_area_fill_format_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_chart_area_get_chart_area_fill_format_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(FillFormatResponse, Fixnum, Hash)>

Get chart area fill format info.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(FillFormatResponse, Fixnum, Hash)>)

    FillFormatResponse data, response status code and response headers



4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4098

def cells_chart_area_get_chart_area_fill_format_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_chart_area_get_chart_area_fill_format_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_chart_area_get_chart_area_fill_format ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_chart_area_get_chart_area_fill_format"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_chart_area_get_chart_area_fill_format"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_chart_area_get_chart_area_fill_format"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/chartArea/fillFormat".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FillFormatResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_chart_area_get_chart_area_fill_format\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_chart_area_get_chart_area_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(ChartAreaResponse, Fixnum, Hash)>

Get chart area info.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ChartAreaResponse, Fixnum, Hash)>)

    ChartAreaResponse data, response status code and response headers



3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 3944

def cells_chart_area_get_chart_area_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_chart_area_get_chart_area_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_chart_area_get_chart_area ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_chart_area_get_chart_area"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_chart_area_get_chart_area"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_chart_area_get_chart_area"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/chartArea".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ChartAreaResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_chart_area_get_chart_area\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_delete_worksheet_chart_legend(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Hide legend in chart

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4160
4161
4162
4163
4164
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4160

def cells_charts_delete_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_chart_legend() is deprecated."
  data, _status_code, _headers = cells_charts_delete_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_delete_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Hide legend in chart

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4175

def cells_charts_delete_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_chart_legend_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_delete_worksheet_chart_legend ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_delete_worksheet_chart_legend"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_delete_worksheet_chart_legend"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_delete_worksheet_chart_legend"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_delete_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_delete_worksheet_chart_title(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Hide title in chart

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4237
4238
4239
4240
4241
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4237

def cells_charts_delete_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_chart_title() is deprecated."
  data, _status_code, _headers = cells_charts_delete_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_delete_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Hide title in chart

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4252

def cells_charts_delete_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_chart_title_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_delete_worksheet_chart_title ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_delete_worksheet_chart_title"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_delete_worksheet_chart_title"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_delete_worksheet_chart_title"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_delete_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_delete_worksheet_clear_charts(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Clear the charts.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4313
4314
4315
4316
4317
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4313

def cells_charts_delete_worksheet_clear_charts(name, sheet_name, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_clear_charts() is deprecated."
  data, _status_code, _headers = cells_charts_delete_worksheet_clear_charts_with_http_info(name, sheet_name, opts)
  return data
end

#cells_charts_delete_worksheet_clear_charts_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clear the charts.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4327

def cells_charts_delete_worksheet_clear_charts_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_clear_charts_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_delete_worksheet_clear_charts ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_delete_worksheet_clear_charts"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_delete_worksheet_clear_charts"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_delete_worksheet_clear_charts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_delete_worksheet_delete_chart(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Delete worksheet chart by index.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4385
4386
4387
4388
4389
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4385

def cells_charts_delete_worksheet_delete_chart(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_delete_chart() is deprecated."
  data, _status_code, _headers = cells_charts_delete_worksheet_delete_chart_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_delete_worksheet_delete_chart_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet chart by index.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4400

def cells_charts_delete_worksheet_delete_chart_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_delete_worksheet_delete_chart_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_delete_worksheet_delete_chart ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_delete_worksheet_delete_chart"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_delete_worksheet_delete_chart"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_delete_worksheet_delete_chart"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_delete_worksheet_delete_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_chart_category_axis(name, sheet_name, chart_index, opts = {}) ⇒ AxisResponse

Get chart Category Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



4461
4462
4463
4464
4465
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4461

def cells_charts_get_chart_category_axis(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_category_axis() is deprecated."
  data, _status_code, _headers = cells_charts_get_chart_category_axis_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_chart_category_axis_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(AxisResponse, Fixnum, Hash)>

Get chart Category Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(AxisResponse, Fixnum, Hash)>)

    AxisResponse data, response status code and response headers



4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4476

def cells_charts_get_chart_category_axis_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_category_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_category_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_category_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_category_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_category_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/categoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AxisResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_chart_second_category_axis(name, sheet_name, chart_index, opts = {}) ⇒ AxisResponse

Get chart second category axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



4538
4539
4540
4541
4542
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4538

def cells_charts_get_chart_second_category_axis(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_second_category_axis() is deprecated."
  data, _status_code, _headers = cells_charts_get_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(AxisResponse, Fixnum, Hash)>

Get chart second category axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(AxisResponse, Fixnum, Hash)>)

    AxisResponse data, response status code and response headers



4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4553

def cells_charts_get_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_second_category_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_second_category_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_second_category_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_second_category_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_second_category_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondcategoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AxisResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_second_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_chart_second_value_axis(name, sheet_name, chart_index, opts = {}) ⇒ AxisResponse

Get chart second value axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



4615
4616
4617
4618
4619
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4615

def cells_charts_get_chart_second_value_axis(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_second_value_axis() is deprecated."
  data, _status_code, _headers = cells_charts_get_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(AxisResponse, Fixnum, Hash)>

Get chart second value axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(AxisResponse, Fixnum, Hash)>)

    AxisResponse data, response status code and response headers



4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4630

def cells_charts_get_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_second_value_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_second_value_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_second_value_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_second_value_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_second_value_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondvalueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AxisResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_second_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_chart_series_axis(name, sheet_name, chart_index, opts = {}) ⇒ AxisResponse

Get chart Series Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



4692
4693
4694
4695
4696
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4692

def cells_charts_get_chart_series_axis(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_series_axis() is deprecated."
  data, _status_code, _headers = cells_charts_get_chart_series_axis_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_chart_series_axis_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(AxisResponse, Fixnum, Hash)>

Get chart Series Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(AxisResponse, Fixnum, Hash)>)

    AxisResponse data, response status code and response headers



4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4707

def cells_charts_get_chart_series_axis_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_series_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_series_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_series_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_series_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_series_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/seriesaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AxisResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_series_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_chart_value_axis(name, sheet_name, chart_index, opts = {}) ⇒ AxisResponse

Get chart Value Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



4769
4770
4771
4772
4773
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4769

def cells_charts_get_chart_value_axis(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_value_axis() is deprecated."
  data, _status_code, _headers = cells_charts_get_chart_value_axis_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_chart_value_axis_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(AxisResponse, Fixnum, Hash)>

Get chart Value Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(AxisResponse, Fixnum, Hash)>)

    AxisResponse data, response status code and response headers



4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4784

def cells_charts_get_chart_value_axis_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_chart_value_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_chart_value_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_chart_value_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_chart_value_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_chart_value_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/valueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AxisResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_chart_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_worksheet_chart(name, sheet_name, chart_number, opts = {}) ⇒ File

Get chart info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • chart_number

    The chart number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported file format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (File)


4847
4848
4849
4850
4851
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4847

def cells_charts_get_worksheet_chart(name, sheet_name, chart_number, opts = {})
  warn "Warning: #cells_charts_get_worksheet_chart() is deprecated."
  data, _status_code, _headers = cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts)
  return data
end

#cells_charts_get_worksheet_chart_legend(name, sheet_name, chart_index, opts = {}) ⇒ LegendResponse

Get chart legend

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



4926
4927
4928
4929
4930
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4926

def cells_charts_get_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_worksheet_chart_legend() is deprecated."
  data, _status_code, _headers = cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(LegendResponse, Fixnum, Hash)>

Get chart legend

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(LegendResponse, Fixnum, Hash)>)

    LegendResponse data, response status code and response headers



4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4941

def cells_charts_get_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_worksheet_chart_legend_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart_legend ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_worksheet_chart_legend"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'LegendResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_worksheet_chart_title(name, sheet_name, chart_index, opts = {}) ⇒ TitleResponse

Get chart title

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



5003
5004
5005
5006
5007
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5003

def cells_charts_get_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_worksheet_chart_title() is deprecated."
  data, _status_code, _headers = cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(TitleResponse, Fixnum, Hash)>

Get chart title

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(TitleResponse, Fixnum, Hash)>)

    TitleResponse data, response status code and response headers



5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5018

def cells_charts_get_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_get_worksheet_chart_title_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart_title ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart_title"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart_title"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_get_worksheet_chart_title"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'TitleResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Get chart info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • chart_number

    The chart number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported file format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 4863

def cells_charts_get_worksheet_chart_with_http_info(name, sheet_name, chart_number, opts = {})
  warn "Warning: #cells_charts_get_worksheet_chart_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_chart ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_chart"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_chart"
  end
  # verify the required parameter 'chart_number' is set
  if @api_client.config.client_side_validation && chart_number.nil?
    fail ArgumentError, "Missing the required parameter 'chart_number' when calling CellsApi.cells_charts_get_worksheet_chart"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartNumber}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartNumber' + '}', chart_number.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_get_worksheet_charts(name, sheet_name, opts = {}) ⇒ ChartsResponse

Get worksheet charts info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



5079
5080
5081
5082
5083
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5079

def cells_charts_get_worksheet_charts(name, sheet_name, opts = {})
  warn "Warning: #cells_charts_get_worksheet_charts() is deprecated."
  data, _status_code, _headers = cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts)
  return data
end

#cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ChartsResponse, Fixnum, Hash)>

Get worksheet charts info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ChartsResponse, Fixnum, Hash)>)

    ChartsResponse data, response status code and response headers



5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5093

def cells_charts_get_worksheet_charts_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_charts_get_worksheet_charts_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_get_worksheet_charts ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_get_worksheet_charts"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_get_worksheet_charts"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ChartsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_get_worksheet_charts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_chart_category_axis(name, sheet_name, chart_index, axis, opts = {}) ⇒ CellsCloudResponse

Update chart Category Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



5151
5152
5153
5154
5155
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5151

def cells_charts_post_chart_category_axis(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_category_axis() is deprecated."
  data, _status_code, _headers = cells_charts_post_chart_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
  return data
end

#cells_charts_post_chart_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart Category Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5167

def cells_charts_post_chart_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_category_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_category_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_category_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_category_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_category_axis"
  end
  # verify the required parameter 'axis' is set
  if @api_client.config.client_side_validation && axis.nil?
    fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_category_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/categoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(axis)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_chart_second_category_axis(name, sheet_name, chart_index, axis, opts = {}) ⇒ CellsCloudResponse

Update chart second category axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



5234
5235
5236
5237
5238
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5234

def cells_charts_post_chart_second_category_axis(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_second_category_axis() is deprecated."
  data, _status_code, _headers = cells_charts_post_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
  return data
end

#cells_charts_post_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart second category axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5250

def cells_charts_post_chart_second_category_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_second_category_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_second_category_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_second_category_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_second_category_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_second_category_axis"
  end
  # verify the required parameter 'axis' is set
  if @api_client.config.client_side_validation && axis.nil?
    fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_second_category_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondcategoryaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(axis)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_second_category_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_chart_second_value_axis(name, sheet_name, chart_index, axis, opts = {}) ⇒ CellsCloudResponse

Update chart second value axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



5317
5318
5319
5320
5321
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5317

def cells_charts_post_chart_second_value_axis(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_second_value_axis() is deprecated."
  data, _status_code, _headers = cells_charts_post_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
  return data
end

#cells_charts_post_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart second value axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5333

def cells_charts_post_chart_second_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_second_value_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_second_value_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_second_value_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_second_value_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_second_value_axis"
  end
  # verify the required parameter 'axis' is set
  if @api_client.config.client_side_validation && axis.nil?
    fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_second_value_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/secondvalueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(axis)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_second_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_chart_series_axis(name, sheet_name, chart_index, axis, opts = {}) ⇒ CellsCloudResponse

Update chart Series Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



5400
5401
5402
5403
5404
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5400

def cells_charts_post_chart_series_axis(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_series_axis() is deprecated."
  data, _status_code, _headers = cells_charts_post_chart_series_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
  return data
end

#cells_charts_post_chart_series_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart Series Axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5416

def cells_charts_post_chart_series_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_series_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_series_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_series_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_series_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_series_axis"
  end
  # verify the required parameter 'axis' is set
  if @api_client.config.client_side_validation && axis.nil?
    fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_series_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/seriesaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(axis)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_series_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_chart_value_axis(name, sheet_name, chart_index, axis, opts = {}) ⇒ CellsCloudResponse

Update chart value axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



5483
5484
5485
5486
5487
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5483

def cells_charts_post_chart_value_axis(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_value_axis() is deprecated."
  data, _status_code, _headers = cells_charts_post_chart_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts)
  return data
end

#cells_charts_post_chart_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart value axis

Parameters:

  • name
  • sheet_name
  • chart_index
  • axis
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5499

def cells_charts_post_chart_value_axis_with_http_info(name, sheet_name, chart_index, axis, opts = {})
  warn "Warning: #cells_charts_post_chart_value_axis_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_chart_value_axis ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_chart_value_axis"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_chart_value_axis"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_chart_value_axis"
  end
  # verify the required parameter 'axis' is set
  if @api_client.config.client_side_validation && axis.nil?
    fail ArgumentError, "Missing the required parameter 'axis' when calling CellsApi.cells_charts_post_chart_value_axis"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/valueaxis".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(axis)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_chart_value_axis\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_worksheet_chart(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Update chart propreties

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :chart (Chart)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



5566
5567
5568
5569
5570
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5566

def cells_charts_post_worksheet_chart(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_post_worksheet_chart() is deprecated."
  data, _status_code, _headers = cells_charts_post_worksheet_chart_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_post_worksheet_chart_legend(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Update chart legend

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :legend (Legend)
  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



5645
5646
5647
5648
5649
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5645

def cells_charts_post_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_post_worksheet_chart_legend() is deprecated."
  data, _status_code, _headers = cells_charts_post_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_post_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart legend

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :legend (Legend)
  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5661

def cells_charts_post_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_post_worksheet_chart_legend_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_worksheet_chart_legend ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_worksheet_chart_legend"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_worksheet_chart_legend"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_worksheet_chart_legend"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'legend'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_worksheet_chart_title(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Update chart title

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :title (Title)

    Chart title

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



5724
5725
5726
5727
5728
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5724

def cells_charts_post_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_post_worksheet_chart_title() is deprecated."
  data, _status_code, _headers = cells_charts_post_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_post_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart title

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :title (Title)

    Chart title

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5740

def cells_charts_post_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_post_worksheet_chart_title_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_worksheet_chart_title ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_worksheet_chart_title"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_worksheet_chart_title"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_worksheet_chart_title"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'title'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_post_worksheet_chart_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update chart propreties

Parameters:

  • name
  • sheet_name
  • chart_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :chart (Chart)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5582

def cells_charts_post_worksheet_chart_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_post_worksheet_chart_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_post_worksheet_chart ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_post_worksheet_chart"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_post_worksheet_chart"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_post_worksheet_chart"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'chart'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_post_worksheet_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_put_worksheet_add_chart(name, sheet_name, chart_type, opts = {}) ⇒ CellsCloudResponse

Add new chart to worksheet.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • chart_type

    Chart type, please refer property Type in chart resource.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :upper_left_row (Integer)

    New chart upper left row. (default to 0)

  • :upper_left_column (Integer)

    New chart upperleft column. (default to 0)

  • :lower_right_row (Integer)

    New chart lower right row. (default to 0)

  • :lower_right_column (Integer)

    New chart lower right column. (default to 0)

  • :area (String)

    Specifies values from which to plot the data series.

  • :is_vertical (BOOLEAN)

    Specifies whether to plot the series from a range of cell values by row or by column. (default to true)

  • :category_data (String)

    Gets or sets the range of category Axis values. It can be a range of cells (such as, &quot;d1:e10&quot;).

  • :is_auto_get_serial_name (BOOLEAN)

    Specifies whether auto update serial name. (default to true)

  • :title (String)

    Specifies chart title name.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

  • :data_labels (BOOLEAN) — default: default to true
  • :data_labels_position (String) — default: default to Above
  • :pivot_table_sheet (String)
  • :pivot_table_name (String)

Returns:



5815
5816
5817
5818
5819
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5815

def cells_charts_put_worksheet_add_chart(name, sheet_name, chart_type, opts = {})
  warn "Warning: #cells_charts_put_worksheet_add_chart() is deprecated."
  data, _status_code, _headers = cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts)
  return data
end

#cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add new chart to worksheet.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • chart_type

    Chart type, please refer property Type in chart resource.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :upper_left_row (Integer)

    New chart upper left row.

  • :upper_left_column (Integer)

    New chart upperleft column.

  • :lower_right_row (Integer)

    New chart lower right row.

  • :lower_right_column (Integer)

    New chart lower right column.

  • :area (String)

    Specifies values from which to plot the data series.

  • :is_vertical (BOOLEAN)

    Specifies whether to plot the series from a range of cell values by row or by column.

  • :category_data (String)

    Gets or sets the range of category Axis values. It can be a range of cells (such as, &quot;d1:e10&quot;).

  • :is_auto_get_serial_name (BOOLEAN)

    Specifies whether auto update serial name.

  • :title (String)

    Specifies chart title name.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

  • :data_labels (BOOLEAN)
  • :data_labels_position (String)
  • :pivot_table_sheet (String)
  • :pivot_table_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5843

def cells_charts_put_worksheet_add_chart_with_http_info(name, sheet_name, chart_type, opts = {})
  warn "Warning: #cells_charts_put_worksheet_add_chart_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_put_worksheet_add_chart ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_put_worksheet_add_chart"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_put_worksheet_add_chart"
  end
  # verify the required parameter 'chart_type' is set
  if @api_client.config.client_side_validation && chart_type.nil?
    fail ArgumentError, "Missing the required parameter 'chart_type' when calling CellsApi.cells_charts_put_worksheet_add_chart"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'chartType'] = chart_type
  query_params[:'upperLeftRow'] = opts[:'upper_left_row'] if !opts[:'upper_left_row'].nil?
  query_params[:'upperLeftColumn'] = opts[:'upper_left_column'] if !opts[:'upper_left_column'].nil?
  query_params[:'lowerRightRow'] = opts[:'lower_right_row'] if !opts[:'lower_right_row'].nil?
  query_params[:'lowerRightColumn'] = opts[:'lower_right_column'] if !opts[:'lower_right_column'].nil?
  query_params[:'area'] = opts[:'area'] if !opts[:'area'].nil?
  query_params[:'isVertical'] = opts[:'is_vertical'] if !opts[:'is_vertical'].nil?
  query_params[:'categoryData'] = opts[:'category_data'] if !opts[:'category_data'].nil?
  query_params[:'isAutoGetSerialName'] = opts[:'is_auto_get_serial_name'] if !opts[:'is_auto_get_serial_name'].nil?
  query_params[:'title'] = opts[:'title'] if !opts[:'title'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'dataLabels'] = opts[:'data_labels'] if !opts[:'data_labels'].nil?
  query_params[:'dataLabelsPosition'] = opts[:'data_labels_position'] if !opts[:'data_labels_position'].nil?
  query_params[:'pivotTableSheet'] = opts[:'pivot_table_sheet'] if !opts[:'pivot_table_sheet'].nil?
  query_params[:'pivotTableName'] = opts[:'pivot_table_name'] if !opts[:'pivot_table_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_put_worksheet_add_chart\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_put_worksheet_chart_legend(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Show legend in chart

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



5919
5920
5921
5922
5923
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5919

def cells_charts_put_worksheet_chart_legend(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_put_worksheet_chart_legend() is deprecated."
  data, _status_code, _headers = cells_charts_put_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_put_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Show legend in chart

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5934

def cells_charts_put_worksheet_chart_legend_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_put_worksheet_chart_legend_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_put_worksheet_chart_legend ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_put_worksheet_chart_legend"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_put_worksheet_chart_legend"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_put_worksheet_chart_legend"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/legend".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_put_worksheet_chart_legend\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_charts_put_worksheet_chart_title(name, sheet_name, chart_index, opts = {}) ⇒ CellsCloudResponse

Add chart title / Set chart title visible

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :title (Title)

    Chart title.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



5997
5998
5999
6000
6001
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 5997

def cells_charts_put_worksheet_chart_title(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_put_worksheet_chart_title() is deprecated."
  data, _status_code, _headers = cells_charts_put_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts)
  return data
end

#cells_charts_put_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add chart title / Set chart title visible

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • chart_index

    The chart index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :title (Title)

    Chart title.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6013

def cells_charts_put_worksheet_chart_title_with_http_info(name, sheet_name, chart_index, opts = {})
  warn "Warning: #cells_charts_put_worksheet_chart_title_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_charts_put_worksheet_chart_title ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_charts_put_worksheet_chart_title"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_charts_put_worksheet_chart_title"
  end
  # verify the required parameter 'chart_index' is set
  if @api_client.config.client_side_validation && chart_index.nil?
    fail ArgumentError, "Missing the required parameter 'chart_index' when calling CellsApi.cells_charts_put_worksheet_chart_title"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/charts/{chartIndex}/title".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'chartIndex' + '}', chart_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'title'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_charts_put_worksheet_chart_title\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_delete_worksheet_conditional_formatting(name, sheet_name, index, opts = {}) ⇒ CellsCloudResponse

Remove conditional formatting

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6075
6076
6077
6078
6079
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6075

def cells_conditional_formattings_delete_worksheet_conditional_formatting(name, sheet_name, index, opts = {})
  warn "Warning: #cells_conditional_formattings_delete_worksheet_conditional_formatting() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_delete_worksheet_conditional_formatting_with_http_info(name, sheet_name, index, opts)
  return data
end

#cells_conditional_formattings_delete_worksheet_conditional_formatting_area(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {}) ⇒ CellsCloudResponse

Remove cell area from conditional formatting.

Parameters:

  • name
  • sheet_name
  • start_row
  • start_column
  • total_rows
  • total_columns
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6155
6156
6157
6158
6159
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6155

def cells_conditional_formattings_delete_worksheet_conditional_formatting_area(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {})
  warn "Warning: #cells_conditional_formattings_delete_worksheet_conditional_formatting_area() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_delete_worksheet_conditional_formatting_area_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts)
  return data
end

#cells_conditional_formattings_delete_worksheet_conditional_formatting_area_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Remove cell area from conditional formatting.

Parameters:

  • name
  • sheet_name
  • start_row
  • start_column
  • total_rows
  • total_columns
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6173

def cells_conditional_formattings_delete_worksheet_conditional_formatting_area_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {})
  warn "Warning: #cells_conditional_formattings_delete_worksheet_conditional_formatting_area_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area"
  end
  # verify the required parameter 'start_row' is set
  if @api_client.config.client_side_validation && start_row.nil?
    fail ArgumentError, "Missing the required parameter 'start_row' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area"
  end
  # verify the required parameter 'start_column' is set
  if @api_client.config.client_side_validation && start_column.nil?
    fail ArgumentError, "Missing the required parameter 'start_column' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area"
  end
  # verify the required parameter 'total_rows' is set
  if @api_client.config.client_side_validation && total_rows.nil?
    fail ArgumentError, "Missing the required parameter 'total_rows' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area"
  end
  # verify the required parameter 'total_columns' is set
  if @api_client.config.client_side_validation && total_columns.nil?
    fail ArgumentError, "Missing the required parameter 'total_columns' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting_area"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/area".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startRow'] = start_row
  query_params[:'startColumn'] = start_column
  query_params[:'totalRows'] = total_rows
  query_params[:'totalColumns'] = total_columns
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_delete_worksheet_conditional_formatting_area\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_delete_worksheet_conditional_formatting_with_http_info(name, sheet_name, index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Remove conditional formatting

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6090

def cells_conditional_formattings_delete_worksheet_conditional_formatting_with_http_info(name, sheet_name, index, opts = {})
  warn "Warning: #cells_conditional_formattings_delete_worksheet_conditional_formatting_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formatting"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_delete_worksheet_conditional_formatting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_delete_worksheet_conditional_formattings(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Clear all condition formattings

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6250
6251
6252
6253
6254
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6250

def cells_conditional_formattings_delete_worksheet_conditional_formattings(name, sheet_name, opts = {})
  warn "Warning: #cells_conditional_formattings_delete_worksheet_conditional_formattings() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_delete_worksheet_conditional_formattings_with_http_info(name, sheet_name, opts)
  return data
end

#cells_conditional_formattings_delete_worksheet_conditional_formattings_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clear all condition formattings

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6264

def cells_conditional_formattings_delete_worksheet_conditional_formattings_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_conditional_formattings_delete_worksheet_conditional_formattings_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formattings ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formattings"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_delete_worksheet_conditional_formattings"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_delete_worksheet_conditional_formattings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_get_worksheet_conditional_formatting(name, sheet_name, index, opts = {}) ⇒ ConditionalFormattingResponse

Get conditional formatting

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6322
6323
6324
6325
6326
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6322

def cells_conditional_formattings_get_worksheet_conditional_formatting(name, sheet_name, index, opts = {})
  warn "Warning: #cells_conditional_formattings_get_worksheet_conditional_formatting() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_get_worksheet_conditional_formatting_with_http_info(name, sheet_name, index, opts)
  return data
end

#cells_conditional_formattings_get_worksheet_conditional_formatting_with_http_info(name, sheet_name, index, opts = {}) ⇒ Array<(ConditionalFormattingResponse, Fixnum, Hash)>

Get conditional formatting

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6337

def cells_conditional_formattings_get_worksheet_conditional_formatting_with_http_info(name, sheet_name, index, opts = {})
  warn "Warning: #cells_conditional_formattings_get_worksheet_conditional_formatting_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_get_worksheet_conditional_formatting ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_get_worksheet_conditional_formatting"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_get_worksheet_conditional_formatting"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_conditional_formattings_get_worksheet_conditional_formatting"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ConditionalFormattingResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_get_worksheet_conditional_formatting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_get_worksheet_conditional_formattings(name, sheet_name, opts = {}) ⇒ ConditionalFormattingsResponse

Get conditional formattings

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6398
6399
6400
6401
6402
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6398

def cells_conditional_formattings_get_worksheet_conditional_formattings(name, sheet_name, opts = {})
  warn "Warning: #cells_conditional_formattings_get_worksheet_conditional_formattings() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_get_worksheet_conditional_formattings_with_http_info(name, sheet_name, opts)
  return data
end

#cells_conditional_formattings_get_worksheet_conditional_formattings_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ConditionalFormattingsResponse, Fixnum, Hash)>

Get conditional formattings

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6412

def cells_conditional_formattings_get_worksheet_conditional_formattings_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_conditional_formattings_get_worksheet_conditional_formattings_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_get_worksheet_conditional_formattings ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_get_worksheet_conditional_formattings"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_get_worksheet_conditional_formattings"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ConditionalFormattingsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_get_worksheet_conditional_formattings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_put_worksheet_conditional_formatting(name, sheet_name, cell_area, opts = {}) ⇒ CellsCloudResponse

Add a condition formatting.

Parameters:

  • name
  • sheet_name
  • cell_area
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format_condition (FormatCondition)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6471
6472
6473
6474
6475
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6471

def cells_conditional_formattings_put_worksheet_conditional_formatting(name, sheet_name, cell_area, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_conditional_formatting() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_put_worksheet_conditional_formatting_with_http_info(name, sheet_name, cell_area, opts)
  return data
end

#cells_conditional_formattings_put_worksheet_conditional_formatting_with_http_info(name, sheet_name, cell_area, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add a condition formatting.

Parameters:

  • name
  • sheet_name
  • cell_area
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format_condition (FormatCondition)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6487

def cells_conditional_formattings_put_worksheet_conditional_formatting_with_http_info(name, sheet_name, cell_area, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_conditional_formatting_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_put_worksheet_conditional_formatting ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_put_worksheet_conditional_formatting"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_put_worksheet_conditional_formatting"
  end
  # verify the required parameter 'cell_area' is set
  if @api_client.config.client_side_validation && cell_area.nil?
    fail ArgumentError, "Missing the required parameter 'cell_area' when calling CellsApi.cells_conditional_formattings_put_worksheet_conditional_formatting"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellArea'] = cell_area
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'format_condition'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_put_worksheet_conditional_formatting\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_put_worksheet_format_condition(name, sheet_name, index, cell_area, type, operator_type, formula1, formula2, opts = {}) ⇒ CellsCloudResponse

Add a format condition.

Parameters:

  • name
  • sheet_name
  • index
  • cell_area
  • type
  • operator_type
  • formula1
  • formula2
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6555
6556
6557
6558
6559
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6555

def cells_conditional_formattings_put_worksheet_format_condition(name, sheet_name, index, cell_area, type, operator_type, formula1, formula2, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_format_condition() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_put_worksheet_format_condition_with_http_info(name, sheet_name, index, cell_area, type, operator_type, formula1, formula2, opts)
  return data
end

#cells_conditional_formattings_put_worksheet_format_condition_area(name, sheet_name, index, cell_area, opts = {}) ⇒ CellsCloudResponse

add a cell area for format condition

Parameters:

  • name
  • sheet_name
  • index
  • cell_area
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6663
6664
6665
6666
6667
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6663

def cells_conditional_formattings_put_worksheet_format_condition_area(name, sheet_name, index, cell_area, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_format_condition_area() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_put_worksheet_format_condition_area_with_http_info(name, sheet_name, index, cell_area, opts)
  return data
end

#cells_conditional_formattings_put_worksheet_format_condition_area_with_http_info(name, sheet_name, index, cell_area, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

add a cell area for format condition

Parameters:

  • name
  • sheet_name
  • index
  • cell_area
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6679

def cells_conditional_formattings_put_worksheet_format_condition_area_with_http_info(name, sheet_name, index, cell_area, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_format_condition_area_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_put_worksheet_format_condition_area ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_area"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_area"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_area"
  end
  # verify the required parameter 'cell_area' is set
  if @api_client.config.client_side_validation && cell_area.nil?
    fail ArgumentError, "Missing the required parameter 'cell_area' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_area"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}/area".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellArea'] = cell_area
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_put_worksheet_format_condition_area\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_put_worksheet_format_condition_condition(name, sheet_name, index, type, operator_type, formula1, formula2, opts = {}) ⇒ CellsCloudResponse

Add a condition for format condition.

Parameters:

  • name
  • sheet_name
  • index
  • type
  • operator_type
  • formula1
  • formula2
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



6750
6751
6752
6753
6754
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6750

def cells_conditional_formattings_put_worksheet_format_condition_condition(name, sheet_name, index, type, operator_type, formula1, formula2, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_format_condition_condition() is deprecated."
  data, _status_code, _headers = cells_conditional_formattings_put_worksheet_format_condition_condition_with_http_info(name, sheet_name, index, type, operator_type, formula1, formula2, opts)
  return data
end

#cells_conditional_formattings_put_worksheet_format_condition_condition_with_http_info(name, sheet_name, index, type, operator_type, formula1, formula2, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add a condition for format condition.

Parameters:

  • name
  • sheet_name
  • index
  • type
  • operator_type
  • formula1
  • formula2
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6769

def cells_conditional_formattings_put_worksheet_format_condition_condition_with_http_info(name, sheet_name, index, type, operator_type, formula1, formula2, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_format_condition_condition_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # verify the required parameter 'type' is set
  if @api_client.config.client_side_validation && type.nil?
    fail ArgumentError, "Missing the required parameter 'type' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # verify the required parameter 'operator_type' is set
  if @api_client.config.client_side_validation && operator_type.nil?
    fail ArgumentError, "Missing the required parameter 'operator_type' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # verify the required parameter 'formula1' is set
  if @api_client.config.client_side_validation && formula1.nil?
    fail ArgumentError, "Missing the required parameter 'formula1' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # verify the required parameter 'formula2' is set
  if @api_client.config.client_side_validation && formula2.nil?
    fail ArgumentError, "Missing the required parameter 'formula2' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition_condition"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}/condition".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'type'] = type
  query_params[:'operatorType'] = operator_type
  query_params[:'formula1'] = formula1
  query_params[:'formula2'] = formula2
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_put_worksheet_format_condition_condition\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_conditional_formattings_put_worksheet_format_condition_with_http_info(name, sheet_name, index, cell_area, type, operator_type, formula1, formula2, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add a format condition.

Parameters:

  • name
  • sheet_name
  • index
  • cell_area
  • type
  • operator_type
  • formula1
  • formula2
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6575

def cells_conditional_formattings_put_worksheet_format_condition_with_http_info(name, sheet_name, index, cell_area, type, operator_type, formula1, formula2, opts = {})
  warn "Warning: #cells_conditional_formattings_put_worksheet_format_condition_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_conditional_formattings_put_worksheet_format_condition ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'cell_area' is set
  if @api_client.config.client_side_validation && cell_area.nil?
    fail ArgumentError, "Missing the required parameter 'cell_area' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'type' is set
  if @api_client.config.client_side_validation && type.nil?
    fail ArgumentError, "Missing the required parameter 'type' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'operator_type' is set
  if @api_client.config.client_side_validation && operator_type.nil?
    fail ArgumentError, "Missing the required parameter 'operator_type' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'formula1' is set
  if @api_client.config.client_side_validation && formula1.nil?
    fail ArgumentError, "Missing the required parameter 'formula1' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # verify the required parameter 'formula2' is set
  if @api_client.config.client_side_validation && formula2.nil?
    fail ArgumentError, "Missing the required parameter 'formula2' when calling CellsApi.cells_conditional_formattings_put_worksheet_format_condition"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/conditionalFormattings/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellArea'] = cell_area
  query_params[:'type'] = type
  query_params[:'operatorType'] = operator_type
  query_params[:'formula1'] = formula1
  query_params[:'formula2'] = formula2
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_conditional_formattings_put_worksheet_format_condition\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_delete_worksheet_columns(name, sheet_name, column_index, columns, update_reference, opts = {}) ⇒ CellsCloudResponse

Delete worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • columns

    The columns.

  • update_reference

    The update reference.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



6853
6854
6855
6856
6857
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6853

def cells_delete_worksheet_columns(name, sheet_name, column_index, columns, update_reference, opts = {})
  warn "Warning: #cells_delete_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_delete_worksheet_columns_with_http_info(name, sheet_name, column_index, columns, update_reference, opts)
  return data
end

#cells_delete_worksheet_columns_with_http_info(name, sheet_name, column_index, columns, update_reference, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • columns

    The columns.

  • update_reference

    The update reference.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6870

def cells_delete_worksheet_columns_with_http_info(name, sheet_name, column_index, columns, update_reference, opts = {})
  warn "Warning: #cells_delete_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_delete_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_delete_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_delete_worksheet_columns"
  end
  # verify the required parameter 'column_index' is set
  if @api_client.config.client_side_validation && column_index.nil?
    fail ArgumentError, "Missing the required parameter 'column_index' when calling CellsApi.cells_delete_worksheet_columns"
  end
  # verify the required parameter 'columns' is set
  if @api_client.config.client_side_validation && columns.nil?
    fail ArgumentError, "Missing the required parameter 'columns' when calling CellsApi.cells_delete_worksheet_columns"
  end
  # verify the required parameter 'update_reference' is set
  if @api_client.config.client_side_validation && update_reference.nil?
    fail ArgumentError, "Missing the required parameter 'update_reference' when calling CellsApi.cells_delete_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'columnIndex' + '}', column_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'columns'] = columns
  query_params[:'updateReference'] = update_reference
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_delete_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_delete_worksheet_row(name, sheet_name, row_index, opts = {}) ⇒ CellsCloudResponse

Delete worksheet row.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet bame.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



6942
6943
6944
6945
6946
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6942

def cells_delete_worksheet_row(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_delete_worksheet_row() is deprecated."
  data, _status_code, _headers = cells_delete_worksheet_row_with_http_info(name, sheet_name, row_index, opts)
  return data
end

#cells_delete_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet row.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet bame.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 6957

def cells_delete_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_delete_worksheet_row_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_delete_worksheet_row ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_delete_worksheet_row"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_delete_worksheet_row"
  end
  # verify the required parameter 'row_index' is set
  if @api_client.config.client_side_validation && row_index.nil?
    fail ArgumentError, "Missing the required parameter 'row_index' when calling CellsApi.cells_delete_worksheet_row"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'rowIndex' + '}', row_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_delete_worksheet_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_delete_worksheet_rows(name, sheet_name, startrow, opts = {}) ⇒ CellsCloudResponse

Delete several worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet bame.

  • startrow

    The begin row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :total_rows (Integer)

    Number of rows to be operated. (default to 1)

  • :update_reference (BOOLEAN)

    Indicates if update references in other worksheets. (default to true)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



7021
7022
7023
7024
7025
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7021

def cells_delete_worksheet_rows(name, sheet_name, startrow, opts = {})
  warn "Warning: #cells_delete_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_delete_worksheet_rows_with_http_info(name, sheet_name, startrow, opts)
  return data
end

#cells_delete_worksheet_rows_with_http_info(name, sheet_name, startrow, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete several worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet bame.

  • startrow

    The begin row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :total_rows (Integer)

    Number of rows to be operated.

  • :update_reference (BOOLEAN)

    Indicates if update references in other worksheets.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7038

def cells_delete_worksheet_rows_with_http_info(name, sheet_name, startrow, opts = {})
  warn "Warning: #cells_delete_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_delete_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_delete_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_delete_worksheet_rows"
  end
  # verify the required parameter 'startrow' is set
  if @api_client.config.client_side_validation && startrow.nil?
    fail ArgumentError, "Missing the required parameter 'startrow' when calling CellsApi.cells_delete_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startrow'] = startrow
  query_params[:'totalRows'] = opts[:'total_rows'] if !opts[:'total_rows'].nil?
  query_params[:'updateReference'] = opts[:'update_reference'] if !opts[:'update_reference'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_delete_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_cell_html_string(name, sheet_name, cell_name, opts = {}) ⇒ Object

Read cell data by cell’s name.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • cell_name

    The cell&#39;s name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Object)


7103
7104
7105
7106
7107
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7103

def cells_get_cell_html_string(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_get_cell_html_string() is deprecated."
  data, _status_code, _headers = cells_get_cell_html_string_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_get_cell_html_string_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Read cell data by cell&#39;s name.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • cell_name

    The cell&#39;s name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7118

def cells_get_cell_html_string_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_get_cell_html_string_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_cell_html_string ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_cell_html_string"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_cell_html_string"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_get_cell_html_string"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/htmlstring".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_cell_html_string\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_cell(name, sheet_name, cell_or_method_name, opts = {}) ⇒ Object

Read cell data by cell’s name.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • cell_or_method_name

    The cell&#39;s or method name. (Method name like firstcell, endcell etc.)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Object)


7180
7181
7182
7183
7184
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7180

def cells_get_worksheet_cell(name, sheet_name, cell_or_method_name, opts = {})
  warn "Warning: #cells_get_worksheet_cell() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_cell_with_http_info(name, sheet_name, cell_or_method_name, opts)
  return data
end

#cells_get_worksheet_cell_style(name, sheet_name, cell_name, opts = {}) ⇒ StyleResponse

Read cell’s style info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • cell_name

    Cell&#39;s name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



7257
7258
7259
7260
7261
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7257

def cells_get_worksheet_cell_style(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_get_worksheet_cell_style() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_cell_style_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_get_worksheet_cell_style_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(StyleResponse, Fixnum, Hash)>

Read cell&#39;s style info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • cell_name

    Cell&#39;s name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(StyleResponse, Fixnum, Hash)>)

    StyleResponse data, response status code and response headers



7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7272

def cells_get_worksheet_cell_style_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_get_worksheet_cell_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_cell_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_cell_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_cell_style"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_get_worksheet_cell_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/style".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'StyleResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_cell_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_cell_with_http_info(name, sheet_name, cell_or_method_name, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Read cell data by cell&#39;s name.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • cell_or_method_name

    The cell&#39;s or method name. (Method name like firstcell, endcell etc.)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7195

def cells_get_worksheet_cell_with_http_info(name, sheet_name, cell_or_method_name, opts = {})
  warn "Warning: #cells_get_worksheet_cell_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_cell ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_cell"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_cell"
  end
  # verify the required parameter 'cell_or_method_name' is set
  if @api_client.config.client_side_validation && cell_or_method_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_or_method_name' when calling CellsApi.cells_get_worksheet_cell"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellOrMethodName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellOrMethodName' + '}', cell_or_method_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_cell\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_cells(name, sheet_name, opts = {}) ⇒ CellsResponse

Get cells info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :offest (Integer)

    Begginig offset. (default to 0)

  • :count (Integer)

    Maximum amount of cells in the response. (default to 0)

  • :folder (String)

    Document&#39;s folder name.

  • :storage_name (String)

    storage name.

Returns:



7335
7336
7337
7338
7339
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7335

def cells_get_worksheet_cells(name, sheet_name, opts = {})
  warn "Warning: #cells_get_worksheet_cells() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_cells_with_http_info(name, sheet_name, opts)
  return data
end

#cells_get_worksheet_cells_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsResponse, Fixnum, Hash)>

Get cells info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :offest (Integer)

    Begginig offset.

  • :count (Integer)

    Maximum amount of cells in the response.

  • :folder (String)

    Document&#39;s folder name.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsResponse, Fixnum, Hash)>)

    CellsResponse data, response status code and response headers



7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7351

def cells_get_worksheet_cells_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_get_worksheet_cells_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_cells ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_cells"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_cells"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'offest'] = opts[:'offest'] if !opts[:'offest'].nil?
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_cells\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_column(name, sheet_name, column_index, opts = {}) ⇒ ColumnResponse

Read worksheet column data by column’s index.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



7411
7412
7413
7414
7415
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7411

def cells_get_worksheet_column(name, sheet_name, column_index, opts = {})
  warn "Warning: #cells_get_worksheet_column() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_column_with_http_info(name, sheet_name, column_index, opts)
  return data
end

#cells_get_worksheet_column_with_http_info(name, sheet_name, column_index, opts = {}) ⇒ Array<(ColumnResponse, Fixnum, Hash)>

Read worksheet column data by column&#39;s index.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ColumnResponse, Fixnum, Hash)>)

    ColumnResponse data, response status code and response headers



7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7426

def cells_get_worksheet_column_with_http_info(name, sheet_name, column_index, opts = {})
  warn "Warning: #cells_get_worksheet_column_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_column ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_column"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_column"
  end
  # verify the required parameter 'column_index' is set
  if @api_client.config.client_side_validation && column_index.nil?
    fail ArgumentError, "Missing the required parameter 'column_index' when calling CellsApi.cells_get_worksheet_column"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'columnIndex' + '}', column_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ColumnResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_column\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_columns(name, sheet_name, opts = {}) ⇒ ColumnsResponse

Read worksheet columns info.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workdook folder.

  • :storage_name (String)

    storage name.

Returns:



7487
7488
7489
7490
7491
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7487

def cells_get_worksheet_columns(name, sheet_name, opts = {})
  warn "Warning: #cells_get_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_columns_with_http_info(name, sheet_name, opts)
  return data
end

#cells_get_worksheet_columns_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ColumnsResponse, Fixnum, Hash)>

Read worksheet columns info.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workdook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ColumnsResponse, Fixnum, Hash)>)

    ColumnsResponse data, response status code and response headers



7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7501

def cells_get_worksheet_columns_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_get_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ColumnsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_row(name, sheet_name, row_index, opts = {}) ⇒ RowResponse

Read worksheet row data by row’s index.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



7559
7560
7561
7562
7563
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7559

def cells_get_worksheet_row(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_get_worksheet_row() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_row_with_http_info(name, sheet_name, row_index, opts)
  return data
end

#cells_get_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {}) ⇒ Array<(RowResponse, Fixnum, Hash)>

Read worksheet row data by row&#39;s index.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(RowResponse, Fixnum, Hash)>)

    RowResponse data, response status code and response headers



7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7574

def cells_get_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_get_worksheet_row_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_row ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_row"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_row"
  end
  # verify the required parameter 'row_index' is set
  if @api_client.config.client_side_validation && row_index.nil?
    fail ArgumentError, "Missing the required parameter 'row_index' when calling CellsApi.cells_get_worksheet_row"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'rowIndex' + '}', row_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'RowResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_get_worksheet_rows(name, sheet_name, opts = {}) ⇒ RowsResponse

Read worksheet rows info.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workdook folder.

  • :storage_name (String)

    storage name.

Returns:



7635
7636
7637
7638
7639
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7635

def cells_get_worksheet_rows(name, sheet_name, opts = {})
  warn "Warning: #cells_get_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_get_worksheet_rows_with_http_info(name, sheet_name, opts)
  return data
end

#cells_get_worksheet_rows_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(RowsResponse, Fixnum, Hash)>

Read worksheet rows info.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workdook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(RowsResponse, Fixnum, Hash)>)

    RowsResponse data, response status code and response headers



7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7649

def cells_get_worksheet_rows_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_get_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_get_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_get_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_get_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'RowsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_get_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Delete worksheet hyperlink by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • hyperlink_index

    The hyperlink&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



7707
7708
7709
7710
7711
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7707

def cells_hypelinks_delete_worksheet_hyperlink(name, sheet_name, hyperlink_index, opts = {})
  warn "Warning: #cells_hypelinks_delete_worksheet_hyperlink() is deprecated."
  data, _status_code, _headers = cells_hypelinks_delete_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts)
  return data
end

Delete worksheet hyperlink by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • hyperlink_index

    The hyperlink&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7722

def cells_hypelinks_delete_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts = {})
  warn "Warning: #cells_hypelinks_delete_worksheet_hyperlink_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_delete_worksheet_hyperlink ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_hypelinks_delete_worksheet_hyperlink"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_hypelinks_delete_worksheet_hyperlink"
  end
  # verify the required parameter 'hyperlink_index' is set
  if @api_client.config.client_side_validation && hyperlink_index.nil?
    fail ArgumentError, "Missing the required parameter 'hyperlink_index' when calling CellsApi.cells_hypelinks_delete_worksheet_hyperlink"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/hyperlinks/{hyperlinkIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'hyperlinkIndex' + '}', hyperlink_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_delete_worksheet_hyperlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Delete all hyperlinks in worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



7783
7784
7785
7786
7787
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7783

def cells_hypelinks_delete_worksheet_hyperlinks(name, sheet_name, opts = {})
  warn "Warning: #cells_hypelinks_delete_worksheet_hyperlinks() is deprecated."
  data, _status_code, _headers = cells_hypelinks_delete_worksheet_hyperlinks_with_http_info(name, sheet_name, opts)
  return data
end

Delete all hyperlinks in worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7797

def cells_hypelinks_delete_worksheet_hyperlinks_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_hypelinks_delete_worksheet_hyperlinks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_delete_worksheet_hyperlinks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_hypelinks_delete_worksheet_hyperlinks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_hypelinks_delete_worksheet_hyperlinks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/hyperlinks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_delete_worksheet_hyperlinks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Get worksheet hyperlink by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • hyperlink_index

    The hyperlink&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



7855
7856
7857
7858
7859
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7855

def cells_hypelinks_get_worksheet_hyperlink(name, sheet_name, hyperlink_index, opts = {})
  warn "Warning: #cells_hypelinks_get_worksheet_hyperlink() is deprecated."
  data, _status_code, _headers = cells_hypelinks_get_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts)
  return data
end

Get worksheet hyperlink by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • hyperlink_index

    The hyperlink&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(HyperlinkResponse, Fixnum, Hash)>)

    HyperlinkResponse data, response status code and response headers



7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7870

def cells_hypelinks_get_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts = {})
  warn "Warning: #cells_hypelinks_get_worksheet_hyperlink_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_get_worksheet_hyperlink ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_hypelinks_get_worksheet_hyperlink"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_hypelinks_get_worksheet_hyperlink"
  end
  # verify the required parameter 'hyperlink_index' is set
  if @api_client.config.client_side_validation && hyperlink_index.nil?
    fail ArgumentError, "Missing the required parameter 'hyperlink_index' when calling CellsApi.cells_hypelinks_get_worksheet_hyperlink"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/hyperlinks/{hyperlinkIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'hyperlinkIndex' + '}', hyperlink_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'HyperlinkResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_get_worksheet_hyperlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Get worksheet hyperlinks.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



7931
7932
7933
7934
7935
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7931

def cells_hypelinks_get_worksheet_hyperlinks(name, sheet_name, opts = {})
  warn "Warning: #cells_hypelinks_get_worksheet_hyperlinks() is deprecated."
  data, _status_code, _headers = cells_hypelinks_get_worksheet_hyperlinks_with_http_info(name, sheet_name, opts)
  return data
end

Get worksheet hyperlinks.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(HyperlinksResponse, Fixnum, Hash)>)

    HyperlinksResponse data, response status code and response headers



7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 7945

def cells_hypelinks_get_worksheet_hyperlinks_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_hypelinks_get_worksheet_hyperlinks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_get_worksheet_hyperlinks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_hypelinks_get_worksheet_hyperlinks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_hypelinks_get_worksheet_hyperlinks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/hyperlinks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'HyperlinksResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_get_worksheet_hyperlinks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_hypelinks_post_worksheet_hyperlink(name, sheet_name, hyperlink_index, opts = {}) ⇒ CellsCloudResponse

Update worksheet hyperlink by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • hyperlink_index

    The hyperlink&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :hyperlink (Hyperlink)

    Hyperlink object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



8004
8005
8006
8007
8008
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8004

def cells_hypelinks_post_worksheet_hyperlink(name, sheet_name, hyperlink_index, opts = {})
  warn "Warning: #cells_hypelinks_post_worksheet_hyperlink() is deprecated."
  data, _status_code, _headers = cells_hypelinks_post_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts)
  return data
end

#cells_hypelinks_post_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update worksheet hyperlink by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • hyperlink_index

    The hyperlink&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :hyperlink (Hyperlink)

    Hyperlink object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8020

def cells_hypelinks_post_worksheet_hyperlink_with_http_info(name, sheet_name, hyperlink_index, opts = {})
  warn "Warning: #cells_hypelinks_post_worksheet_hyperlink_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_post_worksheet_hyperlink ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_hypelinks_post_worksheet_hyperlink"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_hypelinks_post_worksheet_hyperlink"
  end
  # verify the required parameter 'hyperlink_index' is set
  if @api_client.config.client_side_validation && hyperlink_index.nil?
    fail ArgumentError, "Missing the required parameter 'hyperlink_index' when calling CellsApi.cells_hypelinks_post_worksheet_hyperlink"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/hyperlinks/{hyperlinkIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'hyperlinkIndex' + '}', hyperlink_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'hyperlink'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_post_worksheet_hyperlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Add worksheet hyperlink.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • first_row
  • first_column
  • total_rows
  • total_columns
  • address
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



8086
8087
8088
8089
8090
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8086

def cells_hypelinks_put_worksheet_hyperlink(name, sheet_name, first_row, first_column, total_rows, total_columns, address, opts = {})
  warn "Warning: #cells_hypelinks_put_worksheet_hyperlink() is deprecated."
  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)
  return data
end

Add worksheet hyperlink.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • first_row
  • first_column
  • total_rows
  • total_columns
  • address
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8105

def cells_hypelinks_put_worksheet_hyperlink_with_http_info(name, sheet_name, first_row, first_column, total_rows, total_columns, address, opts = {})
  warn "Warning: #cells_hypelinks_put_worksheet_hyperlink_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_hypelinks_put_worksheet_hyperlink ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # verify the required parameter 'first_row' is set
  if @api_client.config.client_side_validation && first_row.nil?
    fail ArgumentError, "Missing the required parameter 'first_row' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # verify the required parameter 'first_column' is set
  if @api_client.config.client_side_validation && first_column.nil?
    fail ArgumentError, "Missing the required parameter 'first_column' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # verify the required parameter 'total_rows' is set
  if @api_client.config.client_side_validation && total_rows.nil?
    fail ArgumentError, "Missing the required parameter 'total_rows' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # verify the required parameter 'total_columns' is set
  if @api_client.config.client_side_validation && total_columns.nil?
    fail ArgumentError, "Missing the required parameter 'total_columns' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # verify the required parameter 'address' is set
  if @api_client.config.client_side_validation && address.nil?
    fail ArgumentError, "Missing the required parameter 'address' when calling CellsApi.cells_hypelinks_put_worksheet_hyperlink"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/hyperlinks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'firstRow'] = first_row
  query_params[:'firstColumn'] = first_column
  query_params[:'totalRows'] = total_rows
  query_params[:'totalColumns'] = total_columns
  query_params[:'address'] = address
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_hypelinks_put_worksheet_hyperlink\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_delete_worksheet_list_object(name, sheet_name, list_object_index, opts = {}) ⇒ CellsCloudResponse

Delete worksheet list object by index

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • list_object_index

    List object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



8188
8189
8190
8191
8192
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8188

def cells_list_objects_delete_worksheet_list_object(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_delete_worksheet_list_object() is deprecated."
  data, _status_code, _headers = cells_list_objects_delete_worksheet_list_object_with_http_info(name, sheet_name, list_object_index, opts)
  return data
end

#cells_list_objects_delete_worksheet_list_object_with_http_info(name, sheet_name, list_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet list object by index

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • list_object_index

    List object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8203

def cells_list_objects_delete_worksheet_list_object_with_http_info(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_delete_worksheet_list_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_delete_worksheet_list_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_delete_worksheet_list_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_delete_worksheet_list_object"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_delete_worksheet_list_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_delete_worksheet_list_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_delete_worksheet_list_objects(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Delete worksheet list objects

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



8264
8265
8266
8267
8268
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8264

def cells_list_objects_delete_worksheet_list_objects(name, sheet_name, opts = {})
  warn "Warning: #cells_list_objects_delete_worksheet_list_objects() is deprecated."
  data, _status_code, _headers = cells_list_objects_delete_worksheet_list_objects_with_http_info(name, sheet_name, opts)
  return data
end

#cells_list_objects_delete_worksheet_list_objects_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet list objects

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8278

def cells_list_objects_delete_worksheet_list_objects_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_list_objects_delete_worksheet_list_objects_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_delete_worksheet_list_objects ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_delete_worksheet_list_objects"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_delete_worksheet_list_objects"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_delete_worksheet_list_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_get_worksheet_list_object(name, sheet_name, listobjectindex, opts = {}) ⇒ File

Get worksheet list object info by index.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • listobjectindex

    list object index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    export format.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (File)


8337
8338
8339
8340
8341
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8337

def cells_list_objects_get_worksheet_list_object(name, sheet_name, listobjectindex, opts = {})
  warn "Warning: #cells_list_objects_get_worksheet_list_object() is deprecated."
  data, _status_code, _headers = cells_list_objects_get_worksheet_list_object_with_http_info(name, sheet_name, listobjectindex, opts)
  return data
end

#cells_list_objects_get_worksheet_list_object_with_http_info(name, sheet_name, listobjectindex, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Get worksheet list object info by index.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • listobjectindex

    list object index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    export format.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8353

def cells_list_objects_get_worksheet_list_object_with_http_info(name, sheet_name, listobjectindex, opts = {})
  warn "Warning: #cells_list_objects_get_worksheet_list_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_get_worksheet_list_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_get_worksheet_list_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_get_worksheet_list_object"
  end
  # verify the required parameter 'listobjectindex' is set
  if @api_client.config.client_side_validation && listobjectindex.nil?
    fail ArgumentError, "Missing the required parameter 'listobjectindex' when calling CellsApi.cells_list_objects_get_worksheet_list_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listobjectindex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listobjectindex' + '}', listobjectindex.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_get_worksheet_list_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_get_worksheet_list_objects(name, sheet_name, opts = {}) ⇒ ListObjectsResponse

Get worksheet listobjects info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



8415
8416
8417
8418
8419
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8415

def cells_list_objects_get_worksheet_list_objects(name, sheet_name, opts = {})
  warn "Warning: #cells_list_objects_get_worksheet_list_objects() is deprecated."
  data, _status_code, _headers = cells_list_objects_get_worksheet_list_objects_with_http_info(name, sheet_name, opts)
  return data
end

#cells_list_objects_get_worksheet_list_objects_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ListObjectsResponse, Fixnum, Hash)>

Get worksheet listobjects info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ListObjectsResponse, Fixnum, Hash)>)

    ListObjectsResponse data, response status code and response headers



8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8429

def cells_list_objects_get_worksheet_list_objects_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_list_objects_get_worksheet_list_objects_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_get_worksheet_list_objects ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_get_worksheet_list_objects"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_get_worksheet_list_objects"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ListObjectsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_get_worksheet_list_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_post_worksheet_list_column(name, sheet_name, list_object_index, column_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • list_object_index
  • column_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :list_column (ListColumn)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



8489
8490
8491
8492
8493
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8489

def cells_list_objects_post_worksheet_list_column(name, sheet_name, list_object_index, column_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_column() is deprecated."
  data, _status_code, _headers = cells_list_objects_post_worksheet_list_column_with_http_info(name, sheet_name, list_object_index, column_index, opts)
  return data
end

#cells_list_objects_post_worksheet_list_column_with_http_info(name, sheet_name, list_object_index, column_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • list_object_index
  • column_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :list_column (ListColumn)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8506

def cells_list_objects_post_worksheet_list_column_with_http_info(name, sheet_name, list_object_index, column_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_column_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_post_worksheet_list_column ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_post_worksheet_list_column"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_column"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_post_worksheet_list_column"
  end
  # verify the required parameter 'column_index' is set
  if @api_client.config.client_side_validation && column_index.nil?
    fail ArgumentError, "Missing the required parameter 'column_index' when calling CellsApi.cells_list_objects_post_worksheet_list_column"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/listcolumns/{columnIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s).sub('{' + 'columnIndex' + '}', column_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'list_column'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_post_worksheet_list_column\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_post_worksheet_list_columns_total(name, sheet_name, list_object_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • list_object_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :table_total_requests (Array<TableTotalRequest>)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



8573
8574
8575
8576
8577
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8573

def cells_list_objects_post_worksheet_list_columns_total(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_columns_total() is deprecated."
  data, _status_code, _headers = cells_list_objects_post_worksheet_list_columns_total_with_http_info(name, sheet_name, list_object_index, opts)
  return data
end

#cells_list_objects_post_worksheet_list_columns_total_with_http_info(name, sheet_name, list_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • list_object_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :table_total_requests (Array<TableTotalRequest>)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8589

def cells_list_objects_post_worksheet_list_columns_total_with_http_info(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_columns_total_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_post_worksheet_list_columns_total ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_post_worksheet_list_columns_total"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_columns_total"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_post_worksheet_list_columns_total"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/listcolumns/total".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'table_total_requests'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_post_worksheet_list_columns_total\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_post_worksheet_list_object(name, sheet_name, list_object_index, opts = {}) ⇒ CellsCloudResponse

Update list object

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • list_object_index

    list Object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :list_object (ListObject)

    listObject dto in request body.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



8652
8653
8654
8655
8656
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8652

def cells_list_objects_post_worksheet_list_object(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object() is deprecated."
  data, _status_code, _headers = cells_list_objects_post_worksheet_list_object_with_http_info(name, sheet_name, list_object_index, opts)
  return data
end

#cells_list_objects_post_worksheet_list_object_convert_to_range(name, sheet_name, list_object_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • list_object_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



8730
8731
8732
8733
8734
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8730

def cells_list_objects_post_worksheet_list_object_convert_to_range(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_convert_to_range() is deprecated."
  data, _status_code, _headers = cells_list_objects_post_worksheet_list_object_convert_to_range_with_http_info(name, sheet_name, list_object_index, opts)
  return data
end

#cells_list_objects_post_worksheet_list_object_convert_to_range_with_http_info(name, sheet_name, list_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • list_object_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8745

def cells_list_objects_post_worksheet_list_object_convert_to_range_with_http_info(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_convert_to_range_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_post_worksheet_list_object_convert_to_range ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_convert_to_range"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_convert_to_range"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_post_worksheet_list_object_convert_to_range"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/ConvertToRange".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_post_worksheet_list_object_convert_to_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_post_worksheet_list_object_sort_table(name, sheet_name, list_object_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • list_object_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :data_sorter (DataSorter)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



8808
8809
8810
8811
8812
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8808

def cells_list_objects_post_worksheet_list_object_sort_table(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_sort_table() is deprecated."
  data, _status_code, _headers = cells_list_objects_post_worksheet_list_object_sort_table_with_http_info(name, sheet_name, list_object_index, opts)
  return data
end

#cells_list_objects_post_worksheet_list_object_sort_table_with_http_info(name, sheet_name, list_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • list_object_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :data_sorter (DataSorter)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8824

def cells_list_objects_post_worksheet_list_object_sort_table_with_http_info(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_sort_table_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_post_worksheet_list_object_sort_table ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_sort_table"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_sort_table"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_post_worksheet_list_object_sort_table"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/sort".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'data_sorter'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_post_worksheet_list_object_sort_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table(name, sheet_name, list_object_index, destsheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • list_object_index
  • destsheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:



8888
8889
8890
8891
8892
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8888

def cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table(name, sheet_name, list_object_index, destsheet_name, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table() is deprecated."
  data, _status_code, _headers = cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table_with_http_info(name, sheet_name, list_object_index, destsheet_name, opts)
  return data
end

#cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table_with_http_info(name, sheet_name, list_object_index, destsheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • list_object_index
  • destsheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8905

def cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table_with_http_info(name, sheet_name, list_object_index, destsheet_name, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table"
  end
  # verify the required parameter 'destsheet_name' is set
  if @api_client.config.client_side_validation && destsheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'destsheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}/SummarizeWithPivotTable".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'destsheetName'] = destsheet_name
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'request'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_post_worksheet_list_object_summarize_with_pivot_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_post_worksheet_list_object_with_http_info(name, sheet_name, list_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update list object

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • list_object_index

    list Object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :list_object (ListObject)

    listObject dto in request body.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8668

def cells_list_objects_post_worksheet_list_object_with_http_info(name, sheet_name, list_object_index, opts = {})
  warn "Warning: #cells_list_objects_post_worksheet_list_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_post_worksheet_list_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_post_worksheet_list_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_post_worksheet_list_object"
  end
  # verify the required parameter 'list_object_index' is set
  if @api_client.config.client_side_validation && list_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'list_object_index' when calling CellsApi.cells_list_objects_post_worksheet_list_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects/{listObjectIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'listObjectIndex' + '}', list_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'list_object'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_post_worksheet_list_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_list_objects_put_worksheet_list_object(name, sheet_name, start_row, start_column, end_row, end_column, opts = {}) ⇒ CellsCloudResponse

Add a list object into worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • start_row

    The start row of the list range.

  • start_column

    The start row of the list range.

  • end_row

    The start row of the list range.

  • end_column

    The start row of the list range.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :has_headers (BOOLEAN)

    Whether the range has headers. (default to true)

  • :display_name (BOOLEAN)

    Gets and sets the display name.. (default to true)

  • :show_totals (BOOLEAN)

    Gets and sets whether this ListObject show total row.. (default to true)

  • :list_object (ListObject)

    List Object

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



8979
8980
8981
8982
8983
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 8979

def cells_list_objects_put_worksheet_list_object(name, sheet_name, start_row, start_column, end_row, end_column, opts = {})
  warn "Warning: #cells_list_objects_put_worksheet_list_object() is deprecated."
  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)
  return data
end

#cells_list_objects_put_worksheet_list_object_with_http_info(name, sheet_name, start_row, start_column, end_row, end_column, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add a list object into worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • start_row

    The start row of the list range.

  • start_column

    The start row of the list range.

  • end_row

    The start row of the list range.

  • end_column

    The start row of the list range.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :has_headers (BOOLEAN)

    Whether the range has headers.

  • :display_name (BOOLEAN)

    Gets and sets the display name..

  • :show_totals (BOOLEAN)

    Gets and sets whether this ListObject show total row..

  • :list_object (ListObject)

    List Object

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9001

def cells_list_objects_put_worksheet_list_object_with_http_info(name, sheet_name, start_row, start_column, end_row, end_column, opts = {})
  warn "Warning: #cells_list_objects_put_worksheet_list_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_list_objects_put_worksheet_list_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_list_objects_put_worksheet_list_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_list_objects_put_worksheet_list_object"
  end
  # verify the required parameter 'start_row' is set
  if @api_client.config.client_side_validation && start_row.nil?
    fail ArgumentError, "Missing the required parameter 'start_row' when calling CellsApi.cells_list_objects_put_worksheet_list_object"
  end
  # verify the required parameter 'start_column' is set
  if @api_client.config.client_side_validation && start_column.nil?
    fail ArgumentError, "Missing the required parameter 'start_column' when calling CellsApi.cells_list_objects_put_worksheet_list_object"
  end
  # verify the required parameter 'end_row' is set
  if @api_client.config.client_side_validation && end_row.nil?
    fail ArgumentError, "Missing the required parameter 'end_row' when calling CellsApi.cells_list_objects_put_worksheet_list_object"
  end
  # verify the required parameter 'end_column' is set
  if @api_client.config.client_side_validation && end_column.nil?
    fail ArgumentError, "Missing the required parameter 'end_column' when calling CellsApi.cells_list_objects_put_worksheet_list_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/listobjects".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startRow'] = start_row
  query_params[:'startColumn'] = start_column
  query_params[:'endRow'] = end_row
  query_params[:'endColumn'] = end_column
  query_params[:'hasHeaders'] = opts[:'has_headers'] if !opts[:'has_headers'].nil?
  query_params[:'displayName'] = opts[:'display_name'] if !opts[:'display_name'].nil?
  query_params[:'showTotals'] = opts[:'show_totals'] if !opts[:'show_totals'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'list_object'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_list_objects_put_worksheet_list_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ole_objects_delete_worksheet_ole_object(name, sheet_name, ole_object_index, opts = {}) ⇒ CellsCloudResponse

Delete OLE object.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • ole_object_index

    Ole object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



9082
9083
9084
9085
9086
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9082

def cells_ole_objects_delete_worksheet_ole_object(name, sheet_name, ole_object_index, opts = {})
  warn "Warning: #cells_ole_objects_delete_worksheet_ole_object() is deprecated."
  data, _status_code, _headers = cells_ole_objects_delete_worksheet_ole_object_with_http_info(name, sheet_name, ole_object_index, opts)
  return data
end

#cells_ole_objects_delete_worksheet_ole_object_with_http_info(name, sheet_name, ole_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete OLE object.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • ole_object_index

    Ole object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9097

def cells_ole_objects_delete_worksheet_ole_object_with_http_info(name, sheet_name, ole_object_index, opts = {})
  warn "Warning: #cells_ole_objects_delete_worksheet_ole_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_delete_worksheet_ole_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ole_objects_delete_worksheet_ole_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ole_objects_delete_worksheet_ole_object"
  end
  # verify the required parameter 'ole_object_index' is set
  if @api_client.config.client_side_validation && ole_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'ole_object_index' when calling CellsApi.cells_ole_objects_delete_worksheet_ole_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/oleobjects/{oleObjectIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'oleObjectIndex' + '}', ole_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_delete_worksheet_ole_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ole_objects_delete_worksheet_ole_objects(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Delete all OLE objects.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



9158
9159
9160
9161
9162
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9158

def cells_ole_objects_delete_worksheet_ole_objects(name, sheet_name, opts = {})
  warn "Warning: #cells_ole_objects_delete_worksheet_ole_objects() is deprecated."
  data, _status_code, _headers = cells_ole_objects_delete_worksheet_ole_objects_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ole_objects_delete_worksheet_ole_objects_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete all OLE objects.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9172

def cells_ole_objects_delete_worksheet_ole_objects_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ole_objects_delete_worksheet_ole_objects_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_delete_worksheet_ole_objects ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ole_objects_delete_worksheet_ole_objects"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ole_objects_delete_worksheet_ole_objects"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/oleobjects".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_delete_worksheet_ole_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ole_objects_get_worksheet_ole_object(name, sheet_name, object_number, opts = {}) ⇒ File

Get OLE object info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • object_number

    The object number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported object format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (File)


9231
9232
9233
9234
9235
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9231

def cells_ole_objects_get_worksheet_ole_object(name, sheet_name, object_number, opts = {})
  warn "Warning: #cells_ole_objects_get_worksheet_ole_object() is deprecated."
  data, _status_code, _headers = cells_ole_objects_get_worksheet_ole_object_with_http_info(name, sheet_name, object_number, opts)
  return data
end

#cells_ole_objects_get_worksheet_ole_object_with_http_info(name, sheet_name, object_number, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Get OLE object info.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • object_number

    The object number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported object format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9247

def cells_ole_objects_get_worksheet_ole_object_with_http_info(name, sheet_name, object_number, opts = {})
  warn "Warning: #cells_ole_objects_get_worksheet_ole_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_get_worksheet_ole_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ole_objects_get_worksheet_ole_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ole_objects_get_worksheet_ole_object"
  end
  # verify the required parameter 'object_number' is set
  if @api_client.config.client_side_validation && object_number.nil?
    fail ArgumentError, "Missing the required parameter 'object_number' when calling CellsApi.cells_ole_objects_get_worksheet_ole_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/oleobjects/{objectNumber}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'objectNumber' + '}', object_number.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_get_worksheet_ole_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ole_objects_get_worksheet_ole_objects(name, sheet_name, opts = {}) ⇒ OleObjectsResponse

Get worksheet OLE objects info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



9309
9310
9311
9312
9313
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9309

def cells_ole_objects_get_worksheet_ole_objects(name, sheet_name, opts = {})
  warn "Warning: #cells_ole_objects_get_worksheet_ole_objects() is deprecated."
  data, _status_code, _headers = cells_ole_objects_get_worksheet_ole_objects_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ole_objects_get_worksheet_ole_objects_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(OleObjectsResponse, Fixnum, Hash)>

Get worksheet OLE objects info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(OleObjectsResponse, Fixnum, Hash)>)

    OleObjectsResponse data, response status code and response headers



9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9323

def cells_ole_objects_get_worksheet_ole_objects_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ole_objects_get_worksheet_ole_objects_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_get_worksheet_ole_objects ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ole_objects_get_worksheet_ole_objects"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ole_objects_get_worksheet_ole_objects"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/oleobjects".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'OleObjectsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_get_worksheet_ole_objects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ole_objects_post_update_worksheet_ole_object(name, sheet_name, ole_object_index, opts = {}) ⇒ CellsCloudResponse

Update OLE object.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • ole_object_index

    Ole object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ole (OleObject)

    Ole Object

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



9382
9383
9384
9385
9386
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9382

def cells_ole_objects_post_update_worksheet_ole_object(name, sheet_name, ole_object_index, opts = {})
  warn "Warning: #cells_ole_objects_post_update_worksheet_ole_object() is deprecated."
  data, _status_code, _headers = cells_ole_objects_post_update_worksheet_ole_object_with_http_info(name, sheet_name, ole_object_index, opts)
  return data
end

#cells_ole_objects_post_update_worksheet_ole_object_with_http_info(name, sheet_name, ole_object_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update OLE object.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • ole_object_index

    Ole object index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ole (OleObject)

    Ole Object

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9398

def cells_ole_objects_post_update_worksheet_ole_object_with_http_info(name, sheet_name, ole_object_index, opts = {})
  warn "Warning: #cells_ole_objects_post_update_worksheet_ole_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_post_update_worksheet_ole_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ole_objects_post_update_worksheet_ole_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ole_objects_post_update_worksheet_ole_object"
  end
  # verify the required parameter 'ole_object_index' is set
  if @api_client.config.client_side_validation && ole_object_index.nil?
    fail ArgumentError, "Missing the required parameter 'ole_object_index' when calling CellsApi.cells_ole_objects_post_update_worksheet_ole_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/oleobjects/{oleObjectIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'oleObjectIndex' + '}', ole_object_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'ole'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_post_update_worksheet_ole_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ole_objects_put_worksheet_ole_object(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Add OLE object

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ole_object (OleObject)

    Ole Object

  • :upper_left_row (Integer)

    Upper left row index (default to 0)

  • :upper_left_column (Integer)

    Upper left column index (default to 0)

  • :height (Integer)

    Height of oleObject, in unit of pixel (default to 0)

  • :width (Integer)

    Width of oleObject, in unit of pixel (default to 0)

  • :ole_file (String)

    OLE filename

  • :image_file (String)

    Image filename

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



9466
9467
9468
9469
9470
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9466

def cells_ole_objects_put_worksheet_ole_object(name, sheet_name, opts = {})
  warn "Warning: #cells_ole_objects_put_worksheet_ole_object() is deprecated."
  data, _status_code, _headers = cells_ole_objects_put_worksheet_ole_object_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ole_objects_put_worksheet_ole_object_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add OLE object

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :ole_object (OleObject)

    Ole Object

  • :upper_left_row (Integer)

    Upper left row index

  • :upper_left_column (Integer)

    Upper left column index

  • :height (Integer)

    Height of oleObject, in unit of pixel

  • :width (Integer)

    Width of oleObject, in unit of pixel

  • :ole_file (String)

    OLE filename

  • :image_file (String)

    Image filename

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9487

def cells_ole_objects_put_worksheet_ole_object_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ole_objects_put_worksheet_ole_object_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ole_objects_put_worksheet_ole_object ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ole_objects_put_worksheet_ole_object"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ole_objects_put_worksheet_ole_object"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/oleobjects".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'upperLeftRow'] = opts[:'upper_left_row'] if !opts[:'upper_left_row'].nil?
  query_params[:'upperLeftColumn'] = opts[:'upper_left_column'] if !opts[:'upper_left_column'].nil?
  query_params[:'height'] = opts[:'height'] if !opts[:'height'].nil?
  query_params[:'width'] = opts[:'width'] if !opts[:'width'].nil?
  query_params[:'oleFile'] = opts[:'ole_file'] if !opts[:'ole_file'].nil?
  query_params[:'imageFile'] = opts[:'image_file'] if !opts[:'image_file'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'ole_object'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ole_objects_put_worksheet_ole_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_delete_horizontal_page_break(name, sheet_name, index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9551
9552
9553
9554
9555
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9551

def cells_page_breaks_delete_horizontal_page_break(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_delete_horizontal_page_break() is deprecated."
  data, _status_code, _headers = cells_page_breaks_delete_horizontal_page_break_with_http_info(name, sheet_name, index, opts)
  return data
end

#cells_page_breaks_delete_horizontal_page_break_with_http_info(name, sheet_name, index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9566

def cells_page_breaks_delete_horizontal_page_break_with_http_info(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_delete_horizontal_page_break_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_delete_horizontal_page_break ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_delete_horizontal_page_break"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_delete_horizontal_page_break"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_page_breaks_delete_horizontal_page_break"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_delete_horizontal_page_break\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_delete_horizontal_page_breaks(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :row (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9628
9629
9630
9631
9632
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9628

def cells_page_breaks_delete_horizontal_page_breaks(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_delete_horizontal_page_breaks() is deprecated."
  data, _status_code, _headers = cells_page_breaks_delete_horizontal_page_breaks_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_breaks_delete_horizontal_page_breaks_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :row (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9643

def cells_page_breaks_delete_horizontal_page_breaks_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_delete_horizontal_page_breaks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_delete_horizontal_page_breaks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_delete_horizontal_page_breaks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_delete_horizontal_page_breaks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'row'] = opts[:'row'] if !opts[:'row'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_delete_horizontal_page_breaks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_delete_vertical_page_break(name, sheet_name, index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9702
9703
9704
9705
9706
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9702

def cells_page_breaks_delete_vertical_page_break(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_delete_vertical_page_break() is deprecated."
  data, _status_code, _headers = cells_page_breaks_delete_vertical_page_break_with_http_info(name, sheet_name, index, opts)
  return data
end

#cells_page_breaks_delete_vertical_page_break_with_http_info(name, sheet_name, index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9717

def cells_page_breaks_delete_vertical_page_break_with_http_info(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_delete_vertical_page_break_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_delete_vertical_page_break ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_delete_vertical_page_break"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_delete_vertical_page_break"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_page_breaks_delete_vertical_page_break"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_delete_vertical_page_break\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_delete_vertical_page_breaks(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :column (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9779
9780
9781
9782
9783
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9779

def cells_page_breaks_delete_vertical_page_breaks(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_delete_vertical_page_breaks() is deprecated."
  data, _status_code, _headers = cells_page_breaks_delete_vertical_page_breaks_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_breaks_delete_vertical_page_breaks_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :column (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9794

def cells_page_breaks_delete_vertical_page_breaks_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_delete_vertical_page_breaks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_delete_vertical_page_breaks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_delete_vertical_page_breaks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_delete_vertical_page_breaks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'column'] = opts[:'column'] if !opts[:'column'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_delete_vertical_page_breaks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_get_horizontal_page_break(name, sheet_name, index, opts = {}) ⇒ HorizontalPageBreakResponse

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9853
9854
9855
9856
9857
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9853

def cells_page_breaks_get_horizontal_page_break(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_get_horizontal_page_break() is deprecated."
  data, _status_code, _headers = cells_page_breaks_get_horizontal_page_break_with_http_info(name, sheet_name, index, opts)
  return data
end

#cells_page_breaks_get_horizontal_page_break_with_http_info(name, sheet_name, index, opts = {}) ⇒ Array<(HorizontalPageBreakResponse, Fixnum, Hash)>

Returns HorizontalPageBreakResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9868

def cells_page_breaks_get_horizontal_page_break_with_http_info(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_get_horizontal_page_break_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_get_horizontal_page_break ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_get_horizontal_page_break"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_get_horizontal_page_break"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_page_breaks_get_horizontal_page_break"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'HorizontalPageBreakResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_get_horizontal_page_break\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_get_horizontal_page_breaks(name, sheet_name, opts = {}) ⇒ HorizontalPageBreaksResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9929
9930
9931
9932
9933
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9929

def cells_page_breaks_get_horizontal_page_breaks(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_get_horizontal_page_breaks() is deprecated."
  data, _status_code, _headers = cells_page_breaks_get_horizontal_page_breaks_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_breaks_get_horizontal_page_breaks_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(HorizontalPageBreaksResponse, Fixnum, Hash)>

Returns HorizontalPageBreaksResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 9943

def cells_page_breaks_get_horizontal_page_breaks_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_get_horizontal_page_breaks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_get_horizontal_page_breaks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_get_horizontal_page_breaks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_get_horizontal_page_breaks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'HorizontalPageBreaksResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_get_horizontal_page_breaks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_get_vertical_page_break(name, sheet_name, index, opts = {}) ⇒ VerticalPageBreakResponse

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10001
10002
10003
10004
10005
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10001

def cells_page_breaks_get_vertical_page_break(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_get_vertical_page_break() is deprecated."
  data, _status_code, _headers = cells_page_breaks_get_vertical_page_break_with_http_info(name, sheet_name, index, opts)
  return data
end

#cells_page_breaks_get_vertical_page_break_with_http_info(name, sheet_name, index, opts = {}) ⇒ Array<(VerticalPageBreakResponse, Fixnum, Hash)>

Returns VerticalPageBreakResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(VerticalPageBreakResponse, Fixnum, Hash)>)

    VerticalPageBreakResponse data, response status code and response headers



10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10016

def cells_page_breaks_get_vertical_page_break_with_http_info(name, sheet_name, index, opts = {})
  warn "Warning: #cells_page_breaks_get_vertical_page_break_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_get_vertical_page_break ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_get_vertical_page_break"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_get_vertical_page_break"
  end
  # verify the required parameter 'index' is set
  if @api_client.config.client_side_validation && index.nil?
    fail ArgumentError, "Missing the required parameter 'index' when calling CellsApi.cells_page_breaks_get_vertical_page_break"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks/{index}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'index' + '}', index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'VerticalPageBreakResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_get_vertical_page_break\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_get_vertical_page_breaks(name, sheet_name, opts = {}) ⇒ VerticalPageBreaksResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10077
10078
10079
10080
10081
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10077

def cells_page_breaks_get_vertical_page_breaks(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_get_vertical_page_breaks() is deprecated."
  data, _status_code, _headers = cells_page_breaks_get_vertical_page_breaks_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_breaks_get_vertical_page_breaks_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(VerticalPageBreaksResponse, Fixnum, Hash)>

Returns VerticalPageBreaksResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(VerticalPageBreaksResponse, Fixnum, Hash)>)

    VerticalPageBreaksResponse data, response status code and response headers



10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10091

def cells_page_breaks_get_vertical_page_breaks_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_get_vertical_page_breaks_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_get_vertical_page_breaks ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_get_vertical_page_breaks"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_get_vertical_page_breaks"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'VerticalPageBreaksResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_get_vertical_page_breaks\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_put_horizontal_page_break(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :cellname (String)
  • :row (Integer)
  • :column (Integer)
  • :start_column (Integer)
  • :end_column (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10153
10154
10155
10156
10157
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10153

def cells_page_breaks_put_horizontal_page_break(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_put_horizontal_page_break() is deprecated."
  data, _status_code, _headers = cells_page_breaks_put_horizontal_page_break_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_breaks_put_horizontal_page_break_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :cellname (String)
  • :row (Integer)
  • :column (Integer)
  • :start_column (Integer)
  • :end_column (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10172

def cells_page_breaks_put_horizontal_page_break_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_put_horizontal_page_break_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_put_horizontal_page_break ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_put_horizontal_page_break"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_put_horizontal_page_break"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/horizontalpagebreaks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellname'] = opts[:'cellname'] if !opts[:'cellname'].nil?
  query_params[:'row'] = opts[:'row'] if !opts[:'row'].nil?
  query_params[:'column'] = opts[:'column'] if !opts[:'column'].nil?
  query_params[:'startColumn'] = opts[:'start_column'] if !opts[:'start_column'].nil?
  query_params[:'endColumn'] = opts[:'end_column'] if !opts[:'end_column'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_put_horizontal_page_break\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_breaks_put_vertical_page_break(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :cellname (String)
  • :column (Integer)
  • :row (Integer)
  • :start_row (Integer)
  • :end_row (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10239
10240
10241
10242
10243
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10239

def cells_page_breaks_put_vertical_page_break(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_put_vertical_page_break() is deprecated."
  data, _status_code, _headers = cells_page_breaks_put_vertical_page_break_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_breaks_put_vertical_page_break_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :cellname (String)
  • :column (Integer)
  • :row (Integer)
  • :start_row (Integer)
  • :end_row (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10258

def cells_page_breaks_put_vertical_page_break_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_breaks_put_vertical_page_break_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_breaks_put_vertical_page_break ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_breaks_put_vertical_page_break"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_breaks_put_vertical_page_break"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/verticalpagebreaks".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellname'] = opts[:'cellname'] if !opts[:'cellname'].nil?
  query_params[:'column'] = opts[:'column'] if !opts[:'column'].nil?
  query_params[:'row'] = opts[:'row'] if !opts[:'row'].nil?
  query_params[:'startRow'] = opts[:'start_row'] if !opts[:'start_row'].nil?
  query_params[:'endRow'] = opts[:'end_row'] if !opts[:'end_row'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_breaks_put_vertical_page_break\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

clear header footer

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10320
10321
10322
10323
10324
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10320

def cells_page_setup_delete_header_footer(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_delete_header_footer() is deprecated."
  data, _status_code, _headers = cells_page_setup_delete_header_footer_with_http_info(name, sheet_name, opts)
  return data
end

clear header footer

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10334

def cells_page_setup_delete_header_footer_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_delete_header_footer_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_delete_header_footer ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_delete_header_footer"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_delete_header_footer"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup/clearheaderfooter".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_delete_header_footer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

get page footer information

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10391
10392
10393
10394
10395
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10391

def cells_page_setup_get_footer(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_get_footer() is deprecated."
  data, _status_code, _headers = cells_page_setup_get_footer_with_http_info(name, sheet_name, opts)
  return data
end

get page footer information

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PageSectionsResponse, Fixnum, Hash)>)

    PageSectionsResponse data, response status code and response headers



10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10405

def cells_page_setup_get_footer_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_get_footer_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_get_footer ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_get_footer"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_get_footer"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup/footer".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PageSectionsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_get_footer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_setup_get_header(name, sheet_name, opts = {}) ⇒ PageSectionsResponse

get page header information

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10462
10463
10464
10465
10466
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10462

def cells_page_setup_get_header(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_get_header() is deprecated."
  data, _status_code, _headers = cells_page_setup_get_header_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_setup_get_header_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(PageSectionsResponse, Fixnum, Hash)>

get page header information

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PageSectionsResponse, Fixnum, Hash)>)

    PageSectionsResponse data, response status code and response headers



10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10476

def cells_page_setup_get_header_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_get_header_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_get_header ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_get_header"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_get_header"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup/header".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PageSectionsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_get_header\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_setup_get_page_setup(name, sheet_name, opts = {}) ⇒ PageSetupResponse

Get Page Setup information.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10533
10534
10535
10536
10537
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10533

def cells_page_setup_get_page_setup(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_get_page_setup() is deprecated."
  data, _status_code, _headers = cells_page_setup_get_page_setup_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_setup_get_page_setup_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(PageSetupResponse, Fixnum, Hash)>

Get Page Setup information.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PageSetupResponse, Fixnum, Hash)>)

    PageSetupResponse data, response status code and response headers



10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10547

def cells_page_setup_get_page_setup_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_get_page_setup_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_get_page_setup ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_get_page_setup"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_get_page_setup"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PageSetupResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_get_page_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_setup_post_footer(name, sheet_name, section, script, is_first_page, opts = {}) ⇒ CellsCloudResponse

update page footer information

Parameters:

  • name
  • sheet_name
  • section
  • script
  • is_first_page
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10607
10608
10609
10610
10611
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10607

def (name, sheet_name, section, script, is_first_page, opts = {})
  warn "Warning: #cells_page_setup_post_footer() is deprecated."
  data, _status_code, _headers = (name, sheet_name, section, script, is_first_page, opts)
  return data
end

#cells_page_setup_post_footer_with_http_info(name, sheet_name, section, script, is_first_page, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

update page footer information

Parameters:

  • name
  • sheet_name
  • section
  • script
  • is_first_page
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10624

def (name, sheet_name, section, script, is_first_page, opts = {})
  warn "Warning: #cells_page_setup_post_footer_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_post_footer ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_post_footer"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_post_footer"
  end
  # verify the required parameter 'section' is set
  if @api_client.config.client_side_validation && section.nil?
    fail ArgumentError, "Missing the required parameter 'section' when calling CellsApi.cells_page_setup_post_footer"
  end
  # verify the required parameter 'script' is set
  if @api_client.config.client_side_validation && script.nil?
    fail ArgumentError, "Missing the required parameter 'script' when calling CellsApi.cells_page_setup_post_footer"
  end
  # verify the required parameter 'is_first_page' is set
  if @api_client.config.client_side_validation && is_first_page.nil?
    fail ArgumentError, "Missing the required parameter 'is_first_page' when calling CellsApi.cells_page_setup_post_footer"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup/footer".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'section'] = section
  query_params[:'script'] = script
  query_params[:'isFirstPage'] = is_first_page
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_post_footer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_setup_post_header(name, sheet_name, section, script, is_first_page, opts = {}) ⇒ CellsCloudResponse

update page header information

Parameters:

  • name
  • sheet_name
  • section
  • script
  • is_first_page
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10699
10700
10701
10702
10703
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10699

def cells_page_setup_post_header(name, sheet_name, section, script, is_first_page, opts = {})
  warn "Warning: #cells_page_setup_post_header() is deprecated."
  data, _status_code, _headers = cells_page_setup_post_header_with_http_info(name, sheet_name, section, script, is_first_page, opts)
  return data
end

#cells_page_setup_post_header_with_http_info(name, sheet_name, section, script, is_first_page, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

update page header information

Parameters:

  • name
  • sheet_name
  • section
  • script
  • is_first_page
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10716

def cells_page_setup_post_header_with_http_info(name, sheet_name, section, script, is_first_page, opts = {})
  warn "Warning: #cells_page_setup_post_header_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_post_header ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_post_header"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_post_header"
  end
  # verify the required parameter 'section' is set
  if @api_client.config.client_side_validation && section.nil?
    fail ArgumentError, "Missing the required parameter 'section' when calling CellsApi.cells_page_setup_post_header"
  end
  # verify the required parameter 'script' is set
  if @api_client.config.client_side_validation && script.nil?
    fail ArgumentError, "Missing the required parameter 'script' when calling CellsApi.cells_page_setup_post_header"
  end
  # verify the required parameter 'is_first_page' is set
  if @api_client.config.client_side_validation && is_first_page.nil?
    fail ArgumentError, "Missing the required parameter 'is_first_page' when calling CellsApi.cells_page_setup_post_header"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup/header".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'section'] = section
  query_params[:'script'] = script
  query_params[:'isFirstPage'] = is_first_page
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_post_header\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_page_setup_post_page_setup(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Update Page Setup information.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :page_setup (PageSetup)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



10789
10790
10791
10792
10793
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10789

def cells_page_setup_post_page_setup(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_post_page_setup() is deprecated."
  data, _status_code, _headers = cells_page_setup_post_page_setup_with_http_info(name, sheet_name, opts)
  return data
end

#cells_page_setup_post_page_setup_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update Page Setup information.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :page_setup (PageSetup)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10804

def cells_page_setup_post_page_setup_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_page_setup_post_page_setup_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_page_setup_post_page_setup ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_page_setup_post_page_setup"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_page_setup_post_page_setup"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagesetup".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'page_setup'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_page_setup_post_page_setup\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pictures_delete_worksheet_picture(name, sheet_name, picture_index, opts = {}) ⇒ CellsCloudResponse

Delete a picture object in worksheet

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • picture_index

    Picture index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



10862
10863
10864
10865
10866
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10862

def cells_pictures_delete_worksheet_picture(name, sheet_name, picture_index, opts = {})
  warn "Warning: #cells_pictures_delete_worksheet_picture() is deprecated."
  data, _status_code, _headers = cells_pictures_delete_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts)
  return data
end

#cells_pictures_delete_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete a picture object in worksheet

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • picture_index

    Picture index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10877

def cells_pictures_delete_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {})
  warn "Warning: #cells_pictures_delete_worksheet_picture_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_delete_worksheet_picture ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pictures_delete_worksheet_picture"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pictures_delete_worksheet_picture"
  end
  # verify the required parameter 'picture_index' is set
  if @api_client.config.client_side_validation && picture_index.nil?
    fail ArgumentError, "Missing the required parameter 'picture_index' when calling CellsApi.cells_pictures_delete_worksheet_picture"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pictureIndex' + '}', picture_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pictures_delete_worksheet_picture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pictures_delete_worksheet_pictures(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Delete all pictures in worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



10938
10939
10940
10941
10942
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10938

def cells_pictures_delete_worksheet_pictures(name, sheet_name, opts = {})
  warn "Warning: #cells_pictures_delete_worksheet_pictures() is deprecated."
  data, _status_code, _headers = cells_pictures_delete_worksheet_pictures_with_http_info(name, sheet_name, opts)
  return data
end

#cells_pictures_delete_worksheet_pictures_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete all pictures in worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 10952

def cells_pictures_delete_worksheet_pictures_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_pictures_delete_worksheet_pictures_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_delete_worksheet_pictures ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pictures_delete_worksheet_pictures"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pictures_delete_worksheet_pictures"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pictures_delete_worksheet_pictures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pictures_get_worksheet_picture(name, sheet_name, picture_index, opts = {}) ⇒ File

GRead worksheet picture by number.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • picture_index

    The picture index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported object format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (File)


11011
11012
11013
11014
11015
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11011

def cells_pictures_get_worksheet_picture(name, sheet_name, picture_index, opts = {})
  warn "Warning: #cells_pictures_get_worksheet_picture() is deprecated."
  data, _status_code, _headers = cells_pictures_get_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts)
  return data
end

#cells_pictures_get_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

GRead worksheet picture by number.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • picture_index

    The picture index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported object format.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11027

def cells_pictures_get_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {})
  warn "Warning: #cells_pictures_get_worksheet_picture_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_get_worksheet_picture ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pictures_get_worksheet_picture"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pictures_get_worksheet_picture"
  end
  # verify the required parameter 'picture_index' is set
  if @api_client.config.client_side_validation && picture_index.nil?
    fail ArgumentError, "Missing the required parameter 'picture_index' when calling CellsApi.cells_pictures_get_worksheet_picture"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pictureIndex' + '}', picture_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pictures_get_worksheet_picture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pictures_get_worksheet_pictures(name, sheet_name, opts = {}) ⇒ PicturesResponse

Read worksheet pictures.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



11089
11090
11091
11092
11093
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11089

def cells_pictures_get_worksheet_pictures(name, sheet_name, opts = {})
  warn "Warning: #cells_pictures_get_worksheet_pictures() is deprecated."
  data, _status_code, _headers = cells_pictures_get_worksheet_pictures_with_http_info(name, sheet_name, opts)
  return data
end

#cells_pictures_get_worksheet_pictures_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(PicturesResponse, Fixnum, Hash)>

Read worksheet pictures.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PicturesResponse, Fixnum, Hash)>)

    PicturesResponse data, response status code and response headers



11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11103

def cells_pictures_get_worksheet_pictures_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_pictures_get_worksheet_pictures_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_get_worksheet_pictures ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pictures_get_worksheet_pictures"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pictures_get_worksheet_pictures"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PicturesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pictures_get_worksheet_pictures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pictures_post_worksheet_picture(name, sheet_name, picture_index, opts = {}) ⇒ CellsCloudResponse

Update worksheet picture by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • picture_index

    The picture&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :picture (Picture)

    Picture object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



11162
11163
11164
11165
11166
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11162

def cells_pictures_post_worksheet_picture(name, sheet_name, picture_index, opts = {})
  warn "Warning: #cells_pictures_post_worksheet_picture() is deprecated."
  data, _status_code, _headers = cells_pictures_post_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts)
  return data
end

#cells_pictures_post_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update worksheet picture by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • picture_index

    The picture&#39;s index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :picture (Picture)

    Picture object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11178

def cells_pictures_post_worksheet_picture_with_http_info(name, sheet_name, picture_index, opts = {})
  warn "Warning: #cells_pictures_post_worksheet_picture_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_post_worksheet_picture ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pictures_post_worksheet_picture"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pictures_post_worksheet_picture"
  end
  # verify the required parameter 'picture_index' is set
  if @api_client.config.client_side_validation && picture_index.nil?
    fail ArgumentError, "Missing the required parameter 'picture_index' when calling CellsApi.cells_pictures_post_worksheet_picture"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pictureIndex' + '}', picture_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'picture'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pictures_post_worksheet_picture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pictures_put_worksheet_add_picture(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Add a new worksheet picture.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :picture (Picture)

    Pictute object

  • :upper_left_row (Integer)

    The image upper left row. (default to 0)

  • :upper_left_column (Integer)

    The image upper left column. (default to 0)

  • :lower_right_row (Integer)

    The image low right row. (default to 0)

  • :lower_right_column (Integer)

    The image low right column. (default to 0)

  • :picture_path (String)

    The picture path, if not provided the picture data is inspected in the request body.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



11245
11246
11247
11248
11249
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11245

def cells_pictures_put_worksheet_add_picture(name, sheet_name, opts = {})
  warn "Warning: #cells_pictures_put_worksheet_add_picture() is deprecated."
  data, _status_code, _headers = cells_pictures_put_worksheet_add_picture_with_http_info(name, sheet_name, opts)
  return data
end

#cells_pictures_put_worksheet_add_picture_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add a new worksheet picture.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worsheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :picture (Picture)

    Pictute object

  • :upper_left_row (Integer)

    The image upper left row.

  • :upper_left_column (Integer)

    The image upper left column.

  • :lower_right_row (Integer)

    The image low right row.

  • :lower_right_column (Integer)

    The image low right column.

  • :picture_path (String)

    The picture path, if not provided the picture data is inspected in the request body.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11265

def cells_pictures_put_worksheet_add_picture_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_pictures_put_worksheet_add_picture_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pictures_put_worksheet_add_picture ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pictures_put_worksheet_add_picture"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pictures_put_worksheet_add_picture"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'upperLeftRow'] = opts[:'upper_left_row'] if !opts[:'upper_left_row'].nil?
  query_params[:'upperLeftColumn'] = opts[:'upper_left_column'] if !opts[:'upper_left_column'].nil?
  query_params[:'lowerRightRow'] = opts[:'lower_right_row'] if !opts[:'lower_right_row'].nil?
  query_params[:'lowerRightColumn'] = opts[:'lower_right_column'] if !opts[:'lower_right_column'].nil?
  query_params[:'picturePath'] = opts[:'picture_path'] if !opts[:'picture_path'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'picture'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pictures_put_worksheet_add_picture\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_delete_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_type, opts = {}) ⇒ CellsCloudResponse

Delete pivot field into into pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • pivot_field_type

    The fields area type.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :request (PivotTableFieldRequest)

    Dto that conrains field indexes

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



11330
11331
11332
11333
11334
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11330

def cells_pivot_tables_delete_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_type, opts = {})
  warn "Warning: #cells_pivot_tables_delete_pivot_table_field() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_delete_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, opts)
  return data
end

#cells_pivot_tables_delete_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete pivot field into into pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • pivot_field_type

    The fields area type.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :request (PivotTableFieldRequest)

    Dto that conrains field indexes

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11347

def cells_pivot_tables_delete_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, opts = {})
  warn "Warning: #cells_pivot_tables_delete_pivot_table_field_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_delete_pivot_table_field ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_delete_pivot_table_field"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_delete_pivot_table_field"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_delete_pivot_table_field"
  end
  # verify the required parameter 'pivot_field_type' is set
  if @api_client.config.client_side_validation && pivot_field_type.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_delete_pivot_table_field"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'pivotFieldType'] = pivot_field_type
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'request'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_delete_pivot_table_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_delete_worksheet_pivot_table(name, sheet_name, pivot_table_index, opts = {}) ⇒ CellsCloudResponse

Delete worksheet pivot table by index

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



11414
11415
11416
11417
11418
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11414

def cells_pivot_tables_delete_worksheet_pivot_table(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_table() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_delete_worksheet_pivot_table_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_delete_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, field_index, opts = {}) ⇒ CellsCloudResponse

delete pivot filter for piovt table

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



11493
11494
11495
11496
11497
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11493

def cells_pivot_tables_delete_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, field_index, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_table_filter() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_delete_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, field_index, opts)
  return data
end

#cells_pivot_tables_delete_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, field_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

delete pivot filter for piovt table

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • field_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11510

def cells_pivot_tables_delete_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, field_index, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_table_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters/{fieldIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s).sub('{' + 'fieldIndex' + '}', field_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_delete_worksheet_pivot_table_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_delete_worksheet_pivot_table_filters(name, sheet_name, pivot_table_index, opts = {}) ⇒ CellsCloudResponse

delete all pivot filters for piovt table

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



11578
11579
11580
11581
11582
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11578

def cells_pivot_tables_delete_worksheet_pivot_table_filters(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_table_filters() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_delete_worksheet_pivot_table_filters_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_delete_worksheet_pivot_table_filters_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

delete all pivot filters for piovt table

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11594

def cells_pivot_tables_delete_worksheet_pivot_table_filters_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_table_filters_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filters ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filters"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filters"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table_filters"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_delete_worksheet_pivot_table_filters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_delete_worksheet_pivot_table_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet pivot table by index

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11429

def cells_pivot_tables_delete_worksheet_pivot_table_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_table_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_delete_worksheet_pivot_table ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_table"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_delete_worksheet_pivot_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_delete_worksheet_pivot_tables(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Delete worksheet pivot tables

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



11656
11657
11658
11659
11660
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11656

def cells_pivot_tables_delete_worksheet_pivot_tables(name, sheet_name, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_tables() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_delete_worksheet_pivot_tables_with_http_info(name, sheet_name, opts)
  return data
end

#cells_pivot_tables_delete_worksheet_pivot_tables_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet pivot tables

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11670

def cells_pivot_tables_delete_worksheet_pivot_tables_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_pivot_tables_delete_worksheet_pivot_tables_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_delete_worksheet_pivot_tables ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_tables"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_delete_worksheet_pivot_tables"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_delete_worksheet_pivot_tables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_get_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, opts = {}) ⇒ PivotFieldResponse

Get pivot field into into pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • pivot_field_index

    The field index in the base fields.

  • pivot_field_type

    The fields area type.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



11730
11731
11732
11733
11734
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11730

def cells_pivot_tables_get_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, opts = {})
  warn "Warning: #cells_pivot_tables_get_pivot_table_field() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_get_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, opts)
  return data
end

#cells_pivot_tables_get_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, opts = {}) ⇒ Array<(PivotFieldResponse, Fixnum, Hash)>

Get pivot field into into pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • pivot_field_index

    The field index in the base fields.

  • pivot_field_type

    The fields area type.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PivotFieldResponse, Fixnum, Hash)>)

    PivotFieldResponse data, response status code and response headers



11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11747

def cells_pivot_tables_get_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, opts = {})
  warn "Warning: #cells_pivot_tables_get_pivot_table_field_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_get_pivot_table_field ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_get_pivot_table_field"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_get_pivot_table_field"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_get_pivot_table_field"
  end
  # verify the required parameter 'pivot_field_index' is set
  if @api_client.config.client_side_validation && pivot_field_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_index' when calling CellsApi.cells_pivot_tables_get_pivot_table_field"
  end
  # verify the required parameter 'pivot_field_type' is set
  if @api_client.config.client_side_validation && pivot_field_type.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_get_pivot_table_field"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'pivotFieldIndex'] = pivot_field_index
  query_params[:'pivotFieldType'] = pivot_field_type
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PivotFieldResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_get_pivot_table_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_get_worksheet_pivot_table(name, sheet_name, pivottable_index, opts = {}) ⇒ PivotTableResponse

Get worksheet pivottable info by index.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivottable_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



11819
11820
11821
11822
11823
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11819

def cells_pivot_tables_get_worksheet_pivot_table(name, sheet_name, pivottable_index, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_table() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_get_worksheet_pivot_table_with_http_info(name, sheet_name, pivottable_index, opts)
  return data
end

#cells_pivot_tables_get_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, filter_index, opts = {}) ⇒ PivotFilterResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • filter_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



11897
11898
11899
11900
11901
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11897

def cells_pivot_tables_get_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, filter_index, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_table_filter() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_get_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, filter_index, opts)
  return data
end

#cells_pivot_tables_get_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, filter_index, opts = {}) ⇒ Array<(PivotFilterResponse, Fixnum, Hash)>

Returns PivotFilterResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • filter_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PivotFilterResponse, Fixnum, Hash)>)

    PivotFilterResponse data, response status code and response headers



11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11913

def cells_pivot_tables_get_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, filter_index, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_table_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'filter_index' is set
  if @api_client.config.client_side_validation && filter_index.nil?
    fail ArgumentError, "Missing the required parameter 'filter_index' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters/{filterIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s).sub('{' + 'filterIndex' + '}', filter_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PivotFilterResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_get_worksheet_pivot_table_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_get_worksheet_pivot_table_filters(name, sheet_name, pivot_table_index, opts = {}) ⇒ PivotFiltersResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



11979
11980
11981
11982
11983
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11979

def cells_pivot_tables_get_worksheet_pivot_table_filters(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_table_filters() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_get_worksheet_pivot_table_filters_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_get_worksheet_pivot_table_filters_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(PivotFiltersResponse, Fixnum, Hash)>

Returns PivotFiltersResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PivotFiltersResponse, Fixnum, Hash)>)

    PivotFiltersResponse data, response status code and response headers



11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11994

def cells_pivot_tables_get_worksheet_pivot_table_filters_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_table_filters_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filters ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filters"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filters"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table_filters"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PivotFiltersResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_get_worksheet_pivot_table_filters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_get_worksheet_pivot_table_with_http_info(name, sheet_name, pivottable_index, opts = {}) ⇒ Array<(PivotTableResponse, Fixnum, Hash)>

Get worksheet pivottable info by index.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivottable_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PivotTableResponse, Fixnum, Hash)>)

    PivotTableResponse data, response status code and response headers



11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 11834

def cells_pivot_tables_get_worksheet_pivot_table_with_http_info(name, sheet_name, pivottable_index, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_table_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_get_worksheet_pivot_table ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table"
  end
  # verify the required parameter 'pivottable_index' is set
  if @api_client.config.client_side_validation && pivottable_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivottable_index' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_table"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivottableIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivottableIndex' + '}', pivottable_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PivotTableResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_get_worksheet_pivot_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_get_worksheet_pivot_tables(name, sheet_name, opts = {}) ⇒ PivotTablesResponse

Get worksheet pivottables info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



12055
12056
12057
12058
12059
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12055

def cells_pivot_tables_get_worksheet_pivot_tables(name, sheet_name, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_tables() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_get_worksheet_pivot_tables_with_http_info(name, sheet_name, opts)
  return data
end

#cells_pivot_tables_get_worksheet_pivot_tables_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(PivotTablesResponse, Fixnum, Hash)>

Get worksheet pivottables info.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(PivotTablesResponse, Fixnum, Hash)>)

    PivotTablesResponse data, response status code and response headers



12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12069

def cells_pivot_tables_get_worksheet_pivot_tables_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_pivot_tables_get_worksheet_pivot_tables_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_get_worksheet_pivot_tables ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_tables"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_get_worksheet_pivot_tables"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'PivotTablesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_get_worksheet_pivot_tables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_pivot_table_cell_style(name, sheet_name, pivot_table_index, column, row, opts = {}) ⇒ CellsCloudResponse

Update cell style for pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • column
  • row
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto in request body.

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



12131
12132
12133
12134
12135
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12131

def cells_pivot_tables_post_pivot_table_cell_style(name, sheet_name, pivot_table_index, column, row, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_cell_style() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_pivot_table_cell_style_with_http_info(name, sheet_name, pivot_table_index, column, row, opts)
  return data
end

#cells_pivot_tables_post_pivot_table_cell_style_with_http_info(name, sheet_name, pivot_table_index, column, row, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update cell style for pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • column
  • row
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto in request body.

  • :need_re_calculate (BOOLEAN)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12150

def cells_pivot_tables_post_pivot_table_cell_style_with_http_info(name, sheet_name, pivot_table_index, column, row, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_cell_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_cell_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_cell_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_cell_style"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_cell_style"
  end
  # verify the required parameter 'column' is set
  if @api_client.config.client_side_validation && column.nil?
    fail ArgumentError, "Missing the required parameter 'column' when calling CellsApi.cells_pivot_tables_post_pivot_table_cell_style"
  end
  # verify the required parameter 'row' is set
  if @api_client.config.client_side_validation && row.nil?
    fail ArgumentError, "Missing the required parameter 'row' when calling CellsApi.cells_pivot_tables_post_pivot_table_cell_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Format".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'column'] = column
  query_params[:'row'] = row
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'style'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_cell_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_pivot_table_field_hide_item(name, sheet_name, pivot_table_index, pivot_field_type, field_index, item_index, is_hide, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • pivot_field_type
  • field_index
  • item_index
  • is_hide
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



12228
12229
12230
12231
12232
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12228

def cells_pivot_tables_post_pivot_table_field_hide_item(name, sheet_name, pivot_table_index, pivot_field_type, field_index, item_index, is_hide, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_field_hide_item() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_pivot_table_field_hide_item_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, field_index, item_index, is_hide, opts)
  return data
end

#cells_pivot_tables_post_pivot_table_field_hide_item_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, field_index, item_index, is_hide, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • pivot_field_type
  • field_index
  • item_index
  • is_hide
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12248

def cells_pivot_tables_post_pivot_table_field_hide_item_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, field_index, item_index, is_hide, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_field_hide_item_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # verify the required parameter 'pivot_field_type' is set
  if @api_client.config.client_side_validation && pivot_field_type.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # verify the required parameter 'item_index' is set
  if @api_client.config.client_side_validation && item_index.nil?
    fail ArgumentError, "Missing the required parameter 'item_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # verify the required parameter 'is_hide' is set
  if @api_client.config.client_side_validation && is_hide.nil?
    fail ArgumentError, "Missing the required parameter 'is_hide' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_hide_item"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField/Hide".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'pivotFieldType'] = pivot_field_type
  query_params[:'fieldIndex'] = field_index
  query_params[:'itemIndex'] = item_index
  query_params[:'isHide'] = is_hide
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_field_hide_item\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_pivot_table_field_move_to(name, sheet_name, pivot_table_index, field_index, from, to, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • field_index
  • from
  • to
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



12334
12335
12336
12337
12338
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12334

def cells_pivot_tables_post_pivot_table_field_move_to(name, sheet_name, pivot_table_index, field_index, from, to, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_field_move_to() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_pivot_table_field_move_to_with_http_info(name, sheet_name, pivot_table_index, field_index, from, to, opts)
  return data
end

#cells_pivot_tables_post_pivot_table_field_move_to_with_http_info(name, sheet_name, pivot_table_index, field_index, from, to, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • field_index
  • from
  • to
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12352

def cells_pivot_tables_post_pivot_table_field_move_to_with_http_info(name, sheet_name, pivot_table_index, field_index, from, to, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_field_move_to_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_field_move_to ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_move_to"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_move_to"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_move_to"
  end
  # verify the required parameter 'field_index' is set
  if @api_client.config.client_side_validation && field_index.nil?
    fail ArgumentError, "Missing the required parameter 'field_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_move_to"
  end
  # verify the required parameter 'from' is set
  if @api_client.config.client_side_validation && from.nil?
    fail ArgumentError, "Missing the required parameter 'from' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_move_to"
  end
  # verify the required parameter 'to' is set
  if @api_client.config.client_side_validation && to.nil?
    fail ArgumentError, "Missing the required parameter 'to' when calling CellsApi.cells_pivot_tables_post_pivot_table_field_move_to"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField/Move".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'fieldIndex'] = field_index
  query_params[:'from'] = from
  query_params[:'to'] = to
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_field_move_to\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_pivot_table_style(name, sheet_name, pivot_table_index, opts = {}) ⇒ CellsCloudResponse

Update style for pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto in request body.

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



12431
12432
12433
12434
12435
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12431

def cells_pivot_tables_post_pivot_table_style(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_style() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_pivot_table_style_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_post_pivot_table_style_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update style for pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto in request body.

  • :need_re_calculate (BOOLEAN)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12448

def cells_pivot_tables_post_pivot_table_style_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_style"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/FormatAll".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'style'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_pivot_table_update_pivot_field(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • pivot_field_index
  • pivot_field_type
  • pivot_field
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)

Returns:



12514
12515
12516
12517
12518
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12514

def cells_pivot_tables_post_pivot_table_update_pivot_field(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_update_pivot_field() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_pivot_table_update_pivot_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts)
  return data
end

#cells_pivot_tables_post_pivot_table_update_pivot_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • pivot_field_index
  • pivot_field_type
  • pivot_field
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN)
  • :folder (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12532

def cells_pivot_tables_post_pivot_table_update_pivot_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_index, pivot_field_type, pivot_field, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_update_pivot_field_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
  end
  # verify the required parameter 'pivot_field_index' is set
  if @api_client.config.client_side_validation && pivot_field_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
  end
  # verify the required parameter 'pivot_field_type' is set
  if @api_client.config.client_side_validation && pivot_field_type.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
  end
  # verify the required parameter 'pivot_field' is set
  if @api_client.config.client_side_validation && pivot_field.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_field"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFields/{pivotFieldIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s).sub('{' + 'pivotFieldIndex' + '}', pivot_field_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'pivotFieldType'] = pivot_field_type
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(pivot_field)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_update_pivot_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_pivot_table_update_pivot_fields(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • pivot_field_type
  • pivot_field
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)

Returns:



12609
12610
12611
12612
12613
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12609

def cells_pivot_tables_post_pivot_table_update_pivot_fields(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_update_pivot_fields() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_pivot_table_update_pivot_fields_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts)
  return data
end

#cells_pivot_tables_post_pivot_table_update_pivot_fields_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • pivot_field_type
  • pivot_field
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :need_re_calculate (BOOLEAN)
  • :folder (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12626

def cells_pivot_tables_post_pivot_table_update_pivot_fields_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, pivot_field, opts = {})
  warn "Warning: #cells_pivot_tables_post_pivot_table_update_pivot_fields_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
  end
  # verify the required parameter 'pivot_field_type' is set
  if @api_client.config.client_side_validation && pivot_field_type.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
  end
  # verify the required parameter 'pivot_field' is set
  if @api_client.config.client_side_validation && pivot_field.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field' when calling CellsApi.cells_pivot_tables_post_pivot_table_update_pivot_fields"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFields".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'pivotFieldType'] = pivot_field_type
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(pivot_field)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_pivot_table_update_pivot_fields\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_worksheet_pivot_table_calculate(name, sheet_name, pivot_table_index, opts = {}) ⇒ CellsCloudResponse

Calculates pivottable’s data to cells.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



12697
12698
12699
12700
12701
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12697

def cells_pivot_tables_post_worksheet_pivot_table_calculate(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_post_worksheet_pivot_table_calculate() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_worksheet_pivot_table_calculate_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_post_worksheet_pivot_table_calculate_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Calculates pivottable&#39;s data to cells.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12712

def cells_pivot_tables_post_worksheet_pivot_table_calculate_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_post_worksheet_pivot_table_calculate_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_worksheet_pivot_table_calculate ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_worksheet_pivot_table_calculate"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_worksheet_pivot_table_calculate"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_worksheet_pivot_table_calculate"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Calculate".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_worksheet_pivot_table_calculate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_post_worksheet_pivot_table_move(name, sheet_name, pivot_table_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :row (Integer)
  • :column (Integer)
  • :dest_cell_name (String)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



12777
12778
12779
12780
12781
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12777

def cells_pivot_tables_post_worksheet_pivot_table_move(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_post_worksheet_pivot_table_move() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_post_worksheet_pivot_table_move_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_post_worksheet_pivot_table_move_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :row (Integer)
  • :column (Integer)
  • :dest_cell_name (String)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12795

def cells_pivot_tables_post_worksheet_pivot_table_move_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_post_worksheet_pivot_table_move_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_post_worksheet_pivot_table_move ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_post_worksheet_pivot_table_move"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_post_worksheet_pivot_table_move"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_post_worksheet_pivot_table_move"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/Move".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'row'] = opts[:'row'] if !opts[:'row'].nil?
  query_params[:'column'] = opts[:'column'] if !opts[:'column'].nil?
  query_params[:'destCellName'] = opts[:'dest_cell_name'] if !opts[:'dest_cell_name'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_post_worksheet_pivot_table_move\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_put_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_type, opts = {}) ⇒ CellsCloudResponse

Add pivot field into into pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • pivot_field_type

    The fields area type.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :request (PivotTableFieldRequest)

    Dto that conrains field indexes

  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



12863
12864
12865
12866
12867
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12863

def cells_pivot_tables_put_pivot_table_field(name, sheet_name, pivot_table_index, pivot_field_type, opts = {})
  warn "Warning: #cells_pivot_tables_put_pivot_table_field() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_put_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, opts)
  return data
end

#cells_pivot_tables_put_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add pivot field into into pivot table

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • pivot_table_index

    Pivot table index

  • pivot_field_type

    The fields area type.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :request (PivotTableFieldRequest)

    Dto that conrains field indexes

  • :need_re_calculate (BOOLEAN)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12881

def cells_pivot_tables_put_pivot_table_field_with_http_info(name, sheet_name, pivot_table_index, pivot_field_type, opts = {})
  warn "Warning: #cells_pivot_tables_put_pivot_table_field_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_put_pivot_table_field ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_put_pivot_table_field"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_put_pivot_table_field"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_put_pivot_table_field"
  end
  # verify the required parameter 'pivot_field_type' is set
  if @api_client.config.client_side_validation && pivot_field_type.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_field_type' when calling CellsApi.cells_pivot_tables_put_pivot_table_field"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotField".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'pivotFieldType'] = pivot_field_type
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'request'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_put_pivot_table_field\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_put_worksheet_pivot_table(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Add a pivot table into worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :request (CreatePivotTableRequest)

    CreatePivotTableRequest dto in request body.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

  • :source_data (String)

    The data for the new PivotTable cache.

  • :dest_cell_name (String)

    The cell in the upper-left corner of the PivotTable report&#39;s destination range.

  • :table_name (String)

    The name of the new PivotTable report.

  • :use_same_source (BOOLEAN)

    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.

Returns:



12953
12954
12955
12956
12957
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12953

def cells_pivot_tables_put_worksheet_pivot_table(name, sheet_name, opts = {})
  warn "Warning: #cells_pivot_tables_put_worksheet_pivot_table() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_put_worksheet_pivot_table_with_http_info(name, sheet_name, opts)
  return data
end

#cells_pivot_tables_put_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, opts = {}) ⇒ CellsCloudResponse

Add pivot filter for piovt table index

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :filter (PivotFilter)
  • :need_re_calculate (BOOLEAN) — default: default to false
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



13036
13037
13038
13039
13040
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13036

def cells_pivot_tables_put_worksheet_pivot_table_filter(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_put_worksheet_pivot_table_filter() is deprecated."
  data, _status_code, _headers = cells_pivot_tables_put_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, opts)
  return data
end

#cells_pivot_tables_put_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add pivot filter for piovt table index

Parameters:

  • name
  • sheet_name
  • pivot_table_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :filter (PivotFilter)
  • :need_re_calculate (BOOLEAN)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13053

def cells_pivot_tables_put_worksheet_pivot_table_filter_with_http_info(name, sheet_name, pivot_table_index, opts = {})
  warn "Warning: #cells_pivot_tables_put_worksheet_pivot_table_filter_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_put_worksheet_pivot_table_filter ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_put_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_put_worksheet_pivot_table_filter"
  end
  # verify the required parameter 'pivot_table_index' is set
  if @api_client.config.client_side_validation && pivot_table_index.nil?
    fail ArgumentError, "Missing the required parameter 'pivot_table_index' when calling CellsApi.cells_pivot_tables_put_worksheet_pivot_table_filter"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables/{pivotTableIndex}/PivotFilters".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'pivotTableIndex' + '}', pivot_table_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'needReCalculate'] = opts[:'need_re_calculate'] if !opts[:'need_re_calculate'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'filter'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_put_worksheet_pivot_table_filter\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_pivot_tables_put_worksheet_pivot_table_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add a pivot table into worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :request (CreatePivotTableRequest)

    CreatePivotTableRequest dto in request body.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

  • :source_data (String)

    The data for the new PivotTable cache.

  • :dest_cell_name (String)

    The cell in the upper-left corner of the PivotTable report&#39;s destination range.

  • :table_name (String)

    The name of the new PivotTable report.

  • :use_same_source (BOOLEAN)

    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.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 12972

def cells_pivot_tables_put_worksheet_pivot_table_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_pivot_tables_put_worksheet_pivot_table_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_pivot_tables_put_worksheet_pivot_table ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_pivot_tables_put_worksheet_pivot_table"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_pivot_tables_put_worksheet_pivot_table"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pivottables".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'sourceData'] = opts[:'source_data'] if !opts[:'source_data'].nil?
  query_params[:'destCellName'] = opts[:'dest_cell_name'] if !opts[:'dest_cell_name'].nil?
  query_params[:'tableName'] = opts[:'table_name'] if !opts[:'table_name'].nil?
  query_params[:'useSameSource'] = opts[:'use_same_source'] if !opts[:'use_same_source'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'request'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_pivot_tables_put_worksheet_pivot_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_cell_calculate(name, sheet_name, cell_name, opts = {}) ⇒ CellsCloudResponse

Cell calculate formula

Parameters:

  • name
  • sheet_name
  • cell_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:



13117
13118
13119
13120
13121
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13117

def cells_post_cell_calculate(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_cell_calculate() is deprecated."
  data, _status_code, _headers = cells_post_cell_calculate_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_post_cell_calculate_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Cell calculate formula

Parameters:

  • name
  • sheet_name
  • cell_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13133

def cells_post_cell_calculate_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_cell_calculate_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_cell_calculate ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_cell_calculate"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_cell_calculate"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_post_cell_calculate"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/calculate".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_cell_calculate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_cell_characters(name, sheet_name, cell_name, opts = {}) ⇒ CellsCloudResponse

Set cell characters

Parameters:

  • name
  • sheet_name
  • cell_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :options (Array<FontSetting>)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



13196
13197
13198
13199
13200
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13196

def cells_post_cell_characters(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_cell_characters() is deprecated."
  data, _status_code, _headers = cells_post_cell_characters_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_post_cell_characters_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set cell characters

Parameters:

  • name
  • sheet_name
  • cell_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :options (Array<FontSetting>)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13212

def cells_post_cell_characters_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_cell_characters_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_cell_characters ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_cell_characters"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_cell_characters"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_post_cell_characters"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/characters".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_cell_characters\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_clear_contents(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Clear cells contents.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (String)

    The range.

  • :start_row (Integer)

    The start row.

  • :start_column (Integer)

    The start column.

  • :end_row (Integer)

    The end row.

  • :end_column (Integer)

    The end column.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



13278
13279
13280
13281
13282
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13278

def cells_post_clear_contents(name, sheet_name, opts = {})
  warn "Warning: #cells_post_clear_contents() is deprecated."
  data, _status_code, _headers = cells_post_clear_contents_with_http_info(name, sheet_name, opts)
  return data
end

#cells_post_clear_contents_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clear cells contents.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (String)

    The range.

  • :start_row (Integer)

    The start row.

  • :start_column (Integer)

    The start column.

  • :end_row (Integer)

    The end row.

  • :end_column (Integer)

    The end column.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13297

def cells_post_clear_contents_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_post_clear_contents_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_clear_contents ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_clear_contents"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_clear_contents"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/clearcontents".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = opts[:'range'] if !opts[:'range'].nil?
  query_params[:'startRow'] = opts[:'start_row'] if !opts[:'start_row'].nil?
  query_params[:'startColumn'] = opts[:'start_column'] if !opts[:'start_column'].nil?
  query_params[:'endRow'] = opts[:'end_row'] if !opts[:'end_row'].nil?
  query_params[:'endColumn'] = opts[:'end_column'] if !opts[:'end_column'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_clear_contents\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_clear_formats(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Clear cells contents.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (String)

    The range.

  • :start_row (Integer)

    The start row.

  • :start_column (Integer)

    The start column.

  • :end_row (Integer)

    The end row.

  • :end_column (Integer)

    The end column.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



13364
13365
13366
13367
13368
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13364

def cells_post_clear_formats(name, sheet_name, opts = {})
  warn "Warning: #cells_post_clear_formats() is deprecated."
  data, _status_code, _headers = cells_post_clear_formats_with_http_info(name, sheet_name, opts)
  return data
end

#cells_post_clear_formats_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clear cells contents.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (String)

    The range.

  • :start_row (Integer)

    The start row.

  • :start_column (Integer)

    The start column.

  • :end_row (Integer)

    The end row.

  • :end_column (Integer)

    The end column.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13383

def cells_post_clear_formats_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_post_clear_formats_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_clear_formats ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_clear_formats"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_clear_formats"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/clearformats".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = opts[:'range'] if !opts[:'range'].nil?
  query_params[:'startRow'] = opts[:'start_row'] if !opts[:'start_row'].nil?
  query_params[:'startColumn'] = opts[:'start_column'] if !opts[:'start_column'].nil?
  query_params[:'endRow'] = opts[:'end_row'] if !opts[:'end_row'].nil?
  query_params[:'endColumn'] = opts[:'end_column'] if !opts[:'end_column'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_clear_formats\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_column_style(name, sheet_name, column_index, opts = {}) ⇒ CellsCloudResponse

Set column style

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



13447
13448
13449
13450
13451
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13447

def cells_post_column_style(name, sheet_name, column_index, opts = {})
  warn "Warning: #cells_post_column_style() is deprecated."
  data, _status_code, _headers = cells_post_column_style_with_http_info(name, sheet_name, column_index, opts)
  return data
end

#cells_post_column_style_with_http_info(name, sheet_name, column_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set column style

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13463

def cells_post_column_style_with_http_info(name, sheet_name, column_index, opts = {})
  warn "Warning: #cells_post_column_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_column_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_column_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_column_style"
  end
  # verify the required parameter 'column_index' is set
  if @api_client.config.client_side_validation && column_index.nil?
    fail ArgumentError, "Missing the required parameter 'column_index' when calling CellsApi.cells_post_column_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}/style".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'columnIndex' + '}', column_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'style'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_column_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_copy_cell_into_cell(name, dest_cell_name, sheet_name, worksheet, opts = {}) ⇒ CellsCloudResponse

Copy cell into cell

Parameters:

  • name

    Workbook name.

  • dest_cell_name

    Destination cell name

  • sheet_name

    Destination worksheet name.

  • worksheet

    Source worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :cellname (String)

    Source cell name

  • :row (Integer)

    Source row

  • :column (Integer)

    Source column

  • :folder (String)

    Folder name

  • :storage_name (String)

    storage name.

Returns:



13529
13530
13531
13532
13533
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13529

def cells_post_copy_cell_into_cell(name, dest_cell_name, sheet_name, worksheet, opts = {})
  warn "Warning: #cells_post_copy_cell_into_cell() is deprecated."
  data, _status_code, _headers = cells_post_copy_cell_into_cell_with_http_info(name, dest_cell_name, sheet_name, worksheet, opts)
  return data
end

#cells_post_copy_cell_into_cell_with_http_info(name, dest_cell_name, sheet_name, worksheet, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Copy cell into cell

Parameters:

  • name

    Workbook name.

  • dest_cell_name

    Destination cell name

  • sheet_name

    Destination worksheet name.

  • worksheet

    Source worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :cellname (String)

    Source cell name

  • :row (Integer)

    Source row

  • :column (Integer)

    Source column

  • :folder (String)

    Folder name

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13548

def cells_post_copy_cell_into_cell_with_http_info(name, dest_cell_name, sheet_name, worksheet, opts = {})
  warn "Warning: #cells_post_copy_cell_into_cell_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_copy_cell_into_cell ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_copy_cell_into_cell"
  end
  # verify the required parameter 'dest_cell_name' is set
  if @api_client.config.client_side_validation && dest_cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'dest_cell_name' when calling CellsApi.cells_post_copy_cell_into_cell"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_copy_cell_into_cell"
  end
  # verify the required parameter 'worksheet' is set
  if @api_client.config.client_side_validation && worksheet.nil?
    fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.cells_post_copy_cell_into_cell"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{destCellName}/copy".sub('{' + 'name' + '}', name.to_s).sub('{' + 'destCellName' + '}', dest_cell_name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'worksheet'] = worksheet
  query_params[:'cellname'] = opts[:'cellname'] if !opts[:'cellname'].nil?
  query_params[:'row'] = opts[:'row'] if !opts[:'row'].nil?
  query_params[:'column'] = opts[:'column'] if !opts[:'column'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_copy_cell_into_cell\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_copy_worksheet_columns(name, sheet_name, source_column_index, destination_column_index, column_number, opts = {}) ⇒ CellsCloudResponse

Copy worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • source_column_index

    Source column index

  • destination_column_index

    Destination column index

  • column_number

    The copied column number

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :worksheet (String)

    The Worksheet (default to )

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



13621
13622
13623
13624
13625
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13621

def cells_post_copy_worksheet_columns(name, sheet_name, source_column_index, destination_column_index, column_number, opts = {})
  warn "Warning: #cells_post_copy_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_post_copy_worksheet_columns_with_http_info(name, sheet_name, source_column_index, destination_column_index, column_number, opts)
  return data
end

#cells_post_copy_worksheet_columns_with_http_info(name, sheet_name, source_column_index, destination_column_index, column_number, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Copy worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • source_column_index

    Source column index

  • destination_column_index

    Destination column index

  • column_number

    The copied column number

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :worksheet (String)

    The Worksheet

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13639

def cells_post_copy_worksheet_columns_with_http_info(name, sheet_name, source_column_index, destination_column_index, column_number, opts = {})
  warn "Warning: #cells_post_copy_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_copy_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_copy_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_copy_worksheet_columns"
  end
  # verify the required parameter 'source_column_index' is set
  if @api_client.config.client_side_validation && source_column_index.nil?
    fail ArgumentError, "Missing the required parameter 'source_column_index' when calling CellsApi.cells_post_copy_worksheet_columns"
  end
  # verify the required parameter 'destination_column_index' is set
  if @api_client.config.client_side_validation && destination_column_index.nil?
    fail ArgumentError, "Missing the required parameter 'destination_column_index' when calling CellsApi.cells_post_copy_worksheet_columns"
  end
  # verify the required parameter 'column_number' is set
  if @api_client.config.client_side_validation && column_number.nil?
    fail ArgumentError, "Missing the required parameter 'column_number' when calling CellsApi.cells_post_copy_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/copy".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'sourceColumnIndex'] = source_column_index
  query_params[:'destinationColumnIndex'] = destination_column_index
  query_params[:'columnNumber'] = column_number
  query_params[:'worksheet'] = opts[:'worksheet'] if !opts[:'worksheet'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_copy_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_copy_worksheet_rows(name, sheet_name, source_row_index, destination_row_index, row_number, opts = {}) ⇒ CellsCloudResponse

Copy worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • source_row_index

    Source row index

  • destination_row_index

    Destination row index

  • row_number

    The copied row number

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :worksheet (String)

    worksheet

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



13716
13717
13718
13719
13720
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13716

def cells_post_copy_worksheet_rows(name, sheet_name, source_row_index, destination_row_index, row_number, opts = {})
  warn "Warning: #cells_post_copy_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_post_copy_worksheet_rows_with_http_info(name, sheet_name, source_row_index, destination_row_index, row_number, opts)
  return data
end

#cells_post_copy_worksheet_rows_with_http_info(name, sheet_name, source_row_index, destination_row_index, row_number, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Copy worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • source_row_index

    Source row index

  • destination_row_index

    Destination row index

  • row_number

    The copied row number

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :worksheet (String)

    worksheet

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13734

def cells_post_copy_worksheet_rows_with_http_info(name, sheet_name, source_row_index, destination_row_index, row_number, opts = {})
  warn "Warning: #cells_post_copy_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_copy_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_copy_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_copy_worksheet_rows"
  end
  # verify the required parameter 'source_row_index' is set
  if @api_client.config.client_side_validation && source_row_index.nil?
    fail ArgumentError, "Missing the required parameter 'source_row_index' when calling CellsApi.cells_post_copy_worksheet_rows"
  end
  # verify the required parameter 'destination_row_index' is set
  if @api_client.config.client_side_validation && destination_row_index.nil?
    fail ArgumentError, "Missing the required parameter 'destination_row_index' when calling CellsApi.cells_post_copy_worksheet_rows"
  end
  # verify the required parameter 'row_number' is set
  if @api_client.config.client_side_validation && row_number.nil?
    fail ArgumentError, "Missing the required parameter 'row_number' when calling CellsApi.cells_post_copy_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/copy".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'sourceRowIndex'] = source_row_index
  query_params[:'destinationRowIndex'] = destination_row_index
  query_params[:'rowNumber'] = row_number
  query_params[:'worksheet'] = opts[:'worksheet'] if !opts[:'worksheet'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_copy_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_group_worksheet_columns(name, sheet_name, first_index, last_index, opts = {}) ⇒ CellsCloudResponse

Group worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first column index to be operated.

  • last_index

    The last column index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :hide (BOOLEAN)

    columns visible state

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



13810
13811
13812
13813
13814
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13810

def cells_post_group_worksheet_columns(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_group_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_post_group_worksheet_columns_with_http_info(name, sheet_name, first_index, last_index, opts)
  return data
end

#cells_post_group_worksheet_columns_with_http_info(name, sheet_name, first_index, last_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Group worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first column index to be operated.

  • last_index

    The last column index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :hide (BOOLEAN)

    columns visible state

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13827

def cells_post_group_worksheet_columns_with_http_info(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_group_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_group_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_group_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_group_worksheet_columns"
  end
  # verify the required parameter 'first_index' is set
  if @api_client.config.client_side_validation && first_index.nil?
    fail ArgumentError, "Missing the required parameter 'first_index' when calling CellsApi.cells_post_group_worksheet_columns"
  end
  # verify the required parameter 'last_index' is set
  if @api_client.config.client_side_validation && last_index.nil?
    fail ArgumentError, "Missing the required parameter 'last_index' when calling CellsApi.cells_post_group_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/group".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'firstIndex'] = first_index
  query_params[:'lastIndex'] = last_index
  query_params[:'hide'] = opts[:'hide'] if !opts[:'hide'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_group_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_group_worksheet_rows(name, sheet_name, first_index, last_index, opts = {}) ⇒ CellsCloudResponse

Group worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first row index to be operated.

  • last_index

    The last row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :hide (BOOLEAN)

    rows visible state

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



13898
13899
13900
13901
13902
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13898

def cells_post_group_worksheet_rows(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_group_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_post_group_worksheet_rows_with_http_info(name, sheet_name, first_index, last_index, opts)
  return data
end

#cells_post_group_worksheet_rows_with_http_info(name, sheet_name, first_index, last_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Group worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first row index to be operated.

  • last_index

    The last row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :hide (BOOLEAN)

    rows visible state

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13915

def cells_post_group_worksheet_rows_with_http_info(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_group_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_group_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_group_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_group_worksheet_rows"
  end
  # verify the required parameter 'first_index' is set
  if @api_client.config.client_side_validation && first_index.nil?
    fail ArgumentError, "Missing the required parameter 'first_index' when calling CellsApi.cells_post_group_worksheet_rows"
  end
  # verify the required parameter 'last_index' is set
  if @api_client.config.client_side_validation && last_index.nil?
    fail ArgumentError, "Missing the required parameter 'last_index' when calling CellsApi.cells_post_group_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/group".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'firstIndex'] = first_index
  query_params[:'lastIndex'] = last_index
  query_params[:'hide'] = opts[:'hide'] if !opts[:'hide'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_group_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_hide_worksheet_columns(name, sheet_name, start_column, total_columns, opts = {}) ⇒ CellsCloudResponse

Hide worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • start_column

    The begin column index to be operated.

  • total_columns

    Number of columns to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



13985
13986
13987
13988
13989
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 13985

def cells_post_hide_worksheet_columns(name, sheet_name, start_column, total_columns, opts = {})
  warn "Warning: #cells_post_hide_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_post_hide_worksheet_columns_with_http_info(name, sheet_name, start_column, total_columns, opts)
  return data
end

#cells_post_hide_worksheet_columns_with_http_info(name, sheet_name, start_column, total_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Hide worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • start_column

    The begin column index to be operated.

  • total_columns

    Number of columns to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14001

def cells_post_hide_worksheet_columns_with_http_info(name, sheet_name, start_column, total_columns, opts = {})
  warn "Warning: #cells_post_hide_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_hide_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_hide_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_hide_worksheet_columns"
  end
  # verify the required parameter 'start_column' is set
  if @api_client.config.client_side_validation && start_column.nil?
    fail ArgumentError, "Missing the required parameter 'start_column' when calling CellsApi.cells_post_hide_worksheet_columns"
  end
  # verify the required parameter 'total_columns' is set
  if @api_client.config.client_side_validation && total_columns.nil?
    fail ArgumentError, "Missing the required parameter 'total_columns' when calling CellsApi.cells_post_hide_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/hide".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startColumn'] = start_column
  query_params[:'totalColumns'] = total_columns
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_hide_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_hide_worksheet_rows(name, sheet_name, startrow, total_rows, opts = {}) ⇒ CellsCloudResponse

Hide worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startrow

    The begin row index to be operated.

  • total_rows

    Number of rows to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



14070
14071
14072
14073
14074
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14070

def cells_post_hide_worksheet_rows(name, sheet_name, startrow, total_rows, opts = {})
  warn "Warning: #cells_post_hide_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_post_hide_worksheet_rows_with_http_info(name, sheet_name, startrow, total_rows, opts)
  return data
end

#cells_post_hide_worksheet_rows_with_http_info(name, sheet_name, startrow, total_rows, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Hide worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startrow

    The begin row index to be operated.

  • total_rows

    Number of rows to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14086

def cells_post_hide_worksheet_rows_with_http_info(name, sheet_name, startrow, total_rows, opts = {})
  warn "Warning: #cells_post_hide_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_hide_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_hide_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_hide_worksheet_rows"
  end
  # verify the required parameter 'startrow' is set
  if @api_client.config.client_side_validation && startrow.nil?
    fail ArgumentError, "Missing the required parameter 'startrow' when calling CellsApi.cells_post_hide_worksheet_rows"
  end
  # verify the required parameter 'total_rows' is set
  if @api_client.config.client_side_validation && total_rows.nil?
    fail ArgumentError, "Missing the required parameter 'total_rows' when calling CellsApi.cells_post_hide_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/hide".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startrow'] = startrow
  query_params[:'totalRows'] = total_rows
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_hide_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_row_style(name, sheet_name, row_index, opts = {}) ⇒ CellsCloudResponse

Set row style.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



14155
14156
14157
14158
14159
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14155

def cells_post_row_style(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_post_row_style() is deprecated."
  data, _status_code, _headers = cells_post_row_style_with_http_info(name, sheet_name, row_index, opts)
  return data
end

#cells_post_row_style_with_http_info(name, sheet_name, row_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set row style.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    Style dto

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14171

def cells_post_row_style_with_http_info(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_post_row_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_row_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_row_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_row_style"
  end
  # verify the required parameter 'row_index' is set
  if @api_client.config.client_side_validation && row_index.nil?
    fail ArgumentError, "Missing the required parameter 'row_index' when calling CellsApi.cells_post_row_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}/style".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'rowIndex' + '}', row_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'style'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_row_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_set_cell_html_string(name, sheet_name, cell_name, html_string, opts = {}) ⇒ CellsCloudResponse

Set htmlstring value into cell

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • cell_name

    The cell name.

  • html_string
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



14234
14235
14236
14237
14238
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14234

def cells_post_set_cell_html_string(name, sheet_name, cell_name, html_string, opts = {})
  warn "Warning: #cells_post_set_cell_html_string() is deprecated."
  data, _status_code, _headers = cells_post_set_cell_html_string_with_http_info(name, sheet_name, cell_name, html_string, opts)
  return data
end

#cells_post_set_cell_html_string_with_http_info(name, sheet_name, cell_name, html_string, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set htmlstring value into cell

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • cell_name

    The cell name.

  • html_string
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14250

def cells_post_set_cell_html_string_with_http_info(name, sheet_name, cell_name, html_string, opts = {})
  warn "Warning: #cells_post_set_cell_html_string_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_set_cell_html_string ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_set_cell_html_string"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_set_cell_html_string"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_post_set_cell_html_string"
  end
  # verify the required parameter 'html_string' is set
  if @api_client.config.client_side_validation && html_string.nil?
    fail ArgumentError, "Missing the required parameter 'html_string' when calling CellsApi.cells_post_set_cell_html_string"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/htmlstring".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(html_string)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_set_cell_html_string\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_set_cell_range_value(name, sheet_name, cellarea, value, type, opts = {}) ⇒ CellsCloudResponse

Set cell range value

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • cellarea

    Cell area (like &quot;A1:C2&quot;)

  • value

    Range value

  • type

    Value data type (like &quot;int&quot;)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Folder name

  • :storage_name (String)

    storage name.

Returns:



14318
14319
14320
14321
14322
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14318

def cells_post_set_cell_range_value(name, sheet_name, cellarea, value, type, opts = {})
  warn "Warning: #cells_post_set_cell_range_value() is deprecated."
  data, _status_code, _headers = cells_post_set_cell_range_value_with_http_info(name, sheet_name, cellarea, value, type, opts)
  return data
end

#cells_post_set_cell_range_value_with_http_info(name, sheet_name, cellarea, value, type, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set cell range value

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • cellarea

    Cell area (like &quot;A1:C2&quot;)

  • value

    Range value

  • type

    Value data type (like &quot;int&quot;)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Folder name

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14335

def cells_post_set_cell_range_value_with_http_info(name, sheet_name, cellarea, value, type, opts = {})
  warn "Warning: #cells_post_set_cell_range_value_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_set_cell_range_value ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_set_cell_range_value"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_set_cell_range_value"
  end
  # verify the required parameter 'cellarea' is set
  if @api_client.config.client_side_validation && cellarea.nil?
    fail ArgumentError, "Missing the required parameter 'cellarea' when calling CellsApi.cells_post_set_cell_range_value"
  end
  # verify the required parameter 'value' is set
  if @api_client.config.client_side_validation && value.nil?
    fail ArgumentError, "Missing the required parameter 'value' when calling CellsApi.cells_post_set_cell_range_value"
  end
  # verify the required parameter 'type' is set
  if @api_client.config.client_side_validation && type.nil?
    fail ArgumentError, "Missing the required parameter 'type' when calling CellsApi.cells_post_set_cell_range_value"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellarea'] = cellarea
  query_params[:'value'] = value
  query_params[:'type'] = type
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_set_cell_range_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_set_worksheet_column_width(name, sheet_name, column_index, width, count, opts = {}) ⇒ CellsCloudResponse

Set worksheet column width.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • width

    The width.

  • count

    column number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



14410
14411
14412
14413
14414
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14410

def cells_post_set_worksheet_column_width(name, sheet_name, column_index, width, count, opts = {})
  warn "Warning: #cells_post_set_worksheet_column_width() is deprecated."
  data, _status_code, _headers = cells_post_set_worksheet_column_width_with_http_info(name, sheet_name, column_index, width, count, opts)
  return data
end

#cells_post_set_worksheet_column_width_with_http_info(name, sheet_name, column_index, width, count, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set worksheet column width.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • width

    The width.

  • count

    column number.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14427

def cells_post_set_worksheet_column_width_with_http_info(name, sheet_name, column_index, width, count, opts = {})
  warn "Warning: #cells_post_set_worksheet_column_width_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_set_worksheet_column_width ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_set_worksheet_column_width"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_set_worksheet_column_width"
  end
  # verify the required parameter 'column_index' is set
  if @api_client.config.client_side_validation && column_index.nil?
    fail ArgumentError, "Missing the required parameter 'column_index' when calling CellsApi.cells_post_set_worksheet_column_width"
  end
  # verify the required parameter 'width' is set
  if @api_client.config.client_side_validation && width.nil?
    fail ArgumentError, "Missing the required parameter 'width' when calling CellsApi.cells_post_set_worksheet_column_width"
  end
  # verify the required parameter 'count' is set
  if @api_client.config.client_side_validation && count.nil?
    fail ArgumentError, "Missing the required parameter 'count' when calling CellsApi.cells_post_set_worksheet_column_width"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'columnIndex' + '}', column_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'width'] = width
  query_params[:'count'] = count
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_set_worksheet_column_width\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_ungroup_worksheet_columns(name, sheet_name, first_index, last_index, opts = {}) ⇒ CellsCloudResponse

Ungroup worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first column index to be operated.

  • last_index

    The last column index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



14500
14501
14502
14503
14504
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14500

def cells_post_ungroup_worksheet_columns(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_ungroup_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_post_ungroup_worksheet_columns_with_http_info(name, sheet_name, first_index, last_index, opts)
  return data
end

#cells_post_ungroup_worksheet_columns_with_http_info(name, sheet_name, first_index, last_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Ungroup worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first column index to be operated.

  • last_index

    The last column index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14516

def cells_post_ungroup_worksheet_columns_with_http_info(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_ungroup_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_ungroup_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_ungroup_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_ungroup_worksheet_columns"
  end
  # verify the required parameter 'first_index' is set
  if @api_client.config.client_side_validation && first_index.nil?
    fail ArgumentError, "Missing the required parameter 'first_index' when calling CellsApi.cells_post_ungroup_worksheet_columns"
  end
  # verify the required parameter 'last_index' is set
  if @api_client.config.client_side_validation && last_index.nil?
    fail ArgumentError, "Missing the required parameter 'last_index' when calling CellsApi.cells_post_ungroup_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/ungroup".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'firstIndex'] = first_index
  query_params[:'lastIndex'] = last_index
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_ungroup_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_ungroup_worksheet_rows(name, sheet_name, first_index, last_index, opts = {}) ⇒ CellsCloudResponse

Ungroup worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first row index to be operated.

  • last_index

    The last row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :is_all (BOOLEAN)

    Is all row to be operated

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



14586
14587
14588
14589
14590
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14586

def cells_post_ungroup_worksheet_rows(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_ungroup_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_post_ungroup_worksheet_rows_with_http_info(name, sheet_name, first_index, last_index, opts)
  return data
end

#cells_post_ungroup_worksheet_rows_with_http_info(name, sheet_name, first_index, last_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Ungroup worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • first_index

    The first row index to be operated.

  • last_index

    The last row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :is_all (BOOLEAN)

    Is all row to be operated

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14603

def cells_post_ungroup_worksheet_rows_with_http_info(name, sheet_name, first_index, last_index, opts = {})
  warn "Warning: #cells_post_ungroup_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_ungroup_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_ungroup_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_ungroup_worksheet_rows"
  end
  # verify the required parameter 'first_index' is set
  if @api_client.config.client_side_validation && first_index.nil?
    fail ArgumentError, "Missing the required parameter 'first_index' when calling CellsApi.cells_post_ungroup_worksheet_rows"
  end
  # verify the required parameter 'last_index' is set
  if @api_client.config.client_side_validation && last_index.nil?
    fail ArgumentError, "Missing the required parameter 'last_index' when calling CellsApi.cells_post_ungroup_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/ungroup".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'firstIndex'] = first_index
  query_params[:'lastIndex'] = last_index
  query_params[:'isAll'] = opts[:'is_all'] if !opts[:'is_all'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_ungroup_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_unhide_worksheet_columns(name, sheet_name, startcolumn, total_columns, opts = {}) ⇒ CellsCloudResponse

Unhide worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startcolumn

    The begin column index to be operated.

  • total_columns

    Number of columns to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :width (Float)

    The new column width. (default to 50.0)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



14674
14675
14676
14677
14678
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14674

def cells_post_unhide_worksheet_columns(name, sheet_name, startcolumn, total_columns, opts = {})
  warn "Warning: #cells_post_unhide_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_post_unhide_worksheet_columns_with_http_info(name, sheet_name, startcolumn, total_columns, opts)
  return data
end

#cells_post_unhide_worksheet_columns_with_http_info(name, sheet_name, startcolumn, total_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unhide worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startcolumn

    The begin column index to be operated.

  • total_columns

    Number of columns to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :width (Float)

    The new column width.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14691

def cells_post_unhide_worksheet_columns_with_http_info(name, sheet_name, startcolumn, total_columns, opts = {})
  warn "Warning: #cells_post_unhide_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_unhide_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_unhide_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_unhide_worksheet_columns"
  end
  # verify the required parameter 'startcolumn' is set
  if @api_client.config.client_side_validation && startcolumn.nil?
    fail ArgumentError, "Missing the required parameter 'startcolumn' when calling CellsApi.cells_post_unhide_worksheet_columns"
  end
  # verify the required parameter 'total_columns' is set
  if @api_client.config.client_side_validation && total_columns.nil?
    fail ArgumentError, "Missing the required parameter 'total_columns' when calling CellsApi.cells_post_unhide_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/unhide".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startcolumn'] = startcolumn
  query_params[:'totalColumns'] = total_columns
  query_params[:'width'] = opts[:'width'] if !opts[:'width'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_unhide_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_unhide_worksheet_rows(name, sheet_name, startrow, total_rows, opts = {}) ⇒ CellsCloudResponse

Unhide worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startrow

    The begin row index to be operated.

  • total_rows

    Number of rows to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :height (Float)

    The new row height. (default to 15.0)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



14762
14763
14764
14765
14766
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14762

def cells_post_unhide_worksheet_rows(name, sheet_name, startrow, total_rows, opts = {})
  warn "Warning: #cells_post_unhide_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_post_unhide_worksheet_rows_with_http_info(name, sheet_name, startrow, total_rows, opts)
  return data
end

#cells_post_unhide_worksheet_rows_with_http_info(name, sheet_name, startrow, total_rows, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unhide worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startrow

    The begin row index to be operated.

  • total_rows

    Number of rows to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :height (Float)

    The new row height.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14779

def cells_post_unhide_worksheet_rows_with_http_info(name, sheet_name, startrow, total_rows, opts = {})
  warn "Warning: #cells_post_unhide_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_unhide_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_unhide_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_unhide_worksheet_rows"
  end
  # verify the required parameter 'startrow' is set
  if @api_client.config.client_side_validation && startrow.nil?
    fail ArgumentError, "Missing the required parameter 'startrow' when calling CellsApi.cells_post_unhide_worksheet_rows"
  end
  # verify the required parameter 'total_rows' is set
  if @api_client.config.client_side_validation && total_rows.nil?
    fail ArgumentError, "Missing the required parameter 'total_rows' when calling CellsApi.cells_post_unhide_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/unhide".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startrow'] = startrow
  query_params[:'totalRows'] = total_rows
  query_params[:'height'] = opts[:'height'] if !opts[:'height'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_unhide_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_update_worksheet_cell_style(name, sheet_name, cell_name, opts = {}) ⇒ StyleResponse

Update cell’s style.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • cell_name

    The cell name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    with update style settings.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



14849
14850
14851
14852
14853
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14849

def cells_post_update_worksheet_cell_style(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_update_worksheet_cell_style() is deprecated."
  data, _status_code, _headers = cells_post_update_worksheet_cell_style_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_post_update_worksheet_cell_style_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(StyleResponse, Fixnum, Hash)>

Update cell&#39;s style.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • cell_name

    The cell name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    with update style settings.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(StyleResponse, Fixnum, Hash)>)

    StyleResponse data, response status code and response headers



14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14865

def cells_post_update_worksheet_cell_style_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_update_worksheet_cell_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_update_worksheet_cell_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_update_worksheet_cell_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_update_worksheet_cell_style"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_post_update_worksheet_cell_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}/style".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'style'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'StyleResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_update_worksheet_cell_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_update_worksheet_range_style(name, sheet_name, range, opts = {}) ⇒ CellsCloudResponse

Update cell’s range style.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • range

    The range.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    with update style settings.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



14928
14929
14930
14931
14932
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14928

def cells_post_update_worksheet_range_style(name, sheet_name, range, opts = {})
  warn "Warning: #cells_post_update_worksheet_range_style() is deprecated."
  data, _status_code, _headers = cells_post_update_worksheet_range_style_with_http_info(name, sheet_name, range, opts)
  return data
end

#cells_post_update_worksheet_range_style_with_http_info(name, sheet_name, range, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update cell&#39;s range style.

Parameters:

  • name

    Workbook name.

  • sheet_name

    Worksheet name.

  • range

    The range.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :style (Style)

    with update style settings.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 14944

def cells_post_update_worksheet_range_style_with_http_info(name, sheet_name, range, opts = {})
  warn "Warning: #cells_post_update_worksheet_range_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_update_worksheet_range_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_update_worksheet_range_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_update_worksheet_range_style"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_post_update_worksheet_range_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/style".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'style'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_update_worksheet_range_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_update_worksheet_row(name, sheet_name, row_index, opts = {}) ⇒ CellsCloudResponse

Update worksheet row.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :height (Float)

    The new row height. (default to 0.0)

  • :count (Integer)

    row number. (default to 0)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15009
15010
15011
15012
15013
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15009

def cells_post_update_worksheet_row(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_post_update_worksheet_row() is deprecated."
  data, _status_code, _headers = cells_post_update_worksheet_row_with_http_info(name, sheet_name, row_index, opts)
  return data
end

#cells_post_update_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update worksheet row.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :height (Float)

    The new row height.

  • :count (Integer)

    row number.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15026

def cells_post_update_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_post_update_worksheet_row_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_update_worksheet_row ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_update_worksheet_row"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_update_worksheet_row"
  end
  # verify the required parameter 'row_index' is set
  if @api_client.config.client_side_validation && row_index.nil?
    fail ArgumentError, "Missing the required parameter 'row_index' when calling CellsApi.cells_post_update_worksheet_row"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'rowIndex' + '}', row_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'height'] = opts[:'height'] if !opts[:'height'].nil?
  query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_update_worksheet_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_worksheet_cell_set_value(name, sheet_name, cell_name, opts = {}) ⇒ CellResponse

Set cell value.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :value (String)

    The cell value.

  • :type (String)

    The value type.

  • :formula (String)

    Formula for cell

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15093
15094
15095
15096
15097
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15093

def cells_post_worksheet_cell_set_value(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_worksheet_cell_set_value() is deprecated."
  data, _status_code, _headers = cells_post_worksheet_cell_set_value_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_post_worksheet_cell_set_value_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CellResponse, Fixnum, Hash)>

Set cell value.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :value (String)

    The cell value.

  • :type (String)

    The value type.

  • :formula (String)

    Formula for cell

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellResponse, Fixnum, Hash)>)

    CellResponse data, response status code and response headers



15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15111

def cells_post_worksheet_cell_set_value_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_post_worksheet_cell_set_value_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_worksheet_cell_set_value ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_worksheet_cell_set_value"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_worksheet_cell_set_value"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_post_worksheet_cell_set_value"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/{cellName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'value'] = opts[:'value'] if !opts[:'value'].nil?
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
  query_params[:'formula'] = opts[:'formula'] if !opts[:'formula'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_worksheet_cell_set_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_worksheet_merge(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {}) ⇒ CellsCloudResponse

Merge cells.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • start_row

    The start row.

  • start_column

    The start column.

  • total_rows

    The total rows

  • total_columns

    The total columns.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



15179
15180
15181
15182
15183
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15179

def cells_post_worksheet_merge(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {})
  warn "Warning: #cells_post_worksheet_merge() is deprecated."
  data, _status_code, _headers = cells_post_worksheet_merge_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts)
  return data
end

#cells_post_worksheet_merge_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Merge cells.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • start_row

    The start row.

  • start_column

    The start column.

  • total_rows

    The total rows

  • total_columns

    The total columns.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15197

def cells_post_worksheet_merge_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {})
  warn "Warning: #cells_post_worksheet_merge_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_worksheet_merge ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_worksheet_merge"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_worksheet_merge"
  end
  # verify the required parameter 'start_row' is set
  if @api_client.config.client_side_validation && start_row.nil?
    fail ArgumentError, "Missing the required parameter 'start_row' when calling CellsApi.cells_post_worksheet_merge"
  end
  # verify the required parameter 'start_column' is set
  if @api_client.config.client_side_validation && start_column.nil?
    fail ArgumentError, "Missing the required parameter 'start_column' when calling CellsApi.cells_post_worksheet_merge"
  end
  # verify the required parameter 'total_rows' is set
  if @api_client.config.client_side_validation && total_rows.nil?
    fail ArgumentError, "Missing the required parameter 'total_rows' when calling CellsApi.cells_post_worksheet_merge"
  end
  # verify the required parameter 'total_columns' is set
  if @api_client.config.client_side_validation && total_columns.nil?
    fail ArgumentError, "Missing the required parameter 'total_columns' when calling CellsApi.cells_post_worksheet_merge"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/merge".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startRow'] = start_row
  query_params[:'startColumn'] = start_column
  query_params[:'totalRows'] = total_rows
  query_params[:'totalColumns'] = total_columns
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_worksheet_merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_post_worksheet_unmerge(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {}) ⇒ CellsCloudResponse

Unmerge cells.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • start_row

    The start row.

  • start_column

    The start column.

  • total_rows

    The total rows

  • total_columns

    The total columns.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



15278
15279
15280
15281
15282
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15278

def cells_post_worksheet_unmerge(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {})
  warn "Warning: #cells_post_worksheet_unmerge() is deprecated."
  data, _status_code, _headers = cells_post_worksheet_unmerge_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts)
  return data
end

#cells_post_worksheet_unmerge_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unmerge cells.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • start_row

    The start row.

  • start_column

    The start column.

  • total_rows

    The total rows

  • total_columns

    The total columns.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15296

def cells_post_worksheet_unmerge_with_http_info(name, sheet_name, start_row, start_column, total_rows, total_columns, opts = {})
  warn "Warning: #cells_post_worksheet_unmerge_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_post_worksheet_unmerge ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_post_worksheet_unmerge"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_post_worksheet_unmerge"
  end
  # verify the required parameter 'start_row' is set
  if @api_client.config.client_side_validation && start_row.nil?
    fail ArgumentError, "Missing the required parameter 'start_row' when calling CellsApi.cells_post_worksheet_unmerge"
  end
  # verify the required parameter 'start_column' is set
  if @api_client.config.client_side_validation && start_column.nil?
    fail ArgumentError, "Missing the required parameter 'start_column' when calling CellsApi.cells_post_worksheet_unmerge"
  end
  # verify the required parameter 'total_rows' is set
  if @api_client.config.client_side_validation && total_rows.nil?
    fail ArgumentError, "Missing the required parameter 'total_rows' when calling CellsApi.cells_post_worksheet_unmerge"
  end
  # verify the required parameter 'total_columns' is set
  if @api_client.config.client_side_validation && total_columns.nil?
    fail ArgumentError, "Missing the required parameter 'total_columns' when calling CellsApi.cells_post_worksheet_unmerge"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/unmerge".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startRow'] = start_row
  query_params[:'startColumn'] = start_column
  query_params[:'totalRows'] = total_rows
  query_params[:'totalColumns'] = total_columns
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_post_worksheet_unmerge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_properties_delete_document_properties(name, opts = {}) ⇒ CellsCloudResponse

Delete all custom document properties and clean built-in ones.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15372
15373
15374
15375
15376
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15372

def cells_properties_delete_document_properties(name, opts = {})
  warn "Warning: #cells_properties_delete_document_properties() is deprecated."
  data, _status_code, _headers = cells_properties_delete_document_properties_with_http_info(name, opts)
  return data
end

#cells_properties_delete_document_properties_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete all custom document properties and clean built-in ones.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15385

def cells_properties_delete_document_properties_with_http_info(name, opts = {})
  warn "Warning: #cells_properties_delete_document_properties_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_properties_delete_document_properties ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_properties_delete_document_properties"
  end
  # resource path
  local_var_path = "/cells/{name}/documentproperties".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_properties_delete_document_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_properties_delete_document_property(name, property_name, opts = {}) ⇒ CellsCloudResponse

Delete document property.

Parameters:

  • name

    The document name.

  • property_name

    The property name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15438
15439
15440
15441
15442
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15438

def cells_properties_delete_document_property(name, property_name, opts = {})
  warn "Warning: #cells_properties_delete_document_property() is deprecated."
  data, _status_code, _headers = cells_properties_delete_document_property_with_http_info(name, property_name, opts)
  return data
end

#cells_properties_delete_document_property_with_http_info(name, property_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete document property.

Parameters:

  • name

    The document name.

  • property_name

    The property name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15452

def cells_properties_delete_document_property_with_http_info(name, property_name, opts = {})
  warn "Warning: #cells_properties_delete_document_property_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_properties_delete_document_property ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_properties_delete_document_property"
  end
  # verify the required parameter 'property_name' is set
  if @api_client.config.client_side_validation && property_name.nil?
    fail ArgumentError, "Missing the required parameter 'property_name' when calling CellsApi.cells_properties_delete_document_property"
  end
  # resource path
  local_var_path = "/cells/{name}/documentproperties/{propertyName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'propertyName' + '}', property_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_properties_delete_document_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_properties_get_document_properties(name, opts = {}) ⇒ CellsDocumentPropertiesResponse

Read document properties.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15508
15509
15510
15511
15512
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15508

def cells_properties_get_document_properties(name, opts = {})
  warn "Warning: #cells_properties_get_document_properties() is deprecated."
  data, _status_code, _headers = cells_properties_get_document_properties_with_http_info(name, opts)
  return data
end

#cells_properties_get_document_properties_with_http_info(name, opts = {}) ⇒ Array<(CellsDocumentPropertiesResponse, Fixnum, Hash)>

Read document properties.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15521

def cells_properties_get_document_properties_with_http_info(name, opts = {})
  warn "Warning: #cells_properties_get_document_properties_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_properties_get_document_properties ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_properties_get_document_properties"
  end
  # resource path
  local_var_path = "/cells/{name}/documentproperties".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsDocumentPropertiesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_properties_get_document_properties\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_properties_get_document_property(name, property_name, opts = {}) ⇒ CellsDocumentPropertyResponse

Read document property by name.

Parameters:

  • name

    The document name.

  • property_name

    The property name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15574
15575
15576
15577
15578
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15574

def cells_properties_get_document_property(name, property_name, opts = {})
  warn "Warning: #cells_properties_get_document_property() is deprecated."
  data, _status_code, _headers = cells_properties_get_document_property_with_http_info(name, property_name, opts)
  return data
end

#cells_properties_get_document_property_with_http_info(name, property_name, opts = {}) ⇒ Array<(CellsDocumentPropertyResponse, Fixnum, Hash)>

Read document property by name.

Parameters:

  • name

    The document name.

  • property_name

    The property name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15588

def cells_properties_get_document_property_with_http_info(name, property_name, opts = {})
  warn "Warning: #cells_properties_get_document_property_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_properties_get_document_property ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_properties_get_document_property"
  end
  # verify the required parameter 'property_name' is set
  if @api_client.config.client_side_validation && property_name.nil?
    fail ArgumentError, "Missing the required parameter 'property_name' when calling CellsApi.cells_properties_get_document_property"
  end
  # resource path
  local_var_path = "/cells/{name}/documentproperties/{propertyName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'propertyName' + '}', property_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsDocumentPropertyResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_properties_get_document_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_properties_put_document_property(name, property_name, opts = {}) ⇒ CellsCloudResponse

Set/create document property.

Parameters:

  • name

    The document name.

  • property_name

    The property name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :property (CellsDocumentProperty)

    with new property value.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15646
15647
15648
15649
15650
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15646

def cells_properties_put_document_property(name, property_name, opts = {})
  warn "Warning: #cells_properties_put_document_property() is deprecated."
  data, _status_code, _headers = cells_properties_put_document_property_with_http_info(name, property_name, opts)
  return data
end

#cells_properties_put_document_property_with_http_info(name, property_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set/create document property.

Parameters:

  • name

    The document name.

  • property_name

    The property name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :property (CellsDocumentProperty)

    with new property value.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15661

def cells_properties_put_document_property_with_http_info(name, property_name, opts = {})
  warn "Warning: #cells_properties_put_document_property_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_properties_put_document_property ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_properties_put_document_property"
  end
  # verify the required parameter 'property_name' is set
  if @api_client.config.client_side_validation && property_name.nil?
    fail ArgumentError, "Missing the required parameter 'property_name' when calling CellsApi.cells_properties_put_document_property"
  end
  # resource path
  local_var_path = "/cells/{name}/documentproperties/{propertyName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'propertyName' + '}', property_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'property'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_properties_put_document_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_put_insert_worksheet_columns(name, sheet_name, column_index, columns, opts = {}) ⇒ CellsCloudResponse

Insert worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • columns

    The columns.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :update_reference (BOOLEAN)

    The update reference. (default to true)

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



15721
15722
15723
15724
15725
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15721

def cells_put_insert_worksheet_columns(name, sheet_name, column_index, columns, opts = {})
  warn "Warning: #cells_put_insert_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_put_insert_worksheet_columns_with_http_info(name, sheet_name, column_index, columns, opts)
  return data
end

#cells_put_insert_worksheet_columns_with_http_info(name, sheet_name, column_index, columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Insert worksheet columns.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • column_index

    The column index.

  • columns

    The columns.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :update_reference (BOOLEAN)

    The update reference.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15738

def cells_put_insert_worksheet_columns_with_http_info(name, sheet_name, column_index, columns, opts = {})
  warn "Warning: #cells_put_insert_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_put_insert_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_put_insert_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_put_insert_worksheet_columns"
  end
  # verify the required parameter 'column_index' is set
  if @api_client.config.client_side_validation && column_index.nil?
    fail ArgumentError, "Missing the required parameter 'column_index' when calling CellsApi.cells_put_insert_worksheet_columns"
  end
  # verify the required parameter 'columns' is set
  if @api_client.config.client_side_validation && columns.nil?
    fail ArgumentError, "Missing the required parameter 'columns' when calling CellsApi.cells_put_insert_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'columnIndex' + '}', column_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'columns'] = columns
  query_params[:'updateReference'] = opts[:'update_reference'] if !opts[:'update_reference'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_put_insert_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_put_insert_worksheet_row(name, sheet_name, row_index, opts = {}) ⇒ CellsCloudResponse

Insert new worksheet row.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The new row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15806
15807
15808
15809
15810
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15806

def cells_put_insert_worksheet_row(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_put_insert_worksheet_row() is deprecated."
  data, _status_code, _headers = cells_put_insert_worksheet_row_with_http_info(name, sheet_name, row_index, opts)
  return data
end

#cells_put_insert_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Insert new worksheet row.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • row_index

    The new row index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15821

def cells_put_insert_worksheet_row_with_http_info(name, sheet_name, row_index, opts = {})
  warn "Warning: #cells_put_insert_worksheet_row_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_put_insert_worksheet_row ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_put_insert_worksheet_row"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_put_insert_worksheet_row"
  end
  # verify the required parameter 'row_index' is set
  if @api_client.config.client_side_validation && row_index.nil?
    fail ArgumentError, "Missing the required parameter 'row_index' when calling CellsApi.cells_put_insert_worksheet_row"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'rowIndex' + '}', row_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_put_insert_worksheet_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_put_insert_worksheet_rows(name, sheet_name, startrow, opts = {}) ⇒ CellsCloudResponse

Insert several new worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startrow

    The begin row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :total_rows (Integer)

    Number of rows to be operated. (default to 1)

  • :update_reference (BOOLEAN)

    Indicates if update references in other worksheets. (default to true)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



15885
15886
15887
15888
15889
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15885

def cells_put_insert_worksheet_rows(name, sheet_name, startrow, opts = {})
  warn "Warning: #cells_put_insert_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_put_insert_worksheet_rows_with_http_info(name, sheet_name, startrow, opts)
  return data
end

#cells_put_insert_worksheet_rows_with_http_info(name, sheet_name, startrow, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Insert several new worksheet rows.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • startrow

    The begin row index to be operated.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :total_rows (Integer)

    Number of rows to be operated.

  • :update_reference (BOOLEAN)

    Indicates if update references in other worksheets.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15902

def cells_put_insert_worksheet_rows_with_http_info(name, sheet_name, startrow, opts = {})
  warn "Warning: #cells_put_insert_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_put_insert_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_put_insert_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_put_insert_worksheet_rows"
  end
  # verify the required parameter 'startrow' is set
  if @api_client.config.client_side_validation && startrow.nil?
    fail ArgumentError, "Missing the required parameter 'startrow' when calling CellsApi.cells_put_insert_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/cells/rows".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startrow'] = startrow
  query_params[:'totalRows'] = opts[:'total_rows'] if !opts[:'total_rows'].nil?
  query_params[:'updateReference'] = opts[:'update_reference'] if !opts[:'update_reference'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_put_insert_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_delete_worksheet_cells_range(name, sheet_name, range, shift, opts = {}) ⇒ CellsCloudResponse

Delete range in the worksheet

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • range

    range

  • shift

    Represent the shift options when deleting a range of cells. (Left,Up)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



15968
15969
15970
15971
15972
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15968

def cells_ranges_delete_worksheet_cells_range(name, sheet_name, range, shift, opts = {})
  warn "Warning: #cells_ranges_delete_worksheet_cells_range() is deprecated."
  data, _status_code, _headers = cells_ranges_delete_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts)
  return data
end

#cells_ranges_delete_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete range in the worksheet

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • range

    range

  • shift

    Represent the shift options when deleting a range of cells. (Left,Up)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 15984

def cells_ranges_delete_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts = {})
  warn "Warning: #cells_ranges_delete_worksheet_cells_range_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_delete_worksheet_cells_range ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
  end
  # verify the required parameter 'shift' is set
  if @api_client.config.client_side_validation && shift.nil?
    fail ArgumentError, "Missing the required parameter 'shift' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'shift'] = shift
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_delete_worksheet_cells_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_get_worksheet_cells_range_value(name, sheet_name, opts = {}) ⇒ RangeValueResponse

Get cells list in a range by range name or row column indexes

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :namerange (String)

    range name, for example: &#39;A1:B2&#39; or &#39;range_name1&#39;

  • :first_row (Integer)

    the first row of the range

  • :first_column (Integer)

    the first column of the range

  • :row_count (Integer)

    the count of rows in the range

  • :column_count (Integer)

    the count of columns in the range

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16056
16057
16058
16059
16060
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16056

def cells_ranges_get_worksheet_cells_range_value(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_get_worksheet_cells_range_value() is deprecated."
  data, _status_code, _headers = cells_ranges_get_worksheet_cells_range_value_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ranges_get_worksheet_cells_range_value_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(RangeValueResponse, Fixnum, Hash)>

Get cells list in a range by range name or row column indexes

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :namerange (String)

    range name, for example: &#39;A1:B2&#39; or &#39;range_name1&#39;

  • :first_row (Integer)

    the first row of the range

  • :first_column (Integer)

    the first column of the range

  • :row_count (Integer)

    the count of rows in the range

  • :column_count (Integer)

    the count of columns in the range

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(RangeValueResponse, Fixnum, Hash)>)

    RangeValueResponse data, response status code and response headers



16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16075

def cells_ranges_get_worksheet_cells_range_value_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_get_worksheet_cells_range_value_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_get_worksheet_cells_range_value ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_get_worksheet_cells_range_value"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_get_worksheet_cells_range_value"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/value".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'namerange'] = opts[:'namerange'] if !opts[:'namerange'].nil?
  query_params[:'firstRow'] = opts[:'first_row'] if !opts[:'first_row'].nil?
  query_params[:'firstColumn'] = opts[:'first_column'] if !opts[:'first_column'].nil?
  query_params[:'rowCount'] = opts[:'row_count'] if !opts[:'row_count'].nil?
  query_params[:'columnCount'] = opts[:'column_count'] if !opts[:'column_count'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'RangeValueResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_get_worksheet_cells_range_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_column_width(name, sheet_name, value, opts = {}) ⇒ CellsCloudResponse

Set column width of range

Parameters:

  • name
  • sheet_name
  • value
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



16139
16140
16141
16142
16143
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16139

def cells_ranges_post_worksheet_cells_range_column_width(name, sheet_name, value, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_column_width() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_column_width_with_http_info(name, sheet_name, value, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_column_width_with_http_info(name, sheet_name, value, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set column width of range

Parameters:

  • name
  • sheet_name
  • value
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16155

def cells_ranges_post_worksheet_cells_range_column_width_with_http_info(name, sheet_name, value, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_column_width_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_column_width ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_column_width"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_column_width"
  end
  # verify the required parameter 'value' is set
  if @api_client.config.client_side_validation && value.nil?
    fail ArgumentError, "Missing the required parameter 'value' when calling CellsApi.cells_ranges_post_worksheet_cells_range_column_width"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/columnWidth".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'value'] = value
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_column_width\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_merge(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Combines a range of cells into a single cell.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16218
16219
16220
16221
16222
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16218

def cells_ranges_post_worksheet_cells_range_merge(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_merge() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_merge_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_merge_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Combines a range of cells into a single cell.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16233

def cells_ranges_post_worksheet_cells_range_merge_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_merge_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_merge ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_merge"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_merge"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/merge".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_move_to(name, sheet_name, dest_row, dest_column, opts = {}) ⇒ CellsCloudResponse

Move the current range to the dest range.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • dest_row

    The start row of the dest range.

  • dest_column

    The start column of the dest range.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16293
16294
16295
16296
16297
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16293

def cells_ranges_post_worksheet_cells_range_move_to(name, sheet_name, dest_row, dest_column, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_move_to() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_move_to_with_http_info(name, sheet_name, dest_row, dest_column, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_move_to_with_http_info(name, sheet_name, dest_row, dest_column, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Move the current range to the dest range.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • dest_row

    The start row of the dest range.

  • dest_column

    The start column of the dest range.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16310

def cells_ranges_post_worksheet_cells_range_move_to_with_http_info(name, sheet_name, dest_row, dest_column, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_move_to_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_move_to ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_move_to"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_move_to"
  end
  # verify the required parameter 'dest_row' is set
  if @api_client.config.client_side_validation && dest_row.nil?
    fail ArgumentError, "Missing the required parameter 'dest_row' when calling CellsApi.cells_ranges_post_worksheet_cells_range_move_to"
  end
  # verify the required parameter 'dest_column' is set
  if @api_client.config.client_side_validation && dest_column.nil?
    fail ArgumentError, "Missing the required parameter 'dest_column' when calling CellsApi.cells_ranges_post_worksheet_cells_range_move_to"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/moveto".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'destRow'] = dest_row
  query_params[:'destColumn'] = dest_column
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_move_to\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_outline_border(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Sets outline border around a range of cells.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range_operate (RangeSetOutlineBorderRequest)

    Range Set OutlineBorder Request

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16378
16379
16380
16381
16382
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16378

def cells_ranges_post_worksheet_cells_range_outline_border(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_outline_border() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_outline_border_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_outline_border_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Sets outline border around a range of cells.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range_operate (RangeSetOutlineBorderRequest)

    Range Set OutlineBorder Request

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16393

def cells_ranges_post_worksheet_cells_range_outline_border_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_outline_border_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_outline_border ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_outline_border"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_outline_border"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/outlineBorder".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range_operate'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_outline_border\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_row_height(name, sheet_name, value, opts = {}) ⇒ CellsCloudResponse

set row height of range

Parameters:

  • name
  • sheet_name
  • value
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



16452
16453
16454
16455
16456
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16452

def cells_ranges_post_worksheet_cells_range_row_height(name, sheet_name, value, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_row_height() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_row_height_with_http_info(name, sheet_name, value, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_row_height_with_http_info(name, sheet_name, value, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

set row height of range

Parameters:

  • name
  • sheet_name
  • value
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16468

def cells_ranges_post_worksheet_cells_range_row_height_with_http_info(name, sheet_name, value, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_row_height_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_row_height ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_row_height"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_row_height"
  end
  # verify the required parameter 'value' is set
  if @api_client.config.client_side_validation && value.nil?
    fail ArgumentError, "Missing the required parameter 'value' when calling CellsApi.cells_ranges_post_worksheet_cells_range_row_height"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/rowHeight".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'value'] = value
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_row_height\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_style(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Sets the style of the range.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range_operate (RangeSetStyleRequest)

    Range Set Style Request

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16531
16532
16533
16534
16535
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16531

def cells_ranges_post_worksheet_cells_range_style(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_style() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_style_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_style_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Sets the style of the range.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range_operate (RangeSetStyleRequest)

    Range Set Style Request

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16546

def cells_ranges_post_worksheet_cells_range_style_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_style"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_style"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/style".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range_operate'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_unmerge(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Unmerges merged cells of this range.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16604
16605
16606
16607
16608
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16604

def cells_ranges_post_worksheet_cells_range_unmerge(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_unmerge() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_unmerge_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_unmerge_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unmerges merged cells of this range.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16619

def cells_ranges_post_worksheet_cells_range_unmerge_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_unmerge_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_unmerge ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_unmerge"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_unmerge"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/unmerge".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_unmerge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_range_value(name, sheet_name, value, opts = {}) ⇒ CellsCloudResponse

Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • value

    Input value

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :is_converted (BOOLEAN)

    True: converted to other data type if appropriate. (default to false)

  • :set_style (BOOLEAN)

    True: set the number format to cell&#39;s style when converting to other data type (default to false)

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16680
16681
16682
16683
16684
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16680

def cells_ranges_post_worksheet_cells_range_value(name, sheet_name, value, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_value() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_range_value_with_http_info(name, sheet_name, value, opts)
  return data
end

#cells_ranges_post_worksheet_cells_range_value_with_http_info(name, sheet_name, value, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Puts a value into the range, if appropriate the value will be converted to other data type and cell&#39;s number format will be reset.

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • value

    Input value

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (Range)

    range in worksheet

  • :is_converted (BOOLEAN)

    True: converted to other data type if appropriate.

  • :set_style (BOOLEAN)

    True: set the number format to cell&#39;s style when converting to other data type

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16698

def cells_ranges_post_worksheet_cells_range_value_with_http_info(name, sheet_name, value, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_range_value_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_range_value ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_value"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_range_value"
  end
  # verify the required parameter 'value' is set
  if @api_client.config.client_side_validation && value.nil?
    fail ArgumentError, "Missing the required parameter 'value' when calling CellsApi.cells_ranges_post_worksheet_cells_range_value"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges/value".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'value'] = value
  query_params[:'isConverted'] = opts[:'is_converted'] if !opts[:'is_converted'].nil?
  query_params[:'setStyle'] = opts[:'set_style'] if !opts[:'set_style'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_range_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_post_worksheet_cells_ranges(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

copy range in the worksheet

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range_operate (RangeCopyRequest)

    copydata,copystyle,copyto,copyvalue

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16763
16764
16765
16766
16767
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16763

def cells_ranges_post_worksheet_cells_ranges(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_ranges() is deprecated."
  data, _status_code, _headers = cells_ranges_post_worksheet_cells_ranges_with_http_info(name, sheet_name, opts)
  return data
end

#cells_ranges_post_worksheet_cells_ranges_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

copy range in the worksheet

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range_operate (RangeCopyRequest)

    copydata,copystyle,copyto,copyvalue

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16778

def cells_ranges_post_worksheet_cells_ranges_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_ranges_post_worksheet_cells_ranges_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_post_worksheet_cells_ranges ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_post_worksheet_cells_ranges"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_post_worksheet_cells_ranges"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'range_operate'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_post_worksheet_cells_ranges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_ranges_put_worksheet_cells_range(name, sheet_name, range, shift, opts = {}) ⇒ CellsCloudResponse

Insert range in the worksheet

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • range

    range

  • shift

    Represent the shift options when deleting a range of cells. (Right,Down)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:



16837
16838
16839
16840
16841
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16837

def cells_ranges_put_worksheet_cells_range(name, sheet_name, range, shift, opts = {})
  warn "Warning: #cells_ranges_put_worksheet_cells_range() is deprecated."
  data, _status_code, _headers = cells_ranges_put_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts)
  return data
end

#cells_ranges_put_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Insert range in the worksheet

Parameters:

  • name

    workbook name

  • sheet_name

    worksheet name

  • range

    range

  • shift

    Represent the shift options when deleting a range of cells. (Right,Down)

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16853

def cells_ranges_put_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts = {})
  warn "Warning: #cells_ranges_put_worksheet_cells_range_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_put_worksheet_cells_range ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
  end
  # verify the required parameter 'range' is set
  if @api_client.config.client_side_validation && range.nil?
    fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
  end
  # verify the required parameter 'shift' is set
  if @api_client.config.client_side_validation && shift.nil?
    fail ArgumentError, "Missing the required parameter 'shift' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = range
  query_params[:'shift'] = shift
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_ranges_put_worksheet_cells_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_save_as_post_document_save_as(name, opts = {}) ⇒ SaveResponse

Convert document and save result to storage.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :save_options (SaveOptions)

    Save options.

  • :newfilename (String)

    The new file name.

  • :is_auto_fit_rows (BOOLEAN)

    Autofit rows. (default to false)

  • :is_auto_fit_columns (BOOLEAN)

    Autofit columns. (default to false)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

  • :out_storage_name (String)

    output storage name.

Returns:



16924
16925
16926
16927
16928
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16924

def cells_save_as_post_document_save_as(name, opts = {})
  warn "Warning: #cells_save_as_post_document_save_as() is deprecated."
  data, _status_code, _headers = cells_save_as_post_document_save_as_with_http_info(name, opts)
  return data
end

#cells_save_as_post_document_save_as_with_http_info(name, opts = {}) ⇒ Array<(SaveResponse, Fixnum, Hash)>

Convert document and save result to storage.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :save_options (SaveOptions)

    Save options.

  • :newfilename (String)

    The new file name.

  • :is_auto_fit_rows (BOOLEAN)

    Autofit rows.

  • :is_auto_fit_columns (BOOLEAN)

    Autofit columns.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

  • :out_storage_name (String)

    output storage name.

Returns:

  • (Array<(SaveResponse, Fixnum, Hash)>)

    SaveResponse data, response status code and response headers



16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 16942

def cells_save_as_post_document_save_as_with_http_info(name, opts = {})
  warn "Warning: #cells_save_as_post_document_save_as_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_save_as_post_document_save_as ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_save_as_post_document_save_as"
  end
  # resource path
  local_var_path = "/cells/{name}/SaveAs".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'newfilename'] = opts[:'newfilename'] if !opts[:'newfilename'].nil?
  query_params[:'isAutoFitRows'] = opts[:'is_auto_fit_rows'] if !opts[:'is_auto_fit_rows'].nil?
  query_params[:'isAutoFitColumns'] = opts[:'is_auto_fit_columns'] if !opts[:'is_auto_fit_columns'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'outStorageName'] = opts[:'out_storage_name'] if !opts[:'out_storage_name'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?
  if  opts[:'extendedQueryParameters'] 
    opts[:'extendedQueryParameters'].each do |key , value|
      query_params[key]  = value
    end
  end 
  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'save_options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'SaveResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_save_as_post_document_save_as\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_delete_worksheet_shape(name, sheet_name, shapeindex, opts = {}) ⇒ CellsCloudResponse

Delete a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17005
17006
17007
17008
17009
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17005

def cells_shapes_delete_worksheet_shape(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_delete_worksheet_shape() is deprecated."
  data, _status_code, _headers = cells_shapes_delete_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts)
  return data
end

#cells_shapes_delete_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17020

def cells_shapes_delete_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_delete_worksheet_shape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_delete_worksheet_shape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_delete_worksheet_shape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_delete_worksheet_shape"
  end
  # verify the required parameter 'shapeindex' is set
  if @api_client.config.client_side_validation && shapeindex.nil?
    fail ArgumentError, "Missing the required parameter 'shapeindex' when calling CellsApi.cells_shapes_delete_worksheet_shape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'shapeindex' + '}', shapeindex.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_delete_worksheet_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_delete_worksheet_shapes(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

delete all shapes in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17081
17082
17083
17084
17085
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17081

def cells_shapes_delete_worksheet_shapes(name, sheet_name, opts = {})
  warn "Warning: #cells_shapes_delete_worksheet_shapes() is deprecated."
  data, _status_code, _headers = cells_shapes_delete_worksheet_shapes_with_http_info(name, sheet_name, opts)
  return data
end

#cells_shapes_delete_worksheet_shapes_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

delete all shapes in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17095

def cells_shapes_delete_worksheet_shapes_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_shapes_delete_worksheet_shapes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_delete_worksheet_shapes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_delete_worksheet_shapes"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_delete_worksheet_shapes"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_delete_worksheet_shapes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_get_worksheet_shape(name, sheet_name, shapeindex, opts = {}) ⇒ ShapeResponse

Get worksheet shape

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17153
17154
17155
17156
17157
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17153

def cells_shapes_get_worksheet_shape(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_get_worksheet_shape() is deprecated."
  data, _status_code, _headers = cells_shapes_get_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts)
  return data
end

#cells_shapes_get_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts = {}) ⇒ Array<(ShapeResponse, Fixnum, Hash)>

Get worksheet shape

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ShapeResponse, Fixnum, Hash)>)

    ShapeResponse data, response status code and response headers



17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17168

def cells_shapes_get_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_get_worksheet_shape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_get_worksheet_shape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_get_worksheet_shape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_get_worksheet_shape"
  end
  # verify the required parameter 'shapeindex' is set
  if @api_client.config.client_side_validation && shapeindex.nil?
    fail ArgumentError, "Missing the required parameter 'shapeindex' when calling CellsApi.cells_shapes_get_worksheet_shape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'shapeindex' + '}', shapeindex.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ShapeResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_get_worksheet_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_get_worksheet_shapes(name, sheet_name, opts = {}) ⇒ ShapesResponse

Get worksheet shapes

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17229
17230
17231
17232
17233
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17229

def cells_shapes_get_worksheet_shapes(name, sheet_name, opts = {})
  warn "Warning: #cells_shapes_get_worksheet_shapes() is deprecated."
  data, _status_code, _headers = cells_shapes_get_worksheet_shapes_with_http_info(name, sheet_name, opts)
  return data
end

#cells_shapes_get_worksheet_shapes_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ShapesResponse, Fixnum, Hash)>

Get worksheet shapes

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ShapesResponse, Fixnum, Hash)>)

    ShapesResponse data, response status code and response headers



17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17243

def cells_shapes_get_worksheet_shapes_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_shapes_get_worksheet_shapes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_get_worksheet_shapes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_get_worksheet_shapes"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_get_worksheet_shapes"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ShapesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_get_worksheet_shapes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_post_worksheet_group_shape(name, sheet_name, list_shape, opts = {}) ⇒ CellsCloudResponse

Update a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • list_shape

    group shape indexs in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17301
17302
17303
17304
17305
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17301

def cells_shapes_post_worksheet_group_shape(name, sheet_name, list_shape, opts = {})
  warn "Warning: #cells_shapes_post_worksheet_group_shape() is deprecated."
  data, _status_code, _headers = cells_shapes_post_worksheet_group_shape_with_http_info(name, sheet_name, list_shape, opts)
  return data
end

#cells_shapes_post_worksheet_group_shape_with_http_info(name, sheet_name, list_shape, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • list_shape

    group shape indexs in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17316

def cells_shapes_post_worksheet_group_shape_with_http_info(name, sheet_name, list_shape, opts = {})
  warn "Warning: #cells_shapes_post_worksheet_group_shape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_post_worksheet_group_shape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_post_worksheet_group_shape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_post_worksheet_group_shape"
  end
  # verify the required parameter 'list_shape' is set
  if @api_client.config.client_side_validation && list_shape.nil?
    fail ArgumentError, "Missing the required parameter 'list_shape' when calling CellsApi.cells_shapes_post_worksheet_group_shape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes/group".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(list_shape)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_post_worksheet_group_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_post_worksheet_shape(name, sheet_name, shapeindex, opts = {}) ⇒ CellsCloudResponse

Update a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :dto (Shape)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17379
17380
17381
17382
17383
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17379

def cells_shapes_post_worksheet_shape(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_post_worksheet_shape() is deprecated."
  data, _status_code, _headers = cells_shapes_post_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts)
  return data
end

#cells_shapes_post_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :dto (Shape)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17395

def cells_shapes_post_worksheet_shape_with_http_info(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_post_worksheet_shape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_post_worksheet_shape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_post_worksheet_shape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_post_worksheet_shape"
  end
  # verify the required parameter 'shapeindex' is set
  if @api_client.config.client_side_validation && shapeindex.nil?
    fail ArgumentError, "Missing the required parameter 'shapeindex' when calling CellsApi.cells_shapes_post_worksheet_shape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'shapeindex' + '}', shapeindex.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'dto'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_post_worksheet_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_post_worksheet_ungroup_shape(name, sheet_name, shapeindex, opts = {}) ⇒ CellsCloudResponse

Update a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17457
17458
17459
17460
17461
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17457

def cells_shapes_post_worksheet_ungroup_shape(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_post_worksheet_ungroup_shape() is deprecated."
  data, _status_code, _headers = cells_shapes_post_worksheet_ungroup_shape_with_http_info(name, sheet_name, shapeindex, opts)
  return data
end

#cells_shapes_post_worksheet_ungroup_shape_with_http_info(name, sheet_name, shapeindex, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update a shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • shapeindex

    shape index in worksheet shapes.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17472

def cells_shapes_post_worksheet_ungroup_shape_with_http_info(name, sheet_name, shapeindex, opts = {})
  warn "Warning: #cells_shapes_post_worksheet_ungroup_shape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_post_worksheet_ungroup_shape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_post_worksheet_ungroup_shape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_post_worksheet_ungroup_shape"
  end
  # verify the required parameter 'shapeindex' is set
  if @api_client.config.client_side_validation && shapeindex.nil?
    fail ArgumentError, "Missing the required parameter 'shapeindex' when calling CellsApi.cells_shapes_post_worksheet_ungroup_shape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}/ungroup".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'shapeindex' + '}', shapeindex.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_post_worksheet_ungroup_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_shapes_put_worksheet_shape(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Add shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :shape_dto (Shape)
  • :drawing_type (String)

    shape object type

  • :upper_left_row (Integer)

    Upper left row index.

  • :upper_left_column (Integer)

    Upper left column index.

  • :top (Integer)

    Represents the vertical offset of Spinner from its left row, in unit of pixel.

  • :left (Integer)

    Represents the horizontal offset of Spinner from its left column, in unit of pixel.

  • :width (Integer)

    Represents the height of Spinner, in unit of pixel.

  • :height (Integer)

    Represents the width of Spinner, in unit of pixel.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17541
17542
17543
17544
17545
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17541

def cells_shapes_put_worksheet_shape(name, sheet_name, opts = {})
  warn "Warning: #cells_shapes_put_worksheet_shape() is deprecated."
  data, _status_code, _headers = cells_shapes_put_worksheet_shape_with_http_info(name, sheet_name, opts)
  return data
end

#cells_shapes_put_worksheet_shape_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add shape in worksheet

Parameters:

  • name

    document name.

  • sheet_name

    worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :shape_dto (Shape)
  • :drawing_type (String)

    shape object type

  • :upper_left_row (Integer)

    Upper left row index.

  • :upper_left_column (Integer)

    Upper left column index.

  • :top (Integer)

    Represents the vertical offset of Spinner from its left row, in unit of pixel.

  • :left (Integer)

    Represents the horizontal offset of Spinner from its left column, in unit of pixel.

  • :width (Integer)

    Represents the height of Spinner, in unit of pixel.

  • :height (Integer)

    Represents the width of Spinner, in unit of pixel.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17563

def cells_shapes_put_worksheet_shape_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_shapes_put_worksheet_shape_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_shapes_put_worksheet_shape ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_shapes_put_worksheet_shape"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_shapes_put_worksheet_shape"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/shapes".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'drawingType'] = opts[:'drawing_type'] if !opts[:'drawing_type'].nil?
  query_params[:'upperLeftRow'] = opts[:'upper_left_row'] if !opts[:'upper_left_row'].nil?
  query_params[:'upperLeftColumn'] = opts[:'upper_left_column'] if !opts[:'upper_left_column'].nil?
  query_params[:'top'] = opts[:'top'] if !opts[:'top'].nil?
  query_params[:'left'] = opts[:'left'] if !opts[:'left'].nil?
  query_params[:'width'] = opts[:'width'] if !opts[:'width'].nil?
  query_params[:'height'] = opts[:'height'] if !opts[:'height'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'shape_dto'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_shapes_put_worksheet_shape\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_sparkline_groups_delete_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • sparkline_group_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



17628
17629
17630
17631
17632
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17628

def cells_sparkline_groups_delete_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, opts = {})
  warn "Warning: #cells_sparkline_groups_delete_worksheet_sparkline_group() is deprecated."
  data, _status_code, _headers = cells_sparkline_groups_delete_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts)
  return data
end

#cells_sparkline_groups_delete_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • sparkline_group_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17643

def cells_sparkline_groups_delete_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts = {})
  warn "Warning: #cells_sparkline_groups_delete_worksheet_sparkline_group_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group"
  end
  # verify the required parameter 'sparkline_group_index' is set
  if @api_client.config.client_side_validation && sparkline_group_index.nil?
    fail ArgumentError, "Missing the required parameter 'sparkline_group_index' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_group"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups/{sparklineGroupIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'sparklineGroupIndex' + '}', sparkline_group_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_delete_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_sparkline_groups_delete_worksheet_sparkline_groups(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



17704
17705
17706
17707
17708
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17704

def cells_sparkline_groups_delete_worksheet_sparkline_groups(name, sheet_name, opts = {})
  warn "Warning: #cells_sparkline_groups_delete_worksheet_sparkline_groups() is deprecated."
  data, _status_code, _headers = cells_sparkline_groups_delete_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts)
  return data
end

#cells_sparkline_groups_delete_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17718

def cells_sparkline_groups_delete_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_sparkline_groups_delete_worksheet_sparkline_groups_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_groups ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_groups"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_delete_worksheet_sparkline_groups"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_delete_worksheet_sparkline_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_sparkline_groups_get_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, opts = {}) ⇒ SparklineGroupResponse

Parameters:

  • name
  • sheet_name
  • sparkline_group_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



17776
17777
17778
17779
17780
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17776

def cells_sparkline_groups_get_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, opts = {})
  warn "Warning: #cells_sparkline_groups_get_worksheet_sparkline_group() is deprecated."
  data, _status_code, _headers = cells_sparkline_groups_get_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts)
  return data
end

#cells_sparkline_groups_get_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts = {}) ⇒ Array<(SparklineGroupResponse, Fixnum, Hash)>

Returns SparklineGroupResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • sparkline_group_index
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(SparklineGroupResponse, Fixnum, Hash)>)

    SparklineGroupResponse data, response status code and response headers



17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17791

def cells_sparkline_groups_get_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, opts = {})
  warn "Warning: #cells_sparkline_groups_get_worksheet_sparkline_group_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group"
  end
  # verify the required parameter 'sparkline_group_index' is set
  if @api_client.config.client_side_validation && sparkline_group_index.nil?
    fail ArgumentError, "Missing the required parameter 'sparkline_group_index' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_group"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups/{sparklineGroupIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'sparklineGroupIndex' + '}', sparkline_group_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'SparklineGroupResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_get_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_sparkline_groups_get_worksheet_sparkline_groups(name, sheet_name, opts = {}) ⇒ SparklineGroupsResponse

Get worksheet charts description.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



17852
17853
17854
17855
17856
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17852

def cells_sparkline_groups_get_worksheet_sparkline_groups(name, sheet_name, opts = {})
  warn "Warning: #cells_sparkline_groups_get_worksheet_sparkline_groups() is deprecated."
  data, _status_code, _headers = cells_sparkline_groups_get_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts)
  return data
end

#cells_sparkline_groups_get_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(SparklineGroupsResponse, Fixnum, Hash)>

Get worksheet charts description.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(SparklineGroupsResponse, Fixnum, Hash)>)

    SparklineGroupsResponse data, response status code and response headers



17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17866

def cells_sparkline_groups_get_worksheet_sparkline_groups_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_sparkline_groups_get_worksheet_sparkline_groups_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_get_worksheet_sparkline_groups ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_groups"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_get_worksheet_sparkline_groups"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'SparklineGroupsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_get_worksheet_sparkline_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_sparkline_groups_post_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, sparkline_group, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • sparkline_group_index
  • sparkline_group
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



17925
17926
17927
17928
17929
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17925

def cells_sparkline_groups_post_worksheet_sparkline_group(name, sheet_name, sparkline_group_index, sparkline_group, opts = {})
  warn "Warning: #cells_sparkline_groups_post_worksheet_sparkline_group() is deprecated."
  data, _status_code, _headers = cells_sparkline_groups_post_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, sparkline_group, opts)
  return data
end

#cells_sparkline_groups_post_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, sparkline_group, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • sparkline_group_index
  • sparkline_group
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 17941

def cells_sparkline_groups_post_worksheet_sparkline_group_with_http_info(name, sheet_name, sparkline_group_index, sparkline_group, opts = {})
  warn "Warning: #cells_sparkline_groups_post_worksheet_sparkline_group_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
  end
  # verify the required parameter 'sparkline_group_index' is set
  if @api_client.config.client_side_validation && sparkline_group_index.nil?
    fail ArgumentError, "Missing the required parameter 'sparkline_group_index' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
  end
  # verify the required parameter 'sparkline_group' is set
  if @api_client.config.client_side_validation && sparkline_group.nil?
    fail ArgumentError, "Missing the required parameter 'sparkline_group' when calling CellsApi.cells_sparkline_groups_post_worksheet_sparkline_group"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups/{sparklineGroupIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'sparklineGroupIndex' + '}', sparkline_group_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(sparkline_group)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_post_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_sparkline_groups_put_worksheet_sparkline_group(name, sheet_name, type, data_range, is_vertical, location_range, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • type
  • data_range
  • is_vertical
  • location_range
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



18010
18011
18012
18013
18014
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18010

def cells_sparkline_groups_put_worksheet_sparkline_group(name, sheet_name, type, data_range, is_vertical, location_range, opts = {})
  warn "Warning: #cells_sparkline_groups_put_worksheet_sparkline_group() is deprecated."
  data, _status_code, _headers = cells_sparkline_groups_put_worksheet_sparkline_group_with_http_info(name, sheet_name, type, data_range, is_vertical, location_range, opts)
  return data
end

#cells_sparkline_groups_put_worksheet_sparkline_group_with_http_info(name, sheet_name, type, data_range, is_vertical, location_range, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • type
  • data_range
  • is_vertical
  • location_range
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18028

def cells_sparkline_groups_put_worksheet_sparkline_group_with_http_info(name, sheet_name, type, data_range, is_vertical, location_range, opts = {})
  warn "Warning: #cells_sparkline_groups_put_worksheet_sparkline_group_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
  end
  # verify the required parameter 'type' is set
  if @api_client.config.client_side_validation && type.nil?
    fail ArgumentError, "Missing the required parameter 'type' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
  end
  # verify the required parameter 'data_range' is set
  if @api_client.config.client_side_validation && data_range.nil?
    fail ArgumentError, "Missing the required parameter 'data_range' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
  end
  # verify the required parameter 'is_vertical' is set
  if @api_client.config.client_side_validation && is_vertical.nil?
    fail ArgumentError, "Missing the required parameter 'is_vertical' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
  end
  # verify the required parameter 'location_range' is set
  if @api_client.config.client_side_validation && location_range.nil?
    fail ArgumentError, "Missing the required parameter 'location_range' when calling CellsApi.cells_sparkline_groups_put_worksheet_sparkline_group"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sparklinegroups".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'type'] = type
  query_params[:'dataRange'] = data_range
  query_params[:'isVertical'] = is_vertical
  query_params[:'locationRange'] = location_range
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_sparkline_groups_put_worksheet_sparkline_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_task_post_run_task(task_data, opts = {}) ⇒ Object

Run tasks

Parameters:

  • task_data
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Object)


18102
18103
18104
18105
18106
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18102

def cells_task_post_run_task(task_data, opts = {})
  warn "Warning: #cells_task_post_run_task() is deprecated."
  data, _status_code, _headers = cells_task_post_run_task_with_http_info(task_data, opts)
  return data
end

#cells_task_post_run_task_with_http_info(task_data, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Run tasks

Parameters:

  • task_data
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18113

def cells_task_post_run_task_with_http_info(task_data, opts = {})
  warn "Warning: #cells_task_post_run_task_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_task_post_run_task ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'task_data' is set
  if @api_client.config.client_side_validation && task_data.nil?
    fail ArgumentError, "Missing the required parameter 'task_data' when calling CellsApi.cells_task_post_run_task"
  end
  # resource path
  local_var_path = "/cells/task/runtask"

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(task_data)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_task_post_run_task\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_delete_decrypt_document(name, opts = {}) ⇒ CellsCloudResponse

Decrypt document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :encryption (WorkbookEncryptionRequest)

    Encryption settings, only password can be specified.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



18164
18165
18166
18167
18168
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18164

def cells_workbook_delete_decrypt_document(name, opts = {})
  warn "Warning: #cells_workbook_delete_decrypt_document() is deprecated."
  data, _status_code, _headers = cells_workbook_delete_decrypt_document_with_http_info(name, opts)
  return data
end

#cells_workbook_delete_decrypt_document_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Decrypt document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :encryption (WorkbookEncryptionRequest)

    Encryption settings, only password can be specified.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18178

def cells_workbook_delete_decrypt_document_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_delete_decrypt_document_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_delete_decrypt_document ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_delete_decrypt_document"
  end
  # resource path
  local_var_path = "/cells/{name}/encryption".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'encryption'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_delete_decrypt_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_delete_document_unprotect_from_changes(name, opts = {}) ⇒ CellsCloudResponse

Unprotect document from changes.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



18230
18231
18232
18233
18234
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18230

def cells_workbook_delete_document_unprotect_from_changes(name, opts = {})
  warn "Warning: #cells_workbook_delete_document_unprotect_from_changes() is deprecated."
  data, _status_code, _headers = cells_workbook_delete_document_unprotect_from_changes_with_http_info(name, opts)
  return data
end

#cells_workbook_delete_document_unprotect_from_changes_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unprotect document from changes.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18243

def cells_workbook_delete_document_unprotect_from_changes_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_delete_document_unprotect_from_changes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_delete_document_unprotect_from_changes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_delete_document_unprotect_from_changes"
  end
  # resource path
  local_var_path = "/cells/{name}/writeProtection".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_delete_document_unprotect_from_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_delete_unprotect_document(name, opts = {}) ⇒ CellsCloudResponse

Unprotect document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protection (WorkbookProtectionRequest)

    Protection settings, only password can be specified.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



18296
18297
18298
18299
18300
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18296

def cells_workbook_delete_unprotect_document(name, opts = {})
  warn "Warning: #cells_workbook_delete_unprotect_document() is deprecated."
  data, _status_code, _headers = cells_workbook_delete_unprotect_document_with_http_info(name, opts)
  return data
end

#cells_workbook_delete_unprotect_document_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unprotect document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protection (WorkbookProtectionRequest)

    Protection settings, only password can be specified.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18310

def cells_workbook_delete_unprotect_document_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_delete_unprotect_document_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_delete_unprotect_document ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_delete_unprotect_document"
  end
  # resource path
  local_var_path = "/cells/{name}/protection".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'protection'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_delete_unprotect_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_delete_workbook_background(name, opts = {}) ⇒ CellsCloudResponse

Set worksheet background image.

Parameters:

  • name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



18362
18363
18364
18365
18366
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18362

def cells_workbook_delete_workbook_background(name, opts = {})
  warn "Warning: #cells_workbook_delete_workbook_background() is deprecated."
  data, _status_code, _headers = cells_workbook_delete_workbook_background_with_http_info(name, opts)
  return data
end

#cells_workbook_delete_workbook_background_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set worksheet background image.

Parameters:

  • name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18375

def cells_workbook_delete_workbook_background_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_delete_workbook_background_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_delete_workbook_background ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_delete_workbook_background"
  end
  # resource path
  local_var_path = "/cells/{name}/background".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_delete_workbook_background\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_delete_workbook_name(name, name_name, opts = {}) ⇒ CellsCloudResponse

Clean workbook’s names.

Parameters:

  • name

    The workbook name.

  • name_name

    The name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



18428
18429
18430
18431
18432
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18428

def cells_workbook_delete_workbook_name(name, name_name, opts = {})
  warn "Warning: #cells_workbook_delete_workbook_name() is deprecated."
  data, _status_code, _headers = cells_workbook_delete_workbook_name_with_http_info(name, name_name, opts)
  return data
end

#cells_workbook_delete_workbook_name_with_http_info(name, name_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clean workbook&#39;s names.

Parameters:

  • name

    The workbook name.

  • name_name

    The name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18442

def cells_workbook_delete_workbook_name_with_http_info(name, name_name, opts = {})
  warn "Warning: #cells_workbook_delete_workbook_name_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_delete_workbook_name ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_delete_workbook_name"
  end
  # verify the required parameter 'name_name' is set
  if @api_client.config.client_side_validation && name_name.nil?
    fail ArgumentError, "Missing the required parameter 'name_name' when calling CellsApi.cells_workbook_delete_workbook_name"
  end
  # resource path
  local_var_path = "/cells/{name}/names/{nameName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'nameName' + '}', name_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_delete_workbook_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_delete_workbook_names(name, opts = {}) ⇒ CellsCloudResponse

Clean workbook’s names.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



18498
18499
18500
18501
18502
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18498

def cells_workbook_delete_workbook_names(name, opts = {})
  warn "Warning: #cells_workbook_delete_workbook_names() is deprecated."
  data, _status_code, _headers = cells_workbook_delete_workbook_names_with_http_info(name, opts)
  return data
end

#cells_workbook_delete_workbook_names_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clean workbook&#39;s names.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18511

def cells_workbook_delete_workbook_names_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_delete_workbook_names_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_delete_workbook_names ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_delete_workbook_names"
  end
  # resource path
  local_var_path = "/cells/{name}/names".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_delete_workbook_names\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_page_count(name, opts = {}) ⇒ Object

Get page count for workbook.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Object)


18563
18564
18565
18566
18567
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18563

def cells_workbook_get_page_count(name, opts = {})
  warn "Warning: #cells_workbook_get_page_count() is deprecated."
  data, _status_code, _headers = cells_workbook_get_page_count_with_http_info(name, opts)
  return data
end

#cells_workbook_get_page_count_with_http_info(name, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Get page count for workbook.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18576

def cells_workbook_get_page_count_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_get_page_count_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_page_count ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_page_count"
  end
  # resource path
  local_var_path = "/cells/{name}/pagecount".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_page_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook(name, opts = {}) ⇒ File

Read workbook info or export.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)

    The document password.

  • :format (String)

    The exported file format.

  • :is_auto_fit (BOOLEAN)

    Set document rows to be autofit. (default to false)

  • :only_save_table (BOOLEAN)

    Only save table data. (default to false)

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

  • :out_path (String)

    The document output folder.

  • :out_storage_name (String)

    output storage name.

Returns:

  • (File)


18634
18635
18636
18637
18638
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18634

def cells_workbook_get_workbook(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_with_http_info(name, opts)
  return data
end

#cells_workbook_get_workbook_default_style(name, opts = {}) ⇒ StyleResponse

Read workbook default style info.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



18715
18716
18717
18718
18719
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18715

def cells_workbook_get_workbook_default_style(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_default_style() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_default_style_with_http_info(name, opts)
  return data
end

#cells_workbook_get_workbook_default_style_with_http_info(name, opts = {}) ⇒ Array<(StyleResponse, Fixnum, Hash)>

Read workbook default style info.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(StyleResponse, Fixnum, Hash)>)

    StyleResponse data, response status code and response headers



18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18728

def cells_workbook_get_workbook_default_style_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_default_style_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook_default_style ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook_default_style"
  end
  # resource path
  local_var_path = "/cells/{name}/defaultstyle".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'StyleResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook_default_style\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook_name(name, name_name, opts = {}) ⇒ NameResponse

Read workbook’s name.

Parameters:

  • name

    The workbook name.

  • name_name

    The name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



18781
18782
18783
18784
18785
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18781

def cells_workbook_get_workbook_name(name, name_name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_name() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_name_with_http_info(name, name_name, opts)
  return data
end

#cells_workbook_get_workbook_name_value(name, name_name, opts = {}) ⇒ RangeValueResponse

Get workbook’s name value.

Parameters:

  • name

    The workbook name.

  • name_name

    The name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



18852
18853
18854
18855
18856
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18852

def cells_workbook_get_workbook_name_value(name, name_name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_name_value() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_name_value_with_http_info(name, name_name, opts)
  return data
end

#cells_workbook_get_workbook_name_value_with_http_info(name, name_name, opts = {}) ⇒ Array<(RangeValueResponse, Fixnum, Hash)>

Get workbook&#39;s name value.

Parameters:

  • name

    The workbook name.

  • name_name

    The name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(RangeValueResponse, Fixnum, Hash)>)

    RangeValueResponse data, response status code and response headers



18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18866

def cells_workbook_get_workbook_name_value_with_http_info(name, name_name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_name_value_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook_name_value ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook_name_value"
  end
  # verify the required parameter 'name_name' is set
  if @api_client.config.client_side_validation && name_name.nil?
    fail ArgumentError, "Missing the required parameter 'name_name' when calling CellsApi.cells_workbook_get_workbook_name_value"
  end
  # resource path
  local_var_path = "/cells/{name}/names/{nameName}/value".sub('{' + 'name' + '}', name.to_s).sub('{' + 'nameName' + '}', name_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'RangeValueResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook_name_value\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook_name_with_http_info(name, name_name, opts = {}) ⇒ Array<(NameResponse, Fixnum, Hash)>

Read workbook&#39;s name.

Parameters:

  • name

    The workbook name.

  • name_name

    The name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(NameResponse, Fixnum, Hash)>)

    NameResponse data, response status code and response headers



18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18795

def cells_workbook_get_workbook_name_with_http_info(name, name_name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_name_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook_name ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook_name"
  end
  # verify the required parameter 'name_name' is set
  if @api_client.config.client_side_validation && name_name.nil?
    fail ArgumentError, "Missing the required parameter 'name_name' when calling CellsApi.cells_workbook_get_workbook_name"
  end
  # resource path
  local_var_path = "/cells/{name}/names/{nameName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'nameName' + '}', name_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'NameResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook_name\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook_names(name, opts = {}) ⇒ NamesResponse

Read workbook’s names.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



18922
18923
18924
18925
18926
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18922

def cells_workbook_get_workbook_names(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_names() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_names_with_http_info(name, opts)
  return data
end

#cells_workbook_get_workbook_names_with_http_info(name, opts = {}) ⇒ Array<(NamesResponse, Fixnum, Hash)>

Read workbook&#39;s names.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(NamesResponse, Fixnum, Hash)>)

    NamesResponse data, response status code and response headers



18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18935

def cells_workbook_get_workbook_names_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_names_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook_names ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook_names"
  end
  # resource path
  local_var_path = "/cells/{name}/names".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'NamesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook_names\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook_settings(name, opts = {}) ⇒ WorkbookSettingsResponse

Get Workbook Settings DTO

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



18987
18988
18989
18990
18991
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18987

def cells_workbook_get_workbook_settings(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_settings() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_settings_with_http_info(name, opts)
  return data
end

#cells_workbook_get_workbook_settings_with_http_info(name, opts = {}) ⇒ Array<(WorkbookSettingsResponse, Fixnum, Hash)>

Get Workbook Settings DTO

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(WorkbookSettingsResponse, Fixnum, Hash)>)

    WorkbookSettingsResponse data, response status code and response headers



19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19000

def cells_workbook_get_workbook_settings_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_settings_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook_settings ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook_settings"
  end
  # resource path
  local_var_path = "/cells/{name}/settings".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'WorkbookSettingsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook_text_items(name, opts = {}) ⇒ TextItemsResponse

Read workbook’s text items.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



19052
19053
19054
19055
19056
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19052

def cells_workbook_get_workbook_text_items(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_text_items() is deprecated."
  data, _status_code, _headers = cells_workbook_get_workbook_text_items_with_http_info(name, opts)
  return data
end

#cells_workbook_get_workbook_text_items_with_http_info(name, opts = {}) ⇒ Array<(TextItemsResponse, Fixnum, Hash)>

Read workbook&#39;s text items.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(TextItemsResponse, Fixnum, Hash)>)

    TextItemsResponse data, response status code and response headers



19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19065

def cells_workbook_get_workbook_text_items_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_text_items_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook_text_items ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook_text_items"
  end
  # resource path
  local_var_path = "/cells/{name}/textItems".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'TextItemsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook_text_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_get_workbook_with_http_info(name, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Read workbook info or export.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)

    The document password.

  • :format (String)

    The exported file format.

  • :is_auto_fit (BOOLEAN)

    Set document rows to be autofit.

  • :only_save_table (BOOLEAN)

    Only save table data.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

  • :out_path (String)

    The document output folder.

  • :out_storage_name (String)

    output storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 18653

def cells_workbook_get_workbook_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_get_workbook_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_get_workbook ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_get_workbook"
  end
  # resource path
  local_var_path = "/cells/{name}".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'isAutoFit'] = opts[:'is_auto_fit'] if !opts[:'is_auto_fit'].nil?
  query_params[:'onlySaveTable'] = opts[:'only_save_table'] if !opts[:'only_save_table'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'outPath'] = opts[:'out_path'] if !opts[:'out_path'].nil?
  query_params[:'outStorageName'] = opts[:'out_storage_name'] if !opts[:'out_storage_name'].nil?
  if  opts[:'extendedQueryParameters'] 
    opts[:'extendedQueryParameters'].each do |key , value|
      query_params[key]  = value
    end
  end 
  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_get_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_autofit_workbook_columns(name, opts = {}) ⇒ CellsCloudResponse

Autofit workbook columns.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)

    Auto Fitter Options.

  • :start_column (Integer)

    Start column.

  • :end_column (Integer)

    End column.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



19120
19121
19122
19123
19124
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19120

def cells_workbook_post_autofit_workbook_columns(name, opts = {})
  warn "Warning: #cells_workbook_post_autofit_workbook_columns() is deprecated."
  data, _status_code, _headers = cells_workbook_post_autofit_workbook_columns_with_http_info(name, opts)
  return data
end

#cells_workbook_post_autofit_workbook_columns_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Autofit workbook columns.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)

    Auto Fitter Options.

  • :start_column (Integer)

    Start column.

  • :end_column (Integer)

    End column.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19136

def cells_workbook_post_autofit_workbook_columns_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_autofit_workbook_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_autofit_workbook_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_autofit_workbook_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/autofitcolumns".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startColumn'] = opts[:'start_column'] if !opts[:'start_column'].nil?
  query_params[:'endColumn'] = opts[:'end_column'] if !opts[:'end_column'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'auto_fitter_options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_autofit_workbook_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_autofit_workbook_rows(name, opts = {}) ⇒ CellsCloudResponse

Autofit workbook rows.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)

    Auto Fitter Options.

  • :start_row (Integer)

    Start row.

  • :end_row (Integer)

    End row.

  • :only_auto (BOOLEAN)

    Only auto. (default to false)

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



19194
19195
19196
19197
19198
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19194

def cells_workbook_post_autofit_workbook_rows(name, opts = {})
  warn "Warning: #cells_workbook_post_autofit_workbook_rows() is deprecated."
  data, _status_code, _headers = cells_workbook_post_autofit_workbook_rows_with_http_info(name, opts)
  return data
end

#cells_workbook_post_autofit_workbook_rows_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Autofit workbook rows.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)

    Auto Fitter Options.

  • :start_row (Integer)

    Start row.

  • :end_row (Integer)

    End row.

  • :only_auto (BOOLEAN)

    Only auto.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19211

def cells_workbook_post_autofit_workbook_rows_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_autofit_workbook_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_autofit_workbook_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_autofit_workbook_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/autofitrows".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startRow'] = opts[:'start_row'] if !opts[:'start_row'].nil?
  query_params[:'endRow'] = opts[:'end_row'] if !opts[:'end_row'].nil?
  query_params[:'onlyAuto'] = opts[:'only_auto'] if !opts[:'only_auto'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'auto_fitter_options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_autofit_workbook_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_digital_signature(name, digitalsignaturefile, password, opts = {}) ⇒ CellsCloudResponse

Add digital signature.

Parameters:

  • name

    Workbook name.

  • digitalsignaturefile

    Digital signature file parameters.

  • password
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



19268
19269
19270
19271
19272
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19268

def cells_workbook_post_digital_signature(name, digitalsignaturefile, password, opts = {})
  warn "Warning: #cells_workbook_post_digital_signature() is deprecated."
  data, _status_code, _headers = cells_workbook_post_digital_signature_with_http_info(name, digitalsignaturefile, password, opts)
  return data
end

#cells_workbook_post_digital_signature_with_http_info(name, digitalsignaturefile, password, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add digital signature.

Parameters:

  • name

    Workbook name.

  • digitalsignaturefile

    Digital signature file parameters.

  • password
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Workbook&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19283

def cells_workbook_post_digital_signature_with_http_info(name, digitalsignaturefile, password, opts = {})
  warn "Warning: #cells_workbook_post_digital_signature_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_digital_signature ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_digital_signature"
  end
  # verify the required parameter 'digitalsignaturefile' is set
  if @api_client.config.client_side_validation && digitalsignaturefile.nil?
    fail ArgumentError, "Missing the required parameter 'digitalsignaturefile' when calling CellsApi.cells_workbook_post_digital_signature"
  end
  # verify the required parameter 'password' is set
  if @api_client.config.client_side_validation && password.nil?
    fail ArgumentError, "Missing the required parameter 'password' when calling CellsApi.cells_workbook_post_digital_signature"
  end
  # resource path
  local_var_path = "/cells/{name}/digitalsignature".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'digitalsignaturefile'] = digitalsignaturefile
  query_params[:'password'] = password
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_digital_signature\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_encrypt_document(name, opts = {}) ⇒ CellsCloudResponse

Encript document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :encryption (WorkbookEncryptionRequest)

    Encryption parameters.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



19346
19347
19348
19349
19350
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19346

def cells_workbook_post_encrypt_document(name, opts = {})
  warn "Warning: #cells_workbook_post_encrypt_document() is deprecated."
  data, _status_code, _headers = cells_workbook_post_encrypt_document_with_http_info(name, opts)
  return data
end

#cells_workbook_post_encrypt_document_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Encript document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :encryption (WorkbookEncryptionRequest)

    Encryption parameters.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19360

def cells_workbook_post_encrypt_document_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_encrypt_document_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_encrypt_document ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_encrypt_document"
  end
  # resource path
  local_var_path = "/cells/{name}/encryption".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'encryption'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_encrypt_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_import_data(name, import_data, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • import_data
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



19413
19414
19415
19416
19417
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19413

def cells_workbook_post_import_data(name, import_data, opts = {})
  warn "Warning: #cells_workbook_post_import_data() is deprecated."
  data, _status_code, _headers = cells_workbook_post_import_data_with_http_info(name, import_data, opts)
  return data
end

#cells_workbook_post_import_data_with_http_info(name, import_data, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • import_data
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19427

def cells_workbook_post_import_data_with_http_info(name, import_data, opts = {})
  warn "Warning: #cells_workbook_post_import_data_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_import_data ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_import_data"
  end
  # verify the required parameter 'import_data' is set
  if @api_client.config.client_side_validation && import_data.nil?
    fail ArgumentError, "Missing the required parameter 'import_data' when calling CellsApi.cells_workbook_post_import_data"
  end
  # resource path
  local_var_path = "/cells/{name}/importdata".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(import_data)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_import_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_protect_document(name, opts = {}) ⇒ CellsCloudResponse

Protect document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protection (WorkbookProtectionRequest)

    The protection settings.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



19484
19485
19486
19487
19488
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19484

def cells_workbook_post_protect_document(name, opts = {})
  warn "Warning: #cells_workbook_post_protect_document() is deprecated."
  data, _status_code, _headers = cells_workbook_post_protect_document_with_http_info(name, opts)
  return data
end

#cells_workbook_post_protect_document_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Protect document.

Parameters:

  • name

    The document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protection (WorkbookProtectionRequest)

    The protection settings.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19498

def cells_workbook_post_protect_document_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_protect_document_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_protect_document ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_protect_document"
  end
  # resource path
  local_var_path = "/cells/{name}/protection".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'protection'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_protect_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbook_calculate_formula(name, opts = {}) ⇒ CellsCloudResponse

Calculate all formulas in workbook.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :options (CalculationOptions)

    Calculation Options.

  • :ignore_error (BOOLEAN)

    ignore Error.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



19552
19553
19554
19555
19556
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19552

def cells_workbook_post_workbook_calculate_formula(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_calculate_formula() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbook_calculate_formula_with_http_info(name, opts)
  return data
end

#cells_workbook_post_workbook_calculate_formula_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Calculate all formulas in workbook.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :options (CalculationOptions)

    Calculation Options.

  • :ignore_error (BOOLEAN)

    ignore Error.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19567

def cells_workbook_post_workbook_calculate_formula_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_calculate_formula_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbook_calculate_formula ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbook_calculate_formula"
  end
  # resource path
  local_var_path = "/cells/{name}/calculateformula".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'ignoreError'] = opts[:'ignore_error'] if !opts[:'ignore_error'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbook_calculate_formula\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbook_get_smart_marker_result(name, opts = {}) ⇒ File

Smart marker processing result.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :xml_file (String)

    The xml file full path, if empty the data is read from request body.

  • :folder (String)

    The workbook folder full path.

  • :storage_name (String)

    storage name.

  • :out_path (String)

    Path to save result

  • :out_storage_name (String)

    output storage name.

Returns:

  • (File)


19623
19624
19625
19626
19627
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19623

def cells_workbook_post_workbook_get_smart_marker_result(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_get_smart_marker_result() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbook_get_smart_marker_result_with_http_info(name, opts)
  return data
end

#cells_workbook_post_workbook_get_smart_marker_result_with_http_info(name, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Smart marker processing result.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :xml_file (String)

    The xml file full path, if empty the data is read from request body.

  • :folder (String)

    The workbook folder full path.

  • :storage_name (String)

    storage name.

  • :out_path (String)

    Path to save result

  • :out_storage_name (String)

    output storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19639

def cells_workbook_post_workbook_get_smart_marker_result_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_get_smart_marker_result_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbook_get_smart_marker_result ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbook_get_smart_marker_result"
  end
  # resource path
  local_var_path = "/cells/{name}/smartmarker".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'xmlFile'] = opts[:'xml_file'] if !opts[:'xml_file'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'outPath'] = opts[:'out_path'] if !opts[:'out_path'].nil?
  query_params[:'outStorageName'] = opts[:'out_storage_name'] if !opts[:'out_storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbook_get_smart_marker_result\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbook_settings(name, opts = {}) ⇒ CellsCloudResponse

Update Workbook setting

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :settings (WorkbookSettings)

    Workbook Setting DTO

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



19695
19696
19697
19698
19699
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19695

def cells_workbook_post_workbook_settings(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_settings() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbook_settings_with_http_info(name, opts)
  return data
end

#cells_workbook_post_workbook_settings_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update Workbook setting

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :settings (WorkbookSettings)

    Workbook Setting DTO

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19709

def cells_workbook_post_workbook_settings_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_settings_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbook_settings ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbook_settings"
  end
  # resource path
  local_var_path = "/cells/{name}/settings".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'settings'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbook_settings\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbook_split(name, opts = {}) ⇒ SplitResultResponse

Split workbook.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    Split format.

  • :from (Integer)

    Start worksheet index. (default to 0)

  • :to (Integer)

    End worksheet index. (default to 0)

  • :horizontal_resolution (Integer)

    Image horizontal resolution. (default to 0)

  • :vertical_resolution (Integer)

    Image vertical resolution. (default to 0)

  • :folder (String)

    The workbook folder.

  • :out_folder (String)

    out Folder.

  • :storage_name (String)

    storage name.

  • :out_storage_name (String)

    output storage name.

Returns:



19768
19769
19770
19771
19772
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19768

def cells_workbook_post_workbook_split(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_split() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbook_split_with_http_info(name, opts)
  return data
end

#cells_workbook_post_workbook_split_with_http_info(name, opts = {}) ⇒ Array<(SplitResultResponse, Fixnum, Hash)>

Split workbook.

Parameters:

  • name

    The workbook name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    Split format.

  • :from (Integer)

    Start worksheet index.

  • :to (Integer)

    End worksheet index.

  • :horizontal_resolution (Integer)

    Image horizontal resolution.

  • :vertical_resolution (Integer)

    Image vertical resolution.

  • :folder (String)

    The workbook folder.

  • :out_folder (String)

    out Folder.

  • :storage_name (String)

    storage name.

  • :out_storage_name (String)

    output storage name.

Returns:

  • (Array<(SplitResultResponse, Fixnum, Hash)>)

    SplitResultResponse data, response status code and response headers



19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19788

def cells_workbook_post_workbook_split_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_post_workbook_split_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbook_split ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbook_split"
  end
  # resource path
  local_var_path = "/cells/{name}/split".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'from'] = opts[:'from'] if !opts[:'from'].nil?
  query_params[:'to'] = opts[:'to'] if !opts[:'to'].nil?
  query_params[:'horizontalResolution'] = opts[:'horizontal_resolution'] if !opts[:'horizontal_resolution'].nil?
  query_params[:'verticalResolution'] = opts[:'vertical_resolution'] if !opts[:'vertical_resolution'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'outFolder'] = opts[:'out_folder'] if !opts[:'out_folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'outStorageName'] = opts[:'out_storage_name'] if !opts[:'out_storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'SplitResultResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbook_split\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbooks_merge(name, merge_with, opts = {}) ⇒ WorkbookResponse

Merge workbooks.

Parameters:

  • name

    Workbook name.

  • merge_with

    The workbook to merge with.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Source workbook folder.

  • :storage_name (String)

    storage name.

  • :merged_storage_name (String)

    merged file storage name.

Returns:



19849
19850
19851
19852
19853
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19849

def cells_workbook_post_workbooks_merge(name, merge_with, opts = {})
  warn "Warning: #cells_workbook_post_workbooks_merge() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbooks_merge_with_http_info(name, merge_with, opts)
  return data
end

#cells_workbook_post_workbooks_merge_with_http_info(name, merge_with, opts = {}) ⇒ Array<(WorkbookResponse, Fixnum, Hash)>

Merge workbooks.

Parameters:

  • name

    Workbook name.

  • merge_with

    The workbook to merge with.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Source workbook folder.

  • :storage_name (String)

    storage name.

  • :merged_storage_name (String)

    merged file storage name.

Returns:

  • (Array<(WorkbookResponse, Fixnum, Hash)>)

    WorkbookResponse data, response status code and response headers



19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19864

def cells_workbook_post_workbooks_merge_with_http_info(name, merge_with, opts = {})
  warn "Warning: #cells_workbook_post_workbooks_merge_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbooks_merge ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbooks_merge"
  end
  # verify the required parameter 'merge_with' is set
  if @api_client.config.client_side_validation && merge_with.nil?
    fail ArgumentError, "Missing the required parameter 'merge_with' when calling CellsApi.cells_workbook_post_workbooks_merge"
  end
  # resource path
  local_var_path = "/cells/{name}/merge".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'mergeWith'] = merge_with
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'mergedStorageName'] = opts[:'merged_storage_name'] if !opts[:'merged_storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'WorkbookResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbooks_merge\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbooks_text_replace(name, old_value, new_value, opts = {}) ⇒ WorkbookReplaceResponse

Replace text.

Parameters:

  • name

    Document name.

  • old_value

    The old value.

  • new_value

    The new value.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



19924
19925
19926
19927
19928
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19924

def cells_workbook_post_workbooks_text_replace(name, old_value, new_value, opts = {})
  warn "Warning: #cells_workbook_post_workbooks_text_replace() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbooks_text_replace_with_http_info(name, old_value, new_value, opts)
  return data
end

#cells_workbook_post_workbooks_text_replace_with_http_info(name, old_value, new_value, opts = {}) ⇒ Array<(WorkbookReplaceResponse, Fixnum, Hash)>

Replace text.

Parameters:

  • name

    Document name.

  • old_value

    The old value.

  • new_value

    The new value.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(WorkbookReplaceResponse, Fixnum, Hash)>)

    WorkbookReplaceResponse data, response status code and response headers



19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 19939

def cells_workbook_post_workbooks_text_replace_with_http_info(name, old_value, new_value, opts = {})
  warn "Warning: #cells_workbook_post_workbooks_text_replace_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbooks_text_replace ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbooks_text_replace"
  end
  # verify the required parameter 'old_value' is set
  if @api_client.config.client_side_validation && old_value.nil?
    fail ArgumentError, "Missing the required parameter 'old_value' when calling CellsApi.cells_workbook_post_workbooks_text_replace"
  end
  # verify the required parameter 'new_value' is set
  if @api_client.config.client_side_validation && new_value.nil?
    fail ArgumentError, "Missing the required parameter 'new_value' when calling CellsApi.cells_workbook_post_workbooks_text_replace"
  end
  # resource path
  local_var_path = "/cells/{name}/replaceText".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'oldValue'] = old_value
  query_params[:'newValue'] = new_value
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'WorkbookReplaceResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbooks_text_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_post_workbooks_text_search(name, text, opts = {}) ⇒ TextItemsResponse

Search text.

Parameters:

  • name

    Document name.

  • text

    Text sample.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20002
20003
20004
20005
20006
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20002

def cells_workbook_post_workbooks_text_search(name, text, opts = {})
  warn "Warning: #cells_workbook_post_workbooks_text_search() is deprecated."
  data, _status_code, _headers = cells_workbook_post_workbooks_text_search_with_http_info(name, text, opts)
  return data
end

#cells_workbook_post_workbooks_text_search_with_http_info(name, text, opts = {}) ⇒ Array<(TextItemsResponse, Fixnum, Hash)>

Search text.

Parameters:

  • name

    Document name.

  • text

    Text sample.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(TextItemsResponse, Fixnum, Hash)>)

    TextItemsResponse data, response status code and response headers



20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20016

def cells_workbook_post_workbooks_text_search_with_http_info(name, text, opts = {})
  warn "Warning: #cells_workbook_post_workbooks_text_search_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_post_workbooks_text_search ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_post_workbooks_text_search"
  end
  # verify the required parameter 'text' is set
  if @api_client.config.client_side_validation && text.nil?
    fail ArgumentError, "Missing the required parameter 'text' when calling CellsApi.cells_workbook_post_workbooks_text_search"
  end
  # resource path
  local_var_path = "/cells/{name}/findText".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'text'] = text
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'TextItemsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_post_workbooks_text_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_put_convert_workbook(file, opts = {}) ⇒ File

Convert workbook from request content to some format.

Parameters:

  • file
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The format to convert.

  • :password (String)

    The workbook password.

  • :out_path (String)

    Path to save result

  • :storage_name (String)

    storage name.

Returns:

  • (File)


20075
20076
20077
20078
20079
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20075

def cells_workbook_put_convert_workbook(file, opts = {})
  warn "Warning: #cells_workbook_put_convert_workbook() is deprecated."
  data, _status_code, _headers = cells_workbook_put_convert_workbook_with_http_info(file, opts)
  return data
end

#cells_workbook_put_convert_workbook_with_http_info(file, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Convert workbook from request content to some format.

Parameters:

  • file
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The format to convert.

  • :password (String)

    The workbook password.

  • :out_path (String)

    Path to save result

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20090

def cells_workbook_put_convert_workbook_with_http_info(file, opts = {})
  warn "Warning: #cells_workbook_put_convert_workbook_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_put_convert_workbook ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.cells_workbook_put_convert_workbook"
  end
  # resource path
  local_var_path = "/cells/convert"

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'outPath'] = opts[:'out_path'] if !opts[:'out_path'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  if  opts[:'extendedQueryParameters'] 
    opts[:'extendedQueryParameters'].each do |key , value|
      query_params[key]  = value
    end
  end 
  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
  post_body =file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_put_convert_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_put_document_protect_from_changes(name, opts = {}) ⇒ CellsCloudResponse

Protect document from changes.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (PasswordRequest)

    Modification password.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20150
20151
20152
20153
20154
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20150

def cells_workbook_put_document_protect_from_changes(name, opts = {})
  warn "Warning: #cells_workbook_put_document_protect_from_changes() is deprecated."
  data, _status_code, _headers = cells_workbook_put_document_protect_from_changes_with_http_info(name, opts)
  return data
end

#cells_workbook_put_document_protect_from_changes_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Protect document from changes.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (PasswordRequest)

    Modification password.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20164

def cells_workbook_put_document_protect_from_changes_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_put_document_protect_from_changes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_put_document_protect_from_changes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_put_document_protect_from_changes"
  end
  # resource path
  local_var_path = "/cells/{name}/writeProtection".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'password'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_put_document_protect_from_changes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_put_workbook_background(name, png, opts = {}) ⇒ CellsCloudResponse

Set workbook background image.

Parameters:

  • name
  • png
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



20217
20218
20219
20220
20221
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20217

def cells_workbook_put_workbook_background(name, png, opts = {})
  warn "Warning: #cells_workbook_put_workbook_background() is deprecated."
  data, _status_code, _headers = cells_workbook_put_workbook_background_with_http_info(name, png, opts)
  return data
end

#cells_workbook_put_workbook_background_with_http_info(name, png, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set workbook background image.

Parameters:

  • name
  • png
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20231

def cells_workbook_put_workbook_background_with_http_info(name, png, opts = {})
  warn "Warning: #cells_workbook_put_workbook_background_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_put_workbook_background ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_put_workbook_background"
  end
  # verify the required parameter 'png' is set
  if @api_client.config.client_side_validation && png.nil?
    fail ArgumentError, "Missing the required parameter 'png' when calling CellsApi.cells_workbook_put_workbook_background"
  end
  # resource path
  local_var_path = "/cells/{name}/background".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(png)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_put_workbook_background\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_put_workbook_create(name, opts = {}) ⇒ WorkbookResponse

Create new workbook using deferent methods.

Parameters:

  • name

    The new document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :template_file (String)

    The template file, if the data not provided default workbook is created.

  • :data_file (String)

    Smart marker data file, if the data not provided the request content is checked for the data.

  • :is_write_over (BOOLEAN)

    write over file.

  • :folder (String)

    The new document folder.

  • :storage_name (String)

    storage name.

Returns:



20290
20291
20292
20293
20294
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20290

def cells_workbook_put_workbook_create(name, opts = {})
  warn "Warning: #cells_workbook_put_workbook_create() is deprecated."
  data, _status_code, _headers = cells_workbook_put_workbook_create_with_http_info(name, opts)
  return data
end

#cells_workbook_put_workbook_create_with_http_info(name, opts = {}) ⇒ Array<(WorkbookResponse, Fixnum, Hash)>

Create new workbook using deferent methods.

Parameters:

  • name

    The new document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :template_file (String)

    The template file, if the data not provided default workbook is created.

  • :data_file (String)

    Smart marker data file, if the data not provided the request content is checked for the data.

  • :is_write_over (BOOLEAN)

    write over file.

  • :folder (String)

    The new document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(WorkbookResponse, Fixnum, Hash)>)

    WorkbookResponse data, response status code and response headers



20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20306

def cells_workbook_put_workbook_create_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_put_workbook_create_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_put_workbook_create ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_put_workbook_create"
  end
  # resource path
  local_var_path = "/cells/{name}".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'templateFile'] = opts[:'template_file'] if !opts[:'template_file'].nil?
  query_params[:'dataFile'] = opts[:'data_file'] if !opts[:'data_file'].nil?
  query_params[:'isWriteOver'] = opts[:'is_write_over'] if !opts[:'is_write_over'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'WorkbookResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_put_workbook_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_workbook_put_workbook_water_marker(name, opts = {}) ⇒ CellsCloudResponse

Set workbook background image.

Parameters:

  • name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

  • :text_water_marker_request (TextWaterMarkerRequest)

    The text water marker request.

Returns:



20362
20363
20364
20365
20366
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20362

def cells_workbook_put_workbook_water_marker(name, opts = {})
  warn "Warning: #cells_workbook_put_workbook_water_marker() is deprecated."
  data, _status_code, _headers = cells_workbook_put_workbook_water_marker_with_http_info(name, opts)
  return data
end

#cells_workbook_put_workbook_water_marker_with_http_info(name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set workbook background image.

Parameters:

  • name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

  • :text_water_marker_request (TextWaterMarkerRequest)

    The text water marker request.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20376

def cells_workbook_put_workbook_water_marker_with_http_info(name, opts = {})
  warn "Warning: #cells_workbook_put_workbook_water_marker_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_workbook_put_workbook_water_marker ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_workbook_put_workbook_water_marker"
  end
  # resource path
  local_var_path = "/cells/{name}/watermarker".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'text_water_marker_request'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_workbook_put_workbook_water_marker\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheet_validations_delete_worksheet_validation(name, sheet_name, validation_index, opts = {}) ⇒ CellsCloudResponse

Delete worksheet validation by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • validation_index

    The validation index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20430
20431
20432
20433
20434
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20430

def cells_worksheet_validations_delete_worksheet_validation(name, sheet_name, validation_index, opts = {})
  warn "Warning: #cells_worksheet_validations_delete_worksheet_validation() is deprecated."
  data, _status_code, _headers = cells_worksheet_validations_delete_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts)
  return data
end

#cells_worksheet_validations_delete_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet validation by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • validation_index

    The validation index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20445

def cells_worksheet_validations_delete_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {})
  warn "Warning: #cells_worksheet_validations_delete_worksheet_validation_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_delete_worksheet_validation ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheet_validations_delete_worksheet_validation"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheet_validations_delete_worksheet_validation"
  end
  # verify the required parameter 'validation_index' is set
  if @api_client.config.client_side_validation && validation_index.nil?
    fail ArgumentError, "Missing the required parameter 'validation_index' when calling CellsApi.cells_worksheet_validations_delete_worksheet_validation"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'validationIndex' + '}', validation_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_delete_worksheet_validation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheet_validations_delete_worksheet_validations(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Clear all validation in worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20506
20507
20508
20509
20510
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20506

def cells_worksheet_validations_delete_worksheet_validations(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheet_validations_delete_worksheet_validations() is deprecated."
  data, _status_code, _headers = cells_worksheet_validations_delete_worksheet_validations_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheet_validations_delete_worksheet_validations_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Clear all validation in worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20520

def cells_worksheet_validations_delete_worksheet_validations_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheet_validations_delete_worksheet_validations_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_delete_worksheet_validations ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheet_validations_delete_worksheet_validations"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheet_validations_delete_worksheet_validations"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/validations".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_delete_worksheet_validations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheet_validations_get_worksheet_validation(name, sheet_name, validation_index, opts = {}) ⇒ ValidationResponse

Get worksheet validation by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • validation_index

    The validation index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20578
20579
20580
20581
20582
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20578

def cells_worksheet_validations_get_worksheet_validation(name, sheet_name, validation_index, opts = {})
  warn "Warning: #cells_worksheet_validations_get_worksheet_validation() is deprecated."
  data, _status_code, _headers = cells_worksheet_validations_get_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts)
  return data
end

#cells_worksheet_validations_get_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {}) ⇒ Array<(ValidationResponse, Fixnum, Hash)>

Get worksheet validation by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • validation_index

    The validation index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ValidationResponse, Fixnum, Hash)>)

    ValidationResponse data, response status code and response headers



20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20593

def cells_worksheet_validations_get_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {})
  warn "Warning: #cells_worksheet_validations_get_worksheet_validation_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_get_worksheet_validation ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheet_validations_get_worksheet_validation"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheet_validations_get_worksheet_validation"
  end
  # verify the required parameter 'validation_index' is set
  if @api_client.config.client_side_validation && validation_index.nil?
    fail ArgumentError, "Missing the required parameter 'validation_index' when calling CellsApi.cells_worksheet_validations_get_worksheet_validation"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'validationIndex' + '}', validation_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ValidationResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_get_worksheet_validation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheet_validations_get_worksheet_validations(name, sheet_name, opts = {}) ⇒ ValidationsResponse

Get worksheet validations.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



20654
20655
20656
20657
20658
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20654

def cells_worksheet_validations_get_worksheet_validations(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheet_validations_get_worksheet_validations() is deprecated."
  data, _status_code, _headers = cells_worksheet_validations_get_worksheet_validations_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheet_validations_get_worksheet_validations_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ValidationsResponse, Fixnum, Hash)>

Get worksheet validations.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ValidationsResponse, Fixnum, Hash)>)

    ValidationsResponse data, response status code and response headers



20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20668

def cells_worksheet_validations_get_worksheet_validations_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheet_validations_get_worksheet_validations_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_get_worksheet_validations ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheet_validations_get_worksheet_validations"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheet_validations_get_worksheet_validations"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/validations".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ValidationsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_get_worksheet_validations\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheet_validations_post_worksheet_validation(name, sheet_name, validation_index, opts = {}) ⇒ ValidationResponse

Update worksheet validation by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • validation_index

    The validation index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :validation (Validation)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20727
20728
20729
20730
20731
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20727

def cells_worksheet_validations_post_worksheet_validation(name, sheet_name, validation_index, opts = {})
  warn "Warning: #cells_worksheet_validations_post_worksheet_validation() is deprecated."
  data, _status_code, _headers = cells_worksheet_validations_post_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts)
  return data
end

#cells_worksheet_validations_post_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {}) ⇒ Array<(ValidationResponse, Fixnum, Hash)>

Update worksheet validation by index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • validation_index

    The validation index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :validation (Validation)
  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ValidationResponse, Fixnum, Hash)>)

    ValidationResponse data, response status code and response headers



20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20743

def cells_worksheet_validations_post_worksheet_validation_with_http_info(name, sheet_name, validation_index, opts = {})
  warn "Warning: #cells_worksheet_validations_post_worksheet_validation_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_post_worksheet_validation ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheet_validations_post_worksheet_validation"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheet_validations_post_worksheet_validation"
  end
  # verify the required parameter 'validation_index' is set
  if @api_client.config.client_side_validation && validation_index.nil?
    fail ArgumentError, "Missing the required parameter 'validation_index' when calling CellsApi.cells_worksheet_validations_post_worksheet_validation"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/validations/{validationIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'validationIndex' + '}', validation_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'validation'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ValidationResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_post_worksheet_validation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheet_validations_put_worksheet_validation(name, sheet_name, opts = {}) ⇒ ValidationResponse

Add worksheet validation at index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (String)

    Specified cells area

  • :validation (Validation)

    validation

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20806
20807
20808
20809
20810
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20806

def cells_worksheet_validations_put_worksheet_validation(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheet_validations_put_worksheet_validation() is deprecated."
  data, _status_code, _headers = cells_worksheet_validations_put_worksheet_validation_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheet_validations_put_worksheet_validation_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(ValidationResponse, Fixnum, Hash)>

Add worksheet validation at index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :range (String)

    Specified cells area

  • :validation (Validation)

    validation

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(ValidationResponse, Fixnum, Hash)>)

    ValidationResponse data, response status code and response headers



20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20822

def cells_worksheet_validations_put_worksheet_validation_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheet_validations_put_worksheet_validation_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheet_validations_put_worksheet_validation ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheet_validations_put_worksheet_validation"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheet_validations_put_worksheet_validation"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/validations".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'range'] = opts[:'range'] if !opts[:'range'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'validation'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ValidationResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheet_validations_put_worksheet_validation\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_unprotect_worksheet(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Unprotect worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protect_parameter (ProtectSheetParameter)

    with protection settings. Only password is used here.

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



20881
20882
20883
20884
20885
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20881

def cells_worksheets_delete_unprotect_worksheet(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_unprotect_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_unprotect_worksheet_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_delete_unprotect_worksheet_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unprotect worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protect_parameter (ProtectSheetParameter)

    with protection settings. Only password is used here.

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20896

def cells_worksheets_delete_unprotect_worksheet_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_unprotect_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_unprotect_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_unprotect_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_delete_unprotect_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/protection".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'protect_parameter'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_unprotect_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_worksheet(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Delete worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



20953
20954
20955
20956
20957
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20953

def cells_worksheets_delete_worksheet(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_delete_worksheet_background(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Set worksheet background image.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



21024
21025
21026
21027
21028
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21024

def cells_worksheets_delete_worksheet_background(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_background() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_worksheet_background_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_delete_worksheet_background_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set worksheet background image.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21038

def cells_worksheets_delete_worksheet_background_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_background_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet_background ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheet_background"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_delete_worksheet_background"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/background".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet_background\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_worksheet_comment(name, sheet_name, cell_name, opts = {}) ⇒ CellsCloudResponse

Delete worksheet’s cell comment.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



21096
21097
21098
21099
21100
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21096

def cells_worksheets_delete_worksheet_comment(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_comment() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_worksheets_delete_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet&#39;s cell comment.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21111

def cells_worksheets_delete_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_comment_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet_comment ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheet_comment"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_delete_worksheet_comment"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_worksheets_delete_worksheet_comment"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet_comment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_worksheet_comments(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Delete all comments for worksheet.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



21172
21173
21174
21175
21176
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21172

def cells_worksheets_delete_worksheet_comments(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_comments() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_worksheet_comments_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_delete_worksheet_comments_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete all comments for worksheet.

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21186

def cells_worksheets_delete_worksheet_comments_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_comments_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet_comments ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheet_comments"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_delete_worksheet_comments"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/comments".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet_comments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_worksheet_freeze_panes(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {}) ⇒ CellsCloudResponse

Unfreeze panes

Parameters:

  • name
  • sheet_name
  • row
  • column
  • freezed_rows
  • freezed_columns
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



21247
21248
21249
21250
21251
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21247

def cells_worksheets_delete_worksheet_freeze_panes(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_freeze_panes() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_worksheet_freeze_panes_with_http_info(name, sheet_name, row, column, freezed_rows, freezed_columns, opts)
  return data
end

#cells_worksheets_delete_worksheet_freeze_panes_with_http_info(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Unfreeze panes

Parameters:

  • name
  • sheet_name
  • row
  • column
  • freezed_rows
  • freezed_columns
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21265

def cells_worksheets_delete_worksheet_freeze_panes_with_http_info(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_freeze_panes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet_freeze_panes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheet_freeze_panes"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_delete_worksheet_freeze_panes"
  end
  # verify the required parameter 'row' is set
  if @api_client.config.client_side_validation && row.nil?
    fail ArgumentError, "Missing the required parameter 'row' when calling CellsApi.cells_worksheets_delete_worksheet_freeze_panes"
  end
  # verify the required parameter 'column' is set
  if @api_client.config.client_side_validation && column.nil?
    fail ArgumentError, "Missing the required parameter 'column' when calling CellsApi.cells_worksheets_delete_worksheet_freeze_panes"
  end
  # verify the required parameter 'freezed_rows' is set
  if @api_client.config.client_side_validation && freezed_rows.nil?
    fail ArgumentError, "Missing the required parameter 'freezed_rows' when calling CellsApi.cells_worksheets_delete_worksheet_freeze_panes"
  end
  # verify the required parameter 'freezed_columns' is set
  if @api_client.config.client_side_validation && freezed_columns.nil?
    fail ArgumentError, "Missing the required parameter 'freezed_columns' when calling CellsApi.cells_worksheets_delete_worksheet_freeze_panes"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/freezepanes".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'row'] = row
  query_params[:'column'] = column
  query_params[:'freezedRows'] = freezed_rows
  query_params[:'freezedColumns'] = freezed_columns
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet_freeze_panes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Delete worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 20967

def cells_worksheets_delete_worksheet_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_delete_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_delete_worksheets(name, match_condition, opts = {}) ⇒ CellsCloudResponse

Read worksheets info.

Parameters:

  • name
  • match_condition
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:



21342
21343
21344
21345
21346
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21342

def cells_worksheets_delete_worksheets(name, match_condition, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheets() is deprecated."
  data, _status_code, _headers = cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts)
  return data
end

#cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Read worksheets info.

Parameters:

  • name
  • match_condition
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21356

def cells_worksheets_delete_worksheets_with_http_info(name, match_condition, opts = {})
  warn "Warning: #cells_worksheets_delete_worksheets_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_delete_worksheets ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_delete_worksheets"
  end
  # verify the required parameter 'match_condition' is set
  if @api_client.config.client_side_validation && match_condition.nil?
    fail ArgumentError, "Missing the required parameter 'match_condition' when calling CellsApi.cells_worksheets_delete_worksheets"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(match_condition)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_delete_worksheets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_named_ranges(name, opts = {}) ⇒ RangesResponse

Read worksheets ranges info.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



21412
21413
21414
21415
21416
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21412

def cells_worksheets_get_named_ranges(name, opts = {})
  warn "Warning: #cells_worksheets_get_named_ranges() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_named_ranges_with_http_info(name, opts)
  return data
end

#cells_worksheets_get_named_ranges_with_http_info(name, opts = {}) ⇒ Array<(RangesResponse, Fixnum, Hash)>

Read worksheets ranges info.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(RangesResponse, Fixnum, Hash)>)

    RangesResponse data, response status code and response headers



21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21425

def cells_worksheets_get_named_ranges_with_http_info(name, opts = {})
  warn "Warning: #cells_worksheets_get_named_ranges_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_named_ranges ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_named_ranges"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/ranges".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'RangesResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_named_ranges\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_page_count(name, sheet_name, opts = {}) ⇒ Object

Get page count for worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Object)


21478
21479
21480
21481
21482
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21478

def cells_worksheets_get_page_count(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_page_count() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(Object, Fixnum, Hash)>

Get page count for worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(Object, Fixnum, Hash)>)

    Object data, response status code and response headers



21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21492

def cells_worksheets_get_page_count_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_page_count_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_page_count ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_page_count"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_page_count"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/pagecount".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'Object')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_page_count\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet(name, sheet_name, opts = {}) ⇒ File

Read worksheet info or export.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported file format.

  • :vertical_resolution (Integer)

    Image vertical resolution. (default to 0)

  • :horizontal_resolution (Integer)

    Image horizontal resolution. (default to 0)

  • :area (String)

    Exported area.

  • :page_index (Integer)

    Exported page index.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (File)


21554
21555
21556
21557
21558
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21554

def cells_worksheets_get_worksheet(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_get_worksheet_calculate_formula(name, sheet_name, formula, opts = {}) ⇒ SingleValueResponse

Calculate formula value.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • formula

    The formula.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



21636
21637
21638
21639
21640
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21636

def cells_worksheets_get_worksheet_calculate_formula(name, sheet_name, formula, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_calculate_formula() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_calculate_formula_with_http_info(name, sheet_name, formula, opts)
  return data
end

#cells_worksheets_get_worksheet_calculate_formula_with_http_info(name, sheet_name, formula, opts = {}) ⇒ Array<(SingleValueResponse, Fixnum, Hash)>

Calculate formula value.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • formula

    The formula.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(SingleValueResponse, Fixnum, Hash)>)

    SingleValueResponse data, response status code and response headers



21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21651

def cells_worksheets_get_worksheet_calculate_formula_with_http_info(name, sheet_name, formula, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_calculate_formula_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet_calculate_formula ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet_calculate_formula"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet_calculate_formula"
  end
  # verify the required parameter 'formula' is set
  if @api_client.config.client_side_validation && formula.nil?
    fail ArgumentError, "Missing the required parameter 'formula' when calling CellsApi.cells_worksheets_get_worksheet_calculate_formula"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/formulaResult".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'formula'] = formula
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'SingleValueResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet_calculate_formula\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet_comment(name, sheet_name, cell_name, opts = {}) ⇒ CommentResponse

Get worksheet comment by cell name.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



21714
21715
21716
21717
21718
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21714

def cells_worksheets_get_worksheet_comment(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_comment() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_worksheets_get_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CommentResponse, Fixnum, Hash)>

Get worksheet comment by cell name.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CommentResponse, Fixnum, Hash)>)

    CommentResponse data, response status code and response headers



21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21729

def cells_worksheets_get_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_comment_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet_comment ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet_comment"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet_comment"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_worksheets_get_worksheet_comment"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CommentResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet_comment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet_comments(name, sheet_name, opts = {}) ⇒ CommentsResponse

Get worksheet comments.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



21790
21791
21792
21793
21794
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21790

def cells_worksheets_get_worksheet_comments(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_comments() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_comments_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_get_worksheet_comments_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CommentsResponse, Fixnum, Hash)>

Get worksheet comments.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CommentsResponse, Fixnum, Hash)>)

    CommentsResponse data, response status code and response headers



21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21804

def cells_worksheets_get_worksheet_comments_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_comments_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet_comments ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet_comments"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet_comments"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/comments".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CommentsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet_comments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet_merged_cell(name, sheet_name, merged_cell_index, opts = {}) ⇒ MergedCellResponse

Get worksheet merged cell by its index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • merged_cell_index

    Merged cell index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



21862
21863
21864
21865
21866
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21862

def cells_worksheets_get_worksheet_merged_cell(name, sheet_name, merged_cell_index, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_merged_cell() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_merged_cell_with_http_info(name, sheet_name, merged_cell_index, opts)
  return data
end

#cells_worksheets_get_worksheet_merged_cell_with_http_info(name, sheet_name, merged_cell_index, opts = {}) ⇒ Array<(MergedCellResponse, Fixnum, Hash)>

Get worksheet merged cell by its index.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • merged_cell_index

    Merged cell index.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(MergedCellResponse, Fixnum, Hash)>)

    MergedCellResponse data, response status code and response headers



21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21877

def cells_worksheets_get_worksheet_merged_cell_with_http_info(name, sheet_name, merged_cell_index, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_merged_cell_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet_merged_cell ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet_merged_cell"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet_merged_cell"
  end
  # verify the required parameter 'merged_cell_index' is set
  if @api_client.config.client_side_validation && merged_cell_index.nil?
    fail ArgumentError, "Missing the required parameter 'merged_cell_index' when calling CellsApi.cells_worksheets_get_worksheet_merged_cell"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/mergedCells/{mergedCellIndex}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'mergedCellIndex' + '}', merged_cell_index.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'MergedCellResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet_merged_cell\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet_merged_cells(name, sheet_name, opts = {}) ⇒ MergedCellsResponse

Get worksheet merged cells.

Parameters:

  • name

    Document name.

  • sheet_name

    The workseet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



21938
21939
21940
21941
21942
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21938

def cells_worksheets_get_worksheet_merged_cells(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_merged_cells() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_merged_cells_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_get_worksheet_merged_cells_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(MergedCellsResponse, Fixnum, Hash)>

Get worksheet merged cells.

Parameters:

  • name

    Document name.

  • sheet_name

    The workseet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(MergedCellsResponse, Fixnum, Hash)>)

    MergedCellsResponse data, response status code and response headers



21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21952

def cells_worksheets_get_worksheet_merged_cells_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_merged_cells_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet_merged_cells ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet_merged_cells"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet_merged_cells"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/mergedCells".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'MergedCellsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet_merged_cells\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet_text_items(name, sheet_name, opts = {}) ⇒ TextItemsResponse

Get worksheet text items.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



22009
22010
22011
22012
22013
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22009

def cells_worksheets_get_worksheet_text_items(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_text_items() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheet_text_items_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_get_worksheet_text_items_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(TextItemsResponse, Fixnum, Hash)>

Get worksheet text items.

Parameters:

  • name

    Workbook name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The workbook&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(TextItemsResponse, Fixnum, Hash)>)

    TextItemsResponse data, response status code and response headers



22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22023

def cells_worksheets_get_worksheet_text_items_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_text_items_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet_text_items ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet_text_items"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet_text_items"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/textItems".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'TextItemsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet_text_items\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheet_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Read worksheet info or export.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :format (String)

    The exported file format.

  • :vertical_resolution (Integer)

    Image vertical resolution.

  • :horizontal_resolution (Integer)

    Image horizontal resolution.

  • :area (String)

    Exported area.

  • :page_index (Integer)

    Exported page index.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 21573

def cells_worksheets_get_worksheet_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_get_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'format'] = opts[:'format'] if !opts[:'format'].nil?
  query_params[:'verticalResolution'] = opts[:'vertical_resolution'] if !opts[:'vertical_resolution'].nil?
  query_params[:'horizontalResolution'] = opts[:'horizontal_resolution'] if !opts[:'horizontal_resolution'].nil?
  query_params[:'area'] = opts[:'area'] if !opts[:'area'].nil?
  query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_get_worksheets(name, opts = {}) ⇒ WorksheetsResponse

Read worksheets info.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



22079
22080
22081
22082
22083
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22079

def cells_worksheets_get_worksheets(name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheets() is deprecated."
  data, _status_code, _headers = cells_worksheets_get_worksheets_with_http_info(name, opts)
  return data
end

#cells_worksheets_get_worksheets_with_http_info(name, opts = {}) ⇒ Array<(WorksheetsResponse, Fixnum, Hash)>

Read worksheets info.

Parameters:

  • name

    Document name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(WorksheetsResponse, Fixnum, Hash)>)

    WorksheetsResponse data, response status code and response headers



22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22092

def cells_worksheets_get_worksheets_with_http_info(name, opts = {})
  warn "Warning: #cells_worksheets_get_worksheets_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_get_worksheets ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_get_worksheets"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets".sub('{' + 'name' + '}', name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'WorksheetsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_get_worksheets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_autofit_worksheet_columns(name, sheet_name, first_column, last_column, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • first_column
  • last_column
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)
  • :first_row (Integer)
  • :last_row (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



22150
22151
22152
22153
22154
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22150

def cells_worksheets_post_autofit_worksheet_columns(name, sheet_name, first_column, last_column, opts = {})
  warn "Warning: #cells_worksheets_post_autofit_worksheet_columns() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_autofit_worksheet_columns_with_http_info(name, sheet_name, first_column, last_column, opts)
  return data
end

#cells_worksheets_post_autofit_worksheet_columns_with_http_info(name, sheet_name, first_column, last_column, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • first_column
  • last_column
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)
  • :first_row (Integer)
  • :last_row (Integer)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22169

def cells_worksheets_post_autofit_worksheet_columns_with_http_info(name, sheet_name, first_column, last_column, opts = {})
  warn "Warning: #cells_worksheets_post_autofit_worksheet_columns_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_autofit_worksheet_columns ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_autofit_worksheet_columns"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_autofit_worksheet_columns"
  end
  # verify the required parameter 'first_column' is set
  if @api_client.config.client_side_validation && first_column.nil?
    fail ArgumentError, "Missing the required parameter 'first_column' when calling CellsApi.cells_worksheets_post_autofit_worksheet_columns"
  end
  # verify the required parameter 'last_column' is set
  if @api_client.config.client_side_validation && last_column.nil?
    fail ArgumentError, "Missing the required parameter 'last_column' when calling CellsApi.cells_worksheets_post_autofit_worksheet_columns"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autofitcolumns".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'firstColumn'] = first_column
  query_params[:'lastColumn'] = last_column
  query_params[:'firstRow'] = opts[:'first_row'] if !opts[:'first_row'].nil?
  query_params[:'lastRow'] = opts[:'last_row'] if !opts[:'last_row'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'auto_fitter_options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_autofit_worksheet_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_autofit_worksheet_row(name, sheet_name, row_index, first_column, last_column, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • row_index
  • first_column
  • last_column
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



22242
22243
22244
22245
22246
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22242

def cells_worksheets_post_autofit_worksheet_row(name, sheet_name, row_index, first_column, last_column, opts = {})
  warn "Warning: #cells_worksheets_post_autofit_worksheet_row() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_autofit_worksheet_row_with_http_info(name, sheet_name, row_index, first_column, last_column, opts)
  return data
end

#cells_worksheets_post_autofit_worksheet_row_with_http_info(name, sheet_name, row_index, first_column, last_column, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • row_index
  • first_column
  • last_column
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22260

def cells_worksheets_post_autofit_worksheet_row_with_http_info(name, sheet_name, row_index, first_column, last_column, opts = {})
  warn "Warning: #cells_worksheets_post_autofit_worksheet_row_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_autofit_worksheet_row ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_autofit_worksheet_row"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_autofit_worksheet_row"
  end
  # verify the required parameter 'row_index' is set
  if @api_client.config.client_side_validation && row_index.nil?
    fail ArgumentError, "Missing the required parameter 'row_index' when calling CellsApi.cells_worksheets_post_autofit_worksheet_row"
  end
  # verify the required parameter 'first_column' is set
  if @api_client.config.client_side_validation && first_column.nil?
    fail ArgumentError, "Missing the required parameter 'first_column' when calling CellsApi.cells_worksheets_post_autofit_worksheet_row"
  end
  # verify the required parameter 'last_column' is set
  if @api_client.config.client_side_validation && last_column.nil?
    fail ArgumentError, "Missing the required parameter 'last_column' when calling CellsApi.cells_worksheets_post_autofit_worksheet_row"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autofitrow".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'rowIndex'] = row_index
  query_params[:'firstColumn'] = first_column
  query_params[:'lastColumn'] = last_column
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'auto_fitter_options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_autofit_worksheet_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_autofit_worksheet_rows(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Autofit worksheet rows.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)

    Auto Fitter Options.

  • :start_row (Integer)

    Start row.

  • :end_row (Integer)

    End row.

  • :only_auto (BOOLEAN)

    Only auto. (default to false)

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



22336
22337
22338
22339
22340
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22336

def cells_worksheets_post_autofit_worksheet_rows(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_post_autofit_worksheet_rows() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_autofit_worksheet_rows_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_post_autofit_worksheet_rows_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Autofit worksheet rows.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :auto_fitter_options (AutoFitterOptions)

    Auto Fitter Options.

  • :start_row (Integer)

    Start row.

  • :end_row (Integer)

    End row.

  • :only_auto (BOOLEAN)

    Only auto.

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22354

def cells_worksheets_post_autofit_worksheet_rows_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_post_autofit_worksheet_rows_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_autofit_worksheet_rows ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_autofit_worksheet_rows"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_autofit_worksheet_rows"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/autofitrows".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'startRow'] = opts[:'start_row'] if !opts[:'start_row'].nil?
  query_params[:'endRow'] = opts[:'end_row'] if !opts[:'end_row'].nil?
  query_params[:'onlyAuto'] = opts[:'only_auto'] if !opts[:'only_auto'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'auto_fitter_options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_autofit_worksheet_rows\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_copy_worksheet(name, sheet_name, source_sheet, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • source_sheet
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :options (CopyOptions)
  • :source_workbook (String)
  • :source_folder (String)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



22418
22419
22420
22421
22422
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22418

def cells_worksheets_post_copy_worksheet(name, sheet_name, source_sheet, opts = {})
  warn "Warning: #cells_worksheets_post_copy_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_copy_worksheet_with_http_info(name, sheet_name, source_sheet, opts)
  return data
end

#cells_worksheets_post_copy_worksheet_with_http_info(name, sheet_name, source_sheet, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • source_sheet
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :options (CopyOptions)
  • :source_workbook (String)
  • :source_folder (String)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22436

def cells_worksheets_post_copy_worksheet_with_http_info(name, sheet_name, source_sheet, opts = {})
  warn "Warning: #cells_worksheets_post_copy_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_copy_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_copy_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_copy_worksheet"
  end
  # verify the required parameter 'source_sheet' is set
  if @api_client.config.client_side_validation && source_sheet.nil?
    fail ArgumentError, "Missing the required parameter 'source_sheet' when calling CellsApi.cells_worksheets_post_copy_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/copy".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'sourceSheet'] = source_sheet
  query_params[:'sourceWorkbook'] = opts[:'source_workbook'] if !opts[:'source_workbook'].nil?
  query_params[:'sourceFolder'] = opts[:'source_folder'] if !opts[:'source_folder'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'options'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_copy_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_move_worksheet(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Move worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :moving (WorksheetMovingRequest)

    with moving parameters.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



22501
22502
22503
22504
22505
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22501

def cells_worksheets_post_move_worksheet(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_post_move_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Move worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :moving (WorksheetMovingRequest)

    with moving parameters.

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22516

def cells_worksheets_post_move_worksheet_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_post_move_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_move_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_move_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_move_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/position".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'moving'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_move_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_rename_worksheet(name, sheet_name, newname, opts = {}) ⇒ CellsCloudResponse

Rename worksheet

Parameters:

  • name
  • sheet_name
  • newname
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



22574
22575
22576
22577
22578
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22574

def cells_worksheets_post_rename_worksheet(name, sheet_name, newname, opts = {})
  warn "Warning: #cells_worksheets_post_rename_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_rename_worksheet_with_http_info(name, sheet_name, newname, opts)
  return data
end

#cells_worksheets_post_rename_worksheet_with_http_info(name, sheet_name, newname, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Rename worksheet

Parameters:

  • name
  • sheet_name
  • newname
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22589

def cells_worksheets_post_rename_worksheet_with_http_info(name, sheet_name, newname, opts = {})
  warn "Warning: #cells_worksheets_post_rename_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_rename_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_rename_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_rename_worksheet"
  end
  # verify the required parameter 'newname' is set
  if @api_client.config.client_side_validation && newname.nil?
    fail ArgumentError, "Missing the required parameter 'newname' when calling CellsApi.cells_worksheets_post_rename_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/rename".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'newname'] = newname
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_rename_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_update_worksheet_property(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Update worksheet property

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :sheet (Worksheet)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



22652
22653
22654
22655
22656
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22652

def cells_worksheets_post_update_worksheet_property(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_post_update_worksheet_property() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_update_worksheet_property_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_post_update_worksheet_property_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update worksheet property

Parameters:

  • name
  • sheet_name
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :sheet (Worksheet)
  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22667

def cells_worksheets_post_update_worksheet_property_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_post_update_worksheet_property_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_update_worksheet_property ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_update_worksheet_property"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_update_worksheet_property"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'sheet'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_update_worksheet_property\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_update_worksheet_zoom(name, sheet_name, value, opts = {}) ⇒ CellsCloudResponse

Parameters:

  • name
  • sheet_name
  • value
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



22725
22726
22727
22728
22729
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22725

def cells_worksheets_post_update_worksheet_zoom(name, sheet_name, value, opts = {})
  warn "Warning: #cells_worksheets_post_update_worksheet_zoom() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_update_worksheet_zoom_with_http_info(name, sheet_name, value, opts)
  return data
end

#cells_worksheets_post_update_worksheet_zoom_with_http_info(name, sheet_name, value, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Returns CellsCloudResponse data, response status code and response headers.

Parameters:

  • name
  • sheet_name
  • value
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22740

def cells_worksheets_post_update_worksheet_zoom_with_http_info(name, sheet_name, value, opts = {})
  warn "Warning: #cells_worksheets_post_update_worksheet_zoom_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_update_worksheet_zoom ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_update_worksheet_zoom"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_update_worksheet_zoom"
  end
  # verify the required parameter 'value' is set
  if @api_client.config.client_side_validation && value.nil?
    fail ArgumentError, "Missing the required parameter 'value' when calling CellsApi.cells_worksheets_post_update_worksheet_zoom"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/zoom".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'value'] = value
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_update_worksheet_zoom\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_worksheet_comment(name, sheet_name, cell_name, opts = {}) ⇒ CellsCloudResponse

Update worksheet’s cell comment.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :comment (Comment)

    Comment object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



22804
22805
22806
22807
22808
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22804

def cells_worksheets_post_worksheet_comment(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_post_worksheet_comment() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_worksheets_post_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Update worksheet&#39;s cell comment.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :comment (Comment)

    Comment object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22820

def cells_worksheets_post_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_post_worksheet_comment_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_worksheet_comment ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_worksheet_comment"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_worksheet_comment"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_worksheets_post_worksheet_comment"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'comment'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_worksheet_comment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_worksheet_range_sort(name, sheet_name, cell_area, opts = {}) ⇒ CellsCloudResponse

Sort worksheet range.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • cell_area

    The range to sort.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :data_sorter (DataSorter)

    with sorting settings.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:



22883
22884
22885
22886
22887
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22883

def cells_worksheets_post_worksheet_range_sort(name, sheet_name, cell_area, opts = {})
  warn "Warning: #cells_worksheets_post_worksheet_range_sort() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_worksheet_range_sort_with_http_info(name, sheet_name, cell_area, opts)
  return data
end

#cells_worksheets_post_worksheet_range_sort_with_http_info(name, sheet_name, cell_area, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Sort worksheet range.

Parameters:

  • name

    The workbook name.

  • sheet_name

    The worksheet name.

  • cell_area

    The range to sort.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :data_sorter (DataSorter)

    with sorting settings.

  • :folder (String)

    The workbook folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22899

def cells_worksheets_post_worksheet_range_sort_with_http_info(name, sheet_name, cell_area, opts = {})
  warn "Warning: #cells_worksheets_post_worksheet_range_sort_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_worksheet_range_sort ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_worksheet_range_sort"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_worksheet_range_sort"
  end
  # verify the required parameter 'cell_area' is set
  if @api_client.config.client_side_validation && cell_area.nil?
    fail ArgumentError, "Missing the required parameter 'cell_area' when calling CellsApi.cells_worksheets_post_worksheet_range_sort"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/sort".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'cellArea'] = cell_area
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'data_sorter'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_worksheet_range_sort\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_worksheet_text_search(name, sheet_name, text, opts = {}) ⇒ TextItemsResponse

Search text.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • text

    Text to search.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



22962
22963
22964
22965
22966
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22962

def cells_worksheets_post_worksheet_text_search(name, sheet_name, text, opts = {})
  warn "Warning: #cells_worksheets_post_worksheet_text_search() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_worksheet_text_search_with_http_info(name, sheet_name, text, opts)
  return data
end

#cells_worksheets_post_worksheet_text_search_with_http_info(name, sheet_name, text, opts = {}) ⇒ Array<(TextItemsResponse, Fixnum, Hash)>

Search text.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • text

    Text to search.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(TextItemsResponse, Fixnum, Hash)>)

    TextItemsResponse data, response status code and response headers



22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 22977

def cells_worksheets_post_worksheet_text_search_with_http_info(name, sheet_name, text, opts = {})
  warn "Warning: #cells_worksheets_post_worksheet_text_search_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_worksheet_text_search ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_worksheet_text_search"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_worksheet_text_search"
  end
  # verify the required parameter 'text' is set
  if @api_client.config.client_side_validation && text.nil?
    fail ArgumentError, "Missing the required parameter 'text' when calling CellsApi.cells_worksheets_post_worksheet_text_search"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/findText".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'text'] = text
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'TextItemsResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_worksheet_text_search\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_post_worsheet_text_replace(name, sheet_name, old_value, new_value, opts = {}) ⇒ WorksheetReplaceResponse

Replace text.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • old_value

    The old text to replace.

  • new_value

    The new text to replace by.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:



23041
23042
23043
23044
23045
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23041

def cells_worksheets_post_worsheet_text_replace(name, sheet_name, old_value, new_value, opts = {})
  warn "Warning: #cells_worksheets_post_worsheet_text_replace() is deprecated."
  data, _status_code, _headers = cells_worksheets_post_worsheet_text_replace_with_http_info(name, sheet_name, old_value, new_value, opts)
  return data
end

#cells_worksheets_post_worsheet_text_replace_with_http_info(name, sheet_name, old_value, new_value, opts = {}) ⇒ Array<(WorksheetReplaceResponse, Fixnum, Hash)>

Replace text.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • old_value

    The old text to replace.

  • new_value

    The new text to replace by.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    Document&#39;s folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(WorksheetReplaceResponse, Fixnum, Hash)>)

    WorksheetReplaceResponse data, response status code and response headers



23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23057

def cells_worksheets_post_worsheet_text_replace_with_http_info(name, sheet_name, old_value, new_value, opts = {})
  warn "Warning: #cells_worksheets_post_worsheet_text_replace_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_post_worsheet_text_replace ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_post_worsheet_text_replace"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_post_worsheet_text_replace"
  end
  # verify the required parameter 'old_value' is set
  if @api_client.config.client_side_validation && old_value.nil?
    fail ArgumentError, "Missing the required parameter 'old_value' when calling CellsApi.cells_worksheets_post_worsheet_text_replace"
  end
  # verify the required parameter 'new_value' is set
  if @api_client.config.client_side_validation && new_value.nil?
    fail ArgumentError, "Missing the required parameter 'new_value' when calling CellsApi.cells_worksheets_post_worsheet_text_replace"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/replaceText".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'oldValue'] = old_value
  query_params[:'newValue'] = new_value
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'WorksheetReplaceResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_post_worsheet_text_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_put_add_new_worksheet(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Add new worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The new sheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :position (Integer)

    The new sheet position.

  • :sheettype (String)

    The new sheet type.

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



23126
23127
23128
23129
23130
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23126

def cells_worksheets_put_add_new_worksheet(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_put_add_new_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Add new worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The new sheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :position (Integer)

    The new sheet position.

  • :sheettype (String)

    The new sheet type.

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23142

def cells_worksheets_put_add_new_worksheet_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_put_add_new_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_add_new_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_put_add_new_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_put_add_new_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'position'] = opts[:'position'] if !opts[:'position'].nil?
  query_params[:'sheettype'] = opts[:'sheettype'] if !opts[:'sheettype'].nil?
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_add_new_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_put_change_visibility_worksheet(name, sheet_name, is_visible, opts = {}) ⇒ CellsCloudResponse

Change worksheet visibility.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • is_visible

    New worksheet visibility value.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



23202
23203
23204
23205
23206
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23202

def cells_worksheets_put_change_visibility_worksheet(name, sheet_name, is_visible, opts = {})
  warn "Warning: #cells_worksheets_put_change_visibility_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts)
  return data
end

#cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Change worksheet visibility.

Parameters:

  • name

    Document name.

  • sheet_name

    Worksheet name.

  • is_visible

    New worksheet visibility value.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23217

def cells_worksheets_put_change_visibility_worksheet_with_http_info(name, sheet_name, is_visible, opts = {})
  warn "Warning: #cells_worksheets_put_change_visibility_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_change_visibility_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_put_change_visibility_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_put_change_visibility_worksheet"
  end
  # verify the required parameter 'is_visible' is set
  if @api_client.config.client_side_validation && is_visible.nil?
    fail ArgumentError, "Missing the required parameter 'is_visible' when calling CellsApi.cells_worksheets_put_change_visibility_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/visible".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'isVisible'] = is_visible
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_change_visibility_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_put_protect_worksheet(name, sheet_name, opts = {}) ⇒ CellsCloudResponse

Protect worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protect_parameter (ProtectSheetParameter)

    with protection settings.

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:



23280
23281
23282
23283
23284
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23280

def cells_worksheets_put_protect_worksheet(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_put_protect_worksheet() is deprecated."
  data, _status_code, _headers = cells_worksheets_put_protect_worksheet_with_http_info(name, sheet_name, opts)
  return data
end

#cells_worksheets_put_protect_worksheet_with_http_info(name, sheet_name, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Protect worksheet.

Parameters:

  • name

    Document name.

  • sheet_name

    The worksheet name.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :protect_parameter (ProtectSheetParameter)

    with protection settings.

  • :folder (String)

    Document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23295

def cells_worksheets_put_protect_worksheet_with_http_info(name, sheet_name, opts = {})
  warn "Warning: #cells_worksheets_put_protect_worksheet_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_protect_worksheet ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_put_protect_worksheet"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_put_protect_worksheet"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/protection".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'protect_parameter'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_protect_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_put_worksheet_background(name, sheet_name, png, opts = {}) ⇒ CellsCloudResponse

Set worksheet background image.

Parameters:

  • name
  • sheet_name
  • png
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



23353
23354
23355
23356
23357
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23353

def cells_worksheets_put_worksheet_background(name, sheet_name, png, opts = {})
  warn "Warning: #cells_worksheets_put_worksheet_background() is deprecated."
  data, _status_code, _headers = cells_worksheets_put_worksheet_background_with_http_info(name, sheet_name, png, opts)
  return data
end

#cells_worksheets_put_worksheet_background_with_http_info(name, sheet_name, png, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set worksheet background image.

Parameters:

  • name
  • sheet_name
  • png
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23368

def cells_worksheets_put_worksheet_background_with_http_info(name, sheet_name, png, opts = {})
  warn "Warning: #cells_worksheets_put_worksheet_background_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_worksheet_background ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_put_worksheet_background"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_put_worksheet_background"
  end
  # verify the required parameter 'png' is set
  if @api_client.config.client_side_validation && png.nil?
    fail ArgumentError, "Missing the required parameter 'png' when calling CellsApi.cells_worksheets_put_worksheet_background"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/background".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(png)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_worksheet_background\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_put_worksheet_comment(name, sheet_name, cell_name, opts = {}) ⇒ CommentResponse

Add worksheet’s cell comment.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :comment (Comment)

    Comment object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:



23431
23432
23433
23434
23435
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23431

def cells_worksheets_put_worksheet_comment(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_put_worksheet_comment() is deprecated."
  data, _status_code, _headers = cells_worksheets_put_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts)
  return data
end

#cells_worksheets_put_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {}) ⇒ Array<(CommentResponse, Fixnum, Hash)>

Add worksheet&#39;s cell comment.

Parameters:

  • name

    The document name.

  • sheet_name

    The worksheet name.

  • cell_name

    The cell name

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :comment (Comment)

    Comment object

  • :folder (String)

    The document folder.

  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CommentResponse, Fixnum, Hash)>)

    CommentResponse data, response status code and response headers



23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23447

def cells_worksheets_put_worksheet_comment_with_http_info(name, sheet_name, cell_name, opts = {})
  warn "Warning: #cells_worksheets_put_worksheet_comment_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_worksheet_comment ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_put_worksheet_comment"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_put_worksheet_comment"
  end
  # verify the required parameter 'cell_name' is set
  if @api_client.config.client_side_validation && cell_name.nil?
    fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.cells_worksheets_put_worksheet_comment"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/comments/{cellName}".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s).sub('{' + 'cellName' + '}', cell_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(opts[:'comment'])
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CommentResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_worksheet_comment\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#cells_worksheets_put_worksheet_freeze_panes(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {}) ⇒ CellsCloudResponse

Set freeze panes

Parameters:

  • name
  • sheet_name
  • row
  • column
  • freezed_rows
  • freezed_columns
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:



23512
23513
23514
23515
23516
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23512

def cells_worksheets_put_worksheet_freeze_panes(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {})
  warn "Warning: #cells_worksheets_put_worksheet_freeze_panes() is deprecated."
  data, _status_code, _headers = cells_worksheets_put_worksheet_freeze_panes_with_http_info(name, sheet_name, row, column, freezed_rows, freezed_columns, opts)
  return data
end

#cells_worksheets_put_worksheet_freeze_panes_with_http_info(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {}) ⇒ Array<(CellsCloudResponse, Fixnum, Hash)>

Set freeze panes

Parameters:

  • name
  • sheet_name
  • row
  • column
  • freezed_rows
  • freezed_columns
  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :folder (String)
  • :storage_name (String)

    storage name.

Returns:

  • (Array<(CellsCloudResponse, Fixnum, Hash)>)

    CellsCloudResponse data, response status code and response headers



23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23530

def cells_worksheets_put_worksheet_freeze_panes_with_http_info(name, sheet_name, row, column, freezed_rows, freezed_columns, opts = {})
  warn "Warning: #cells_worksheets_put_worksheet_freeze_panes_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.cells_worksheets_put_worksheet_freeze_panes ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'name' is set
  if @api_client.config.client_side_validation && name.nil?
    fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_worksheets_put_worksheet_freeze_panes"
  end
  # verify the required parameter 'sheet_name' is set
  if @api_client.config.client_side_validation && sheet_name.nil?
    fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_worksheets_put_worksheet_freeze_panes"
  end
  # verify the required parameter 'row' is set
  if @api_client.config.client_side_validation && row.nil?
    fail ArgumentError, "Missing the required parameter 'row' when calling CellsApi.cells_worksheets_put_worksheet_freeze_panes"
  end
  # verify the required parameter 'column' is set
  if @api_client.config.client_side_validation && column.nil?
    fail ArgumentError, "Missing the required parameter 'column' when calling CellsApi.cells_worksheets_put_worksheet_freeze_panes"
  end
  # verify the required parameter 'freezed_rows' is set
  if @api_client.config.client_side_validation && freezed_rows.nil?
    fail ArgumentError, "Missing the required parameter 'freezed_rows' when calling CellsApi.cells_worksheets_put_worksheet_freeze_panes"
  end
  # verify the required parameter 'freezed_columns' is set
  if @api_client.config.client_side_validation && freezed_columns.nil?
    fail ArgumentError, "Missing the required parameter 'freezed_columns' when calling CellsApi.cells_worksheets_put_worksheet_freeze_panes"
  end
  # resource path
  local_var_path = "/cells/{name}/worksheets/{sheetName}/freezepanes".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)

  # query parameters
  query_params = {}
  query_params[:'row'] = row
  query_params[:'column'] = column
  query_params[:'freezedRows'] = freezed_rows
  query_params[:'freezedColumns'] = freezed_columns
  query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'CellsCloudResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#cells_worksheets_put_worksheet_freeze_panes\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#copy_file(copy_file_request, opts = {}) ⇒ Object



2468
2469
2470
2471
2472
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2468

def copy_file( copy_file_request, opts = {})

   data, _status_code, _headers = copy_file_request.create_http_request(@api_client,opts )
   return data
end

#copy_file_(src_path, dest_path, opts = {}) ⇒ nil

Copy file

Parameters:

  • src_path

    Source file path e.g. &#39;/folder/file.ext&#39;

  • dest_path

    Destination file path

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

  • :version_id (String)

    File version ID to copy

Returns:

  • (nil)


23608
23609
23610
23611
23612
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23608

def copy_file_(src_path, dest_path, opts = {})
  warn "Warning: #copy_file() is deprecated."
  copy_file_with_http_info(src_path, dest_path, opts)
  return nil
end

#copy_file_with_http_info(src_path, dest_path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Copy file

Parameters:

  • src_path

    Source file path e.g. &#39;/folder/file.ext&#39;

  • dest_path

    Destination file path

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

  • :version_id (String)

    File version ID to copy

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23623

def copy_file_with_http_info(src_path, dest_path, opts = {})
  warn "Warning: #copy_file_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.copy_file ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'src_path' is set
  if @api_client.config.client_side_validation && src_path.nil?
    fail ArgumentError, "Missing the required parameter 'src_path' when calling CellsApi.copy_file"
  end
  # verify the required parameter 'dest_path' is set
  if @api_client.config.client_side_validation && dest_path.nil?
    fail ArgumentError, "Missing the required parameter 'dest_path' when calling CellsApi.copy_file"
  end
  # resource path
  local_var_path = "/cells/storage/file/copy/{srcPath}".sub('{' + 'srcPath' + '}', src_path.to_s)

  # query parameters
  query_params = {}
  query_params[:'destPath'] = dest_path
  query_params[:'srcStorageName'] = opts[:'src_storage_name'] if !opts[:'src_storage_name'].nil?
  query_params[:'destStorageName'] = opts[:'dest_storage_name'] if !opts[:'dest_storage_name'].nil?
  query_params[:'versionId'] = opts[:'version_id'] if !opts[:'version_id'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#copy_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#copy_folder(copy_folder_request, opts = {}) ⇒ Object



2503
2504
2505
2506
2507
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2503

def copy_folder( copy_folder_request, opts = {})

   data, _status_code, _headers = copy_folder_request.create_http_request(@api_client,opts )
   return data
end

#copy_folder_(src_path, dest_path, opts = {}) ⇒ nil

Copy folder

Parameters:

  • src_path

    Source folder path e.g. &#39;/src&#39;

  • dest_path

    Destination folder path e.g. &#39;/dst&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

Returns:

  • (nil)


23681
23682
23683
23684
23685
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23681

def copy_folder_(src_path, dest_path, opts = {})
  warn "Warning: #copy_folder() is deprecated."
  copy_folder_with_http_info(src_path, dest_path, opts)
  return nil
end

#copy_folder_with_http_info(src_path, dest_path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Copy folder

Parameters:

  • src_path

    Source folder path e.g. &#39;/src&#39;

  • dest_path

    Destination folder path e.g. &#39;/dst&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23695

def copy_folder_with_http_info(src_path, dest_path, opts = {})
  warn "Warning: #copy_folder_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.copy_folder ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'src_path' is set
  if @api_client.config.client_side_validation && src_path.nil?
    fail ArgumentError, "Missing the required parameter 'src_path' when calling CellsApi.copy_folder"
  end
  # verify the required parameter 'dest_path' is set
  if @api_client.config.client_side_validation && dest_path.nil?
    fail ArgumentError, "Missing the required parameter 'dest_path' when calling CellsApi.copy_folder"
  end
  # resource path
  local_var_path = "/cells/storage/folder/copy/{srcPath}".sub('{' + 'srcPath' + '}', src_path.to_s)

  # query parameters
  query_params = {}
  query_params[:'destPath'] = dest_path
  query_params[:'srcStorageName'] = opts[:'src_storage_name'] if !opts[:'src_storage_name'].nil?
  query_params[:'destStorageName'] = opts[:'dest_storage_name'] if !opts[:'dest_storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#copy_folder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#create_folder(create_folder_request, opts = {}) ⇒ Object



2496
2497
2498
2499
2500
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2496

def create_folder( create_folder_request, opts = {})

   data, _status_code, _headers = create_folder_request.create_http_request(@api_client,opts )
   return data
end

#create_folder_(path, opts = {}) ⇒ nil

Create the folder

Parameters:

  • path

    Folder path to create e.g. &#39;folder_1/folder_2/&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:

  • (nil)


23750
23751
23752
23753
23754
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23750

def create_folder_(path, opts = {})
  warn "Warning: #create_folder() is deprecated."
  create_folder_with_http_info(path, opts)
  return nil
end

#create_folder_with_http_info(path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Create the folder

Parameters:

  • path

    Folder path to create e.g. &#39;folder_1/folder_2/&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23762

def create_folder_with_http_info(path, opts = {})
  warn "Warning: #create_folder_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.create_folder ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.create_folder"
  end
  # resource path
  local_var_path = "/cells/storage/folder/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#create_folder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#delete_decrypt_workbook(delete_decrypt_workbook_request, opts = {}) ⇒ Object

Decrypts workbook.



1841
1842
1843
1844
1845
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1841

def delete_decrypt_workbook( delete_decrypt_workbook_request, opts = {})

   data, _status_code, _headers = delete_decrypt_workbook_request.create_http_request(@api_client,opts )
   return data
end

#delete_document_properties(delete_document_properties_request, opts = {}) ⇒ Object

Delete all custom document properties and clean built-in ones.



1600
1601
1602
1603
1604
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1600

def delete_document_properties( delete_document_properties_request, opts = {})

   data, _status_code, _headers = delete_document_properties_request.create_http_request(@api_client,opts )
   return data
end

#delete_document_property(delete_document_property_request, opts = {}) ⇒ Object

Deletes a document property.



1592
1593
1594
1595
1596
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1592

def delete_document_property( delete_document_property_request, opts = {})

   data, _status_code, _headers = delete_document_property_request.create_http_request(@api_client,opts )
   return data
end

#delete_document_un_protect_from_changes(delete_document_un_protect_from_changes_request, opts = {}) ⇒ Object

Unprotects document from changes.



1945
1946
1947
1948
1949
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1945

def delete_document_un_protect_from_changes( delete_document_un_protect_from_changes_request, opts = {})

   data, _status_code, _headers = delete_document_un_protect_from_changes_request.create_http_request(@api_client,opts )
   return data
end

#delete_file(delete_file_request, opts = {}) ⇒ Object



2482
2483
2484
2485
2486
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2482

def delete_file( delete_file_request, opts = {})

   data, _status_code, _headers = delete_file_request.create_http_request(@api_client,opts )
   return data
end

#delete_file_(path, opts = {}) ⇒ nil

Delete file

Parameters:

  • path

    File path e.g. &#39;/folder/file.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :version_id (String)

    File version ID to delete

Returns:

  • (nil)


23812
23813
23814
23815
23816
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23812

def delete_file_(path, opts = {})
  warn "Warning: #delete_file() is deprecated."
  delete_file_with_http_info(path, opts)
  return nil
end

#delete_file_with_http_info(path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Delete file

Parameters:

  • path

    File path e.g. &#39;/folder/file.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :version_id (String)

    File version ID to delete

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23825

def delete_file_with_http_info(path, opts = {})
  warn "Warning: #delete_file_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.delete_file ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.delete_file"
  end
  # resource path
  local_var_path = "/cells/storage/file/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'versionId'] = opts[:'version_id'] if !opts[:'version_id'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#delete_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#delete_folder(delete_folder_request, opts = {}) ⇒ Object



2517
2518
2519
2520
2521
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2517

def delete_folder( delete_folder_request, opts = {})

   data, _status_code, _headers = delete_folder_request.create_http_request(@api_client,opts )
   return data
end

#delete_folder_(path, opts = {}) ⇒ nil

Delete folder

Parameters:

  • path

    Folder path e.g. &#39;/folder&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :recursive (BOOLEAN)

    Enable to delete folders, subfolders and files (default to false)

Returns:

  • (nil)


23876
23877
23878
23879
23880
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23876

def delete_folder_(path, opts = {})
  warn "Warning: #delete_folder() is deprecated."
  delete_folder_with_http_info(path, opts)
  return nil
end

#delete_folder_with_http_info(path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Delete folder

Parameters:

  • path

    Folder path e.g. &#39;/folder&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :recursive (BOOLEAN)

    Enable to delete folders, subfolders and files

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23889

def delete_folder_with_http_info(path, opts = {})
  warn "Warning: #delete_folder_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.delete_folder ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.delete_folder"
  end
  # resource path
  local_var_path = "/cells/storage/folder/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'recursive'] = opts[:'recursive'] if !opts[:'recursive'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#delete_folder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Clears header footer in worksheet.



1314
1315
1316
1317
1318
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1314

def delete_header_footer( delete_header_footer_request, opts = {})

   data, _status_code, _headers = delete_header_footer_request.create_http_request(@api_client,opts )
   return data
end

#delete_horizontal_page_break(delete_horizontal_page_break_request, opts = {}) ⇒ Object

Delete a horizontal page breaks in worksheet.



1290
1291
1292
1293
1294
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1290

def delete_horizontal_page_break( delete_horizontal_page_break_request, opts = {})

   data, _status_code, _headers = delete_horizontal_page_break_request.create_http_request(@api_client,opts )
   return data
end

#delete_horizontal_page_breaks(delete_horizontal_page_breaks_request, opts = {}) ⇒ Object

Delete horizontal page breaks in worksheet.



1274
1275
1276
1277
1278
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1274

def delete_horizontal_page_breaks( delete_horizontal_page_breaks_request, opts = {})

   data, _status_code, _headers = delete_horizontal_page_breaks_request.create_http_request(@api_client,opts )
   return data
end

#delete_metadata(delete_metadata_request, opts = {}) ⇒ Object



1074
1075
1076
1077
1078
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1074

def ( , opts = {})

   data, _status_code, _headers = .create_http_request(@api_client,opts )
   return data
end

#delete_pivot_table_field(delete_pivot_table_field_request, opts = {}) ⇒ Object

Deletes pivot field in pivot table.



1544
1545
1546
1547
1548
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1544

def delete_pivot_table_field( delete_pivot_table_field_request, opts = {})

   data, _status_code, _headers = delete_pivot_table_field_request.create_http_request(@api_client,opts )
   return data
end

#delete_un_protect_workbook(delete_un_protect_workbook_request, opts = {}) ⇒ Object

Unprotects workbook.



1857
1858
1859
1860
1861
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1857

def delete_un_protect_workbook( delete_un_protect_workbook_request, opts = {})

   data, _status_code, _headers = delete_un_protect_workbook_request.create_http_request(@api_client,opts )
   return data
end

#delete_unprotect_worksheet(delete_unprotect_worksheet_request, opts = {}) ⇒ Object

Unprotects worksheet.



2158
2159
2160
2161
2162
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2158

def delete_unprotect_worksheet( delete_unprotect_worksheet_request, opts = {})

   data, _status_code, _headers = delete_unprotect_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#delete_vertical_page_break(delete_vertical_page_break_request, opts = {}) ⇒ Object

Delete a vertical page breaks in worksheet.



1282
1283
1284
1285
1286
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1282

def delete_vertical_page_break( delete_vertical_page_break_request, opts = {})

   data, _status_code, _headers = delete_vertical_page_break_request.create_http_request(@api_client,opts )
   return data
end

#delete_vertical_page_breaks(delete_vertical_page_breaks_request, opts = {}) ⇒ Object

Delete vertical page breaks in worksheet.



1266
1267
1268
1269
1270
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1266

def delete_vertical_page_breaks( delete_vertical_page_breaks_request, opts = {})

   data, _status_code, _headers = delete_vertical_page_breaks_request.create_http_request(@api_client,opts )
   return data
end

#delete_workbook_background(delete_workbook_background_request, opts = {}) ⇒ Object

Delete workbook background.



2056
2057
2058
2059
2060
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2056

def delete_workbook_background( delete_workbook_background_request, opts = {})

   data, _status_code, _headers = delete_workbook_background_request.create_http_request(@api_client,opts )
   return data
end

#delete_workbook_name(delete_workbook_name_request, opts = {}) ⇒ Object

Gets workbook’s name description.



1929
1930
1931
1932
1933
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1929

def delete_workbook_name( delete_workbook_name_request, opts = {})

   data, _status_code, _headers = delete_workbook_name_request.create_http_request(@api_client,opts )
   return data
end

#delete_workbook_names(delete_workbook_names_request, opts = {}) ⇒ Object

Delete workbook’s names.



1921
1922
1923
1924
1925
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1921

def delete_workbook_names( delete_workbook_names_request, opts = {})

   data, _status_code, _headers = delete_workbook_names_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet(delete_worksheet_request, opts = {}) ⇒ Object

Deletes a worksheet in workbook.



2127
2128
2129
2130
2131
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2127

def delete_worksheet( delete_worksheet_request, opts = {})

   data, _status_code, _headers = delete_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_background(delete_worksheet_background_request, opts = {}) ⇒ Object

Delete background image in worksheet.



2309
2310
2311
2312
2313
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2309

def delete_worksheet_background( delete_worksheet_background_request, opts = {})

   data, _status_code, _headers = delete_worksheet_background_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_cells_range(delete_worksheet_cells_range_request, opts = {}) ⇒ Object

Deletes a range of cells and shift cells according to the shift option.



1699
1700
1701
1702
1703
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1699

def delete_worksheet_cells_range( delete_worksheet_cells_range_request, opts = {})

   data, _status_code, _headers = delete_worksheet_cells_range_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_chart_legend(delete_worksheet_chart_legend_request, opts = {}) ⇒ Object

Hides chart legend in worksheet.



618
619
620
621
622
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 618

def delete_worksheet_chart_legend( delete_worksheet_chart_legend_request, opts = {})

   data, _status_code, _headers = delete_worksheet_chart_legend_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_chart_title(delete_worksheet_chart_title_request, opts = {}) ⇒ Object

Hides chart title in worksheet.



658
659
660
661
662
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 658

def delete_worksheet_chart_title( delete_worksheet_chart_title_request, opts = {})

   data, _status_code, _headers = delete_worksheet_chart_title_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_clear_charts(delete_worksheet_clear_charts_request, opts = {}) ⇒ Object

Clear the charts in worksheets.



626
627
628
629
630
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 626

def delete_worksheet_clear_charts( delete_worksheet_clear_charts_request, opts = {})

   data, _status_code, _headers = delete_worksheet_clear_charts_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_columns(delete_worksheet_columns_request, opts = {}) ⇒ Object

Delete worksheet columns.



356
357
358
359
360
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 356

def delete_worksheet_columns( delete_worksheet_columns_request, opts = {})

   data, _status_code, _headers = delete_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_comment(delete_worksheet_comment_request, opts = {}) ⇒ Object

Deletes cell comment in worksheet.



2206
2207
2208
2209
2210
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2206

def delete_worksheet_comment( delete_worksheet_comment_request, opts = {})

   data, _status_code, _headers = delete_worksheet_comment_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_comments(delete_worksheet_comments_request, opts = {}) ⇒ Object

Delete all comments in worksheet.



2214
2215
2216
2217
2218
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2214

def delete_worksheet_comments( delete_worksheet_comments_request, opts = {})

   data, _status_code, _headers = delete_worksheet_comments_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_conditional_formatting(delete_worksheet_conditional_formatting_request, opts = {}) ⇒ Object

Remove a conditional formatting.



792
793
794
795
796
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 792

def delete_worksheet_conditional_formatting( delete_worksheet_conditional_formatting_request, opts = {})

   data, _status_code, _headers = delete_worksheet_conditional_formatting_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_conditional_formatting_area(delete_worksheet_conditional_formatting_area_request, opts = {}) ⇒ Object

Removes cell area from conditional formatting.



800
801
802
803
804
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 800

def delete_worksheet_conditional_formatting_area( delete_worksheet_conditional_formatting_area_request, opts = {})

   data, _status_code, _headers = delete_worksheet_conditional_formatting_area_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_conditional_formattings(delete_worksheet_conditional_formattings_request, opts = {}) ⇒ Object

Clear all condition formattings.



784
785
786
787
788
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 784

def delete_worksheet_conditional_formattings( delete_worksheet_conditional_formattings_request, opts = {})

   data, _status_code, _headers = delete_worksheet_conditional_formattings_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_date_filter(delete_worksheet_date_filter_request, opts = {}) ⇒ Object

Removes a date filter in worksheet.



130
131
132
133
134
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 130

def delete_worksheet_date_filter( delete_worksheet_date_filter_request, opts = {})

   data, _status_code, _headers = delete_worksheet_date_filter_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_delete_chart(delete_worksheet_delete_chart_request, opts = {}) ⇒ Object

Deletes a chart by index in worksheet.



578
579
580
581
582
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 578

def delete_worksheet_delete_chart( delete_worksheet_delete_chart_request, opts = {})

   data, _status_code, _headers = delete_worksheet_delete_chart_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_filter(delete_worksheet_filter_request, opts = {}) ⇒ Object

Deletes a filter for a filter column in worksheet.



139
140
141
142
143
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 139

def delete_worksheet_filter( delete_worksheet_filter_request, opts = {})

   data, _status_code, _headers = delete_worksheet_filter_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_freeze_panes(delete_worksheet_freeze_panes_request, opts = {}) ⇒ Object

Unfreezes panes in worksheet.



2325
2326
2327
2328
2329
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2325

def delete_worksheet_freeze_panes( delete_worksheet_freeze_panes_request, opts = {})

   data, _status_code, _headers = delete_worksheet_freeze_panes_request.create_http_request(@api_client,opts )
   return data
end

Deletes hyperlink by index in worksheet.



911
912
913
914
915
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 911

def delete_worksheet_hyperlink( delete_worksheet_hyperlink_request, opts = {})

   data, _status_code, _headers = delete_worksheet_hyperlink_request.create_http_request(@api_client,opts )
   return data
end

Delete all hyperlinks in worksheet.



935
936
937
938
939
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 935

def delete_worksheet_hyperlinks( delete_worksheet_hyperlinks_request, opts = {})

   data, _status_code, _headers = delete_worksheet_hyperlinks_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_list_object(delete_worksheet_list_object_request, opts = {}) ⇒ Object

Deletes list object by index in worksheet.



1114
1115
1116
1117
1118
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1114

def delete_worksheet_list_object( delete_worksheet_list_object_request, opts = {})

   data, _status_code, _headers = delete_worksheet_list_object_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_list_objects(delete_worksheet_list_objects_request, opts = {}) ⇒ Object

Delete worksheet list objects in worksheet.



1106
1107
1108
1109
1110
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1106

def delete_worksheet_list_objects( delete_worksheet_list_objects_request, opts = {})

   data, _status_code, _headers = delete_worksheet_list_objects_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_ole_object(delete_worksheet_ole_object_request, opts = {}) ⇒ Object

Deletes an OLE object in worksheet.



1194
1195
1196
1197
1198
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1194

def delete_worksheet_ole_object( delete_worksheet_ole_object_request, opts = {})

   data, _status_code, _headers = delete_worksheet_ole_object_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_ole_objects(delete_worksheet_ole_objects_request, opts = {}) ⇒ Object

Delete all OLE objects in worksheet.



1186
1187
1188
1189
1190
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1186

def delete_worksheet_ole_objects( delete_worksheet_ole_objects_request, opts = {})

   data, _status_code, _headers = delete_worksheet_ole_objects_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_picture(delete_worksheet_picture_request, opts = {}) ⇒ Object

Deletes a picture object in worksheet



1386
1387
1388
1389
1390
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1386

def delete_worksheet_picture( delete_worksheet_picture_request, opts = {})

   data, _status_code, _headers = delete_worksheet_picture_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_pictures(delete_worksheet_pictures_request, opts = {}) ⇒ Object

Delete all pictures in worksheet.



1394
1395
1396
1397
1398
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1394

def delete_worksheet_pictures( delete_worksheet_pictures_request, opts = {})

   data, _status_code, _headers = delete_worksheet_pictures_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_pivot_table(delete_worksheet_pivot_table_request, opts = {}) ⇒ Object

Deletes pivot table by index in worksheet.



1536
1537
1538
1539
1540
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1536

def delete_worksheet_pivot_table( delete_worksheet_pivot_table_request, opts = {})

   data, _status_code, _headers = delete_worksheet_pivot_table_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_pivot_table_filter(delete_worksheet_pivot_table_filter_request, opts = {}) ⇒ Object

Deletes a pivot filter in piovt table.



1560
1561
1562
1563
1564
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1560

def delete_worksheet_pivot_table_filter( delete_worksheet_pivot_table_filter_request, opts = {})

   data, _status_code, _headers = delete_worksheet_pivot_table_filter_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_pivot_table_filters(delete_worksheet_pivot_table_filters_request, opts = {}) ⇒ Object

Delete all pivot filters in piovt table.



1552
1553
1554
1555
1556
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1552

def delete_worksheet_pivot_table_filters( delete_worksheet_pivot_table_filters_request, opts = {})

   data, _status_code, _headers = delete_worksheet_pivot_table_filters_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_pivot_tables(delete_worksheet_pivot_tables_request, opts = {}) ⇒ Object

Delete pivot tables in worksheet.



1528
1529
1530
1531
1532
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1528

def delete_worksheet_pivot_tables( delete_worksheet_pivot_tables_request, opts = {})

   data, _status_code, _headers = delete_worksheet_pivot_tables_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_row(delete_worksheet_row_request, opts = {}) ⇒ Object

Deletes row in worksheet.



427
428
429
430
431
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 427

def delete_worksheet_row( delete_worksheet_row_request, opts = {})

   data, _status_code, _headers = delete_worksheet_row_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_rows(delete_worksheet_rows_request, opts = {}) ⇒ Object



434
435
436
437
438
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 434

def delete_worksheet_rows( delete_worksheet_rows_request, opts = {})

   data, _status_code, _headers = delete_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_shape(delete_worksheet_shape_request, opts = {}) ⇒ Object

Deletes a shape in worksheet.



1739
1740
1741
1742
1743
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1739

def delete_worksheet_shape( delete_worksheet_shape_request, opts = {})

   data, _status_code, _headers = delete_worksheet_shape_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_shapes(delete_worksheet_shapes_request, opts = {}) ⇒ Object

delete all shapes in worksheet.



1731
1732
1733
1734
1735
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1731

def delete_worksheet_shapes( delete_worksheet_shapes_request, opts = {})

   data, _status_code, _headers = delete_worksheet_shapes_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_sparkline_group(delete_worksheet_sparkline_group_request, opts = {}) ⇒ Object

Delete worksheet sparkline group description.



1793
1794
1795
1796
1797
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1793

def delete_worksheet_sparkline_group( delete_worksheet_sparkline_group_request, opts = {})

   data, _status_code, _headers = delete_worksheet_sparkline_group_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_sparkline_groups(delete_worksheet_sparkline_groups_request, opts = {}) ⇒ Object

Delete worksheet sparkline groups description.



1785
1786
1787
1788
1789
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1785

def delete_worksheet_sparkline_groups( delete_worksheet_sparkline_groups_request, opts = {})

   data, _status_code, _headers = delete_worksheet_sparkline_groups_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_validation(delete_worksheet_validation_request, opts = {}) ⇒ Object

Deletes a validation by index in worksheet.



2420
2421
2422
2423
2424
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2420

def delete_worksheet_validation( delete_worksheet_validation_request, opts = {})

   data, _status_code, _headers = delete_worksheet_validation_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheet_validations(delete_worksheet_validations_request, opts = {}) ⇒ Object

Delete all validations in worksheet.



2428
2429
2430
2431
2432
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2428

def delete_worksheet_validations( delete_worksheet_validations_request, opts = {})

   data, _status_code, _headers = delete_worksheet_validations_request.create_http_request(@api_client,opts )
   return data
end

#delete_worksheets(delete_worksheets_request, opts = {}) ⇒ Object



2134
2135
2136
2137
2138
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2134

def delete_worksheets( delete_worksheets_request, opts = {})

   data, _status_code, _headers = delete_worksheets_request.create_http_request(@api_client,opts )
   return data
end

#download_file(download_file_request, opts = {}) ⇒ Object



2454
2455
2456
2457
2458
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2454

def download_file( download_file_request, opts = {})

   data, _status_code, _headers = download_file_request.create_http_request(@api_client,opts )
   return data
end

#download_file_(path, opts = {}) ⇒ File

Download file

Parameters:

  • path

    File path e.g. &#39;/folder/file.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :version_id (String)

    File version ID to download

Returns:

  • (File)


23940
23941
23942
23943
23944
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23940

def download_file_(path, opts = {})
  warn "Warning: #download_file() is deprecated."
  data, _status_code, _headers = download_file_with_http_info(path, opts)
  return data
end

#download_file_with_http_info(path, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Download file

Parameters:

  • path

    File path e.g. &#39;/folder/file.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :version_id (String)

    File version ID to download

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 23953

def download_file_with_http_info(path, opts = {})
  warn "Warning: #download_file_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.download_file ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.download_file"
  end
  # resource path
  local_var_path = "/cells/storage/file/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'versionId'] = opts[:'version_id'] if !opts[:'version_id'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#download_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_cell_html_string(get_cell_html_string_request, opts = {}) ⇒ Object

Gets the html string which contains data and some formats in this cell.



293
294
295
296
297
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 293

def get_cell_html_string( get_cell_html_string_request, opts = {})

   data, _status_code, _headers = get_cell_html_string_request.create_http_request(@api_client,opts )
   return data
end

#get_cells_cloud_service_status(get_cells_cloud_service_status_request, opts = {}) ⇒ Object

Aspose.Cells Cloud service health status check(old).



522
523
524
525
526
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 522

def get_cells_cloud_service_status( get_cells_cloud_service_status_request, opts = {})

   data, _status_code, _headers = get_cells_cloud_service_status_request.create_http_request(@api_client,opts )
   return data
end

#get_cells_cloud_services_health_check(get_cells_cloud_services_health_check_request, opts = {}) ⇒ Object

Gets cells description in some format.



514
515
516
517
518
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 514

def get_cells_cloud_services_health_check( get_cells_cloud_services_health_check_request, opts = {})

   data, _status_code, _headers = get_cells_cloud_services_health_check_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_area(get_chart_area_request, opts = {}) ⇒ Object

Gets chart area description in worksheet.



530
531
532
533
534
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 530

def get_chart_area( get_chart_area_request, opts = {})

   data, _status_code, _headers = get_chart_area_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_area_border(get_chart_area_border_request, opts = {}) ⇒ Object

Gets chart area border description.



546
547
548
549
550
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 546

def get_chart_area_border( get_chart_area_border_request, opts = {})

   data, _status_code, _headers = get_chart_area_border_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_area_fill_format(get_chart_area_fill_format_request, opts = {}) ⇒ Object

Gets chart area fill format description in worksheet.



538
539
540
541
542
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 538

def get_chart_area_fill_format( get_chart_area_fill_format_request, opts = {})

   data, _status_code, _headers = get_chart_area_fill_format_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_category_axis(get_chart_category_axis_request, opts = {}) ⇒ Object



672
673
674
675
676
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 672

def get_chart_category_axis( get_chart_category_axis_request, opts = {})

   data, _status_code, _headers = get_chart_category_axis_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_second_category_axis(get_chart_second_category_axis_request, opts = {}) ⇒ Object



686
687
688
689
690
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 686

def get_chart_second_category_axis( get_chart_second_category_axis_request, opts = {})

   data, _status_code, _headers = get_chart_second_category_axis_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_second_value_axis(get_chart_second_value_axis_request, opts = {}) ⇒ Object



693
694
695
696
697
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 693

def get_chart_second_value_axis( get_chart_second_value_axis_request, opts = {})

   data, _status_code, _headers = get_chart_second_value_axis_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_series_axis(get_chart_series_axis_request, opts = {}) ⇒ Object



665
666
667
668
669
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 665

def get_chart_series_axis( get_chart_series_axis_request, opts = {})

   data, _status_code, _headers = get_chart_series_axis_request.create_http_request(@api_client,opts )
   return data
end

#get_chart_value_axis(get_chart_value_axis_request, opts = {}) ⇒ Object



679
680
681
682
683
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 679

def get_chart_value_axis( get_chart_value_axis_request, opts = {})

   data, _status_code, _headers = get_chart_value_axis_request.create_http_request(@api_client,opts )
   return data
end

#get_disc_usage(get_disc_usage_request, opts = {}) ⇒ Object



2538
2539
2540
2541
2542
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2538

def get_disc_usage( get_disc_usage_request, opts = {})

   data, _status_code, _headers = get_disc_usage_request.create_http_request(@api_client,opts )
   return data
end

#get_disc_usage_(opts = {}) ⇒ DiscUsage

Get disc usage

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:



24003
24004
24005
24006
24007
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24003

def get_disc_usage_(opts = {})
  warn "Warning: #get_disc_usage() is deprecated."
  data, _status_code, _headers = get_disc_usage_with_http_info(opts)
  return data
end

#get_disc_usage_with_http_info(opts = {}) ⇒ Array<(DiscUsage, Fixnum, Hash)>

Get disc usage

Parameters:

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:

  • (Array<(DiscUsage, Fixnum, Hash)>)

    DiscUsage data, response status code and response headers



24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24014

def get_disc_usage_with_http_info(opts = {})
  warn "Warning: #get_disc_usage_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.get_disc_usage ..."
  end
  @api_client.request_token_if_needed
  # resource path
  local_var_path = "/cells/storage/disc"

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'DiscUsage')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#get_disc_usage\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_document_properties(get_document_properties_request, opts = {}) ⇒ Object

Get document properties description.



1568
1569
1570
1571
1572
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1568

def get_document_properties( get_document_properties_request, opts = {})

   data, _status_code, _headers = get_document_properties_request.create_http_request(@api_client,opts )
   return data
end

#get_document_property(get_document_property_request, opts = {}) ⇒ Object

Gets document property by name.



1584
1585
1586
1587
1588
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1584

def get_document_property( get_document_property_request, opts = {})

   data, _status_code, _headers = get_document_property_request.create_http_request(@api_client,opts )
   return data
end

#get_file_versions(get_file_versions_request, opts = {}) ⇒ Object



2545
2546
2547
2548
2549
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2545

def get_file_versions( get_file_versions_request, opts = {})

   data, _status_code, _headers = get_file_versions_request.create_http_request(@api_client,opts )
   return data
end

#get_file_versions_(path, opts = {}) ⇒ FileVersions

Get file versions

Parameters:

  • path

    File path e.g. &#39;/file.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:



24060
24061
24062
24063
24064
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24060

def get_file_versions_(path, opts = {})
  warn "Warning: #get_file_versions() is deprecated."
  data, _status_code, _headers = get_file_versions_with_http_info(path, opts)
  return data
end

#get_file_versions_with_http_info(path, opts = {}) ⇒ Array<(FileVersions, Fixnum, Hash)>

Get file versions

Parameters:

  • path

    File path e.g. &#39;/file.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:

  • (Array<(FileVersions, Fixnum, Hash)>)

    FileVersions data, response status code and response headers



24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24072

def get_file_versions_with_http_info(path, opts = {})
  warn "Warning: #get_file_versions_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.get_file_versions ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.get_file_versions"
  end
  # resource path
  local_var_path = "/cells/storage/version/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileVersions')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#get_file_versions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#get_files_list(get_files_list_request, opts = {}) ⇒ Object



2489
2490
2491
2492
2493
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2489

def get_files_list( get_files_list_request, opts = {})

   data, _status_code, _headers = get_files_list_request.create_http_request(@api_client,opts )
   return data
end

#get_files_list_(path, opts = {}) ⇒ FilesList

Get all files and folders within a folder

Parameters:

  • path

    Folder path e.g. &#39;/folder&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:



24122
24123
24124
24125
24126
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24122

def get_files_list_(path, opts = {})
  warn "Warning: #get_files_list() is deprecated."
  data, _status_code, _headers = get_files_list_with_http_info(path, opts)
  return data
end

#get_files_list_with_http_info(path, opts = {}) ⇒ Array<(FilesList, Fixnum, Hash)>

Get all files and folders within a folder

Parameters:

  • path

    Folder path e.g. &#39;/folder&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:

  • (Array<(FilesList, Fixnum, Hash)>)

    FilesList data, response status code and response headers



24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24134

def get_files_list_with_http_info(path, opts = {})
  warn "Warning: #get_files_list_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.get_files_list ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.get_files_list"
  end
  # resource path
  local_var_path = "/cells/storage/folder/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FilesList')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#get_files_list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

Gets page footer description in worksheet.



1338
1339
1340
1341
1342
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1338

def get_footer( get_footer_request, opts = {})

   data, _status_code, _headers = get_footer_request.create_http_request(@api_client,opts )
   return data
end

#get_header(get_header_request, opts = {}) ⇒ Object

Gets page header description in worksheet.



1322
1323
1324
1325
1326
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1322

def get_header( get_header_request, opts = {})

   data, _status_code, _headers = get_header_request.create_http_request(@api_client,opts )
   return data
end

#get_horizontal_page_break(get_horizontal_page_break_request, opts = {}) ⇒ Object

Gets a horizontal page breaks descripton in worksheet.



1242
1243
1244
1245
1246
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1242

def get_horizontal_page_break( get_horizontal_page_break_request, opts = {})

   data, _status_code, _headers = get_horizontal_page_break_request.create_http_request(@api_client,opts )
   return data
end

#get_horizontal_page_breaks(get_horizontal_page_breaks_request, opts = {}) ⇒ Object

Get horizontal page breaks descripton in worksheet.



1226
1227
1228
1229
1230
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1226

def get_horizontal_page_breaks( get_horizontal_page_breaks_request, opts = {})

   data, _status_code, _headers = get_horizontal_page_breaks_request.create_http_request(@api_client,opts )
   return data
end

#get_metadata(get_metadata_request, opts = {}) ⇒ Object



1067
1068
1069
1070
1071
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1067

def ( , opts = {})

   data, _status_code, _headers = .create_http_request(@api_client,opts )
   return data
end

#get_named_range_value(get_named_range_value_request, opts = {}) ⇒ Object

Get range values.



2365
2366
2367
2368
2369
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2365

def get_named_range_value( get_named_range_value_request, opts = {})

   data, _status_code, _headers = get_named_range_value_request.create_http_request(@api_client,opts )
   return data
end

#get_named_ranges(get_named_ranges_request, opts = {}) ⇒ Object

Get worksheets ranges description.



2357
2358
2359
2360
2361
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2357

def get_named_ranges( get_named_ranges_request, opts = {})

   data, _status_code, _headers = get_named_ranges_request.create_http_request(@api_client,opts )
   return data
end

#get_page_count(get_page_count_request, opts = {}) ⇒ Object



2071
2072
2073
2074
2075
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2071

def get_page_count( get_page_count_request, opts = {})

   data, _status_code, _headers = get_page_count_request.create_http_request(@api_client,opts )
   return data
end

#get_page_setup(get_page_setup_request, opts = {}) ⇒ Object

Gets page setup description in worksheet.



1298
1299
1300
1301
1302
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1298

def get_page_setup( get_page_setup_request, opts = {})

   data, _status_code, _headers = get_page_setup_request.create_http_request(@api_client,opts )
   return data
end

#get_pivot_table_field(get_pivot_table_field_request, opts = {}) ⇒ Object

Gets pivot field description in pivot table.



1418
1419
1420
1421
1422
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1418

def get_pivot_table_field( get_pivot_table_field_request, opts = {})

   data, _status_code, _headers = get_pivot_table_field_request.create_http_request(@api_client,opts )
   return data
end

#get_vertical_page_break(get_vertical_page_break_request, opts = {}) ⇒ Object

Gets a vertical page break description in worksheet.



1234
1235
1236
1237
1238
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1234

def get_vertical_page_break( get_vertical_page_break_request, opts = {})

   data, _status_code, _headers = get_vertical_page_break_request.create_http_request(@api_client,opts )
   return data
end

#get_vertical_page_breaks(get_vertical_page_breaks_request, opts = {}) ⇒ Object

Get vertical page breaks description in worksheet.



1218
1219
1220
1221
1222
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1218

def get_vertical_page_breaks( get_vertical_page_breaks_request, opts = {})

   data, _status_code, _headers = get_vertical_page_breaks_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook(get_workbook_request, opts = {}) ⇒ Object

Exports workbook to some format.



808
809
810
811
812
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 808

def get_workbook( get_workbook_request, opts = {})

   data, _status_code, _headers = get_workbook_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook_default_style(get_workbook_default_style_request, opts = {}) ⇒ Object

Gets workbook default style description.



1865
1866
1867
1868
1869
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1865

def get_workbook_default_style( get_workbook_default_style_request, opts = {})

   data, _status_code, _headers = get_workbook_default_style_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook_name(get_workbook_name_request, opts = {}) ⇒ Object

Gets workbook’s name description.



1897
1898
1899
1900
1901
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1897

def get_workbook_name( get_workbook_name_request, opts = {})

   data, _status_code, _headers = get_workbook_name_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook_name_value(get_workbook_name_value_request, opts = {}) ⇒ Object

Gets workbook’s name value.



1913
1914
1915
1916
1917
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1913

def get_workbook_name_value( get_workbook_name_value_request, opts = {})

   data, _status_code, _headers = get_workbook_name_value_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook_names(get_workbook_names_request, opts = {}) ⇒ Object

Get workbook’s names.



1881
1882
1883
1884
1885
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1881

def get_workbook_names( get_workbook_names_request, opts = {})

   data, _status_code, _headers = get_workbook_names_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook_settings(get_workbook_settings_request, opts = {}) ⇒ Object

Gets workbook settings description.



2032
2033
2034
2035
2036
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2032

def get_workbook_settings( get_workbook_settings_request, opts = {})

   data, _status_code, _headers = get_workbook_settings_request.create_http_request(@api_client,opts )
   return data
end

#get_workbook_text_items(get_workbook_text_items_request, opts = {}) ⇒ Object

Get workbook’s text items.



1873
1874
1875
1876
1877
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1873

def get_workbook_text_items( get_workbook_text_items_request, opts = {})

   data, _status_code, _headers = get_workbook_text_items_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_auto_filter(get_worksheet_auto_filter_request, opts = {}) ⇒ Object

Get auto filters description in worksheet.



38
39
40
41
42
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 38

def get_worksheet_auto_filter( get_worksheet_auto_filter_request, opts = {})

   data, _status_code, _headers = get_worksheet_auto_filter_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_autoshape_with_format(get_worksheet_autoshape_with_format_request, opts = {}) ⇒ Object



153
154
155
156
157
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 153

def get_worksheet_autoshape_with_format( get_worksheet_autoshape_with_format_request, opts = {})

   data, _status_code, _headers = get_worksheet_autoshape_with_format_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_autoshapes(get_worksheet_autoshapes_request, opts = {}) ⇒ Object



146
147
148
149
150
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 146

def get_worksheet_autoshapes( get_worksheet_autoshapes_request, opts = {})

   data, _status_code, _headers = get_worksheet_autoshapes_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_calculate_formula(get_worksheet_calculate_formula_request, opts = {}) ⇒ Object

Calculates formula value in worksheet.



2238
2239
2240
2241
2242
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2238

def get_worksheet_calculate_formula( get_worksheet_calculate_formula_request, opts = {})

   data, _status_code, _headers = get_worksheet_calculate_formula_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_cell(get_worksheet_cell_request, opts = {}) ⇒ Object

Gets cell data by cell or method name in worksheet.



245
246
247
248
249
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 245

def get_worksheet_cell( get_worksheet_cell_request, opts = {})

   data, _status_code, _headers = get_worksheet_cell_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_cell_style(get_worksheet_cell_style_request, opts = {}) ⇒ Object

Gets cell’s style description in worksheet.



253
254
255
256
257
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 253

def get_worksheet_cell_style( get_worksheet_cell_style_request, opts = {})

   data, _status_code, _headers = get_worksheet_cell_style_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_cells(get_worksheet_cells_request, opts = {}) ⇒ Object

Gets cells description in some format.



237
238
239
240
241
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 237

def get_worksheet_cells( get_worksheet_cells_request, opts = {})

   data, _status_code, _headers = get_worksheet_cells_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_cells_range_value(get_worksheet_cells_range_value_request, opts = {}) ⇒ Object

Get the value of cells in range.



1640
1641
1642
1643
1644
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1640

def get_worksheet_cells_range_value( get_worksheet_cells_range_value_request, opts = {})

   data, _status_code, _headers = get_worksheet_cells_range_value_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_chart(get_worksheet_chart_request, opts = {}) ⇒ Object

Gets chart in some format.



562
563
564
565
566
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 562

def get_worksheet_chart( get_worksheet_chart_request, opts = {})

   data, _status_code, _headers = get_worksheet_chart_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_chart_legend(get_worksheet_chart_legend_request, opts = {}) ⇒ Object

Gets chart legend description in worksheet.



594
595
596
597
598
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 594

def get_worksheet_chart_legend( get_worksheet_chart_legend_request, opts = {})

   data, _status_code, _headers = get_worksheet_chart_legend_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_chart_title(get_worksheet_chart_title_request, opts = {}) ⇒ Object

Gets chart title description in worksheet.



634
635
636
637
638
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 634

def get_worksheet_chart_title( get_worksheet_chart_title_request, opts = {})

   data, _status_code, _headers = get_worksheet_chart_title_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_charts(get_worksheet_charts_request, opts = {}) ⇒ Object

Get worksheet charts description.



554
555
556
557
558
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 554

def get_worksheet_charts( get_worksheet_charts_request, opts = {})

   data, _status_code, _headers = get_worksheet_charts_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_column(get_worksheet_column_request, opts = {}) ⇒ Object

Gets worksheet column data by column’s index.



340
341
342
343
344
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 340

def get_worksheet_column( get_worksheet_column_request, opts = {})

   data, _status_code, _headers = get_worksheet_column_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_columns(get_worksheet_columns_request, opts = {}) ⇒ Object



324
325
326
327
328
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 324

def get_worksheet_columns( get_worksheet_columns_request, opts = {})

   data, _status_code, _headers = get_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_comment(get_worksheet_comment_request, opts = {}) ⇒ Object

Gets comment by cell name in worksheet.



2182
2183
2184
2185
2186
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2182

def get_worksheet_comment( get_worksheet_comment_request, opts = {})

   data, _status_code, _headers = get_worksheet_comment_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_comments(get_worksheet_comments_request, opts = {}) ⇒ Object

Get comments description in worksheet.



2174
2175
2176
2177
2178
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2174

def get_worksheet_comments( get_worksheet_comments_request, opts = {})

   data, _status_code, _headers = get_worksheet_comments_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_conditional_formatting(get_worksheet_conditional_formatting_request, opts = {}) ⇒ Object

Gets conditional formatting description in worksheet.



744
745
746
747
748
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 744

def get_worksheet_conditional_formatting( get_worksheet_conditional_formatting_request, opts = {})

   data, _status_code, _headers = get_worksheet_conditional_formatting_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_conditional_formattings(get_worksheet_conditional_formattings_request, opts = {}) ⇒ Object

Get conditional formattings description.



736
737
738
739
740
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 736

def get_worksheet_conditional_formattings( get_worksheet_conditional_formattings_request, opts = {})

   data, _status_code, _headers = get_worksheet_conditional_formattings_request.create_http_request(@api_client,opts )
   return data
end

Gets hyperlink description by index in worksheet.



903
904
905
906
907
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 903

def get_worksheet_hyperlink( get_worksheet_hyperlink_request, opts = {})

   data, _status_code, _headers = get_worksheet_hyperlink_request.create_http_request(@api_client,opts )
   return data
end

Get hyperlinks description in worksheet.



895
896
897
898
899
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 895

def get_worksheet_hyperlinks( get_worksheet_hyperlinks_request, opts = {})

   data, _status_code, _headers = get_worksheet_hyperlinks_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_list_object(get_worksheet_list_object_request, opts = {}) ⇒ Object

Gets list object description by index in worksheet.



1090
1091
1092
1093
1094
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1090

def get_worksheet_list_object( get_worksheet_list_object_request, opts = {})

   data, _status_code, _headers = get_worksheet_list_object_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_list_objects(get_worksheet_list_objects_request, opts = {}) ⇒ Object

Get listobjects description in worksheet.



1082
1083
1084
1085
1086
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1082

def get_worksheet_list_objects( get_worksheet_list_objects_request, opts = {})

   data, _status_code, _headers = get_worksheet_list_objects_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_merged_cell(get_worksheet_merged_cell_request, opts = {}) ⇒ Object

Gets merged cell description by its index in worksheet.



2230
2231
2232
2233
2234
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2230

def get_worksheet_merged_cell( get_worksheet_merged_cell_request, opts = {})

   data, _status_code, _headers = get_worksheet_merged_cell_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_merged_cells(get_worksheet_merged_cells_request, opts = {}) ⇒ Object

Get worksheet merged cells.



2222
2223
2224
2225
2226
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2222

def get_worksheet_merged_cells( get_worksheet_merged_cells_request, opts = {})

   data, _status_code, _headers = get_worksheet_merged_cells_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_ole_object(get_worksheet_ole_object_request, opts = {}) ⇒ Object

Gets OLE object info or get the OLE object in some format.



1178
1179
1180
1181
1182
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1178

def get_worksheet_ole_object( get_worksheet_ole_object_request, opts = {})

   data, _status_code, _headers = get_worksheet_ole_object_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_ole_objects(get_worksheet_ole_objects_request, opts = {}) ⇒ Object

Get OLE objects description in worksheet.



1170
1171
1172
1173
1174
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1170

def get_worksheet_ole_objects( get_worksheet_ole_objects_request, opts = {})

   data, _status_code, _headers = get_worksheet_ole_objects_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_page_count(get_worksheet_page_count_request, opts = {}) ⇒ Object



2380
2381
2382
2383
2384
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2380

def get_worksheet_page_count( get_worksheet_page_count_request, opts = {})

   data, _status_code, _headers = get_worksheet_page_count_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_picture_with_format(get_worksheet_picture_with_format_request, opts = {}) ⇒ Object

Gets a picture by number in worksheet.



1362
1363
1364
1365
1366
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1362

def get_worksheet_picture_with_format( get_worksheet_picture_with_format_request, opts = {})

   data, _status_code, _headers = get_worksheet_picture_with_format_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_pictures(get_worksheet_pictures_request, opts = {}) ⇒ Object

Get pictures description in worksheet.



1354
1355
1356
1357
1358
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1354

def get_worksheet_pictures( get_worksheet_pictures_request, opts = {})

   data, _status_code, _headers = get_worksheet_pictures_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_pivot_table(get_worksheet_pivot_table_request, opts = {}) ⇒ Object

Gets a pivottable info by index in worksheet.



1410
1411
1412
1413
1414
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1410

def get_worksheet_pivot_table( get_worksheet_pivot_table_request, opts = {})

   data, _status_code, _headers = get_worksheet_pivot_table_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_pivot_table_filter(get_worksheet_pivot_table_filter_request, opts = {}) ⇒ Object

Gets pivot table filters in worksheet.



1434
1435
1436
1437
1438
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1434

def get_worksheet_pivot_table_filter( get_worksheet_pivot_table_filter_request, opts = {})

   data, _status_code, _headers = get_worksheet_pivot_table_filter_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_pivot_table_filters(get_worksheet_pivot_table_filters_request, opts = {}) ⇒ Object

Gets pivot table filters in worksheet.



1426
1427
1428
1429
1430
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1426

def get_worksheet_pivot_table_filters( get_worksheet_pivot_table_filters_request, opts = {})

   data, _status_code, _headers = get_worksheet_pivot_table_filters_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_pivot_tables(get_worksheet_pivot_tables_request, opts = {}) ⇒ Object

Get worksheet pivottables description.



1402
1403
1404
1405
1406
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1402

def get_worksheet_pivot_tables( get_worksheet_pivot_tables_request, opts = {})

   data, _status_code, _headers = get_worksheet_pivot_tables_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_row(get_worksheet_row_request, opts = {}) ⇒ Object

Gets row data by row’s index in worksheet.



419
420
421
422
423
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 419

def get_worksheet_row( get_worksheet_row_request, opts = {})

   data, _status_code, _headers = get_worksheet_row_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_rows(get_worksheet_rows_request, opts = {}) ⇒ Object



411
412
413
414
415
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 411

def get_worksheet_rows( get_worksheet_rows_request, opts = {})

   data, _status_code, _headers = get_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_shape(get_worksheet_shape_request, opts = {}) ⇒ Object

Gets shape description in worksheet.



1715
1716
1717
1718
1719
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1715

def get_worksheet_shape( get_worksheet_shape_request, opts = {})

   data, _status_code, _headers = get_worksheet_shape_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_shapes(get_worksheet_shapes_request, opts = {}) ⇒ Object

Get shapes description in worksheet.



1707
1708
1709
1710
1711
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1707

def get_worksheet_shapes( get_worksheet_shapes_request, opts = {})

   data, _status_code, _headers = get_worksheet_shapes_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_sparkline_group(get_worksheet_sparkline_group_request, opts = {}) ⇒ Object

Get worksheet sparkline group description.



1777
1778
1779
1780
1781
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1777

def get_worksheet_sparkline_group( get_worksheet_sparkline_group_request, opts = {})

   data, _status_code, _headers = get_worksheet_sparkline_group_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_sparkline_groups(get_worksheet_sparkline_groups_request, opts = {}) ⇒ Object

Get worksheet sparkline groups description.



1769
1770
1771
1772
1773
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1769

def get_worksheet_sparkline_groups( get_worksheet_sparkline_groups_request, opts = {})

   data, _status_code, _headers = get_worksheet_sparkline_groups_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_text_items(get_worksheet_text_items_request, opts = {}) ⇒ Object

Get text items in worksheet.



2166
2167
2168
2169
2170
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2166

def get_worksheet_text_items( get_worksheet_text_items_request, opts = {})

   data, _status_code, _headers = get_worksheet_text_items_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_validation(get_worksheet_validation_request, opts = {}) ⇒ Object

Gets a validation by index in worksheet.



2396
2397
2398
2399
2400
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2396

def get_worksheet_validation( get_worksheet_validation_request, opts = {})

   data, _status_code, _headers = get_worksheet_validation_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_validations(get_worksheet_validations_request, opts = {}) ⇒ Object

Get validations description in worksheet.



2388
2389
2390
2391
2392
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2388

def get_worksheet_validations( get_worksheet_validations_request, opts = {})

   data, _status_code, _headers = get_worksheet_validations_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheet_with_format(get_worksheet_with_format_request, opts = {}) ⇒ Object

Gets worksheet in some format.



2087
2088
2089
2090
2091
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2087

def get_worksheet_with_format( get_worksheet_with_format_request, opts = {})

   data, _status_code, _headers = get_worksheet_with_format_request.create_http_request(@api_client,opts )
   return data
end

#get_worksheets(get_worksheets_request, opts = {}) ⇒ Object

Get worksheets description.



2079
2080
2081
2082
2083
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2079

def get_worksheets( get_worksheets_request, opts = {})

   data, _status_code, _headers = get_worksheets_request.create_http_request(@api_client,opts )
   return data
end

#move_file(move_file_request, opts = {}) ⇒ Object



2475
2476
2477
2478
2479
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2475

def move_file( move_file_request, opts = {})

   data, _status_code, _headers = move_file_request.create_http_request(@api_client,opts )
   return data
end

#move_file_(src_path, dest_path, opts = {}) ⇒ nil

Move file

Parameters:

  • src_path

    Source file path e.g. &#39;/src.ext&#39;

  • dest_path

    Destination file path e.g. &#39;/dest.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

  • :version_id (String)

    File version ID to move

Returns:

  • (nil)


24187
24188
24189
24190
24191
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24187

def move_file_(src_path, dest_path, opts = {})
  warn "Warning: #move_file() is deprecated."
  move_file_with_http_info(src_path, dest_path, opts)
  return nil
end

#move_file_with_http_info(src_path, dest_path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Move file

Parameters:

  • src_path

    Source file path e.g. &#39;/src.ext&#39;

  • dest_path

    Destination file path e.g. &#39;/dest.ext&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

  • :version_id (String)

    File version ID to move

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24202

def move_file_with_http_info(src_path, dest_path, opts = {})
  warn "Warning: #move_file_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.move_file ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'src_path' is set
  if @api_client.config.client_side_validation && src_path.nil?
    fail ArgumentError, "Missing the required parameter 'src_path' when calling CellsApi.move_file"
  end
  # verify the required parameter 'dest_path' is set
  if @api_client.config.client_side_validation && dest_path.nil?
    fail ArgumentError, "Missing the required parameter 'dest_path' when calling CellsApi.move_file"
  end
  # resource path
  local_var_path = "/cells/storage/file/move/{srcPath}".sub('{' + 'srcPath' + '}', src_path.to_s)

  # query parameters
  query_params = {}
  query_params[:'destPath'] = dest_path
  query_params[:'srcStorageName'] = opts[:'src_storage_name'] if !opts[:'src_storage_name'].nil?
  query_params[:'destStorageName'] = opts[:'dest_storage_name'] if !opts[:'dest_storage_name'].nil?
  query_params[:'versionId'] = opts[:'version_id'] if !opts[:'version_id'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#move_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#move_folder(move_folder_request, opts = {}) ⇒ Object



2510
2511
2512
2513
2514
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2510

def move_folder( move_folder_request, opts = {})

   data, _status_code, _headers = move_folder_request.create_http_request(@api_client,opts )
   return data
end

#move_folder_(src_path, dest_path, opts = {}) ⇒ nil

Move folder

Parameters:

  • src_path

    Folder path to move e.g. &#39;/folder&#39;

  • dest_path

    Destination folder path to move to e.g &#39;/dst&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

Returns:

  • (nil)


24260
24261
24262
24263
24264
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24260

def move_folder_(src_path, dest_path, opts = {})
  warn "Warning: #move_folder() is deprecated."
  move_folder_with_http_info(src_path, dest_path, opts)
  return nil
end

#move_folder_with_http_info(src_path, dest_path, opts = {}) ⇒ Array<(nil, Fixnum, Hash)>

Move folder

Parameters:

  • src_path

    Folder path to move e.g. &#39;/folder&#39;

  • dest_path

    Destination folder path to move to e.g &#39;/dst&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :src_storage_name (String)

    Source storage name

  • :dest_storage_name (String)

    Destination storage name

Returns:

  • (Array<(nil, Fixnum, Hash)>)

    nil, response status code and response headers



24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24274

def move_folder_with_http_info(src_path, dest_path, opts = {})
  warn "Warning: #move_folder_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.move_folder ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'src_path' is set
  if @api_client.config.client_side_validation && src_path.nil?
    fail ArgumentError, "Missing the required parameter 'src_path' when calling CellsApi.move_folder"
  end
  # verify the required parameter 'dest_path' is set
  if @api_client.config.client_side_validation && dest_path.nil?
    fail ArgumentError, "Missing the required parameter 'dest_path' when calling CellsApi.move_folder"
  end
  # resource path
  local_var_path = "/cells/storage/folder/move/{srcPath}".sub('{' + 'srcPath' + '}', src_path.to_s)

  # query parameters
  query_params = {}
  query_params[:'destPath'] = dest_path
  query_params[:'srcStorageName'] = opts[:'src_storage_name'] if !opts[:'src_storage_name'].nil?
  query_params[:'destStorageName'] = opts[:'dest_storage_name'] if !opts[:'dest_storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names)
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#move_folder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#o_auth_post(grant_type, client_id, client_secret, opts = {}) ⇒ AccessTokenResponse

Get Access token

Parameters:

  • grant_type

    Grant Type

  • client_id

    App SID

  • client_secret

    App Key

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



24330
24331
24332
24333
24334
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24330

def o_auth_post(grant_type, client_id, client_secret, opts = {})
  warn "Warning: #o_auth_post() is deprecated."
  data, _status_code, _headers = o_auth_post_with_http_info(grant_type, client_id, client_secret, opts)
  return data
end

#o_auth_post_with_http_info(grant_type, client_id, client_secret, opts = {}) ⇒ Array<(AccessTokenResponse, Fixnum, Hash)>

Get Access token

Parameters:

  • grant_type

    Grant Type

  • client_id

    App SID

  • client_secret

    App Key

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(AccessTokenResponse, Fixnum, Hash)>)

    AccessTokenResponse data, response status code and response headers



24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24343

def o_auth_post_with_http_info(grant_type, client_id, client_secret, opts = {})
  warn "Warning: #o_auth_post_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.o_auth_post ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'grant_type' is set
  if @api_client.config.client_side_validation && grant_type.nil?
    fail ArgumentError, "Missing the required parameter 'grant_type' when calling CellsApi.o_auth_post"
  end
  # verify the required parameter 'client_id' is set
  if @api_client.config.client_side_validation && client_id.nil?
    fail ArgumentError, "Missing the required parameter 'client_id' when calling CellsApi.o_auth_post"
  end
  # verify the required parameter 'client_secret' is set
  if @api_client.config.client_side_validation && client_secret.nil?
    fail ArgumentError, "Missing the required parameter 'client_secret' when calling CellsApi.o_auth_post"
  end
  # resource path
  local_var_path = "/connect/token"

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded'])

  # form parameters
  form_params = {}
  form_params["grant_type"] = grant_type
  form_params["client_id"] = client_id
  form_params["client_secret"] = client_secret

  # http body (model)
  post_body = nil
  post_body = nil
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'AccessTokenResponse')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#o_auth_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#object_exists(object_exists_request, opts = {}) ⇒ Object



2531
2532
2533
2534
2535
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2531

def object_exists( object_exists_request, opts = {})

   data, _status_code, _headers = object_exists_request.create_http_request(@api_client,opts )
   return data
end

#object_exists_(path, opts = {}) ⇒ ObjectExist

Check if file or folder exists

Parameters:

  • path

    File or folder path e.g. &#39;/file.ext&#39; or &#39;/folder&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :version_id (String)

    File version ID

Returns:



24406
24407
24408
24409
24410
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24406

def object_exists_(path, opts = {})
  warn "Warning: #object_exists() is deprecated."
  data, _status_code, _headers = object_exists_with_http_info(path, opts)
  return data
end

#object_exists_with_http_info(path, opts = {}) ⇒ Array<(ObjectExist, Fixnum, Hash)>

Check if file or folder exists

Parameters:

  • path

    File or folder path e.g. &#39;/file.ext&#39; or &#39;/folder&#39;

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

  • :version_id (String)

    File version ID

Returns:

  • (Array<(ObjectExist, Fixnum, Hash)>)

    ObjectExist data, response status code and response headers



24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24419

def object_exists_with_http_info(path, opts = {})
  warn "Warning: #object_exists_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.object_exists ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.object_exists"
  end
  # resource path
  local_var_path = "/cells/storage/exist/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
  query_params[:'versionId'] = opts[:'version_id'] if !opts[:'version_id'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'ObjectExist')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#object_exists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_assemble(post_assemble_request, opts = {}) ⇒ Object

Combine data files and template files to kinds of format files.



943
944
945
946
947
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 943

def post_assemble( post_assemble_request, opts = {})

   data, _status_code, _headers = post_assemble_request.create_http_request(@api_client,opts )
   return data
end

#post_autofit_workbook_columns(post_autofit_workbook_columns_request, opts = {}) ⇒ Object



2024
2025
2026
2027
2028
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2024

def post_autofit_workbook_columns( post_autofit_workbook_columns_request, opts = {})

   data, _status_code, _headers = post_autofit_workbook_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_autofit_workbook_rows(post_autofit_workbook_rows_request, opts = {}) ⇒ Object

Autofit workbook rows.



2017
2018
2019
2020
2021
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2017

def post_autofit_workbook_rows( post_autofit_workbook_rows_request, opts = {})

   data, _status_code, _headers = post_autofit_workbook_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_autofit_worksheet_columns(post_autofit_worksheet_columns_request, opts = {}) ⇒ Object



2293
2294
2295
2296
2297
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2293

def post_autofit_worksheet_columns( post_autofit_worksheet_columns_request, opts = {})

   data, _status_code, _headers = post_autofit_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_autofit_worksheet_row(post_autofit_worksheet_row_request, opts = {}) ⇒ Object

Autofits row in worksheet.



2278
2279
2280
2281
2282
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2278

def post_autofit_worksheet_row( post_autofit_worksheet_row_request, opts = {})

   data, _status_code, _headers = post_autofit_worksheet_row_request.create_http_request(@api_client,opts )
   return data
end

#post_autofit_worksheet_rows(post_autofit_worksheet_rows_request, opts = {}) ⇒ Object

Autofit rows in worksheet.



2286
2287
2288
2289
2290
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2286

def post_autofit_worksheet_rows( post_autofit_worksheet_rows_request, opts = {})

   data, _status_code, _headers = post_autofit_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_batch_convert(post_batch_convert_request, opts = {}) ⇒ Object



160
161
162
163
164
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 160

def post_batch_convert( post_batch_convert_request, opts = {})

   data, _status_code, _headers = post_batch_convert_request.create_http_request(@api_client,opts )
   return data
end

#post_batch_convert_(batch_convert_request, opts = {}) ⇒ File

Parameters:

  • batch_convert_request
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (File)


24469
24470
24471
24472
24473
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24469

def post_batch_convert_(batch_convert_request, opts = {})
  warn "Warning: #post_batch_convert() is deprecated."
  data, _status_code, _headers = post_batch_convert_with_http_info(batch_convert_request, opts)
  return data
end

#post_batch_convert_with_http_info(batch_convert_request, opts = {}) ⇒ Array<(File, Fixnum, Hash)>

Returns File data, response status code and response headers.

Parameters:

  • batch_convert_request
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(File, Fixnum, Hash)>)

    File data, response status code and response headers



24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24480

def post_batch_convert_with_http_info(batch_convert_request, opts = {})
  warn "Warning: #post_batch_convert_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_batch_convert ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'batch_convert_request' is set
  if @api_client.config.client_side_validation && batch_convert_request.nil?
    fail ArgumentError, "Missing the required parameter 'batch_convert_request' when calling CellsApi.post_batch_convert"
  end
  # resource path
  local_var_path = "/cells/batch/convert"

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = @api_client.object_to_http_body(batch_convert_request)
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'File')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_batch_convert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_batch_lock(post_batch_lock_request, opts = {}) ⇒ Object



174
175
176
177
178
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 174

def post_batch_lock( post_batch_lock_request, opts = {})

   data, _status_code, _headers = post_batch_lock_request.create_http_request(@api_client,opts )
   return data
end

#post_batch_protect(post_batch_protect_request, opts = {}) ⇒ Object



167
168
169
170
171
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 167

def post_batch_protect( post_batch_protect_request, opts = {})

   data, _status_code, _headers = post_batch_protect_request.create_http_request(@api_client,opts )
   return data
end

#post_batch_split(post_batch_split_request, opts = {}) ⇒ Object



188
189
190
191
192
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 188

def post_batch_split( post_batch_split_request, opts = {})

   data, _status_code, _headers = post_batch_split_request.create_http_request(@api_client,opts )
   return data
end

#post_batch_unlock(post_batch_unlock_request, opts = {}) ⇒ Object



181
182
183
184
185
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 181

def post_batch_unlock( post_batch_unlock_request, opts = {})

   data, _status_code, _headers = post_batch_unlock_request.create_http_request(@api_client,opts )
   return data
end

#post_cell_calculate(post_cell_calculate_request, opts = {}) ⇒ Object

Calculates cell formula in worksheet.



309
310
311
312
313
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 309

def post_cell_calculate( post_cell_calculate_request, opts = {})

   data, _status_code, _headers = post_cell_calculate_request.create_http_request(@api_client,opts )
   return data
end

#post_cell_characters(post_cell_characters_request, opts = {}) ⇒ Object

Sets cell characters in worksheet.



317
318
319
320
321
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 317

def post_cell_characters( post_cell_characters_request, opts = {})

   data, _status_code, _headers = post_cell_characters_request.create_http_request(@api_client,opts )
   return data
end

#post_chart_category_axis(post_chart_category_axis_request, opts = {}) ⇒ Object



707
708
709
710
711
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 707

def post_chart_category_axis( post_chart_category_axis_request, opts = {})

   data, _status_code, _headers = post_chart_category_axis_request.create_http_request(@api_client,opts )
   return data
end

#post_chart_second_category_axis(post_chart_second_category_axis_request, opts = {}) ⇒ Object



721
722
723
724
725
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 721

def post_chart_second_category_axis( post_chart_second_category_axis_request, opts = {})

   data, _status_code, _headers = post_chart_second_category_axis_request.create_http_request(@api_client,opts )
   return data
end

#post_chart_second_value_axis(post_chart_second_value_axis_request, opts = {}) ⇒ Object



728
729
730
731
732
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 728

def post_chart_second_value_axis( post_chart_second_value_axis_request, opts = {})

   data, _status_code, _headers = post_chart_second_value_axis_request.create_http_request(@api_client,opts )
   return data
end

#post_chart_series_axis(post_chart_series_axis_request, opts = {}) ⇒ Object



700
701
702
703
704
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 700

def post_chart_series_axis( post_chart_series_axis_request, opts = {})

   data, _status_code, _headers = post_chart_series_axis_request.create_http_request(@api_client,opts )
   return data
end

#post_chart_value_axis(post_chart_value_axis_request, opts = {}) ⇒ Object



714
715
716
717
718
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 714

def post_chart_value_axis( post_chart_value_axis_request, opts = {})

   data, _status_code, _headers = post_chart_value_axis_request.create_http_request(@api_client,opts )
   return data
end

#post_clear_contents(post_clear_contents_request, opts = {}) ⇒ Object

Clear cells contents in worksheet.



197
198
199
200
201
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 197

def post_clear_contents( post_clear_contents_request, opts = {})

   data, _status_code, _headers = post_clear_contents_request.create_http_request(@api_client,opts )
   return data
end

#post_clear_formats(post_clear_formats_request, opts = {}) ⇒ Object

Clear cells formats in worksheet.



205
206
207
208
209
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 205

def post_clear_formats( post_clear_formats_request, opts = {})

   data, _status_code, _headers = post_clear_formats_request.create_http_request(@api_client,opts )
   return data
end

#post_clear_objects(post_clear_objects_request, opts = {}) ⇒ Object

Clear excel internal elements for excel files



1031
1032
1033
1034
1035
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1031

def post_clear_objects( post_clear_objects_request, opts = {})

   data, _status_code, _headers = post_clear_objects_request.create_http_request(@api_client,opts )
   return data
end

#post_column_style(post_column_style_request, opts = {}) ⇒ Object

Sets column style in worksheet.



404
405
406
407
408
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 404

def post_column_style( post_column_style_request, opts = {})

   data, _status_code, _headers = post_column_style_request.create_http_request(@api_client,opts )
   return data
end

#post_compress(post_compress_request, opts = {}) ⇒ Object

Compress XLS, XLSX, XLSM, XLSB, ODS and more



951
952
953
954
955
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 951

def post_compress( post_compress_request, opts = {})

   data, _status_code, _headers = post_compress_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_csv(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



25065
25066
25067
25068
25069
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25065

def post_convert_workbook_to_csv( post_convert_workbook_to_csv_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_csv_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_csv_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25078

def post_convert_workbook_to_csv_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_csv_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_csv ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_csv"
  end
  # resource path
  local_var_path = "/cells/convert/csv"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_docx(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24529
24530
24531
24532
24533
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24529

def post_convert_workbook_to_docx( post_convert_workbook_to_docx_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_docx_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_docx_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24542

def post_convert_workbook_to_docx_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_docx_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_docx ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_docx"
  end
  # resource path
  local_var_path = "/cells/convert/docx"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_html(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24797
24798
24799
24800
24801
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24797

def post_convert_workbook_to_html( post_convert_workbook_to_html_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_html_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_html_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24810

def post_convert_workbook_to_html_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_html_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_html ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_html"
  end
  # resource path
  local_var_path = "/cells/convert/html"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_html\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_json(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24932
24933
24934
24935
24936
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24932

def post_convert_workbook_to_json( post_convert_workbook_to_json_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_json_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_json_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24945

def post_convert_workbook_to_json_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_json_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_json ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_json"
  end
  # resource path
  local_var_path = "/cells/convert/json"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_json\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_markdown(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24864
24865
24866
24867
24868
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24864

def post_convert_workbook_to_markdown( post_convert_workbook_to_markdown_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_markdown_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_markdown_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24877

def post_convert_workbook_to_markdown_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_markdown_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_markdown ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_markdown"
  end
  # resource path
  local_var_path = "/cells/convert/markdown"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_markdown\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_pdf(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24596
24597
24598
24599
24600
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24596

def post_convert_workbook_to_pdf( post_convert_workbook_to_pdf_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_pdf_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_pdf_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24609

def post_convert_workbook_to_pdf_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_pdf_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_pdf ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_pdf"
  end
  # resource path
  local_var_path = "/cells/convert/pdf"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_png(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24663
24664
24665
24666
24667
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24663

def post_convert_workbook_to_png( post_convert_workbook_to_png_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_png_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_png_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24676

def post_convert_workbook_to_png_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_png_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_png ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_png"
  end
  # resource path
  local_var_path = "/cells/convert/png"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}
  
  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_pptx(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24730
24731
24732
24733
24734
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24730

def post_convert_workbook_to_pptx( post_convert_workbook_to_pptx_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_pptx_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_pptx_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24743

def post_convert_workbook_to_pptx_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_pptx_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_pptx ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_pptx"
  end
  # resource path
  local_var_path = "/cells/convert/pptx"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_pptx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_convert_workbook_to_sql(file, opts = {}) ⇒ FileInfo

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN) — default: default to true

Returns:



24998
24999
25000
25001
25002
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 24998

def post_convert_workbook_to_sql( post_convert_workbook_to_sql_request, opts = {})

   data, _status_code, _headers = post_convert_workbook_to_sql_request.create_http_request(@api_client,opts )
   return data
end

#post_convert_workbook_to_sql_with_http_info(file, opts = {}) ⇒ Array<(FileInfo, Fixnum, Hash)>

Returns FileInfo data, response status code and response headers.

Parameters:

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :password (String)
  • :check_excel_restriction (BOOLEAN)

Returns:

  • (Array<(FileInfo, Fixnum, Hash)>)

    FileInfo data, response status code and response headers



25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25011

def post_convert_workbook_to_sql_with_http_info(file, opts = {})
  warn "Warning: #post_convert_workbook_to_sql_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook_to_sql ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.post_convert_workbook_to_sql"
  end
  # resource path
  local_var_path = "/cells/convert/sql"

  # query parameters
  query_params = {}
  query_params[:'password'] = opts[:'password'] if !opts[:'password'].nil?
  query_params[:'checkExcelRestriction'] = opts[:'check_excel_restriction'] if !opts[:'check_excel_restriction'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
  post_body =''
  form_params['file']  = file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:POST, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FileInfo')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#post_convert_workbook_to_sql\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#post_copy_cell_into_cell(post_copy_cell_into_cell_request, opts = {}) ⇒ Object

Copies data to destination cell from a source cell in worksheet.



285
286
287
288
289
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 285

def post_copy_cell_into_cell( post_copy_cell_into_cell_request, opts = {})

   data, _status_code, _headers = post_copy_cell_into_cell_request.create_http_request(@api_client,opts )
   return data
end

#post_copy_worksheet(post_copy_worksheet_request, opts = {}) ⇒ Object

Copies contents and formats from another worksheet.



2333
2334
2335
2336
2337
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2333

def post_copy_worksheet( post_copy_worksheet_request, opts = {})

   data, _status_code, _headers = post_copy_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#post_copy_worksheet_columns(post_copy_worksheet_columns_request, opts = {}) ⇒ Object

Copy data to destination columns from source columns in worksheet.



396
397
398
399
400
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 396

def post_copy_worksheet_columns( post_copy_worksheet_columns_request, opts = {})

   data, _status_code, _headers = post_copy_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_copy_worksheet_rows(post_copy_worksheet_rows_request, opts = {}) ⇒ Object

Copies data and formats of some whole rows in worksheet.



497
498
499
500
501
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 497

def post_copy_worksheet_rows( post_copy_worksheet_rows_request, opts = {})

   data, _status_code, _headers = post_copy_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_digital_signature(post_digital_signature_request, opts = {}) ⇒ Object

Digital Signature.



1825
1826
1827
1828
1829
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1825

def post_digital_signature( post_digital_signature_request, opts = {})

   data, _status_code, _headers = post_digital_signature_request.create_http_request(@api_client,opts )
   return data
end

#post_encrypt_workbook(post_encrypt_workbook_request, opts = {}) ⇒ Object

Encripts workbook.



1833
1834
1835
1836
1837
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1833

def post_encrypt_workbook( post_encrypt_workbook_request, opts = {})

   data, _status_code, _headers = post_encrypt_workbook_request.create_http_request(@api_client,opts )
   return data
end

#post_export(post_export_request, opts = {}) ⇒ Object

Export excel internal elements or itself to kinds of format files.



959
960
961
962
963
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 959

def post_export( post_export_request, opts = {})

   data, _status_code, _headers = post_export_request.create_http_request(@api_client,opts )
   return data
end

#post_footer(post_footer_request, opts = {}) ⇒ Object

Update page footer description in worksheet.



1346
1347
1348
1349
1350
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1346

def ( , opts = {})

   data, _status_code, _headers = .create_http_request(@api_client,opts )
   return data
end

#post_group_worksheet_columns(post_group_worksheet_columns_request, opts = {}) ⇒ Object

Group worksheet columns.



380
381
382
383
384
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 380

def post_group_worksheet_columns( post_group_worksheet_columns_request, opts = {})

   data, _status_code, _headers = post_group_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_group_worksheet_rows(post_group_worksheet_rows_request, opts = {}) ⇒ Object

Group rows in worksheet.



481
482
483
484
485
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 481

def post_group_worksheet_rows( post_group_worksheet_rows_request, opts = {})

   data, _status_code, _headers = post_group_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_header(post_header_request, opts = {}) ⇒ Object

Updates page header in worksheet.



1330
1331
1332
1333
1334
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1330

def post_header( post_header_request, opts = {})

   data, _status_code, _headers = post_header_request.create_http_request(@api_client,opts )
   return data
end

#post_hide_worksheet_columns(post_hide_worksheet_columns_request, opts = {}) ⇒ Object

Hide worksheet columns.



364
365
366
367
368
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 364

def post_hide_worksheet_columns( post_hide_worksheet_columns_request, opts = {})

   data, _status_code, _headers = post_hide_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_hide_worksheet_rows(post_hide_worksheet_rows_request, opts = {}) ⇒ Object

Hide rows in worksheet.



465
466
467
468
469
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 465

def post_hide_worksheet_rows( post_hide_worksheet_rows_request, opts = {})

   data, _status_code, _headers = post_hide_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_import(post_import_request, opts = {}) ⇒ Object

Import data into excel file.



1015
1016
1017
1018
1019
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1015

def post_import( post_import_request, opts = {})

   data, _status_code, _headers = post_import_request.create_http_request(@api_client,opts )
   return data
end

#post_import_data(post_import_data_request, opts = {}) ⇒ Object

Imports data into workbook.



2001
2002
2003
2004
2005
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2001

def post_import_data( post_import_data_request, opts = {})

   data, _status_code, _headers = post_import_data_request.create_http_request(@api_client,opts )
   return data
end

#post_merge(post_merge_request, opts = {}) ⇒ Object

Merge cells in worksheet.



967
968
969
970
971
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 967

def post_merge( post_merge_request, opts = {})

   data, _status_code, _headers = post_merge_request.create_http_request(@api_client,opts )
   return data
end

#post_metadata(post_metadata_request, opts = {}) ⇒ Object



1060
1061
1062
1063
1064
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1060

def ( , opts = {})

   data, _status_code, _headers = .create_http_request(@api_client,opts )
   return data
end

#post_move_worksheet(post_move_worksheet_request, opts = {}) ⇒ Object

Move worksheet in workbook.



2142
2143
2144
2145
2146
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2142

def post_move_worksheet( post_move_worksheet_request, opts = {})

   data, _status_code, _headers = post_move_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#post_page_setup(post_page_setup_request, opts = {}) ⇒ Object

Updates page setup in worksheet.



1306
1307
1308
1309
1310
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1306

def post_page_setup( post_page_setup_request, opts = {})

   data, _status_code, _headers = post_page_setup_request.create_http_request(@api_client,opts )
   return data
end

#post_pivot_table_cell_style(post_pivot_table_cell_style_request, opts = {}) ⇒ Object

Updates cell style in pivot table.



1482
1483
1484
1485
1486
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1482

def post_pivot_table_cell_style( post_pivot_table_cell_style_request, opts = {})

   data, _status_code, _headers = post_pivot_table_cell_style_request.create_http_request(@api_client,opts )
   return data
end

#post_pivot_table_field_hide_item(post_pivot_table_field_hide_item_request, opts = {}) ⇒ Object

Hides pivot field item in pivot table.



1466
1467
1468
1469
1470
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1466

def post_pivot_table_field_hide_item( post_pivot_table_field_hide_item_request, opts = {})

   data, _status_code, _headers = post_pivot_table_field_hide_item_request.create_http_request(@api_client,opts )
   return data
end

#post_pivot_table_field_move_to(post_pivot_table_field_move_to_request, opts = {}) ⇒ Object

Moves pivot field in pivot table.



1474
1475
1476
1477
1478
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1474

def post_pivot_table_field_move_to( post_pivot_table_field_move_to_request, opts = {})

   data, _status_code, _headers = post_pivot_table_field_move_to_request.create_http_request(@api_client,opts )
   return data
end

#post_pivot_table_style(post_pivot_table_style_request, opts = {}) ⇒ Object

Updates style in pivot table.



1490
1491
1492
1493
1494
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1490

def post_pivot_table_style( post_pivot_table_style_request, opts = {})

   data, _status_code, _headers = post_pivot_table_style_request.create_http_request(@api_client,opts )
   return data
end

#post_pivot_table_update_pivot_field(post_pivot_table_update_pivot_field_request, opts = {}) ⇒ Object



1504
1505
1506
1507
1508
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1504

def post_pivot_table_update_pivot_field( post_pivot_table_update_pivot_field_request, opts = {})

   data, _status_code, _headers = post_pivot_table_update_pivot_field_request.create_http_request(@api_client,opts )
   return data
end

#post_pivot_table_update_pivot_fields(post_pivot_table_update_pivot_fields_request, opts = {}) ⇒ Object



1497
1498
1499
1500
1501
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1497

def post_pivot_table_update_pivot_fields( post_pivot_table_update_pivot_fields_request, opts = {})

   data, _status_code, _headers = post_pivot_table_update_pivot_fields_request.create_http_request(@api_client,opts )
   return data
end

#post_protect(post_protect_request, opts = {}) ⇒ Object

Protect MS Excel and OpenDocument Spreadsheet by making them password protected.



983
984
985
986
987
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 983

def post_protect( post_protect_request, opts = {})

   data, _status_code, _headers = post_protect_request.create_http_request(@api_client,opts )
   return data
end

#post_protect_workbook(post_protect_workbook_request, opts = {}) ⇒ Object

Protects workbook.



1849
1850
1851
1852
1853
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1849

def post_protect_workbook( post_protect_workbook_request, opts = {})

   data, _status_code, _headers = post_protect_workbook_request.create_http_request(@api_client,opts )
   return data
end

#post_rename_worksheet(post_rename_worksheet_request, opts = {}) ⇒ Object

Rename worksheet.



2341
2342
2343
2344
2345
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2341

def post_rename_worksheet( post_rename_worksheet_request, opts = {})

   data, _status_code, _headers = post_rename_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#post_repair(post_repair_request, opts = {}) ⇒ Object



1045
1046
1047
1048
1049
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1045

def post_repair( post_repair_request, opts = {})

   data, _status_code, _headers = post_repair_request.create_http_request(@api_client,opts )
   return data
end

#post_replace(post_replace_request, opts = {}) ⇒ Object

Use new text to replace specify the text from excel files.



1007
1008
1009
1010
1011
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1007

def post_replace( post_replace_request, opts = {})

   data, _status_code, _headers = post_replace_request.create_http_request(@api_client,opts )
   return data
end

#post_reverse(post_reverse_request, opts = {}) ⇒ Object

Reverse rows or columns of Excel files, save as kinds of format files.



1039
1040
1041
1042
1043
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1039

def post_reverse( post_reverse_request, opts = {})

   data, _status_code, _headers = post_reverse_request.create_http_request(@api_client,opts )
   return data
end

#post_rotate(post_rotate_request, opts = {}) ⇒ Object

Reverse rows or columns of Excel files, save as kinds of format files.



1053
1054
1055
1056
1057
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1053

def post_rotate( post_rotate_request, opts = {})

   data, _status_code, _headers = post_rotate_request.create_http_request(@api_client,opts )
   return data
end

#post_row_style(post_row_style_request, opts = {}) ⇒ Object

Applies formats for a whole row in worksheet.



506
507
508
509
510
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 506

def post_row_style( post_row_style_request, opts = {})

   data, _status_code, _headers = post_row_style_request.create_http_request(@api_client,opts )
   return data
end

#post_run_task(post_run_task_request, opts = {}) ⇒ Object

Run tasks.



1817
1818
1819
1820
1821
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1817

def post_run_task( post_run_task_request, opts = {})

   data, _status_code, _headers = post_run_task_request.create_http_request(@api_client,opts )
   return data
end

#post_search(post_search_request, opts = {}) ⇒ Object

Search specify the text from excel files.



999
1000
1001
1002
1003
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 999

def post_search( post_search_request, opts = {})

   data, _status_code, _headers = post_search_request.create_http_request(@api_client,opts )
   return data
end

#post_set_cell_html_string(post_set_cell_html_string_request, opts = {}) ⇒ Object

Sets the html string which contains data and some formats in this cell.



301
302
303
304
305
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 301

def post_set_cell_html_string( post_set_cell_html_string_request, opts = {})

   data, _status_code, _headers = post_set_cell_html_string_request.create_http_request(@api_client,opts )
   return data
end

#post_set_cell_range_value(post_set_cell_range_value_request, opts = {}) ⇒ Object

Sets the value of the range in worksheet.



277
278
279
280
281
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 277

def post_set_cell_range_value( post_set_cell_range_value_request, opts = {})

   data, _status_code, _headers = post_set_cell_range_value_request.create_http_request(@api_client,opts )
   return data
end

#post_set_worksheet_column_width(post_set_worksheet_column_width_request, opts = {}) ⇒ Object

Sets worksheet column width.



332
333
334
335
336
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 332

def post_set_worksheet_column_width( post_set_worksheet_column_width_request, opts = {})

   data, _status_code, _headers = post_set_worksheet_column_width_request.create_http_request(@api_client,opts )
   return data
end

#post_split(post_split_request, opts = {}) ⇒ Object

Split Excel spreadsheet files by worksheet, save as kinds of format files.



991
992
993
994
995
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 991

def post_split( post_split_request, opts = {})

   data, _status_code, _headers = post_split_request.create_http_request(@api_client,opts )
   return data
end

#post_ungroup_worksheet_columns(post_ungroup_worksheet_columns_request, opts = {}) ⇒ Object

Ungroup worksheet columns.



388
389
390
391
392
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 388

def post_ungroup_worksheet_columns( post_ungroup_worksheet_columns_request, opts = {})

   data, _status_code, _headers = post_ungroup_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_ungroup_worksheet_rows(post_ungroup_worksheet_rows_request, opts = {}) ⇒ Object

Ungroup rows in worksheet.



489
490
491
492
493
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 489

def post_ungroup_worksheet_rows( post_ungroup_worksheet_rows_request, opts = {})

   data, _status_code, _headers = post_ungroup_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_unhide_worksheet_columns(post_unhide_worksheet_columns_request, opts = {}) ⇒ Object

Unhide worksheet columns.



372
373
374
375
376
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 372

def post_unhide_worksheet_columns( post_unhide_worksheet_columns_request, opts = {})

   data, _status_code, _headers = post_unhide_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#post_unhide_worksheet_rows(post_unhide_worksheet_rows_request, opts = {}) ⇒ Object

Unhide rows in worksheet.



473
474
475
476
477
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 473

def post_unhide_worksheet_rows( post_unhide_worksheet_rows_request, opts = {})

   data, _status_code, _headers = post_unhide_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#post_unlock(post_unlock_request, opts = {}) ⇒ Object

Unprotect password protected Excel file.



975
976
977
978
979
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 975

def post_unlock( post_unlock_request, opts = {})

   data, _status_code, _headers = post_unlock_request.create_http_request(@api_client,opts )
   return data
end

#post_update_worksheet_cell_style(post_update_worksheet_cell_style_request, opts = {}) ⇒ Object

Sets cell’s style by cell name in worksheet.



269
270
271
272
273
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 269

def post_update_worksheet_cell_style( post_update_worksheet_cell_style_request, opts = {})

   data, _status_code, _headers = post_update_worksheet_cell_style_request.create_http_request(@api_client,opts )
   return data
end

#post_update_worksheet_ole_object(post_update_worksheet_ole_object_request, opts = {}) ⇒ Object

Update an OLE object in worksheet.



1202
1203
1204
1205
1206
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1202

def post_update_worksheet_ole_object( post_update_worksheet_ole_object_request, opts = {})

   data, _status_code, _headers = post_update_worksheet_ole_object_request.create_http_request(@api_client,opts )
   return data
end

#post_update_worksheet_property(post_update_worksheet_property_request, opts = {}) ⇒ Object

Update worksheet properties.



2349
2350
2351
2352
2353
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2349

def post_update_worksheet_property( post_update_worksheet_property_request, opts = {})

   data, _status_code, _headers = post_update_worksheet_property_request.create_http_request(@api_client,opts )
   return data
end

#post_update_worksheet_range_style(post_update_worksheet_range_style_request, opts = {}) ⇒ Object

Updates cell’s range style in worksheet.



213
214
215
216
217
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 213

def post_update_worksheet_range_style( post_update_worksheet_range_style_request, opts = {})

   data, _status_code, _headers = post_update_worksheet_range_style_request.create_http_request(@api_client,opts )
   return data
end

#post_update_worksheet_row(post_update_worksheet_row_request, opts = {}) ⇒ Object

Updates row in worksheet.



457
458
459
460
461
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 457

def post_update_worksheet_row( post_update_worksheet_row_request, opts = {})

   data, _status_code, _headers = post_update_worksheet_row_request.create_http_request(@api_client,opts )
   return data
end

#post_update_worksheet_zoom(post_update_worksheet_zoom_request, opts = {}) ⇒ Object

Updates worksheet zoom.



2373
2374
2375
2376
2377
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2373

def post_update_worksheet_zoom( post_update_worksheet_zoom_request, opts = {})

   data, _status_code, _headers = post_update_worksheet_zoom_request.create_http_request(@api_client,opts )
   return data
end

#post_watermark(post_watermark_request, opts = {}) ⇒ Object

Add Text Watermark to Excel files.



1023
1024
1025
1026
1027
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1023

def post_watermark( post_watermark_request, opts = {})

   data, _status_code, _headers = post_watermark_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_calculate_formula(post_workbook_calculate_formula_request, opts = {}) ⇒ Object

Calculate all formulas in workbook.



2009
2010
2011
2012
2013
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2009

def post_workbook_calculate_formula( post_workbook_calculate_formula_request, opts = {})

   data, _status_code, _headers = post_workbook_calculate_formula_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_export_xml(post_workbook_export_xml_request, opts = {}) ⇒ Object

Export XML data from Excel file. When there are Xml Maps in Excel file, export xml data. When there is not xml map in Excel file, convert Excel file to xml file.



2438
2439
2440
2441
2442
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2438

def post_workbook_export_xml( post_workbook_export_xml_request, opts = {})

   data, _status_code, _headers = post_workbook_export_xml_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_get_smart_marker_result(post_workbook_get_smart_marker_result_request, opts = {}) ⇒ Object

Smart marker processing result.



1977
1978
1979
1980
1981
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1977

def post_workbook_get_smart_marker_result( post_workbook_get_smart_marker_result_request, opts = {})

   data, _status_code, _headers = post_workbook_get_smart_marker_result_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_import_xml(post_workbook_import_xml_request, opts = {}) ⇒ Object

Imports/Updates an XML data file into the workbook. The XML data file can be a cloud file or HTTP URI data.



2447
2448
2449
2450
2451
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2447

def post_workbook_import_xml( post_workbook_import_xml_request, opts = {})

   data, _status_code, _headers = post_workbook_import_xml_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_name(post_workbook_name_request, opts = {}) ⇒ Object

Update workbook’s name.



1905
1906
1907
1908
1909
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1905

def post_workbook_name( post_workbook_name_request, opts = {})

   data, _status_code, _headers = post_workbook_name_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_save_as(post_workbook_save_as_request, opts = {}) ⇒ Object

Converts document and saves result to storage.



824
825
826
827
828
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 824

def post_workbook_save_as( post_workbook_save_as_request, opts = {})

   data, _status_code, _headers = post_workbook_save_as_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_settings(post_workbook_settings_request, opts = {}) ⇒ Object

Updates workbook setting.



2040
2041
2042
2043
2044
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2040

def post_workbook_settings( post_workbook_settings_request, opts = {})

   data, _status_code, _headers = post_workbook_settings_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_split(post_workbook_split_request, opts = {}) ⇒ Object

Splits workbook.



1993
1994
1995
1996
1997
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1993

def post_workbook_split( post_workbook_split_request, opts = {})

   data, _status_code, _headers = post_workbook_split_request.create_http_request(@api_client,opts )
   return data
end

#post_workbook_text_replace(post_workbook_text_replace_request, opts = {}) ⇒ Object

Replaces text in workbook.



1969
1970
1971
1972
1973
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1969

def post_workbook_text_replace( post_workbook_text_replace_request, opts = {})

   data, _status_code, _headers = post_workbook_text_replace_request.create_http_request(@api_client,opts )
   return data
end

#post_workbooks_merge(post_workbooks_merge_request, opts = {}) ⇒ Object

Merge workbooks.



1953
1954
1955
1956
1957
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1953

def post_workbooks_merge( post_workbooks_merge_request, opts = {})

   data, _status_code, _headers = post_workbooks_merge_request.create_http_request(@api_client,opts )
   return data
end

#post_workbooks_text_search(post_workbooks_text_search_request, opts = {}) ⇒ Object

Search text in workbook.



1961
1962
1963
1964
1965
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1961

def post_workbooks_text_search( post_workbooks_text_search_request, opts = {})

   data, _status_code, _headers = post_workbooks_text_search_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_auto_filter_refresh(post_worksheet_auto_filter_refresh_request, opts = {}) ⇒ Object

Refresh auto filters in worksheet.



121
122
123
124
125
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 121

def post_worksheet_auto_filter_refresh( post_worksheet_auto_filter_refresh_request, opts = {})

   data, _status_code, _headers = post_worksheet_auto_filter_refresh_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_calculate_formula(post_worksheet_calculate_formula_request, opts = {}) ⇒ Object

Calculates formula value in worksheet.



2246
2247
2248
2249
2250
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2246

def post_worksheet_calculate_formula( post_worksheet_calculate_formula_request, opts = {})

   data, _status_code, _headers = post_worksheet_calculate_formula_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cell_set_value(post_worksheet_cell_set_value_request, opts = {}) ⇒ Object

Sets cell value by cell name in worksheet.



261
262
263
264
265
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 261

def post_worksheet_cell_set_value( post_worksheet_cell_set_value_request, opts = {})

   data, _status_code, _headers = post_worksheet_cell_set_value_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_column_width(post_worksheet_cells_range_column_width_request, opts = {}) ⇒ Object

Sets column width of range.



1674
1675
1676
1677
1678
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1674

def post_worksheet_cells_range_column_width( post_worksheet_cells_range_column_width_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_column_width_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_merge(post_worksheet_cells_range_merge_request, opts = {}) ⇒ Object

Combines a range of cells into a single cell.



1616
1617
1618
1619
1620
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1616

def post_worksheet_cells_range_merge( post_worksheet_cells_range_merge_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_merge_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_move_to(post_worksheet_cells_range_move_to_request, opts = {}) ⇒ Object

Moves the current range to the dest range.



1658
1659
1660
1661
1662
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1658

def post_worksheet_cells_range_move_to( post_worksheet_cells_range_move_to_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_move_to_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_outline_border(post_worksheet_cells_range_outline_border_request, opts = {}) ⇒ Object

Sets outline border around a range of cells.



1666
1667
1668
1669
1670
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1666

def post_worksheet_cells_range_outline_border( post_worksheet_cells_range_outline_border_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_outline_border_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_row_height(post_worksheet_cells_range_row_height_request, opts = {}) ⇒ Object

Sets row height of range.



1682
1683
1684
1685
1686
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1682

def post_worksheet_cells_range_row_height( post_worksheet_cells_range_row_height_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_row_height_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_style(post_worksheet_cells_range_style_request, opts = {}) ⇒ Object

Sets the style of the range.



1632
1633
1634
1635
1636
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1632

def post_worksheet_cells_range_style( post_worksheet_cells_range_style_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_style_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_un_merge(post_worksheet_cells_range_un_merge_request, opts = {}) ⇒ Object

Unmerges merged cells of this range.



1624
1625
1626
1627
1628
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1624

def post_worksheet_cells_range_un_merge( post_worksheet_cells_range_un_merge_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_un_merge_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_range_value(post_worksheet_cells_range_value_request, opts = {}) ⇒ Object

Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.



1649
1650
1651
1652
1653
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1649

def post_worksheet_cells_range_value( post_worksheet_cells_range_value_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_range_value_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_cells_ranges(post_worksheet_cells_ranges_request, opts = {}) ⇒ Object

Copys content to destination range from source range in worksheet.



1608
1609
1610
1611
1612
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1608

def post_worksheet_cells_ranges( post_worksheet_cells_ranges_request, opts = {})

   data, _status_code, _headers = post_worksheet_cells_ranges_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_chart(post_worksheet_chart_request, opts = {}) ⇒ Object

Update chart propreties in worksheet.



586
587
588
589
590
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 586

def post_worksheet_chart( post_worksheet_chart_request, opts = {})

   data, _status_code, _headers = post_worksheet_chart_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_chart_legend(post_worksheet_chart_legend_request, opts = {}) ⇒ Object

Updates chart legend in worksheet.



602
603
604
605
606
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 602

def post_worksheet_chart_legend( post_worksheet_chart_legend_request, opts = {})

   data, _status_code, _headers = post_worksheet_chart_legend_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_chart_title(post_worksheet_chart_title_request, opts = {}) ⇒ Object

Update chart title in worksheet.



642
643
644
645
646
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 642

def post_worksheet_chart_title( post_worksheet_chart_title_request, opts = {})

   data, _status_code, _headers = post_worksheet_chart_title_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_comment(post_worksheet_comment_request, opts = {}) ⇒ Object

Updates cell comment in worksheet.



2198
2199
2200
2201
2202
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2198

def post_worksheet_comment( post_worksheet_comment_request, opts = {})

   data, _status_code, _headers = post_worksheet_comment_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_group_shape(post_worksheet_group_shape_request, opts = {}) ⇒ Object



1754
1755
1756
1757
1758
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1754

def post_worksheet_group_shape( post_worksheet_group_shape_request, opts = {})

   data, _status_code, _headers = post_worksheet_group_shape_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_hyperlink(post_worksheet_hyperlink_request, opts = {}) ⇒ Object

Updates hyperlink by index in worksheet.



919
920
921
922
923
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 919

def post_worksheet_hyperlink( post_worksheet_hyperlink_request, opts = {})

   data, _status_code, _headers = post_worksheet_hyperlink_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_list_column(post_worksheet_list_column_request, opts = {}) ⇒ Object

Update list column properties.



1154
1155
1156
1157
1158
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1154

def post_worksheet_list_column( post_worksheet_list_column_request, opts = {})

   data, _status_code, _headers = post_worksheet_list_column_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_list_columns_total(post_worksheet_list_columns_total_request, opts = {}) ⇒ Object

Update table total of list columns.



1162
1163
1164
1165
1166
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1162

def post_worksheet_list_columns_total( post_worksheet_list_columns_total_request, opts = {})

   data, _status_code, _headers = post_worksheet_list_columns_total_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_list_object(post_worksheet_list_object_request, opts = {}) ⇒ Object

Updates list object in worksheet.



1122
1123
1124
1125
1126
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1122

def post_worksheet_list_object( post_worksheet_list_object_request, opts = {})

   data, _status_code, _headers = post_worksheet_list_object_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_list_object_convert_to_range(post_worksheet_list_object_convert_to_range_request, opts = {}) ⇒ Object

Converts list object to range in worksheet.



1130
1131
1132
1133
1134
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1130

def post_worksheet_list_object_convert_to_range( post_worksheet_list_object_convert_to_range_request, opts = {})

   data, _status_code, _headers = post_worksheet_list_object_convert_to_range_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_list_object_sort_table(post_worksheet_list_object_sort_table_request, opts = {}) ⇒ Object

Sorts list object in worksheet.



1146
1147
1148
1149
1150
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1146

def post_worksheet_list_object_sort_table( post_worksheet_list_object_sort_table_request, opts = {})

   data, _status_code, _headers = post_worksheet_list_object_sort_table_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_list_object_summarize_with_pivot_table(post_worksheet_list_object_summarize_with_pivot_table_request, opts = {}) ⇒ Object

Creates pivot table with list object in worksheet.



1138
1139
1140
1141
1142
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1138

def post_worksheet_list_object_summarize_with_pivot_table( post_worksheet_list_object_summarize_with_pivot_table_request, opts = {})

   data, _status_code, _headers = post_worksheet_list_object_summarize_with_pivot_table_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_match_blanks(post_worksheet_match_blanks_request, opts = {}) ⇒ Object

Match all blank cell in the list.



104
105
106
107
108
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 104

def post_worksheet_match_blanks( post_worksheet_match_blanks_request, opts = {})

   data, _status_code, _headers = post_worksheet_match_blanks_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_match_non_blanks(post_worksheet_match_non_blanks_request, opts = {}) ⇒ Object

Match all not blank cell in the list.



113
114
115
116
117
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 113

def post_worksheet_match_non_blanks( post_worksheet_match_non_blanks_request, opts = {})

   data, _status_code, _headers = post_worksheet_match_non_blanks_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_merge(post_worksheet_merge_request, opts = {}) ⇒ Object

Merge cells in worksheet.



221
222
223
224
225
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 221

def post_worksheet_merge( post_worksheet_merge_request, opts = {})

   data, _status_code, _headers = post_worksheet_merge_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_picture(post_worksheet_picture_request, opts = {}) ⇒ Object

Updates a picture by index in worksheet.



1378
1379
1380
1381
1382
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1378

def post_worksheet_picture( post_worksheet_picture_request, opts = {})

   data, _status_code, _headers = post_worksheet_picture_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_pivot_table_calculate(post_worksheet_pivot_table_calculate_request, opts = {}) ⇒ Object

Calculates pivottable’s data to cells.



1512
1513
1514
1515
1516
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1512

def post_worksheet_pivot_table_calculate( post_worksheet_pivot_table_calculate_request, opts = {})

   data, _status_code, _headers = post_worksheet_pivot_table_calculate_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_pivot_table_move(post_worksheet_pivot_table_move_request, opts = {}) ⇒ Object

Moves pivot table in worksheet.



1520
1521
1522
1523
1524
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1520

def post_worksheet_pivot_table_move( post_worksheet_pivot_table_move_request, opts = {})

   data, _status_code, _headers = post_worksheet_pivot_table_move_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_range_sort(post_worksheet_range_sort_request, opts = {}) ⇒ Object

Sorts range in worksheet.



2270
2271
2272
2273
2274
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2270

def post_worksheet_range_sort( post_worksheet_range_sort_request, opts = {})

   data, _status_code, _headers = post_worksheet_range_sort_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_shape(post_worksheet_shape_request, opts = {}) ⇒ Object

Updates a shape in worksheet.



1747
1748
1749
1750
1751
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1747

def post_worksheet_shape( post_worksheet_shape_request, opts = {})

   data, _status_code, _headers = post_worksheet_shape_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_sparkline_group(post_worksheet_sparkline_group_request, opts = {}) ⇒ Object

Post worksheet sparkline group description.



1809
1810
1811
1812
1813
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1809

def post_worksheet_sparkline_group( post_worksheet_sparkline_group_request, opts = {})

   data, _status_code, _headers = post_worksheet_sparkline_group_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_text_search(post_worksheet_text_search_request, opts = {}) ⇒ Object

Searchs text in worksheet.



2254
2255
2256
2257
2258
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2254

def post_worksheet_text_search( post_worksheet_text_search_request, opts = {})

   data, _status_code, _headers = post_worksheet_text_search_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_ungroup_shape(post_worksheet_ungroup_shape_request, opts = {}) ⇒ Object



1761
1762
1763
1764
1765
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1761

def post_worksheet_ungroup_shape( post_worksheet_ungroup_shape_request, opts = {})

   data, _status_code, _headers = post_worksheet_ungroup_shape_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_unmerge(post_worksheet_unmerge_request, opts = {}) ⇒ Object

Unmerge cells in worksheet.



229
230
231
232
233
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 229

def post_worksheet_unmerge( post_worksheet_unmerge_request, opts = {})

   data, _status_code, _headers = post_worksheet_unmerge_request.create_http_request(@api_client,opts )
   return data
end

#post_worksheet_validation(post_worksheet_validation_request, opts = {}) ⇒ Object

Updates a validation by index in worksheet.



2412
2413
2414
2415
2416
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2412

def post_worksheet_validation( post_worksheet_validation_request, opts = {})

   data, _status_code, _headers = post_worksheet_validation_request.create_http_request(@api_client,opts )
   return data
end

#post_worsheet_text_replace(post_worsheet_text_replace_request, opts = {}) ⇒ Object

Replaces text in worksheet.



2262
2263
2264
2265
2266
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2262

def post_worsheet_text_replace( post_worsheet_text_replace_request, opts = {})

   data, _status_code, _headers = post_worsheet_text_replace_request.create_http_request(@api_client,opts )
   return data
end

#put_active_worksheet(put_active_worksheet_request, opts = {}) ⇒ Object

Active sheet



2103
2104
2105
2106
2107
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2103

def put_active_worksheet( put_active_worksheet_request, opts = {})

   data, _status_code, _headers = put_active_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#put_add_new_worksheet(put_add_new_worksheet_request, opts = {}) ⇒ Object

Adds new worksheet in workbook.



2119
2120
2121
2122
2123
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2119

def put_add_new_worksheet( put_add_new_worksheet_request, opts = {})

   data, _status_code, _headers = put_add_new_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#put_change_visibility_worksheet(put_change_visibility_worksheet_request, opts = {}) ⇒ Object

Changes worksheet visibility.



2095
2096
2097
2098
2099
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2095

def put_change_visibility_worksheet( put_change_visibility_worksheet_request, opts = {})

   data, _status_code, _headers = put_change_visibility_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#put_convert_workbook(put_convert_workbook_request, opts = {}) ⇒ Object

Converts workbook from request content to some format.



816
817
818
819
820
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 816

def put_convert_workbook( put_convert_workbook_request, opts = {})

   data, _status_code, _headers = put_convert_workbook_request.create_http_request(@api_client,opts )
   return data
end

#put_document_property(put_document_property_request, opts = {}) ⇒ Object

Sets/creates a sdocument property.



1576
1577
1578
1579
1580
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1576

def put_document_property( put_document_property_request, opts = {})

   data, _status_code, _headers = put_document_property_request.create_http_request(@api_client,opts )
   return data
end

#put_document_protect_from_changes(put_document_protect_from_changes_request, opts = {}) ⇒ Object

Protects document from changes.



1937
1938
1939
1940
1941
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1937

def put_document_protect_from_changes( put_document_protect_from_changes_request, opts = {})

   data, _status_code, _headers = put_document_protect_from_changes_request.create_http_request(@api_client,opts )
   return data
end

#put_horizontal_page_break(put_horizontal_page_break_request, opts = {}) ⇒ Object

Adds a horizontal page breaks in worksheet.



1258
1259
1260
1261
1262
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1258

def put_horizontal_page_break( put_horizontal_page_break_request, opts = {})

   data, _status_code, _headers = put_horizontal_page_break_request.create_http_request(@api_client,opts )
   return data
end

#put_insert_new_worksheet(put_insert_new_worksheet_request, opts = {}) ⇒ Object

Inserts new worksheet in workbook.



2111
2112
2113
2114
2115
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2111

def put_insert_new_worksheet( put_insert_new_worksheet_request, opts = {})

   data, _status_code, _headers = put_insert_new_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#put_insert_worksheet_columns(put_insert_worksheet_columns_request, opts = {}) ⇒ Object

Insert worksheet columns.



348
349
350
351
352
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 348

def put_insert_worksheet_columns( put_insert_worksheet_columns_request, opts = {})

   data, _status_code, _headers = put_insert_worksheet_columns_request.create_http_request(@api_client,opts )
   return data
end

#put_insert_worksheet_row(put_insert_worksheet_row_request, opts = {}) ⇒ Object

Inserts new row in worksheet.



449
450
451
452
453
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 449

def put_insert_worksheet_row( put_insert_worksheet_row_request, opts = {})

   data, _status_code, _headers = put_insert_worksheet_row_request.create_http_request(@api_client,opts )
   return data
end

#put_insert_worksheet_rows(put_insert_worksheet_rows_request, opts = {}) ⇒ Object



441
442
443
444
445
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 441

def put_insert_worksheet_rows( put_insert_worksheet_rows_request, opts = {})

   data, _status_code, _headers = put_insert_worksheet_rows_request.create_http_request(@api_client,opts )
   return data
end

#put_pivot_table_field(put_pivot_table_field_request, opts = {}) ⇒ Object

Adds a pivot field in pivot table



1450
1451
1452
1453
1454
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1450

def put_pivot_table_field( put_pivot_table_field_request, opts = {})

   data, _status_code, _headers = put_pivot_table_field_request.create_http_request(@api_client,opts )
   return data
end

#put_protect_worksheet(put_protect_worksheet_request, opts = {}) ⇒ Object

Protects worksheet.



2150
2151
2152
2153
2154
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2150

def put_protect_worksheet( put_protect_worksheet_request, opts = {})

   data, _status_code, _headers = put_protect_worksheet_request.create_http_request(@api_client,opts )
   return data
end

#put_vertical_page_break(put_vertical_page_break_request, opts = {}) ⇒ Object

Adds a vertical page break in worksheet.



1250
1251
1252
1253
1254
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1250

def put_vertical_page_break( put_vertical_page_break_request, opts = {})

   data, _status_code, _headers = put_vertical_page_break_request.create_http_request(@api_client,opts )
   return data
end

#put_workbook_background(put_workbook_background_request, opts = {}) ⇒ Object

Set workbook background.



2048
2049
2050
2051
2052
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2048

def put_workbook_background( put_workbook_background_request, opts = {})

   data, _status_code, _headers = put_workbook_background_request.create_http_request(@api_client,opts )
   return data
end

#put_workbook_create(put_workbook_create_request, opts = {}) ⇒ Object

Creates new workbook using deferent methods.



1985
1986
1987
1988
1989
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1985

def put_workbook_create( put_workbook_create_request, opts = {})

   data, _status_code, _headers = put_workbook_create_request.create_http_request(@api_client,opts )
   return data
end

#put_workbook_name(put_workbook_name_request, opts = {}) ⇒ Object

Defines a new name in workbook.



1889
1890
1891
1892
1893
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1889

def put_workbook_name( put_workbook_name_request, opts = {})

   data, _status_code, _headers = put_workbook_name_request.create_http_request(@api_client,opts )
   return data
end

#put_workbook_water_marker(put_workbook_water_marker_request, opts = {}) ⇒ Object

Set workbook water marker.



2064
2065
2066
2067
2068
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2064

def put_workbook_water_marker( put_workbook_water_marker_request, opts = {})

   data, _status_code, _headers = put_workbook_water_marker_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_add_chart(put_worksheet_add_chart_request, opts = {}) ⇒ Object

Adds new chart in worksheet.



570
571
572
573
574
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 570

def put_worksheet_add_chart( put_worksheet_add_chart_request, opts = {})

   data, _status_code, _headers = put_worksheet_add_chart_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_add_picture(put_worksheet_add_picture_request, opts = {}) ⇒ Object

Adds a new picture in worksheet.



1370
1371
1372
1373
1374
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1370

def put_worksheet_add_picture( put_worksheet_add_picture_request, opts = {})

   data, _status_code, _headers = put_worksheet_add_picture_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_background(put_worksheet_background_request, opts = {}) ⇒ Object

Sets background image in worksheet.



2301
2302
2303
2304
2305
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2301

def put_worksheet_background( put_worksheet_background_request, opts = {})

   data, _status_code, _headers = put_worksheet_background_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_cells_range(put_worksheet_cells_range_request, opts = {}) ⇒ Object

Inserts a range of cells and shift cells according to the shift option.



1691
1692
1693
1694
1695
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1691

def put_worksheet_cells_range( put_worksheet_cells_range_request, opts = {})

   data, _status_code, _headers = put_worksheet_cells_range_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_chart_legend(put_worksheet_chart_legend_request, opts = {}) ⇒ Object

Show chart legend in worksheet.



610
611
612
613
614
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 610

def put_worksheet_chart_legend( put_worksheet_chart_legend_request, opts = {})

   data, _status_code, _headers = put_worksheet_chart_legend_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_chart_title(put_worksheet_chart_title_request, opts = {}) ⇒ Object

Add chart title / Set chart title visible



650
651
652
653
654
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 650

def put_worksheet_chart_title( put_worksheet_chart_title_request, opts = {})

   data, _status_code, _headers = put_worksheet_chart_title_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_color_filter(put_worksheet_color_filter_request, opts = {}) ⇒ Object

Adds a color filter in worksheet.



96
97
98
99
100
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 96

def put_worksheet_color_filter( put_worksheet_color_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_color_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_comment(put_worksheet_comment_request, opts = {}) ⇒ Object

Adds cell comment in worksheet.



2190
2191
2192
2193
2194
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2190

def put_worksheet_comment( put_worksheet_comment_request, opts = {})

   data, _status_code, _headers = put_worksheet_comment_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_conditional_formatting(put_worksheet_conditional_formatting_request, opts = {}) ⇒ Object

Adds a condition formatting in worksheet.



752
753
754
755
756
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 752

def put_worksheet_conditional_formatting( put_worksheet_conditional_formatting_request, opts = {})

   data, _status_code, _headers = put_worksheet_conditional_formatting_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_custom_filter(put_worksheet_custom_filter_request, opts = {}) ⇒ Object

Filters a list with a custom criteria in worksheet.



72
73
74
75
76
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 72

def put_worksheet_custom_filter( put_worksheet_custom_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_custom_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_date_filter(put_worksheet_date_filter_request, opts = {}) ⇒ Object

Adds date filter in worksheet.



46
47
48
49
50
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 46

def put_worksheet_date_filter( put_worksheet_date_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_date_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_dynamic_filter(put_worksheet_dynamic_filter_request, opts = {}) ⇒ Object

Adds a dynamic filter in worksheet.



80
81
82
83
84
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 80

def put_worksheet_dynamic_filter( put_worksheet_dynamic_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_dynamic_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_filter(put_worksheet_filter_request, opts = {}) ⇒ Object

Adds a filter for a filter column in worksheet.



55
56
57
58
59
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 55

def put_worksheet_filter( put_worksheet_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_filter_top10(put_worksheet_filter_top10_request, opts = {}) ⇒ Object

Filters the top 10 item in the list in worksheet



88
89
90
91
92
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 88

def put_worksheet_filter_top10( put_worksheet_filter_top10_request, opts = {})

   data, _status_code, _headers = put_worksheet_filter_top10_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_format_condition(put_worksheet_format_condition_request, opts = {}) ⇒ Object

Adds a format condition in worksheet.



760
761
762
763
764
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 760

def put_worksheet_format_condition( put_worksheet_format_condition_request, opts = {})

   data, _status_code, _headers = put_worksheet_format_condition_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_format_condition_area(put_worksheet_format_condition_area_request, opts = {}) ⇒ Object

Adds a cell area for format condition.



768
769
770
771
772
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 768

def put_worksheet_format_condition_area( put_worksheet_format_condition_area_request, opts = {})

   data, _status_code, _headers = put_worksheet_format_condition_area_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_format_condition_condition(put_worksheet_format_condition_condition_request, opts = {}) ⇒ Object

Adds a condition for format condition.



776
777
778
779
780
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 776

def put_worksheet_format_condition_condition( put_worksheet_format_condition_condition_request, opts = {})

   data, _status_code, _headers = put_worksheet_format_condition_condition_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_freeze_panes(put_worksheet_freeze_panes_request, opts = {}) ⇒ Object

Sets freeze panes in worksheet.



2317
2318
2319
2320
2321
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2317

def put_worksheet_freeze_panes( put_worksheet_freeze_panes_request, opts = {})

   data, _status_code, _headers = put_worksheet_freeze_panes_request.create_http_request(@api_client,opts )
   return data
end

Adds hyperlink in worksheet.



927
928
929
930
931
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 927

def put_worksheet_hyperlink( put_worksheet_hyperlink_request, opts = {})

   data, _status_code, _headers = put_worksheet_hyperlink_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_icon_filter(put_worksheet_icon_filter_request, opts = {}) ⇒ Object

Adds an icon filter in worksheet.



63
64
65
66
67
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 63

def put_worksheet_icon_filter( put_worksheet_icon_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_icon_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_list_object(put_worksheet_list_object_request, opts = {}) ⇒ Object

Adds a list object in worksheet.



1098
1099
1100
1101
1102
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1098

def put_worksheet_list_object( put_worksheet_list_object_request, opts = {})

   data, _status_code, _headers = put_worksheet_list_object_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_ole_object(put_worksheet_ole_object_request, opts = {}) ⇒ Object

Add an OLE object in worksheet.



1210
1211
1212
1213
1214
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1210

def put_worksheet_ole_object( put_worksheet_ole_object_request, opts = {})

   data, _status_code, _headers = put_worksheet_ole_object_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_pivot_table(put_worksheet_pivot_table_request, opts = {}) ⇒ Object

Adds a pivot table in worksheet.



1442
1443
1444
1445
1446
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1442

def put_worksheet_pivot_table( put_worksheet_pivot_table_request, opts = {})

   data, _status_code, _headers = put_worksheet_pivot_table_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_pivot_table_filter(put_worksheet_pivot_table_filter_request, opts = {}) ⇒ Object

Adds a pivot filter for piovt table index



1458
1459
1460
1461
1462
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1458

def put_worksheet_pivot_table_filter( put_worksheet_pivot_table_filter_request, opts = {})

   data, _status_code, _headers = put_worksheet_pivot_table_filter_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_shape(put_worksheet_shape_request, opts = {}) ⇒ Object

Adds shape in worksheet.



1723
1724
1725
1726
1727
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1723

def put_worksheet_shape( put_worksheet_shape_request, opts = {})

   data, _status_code, _headers = put_worksheet_shape_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_sparkline_group(put_worksheet_sparkline_group_request, opts = {}) ⇒ Object

Put worksheet sparkline group description.



1801
1802
1803
1804
1805
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 1801

def put_worksheet_sparkline_group( put_worksheet_sparkline_group_request, opts = {})

   data, _status_code, _headers = put_worksheet_sparkline_group_request.create_http_request(@api_client,opts )
   return data
end

#put_worksheet_validation(put_worksheet_validation_request, opts = {}) ⇒ Object

Adds a validation at index in worksheet.



2404
2405
2406
2407
2408
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2404

def put_worksheet_validation( put_worksheet_validation_request, opts = {})

   data, _status_code, _headers = put_worksheet_validation_request.create_http_request(@api_client,opts )
   return data
end

#storage_exists(storage_exists_request, opts = {}) ⇒ Object



2524
2525
2526
2527
2528
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2524

def storage_exists( storage_exists_request, opts = {})

   data, _status_code, _headers = storage_exists_request.create_http_request(@api_client,opts )
   return data
end

#storage_exists_(storage_name, opts = {}) ⇒ StorageExist

Check if storage exists

Parameters:

  • storage_name

    Storage name

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



25130
25131
25132
25133
25134
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25130

def storage_exists_(storage_name, opts = {})
  warn "Warning: #storage_exists() is deprecated."
  data, _status_code, _headers = storage_exists_with_http_info(storage_name, opts)
  return data
end

#storage_exists_with_http_info(storage_name, opts = {}) ⇒ Array<(StorageExist, Fixnum, Hash)>

Check if storage exists

Parameters:

  • storage_name

    Storage name

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:

  • (Array<(StorageExist, Fixnum, Hash)>)

    StorageExist data, response status code and response headers



25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25141

def storage_exists_with_http_info(storage_name, opts = {})
  warn "Warning: #storage_exists_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.storage_exists ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'storage_name' is set
  if @api_client.config.client_side_validation && storage_name.nil?
    fail ArgumentError, "Missing the required parameter 'storage_name' when calling CellsApi.storage_exists"
  end
  # resource path
  local_var_path = "/cells/storage/{storageName}/exist".sub('{' + 'storageName' + '}', storage_name.to_s)

  # query parameters
  query_params = {}

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])

  # form parameters
  form_params = {}

  # http body (model)
  post_body = nil
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:GET, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'StorageExist')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#storage_exists\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end

#upload_file(upload_file_request, opts = {}) ⇒ Object



2461
2462
2463
2464
2465
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 2461

def upload_file( upload_file_request, opts = {})

   data, _status_code, _headers = upload_file_request.create_http_request(@api_client,opts )
   return data
end

#upload_file_(path, file, opts = {}) ⇒ FilesUploadResult

Upload file

Parameters:

  • path

    Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:



25191
25192
25193
25194
25195
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25191

def upload_file_(path, file, opts = {})
  warn "Warning: #upload_file() is deprecated."
  data, _status_code, _headers = upload_file_with_http_info(path, file, opts)
  return data
end

#upload_file_with_http_info(path, file, opts = {}) ⇒ Array<(FilesUploadResult, Fixnum, Hash)>

Upload file

Parameters:

  • path

    Path where to upload including filename and extension e.g. /file.ext or /Folder 1/file.ext If the content is multipart and path does not contains the file name it tries to get them from filename parameter from Content-Disposition header.

  • file

    File to upload

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

  • :storage_name (String)

    Storage name

Returns:

  • (Array<(FilesUploadResult, Fixnum, Hash)>)

    FilesUploadResult data, response status code and response headers



25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
# File 'lib/aspose_cells_cloud/api/cells_api.rb', line 25204

def upload_file_with_http_info(path, file, opts = {})
  warn "Warning: #upload_file_with_http_info() is deprecated."
  if @api_client.config.debugging
    @api_client.config.logger.debug "Calling API: CellsApi.upload_file ..."
  end
  @api_client.request_token_if_needed
  # verify the required parameter 'path' is set
  if @api_client.config.client_side_validation && path.nil?
    fail ArgumentError, "Missing the required parameter 'path' when calling CellsApi.upload_file"
  end
  # verify the required parameter 'file' is set
  if @api_client.config.client_side_validation && file.nil?
    fail ArgumentError, "Missing the required parameter 'file' when calling CellsApi.upload_file"
  end
  # resource path
  local_var_path = "/cells/storage/file/{path}".sub('{' + 'path' + '}', path.to_s)

  # query parameters
  query_params = {}
  query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?

  # header parameters
  header_params = {}
  # HTTP header 'Accept' (if needed)
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
  # HTTP header 'Content-Type'
  header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])

  # form parameters
  form_params = {}

  # http body (model)
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/octet-stream'])
  post_body =file
  #auth_names = []
  auth_names = ['JWT']
  data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
    :header_params => header_params,
    :query_params => query_params,
    :form_params => form_params,
    :body => post_body,
    :auth_names => auth_names,
    :return_type => 'FilesUploadResult')
  if @api_client.config.debugging
    @api_client.config.logger.debug "API called: CellsApi#upload_file\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
  end
  return data, status_code, headers
end