Skip to content

Commit 742a023

Browse files
committed
Release Aspose.Cells Cloud SDK 21.1
1 parent 8740768 commit 742a023

File tree

255 files changed

+713
-256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+713
-256
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/20.11)
1+
![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/21.1)
22

33

44
# Ruby SDK for Spreadsheet Processing in the Cloud
@@ -21,9 +21,10 @@ Ruby Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate Mic
2121
- Convert worksheets to PDF, XPS & SVG formats.
2222
- [Convert Excel files to popular formats](https://docs.aspose.cloud/cells/convert-excel-workbook-to-different-file-formats/).
2323

24-
## Feature & Enhancements in Version 20.11
24+
## Feature & Enhancements in Version 21.1
2525

26-
- Support Aspose.Cells Cloud for Docker.
26+
- Support to convert worksheet on task API.
27+
- Support to add and delete cell or range in worksheet.
2728

2829
## Read & Write Spreadsheet Formats
2930

lib/aspose_cells_cloud.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights
@@ -159,6 +159,7 @@
159159
require 'aspose_cells_cloud/models/conditional_formattings'
160160
require 'aspose_cells_cloud/models/conditional_formattings_response'
161161
require 'aspose_cells_cloud/models/convert_task_parameter'
162+
require 'aspose_cells_cloud/models/convert_worksheet_task_parameter'
162163
require 'aspose_cells_cloud/models/dif_save_options'
163164
require 'aspose_cells_cloud/models/file_version'
164165
require 'aspose_cells_cloud/models/fill_format_response'

lib/aspose_cells_cloud/api/cells_api.rb

Lines changed: 167 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights
@@ -12158,6 +12158,89 @@ def cells_put_insert_worksheet_rows_with_http_info(name, sheet_name, startrow, o
1215812158
return data, status_code, headers
1215912159
end
1216012160

12161+
# Delete range in the worksheet
12162+
#
12163+
# @param name workbook name
12164+
# @param sheet_name worksheet name
12165+
# @param range range
12166+
# @param shift Represent the shift options when deleting a range of cells. (Left,Up)
12167+
# @param [Hash] opts the optional parameters
12168+
# @option opts [String] :folder Workbook folder.
12169+
# @option opts [String] :storage_name storage name.
12170+
# @return [CellsCloudResponse]
12171+
def cells_ranges_delete_worksheet_cells_range(name, sheet_name, range, shift, opts = {})
12172+
data, _status_code, _headers = cells_ranges_delete_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts)
12173+
return data
12174+
end
12175+
12176+
# Delete range in the worksheet
12177+
#
12178+
# @param name workbook name
12179+
# @param sheet_name worksheet name
12180+
# @param range range
12181+
# @param shift Represent the shift options when deleting a range of cells. (Left,Up)
12182+
# @param [Hash] opts the optional parameters
12183+
# @option opts [String] :folder Workbook folder.
12184+
# @option opts [String] :storage_name storage name.
12185+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
12186+
def cells_ranges_delete_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts = {})
12187+
if @api_client.config.debugging
12188+
@api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_delete_worksheet_cells_range ..."
12189+
end
12190+
@api_client.request_token_if_needed
12191+
# verify the required parameter 'name' is set
12192+
if @api_client.config.client_side_validation && name.nil?
12193+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
12194+
end
12195+
# verify the required parameter 'sheet_name' is set
12196+
if @api_client.config.client_side_validation && sheet_name.nil?
12197+
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
12198+
end
12199+
# verify the required parameter 'range' is set
12200+
if @api_client.config.client_side_validation && range.nil?
12201+
fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
12202+
end
12203+
# verify the required parameter 'shift' is set
12204+
if @api_client.config.client_side_validation && shift.nil?
12205+
fail ArgumentError, "Missing the required parameter 'shift' when calling CellsApi.cells_ranges_delete_worksheet_cells_range"
12206+
end
12207+
# resource path
12208+
local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
12209+
12210+
# query parameters
12211+
query_params = {}
12212+
query_params[:'range'] = range
12213+
query_params[:'shift'] = shift
12214+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
12215+
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
12216+
12217+
# header parameters
12218+
header_params = {}
12219+
# HTTP header 'Accept' (if needed)
12220+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
12221+
# HTTP header 'Content-Type'
12222+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
12223+
12224+
# form parameters
12225+
form_params = {}
12226+
12227+
# http body (model)
12228+
post_body = nil
12229+
#auth_names = []
12230+
auth_names = ['JWT']
12231+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
12232+
:header_params => header_params,
12233+
:query_params => query_params,
12234+
:form_params => form_params,
12235+
:body => post_body,
12236+
:auth_names => auth_names,
12237+
:return_type => 'CellsCloudResponse')
12238+
if @api_client.config.debugging
12239+
@api_client.config.logger.debug "API called: CellsApi#cells_ranges_delete_worksheet_cells_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12240+
end
12241+
return data, status_code, headers
12242+
end
12243+
1216112244
# Get cells list in a range by range name or row column indexes
1216212245
#
1216312246
# @param name workbook name
@@ -12922,6 +13005,89 @@ def cells_ranges_post_worksheet_cells_ranges_with_http_info(name, sheet_name, op
1292213005
return data, status_code, headers
1292313006
end
1292413007

13008+
# Insert range in the worksheet
13009+
#
13010+
# @param name workbook name
13011+
# @param sheet_name worksheet name
13012+
# @param range range
13013+
# @param shift Represent the shift options when deleting a range of cells. (Right,Down)
13014+
# @param [Hash] opts the optional parameters
13015+
# @option opts [String] :folder Workbook folder.
13016+
# @option opts [String] :storage_name storage name.
13017+
# @return [CellsCloudResponse]
13018+
def cells_ranges_put_worksheet_cells_range(name, sheet_name, range, shift, opts = {})
13019+
data, _status_code, _headers = cells_ranges_put_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts)
13020+
return data
13021+
end
13022+
13023+
# Insert range in the worksheet
13024+
#
13025+
# @param name workbook name
13026+
# @param sheet_name worksheet name
13027+
# @param range range
13028+
# @param shift Represent the shift options when deleting a range of cells. (Right,Down)
13029+
# @param [Hash] opts the optional parameters
13030+
# @option opts [String] :folder Workbook folder.
13031+
# @option opts [String] :storage_name storage name.
13032+
# @return [Array<(CellsCloudResponse, Fixnum, Hash)>] CellsCloudResponse data, response status code and response headers
13033+
def cells_ranges_put_worksheet_cells_range_with_http_info(name, sheet_name, range, shift, opts = {})
13034+
if @api_client.config.debugging
13035+
@api_client.config.logger.debug "Calling API: CellsApi.cells_ranges_put_worksheet_cells_range ..."
13036+
end
13037+
@api_client.request_token_if_needed
13038+
# verify the required parameter 'name' is set
13039+
if @api_client.config.client_side_validation && name.nil?
13040+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
13041+
end
13042+
# verify the required parameter 'sheet_name' is set
13043+
if @api_client.config.client_side_validation && sheet_name.nil?
13044+
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
13045+
end
13046+
# verify the required parameter 'range' is set
13047+
if @api_client.config.client_side_validation && range.nil?
13048+
fail ArgumentError, "Missing the required parameter 'range' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
13049+
end
13050+
# verify the required parameter 'shift' is set
13051+
if @api_client.config.client_side_validation && shift.nil?
13052+
fail ArgumentError, "Missing the required parameter 'shift' when calling CellsApi.cells_ranges_put_worksheet_cells_range"
13053+
end
13054+
# resource path
13055+
local_var_path = "/cells/{name}/worksheets/{sheetName}/ranges".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
13056+
13057+
# query parameters
13058+
query_params = {}
13059+
query_params[:'range'] = range
13060+
query_params[:'shift'] = shift
13061+
query_params[:'folder'] = opts[:'folder'] if !opts[:'folder'].nil?
13062+
query_params[:'storageName'] = opts[:'storage_name'] if !opts[:'storage_name'].nil?
13063+
13064+
# header parameters
13065+
header_params = {}
13066+
# HTTP header 'Accept' (if needed)
13067+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
13068+
# HTTP header 'Content-Type'
13069+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
13070+
13071+
# form parameters
13072+
form_params = {}
13073+
13074+
# http body (model)
13075+
post_body = nil
13076+
#auth_names = []
13077+
auth_names = ['JWT']
13078+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
13079+
:header_params => header_params,
13080+
:query_params => query_params,
13081+
:form_params => form_params,
13082+
:body => post_body,
13083+
:auth_names => auth_names,
13084+
:return_type => 'CellsCloudResponse')
13085+
if @api_client.config.debugging
13086+
@api_client.config.logger.debug "API called: CellsApi#cells_ranges_put_worksheet_cells_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13087+
end
13088+
return data, status_code, headers
13089+
end
13090+
1292513091
# Convert document and save result to storage.
1292613092
#
1292713093
# @param name The document name.

lib/aspose_cells_cloud/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

lib/aspose_cells_cloud/api_error.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

lib/aspose_cells_cloud/configuration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

lib/aspose_cells_cloud/models/above_average.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

lib/aspose_cells_cloud/models/access_token_response.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

lib/aspose_cells_cloud/models/area.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

lib/aspose_cells_cloud/models/auto_filter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=begin
22
--------------------------------------------------------------------------------------------------------------------
3-
Copyright (c) 2020 Aspose.Cells Cloud
3+
Copyright (c) 2021 Aspose.Cells Cloud
44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal
66
in the Software without restriction, including without limitation the rights

0 commit comments

Comments
 (0)