aspose_cells_cloud 25.2 → 25.3
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 -9
- data/lib/aspose_cells_cloud/api/cells_api.rb +51 -0
- data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
- data/lib/aspose_cells_cloud/models/charts.rb +1 -1
- data/lib/aspose_cells_cloud/models/convert_workbook_options.rb +282 -0
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +1 -1
- data/lib/aspose_cells_cloud/models/dif_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/files_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/html_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/image_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/json_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +392 -8
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/ods_save_options.rb +100 -4
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/page_sections_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/paginated_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/shapes.rb +1 -1
- data/lib/aspose_cells_cloud/models/specify_cells_object.rb +234 -0
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/styles.rb +1 -1
- data/lib/aspose_cells_cloud/models/styles_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +208 -4
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/workbook.rb +1 -1
- data/lib/aspose_cells_cloud/models/xls_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xps_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/requests/add_picture_in_cell_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/get_all_styles_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_to_image_request.rb +1 -1
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +6 -0
- data/spec/conversion/conversion_json_spec.rb +0 -21
- data/spec/conversion/conversion_png_spec.rb +0 -21
- data/spec/conversion/conversion_spec.rb +0 -81
- data/spec/document/light_cells_spec.rb +0 -98
- metadata +8 -2
@@ -0,0 +1,149 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="AddPictureInCell_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 AddPictureInCellRequest
|
33
|
+
|
34
|
+
attr_accessor :name
|
35
|
+
attr_accessor :sheet_name
|
36
|
+
attr_accessor :cell_name
|
37
|
+
attr_accessor :picture_path
|
38
|
+
attr_accessor :folder
|
39
|
+
attr_accessor :storage_name
|
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?(:'name')
|
48
|
+
self.name = attributes[:'name']
|
49
|
+
end
|
50
|
+
if attributes.has_key?(:'sheetName')
|
51
|
+
self.sheet_name = attributes[:'sheetName']
|
52
|
+
end
|
53
|
+
if attributes.has_key?(:'cellName')
|
54
|
+
self.cell_name = attributes[:'cellName']
|
55
|
+
end
|
56
|
+
if attributes.has_key?(:'picturePath')
|
57
|
+
self.picture_path = attributes[:'picturePath']
|
58
|
+
end
|
59
|
+
if attributes.has_key?(:'folder')
|
60
|
+
self.folder = attributes[:'folder']
|
61
|
+
end
|
62
|
+
if attributes.has_key?(:'storageName')
|
63
|
+
self.storage_name = attributes[:'storageName']
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
67
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
68
|
+
def self.attribute_map
|
69
|
+
{
|
70
|
+
:'name' => :'name',
|
71
|
+
:'sheet_name' => :'sheetName',
|
72
|
+
:'cell_name' => :'cellName',
|
73
|
+
:'picture_path' => :'picturePath',
|
74
|
+
:'folder' => :'folder',
|
75
|
+
:'storage_name' => :'storageName'
|
76
|
+
}
|
77
|
+
end
|
78
|
+
|
79
|
+
# Attribute type mapping.
|
80
|
+
def self.swagger_types
|
81
|
+
{
|
82
|
+
:'name' => :'String',
|
83
|
+
:'sheet_name' => :'String',
|
84
|
+
:'cell_name' => :'String',
|
85
|
+
:'picture_path' => :'String',
|
86
|
+
:'folder' => :'String',
|
87
|
+
:'storage_name' => :'String'
|
88
|
+
}
|
89
|
+
end
|
90
|
+
|
91
|
+
def create_http_request(api_client,opts = {})
|
92
|
+
if api_client.config.debugging
|
93
|
+
api_client.config.logger.debug "Calling API: CellsApi.add_picture_in_cell ..."
|
94
|
+
end
|
95
|
+
api_client.request_token_if_needed
|
96
|
+
# verify the required parameter 'name' is set
|
97
|
+
if api_client.config.client_side_validation && name.nil?
|
98
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.add_picture_in_cell "
|
99
|
+
end
|
100
|
+
# verify the required parameter 'sheet_name' is set
|
101
|
+
if api_client.config.client_side_validation && sheet_name.nil?
|
102
|
+
fail ArgumentError, "Missing the required parameter 'sheet_name' when calling CellsApi.add_picture_in_cell "
|
103
|
+
end
|
104
|
+
# verify the required parameter 'cell_name' is set
|
105
|
+
if api_client.config.client_side_validation && cell_name.nil?
|
106
|
+
fail ArgumentError, "Missing the required parameter 'cell_name' when calling CellsApi.add_picture_in_cell "
|
107
|
+
end
|
108
|
+
# verify the required parameter 'picture_path' is set
|
109
|
+
if api_client.config.client_side_validation && picture_path.nil?
|
110
|
+
fail ArgumentError, "Missing the required parameter 'picture_path' when calling CellsApi.add_picture_in_cell "
|
111
|
+
end
|
112
|
+
|
113
|
+
# resource path
|
114
|
+
local_var_path = "/cells/{name}/worksheets/{sheetName}/pictures/addPictureInCell".sub('{' + 'name' + '}', name.to_s).sub('{' + 'sheetName' + '}', sheet_name.to_s)
|
115
|
+
# query parameters
|
116
|
+
query_params = {}
|
117
|
+
query_params[:'cellName'] = self.cell_name if !self.cell_name.nil?
|
118
|
+
query_params[:'picturePath'] = self.picture_path if !self.picture_path.nil?
|
119
|
+
query_params[:'folder'] = self.folder if !self.folder.nil?
|
120
|
+
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
121
|
+
|
122
|
+
# header parameters
|
123
|
+
header_params = {}
|
124
|
+
# HTTP header 'Accept' (if needed)
|
125
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
126
|
+
# HTTP header 'Content-Type'
|
127
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
128
|
+
|
129
|
+
# form parameters
|
130
|
+
form_params = {}
|
131
|
+
post_body = nil
|
132
|
+
|
133
|
+
|
134
|
+
#auth_names = []
|
135
|
+
auth_names = ['JWT']
|
136
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
137
|
+
:header_params => header_params,
|
138
|
+
:query_params => query_params,
|
139
|
+
:form_params => form_params,
|
140
|
+
:body => post_body,
|
141
|
+
:auth_names => auth_names,
|
142
|
+
:return_type => 'CellsCloudResponse')
|
143
|
+
if api_client.config.debugging
|
144
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.add_picture_in_cell\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
145
|
+
end
|
146
|
+
return data, status_code, headers
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
@@ -0,0 +1,117 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="GetAllStyles_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 GetAllStylesRequest
|
33
|
+
|
34
|
+
attr_accessor :name
|
35
|
+
attr_accessor :folder
|
36
|
+
attr_accessor :storage_name
|
37
|
+
|
38
|
+
def initialize(attributes = {})
|
39
|
+
return unless attributes.is_a?(Hash)
|
40
|
+
|
41
|
+
# convert string to symbol for hash key
|
42
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
43
|
+
|
44
|
+
if attributes.has_key?(:'name')
|
45
|
+
self.name = attributes[:'name']
|
46
|
+
end
|
47
|
+
if attributes.has_key?(:'folder')
|
48
|
+
self.folder = attributes[:'folder']
|
49
|
+
end
|
50
|
+
if attributes.has_key?(:'storageName')
|
51
|
+
self.storage_name = attributes[:'storageName']
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
56
|
+
def self.attribute_map
|
57
|
+
{
|
58
|
+
:'name' => :'name',
|
59
|
+
:'folder' => :'folder',
|
60
|
+
:'storage_name' => :'storageName'
|
61
|
+
}
|
62
|
+
end
|
63
|
+
|
64
|
+
# Attribute type mapping.
|
65
|
+
def self.swagger_types
|
66
|
+
{
|
67
|
+
:'name' => :'String',
|
68
|
+
:'folder' => :'String',
|
69
|
+
:'storage_name' => :'String'
|
70
|
+
}
|
71
|
+
end
|
72
|
+
|
73
|
+
def create_http_request(api_client,opts = {})
|
74
|
+
if api_client.config.debugging
|
75
|
+
api_client.config.logger.debug "Calling API: CellsApi.get_all_styles ..."
|
76
|
+
end
|
77
|
+
api_client.request_token_if_needed
|
78
|
+
# verify the required parameter 'name' is set
|
79
|
+
if api_client.config.client_side_validation && name.nil?
|
80
|
+
fail ArgumentError, "Missing the required parameter 'name' when calling CellsApi.get_all_styles "
|
81
|
+
end
|
82
|
+
|
83
|
+
# resource path
|
84
|
+
local_var_path = "/cells/{name}/allstyles".sub('{' + 'name' + '}', name.to_s)
|
85
|
+
# query parameters
|
86
|
+
query_params = {}
|
87
|
+
query_params[:'folder'] = self.folder if !self.folder.nil?
|
88
|
+
query_params[:'storageName'] = self.storage_name if !self.storage_name.nil?
|
89
|
+
|
90
|
+
# header parameters
|
91
|
+
header_params = {}
|
92
|
+
# HTTP header 'Accept' (if needed)
|
93
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
94
|
+
# HTTP header 'Content-Type'
|
95
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
96
|
+
|
97
|
+
# form parameters
|
98
|
+
form_params = {}
|
99
|
+
post_body = nil
|
100
|
+
|
101
|
+
|
102
|
+
#auth_names = []
|
103
|
+
auth_names = ['JWT']
|
104
|
+
data, status_code, headers = api_client.call_api(:GET, local_var_path,
|
105
|
+
:header_params => header_params,
|
106
|
+
:query_params => query_params,
|
107
|
+
:form_params => form_params,
|
108
|
+
:body => post_body,
|
109
|
+
:auth_names => auth_names,
|
110
|
+
:return_type => 'StylesResponse')
|
111
|
+
if api_client.config.debugging
|
112
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.get_all_styles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
113
|
+
end
|
114
|
+
return data, status_code, headers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
@@ -0,0 +1,103 @@
|
|
1
|
+
=begin
|
2
|
+
--------------------------------------------------------------------------------------------------------------------
|
3
|
+
<copyright company="Aspose" file="PostConvertWorkbook_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 PostConvertWorkbookRequest
|
33
|
+
|
34
|
+
attr_accessor :convert_workbook_options
|
35
|
+
|
36
|
+
def initialize(attributes = {})
|
37
|
+
return unless attributes.is_a?(Hash)
|
38
|
+
|
39
|
+
# convert string to symbol for hash key
|
40
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
41
|
+
|
42
|
+
if attributes.has_key?(:'convertWorkbookOptions')
|
43
|
+
self.convert_workbook_options = attributes[:'convertWorkbookOptions']
|
44
|
+
end
|
45
|
+
|
46
|
+
end
|
47
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
48
|
+
def self.attribute_map
|
49
|
+
{
|
50
|
+
:'convert_workbook_options' => :'convertWorkbookOptions'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Attribute type mapping.
|
55
|
+
def self.swagger_types
|
56
|
+
{
|
57
|
+
:'convert_workbook_options' => :'ConvertWorkbookOptions'
|
58
|
+
}
|
59
|
+
end
|
60
|
+
|
61
|
+
def create_http_request(api_client,opts = {})
|
62
|
+
if api_client.config.debugging
|
63
|
+
api_client.config.logger.debug "Calling API: CellsApi.post_convert_workbook ..."
|
64
|
+
end
|
65
|
+
api_client.request_token_if_needed
|
66
|
+
# verify the required parameter 'convert_workbook_options' is set
|
67
|
+
if api_client.config.client_side_validation && convert_workbook_options.nil?
|
68
|
+
fail ArgumentError, "Missing the required parameter 'convert_workbook_options' when calling CellsApi.post_convert_workbook "
|
69
|
+
end
|
70
|
+
|
71
|
+
# resource path
|
72
|
+
local_var_path = "/cells/convertWorkbook"
|
73
|
+
# query parameters
|
74
|
+
query_params = {}
|
75
|
+
# header parameters
|
76
|
+
header_params = {}
|
77
|
+
# HTTP header 'Accept' (if needed)
|
78
|
+
header_params['Accept'] = api_client.select_header_accept(['application/json'])
|
79
|
+
# HTTP header 'Content-Type'
|
80
|
+
header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
|
81
|
+
|
82
|
+
# form parameters
|
83
|
+
form_params = {}
|
84
|
+
post_body = nil
|
85
|
+
post_body = api_client.object_to_http_body(convert_workbook_options)
|
86
|
+
|
87
|
+
|
88
|
+
#auth_names = []
|
89
|
+
auth_names = ['JWT']
|
90
|
+
data, status_code, headers = api_client.call_api(:POST, local_var_path,
|
91
|
+
:header_params => header_params,
|
92
|
+
:query_params => query_params,
|
93
|
+
:form_params => form_params,
|
94
|
+
:body => post_body,
|
95
|
+
:auth_names => auth_names,
|
96
|
+
:return_type => 'FileInfo')
|
97
|
+
if api_client.config.debugging
|
98
|
+
api_client.config.logger.debug "API called: Specification.Name>Api.post_convert_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
|
+
end
|
100
|
+
return data, status_code, headers
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -128,7 +128,7 @@ module AsposeCellsCloud
|
|
128
128
|
:form_params => form_params,
|
129
129
|
:body => post_body,
|
130
130
|
:auth_names => auth_names,
|
131
|
-
:return_type => '
|
131
|
+
:return_type => 'File')
|
132
132
|
if api_client.config.debugging
|
133
133
|
api_client.config.logger.debug "API called: Specification.Name>Api.post_worksheet_cells_range_to_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
134
134
|
end
|
data/lib/aspose_cells_cloud.rb
CHANGED
@@ -285,6 +285,7 @@ require 'aspose_cells_cloud/models/sparkline_groups_response'
|
|
285
285
|
require 'aspose_cells_cloud/models/spinner_response'
|
286
286
|
require 'aspose_cells_cloud/models/split_result_response'
|
287
287
|
require 'aspose_cells_cloud/models/style_response'
|
288
|
+
require 'aspose_cells_cloud/models/styles_response'
|
288
289
|
require 'aspose_cells_cloud/models/task_run_result_response'
|
289
290
|
require 'aspose_cells_cloud/models/text_box_response'
|
290
291
|
require 'aspose_cells_cloud/models/text_item_response'
|
@@ -355,6 +356,7 @@ require 'aspose_cells_cloud/models/base_operate_options'
|
|
355
356
|
require 'aspose_cells_cloud/models/character_count_options'
|
356
357
|
require 'aspose_cells_cloud/models/combination_source_data'
|
357
358
|
require 'aspose_cells_cloud/models/convert_text_options'
|
359
|
+
require 'aspose_cells_cloud/models/convert_workbook_options'
|
358
360
|
require 'aspose_cells_cloud/models/convert_worksheet_options'
|
359
361
|
require 'aspose_cells_cloud/models/data_output_location'
|
360
362
|
require 'aspose_cells_cloud/models/extract_text_options'
|
@@ -365,6 +367,7 @@ require 'aspose_cells_cloud/models/remove_characters_options'
|
|
365
367
|
require 'aspose_cells_cloud/models/remove_duplicates_options'
|
366
368
|
require 'aspose_cells_cloud/models/scope_item'
|
367
369
|
require 'aspose_cells_cloud/models/scope_options'
|
370
|
+
require 'aspose_cells_cloud/models/specify_cells_object'
|
368
371
|
require 'aspose_cells_cloud/models/specify_words_count_options'
|
369
372
|
require 'aspose_cells_cloud/models/split_text_options'
|
370
373
|
require 'aspose_cells_cloud/models/table_position_info'
|
@@ -578,6 +581,7 @@ require 'aspose_cells_cloud/requests/post_convert_workbook_to_json_request'
|
|
578
581
|
require 'aspose_cells_cloud/requests/post_convert_workbook_to_sql_request'
|
579
582
|
require 'aspose_cells_cloud/requests/post_convert_workbook_to_csv_request'
|
580
583
|
require 'aspose_cells_cloud/requests/post_convert_worksheet_to_image_request'
|
584
|
+
require 'aspose_cells_cloud/requests/post_convert_workbook_request'
|
581
585
|
require 'aspose_cells_cloud/requests/post_export_request'
|
582
586
|
require 'aspose_cells_cloud/requests/post_workbook_export_xml_request'
|
583
587
|
require 'aspose_cells_cloud/requests/post_workbook_import_json_request'
|
@@ -653,6 +657,7 @@ require 'aspose_cells_cloud/requests/post_fit_tall_to_pages_request'
|
|
653
657
|
require 'aspose_cells_cloud/requests/get_worksheet_pictures_request'
|
654
658
|
require 'aspose_cells_cloud/requests/get_worksheet_picture_with_format_request'
|
655
659
|
require 'aspose_cells_cloud/requests/put_worksheet_add_picture_request'
|
660
|
+
require 'aspose_cells_cloud/requests/add_picture_in_cell_request'
|
656
661
|
require 'aspose_cells_cloud/requests/post_worksheet_picture_request'
|
657
662
|
require 'aspose_cells_cloud/requests/delete_worksheet_picture_request'
|
658
663
|
require 'aspose_cells_cloud/requests/delete_worksheet_pictures_request'
|
@@ -756,6 +761,7 @@ require 'aspose_cells_cloud/requests/put_workbook_background_request'
|
|
756
761
|
require 'aspose_cells_cloud/requests/delete_workbook_background_request'
|
757
762
|
require 'aspose_cells_cloud/requests/put_workbook_water_marker_request'
|
758
763
|
require 'aspose_cells_cloud/requests/get_page_count_request'
|
764
|
+
require 'aspose_cells_cloud/requests/get_all_styles_request'
|
759
765
|
require 'aspose_cells_cloud/requests/get_worksheets_request'
|
760
766
|
require 'aspose_cells_cloud/requests/get_worksheet_with_format_request'
|
761
767
|
require 'aspose_cells_cloud/requests/put_change_visibility_worksheet_request'
|
@@ -253,27 +253,6 @@ describe 'CellsApi' do
|
|
253
253
|
end
|
254
254
|
end
|
255
255
|
|
256
|
-
describe 'convert_workbook_numbers test' do
|
257
|
-
it "should work" do
|
258
|
-
remote_folder = 'TestData/In'
|
259
|
-
|
260
|
-
local_name = 'codegen-spec.json'
|
261
|
-
remote_name = 'codegen-spec.json'
|
262
|
-
|
263
|
-
format = "numbers"
|
264
|
-
|
265
|
-
|
266
|
-
mapFiles = { }
|
267
|
-
mapFiles = { }
|
268
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
269
|
-
|
270
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
271
|
-
@instance.upload_file(uploadrequest)
|
272
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
273
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
274
|
-
@instance.put_convert_workbook(request);
|
275
|
-
end
|
276
|
-
end
|
277
256
|
|
278
257
|
describe 'convert_workbook_svg test' do
|
279
258
|
it "should work" do
|
@@ -209,27 +209,6 @@ describe 'CellsApi' do
|
|
209
209
|
end
|
210
210
|
end
|
211
211
|
|
212
|
-
describe 'convert_workbook_numbers test' do
|
213
|
-
it "should work" do
|
214
|
-
remote_folder = 'TestData/In'
|
215
|
-
|
216
|
-
local_name = 'cloud.png'
|
217
|
-
remote_name = 'cloud.png'
|
218
|
-
|
219
|
-
format = "numbers"
|
220
|
-
|
221
|
-
|
222
|
-
mapFiles = { }
|
223
|
-
mapFiles = { }
|
224
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
225
|
-
|
226
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
227
|
-
@instance.upload_file(uploadrequest)
|
228
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
229
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
230
|
-
@instance.put_convert_workbook(request);
|
231
|
-
end
|
232
|
-
end
|
233
212
|
|
234
213
|
describe 'convert_workbook_svg test' do
|
235
214
|
it "should work" do
|
@@ -275,27 +275,7 @@ describe 'CellsApi' do
|
|
275
275
|
end
|
276
276
|
end
|
277
277
|
|
278
|
-
describe 'workbook_save_as_numbers__out_result_post_excel_save_asnumbers test' do
|
279
|
-
it "should work" do
|
280
|
-
remote_folder = 'TestData/In'
|
281
|
-
|
282
|
-
local_name = 'Book1.xlsx'
|
283
|
-
remote_name = 'Book1.xlsx'
|
284
278
|
|
285
|
-
format = "numbers"
|
286
|
-
newfilename = "OutResult/PostExcelSaveAs.numbers"
|
287
|
-
|
288
|
-
|
289
|
-
mapFiles = { }
|
290
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
291
|
-
|
292
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
293
|
-
@instance.upload_file(uploadrequest)
|
294
|
-
saveOptions = AsposeCellsCloud::PdfSaveOptions.new(:SaveFormat=>format );
|
295
|
-
request = AsposeCellsCloud::PostWorkbookSaveAsRequest.new(:name=>remote_name,:newfilename=>newfilename,:saveOptions=>saveOptions,:folder=>remote_folder);
|
296
|
-
@instance.post_workbook_save_as(request);
|
297
|
-
end
|
298
|
-
end
|
299
279
|
|
300
280
|
describe 'workbook_save_as_svg__out_result_post_excel_save_assvg test' do
|
301
281
|
it "should work" do
|
@@ -627,25 +607,6 @@ describe 'CellsApi' do
|
|
627
607
|
end
|
628
608
|
end
|
629
609
|
|
630
|
-
describe 'get_workbook_format_numbers test' do
|
631
|
-
it "should work" do
|
632
|
-
remote_folder = 'TestData/In'
|
633
|
-
|
634
|
-
local_name = 'Book1.xlsx'
|
635
|
-
remote_name = 'Book1.xlsx'
|
636
|
-
|
637
|
-
format = "numbers"
|
638
|
-
|
639
|
-
|
640
|
-
mapFiles = { }
|
641
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
642
|
-
|
643
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
644
|
-
@instance.upload_file(uploadrequest)
|
645
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
646
|
-
@instance.get_workbook(request);
|
647
|
-
end
|
648
|
-
end
|
649
610
|
|
650
611
|
describe 'get_workbook_format_svg test' do
|
651
612
|
it "should work" do
|
@@ -1033,27 +994,6 @@ describe 'CellsApi' do
|
|
1033
994
|
end
|
1034
995
|
end
|
1035
996
|
|
1036
|
-
describe 'convert_workbook_numbers test' do
|
1037
|
-
it "should work" do
|
1038
|
-
remote_folder = 'TestData/In'
|
1039
|
-
|
1040
|
-
local_name = 'Book1.xlsx'
|
1041
|
-
remote_name = 'Book1.xlsx'
|
1042
|
-
|
1043
|
-
format = "numbers"
|
1044
|
-
|
1045
|
-
|
1046
|
-
mapFiles = { }
|
1047
|
-
mapFiles = { }
|
1048
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1049
|
-
|
1050
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1051
|
-
@instance.upload_file(uploadrequest)
|
1052
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1053
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1054
|
-
@instance.put_convert_workbook(request);
|
1055
|
-
end
|
1056
|
-
end
|
1057
997
|
|
1058
998
|
describe 'convert_workbook_wmf test' do
|
1059
999
|
it "should work" do
|
@@ -1509,28 +1449,7 @@ describe 'CellsApi' do
|
|
1509
1449
|
end
|
1510
1450
|
end
|
1511
1451
|
|
1512
|
-
describe 'convert_workbook_save_cloud_numbers__out_result_convert_workbooknumbers test' do
|
1513
|
-
it "should work" do
|
1514
|
-
remote_folder = 'TestData/In'
|
1515
|
-
|
1516
|
-
local_name = 'Book1.xlsx'
|
1517
|
-
remote_name = 'Book1.xlsx'
|
1518
|
-
|
1519
|
-
format = "numbers"
|
1520
|
-
out_path = "OutResult/ConvertWorkbook.numbers"
|
1521
1452
|
|
1522
|
-
|
1523
|
-
mapFiles = { }
|
1524
|
-
mapFiles = { }
|
1525
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1526
|
-
|
1527
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1528
|
-
@instance.upload_file(uploadrequest)
|
1529
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1530
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format,:outPath=>out_path);
|
1531
|
-
@instance.put_convert_workbook(request);
|
1532
|
-
end
|
1533
|
-
end
|
1534
1453
|
|
1535
1454
|
describe 'convert_workbook_save_cloud_svg__out_result_convert_workbooksvg test' do
|
1536
1455
|
it "should work" do
|