aspose_cells_cloud 23.11 → 23.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -5
- data/lib/aspose_cells_cloud/api/cells_api.rb +94 -88
- data/lib/aspose_cells_cloud/models/batch_convert_request.rb +13 -1
- data/lib/aspose_cells_cloud/models/batch_split_request.rb +13 -1
- data/lib/aspose_cells_cloud/models/convert_task_parameter.rb +13 -1
- data/lib/aspose_cells_cloud/models/import_json_request.rb +1 -1
- data/lib/aspose_cells_cloud/requests/delete_metadata_request.rb +7 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_assemble_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_clear_objects_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_csv_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_png_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_sql_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_export_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_import_request.rb +31 -2
- data/lib/aspose_cells_cloud/requests/post_merge_request.rb +15 -8
- data/lib/aspose_cells_cloud/requests/post_metadata_request.rb +16 -2
- data/lib/aspose_cells_cloud/requests/post_repair_request.rb +6 -6
- data/lib/aspose_cells_cloud/requests/post_reverse_request.rb +15 -8
- data/lib/aspose_cells_cloud/requests/post_rotate_request.rb +15 -8
- data/lib/aspose_cells_cloud/requests/post_split_request.rb +18 -11
- data/lib/aspose_cells_cloud/requests/post_watermark_request.rb +16 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_export_xml_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_import_json_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_import_xml_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +0 -2
- data/spec/api/batch_controller_spec.rb +4 -4
- data/spec/api/workbook_controller_spec.rb +1 -1
- data/spec/conversion/conversion_json_spec.rb +0 -44
- data/spec/conversion/conversion_png_spec.rb +0 -88
- data/spec/conversion/conversion_spec.rb +0 -239
- data/spec/document/light_cells_spec.rb +80 -192
- metadata +2 -2
@@ -16,13 +16,13 @@ describe 'CellsApi' do
|
|
16
16
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
17
17
|
data_source_xlsx = 'datasource.xlsx'
|
18
18
|
|
19
|
-
|
19
|
+
out_format = "csv"
|
20
20
|
|
21
21
|
|
22
22
|
mapFiles = { }
|
23
23
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
24
24
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
25
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
25
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
26
26
|
@instance.post_split(request);
|
27
27
|
end
|
28
28
|
end
|
@@ -32,13 +32,13 @@ describe 'CellsApi' do
|
|
32
32
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
33
33
|
data_source_xlsx = 'datasource.xlsx'
|
34
34
|
|
35
|
-
|
35
|
+
out_format = "xls"
|
36
36
|
|
37
37
|
|
38
38
|
mapFiles = { }
|
39
39
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
40
40
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
41
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
41
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
42
42
|
@instance.post_split(request);
|
43
43
|
end
|
44
44
|
end
|
@@ -48,13 +48,13 @@ describe 'CellsApi' do
|
|
48
48
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
49
49
|
data_source_xlsx = 'datasource.xlsx'
|
50
50
|
|
51
|
-
|
51
|
+
out_format = "html"
|
52
52
|
|
53
53
|
|
54
54
|
mapFiles = { }
|
55
55
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
56
56
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
57
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
57
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
58
58
|
@instance.post_split(request);
|
59
59
|
end
|
60
60
|
end
|
@@ -64,13 +64,13 @@ describe 'CellsApi' do
|
|
64
64
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
65
65
|
data_source_xlsx = 'datasource.xlsx'
|
66
66
|
|
67
|
-
|
67
|
+
out_format = "mhtml"
|
68
68
|
|
69
69
|
|
70
70
|
mapFiles = { }
|
71
71
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
72
72
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
73
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
73
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
74
74
|
@instance.post_split(request);
|
75
75
|
end
|
76
76
|
end
|
@@ -80,13 +80,13 @@ describe 'CellsApi' do
|
|
80
80
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
81
81
|
data_source_xlsx = 'datasource.xlsx'
|
82
82
|
|
83
|
-
|
83
|
+
out_format = "ods"
|
84
84
|
|
85
85
|
|
86
86
|
mapFiles = { }
|
87
87
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
88
88
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
89
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
89
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
90
90
|
@instance.post_split(request);
|
91
91
|
end
|
92
92
|
end
|
@@ -96,13 +96,13 @@ describe 'CellsApi' do
|
|
96
96
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
97
97
|
data_source_xlsx = 'datasource.xlsx'
|
98
98
|
|
99
|
-
|
99
|
+
out_format = "pdf"
|
100
100
|
|
101
101
|
|
102
102
|
mapFiles = { }
|
103
103
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
104
104
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
105
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
105
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
106
106
|
@instance.post_split(request);
|
107
107
|
end
|
108
108
|
end
|
@@ -112,13 +112,13 @@ describe 'CellsApi' do
|
|
112
112
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
113
113
|
data_source_xlsx = 'datasource.xlsx'
|
114
114
|
|
115
|
-
|
115
|
+
out_format = "xml"
|
116
116
|
|
117
117
|
|
118
118
|
mapFiles = { }
|
119
119
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
120
120
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
121
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
121
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
122
122
|
@instance.post_split(request);
|
123
123
|
end
|
124
124
|
end
|
@@ -128,13 +128,13 @@ describe 'CellsApi' do
|
|
128
128
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
129
129
|
data_source_xlsx = 'datasource.xlsx'
|
130
130
|
|
131
|
-
|
131
|
+
out_format = "txt"
|
132
132
|
|
133
133
|
|
134
134
|
mapFiles = { }
|
135
135
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
136
136
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
137
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
137
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
138
138
|
@instance.post_split(request);
|
139
139
|
end
|
140
140
|
end
|
@@ -144,13 +144,13 @@ describe 'CellsApi' do
|
|
144
144
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
145
145
|
data_source_xlsx = 'datasource.xlsx'
|
146
146
|
|
147
|
-
|
147
|
+
out_format = "tif"
|
148
148
|
|
149
149
|
|
150
150
|
mapFiles = { }
|
151
151
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
152
152
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
153
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
153
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
154
154
|
@instance.post_split(request);
|
155
155
|
end
|
156
156
|
end
|
@@ -160,29 +160,13 @@ describe 'CellsApi' do
|
|
160
160
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
161
161
|
data_source_xlsx = 'datasource.xlsx'
|
162
162
|
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
mapFiles = { }
|
167
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
168
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
169
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
170
|
-
@instance.post_split(request);
|
171
|
-
end
|
172
|
-
end
|
173
|
-
|
174
|
-
describe 'post_split_xlsm test' do
|
175
|
-
it "should work" do
|
176
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
177
|
-
data_source_xlsx = 'datasource.xlsx'
|
178
|
-
|
179
|
-
format = "xlsm"
|
163
|
+
out_format = "xlsb"
|
180
164
|
|
181
165
|
|
182
166
|
mapFiles = { }
|
183
167
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
184
168
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
185
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
169
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
186
170
|
@instance.post_split(request);
|
187
171
|
end
|
188
172
|
end
|
@@ -192,45 +176,13 @@ describe 'CellsApi' do
|
|
192
176
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
193
177
|
data_source_xlsx = 'datasource.xlsx'
|
194
178
|
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
mapFiles = { }
|
199
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
200
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
201
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
202
|
-
@instance.post_split(request);
|
203
|
-
end
|
204
|
-
end
|
205
|
-
|
206
|
-
describe 'post_split_xltm test' do
|
207
|
-
it "should work" do
|
208
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
209
|
-
data_source_xlsx = 'datasource.xlsx'
|
210
|
-
|
211
|
-
format = "xltm"
|
212
|
-
|
213
|
-
|
214
|
-
mapFiles = { }
|
215
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
216
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
217
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
218
|
-
@instance.post_split(request);
|
219
|
-
end
|
220
|
-
end
|
221
|
-
|
222
|
-
describe 'post_split_xltx test' do
|
223
|
-
it "should work" do
|
224
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
225
|
-
data_source_xlsx = 'datasource.xlsx'
|
226
|
-
|
227
|
-
format = "xltx"
|
179
|
+
out_format = "xlsx"
|
228
180
|
|
229
181
|
|
230
182
|
mapFiles = { }
|
231
183
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
232
184
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
233
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
185
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
234
186
|
@instance.post_split(request);
|
235
187
|
end
|
236
188
|
end
|
@@ -240,13 +192,13 @@ describe 'CellsApi' do
|
|
240
192
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
241
193
|
data_source_xlsx = 'datasource.xlsx'
|
242
194
|
|
243
|
-
|
195
|
+
out_format = "xps"
|
244
196
|
|
245
197
|
|
246
198
|
mapFiles = { }
|
247
199
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
248
200
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
249
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
201
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
250
202
|
@instance.post_split(request);
|
251
203
|
end
|
252
204
|
end
|
@@ -256,13 +208,13 @@ describe 'CellsApi' do
|
|
256
208
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
257
209
|
data_source_xlsx = 'datasource.xlsx'
|
258
210
|
|
259
|
-
|
211
|
+
out_format = "png"
|
260
212
|
|
261
213
|
|
262
214
|
mapFiles = { }
|
263
215
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
264
216
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
265
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
217
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
266
218
|
@instance.post_split(request);
|
267
219
|
end
|
268
220
|
end
|
@@ -272,61 +224,13 @@ describe 'CellsApi' do
|
|
272
224
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
273
225
|
data_source_xlsx = 'datasource.xlsx'
|
274
226
|
|
275
|
-
|
227
|
+
out_format = "jpg"
|
276
228
|
|
277
229
|
|
278
230
|
mapFiles = { }
|
279
231
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
280
232
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
281
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
282
|
-
@instance.post_split(request);
|
283
|
-
end
|
284
|
-
end
|
285
|
-
|
286
|
-
describe 'post_split_gif test' do
|
287
|
-
it "should work" do
|
288
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
289
|
-
data_source_xlsx = 'datasource.xlsx'
|
290
|
-
|
291
|
-
format = "gif"
|
292
|
-
|
293
|
-
|
294
|
-
mapFiles = { }
|
295
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
296
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
297
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
298
|
-
@instance.post_split(request);
|
299
|
-
end
|
300
|
-
end
|
301
|
-
|
302
|
-
describe 'post_split_emf test' do
|
303
|
-
it "should work" do
|
304
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
305
|
-
data_source_xlsx = 'datasource.xlsx'
|
306
|
-
|
307
|
-
format = "emf"
|
308
|
-
|
309
|
-
|
310
|
-
mapFiles = { }
|
311
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
312
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
313
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
314
|
-
@instance.post_split(request);
|
315
|
-
end
|
316
|
-
end
|
317
|
-
|
318
|
-
describe 'post_split_bmp test' do
|
319
|
-
it "should work" do
|
320
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
321
|
-
data_source_xlsx = 'datasource.xlsx'
|
322
|
-
|
323
|
-
format = "bmp"
|
324
|
-
|
325
|
-
|
326
|
-
mapFiles = { }
|
327
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
328
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
329
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
233
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
330
234
|
@instance.post_split(request);
|
331
235
|
end
|
332
236
|
end
|
@@ -336,13 +240,13 @@ describe 'CellsApi' do
|
|
336
240
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
337
241
|
data_source_xlsx = 'datasource.xlsx'
|
338
242
|
|
339
|
-
|
243
|
+
out_format = "md"
|
340
244
|
|
341
245
|
|
342
246
|
mapFiles = { }
|
343
247
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
344
248
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
345
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
249
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
346
250
|
@instance.post_split(request);
|
347
251
|
end
|
348
252
|
end
|
@@ -352,29 +256,13 @@ describe 'CellsApi' do
|
|
352
256
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
353
257
|
data_source_xlsx = 'datasource.xlsx'
|
354
258
|
|
355
|
-
|
259
|
+
out_format = "numbers"
|
356
260
|
|
357
261
|
|
358
262
|
mapFiles = { }
|
359
263
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
360
264
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
361
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
362
|
-
@instance.post_split(request);
|
363
|
-
end
|
364
|
-
end
|
365
|
-
|
366
|
-
describe 'post_split_wmf test' do
|
367
|
-
it "should work" do
|
368
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
369
|
-
data_source_xlsx = 'datasource.xlsx'
|
370
|
-
|
371
|
-
format = "wmf"
|
372
|
-
|
373
|
-
|
374
|
-
mapFiles = { }
|
375
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
376
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
377
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:format=>format);
|
265
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
378
266
|
@instance.post_split(request);
|
379
267
|
end
|
380
268
|
end
|
@@ -384,13 +272,13 @@ describe 'CellsApi' do
|
|
384
272
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
385
273
|
data_source_xlsx = 'datasource.xlsx'
|
386
274
|
|
387
|
-
|
275
|
+
out_format = "svg"
|
388
276
|
|
389
277
|
|
390
278
|
mapFiles = { }
|
391
279
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
392
280
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
393
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
281
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
394
282
|
@instance.post_split(request);
|
395
283
|
end
|
396
284
|
end
|
@@ -400,13 +288,13 @@ describe 'CellsApi' do
|
|
400
288
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
401
289
|
data_source_xlsx = 'datasource.xlsx'
|
402
290
|
|
403
|
-
|
291
|
+
out_format = "docx"
|
404
292
|
|
405
293
|
|
406
294
|
mapFiles = { }
|
407
295
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
408
296
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
409
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
297
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
410
298
|
@instance.post_split(request);
|
411
299
|
end
|
412
300
|
end
|
@@ -416,13 +304,13 @@ describe 'CellsApi' do
|
|
416
304
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
417
305
|
data_source_xlsx = 'datasource.xlsx'
|
418
306
|
|
419
|
-
|
307
|
+
out_format = "pptx"
|
420
308
|
|
421
309
|
|
422
310
|
mapFiles = { }
|
423
311
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
424
312
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
425
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
313
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
426
314
|
@instance.post_split(request);
|
427
315
|
end
|
428
316
|
end
|
@@ -432,13 +320,13 @@ describe 'CellsApi' do
|
|
432
320
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
433
321
|
data_source_xlsx = 'datasource.xlsx'
|
434
322
|
|
435
|
-
|
323
|
+
out_format = "json"
|
436
324
|
|
437
325
|
|
438
326
|
mapFiles = { }
|
439
327
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
440
328
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
441
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
329
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
442
330
|
@instance.post_split(request);
|
443
331
|
end
|
444
332
|
end
|
@@ -448,13 +336,13 @@ describe 'CellsApi' do
|
|
448
336
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
449
337
|
data_source_xlsx = 'datasource.xlsx'
|
450
338
|
|
451
|
-
|
339
|
+
out_format = "sql"
|
452
340
|
|
453
341
|
|
454
342
|
mapFiles = { }
|
455
343
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
456
344
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
457
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:
|
345
|
+
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
458
346
|
@instance.post_split(request);
|
459
347
|
end
|
460
348
|
end
|
@@ -2668,7 +2556,7 @@ describe 'CellsApi' do
|
|
2668
2556
|
mapFiles = { }
|
2669
2557
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2670
2558
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2671
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2559
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2672
2560
|
@instance.post_merge(request);
|
2673
2561
|
end
|
2674
2562
|
end
|
@@ -2685,7 +2573,7 @@ describe 'CellsApi' do
|
|
2685
2573
|
mapFiles = { }
|
2686
2574
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2687
2575
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2688
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2576
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2689
2577
|
@instance.post_merge(request);
|
2690
2578
|
end
|
2691
2579
|
end
|
@@ -2702,7 +2590,7 @@ describe 'CellsApi' do
|
|
2702
2590
|
mapFiles = { }
|
2703
2591
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2704
2592
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2705
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2593
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2706
2594
|
@instance.post_merge(request);
|
2707
2595
|
end
|
2708
2596
|
end
|
@@ -2719,7 +2607,7 @@ describe 'CellsApi' do
|
|
2719
2607
|
mapFiles = { }
|
2720
2608
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2721
2609
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2722
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2610
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2723
2611
|
@instance.post_merge(request);
|
2724
2612
|
end
|
2725
2613
|
end
|
@@ -2736,7 +2624,7 @@ describe 'CellsApi' do
|
|
2736
2624
|
mapFiles = { }
|
2737
2625
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2738
2626
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2739
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2627
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2740
2628
|
@instance.post_merge(request);
|
2741
2629
|
end
|
2742
2630
|
end
|
@@ -2753,7 +2641,7 @@ describe 'CellsApi' do
|
|
2753
2641
|
mapFiles = { }
|
2754
2642
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2755
2643
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2756
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2644
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2757
2645
|
@instance.post_merge(request);
|
2758
2646
|
end
|
2759
2647
|
end
|
@@ -2770,7 +2658,7 @@ describe 'CellsApi' do
|
|
2770
2658
|
mapFiles = { }
|
2771
2659
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2772
2660
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2773
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2661
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2774
2662
|
@instance.post_merge(request);
|
2775
2663
|
end
|
2776
2664
|
end
|
@@ -2787,7 +2675,7 @@ describe 'CellsApi' do
|
|
2787
2675
|
mapFiles = { }
|
2788
2676
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2789
2677
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2790
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2678
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2791
2679
|
@instance.post_merge(request);
|
2792
2680
|
end
|
2793
2681
|
end
|
@@ -2804,7 +2692,7 @@ describe 'CellsApi' do
|
|
2804
2692
|
mapFiles = { }
|
2805
2693
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2806
2694
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2807
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2695
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2808
2696
|
@instance.post_merge(request);
|
2809
2697
|
end
|
2810
2698
|
end
|
@@ -2821,7 +2709,7 @@ describe 'CellsApi' do
|
|
2821
2709
|
mapFiles = { }
|
2822
2710
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2823
2711
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2824
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2712
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2825
2713
|
@instance.post_merge(request);
|
2826
2714
|
end
|
2827
2715
|
end
|
@@ -2838,7 +2726,7 @@ describe 'CellsApi' do
|
|
2838
2726
|
mapFiles = { }
|
2839
2727
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2840
2728
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2841
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2729
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2842
2730
|
@instance.post_merge(request);
|
2843
2731
|
end
|
2844
2732
|
end
|
@@ -2855,7 +2743,7 @@ describe 'CellsApi' do
|
|
2855
2743
|
mapFiles = { }
|
2856
2744
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2857
2745
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2858
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2746
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2859
2747
|
@instance.post_merge(request);
|
2860
2748
|
end
|
2861
2749
|
end
|
@@ -2872,7 +2760,7 @@ describe 'CellsApi' do
|
|
2872
2760
|
mapFiles = { }
|
2873
2761
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2874
2762
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2875
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2763
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2876
2764
|
@instance.post_merge(request);
|
2877
2765
|
end
|
2878
2766
|
end
|
@@ -2889,7 +2777,7 @@ describe 'CellsApi' do
|
|
2889
2777
|
mapFiles = { }
|
2890
2778
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2891
2779
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2892
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2780
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2893
2781
|
@instance.post_merge(request);
|
2894
2782
|
end
|
2895
2783
|
end
|
@@ -2906,7 +2794,7 @@ describe 'CellsApi' do
|
|
2906
2794
|
mapFiles = { }
|
2907
2795
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2908
2796
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2909
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2797
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2910
2798
|
@instance.post_merge(request);
|
2911
2799
|
end
|
2912
2800
|
end
|
@@ -2923,7 +2811,7 @@ describe 'CellsApi' do
|
|
2923
2811
|
mapFiles = { }
|
2924
2812
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2925
2813
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2926
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2814
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2927
2815
|
@instance.post_merge(request);
|
2928
2816
|
end
|
2929
2817
|
end
|
@@ -2940,7 +2828,7 @@ describe 'CellsApi' do
|
|
2940
2828
|
mapFiles = { }
|
2941
2829
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2942
2830
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2943
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2831
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2944
2832
|
@instance.post_merge(request);
|
2945
2833
|
end
|
2946
2834
|
end
|
@@ -2957,7 +2845,7 @@ describe 'CellsApi' do
|
|
2957
2845
|
mapFiles = { }
|
2958
2846
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2959
2847
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2960
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2848
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2961
2849
|
@instance.post_merge(request);
|
2962
2850
|
end
|
2963
2851
|
end
|
@@ -2974,7 +2862,7 @@ describe 'CellsApi' do
|
|
2974
2862
|
mapFiles = { }
|
2975
2863
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2976
2864
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2977
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2865
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2978
2866
|
@instance.post_merge(request);
|
2979
2867
|
end
|
2980
2868
|
end
|
@@ -2991,7 +2879,7 @@ describe 'CellsApi' do
|
|
2991
2879
|
mapFiles = { }
|
2992
2880
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2993
2881
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2994
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2882
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2995
2883
|
@instance.post_merge(request);
|
2996
2884
|
end
|
2997
2885
|
end
|
@@ -3008,7 +2896,7 @@ describe 'CellsApi' do
|
|
3008
2896
|
mapFiles = { }
|
3009
2897
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3010
2898
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3011
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2899
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3012
2900
|
@instance.post_merge(request);
|
3013
2901
|
end
|
3014
2902
|
end
|
@@ -3025,7 +2913,7 @@ describe 'CellsApi' do
|
|
3025
2913
|
mapFiles = { }
|
3026
2914
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3027
2915
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3028
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2916
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3029
2917
|
@instance.post_merge(request);
|
3030
2918
|
end
|
3031
2919
|
end
|
@@ -3042,7 +2930,7 @@ describe 'CellsApi' do
|
|
3042
2930
|
mapFiles = { }
|
3043
2931
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3044
2932
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3045
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2933
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3046
2934
|
@instance.post_merge(request);
|
3047
2935
|
end
|
3048
2936
|
end
|
@@ -3059,7 +2947,7 @@ describe 'CellsApi' do
|
|
3059
2947
|
mapFiles = { }
|
3060
2948
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3061
2949
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3062
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2950
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3063
2951
|
@instance.post_merge(request);
|
3064
2952
|
end
|
3065
2953
|
end
|
@@ -3076,7 +2964,7 @@ describe 'CellsApi' do
|
|
3076
2964
|
mapFiles = { }
|
3077
2965
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3078
2966
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3079
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2967
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3080
2968
|
@instance.post_merge(request);
|
3081
2969
|
end
|
3082
2970
|
end
|
@@ -3093,7 +2981,7 @@ describe 'CellsApi' do
|
|
3093
2981
|
mapFiles = { }
|
3094
2982
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3095
2983
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3096
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
2984
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3097
2985
|
@instance.post_merge(request);
|
3098
2986
|
end
|
3099
2987
|
end
|
@@ -3110,7 +2998,7 @@ describe 'CellsApi' do
|
|
3110
2998
|
mapFiles = { }
|
3111
2999
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3112
3000
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3113
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
3001
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3114
3002
|
@instance.post_merge(request);
|
3115
3003
|
end
|
3116
3004
|
end
|
@@ -3127,7 +3015,7 @@ describe 'CellsApi' do
|
|
3127
3015
|
mapFiles = { }
|
3128
3016
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3129
3017
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3130
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:
|
3018
|
+
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
3131
3019
|
@instance.post_merge(request);
|
3132
3020
|
end
|
3133
3021
|
end
|
@@ -3399,7 +3287,7 @@ describe 'CellsApi' do
|
|
3399
3287
|
|
3400
3288
|
mapFiles = { }
|
3401
3289
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3402
|
-
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:
|
3290
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:outFormat=>format);
|
3403
3291
|
@instance.post_repair(request);
|
3404
3292
|
end
|
3405
3293
|
end
|
@@ -3413,7 +3301,7 @@ describe 'CellsApi' do
|
|
3413
3301
|
|
3414
3302
|
mapFiles = { }
|
3415
3303
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3416
|
-
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:
|
3304
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:outFormat=>format);
|
3417
3305
|
@instance.post_repair(request);
|
3418
3306
|
end
|
3419
3307
|
end
|
@@ -3427,7 +3315,7 @@ describe 'CellsApi' do
|
|
3427
3315
|
|
3428
3316
|
mapFiles = { }
|
3429
3317
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3430
|
-
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:
|
3318
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:outFormat=>format);
|
3431
3319
|
@instance.post_repair(request);
|
3432
3320
|
end
|
3433
3321
|
end
|
@@ -3441,7 +3329,7 @@ describe 'CellsApi' do
|
|
3441
3329
|
|
3442
3330
|
mapFiles = { }
|
3443
3331
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3444
|
-
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:
|
3332
|
+
request = AsposeCellsCloud::PostRepairRequest.new(:File=>mapFiles,:outFormat=>format);
|
3445
3333
|
@instance.post_repair(request);
|
3446
3334
|
end
|
3447
3335
|
end
|
@@ -3456,7 +3344,7 @@ describe 'CellsApi' do
|
|
3456
3344
|
|
3457
3345
|
mapFiles = { }
|
3458
3346
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3459
|
-
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:
|
3347
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:outFormat=>format);
|
3460
3348
|
@instance.post_reverse(request);
|
3461
3349
|
end
|
3462
3350
|
end
|
@@ -3471,7 +3359,7 @@ describe 'CellsApi' do
|
|
3471
3359
|
|
3472
3360
|
mapFiles = { }
|
3473
3361
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3474
|
-
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:
|
3362
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:outFormat=>format);
|
3475
3363
|
@instance.post_reverse(request);
|
3476
3364
|
end
|
3477
3365
|
end
|
@@ -3486,7 +3374,7 @@ describe 'CellsApi' do
|
|
3486
3374
|
|
3487
3375
|
mapFiles = { }
|
3488
3376
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3489
|
-
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:
|
3377
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:outFormat=>format);
|
3490
3378
|
@instance.post_reverse(request);
|
3491
3379
|
end
|
3492
3380
|
end
|
@@ -3501,7 +3389,7 @@ describe 'CellsApi' do
|
|
3501
3389
|
|
3502
3390
|
mapFiles = { }
|
3503
3391
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3504
|
-
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:
|
3392
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:outFormat=>format);
|
3505
3393
|
@instance.post_reverse(request);
|
3506
3394
|
end
|
3507
3395
|
end
|
@@ -3516,7 +3404,7 @@ describe 'CellsApi' do
|
|
3516
3404
|
|
3517
3405
|
mapFiles = { }
|
3518
3406
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3519
|
-
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:
|
3407
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:outFormat=>format);
|
3520
3408
|
@instance.post_reverse(request);
|
3521
3409
|
end
|
3522
3410
|
end
|
@@ -3531,7 +3419,7 @@ describe 'CellsApi' do
|
|
3531
3419
|
|
3532
3420
|
mapFiles = { }
|
3533
3421
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3534
|
-
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:
|
3422
|
+
request = AsposeCellsCloud::PostReverseRequest.new(:File=>mapFiles,:rotateType=>rotate_type,:outFormat=>format);
|
3535
3423
|
@instance.post_reverse(request);
|
3536
3424
|
end
|
3537
3425
|
end
|