aspose_cells_cloud 26.2 → 26.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -16
- data/lib/aspose_cells_cloud/api/cells_api.rb +14 -0
- data/lib/aspose_cells_cloud/requests/accept_all_revisions_in_remote_spreadsheet_request.rb +158 -0
- data/lib/aspose_cells_cloud/requests/accept_all_revisions_request.rb +146 -0
- data/lib/aspose_cells_cloud/requests/split_table_request.rb +12 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +2 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d19bf5eaf6755c9e6c367be8ea2b9f438b7c85217c5c011a8ba03564ca535e93
|
|
4
|
+
data.tar.gz: 6b0d567fad83de5651ba8d5c956aaa558b78c633b614748f21a846ce49d77030
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8884b434584f4c7d19353908e65a91e5bbc674ac3dec3a4aeec793b405e7a097339d2c9e1cf96845c11e26846bd0843d9ddd8cee477df7aaf2feab995587c1b9
|
|
7
|
+
data.tar.gz: d4fd9a57232675eb4c46a47deb84ebcc7ec2b619ae2982690fbf56d39711071388690ce712e77dcdff6c284a28dcd6886d1768e3e10683da0165a5c9f5588d9c
|
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
 [](https://products.aspose.cloud/cells/ruby/) [](https://docs.aspose.cloud/cells/) [](https://reference.aspose.cloud/cells/) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-perl/tree/master/Examples) [](https://blog.aspose.cloud/categories/aspose.cells-cloud-product-family/) [](https://forum.aspose.cloud/c/cells/7) [](https://rubygems.org/gems/aspose_cells_cloud) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/archive/refs/heads/master.zip) [](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) 
|
|
2
2
|
|
|
3
3
|
[Aspose.Cells Cloud SDK for Ruby](https://products.aspose.cloud/cells/ruby) is a cloud-native REST API that enables Ruby developers to **create**, **read**, **edit**, **convert**, and **repair** spreadsheet files—including **Excel** (**XLS**, **XLSX**, **XLSB**, **XLSM**), **OpenDocument Spreadsheet (ODS**), **CSV**, **TSV**, **JSON**, **HTML**, **PDF**, and **more—without requiring Microsoft Excel or Office to be installed**.
|
|
4
4
|
|
|
@@ -22,7 +22,7 @@ To begin with Aspose.Cells Cloud, here's what you need to do:
|
|
|
22
22
|
- execute the following command to get the latest Gem package.
|
|
23
23
|
|
|
24
24
|
```console
|
|
25
|
-
gem 'aspose_cells_cloud', '~> 26.
|
|
25
|
+
gem 'aspose_cells_cloud', '~> 26.3.1'
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
or install directly
|
|
@@ -157,24 +157,15 @@ graph TB
|
|
|
157
157
|
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
|
|
158
158
|
- Security Management: Offers a range of security features like data encryption, access control, and permission management to safeguard the security and integrity of spreadsheet data.
|
|
159
159
|
|
|
160
|
-
## Feature & Enhancements in Version v26.
|
|
160
|
+
## Feature & Enhancements in Version v26.3.1
|
|
161
161
|
|
|
162
162
|
Full list of issues covering all changes in this release:
|
|
163
163
|
|
|
164
164
|
| **Summary** | **Category** |
|
|
165
165
|
| :------------------------------------------------------------------------------------------------------------ | :----------- |
|
|
166
|
-
|
|
|
167
|
-
|
|
|
168
|
-
| Support
|
|
169
|
-
| Support getting worksheets with the spreadsheet | New Feature |
|
|
170
|
-
| Support getting all text items from the spreadsheet. | New Feature |
|
|
171
|
-
| Support getting all merged cell areas from the spreadsheet. | New Feature |
|
|
172
|
-
| The TranslationSpreadsheet API has been modified to support multiple input and output formats. | New Feature |
|
|
173
|
-
| The TranslateTextFile API has been updated to support the translation of plain text content other than files. | New Feature |
|
|
174
|
-
| Enhancing the Get Workbook function when only a data stream is available. | New Feature |
|
|
175
|
-
| Enhance MaxResponseBufferSize for Aspose.Cells Cloud | Improvement |
|
|
176
|
-
| Format exception about converting table to html API | Bug |
|
|
177
|
-
| Build error in the From Body parameter description in the code generation specification. | Bug |
|
|
166
|
+
| Enhancing the DecomposeUserTask API of Aspose Cells Cloud. | Task |
|
|
167
|
+
| Optimize the APIs related to document splitting | Improvement |
|
|
168
|
+
| Support the accept all revisions feature for share Excel file. | New Feature |
|
|
178
169
|
|
|
179
170
|
## Available SDKs
|
|
180
171
|
|
|
@@ -197,4 +188,4 @@ The Aspose.Cells Cloud SDK is available in multiple popular programming language
|
|
|
197
188
|
[](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby) [](https://rubygems.org/gems/aspose_cells_cloud)
|
|
198
189
|
|
|
199
190
|
## [Release history version](CHANGELOG.md)
|
|
200
|
-
```
|
|
191
|
+
```
|
|
@@ -496,6 +496,20 @@ module AsposeCellsCloud
|
|
|
496
496
|
return data
|
|
497
497
|
end
|
|
498
498
|
|
|
499
|
+
|
|
500
|
+
def accept_all_revisions( accept_all_revisions_request, opts = {})
|
|
501
|
+
|
|
502
|
+
data, _status_code, _headers = accept_all_revisions_request.create_http_request(@api_client,opts )
|
|
503
|
+
return data
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
def accept_all_revisions_in_remote_spreadsheet( accept_all_revisions_in_remote_spreadsheet_request, opts = {})
|
|
508
|
+
|
|
509
|
+
data, _status_code, _headers = accept_all_revisions_in_remote_spreadsheet_request.create_http_request(@api_client,opts )
|
|
510
|
+
return data
|
|
511
|
+
end
|
|
512
|
+
|
|
499
513
|
# Applies dual-layer password protection to Excel spreadsheets, supporting both open and modify passwords with encryption.
|
|
500
514
|
|
|
501
515
|
def protect_spreadsheet( protect_spreadsheet_request, opts = {})
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
+
<copyright company="Aspose" file="AcceptAllRevisionsInRemoteSpreadsheet_request.rb.cs">
|
|
4
|
+
Copyright (c) 2026 Aspose.Cells Cloud
|
|
5
|
+
</copyright>
|
|
6
|
+
<summary>
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
24
|
+
</summary>
|
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
26
|
+
=end
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require "uri"
|
|
30
|
+
|
|
31
|
+
module AsposeCellsCloud
|
|
32
|
+
class AcceptAllRevisionsInRemoteSpreadsheetRequest
|
|
33
|
+
|
|
34
|
+
attr_accessor :name
|
|
35
|
+
attr_accessor :folder
|
|
36
|
+
attr_accessor :storage_name
|
|
37
|
+
attr_accessor :out_path
|
|
38
|
+
attr_accessor :out_storage_name
|
|
39
|
+
attr_accessor :fonts_location
|
|
40
|
+
attr_accessor :region
|
|
41
|
+
attr_accessor :password
|
|
42
|
+
|
|
43
|
+
def initialize(attributes = {})
|
|
44
|
+
return unless attributes.is_a?(Hash)
|
|
45
|
+
|
|
46
|
+
# convert string to symbol for hash key
|
|
47
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
48
|
+
|
|
49
|
+
if attributes.has_key?(:'name')
|
|
50
|
+
self.name = attributes[:'name']
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
if attributes.has_key?(:'folder')
|
|
54
|
+
self.folder = attributes[:'folder']
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
if attributes.has_key?(:'storageName')
|
|
58
|
+
self.storage_name = attributes[:'storageName']
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
if attributes.has_key?(:'outPath')
|
|
62
|
+
self.out_path = attributes[:'outPath']
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
if attributes.has_key?(:'outStorageName')
|
|
66
|
+
self.out_storage_name = attributes[:'outStorageName']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.has_key?(:'fontsLocation')
|
|
70
|
+
self.fonts_location = attributes[:'fontsLocation']
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
if attributes.has_key?(:'region')
|
|
74
|
+
self.region = attributes[:'region']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.has_key?(:'password')
|
|
78
|
+
self.password = attributes[:'password']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
end
|
|
82
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
83
|
+
def self.attribute_map
|
|
84
|
+
{
|
|
85
|
+
:'name' => :'name',
|
|
86
|
+
:'folder' => :'folder',
|
|
87
|
+
:'storage_name' => :'storageName',
|
|
88
|
+
:'out_path' => :'outPath',
|
|
89
|
+
:'out_storage_name' => :'outStorageName',
|
|
90
|
+
:'fonts_location' => :'fontsLocation',
|
|
91
|
+
:'region' => :'region',
|
|
92
|
+
:'password' => :'password'
|
|
93
|
+
}
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
# Attribute type mapping.
|
|
97
|
+
def self.swagger_types
|
|
98
|
+
{
|
|
99
|
+
:'name' => :'String',
|
|
100
|
+
:'folder' => :'String',
|
|
101
|
+
:'storage_name' => :'String',
|
|
102
|
+
:'out_path' => :'String',
|
|
103
|
+
:'out_storage_name' => :'String',
|
|
104
|
+
:'fonts_location' => :'String',
|
|
105
|
+
:'region' => :'String',
|
|
106
|
+
:'password' => :'String'
|
|
107
|
+
}
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def create_http_request(api_client,opts = {})
|
|
111
|
+
if api_client.config.debugging
|
|
112
|
+
api_client.config.logger.debug "Calling API: CellsApi.accept_all_revisions_in_remote_spreadsheet ..."
|
|
113
|
+
end
|
|
114
|
+
api_client.request_token_if_needed
|
|
115
|
+
# verify the required parameter 'name' is set
|
|
116
|
+
if api_client.config.client_side_validation && name.nil?
|
|
117
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.accept_all_revisions_in_remote_spreadsheet "
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# resource path
|
|
121
|
+
local_var_path = "v4.0/cells/{name}/accept-all-revisions".sub('{' + 'name' + '}', name.to_s)
|
|
122
|
+
# query parameters
|
|
123
|
+
query_params = {}
|
|
124
|
+
query_params[:'folder'] = self.folder if !self.folder.nil?
|
|
125
|
+
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
|
126
|
+
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
127
|
+
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
128
|
+
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
129
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
|
130
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
|
131
|
+
|
|
132
|
+
# header parameters
|
|
133
|
+
header_params = {}
|
|
134
|
+
# HTTP header 'Accept' (if needed)
|
|
135
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
|
136
|
+
# HTTP header 'Content-Type'
|
|
137
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
|
138
|
+
|
|
139
|
+
# form parameters
|
|
140
|
+
form_params = {}
|
|
141
|
+
post_body = nil
|
|
142
|
+
|
|
143
|
+
#auth_names = []
|
|
144
|
+
auth_names = ['JWT']
|
|
145
|
+
data, status_code, headers = api_client.call_api(:PUT, local_var_path,
|
|
146
|
+
:header_params => header_params,
|
|
147
|
+
:query_params => query_params,
|
|
148
|
+
:form_params => form_params,
|
|
149
|
+
:body => post_body,
|
|
150
|
+
:auth_names => auth_names,
|
|
151
|
+
:return_type => 'File')
|
|
152
|
+
if api_client.config.debugging
|
|
153
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.accept_all_revisions_in_remote_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
154
|
+
end
|
|
155
|
+
return data, status_code, headers
|
|
156
|
+
end
|
|
157
|
+
end
|
|
158
|
+
end
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
+
<copyright company="Aspose" file="AcceptAllRevisions_request.rb.cs">
|
|
4
|
+
Copyright (c) 2026 Aspose.Cells Cloud
|
|
5
|
+
</copyright>
|
|
6
|
+
<summary>
|
|
7
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
8
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
9
|
+
in the Software without restriction, including without limitation the rights
|
|
10
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
11
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
12
|
+
furnished to do so, subject to the following conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be included in all
|
|
15
|
+
copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
18
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
19
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
20
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
21
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
22
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
23
|
+
SOFTWARE.
|
|
24
|
+
</summary>
|
|
25
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
26
|
+
=end
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
require "uri"
|
|
30
|
+
|
|
31
|
+
module AsposeCellsCloud
|
|
32
|
+
class AcceptAllRevisionsRequest
|
|
33
|
+
|
|
34
|
+
attr_accessor :spreadsheet
|
|
35
|
+
attr_accessor :out_path
|
|
36
|
+
attr_accessor :out_storage_name
|
|
37
|
+
attr_accessor :fonts_location
|
|
38
|
+
attr_accessor :region
|
|
39
|
+
attr_accessor :password
|
|
40
|
+
|
|
41
|
+
def initialize(attributes = {})
|
|
42
|
+
return unless attributes.is_a?(Hash)
|
|
43
|
+
|
|
44
|
+
# convert string to symbol for hash key
|
|
45
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
46
|
+
|
|
47
|
+
if attributes.has_key?(:'Spreadsheet')
|
|
48
|
+
self.spreadsheet = attributes[:'Spreadsheet']
|
|
49
|
+
end
|
|
50
|
+
|
|
51
|
+
if attributes.has_key?(:'outPath')
|
|
52
|
+
self.out_path = attributes[:'outPath']
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
if attributes.has_key?(:'outStorageName')
|
|
56
|
+
self.out_storage_name = attributes[:'outStorageName']
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
if attributes.has_key?(:'fontsLocation')
|
|
60
|
+
self.fonts_location = attributes[:'fontsLocation']
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
if attributes.has_key?(:'region')
|
|
64
|
+
self.region = attributes[:'region']
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
if attributes.has_key?(:'password')
|
|
68
|
+
self.password = attributes[:'password']
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
end
|
|
72
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
73
|
+
def self.attribute_map
|
|
74
|
+
{
|
|
75
|
+
:'spreadsheet' => :'Spreadsheet',
|
|
76
|
+
:'out_path' => :'outPath',
|
|
77
|
+
:'out_storage_name' => :'outStorageName',
|
|
78
|
+
:'fonts_location' => :'fontsLocation',
|
|
79
|
+
:'region' => :'region',
|
|
80
|
+
:'password' => :'password'
|
|
81
|
+
}
|
|
82
|
+
end
|
|
83
|
+
|
|
84
|
+
# Attribute type mapping.
|
|
85
|
+
def self.swagger_types
|
|
86
|
+
{
|
|
87
|
+
:'spreadsheet' => :'String',
|
|
88
|
+
:'out_path' => :'String',
|
|
89
|
+
:'out_storage_name' => :'String',
|
|
90
|
+
:'fonts_location' => :'String',
|
|
91
|
+
:'region' => :'String',
|
|
92
|
+
:'password' => :'String'
|
|
93
|
+
}
|
|
94
|
+
end
|
|
95
|
+
|
|
96
|
+
def create_http_request(api_client,opts = {})
|
|
97
|
+
if api_client.config.debugging
|
|
98
|
+
api_client.config.logger.debug "Calling API: CellsApi.accept_all_revisions ..."
|
|
99
|
+
end
|
|
100
|
+
api_client.request_token_if_needed
|
|
101
|
+
# verify the required parameter 'spreadsheet' is set
|
|
102
|
+
if api_client.config.client_side_validation && spreadsheet.nil?
|
|
103
|
+
fail ArgumentError, "Missing the required parameter 'spreadsheet' when calling CellsApi.accept_all_revisions "
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# resource path
|
|
107
|
+
local_var_path = "v4.0/cells/spreadsheet/accept-all-revisions"
|
|
108
|
+
# query parameters
|
|
109
|
+
query_params = {}
|
|
110
|
+
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
111
|
+
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
112
|
+
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
113
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
|
114
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
|
115
|
+
|
|
116
|
+
# header parameters
|
|
117
|
+
header_params = {}
|
|
118
|
+
# HTTP header 'Accept' (if needed)
|
|
119
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
|
120
|
+
# HTTP header 'Content-Type'
|
|
121
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
|
122
|
+
|
|
123
|
+
# form parameters
|
|
124
|
+
form_params = {}
|
|
125
|
+
post_body = nil
|
|
126
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
127
|
+
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
128
|
+
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
#auth_names = []
|
|
132
|
+
auth_names = ['JWT']
|
|
133
|
+
data, status_code, headers = api_client.call_api(:PUT, local_var_path,
|
|
134
|
+
:header_params => header_params,
|
|
135
|
+
:query_params => query_params,
|
|
136
|
+
:form_params => form_params,
|
|
137
|
+
:body => post_body,
|
|
138
|
+
:auth_names => auth_names,
|
|
139
|
+
:return_type => 'File')
|
|
140
|
+
if api_client.config.debugging
|
|
141
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.accept_all_revisions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
142
|
+
end
|
|
143
|
+
return data, status_code, headers
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
end
|
|
@@ -36,6 +36,7 @@ module AsposeCellsCloud
|
|
|
36
36
|
attr_accessor :table_name
|
|
37
37
|
attr_accessor :split_column_name
|
|
38
38
|
attr_accessor :save_split_column
|
|
39
|
+
attr_accessor :split_row_number
|
|
39
40
|
attr_accessor :to_new_workbook
|
|
40
41
|
attr_accessor :to_multiple_files
|
|
41
42
|
attr_accessor :out_path
|
|
@@ -70,6 +71,10 @@ module AsposeCellsCloud
|
|
|
70
71
|
self.save_split_column = attributes[:'saveSplitColumn']
|
|
71
72
|
end
|
|
72
73
|
|
|
74
|
+
if attributes.has_key?(:'splitRowNumber')
|
|
75
|
+
self.split_row_number = attributes[:'splitRowNumber']
|
|
76
|
+
end
|
|
77
|
+
|
|
73
78
|
if attributes.has_key?(:'toNewWorkbook')
|
|
74
79
|
self.to_new_workbook = attributes[:'toNewWorkbook']
|
|
75
80
|
end
|
|
@@ -107,6 +112,7 @@ module AsposeCellsCloud
|
|
|
107
112
|
:'table_name' => :'tableName',
|
|
108
113
|
:'split_column_name' => :'splitColumnName',
|
|
109
114
|
:'save_split_column' => :'saveSplitColumn',
|
|
115
|
+
:'split_row_number' => :'splitRowNumber',
|
|
110
116
|
:'to_new_workbook' => :'toNewWorkbook',
|
|
111
117
|
:'to_multiple_files' => :'toMultipleFiles',
|
|
112
118
|
:'out_path' => :'outPath',
|
|
@@ -125,6 +131,7 @@ module AsposeCellsCloud
|
|
|
125
131
|
:'table_name' => :'String',
|
|
126
132
|
:'split_column_name' => :'String',
|
|
127
133
|
:'save_split_column' => :'BOOLEAN',
|
|
134
|
+
:'split_row_number' => :'Integer',
|
|
128
135
|
:'to_new_workbook' => :'BOOLEAN',
|
|
129
136
|
:'to_multiple_files' => :'BOOLEAN',
|
|
130
137
|
:'out_path' => :'String',
|
|
@@ -160,6 +167,10 @@ module AsposeCellsCloud
|
|
|
160
167
|
if api_client.config.client_side_validation && save_split_column.nil?
|
|
161
168
|
fail ArgumentError, "Missing the required parameter 'save_split_column' when calling CellsApi.split_table "
|
|
162
169
|
end
|
|
170
|
+
# verify the required parameter 'split_row_number' is set
|
|
171
|
+
if api_client.config.client_side_validation && split_row_number.nil?
|
|
172
|
+
fail ArgumentError, "Missing the required parameter 'split_row_number' when calling CellsApi.split_table "
|
|
173
|
+
end
|
|
163
174
|
# verify the required parameter 'to_new_workbook' is set
|
|
164
175
|
if api_client.config.client_side_validation && to_new_workbook.nil?
|
|
165
176
|
fail ArgumentError, "Missing the required parameter 'to_new_workbook' when calling CellsApi.split_table "
|
|
@@ -177,6 +188,7 @@ module AsposeCellsCloud
|
|
|
177
188
|
query_params[:'tableName'] = self.table_name if !self.table_name.nil?
|
|
178
189
|
query_params[:'splitColumnName'] = self.split_column_name if !self.split_column_name.nil?
|
|
179
190
|
query_params[:'saveSplitColumn'] = self.save_split_column if !self.save_split_column.nil?
|
|
191
|
+
query_params[:'splitRowNumber'] = self.split_row_number if !self.split_row_number.nil?
|
|
180
192
|
query_params[:'toNewWorkbook'] = self.to_new_workbook if !self.to_new_workbook.nil?
|
|
181
193
|
query_params[:'toMultipleFiles'] = self.to_multiple_files if !self.to_multiple_files.nil?
|
|
182
194
|
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
data/lib/aspose_cells_cloud.rb
CHANGED
|
@@ -541,6 +541,8 @@ require 'aspose_cells_cloud/requests/compress_spreadsheet_request'
|
|
|
541
541
|
require 'aspose_cells_cloud/requests/repair_spreadsheet_request'
|
|
542
542
|
require 'aspose_cells_cloud/requests/get_merged_cells_in_remoted_worksheet_request'
|
|
543
543
|
require 'aspose_cells_cloud/requests/get_merged_cells_in_worksheet_request'
|
|
544
|
+
require 'aspose_cells_cloud/requests/accept_all_revisions_request'
|
|
545
|
+
require 'aspose_cells_cloud/requests/accept_all_revisions_in_remote_spreadsheet_request'
|
|
544
546
|
require 'aspose_cells_cloud/requests/protect_spreadsheet_request'
|
|
545
547
|
require 'aspose_cells_cloud/requests/unprotect_spreadsheet_request'
|
|
546
548
|
require 'aspose_cells_cloud/requests/spreadsheet_digitalsignature_request'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aspose_cells_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 26.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aspose Cells Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-03-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -688,6 +688,8 @@ files:
|
|
|
688
688
|
- lib/aspose_cells_cloud/models/xml_map.rb
|
|
689
689
|
- lib/aspose_cells_cloud/models/xml_save_options.rb
|
|
690
690
|
- lib/aspose_cells_cloud/models/xps_save_options.rb
|
|
691
|
+
- lib/aspose_cells_cloud/requests/accept_all_revisions_in_remote_spreadsheet_request.rb
|
|
692
|
+
- lib/aspose_cells_cloud/requests/accept_all_revisions_request.rb
|
|
691
693
|
- lib/aspose_cells_cloud/requests/add_picture_in_cell_request.rb
|
|
692
694
|
- lib/aspose_cells_cloud/requests/add_text_request.rb
|
|
693
695
|
- lib/aspose_cells_cloud/requests/add_worksheet_to_spreadsheet_request.rb
|