aspose_cells_cloud 25.11 → 25.12
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e7011d6399a141c1c96269a6625f398b0bf6ea19a0516231826b57e3c1184d5
|
|
4
|
+
data.tar.gz: 01c7c64971fb246a7ef62947a649ce9fbcceb136f39809bacc21b0d943b9f569
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d9b38096763b7521417a060adcd0f1b838317dea0ae0a109168efe526e5e2aa86caa184dd6d0126de720ac1d439fba7d9658824a94f012e0f938d19084ab1c37
|
|
7
|
+
data.tar.gz: 78795907ca0c04c10b1e72e7ec9f18dba39fbd8b0b362ba457cb1d81fb1f16ab762f4a93ac48cc17d666bc7df08d7c7c2e6e56d5e3cbe4ac8aa7e4114e4a1216
|
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', '~> 25.
|
|
25
|
+
gem 'aspose_cells_cloud', '~> 25.12'
|
|
26
26
|
```
|
|
27
27
|
|
|
28
28
|
or install directly
|
|
@@ -124,20 +124,13 @@ request = AsposeCellsCloud::UploadFileRequest.new(:UploadFiles=>"EmployeeSales
|
|
|
124
124
|
- Import/Export: Facilitates importing data from various sources into spreadsheets and exporting spreadsheet data to other formats.
|
|
125
125
|
- 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.
|
|
126
126
|
|
|
127
|
-
## Feature & Enhancements in Version 25.
|
|
127
|
+
## Feature & Enhancements in Version 25.12
|
|
128
128
|
|
|
129
129
|
Full list of issues covering all changes in this release:
|
|
130
130
|
|
|
131
131
|
|**Summary**|**Category**|
|
|
132
132
|
| :- | :- |
|
|
133
|
-
|
|
|
134
|
-
| Support to update the spreadsheet content words case in Cells Cloud 4.0. | Improvement |
|
|
135
|
-
| Support to remove characters from spreadsheet content in Cells Cloud 4.0. | Improvement |
|
|
136
|
-
| Support to add text for spreadsheet content in Cells Cloud 4.0. | Improvement |
|
|
137
|
-
| Support to convert text for spreadsheet content in Cells Cloud 4.0. | Improvement |
|
|
138
|
-
| Support to extract text for spreadsheet content in Cells Cloud 4.0. | Improvement |
|
|
139
|
-
| Support to extract text for spreadsheet content in Cells Cloud 4.0. | Improvement |
|
|
140
|
-
| Support to split text for spreadsheet content in Cells Cloud 4.0. | Improvement |
|
|
133
|
+
| Support split table of spreadsheet. | New Feature |
|
|
141
134
|
|
|
142
135
|
## Available SDKs
|
|
143
136
|
|
|
@@ -318,6 +318,14 @@ module AsposeCellsCloud
|
|
|
318
318
|
return data
|
|
319
319
|
end
|
|
320
320
|
|
|
321
|
+
# Split an Excel worksheet into multiple sheets by column value.
|
|
322
|
+
|
|
323
|
+
def split_table( split_table_request, opts = {})
|
|
324
|
+
|
|
325
|
+
data, _status_code, _headers = split_table_request.create_http_request(@api_client,opts )
|
|
326
|
+
return data
|
|
327
|
+
end
|
|
328
|
+
|
|
321
329
|
# Split a spreadsheet in cloud storage into the specified format, multi-file.
|
|
322
330
|
|
|
323
331
|
def split_remote_spreadsheet( split_remote_spreadsheet_request, opts = {})
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
|
3
|
+
<copyright company="Aspose" file="SplitTable_request.rb.cs">
|
|
4
|
+
Copyright (c) 2025 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 SplitTableRequest
|
|
33
|
+
|
|
34
|
+
attr_accessor :spreadsheet
|
|
35
|
+
attr_accessor :worksheet
|
|
36
|
+
attr_accessor :table_name
|
|
37
|
+
attr_accessor :split_column_name
|
|
38
|
+
attr_accessor :save_split_column
|
|
39
|
+
attr_accessor :to_new_workbook
|
|
40
|
+
attr_accessor :to_multiple_files
|
|
41
|
+
attr_accessor :out_path
|
|
42
|
+
attr_accessor :out_storage_name
|
|
43
|
+
attr_accessor :fonts_location
|
|
44
|
+
attr_accessor :region
|
|
45
|
+
attr_accessor :password
|
|
46
|
+
|
|
47
|
+
def initialize(attributes = {})
|
|
48
|
+
return unless attributes.is_a?(Hash)
|
|
49
|
+
|
|
50
|
+
# convert string to symbol for hash key
|
|
51
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
52
|
+
|
|
53
|
+
if attributes.has_key?(:'Spreadsheet')
|
|
54
|
+
self.spreadsheet = attributes[:'Spreadsheet']
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
if attributes.has_key?(:'worksheet')
|
|
58
|
+
self.worksheet = attributes[:'worksheet']
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
if attributes.has_key?(:'tableName')
|
|
62
|
+
self.table_name = attributes[:'tableName']
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
if attributes.has_key?(:'splitColumnName')
|
|
66
|
+
self.split_column_name = attributes[:'splitColumnName']
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
if attributes.has_key?(:'saveSplitColumn')
|
|
70
|
+
self.save_split_column = attributes[:'saveSplitColumn']
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
if attributes.has_key?(:'toNewWorkbook')
|
|
74
|
+
self.to_new_workbook = attributes[:'toNewWorkbook']
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
if attributes.has_key?(:'toMultipleFiles')
|
|
78
|
+
self.to_multiple_files = attributes[:'toMultipleFiles']
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
if attributes.has_key?(:'outPath')
|
|
82
|
+
self.out_path = attributes[:'outPath']
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
if attributes.has_key?(:'outStorageName')
|
|
86
|
+
self.out_storage_name = attributes[:'outStorageName']
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.has_key?(:'fontsLocation')
|
|
90
|
+
self.fonts_location = attributes[:'fontsLocation']
|
|
91
|
+
end
|
|
92
|
+
|
|
93
|
+
if attributes.has_key?(:'region')
|
|
94
|
+
self.region = attributes[:'region']
|
|
95
|
+
end
|
|
96
|
+
|
|
97
|
+
if attributes.has_key?(:'password')
|
|
98
|
+
self.password = attributes[:'password']
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
end
|
|
102
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
103
|
+
def self.attribute_map
|
|
104
|
+
{
|
|
105
|
+
:'spreadsheet' => :'Spreadsheet',
|
|
106
|
+
:'worksheet' => :'worksheet',
|
|
107
|
+
:'table_name' => :'tableName',
|
|
108
|
+
:'split_column_name' => :'splitColumnName',
|
|
109
|
+
:'save_split_column' => :'saveSplitColumn',
|
|
110
|
+
:'to_new_workbook' => :'toNewWorkbook',
|
|
111
|
+
:'to_multiple_files' => :'toMultipleFiles',
|
|
112
|
+
:'out_path' => :'outPath',
|
|
113
|
+
:'out_storage_name' => :'outStorageName',
|
|
114
|
+
:'fonts_location' => :'fontsLocation',
|
|
115
|
+
:'region' => :'region',
|
|
116
|
+
:'password' => :'password'
|
|
117
|
+
}
|
|
118
|
+
end
|
|
119
|
+
|
|
120
|
+
# Attribute type mapping.
|
|
121
|
+
def self.swagger_types
|
|
122
|
+
{
|
|
123
|
+
:'spreadsheet' => :'String',
|
|
124
|
+
:'worksheet' => :'String',
|
|
125
|
+
:'table_name' => :'String',
|
|
126
|
+
:'split_column_name' => :'String',
|
|
127
|
+
:'save_split_column' => :'BOOLEAN',
|
|
128
|
+
:'to_new_workbook' => :'BOOLEAN',
|
|
129
|
+
:'to_multiple_files' => :'BOOLEAN',
|
|
130
|
+
:'out_path' => :'String',
|
|
131
|
+
:'out_storage_name' => :'String',
|
|
132
|
+
:'fonts_location' => :'String',
|
|
133
|
+
:'region' => :'String',
|
|
134
|
+
:'password' => :'String'
|
|
135
|
+
}
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def create_http_request(api_client,opts = {})
|
|
139
|
+
if api_client.config.debugging
|
|
140
|
+
api_client.config.logger.debug "Calling API: CellsApi.split_table ..."
|
|
141
|
+
end
|
|
142
|
+
api_client.request_token_if_needed
|
|
143
|
+
# verify the required parameter 'spreadsheet' is set
|
|
144
|
+
if api_client.config.client_side_validation && spreadsheet.nil?
|
|
145
|
+
fail ArgumentError, "Missing the required parameter 'spreadsheet' when calling CellsApi.split_table "
|
|
146
|
+
end
|
|
147
|
+
# verify the required parameter 'worksheet' is set
|
|
148
|
+
if api_client.config.client_side_validation && worksheet.nil?
|
|
149
|
+
fail ArgumentError, "Missing the required parameter 'worksheet' when calling CellsApi.split_table "
|
|
150
|
+
end
|
|
151
|
+
# verify the required parameter 'table_name' is set
|
|
152
|
+
if api_client.config.client_side_validation && table_name.nil?
|
|
153
|
+
fail ArgumentError, "Missing the required parameter 'table_name' when calling CellsApi.split_table "
|
|
154
|
+
end
|
|
155
|
+
# verify the required parameter 'split_column_name' is set
|
|
156
|
+
if api_client.config.client_side_validation && split_column_name.nil?
|
|
157
|
+
fail ArgumentError, "Missing the required parameter 'split_column_name' when calling CellsApi.split_table "
|
|
158
|
+
end
|
|
159
|
+
# verify the required parameter 'save_split_column' is set
|
|
160
|
+
if api_client.config.client_side_validation && save_split_column.nil?
|
|
161
|
+
fail ArgumentError, "Missing the required parameter 'save_split_column' when calling CellsApi.split_table "
|
|
162
|
+
end
|
|
163
|
+
# verify the required parameter 'to_new_workbook' is set
|
|
164
|
+
if api_client.config.client_side_validation && to_new_workbook.nil?
|
|
165
|
+
fail ArgumentError, "Missing the required parameter 'to_new_workbook' when calling CellsApi.split_table "
|
|
166
|
+
end
|
|
167
|
+
# verify the required parameter 'to_multiple_files' is set
|
|
168
|
+
if api_client.config.client_side_validation && to_multiple_files.nil?
|
|
169
|
+
fail ArgumentError, "Missing the required parameter 'to_multiple_files' when calling CellsApi.split_table "
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
# resource path
|
|
173
|
+
local_var_path = "v4.0/cells/split/table"
|
|
174
|
+
# query parameters
|
|
175
|
+
query_params = {}
|
|
176
|
+
query_params[:'worksheet'] = self.worksheet if !self.worksheet.nil?
|
|
177
|
+
query_params[:'tableName'] = self.table_name if !self.table_name.nil?
|
|
178
|
+
query_params[:'splitColumnName'] = self.split_column_name if !self.split_column_name.nil?
|
|
179
|
+
query_params[:'saveSplitColumn'] = self.save_split_column if !self.save_split_column.nil?
|
|
180
|
+
query_params[:'toNewWorkbook'] = self.to_new_workbook if !self.to_new_workbook.nil?
|
|
181
|
+
query_params[:'toMultipleFiles'] = self.to_multiple_files if !self.to_multiple_files.nil?
|
|
182
|
+
query_params[:'outPath'] = self.out_path if !self.out_path.nil?
|
|
183
|
+
query_params[:'outStorageName'] = self.out_storage_name if !self.out_storage_name.nil?
|
|
184
|
+
query_params[:'fontsLocation'] = self.fonts_location if !self.fonts_location.nil?
|
|
185
|
+
query_params[:'region'] = self.region if !self.region.nil?
|
|
186
|
+
query_params[:'password'] = self.password if !self.password.nil?
|
|
187
|
+
|
|
188
|
+
# header parameters
|
|
189
|
+
header_params = {}
|
|
190
|
+
# HTTP header 'Accept' (if needed)
|
|
191
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
|
192
|
+
# HTTP header 'Content-Type'
|
|
193
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
|
194
|
+
|
|
195
|
+
# form parameters
|
|
196
|
+
form_params = {}
|
|
197
|
+
post_body = nil
|
|
198
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
|
|
199
|
+
if !spreadsheet.empty? && File.exist?(spreadsheet )
|
|
200
|
+
form_params[File.basename(spreadsheet)] = ::File.open(spreadsheet,"r")
|
|
201
|
+
end
|
|
202
|
+
|
|
203
|
+
#auth_names = []
|
|
204
|
+
auth_names = ['JWT']
|
|
205
|
+
data, status_code, headers = api_client.call_api(:PUT, local_var_path,
|
|
206
|
+
:header_params => header_params,
|
|
207
|
+
:query_params => query_params,
|
|
208
|
+
:form_params => form_params,
|
|
209
|
+
:body => post_body,
|
|
210
|
+
:auth_names => auth_names,
|
|
211
|
+
:return_type => 'File')
|
|
212
|
+
if api_client.config.debugging
|
|
213
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.split_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
214
|
+
end
|
|
215
|
+
return data, status_code, headers
|
|
216
|
+
end
|
|
217
|
+
end
|
|
218
|
+
end
|
data/lib/aspose_cells_cloud.rb
CHANGED
|
@@ -519,6 +519,7 @@ require 'aspose_cells_cloud/requests/merge_spreadsheets_request'
|
|
|
519
519
|
require 'aspose_cells_cloud/requests/merge_spreadsheets_in_remote_folder_request'
|
|
520
520
|
require 'aspose_cells_cloud/requests/merge_remote_spreadsheet_request'
|
|
521
521
|
require 'aspose_cells_cloud/requests/split_spreadsheet_request'
|
|
522
|
+
require 'aspose_cells_cloud/requests/split_table_request'
|
|
522
523
|
require 'aspose_cells_cloud/requests/split_remote_spreadsheet_request'
|
|
523
524
|
require 'aspose_cells_cloud/requests/import_data_into_spreadsheet_request'
|
|
524
525
|
require 'aspose_cells_cloud/requests/get_public_key_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: '25.
|
|
4
|
+
version: '25.12'
|
|
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: 2025-
|
|
11
|
+
date: 2025-12-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -1108,6 +1108,7 @@ files:
|
|
|
1108
1108
|
- lib/aspose_cells_cloud/requests/spec_request.rb
|
|
1109
1109
|
- lib/aspose_cells_cloud/requests/split_remote_spreadsheet_request.rb
|
|
1110
1110
|
- lib/aspose_cells_cloud/requests/split_spreadsheet_request.rb
|
|
1111
|
+
- lib/aspose_cells_cloud/requests/split_table_request.rb
|
|
1111
1112
|
- lib/aspose_cells_cloud/requests/split_text_request.rb
|
|
1112
1113
|
- lib/aspose_cells_cloud/requests/spreadsheet_digitalsignature_request.rb
|
|
1113
1114
|
- lib/aspose_cells_cloud/requests/storage_exists_request.rb
|