aspose_cells_cloud 23.10 → 23.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -13
- data/lib/aspose_cells_cloud/api/cells_api.rb +159 -22830
- data/lib/aspose_cells_cloud/models/{value_type.rb → barcode_response.rb} +77 -20
- data/lib/aspose_cells_cloud/models/{total_request.rb → barcode_response_list.rb} +2 -2
- data/lib/aspose_cells_cloud/models/{cells_error.rb → import_json_request.rb} +60 -55
- data/lib/aspose_cells_cloud/models/import_xml_request.rb +16 -4
- data/lib/aspose_cells_cloud/models/{spreadsheet_ml2003_save_options.rb → spreadsheet_m_l2003_save_options.rb} +134 -96
- data/lib/aspose_cells_cloud/requests/post_workbook_import_json_request.rb +156 -0
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +9 -5
- data/spec/api/folder_controller_spec.rb +1 -1
- data/spec/api/workbook_controller_spec.rb +2 -2
- data/spec/conversion/conversion_json_spec.rb +0 -198
- data/spec/conversion/conversion_png_spec.rb +0 -264
- data/spec/conversion/conversion_spec.rb +92 -653
- data/spec/document/light_cells_spec.rb +6 -5
- metadata +9 -12
- data/lib/aspose_cells_cloud/api/light_cells_api.rb +0 -1304
- data/lib/aspose_cells_cloud/api/lite_cells_api.rb +0 -1179
- data/lib/aspose_cells_cloud/models/access_token_response.rb +0 -261
- data/spec/one_case_spec.rb +0 -26
@@ -11,7 +11,7 @@ describe 'CellsApi' do
|
|
11
11
|
# run after each test
|
12
12
|
end
|
13
13
|
|
14
|
-
describe '
|
14
|
+
describe 'workbook_save_as_csv__out_result_post_excel_save_ascsv test' do
|
15
15
|
it "should work" do
|
16
16
|
remote_folder = 'TestData/In'
|
17
17
|
|
@@ -19,7 +19,7 @@ describe 'CellsApi' do
|
|
19
19
|
remote_name = 'Book1.xlsx'
|
20
20
|
|
21
21
|
format = "csv"
|
22
|
-
newfilename = "
|
22
|
+
newfilename = "OutResult/PostExcelSaveAs.csv"
|
23
23
|
|
24
24
|
|
25
25
|
mapFiles = { }
|
@@ -33,7 +33,7 @@ describe 'CellsApi' do
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
describe '
|
36
|
+
describe 'workbook_save_as_xls__out_result_post_excel_save_asxls test' do
|
37
37
|
it "should work" do
|
38
38
|
remote_folder = 'TestData/In'
|
39
39
|
|
@@ -41,7 +41,7 @@ describe 'CellsApi' do
|
|
41
41
|
remote_name = 'Book1.xlsx'
|
42
42
|
|
43
43
|
format = "xls"
|
44
|
-
newfilename = "
|
44
|
+
newfilename = "OutResult/PostExcelSaveAs.xls"
|
45
45
|
|
46
46
|
|
47
47
|
mapFiles = { }
|
@@ -55,7 +55,7 @@ describe 'CellsApi' do
|
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
|
-
describe '
|
58
|
+
describe 'workbook_save_as_html__out_result_post_excel_save_ashtml test' do
|
59
59
|
it "should work" do
|
60
60
|
remote_folder = 'TestData/In'
|
61
61
|
|
@@ -63,7 +63,7 @@ describe 'CellsApi' do
|
|
63
63
|
remote_name = 'Book1.xlsx'
|
64
64
|
|
65
65
|
format = "html"
|
66
|
-
newfilename = "
|
66
|
+
newfilename = "OutResult/PostExcelSaveAs.html"
|
67
67
|
|
68
68
|
|
69
69
|
mapFiles = { }
|
@@ -77,7 +77,7 @@ describe 'CellsApi' do
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
describe '
|
80
|
+
describe 'workbook_save_as_mhtml__out_result_post_excel_save_asmhtml test' do
|
81
81
|
it "should work" do
|
82
82
|
remote_folder = 'TestData/In'
|
83
83
|
|
@@ -85,7 +85,7 @@ describe 'CellsApi' do
|
|
85
85
|
remote_name = 'Book1.xlsx'
|
86
86
|
|
87
87
|
format = "mhtml"
|
88
|
-
newfilename = "
|
88
|
+
newfilename = "OutResult/PostExcelSaveAs.mhtml"
|
89
89
|
|
90
90
|
|
91
91
|
mapFiles = { }
|
@@ -99,7 +99,7 @@ describe 'CellsApi' do
|
|
99
99
|
end
|
100
100
|
end
|
101
101
|
|
102
|
-
describe '
|
102
|
+
describe 'workbook_save_as_ods__out_result_post_excel_save_asods test' do
|
103
103
|
it "should work" do
|
104
104
|
remote_folder = 'TestData/In'
|
105
105
|
|
@@ -107,7 +107,7 @@ describe 'CellsApi' do
|
|
107
107
|
remote_name = 'Book1.xlsx'
|
108
108
|
|
109
109
|
format = "ods"
|
110
|
-
newfilename = "
|
110
|
+
newfilename = "OutResult/PostExcelSaveAs.ods"
|
111
111
|
|
112
112
|
|
113
113
|
mapFiles = { }
|
@@ -121,7 +121,7 @@ describe 'CellsApi' do
|
|
121
121
|
end
|
122
122
|
end
|
123
123
|
|
124
|
-
describe '
|
124
|
+
describe 'workbook_save_as_pdf__out_result_post_excel_save_aspdf test' do
|
125
125
|
it "should work" do
|
126
126
|
remote_folder = 'TestData/In'
|
127
127
|
|
@@ -129,7 +129,7 @@ describe 'CellsApi' do
|
|
129
129
|
remote_name = 'Book1.xlsx'
|
130
130
|
|
131
131
|
format = "pdf"
|
132
|
-
newfilename = "
|
132
|
+
newfilename = "OutResult/PostExcelSaveAs.pdf"
|
133
133
|
|
134
134
|
|
135
135
|
mapFiles = { }
|
@@ -143,7 +143,7 @@ describe 'CellsApi' do
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
describe '
|
146
|
+
describe 'workbook_save_as_xml__out_result_post_excel_save_asxml test' do
|
147
147
|
it "should work" do
|
148
148
|
remote_folder = 'TestData/In'
|
149
149
|
|
@@ -151,7 +151,7 @@ describe 'CellsApi' do
|
|
151
151
|
remote_name = 'Book1.xlsx'
|
152
152
|
|
153
153
|
format = "xml"
|
154
|
-
newfilename = "
|
154
|
+
newfilename = "OutResult/PostExcelSaveAs.xml"
|
155
155
|
|
156
156
|
|
157
157
|
mapFiles = { }
|
@@ -165,7 +165,7 @@ describe 'CellsApi' do
|
|
165
165
|
end
|
166
166
|
end
|
167
167
|
|
168
|
-
describe '
|
168
|
+
describe 'workbook_save_as_txt__out_result_post_excel_save_astxt test' do
|
169
169
|
it "should work" do
|
170
170
|
remote_folder = 'TestData/In'
|
171
171
|
|
@@ -173,7 +173,7 @@ describe 'CellsApi' do
|
|
173
173
|
remote_name = 'Book1.xlsx'
|
174
174
|
|
175
175
|
format = "txt"
|
176
|
-
newfilename = "
|
176
|
+
newfilename = "OutResult/PostExcelSaveAs.txt"
|
177
177
|
|
178
178
|
|
179
179
|
mapFiles = { }
|
@@ -187,7 +187,7 @@ describe 'CellsApi' do
|
|
187
187
|
end
|
188
188
|
end
|
189
189
|
|
190
|
-
describe '
|
190
|
+
describe 'workbook_save_as_tif__out_result_post_excel_save_astif test' do
|
191
191
|
it "should work" do
|
192
192
|
remote_folder = 'TestData/In'
|
193
193
|
|
@@ -195,7 +195,7 @@ describe 'CellsApi' do
|
|
195
195
|
remote_name = 'Book1.xlsx'
|
196
196
|
|
197
197
|
format = "tif"
|
198
|
-
newfilename = "
|
198
|
+
newfilename = "OutResult/PostExcelSaveAs.tif"
|
199
199
|
|
200
200
|
|
201
201
|
mapFiles = { }
|
@@ -209,7 +209,7 @@ describe 'CellsApi' do
|
|
209
209
|
end
|
210
210
|
end
|
211
211
|
|
212
|
-
describe '
|
212
|
+
describe 'workbook_save_as_xlsb__out_result_post_excel_save_asxlsb test' do
|
213
213
|
it "should work" do
|
214
214
|
remote_folder = 'TestData/In'
|
215
215
|
|
@@ -217,7 +217,7 @@ describe 'CellsApi' do
|
|
217
217
|
remote_name = 'Book1.xlsx'
|
218
218
|
|
219
219
|
format = "xlsb"
|
220
|
-
newfilename = "
|
220
|
+
newfilename = "OutResult/PostExcelSaveAs.xlsb"
|
221
221
|
|
222
222
|
|
223
223
|
mapFiles = { }
|
@@ -231,7 +231,7 @@ describe 'CellsApi' do
|
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|
234
|
-
describe '
|
234
|
+
describe 'workbook_save_as_xlsm__out_result_post_excel_save_asxlsm test' do
|
235
235
|
it "should work" do
|
236
236
|
remote_folder = 'TestData/In'
|
237
237
|
|
@@ -239,7 +239,7 @@ describe 'CellsApi' do
|
|
239
239
|
remote_name = 'Book1.xlsx'
|
240
240
|
|
241
241
|
format = "xlsm"
|
242
|
-
newfilename = "
|
242
|
+
newfilename = "OutResult/PostExcelSaveAs.xlsm"
|
243
243
|
|
244
244
|
|
245
245
|
mapFiles = { }
|
@@ -253,7 +253,7 @@ describe 'CellsApi' do
|
|
253
253
|
end
|
254
254
|
end
|
255
255
|
|
256
|
-
describe '
|
256
|
+
describe 'workbook_save_as_xlsx__out_result_post_excel_save_asxlsx test' do
|
257
257
|
it "should work" do
|
258
258
|
remote_folder = 'TestData/In'
|
259
259
|
|
@@ -261,7 +261,7 @@ describe 'CellsApi' do
|
|
261
261
|
remote_name = 'Book1.xlsx'
|
262
262
|
|
263
263
|
format = "xlsx"
|
264
|
-
newfilename = "
|
264
|
+
newfilename = "OutResult/PostExcelSaveAs.xlsx"
|
265
265
|
|
266
266
|
|
267
267
|
mapFiles = { }
|
@@ -275,7 +275,7 @@ describe 'CellsApi' do
|
|
275
275
|
end
|
276
276
|
end
|
277
277
|
|
278
|
-
describe '
|
278
|
+
describe 'workbook_save_as_xltm__out_result_post_excel_save_asxltm test' do
|
279
279
|
it "should work" do
|
280
280
|
remote_folder = 'TestData/In'
|
281
281
|
|
@@ -283,7 +283,7 @@ describe 'CellsApi' do
|
|
283
283
|
remote_name = 'Book1.xlsx'
|
284
284
|
|
285
285
|
format = "xltm"
|
286
|
-
newfilename = "
|
286
|
+
newfilename = "OutResult/PostExcelSaveAs.xltm"
|
287
287
|
|
288
288
|
|
289
289
|
mapFiles = { }
|
@@ -297,7 +297,7 @@ describe 'CellsApi' do
|
|
297
297
|
end
|
298
298
|
end
|
299
299
|
|
300
|
-
describe '
|
300
|
+
describe 'workbook_save_as_xltx__out_result_post_excel_save_asxltx test' do
|
301
301
|
it "should work" do
|
302
302
|
remote_folder = 'TestData/In'
|
303
303
|
|
@@ -305,7 +305,7 @@ describe 'CellsApi' do
|
|
305
305
|
remote_name = 'Book1.xlsx'
|
306
306
|
|
307
307
|
format = "xltx"
|
308
|
-
newfilename = "
|
308
|
+
newfilename = "OutResult/PostExcelSaveAs.xltx"
|
309
309
|
|
310
310
|
|
311
311
|
mapFiles = { }
|
@@ -319,7 +319,7 @@ describe 'CellsApi' do
|
|
319
319
|
end
|
320
320
|
end
|
321
321
|
|
322
|
-
describe '
|
322
|
+
describe 'workbook_save_as_xps__out_result_post_excel_save_asxps test' do
|
323
323
|
it "should work" do
|
324
324
|
remote_folder = 'TestData/In'
|
325
325
|
|
@@ -327,7 +327,7 @@ describe 'CellsApi' do
|
|
327
327
|
remote_name = 'Book1.xlsx'
|
328
328
|
|
329
329
|
format = "xps"
|
330
|
-
newfilename = "
|
330
|
+
newfilename = "OutResult/PostExcelSaveAs.xps"
|
331
331
|
|
332
332
|
|
333
333
|
mapFiles = { }
|
@@ -341,7 +341,7 @@ describe 'CellsApi' do
|
|
341
341
|
end
|
342
342
|
end
|
343
343
|
|
344
|
-
describe '
|
344
|
+
describe 'workbook_save_as_png__out_result_post_excel_save_aspng test' do
|
345
345
|
it "should work" do
|
346
346
|
remote_folder = 'TestData/In'
|
347
347
|
|
@@ -349,7 +349,7 @@ describe 'CellsApi' do
|
|
349
349
|
remote_name = 'Book1.xlsx'
|
350
350
|
|
351
351
|
format = "png"
|
352
|
-
newfilename = "
|
352
|
+
newfilename = "OutResult/PostExcelSaveAs.png"
|
353
353
|
|
354
354
|
|
355
355
|
mapFiles = { }
|
@@ -363,95 +363,7 @@ describe 'CellsApi' do
|
|
363
363
|
end
|
364
364
|
end
|
365
365
|
|
366
|
-
describe '
|
367
|
-
it "should work" do
|
368
|
-
remote_folder = 'TestData/In'
|
369
|
-
|
370
|
-
local_name = 'Book1.xlsx'
|
371
|
-
remote_name = 'Book1.xlsx'
|
372
|
-
|
373
|
-
format = "jpg"
|
374
|
-
newfilename = "DotNetSDK/OutResult/PostExcelSaveAs.jpg"
|
375
|
-
|
376
|
-
|
377
|
-
mapFiles = { }
|
378
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
379
|
-
|
380
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
381
|
-
@instance.upload_file(uploadrequest)
|
382
|
-
saveOptions = AsposeCellsCloud::PdfSaveOptions.new(:SaveFormat=>format );
|
383
|
-
request = AsposeCellsCloud::PostWorkbookSaveAsRequest.new(:name=>remote_name,:newfilename=>newfilename,:saveOptions=>saveOptions,:folder=>remote_folder);
|
384
|
-
@instance.post_workbook_save_as(request);
|
385
|
-
end
|
386
|
-
end
|
387
|
-
|
388
|
-
describe 'workbook_save_as_gif__dot_net_sdk_out_result_post_excel_save_asgif test' do
|
389
|
-
it "should work" do
|
390
|
-
remote_folder = 'TestData/In'
|
391
|
-
|
392
|
-
local_name = 'Book1.xlsx'
|
393
|
-
remote_name = 'Book1.xlsx'
|
394
|
-
|
395
|
-
format = "gif"
|
396
|
-
newfilename = "DotNetSDK/OutResult/PostExcelSaveAs.gif"
|
397
|
-
|
398
|
-
|
399
|
-
mapFiles = { }
|
400
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
401
|
-
|
402
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
403
|
-
@instance.upload_file(uploadrequest)
|
404
|
-
saveOptions = AsposeCellsCloud::PdfSaveOptions.new(:SaveFormat=>format );
|
405
|
-
request = AsposeCellsCloud::PostWorkbookSaveAsRequest.new(:name=>remote_name,:newfilename=>newfilename,:saveOptions=>saveOptions,:folder=>remote_folder);
|
406
|
-
@instance.post_workbook_save_as(request);
|
407
|
-
end
|
408
|
-
end
|
409
|
-
|
410
|
-
describe 'workbook_save_as_emf__dot_net_sdk_out_result_post_excel_save_asemf test' do
|
411
|
-
it "should work" do
|
412
|
-
remote_folder = 'TestData/In'
|
413
|
-
|
414
|
-
local_name = 'Book1.xlsx'
|
415
|
-
remote_name = 'Book1.xlsx'
|
416
|
-
|
417
|
-
format = "emf"
|
418
|
-
newfilename = "DotNetSDK/OutResult/PostExcelSaveAs.emf"
|
419
|
-
|
420
|
-
|
421
|
-
mapFiles = { }
|
422
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
423
|
-
|
424
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
425
|
-
@instance.upload_file(uploadrequest)
|
426
|
-
saveOptions = AsposeCellsCloud::PdfSaveOptions.new(:SaveFormat=>format );
|
427
|
-
request = AsposeCellsCloud::PostWorkbookSaveAsRequest.new(:name=>remote_name,:newfilename=>newfilename,:saveOptions=>saveOptions,:folder=>remote_folder);
|
428
|
-
@instance.post_workbook_save_as(request);
|
429
|
-
end
|
430
|
-
end
|
431
|
-
|
432
|
-
describe 'workbook_save_as_bmp__dot_net_sdk_out_result_post_excel_save_asbmp test' do
|
433
|
-
it "should work" do
|
434
|
-
remote_folder = 'TestData/In'
|
435
|
-
|
436
|
-
local_name = 'Book1.xlsx'
|
437
|
-
remote_name = 'Book1.xlsx'
|
438
|
-
|
439
|
-
format = "bmp"
|
440
|
-
newfilename = "DotNetSDK/OutResult/PostExcelSaveAs.bmp"
|
441
|
-
|
442
|
-
|
443
|
-
mapFiles = { }
|
444
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
445
|
-
|
446
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
447
|
-
@instance.upload_file(uploadrequest)
|
448
|
-
saveOptions = AsposeCellsCloud::PdfSaveOptions.new(:SaveFormat=>format );
|
449
|
-
request = AsposeCellsCloud::PostWorkbookSaveAsRequest.new(:name=>remote_name,:newfilename=>newfilename,:saveOptions=>saveOptions,:folder=>remote_folder);
|
450
|
-
@instance.post_workbook_save_as(request);
|
451
|
-
end
|
452
|
-
end
|
453
|
-
|
454
|
-
describe 'workbook_save_as_md__dot_net_sdk_out_result_post_excel_save_asmd test' do
|
366
|
+
describe 'workbook_save_as_md__out_result_post_excel_save_asmd test' do
|
455
367
|
it "should work" do
|
456
368
|
remote_folder = 'TestData/In'
|
457
369
|
|
@@ -459,7 +371,7 @@ describe 'CellsApi' do
|
|
459
371
|
remote_name = 'Book1.xlsx'
|
460
372
|
|
461
373
|
format = "md"
|
462
|
-
newfilename = "
|
374
|
+
newfilename = "OutResult/PostExcelSaveAs.md"
|
463
375
|
|
464
376
|
|
465
377
|
mapFiles = { }
|
@@ -473,7 +385,7 @@ describe 'CellsApi' do
|
|
473
385
|
end
|
474
386
|
end
|
475
387
|
|
476
|
-
describe '
|
388
|
+
describe 'workbook_save_as_numbers__out_result_post_excel_save_asnumbers test' do
|
477
389
|
it "should work" do
|
478
390
|
remote_folder = 'TestData/In'
|
479
391
|
|
@@ -481,29 +393,7 @@ describe 'CellsApi' do
|
|
481
393
|
remote_name = 'Book1.xlsx'
|
482
394
|
|
483
395
|
format = "numbers"
|
484
|
-
newfilename = "
|
485
|
-
|
486
|
-
|
487
|
-
mapFiles = { }
|
488
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
489
|
-
|
490
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
491
|
-
@instance.upload_file(uploadrequest)
|
492
|
-
saveOptions = AsposeCellsCloud::PdfSaveOptions.new(:SaveFormat=>format );
|
493
|
-
request = AsposeCellsCloud::PostWorkbookSaveAsRequest.new(:name=>remote_name,:newfilename=>newfilename,:saveOptions=>saveOptions,:folder=>remote_folder);
|
494
|
-
@instance.post_workbook_save_as(request);
|
495
|
-
end
|
496
|
-
end
|
497
|
-
|
498
|
-
describe 'workbook_save_as_wmf__dot_net_sdk_out_result_post_excel_save_aswmf test' do
|
499
|
-
it "should work" do
|
500
|
-
remote_folder = 'TestData/In'
|
501
|
-
|
502
|
-
local_name = 'Book1.xlsx'
|
503
|
-
remote_name = 'Book1.xlsx'
|
504
|
-
|
505
|
-
format = "wmf"
|
506
|
-
newfilename = "DotNetSDK/OutResult/PostExcelSaveAs.wmf"
|
396
|
+
newfilename = "OutResult/PostExcelSaveAs.numbers"
|
507
397
|
|
508
398
|
|
509
399
|
mapFiles = { }
|
@@ -517,7 +407,7 @@ describe 'CellsApi' do
|
|
517
407
|
end
|
518
408
|
end
|
519
409
|
|
520
|
-
describe '
|
410
|
+
describe 'workbook_save_as_svg__out_result_post_excel_save_assvg test' do
|
521
411
|
it "should work" do
|
522
412
|
remote_folder = 'TestData/In'
|
523
413
|
|
@@ -525,7 +415,7 @@ describe 'CellsApi' do
|
|
525
415
|
remote_name = 'Book1.xlsx'
|
526
416
|
|
527
417
|
format = "svg"
|
528
|
-
newfilename = "
|
418
|
+
newfilename = "OutResult/PostExcelSaveAs.svg"
|
529
419
|
|
530
420
|
|
531
421
|
mapFiles = { }
|
@@ -539,7 +429,7 @@ describe 'CellsApi' do
|
|
539
429
|
end
|
540
430
|
end
|
541
431
|
|
542
|
-
describe '
|
432
|
+
describe 'workbook_save_as_docx__out_result_post_excel_save_asdocx test' do
|
543
433
|
it "should work" do
|
544
434
|
remote_folder = 'TestData/In'
|
545
435
|
|
@@ -547,7 +437,7 @@ describe 'CellsApi' do
|
|
547
437
|
remote_name = 'Book1.xlsx'
|
548
438
|
|
549
439
|
format = "docx"
|
550
|
-
newfilename = "
|
440
|
+
newfilename = "OutResult/PostExcelSaveAs.docx"
|
551
441
|
|
552
442
|
|
553
443
|
mapFiles = { }
|
@@ -561,7 +451,7 @@ describe 'CellsApi' do
|
|
561
451
|
end
|
562
452
|
end
|
563
453
|
|
564
|
-
describe '
|
454
|
+
describe 'workbook_save_as_pptx__out_result_post_excel_save_aspptx test' do
|
565
455
|
it "should work" do
|
566
456
|
remote_folder = 'TestData/In'
|
567
457
|
|
@@ -569,7 +459,7 @@ describe 'CellsApi' do
|
|
569
459
|
remote_name = 'Book1.xlsx'
|
570
460
|
|
571
461
|
format = "pptx"
|
572
|
-
newfilename = "
|
462
|
+
newfilename = "OutResult/PostExcelSaveAs.pptx"
|
573
463
|
|
574
464
|
|
575
465
|
mapFiles = { }
|
@@ -583,7 +473,7 @@ describe 'CellsApi' do
|
|
583
473
|
end
|
584
474
|
end
|
585
475
|
|
586
|
-
describe '
|
476
|
+
describe 'workbook_save_as_json__out_result_post_excel_save_asjson test' do
|
587
477
|
it "should work" do
|
588
478
|
remote_folder = 'TestData/In'
|
589
479
|
|
@@ -591,7 +481,7 @@ describe 'CellsApi' do
|
|
591
481
|
remote_name = 'Book1.xlsx'
|
592
482
|
|
593
483
|
format = "json"
|
594
|
-
newfilename = "
|
484
|
+
newfilename = "OutResult/PostExcelSaveAs.json"
|
595
485
|
|
596
486
|
|
597
487
|
mapFiles = { }
|
@@ -605,7 +495,7 @@ describe 'CellsApi' do
|
|
605
495
|
end
|
606
496
|
end
|
607
497
|
|
608
|
-
describe '
|
498
|
+
describe 'workbook_save_as_sql__out_result_post_excel_save_assql test' do
|
609
499
|
it "should work" do
|
610
500
|
remote_folder = 'TestData/In'
|
611
501
|
|
@@ -613,7 +503,7 @@ describe 'CellsApi' do
|
|
613
503
|
remote_name = 'Book1.xlsx'
|
614
504
|
|
615
505
|
format = "sql"
|
616
|
-
newfilename = "
|
506
|
+
newfilename = "OutResult/PostExcelSaveAs.sql"
|
617
507
|
|
618
508
|
|
619
509
|
mapFiles = { }
|
@@ -827,86 +717,6 @@ describe 'CellsApi' do
|
|
827
717
|
end
|
828
718
|
end
|
829
719
|
|
830
|
-
describe 'get_workbook_format_xlsm test' do
|
831
|
-
it "should work" do
|
832
|
-
remote_folder = 'TestData/In'
|
833
|
-
|
834
|
-
local_name = 'Book1.xlsx'
|
835
|
-
remote_name = 'Book1.xlsx'
|
836
|
-
|
837
|
-
format = "xlsm"
|
838
|
-
|
839
|
-
|
840
|
-
mapFiles = { }
|
841
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
842
|
-
|
843
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
844
|
-
@instance.upload_file(uploadrequest)
|
845
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
846
|
-
@instance.get_workbook(request);
|
847
|
-
end
|
848
|
-
end
|
849
|
-
|
850
|
-
describe 'get_workbook_format_xlsx test' do
|
851
|
-
it "should work" do
|
852
|
-
remote_folder = 'TestData/In'
|
853
|
-
|
854
|
-
local_name = 'Book1.xlsx'
|
855
|
-
remote_name = 'Book1.xlsx'
|
856
|
-
|
857
|
-
format = "xlsx"
|
858
|
-
|
859
|
-
|
860
|
-
mapFiles = { }
|
861
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
862
|
-
|
863
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
864
|
-
@instance.upload_file(uploadrequest)
|
865
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
866
|
-
@instance.get_workbook(request);
|
867
|
-
end
|
868
|
-
end
|
869
|
-
|
870
|
-
describe 'get_workbook_format_xltm test' do
|
871
|
-
it "should work" do
|
872
|
-
remote_folder = 'TestData/In'
|
873
|
-
|
874
|
-
local_name = 'Book1.xlsx'
|
875
|
-
remote_name = 'Book1.xlsx'
|
876
|
-
|
877
|
-
format = "xltm"
|
878
|
-
|
879
|
-
|
880
|
-
mapFiles = { }
|
881
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
882
|
-
|
883
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
884
|
-
@instance.upload_file(uploadrequest)
|
885
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
886
|
-
@instance.get_workbook(request);
|
887
|
-
end
|
888
|
-
end
|
889
|
-
|
890
|
-
describe 'get_workbook_format_xltx test' do
|
891
|
-
it "should work" do
|
892
|
-
remote_folder = 'TestData/In'
|
893
|
-
|
894
|
-
local_name = 'Book1.xlsx'
|
895
|
-
remote_name = 'Book1.xlsx'
|
896
|
-
|
897
|
-
format = "xltx"
|
898
|
-
|
899
|
-
|
900
|
-
mapFiles = { }
|
901
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
902
|
-
|
903
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
904
|
-
@instance.upload_file(uploadrequest)
|
905
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
906
|
-
@instance.get_workbook(request);
|
907
|
-
end
|
908
|
-
end
|
909
|
-
|
910
720
|
describe 'get_workbook_format_xps test' do
|
911
721
|
it "should work" do
|
912
722
|
remote_folder = 'TestData/In'
|
@@ -947,86 +757,6 @@ describe 'CellsApi' do
|
|
947
757
|
end
|
948
758
|
end
|
949
759
|
|
950
|
-
describe 'get_workbook_format_jpg test' do
|
951
|
-
it "should work" do
|
952
|
-
remote_folder = 'TestData/In'
|
953
|
-
|
954
|
-
local_name = 'Book1.xlsx'
|
955
|
-
remote_name = 'Book1.xlsx'
|
956
|
-
|
957
|
-
format = "jpg"
|
958
|
-
|
959
|
-
|
960
|
-
mapFiles = { }
|
961
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
962
|
-
|
963
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
964
|
-
@instance.upload_file(uploadrequest)
|
965
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
966
|
-
@instance.get_workbook(request);
|
967
|
-
end
|
968
|
-
end
|
969
|
-
|
970
|
-
describe 'get_workbook_format_gif test' do
|
971
|
-
it "should work" do
|
972
|
-
remote_folder = 'TestData/In'
|
973
|
-
|
974
|
-
local_name = 'Book1.xlsx'
|
975
|
-
remote_name = 'Book1.xlsx'
|
976
|
-
|
977
|
-
format = "gif"
|
978
|
-
|
979
|
-
|
980
|
-
mapFiles = { }
|
981
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
982
|
-
|
983
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
984
|
-
@instance.upload_file(uploadrequest)
|
985
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
986
|
-
@instance.get_workbook(request);
|
987
|
-
end
|
988
|
-
end
|
989
|
-
|
990
|
-
describe 'get_workbook_format_emf test' do
|
991
|
-
it "should work" do
|
992
|
-
remote_folder = 'TestData/In'
|
993
|
-
|
994
|
-
local_name = 'Book1.xlsx'
|
995
|
-
remote_name = 'Book1.xlsx'
|
996
|
-
|
997
|
-
format = "emf"
|
998
|
-
|
999
|
-
|
1000
|
-
mapFiles = { }
|
1001
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1002
|
-
|
1003
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1004
|
-
@instance.upload_file(uploadrequest)
|
1005
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
1006
|
-
@instance.get_workbook(request);
|
1007
|
-
end
|
1008
|
-
end
|
1009
|
-
|
1010
|
-
describe 'get_workbook_format_bmp test' do
|
1011
|
-
it "should work" do
|
1012
|
-
remote_folder = 'TestData/In'
|
1013
|
-
|
1014
|
-
local_name = 'Book1.xlsx'
|
1015
|
-
remote_name = 'Book1.xlsx'
|
1016
|
-
|
1017
|
-
format = "bmp"
|
1018
|
-
|
1019
|
-
|
1020
|
-
mapFiles = { }
|
1021
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1022
|
-
|
1023
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1024
|
-
@instance.upload_file(uploadrequest)
|
1025
|
-
request = AsposeCellsCloud::GetWorkbookRequest.new(:name=>remote_name,:format=>format,:folder=>remote_folder);
|
1026
|
-
@instance.get_workbook(request);
|
1027
|
-
end
|
1028
|
-
end
|
1029
|
-
|
1030
760
|
describe 'get_workbook_format_md test' do
|
1031
761
|
it "should work" do
|
1032
762
|
remote_folder = 'TestData/In'
|
@@ -1407,94 +1137,6 @@ describe 'CellsApi' do
|
|
1407
1137
|
end
|
1408
1138
|
end
|
1409
1139
|
|
1410
|
-
describe 'convert_workbook_xlsm test' do
|
1411
|
-
it "should work" do
|
1412
|
-
remote_folder = 'TestData/In'
|
1413
|
-
|
1414
|
-
local_name = 'Book1.xlsx'
|
1415
|
-
remote_name = 'Book1.xlsx'
|
1416
|
-
|
1417
|
-
format = "xlsm"
|
1418
|
-
|
1419
|
-
|
1420
|
-
mapFiles = { }
|
1421
|
-
mapFiles = { }
|
1422
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1423
|
-
|
1424
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1425
|
-
@instance.upload_file(uploadrequest)
|
1426
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1427
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1428
|
-
@instance.put_convert_workbook(request);
|
1429
|
-
end
|
1430
|
-
end
|
1431
|
-
|
1432
|
-
describe 'convert_workbook_xlsx test' do
|
1433
|
-
it "should work" do
|
1434
|
-
remote_folder = 'TestData/In'
|
1435
|
-
|
1436
|
-
local_name = 'Book1.xlsx'
|
1437
|
-
remote_name = 'Book1.xlsx'
|
1438
|
-
|
1439
|
-
format = "xlsx"
|
1440
|
-
|
1441
|
-
|
1442
|
-
mapFiles = { }
|
1443
|
-
mapFiles = { }
|
1444
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1445
|
-
|
1446
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1447
|
-
@instance.upload_file(uploadrequest)
|
1448
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1449
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1450
|
-
@instance.put_convert_workbook(request);
|
1451
|
-
end
|
1452
|
-
end
|
1453
|
-
|
1454
|
-
describe 'convert_workbook_xltm test' do
|
1455
|
-
it "should work" do
|
1456
|
-
remote_folder = 'TestData/In'
|
1457
|
-
|
1458
|
-
local_name = 'Book1.xlsx'
|
1459
|
-
remote_name = 'Book1.xlsx'
|
1460
|
-
|
1461
|
-
format = "xltm"
|
1462
|
-
|
1463
|
-
|
1464
|
-
mapFiles = { }
|
1465
|
-
mapFiles = { }
|
1466
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1467
|
-
|
1468
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1469
|
-
@instance.upload_file(uploadrequest)
|
1470
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1471
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1472
|
-
@instance.put_convert_workbook(request);
|
1473
|
-
end
|
1474
|
-
end
|
1475
|
-
|
1476
|
-
describe 'convert_workbook_xltx test' do
|
1477
|
-
it "should work" do
|
1478
|
-
remote_folder = 'TestData/In'
|
1479
|
-
|
1480
|
-
local_name = 'Book1.xlsx'
|
1481
|
-
remote_name = 'Book1.xlsx'
|
1482
|
-
|
1483
|
-
format = "xltx"
|
1484
|
-
|
1485
|
-
|
1486
|
-
mapFiles = { }
|
1487
|
-
mapFiles = { }
|
1488
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1489
|
-
|
1490
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1491
|
-
@instance.upload_file(uploadrequest)
|
1492
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1493
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1494
|
-
@instance.put_convert_workbook(request);
|
1495
|
-
end
|
1496
|
-
end
|
1497
|
-
|
1498
1140
|
describe 'convert_workbook_xps test' do
|
1499
1141
|
it "should work" do
|
1500
1142
|
remote_folder = 'TestData/In'
|
@@ -1539,94 +1181,6 @@ describe 'CellsApi' do
|
|
1539
1181
|
end
|
1540
1182
|
end
|
1541
1183
|
|
1542
|
-
describe 'convert_workbook_jpg test' do
|
1543
|
-
it "should work" do
|
1544
|
-
remote_folder = 'TestData/In'
|
1545
|
-
|
1546
|
-
local_name = 'Book1.xlsx'
|
1547
|
-
remote_name = 'Book1.xlsx'
|
1548
|
-
|
1549
|
-
format = "jpg"
|
1550
|
-
|
1551
|
-
|
1552
|
-
mapFiles = { }
|
1553
|
-
mapFiles = { }
|
1554
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1555
|
-
|
1556
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1557
|
-
@instance.upload_file(uploadrequest)
|
1558
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1559
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1560
|
-
@instance.put_convert_workbook(request);
|
1561
|
-
end
|
1562
|
-
end
|
1563
|
-
|
1564
|
-
describe 'convert_workbook_gif test' do
|
1565
|
-
it "should work" do
|
1566
|
-
remote_folder = 'TestData/In'
|
1567
|
-
|
1568
|
-
local_name = 'Book1.xlsx'
|
1569
|
-
remote_name = 'Book1.xlsx'
|
1570
|
-
|
1571
|
-
format = "gif"
|
1572
|
-
|
1573
|
-
|
1574
|
-
mapFiles = { }
|
1575
|
-
mapFiles = { }
|
1576
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1577
|
-
|
1578
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1579
|
-
@instance.upload_file(uploadrequest)
|
1580
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1581
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1582
|
-
@instance.put_convert_workbook(request);
|
1583
|
-
end
|
1584
|
-
end
|
1585
|
-
|
1586
|
-
describe 'convert_workbook_emf test' do
|
1587
|
-
it "should work" do
|
1588
|
-
remote_folder = 'TestData/In'
|
1589
|
-
|
1590
|
-
local_name = 'Book1.xlsx'
|
1591
|
-
remote_name = 'Book1.xlsx'
|
1592
|
-
|
1593
|
-
format = "emf"
|
1594
|
-
|
1595
|
-
|
1596
|
-
mapFiles = { }
|
1597
|
-
mapFiles = { }
|
1598
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1599
|
-
|
1600
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1601
|
-
@instance.upload_file(uploadrequest)
|
1602
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1603
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1604
|
-
@instance.put_convert_workbook(request);
|
1605
|
-
end
|
1606
|
-
end
|
1607
|
-
|
1608
|
-
describe 'convert_workbook_bmp test' do
|
1609
|
-
it "should work" do
|
1610
|
-
remote_folder = 'TestData/In'
|
1611
|
-
|
1612
|
-
local_name = 'Book1.xlsx'
|
1613
|
-
remote_name = 'Book1.xlsx'
|
1614
|
-
|
1615
|
-
format = "bmp"
|
1616
|
-
|
1617
|
-
|
1618
|
-
mapFiles = { }
|
1619
|
-
mapFiles = { }
|
1620
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1621
|
-
|
1622
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
1623
|
-
@instance.upload_file(uploadrequest)
|
1624
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
1625
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format);
|
1626
|
-
@instance.put_convert_workbook(request);
|
1627
|
-
end
|
1628
|
-
end
|
1629
|
-
|
1630
1184
|
describe 'convert_workbook_md test' do
|
1631
1185
|
it "should work" do
|
1632
1186
|
remote_folder = 'TestData/In'
|
@@ -1803,7 +1357,7 @@ describe 'CellsApi' do
|
|
1803
1357
|
end
|
1804
1358
|
end
|
1805
1359
|
|
1806
|
-
describe '
|
1360
|
+
describe 'convert_workbook_save_cloud_csv__out_result_convert_workbookcsv test' do
|
1807
1361
|
it "should work" do
|
1808
1362
|
remote_folder = 'TestData/In'
|
1809
1363
|
|
@@ -1811,7 +1365,7 @@ describe 'CellsApi' do
|
|
1811
1365
|
remote_name = 'Book1.xlsx'
|
1812
1366
|
|
1813
1367
|
format = "csv"
|
1814
|
-
out_path = "
|
1368
|
+
out_path = "OutResult/ConvertWorkbook.csv"
|
1815
1369
|
|
1816
1370
|
|
1817
1371
|
mapFiles = { }
|
@@ -1826,7 +1380,7 @@ describe 'CellsApi' do
|
|
1826
1380
|
end
|
1827
1381
|
end
|
1828
1382
|
|
1829
|
-
describe '
|
1383
|
+
describe 'convert_workbook_save_cloud_xls__out_result_convert_workbookxls test' do
|
1830
1384
|
it "should work" do
|
1831
1385
|
remote_folder = 'TestData/In'
|
1832
1386
|
|
@@ -1834,7 +1388,7 @@ describe 'CellsApi' do
|
|
1834
1388
|
remote_name = 'Book1.xlsx'
|
1835
1389
|
|
1836
1390
|
format = "xls"
|
1837
|
-
out_path = "
|
1391
|
+
out_path = "OutResult/ConvertWorkbook.xls"
|
1838
1392
|
|
1839
1393
|
|
1840
1394
|
mapFiles = { }
|
@@ -1849,7 +1403,7 @@ describe 'CellsApi' do
|
|
1849
1403
|
end
|
1850
1404
|
end
|
1851
1405
|
|
1852
|
-
describe '
|
1406
|
+
describe 'convert_workbook_save_cloud_html__out_result_convert_workbookhtml test' do
|
1853
1407
|
it "should work" do
|
1854
1408
|
remote_folder = 'TestData/In'
|
1855
1409
|
|
@@ -1857,7 +1411,7 @@ describe 'CellsApi' do
|
|
1857
1411
|
remote_name = 'Book1.xlsx'
|
1858
1412
|
|
1859
1413
|
format = "html"
|
1860
|
-
out_path = "
|
1414
|
+
out_path = "OutResult/ConvertWorkbook.html"
|
1861
1415
|
|
1862
1416
|
|
1863
1417
|
mapFiles = { }
|
@@ -1872,7 +1426,7 @@ describe 'CellsApi' do
|
|
1872
1426
|
end
|
1873
1427
|
end
|
1874
1428
|
|
1875
|
-
describe '
|
1429
|
+
describe 'convert_workbook_save_cloud_mhtml__out_result_convert_workbookmhtml test' do
|
1876
1430
|
it "should work" do
|
1877
1431
|
remote_folder = 'TestData/In'
|
1878
1432
|
|
@@ -1880,7 +1434,7 @@ describe 'CellsApi' do
|
|
1880
1434
|
remote_name = 'Book1.xlsx'
|
1881
1435
|
|
1882
1436
|
format = "mhtml"
|
1883
|
-
out_path = "
|
1437
|
+
out_path = "OutResult/ConvertWorkbook.mhtml"
|
1884
1438
|
|
1885
1439
|
|
1886
1440
|
mapFiles = { }
|
@@ -1895,7 +1449,7 @@ describe 'CellsApi' do
|
|
1895
1449
|
end
|
1896
1450
|
end
|
1897
1451
|
|
1898
|
-
describe '
|
1452
|
+
describe 'convert_workbook_save_cloud_ods__out_result_convert_workbookods test' do
|
1899
1453
|
it "should work" do
|
1900
1454
|
remote_folder = 'TestData/In'
|
1901
1455
|
|
@@ -1903,7 +1457,7 @@ describe 'CellsApi' do
|
|
1903
1457
|
remote_name = 'Book1.xlsx'
|
1904
1458
|
|
1905
1459
|
format = "ods"
|
1906
|
-
out_path = "
|
1460
|
+
out_path = "OutResult/ConvertWorkbook.ods"
|
1907
1461
|
|
1908
1462
|
|
1909
1463
|
mapFiles = { }
|
@@ -1918,7 +1472,7 @@ describe 'CellsApi' do
|
|
1918
1472
|
end
|
1919
1473
|
end
|
1920
1474
|
|
1921
|
-
describe '
|
1475
|
+
describe 'convert_workbook_save_cloud_pdf__out_result_convert_workbookpdf test' do
|
1922
1476
|
it "should work" do
|
1923
1477
|
remote_folder = 'TestData/In'
|
1924
1478
|
|
@@ -1926,7 +1480,7 @@ describe 'CellsApi' do
|
|
1926
1480
|
remote_name = 'Book1.xlsx'
|
1927
1481
|
|
1928
1482
|
format = "pdf"
|
1929
|
-
out_path = "
|
1483
|
+
out_path = "OutResult/ConvertWorkbook.pdf"
|
1930
1484
|
|
1931
1485
|
|
1932
1486
|
mapFiles = { }
|
@@ -1941,7 +1495,7 @@ describe 'CellsApi' do
|
|
1941
1495
|
end
|
1942
1496
|
end
|
1943
1497
|
|
1944
|
-
describe '
|
1498
|
+
describe 'convert_workbook_save_cloud_xml__out_result_convert_workbookxml test' do
|
1945
1499
|
it "should work" do
|
1946
1500
|
remote_folder = 'TestData/In'
|
1947
1501
|
|
@@ -1949,7 +1503,7 @@ describe 'CellsApi' do
|
|
1949
1503
|
remote_name = 'Book1.xlsx'
|
1950
1504
|
|
1951
1505
|
format = "xml"
|
1952
|
-
out_path = "
|
1506
|
+
out_path = "OutResult/ConvertWorkbook.xml"
|
1953
1507
|
|
1954
1508
|
|
1955
1509
|
mapFiles = { }
|
@@ -1964,7 +1518,7 @@ describe 'CellsApi' do
|
|
1964
1518
|
end
|
1965
1519
|
end
|
1966
1520
|
|
1967
|
-
describe '
|
1521
|
+
describe 'convert_workbook_save_cloud_txt__out_result_convert_workbooktxt test' do
|
1968
1522
|
it "should work" do
|
1969
1523
|
remote_folder = 'TestData/In'
|
1970
1524
|
|
@@ -1972,7 +1526,7 @@ describe 'CellsApi' do
|
|
1972
1526
|
remote_name = 'Book1.xlsx'
|
1973
1527
|
|
1974
1528
|
format = "txt"
|
1975
|
-
out_path = "
|
1529
|
+
out_path = "OutResult/ConvertWorkbook.txt"
|
1976
1530
|
|
1977
1531
|
|
1978
1532
|
mapFiles = { }
|
@@ -1987,7 +1541,7 @@ describe 'CellsApi' do
|
|
1987
1541
|
end
|
1988
1542
|
end
|
1989
1543
|
|
1990
|
-
describe '
|
1544
|
+
describe 'convert_workbook_save_cloud_tif__out_result_convert_workbooktif test' do
|
1991
1545
|
it "should work" do
|
1992
1546
|
remote_folder = 'TestData/In'
|
1993
1547
|
|
@@ -1995,7 +1549,7 @@ describe 'CellsApi' do
|
|
1995
1549
|
remote_name = 'Book1.xlsx'
|
1996
1550
|
|
1997
1551
|
format = "tif"
|
1998
|
-
out_path = "
|
1552
|
+
out_path = "OutResult/ConvertWorkbook.tif"
|
1999
1553
|
|
2000
1554
|
|
2001
1555
|
mapFiles = { }
|
@@ -2010,7 +1564,7 @@ describe 'CellsApi' do
|
|
2010
1564
|
end
|
2011
1565
|
end
|
2012
1566
|
|
2013
|
-
describe '
|
1567
|
+
describe 'convert_workbook_save_cloud_xlsb__out_result_convert_workbookxlsb test' do
|
2014
1568
|
it "should work" do
|
2015
1569
|
remote_folder = 'TestData/In'
|
2016
1570
|
|
@@ -2018,7 +1572,7 @@ describe 'CellsApi' do
|
|
2018
1572
|
remote_name = 'Book1.xlsx'
|
2019
1573
|
|
2020
1574
|
format = "xlsb"
|
2021
|
-
out_path = "
|
1575
|
+
out_path = "OutResult/ConvertWorkbook.xlsb"
|
2022
1576
|
|
2023
1577
|
|
2024
1578
|
mapFiles = { }
|
@@ -2033,7 +1587,7 @@ describe 'CellsApi' do
|
|
2033
1587
|
end
|
2034
1588
|
end
|
2035
1589
|
|
2036
|
-
describe '
|
1590
|
+
describe 'convert_workbook_save_cloud_xlsm__out_result_convert_workbookxlsm test' do
|
2037
1591
|
it "should work" do
|
2038
1592
|
remote_folder = 'TestData/In'
|
2039
1593
|
|
@@ -2041,7 +1595,7 @@ describe 'CellsApi' do
|
|
2041
1595
|
remote_name = 'Book1.xlsx'
|
2042
1596
|
|
2043
1597
|
format = "xlsm"
|
2044
|
-
out_path = "
|
1598
|
+
out_path = "OutResult/ConvertWorkbook.xlsm"
|
2045
1599
|
|
2046
1600
|
|
2047
1601
|
mapFiles = { }
|
@@ -2056,7 +1610,7 @@ describe 'CellsApi' do
|
|
2056
1610
|
end
|
2057
1611
|
end
|
2058
1612
|
|
2059
|
-
describe '
|
1613
|
+
describe 'convert_workbook_save_cloud_xlsx__out_result_convert_workbookxlsx test' do
|
2060
1614
|
it "should work" do
|
2061
1615
|
remote_folder = 'TestData/In'
|
2062
1616
|
|
@@ -2064,7 +1618,7 @@ describe 'CellsApi' do
|
|
2064
1618
|
remote_name = 'Book1.xlsx'
|
2065
1619
|
|
2066
1620
|
format = "xlsx"
|
2067
|
-
out_path = "
|
1621
|
+
out_path = "OutResult/ConvertWorkbook.xlsx"
|
2068
1622
|
|
2069
1623
|
|
2070
1624
|
mapFiles = { }
|
@@ -2079,7 +1633,7 @@ describe 'CellsApi' do
|
|
2079
1633
|
end
|
2080
1634
|
end
|
2081
1635
|
|
2082
|
-
describe '
|
1636
|
+
describe 'convert_workbook_save_cloud_xltm__out_result_convert_workbookxltm test' do
|
2083
1637
|
it "should work" do
|
2084
1638
|
remote_folder = 'TestData/In'
|
2085
1639
|
|
@@ -2087,7 +1641,7 @@ describe 'CellsApi' do
|
|
2087
1641
|
remote_name = 'Book1.xlsx'
|
2088
1642
|
|
2089
1643
|
format = "xltm"
|
2090
|
-
out_path = "
|
1644
|
+
out_path = "OutResult/ConvertWorkbook.xltm"
|
2091
1645
|
|
2092
1646
|
|
2093
1647
|
mapFiles = { }
|
@@ -2102,7 +1656,7 @@ describe 'CellsApi' do
|
|
2102
1656
|
end
|
2103
1657
|
end
|
2104
1658
|
|
2105
|
-
describe '
|
1659
|
+
describe 'convert_workbook_save_cloud_xltx__out_result_convert_workbookxltx test' do
|
2106
1660
|
it "should work" do
|
2107
1661
|
remote_folder = 'TestData/In'
|
2108
1662
|
|
@@ -2110,7 +1664,7 @@ describe 'CellsApi' do
|
|
2110
1664
|
remote_name = 'Book1.xlsx'
|
2111
1665
|
|
2112
1666
|
format = "xltx"
|
2113
|
-
out_path = "
|
1667
|
+
out_path = "OutResult/ConvertWorkbook.xltx"
|
2114
1668
|
|
2115
1669
|
|
2116
1670
|
mapFiles = { }
|
@@ -2125,7 +1679,7 @@ describe 'CellsApi' do
|
|
2125
1679
|
end
|
2126
1680
|
end
|
2127
1681
|
|
2128
|
-
describe '
|
1682
|
+
describe 'convert_workbook_save_cloud_xps__out_result_convert_workbookxps test' do
|
2129
1683
|
it "should work" do
|
2130
1684
|
remote_folder = 'TestData/In'
|
2131
1685
|
|
@@ -2133,7 +1687,7 @@ describe 'CellsApi' do
|
|
2133
1687
|
remote_name = 'Book1.xlsx'
|
2134
1688
|
|
2135
1689
|
format = "xps"
|
2136
|
-
out_path = "
|
1690
|
+
out_path = "OutResult/ConvertWorkbook.xps"
|
2137
1691
|
|
2138
1692
|
|
2139
1693
|
mapFiles = { }
|
@@ -2148,7 +1702,7 @@ describe 'CellsApi' do
|
|
2148
1702
|
end
|
2149
1703
|
end
|
2150
1704
|
|
2151
|
-
describe '
|
1705
|
+
describe 'convert_workbook_save_cloud_png__out_result_convert_workbookpng test' do
|
2152
1706
|
it "should work" do
|
2153
1707
|
remote_folder = 'TestData/In'
|
2154
1708
|
|
@@ -2156,30 +1710,7 @@ describe 'CellsApi' do
|
|
2156
1710
|
remote_name = 'Book1.xlsx'
|
2157
1711
|
|
2158
1712
|
format = "png"
|
2159
|
-
out_path = "
|
2160
|
-
|
2161
|
-
|
2162
|
-
mapFiles = { }
|
2163
|
-
mapFiles = { }
|
2164
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2165
|
-
|
2166
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
2167
|
-
@instance.upload_file(uploadrequest)
|
2168
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2169
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format,:outPath=>out_path);
|
2170
|
-
@instance.put_convert_workbook(request);
|
2171
|
-
end
|
2172
|
-
end
|
2173
|
-
|
2174
|
-
describe 'convert_workbook_save_cloud_jpg__dot_net_sdk_out_result_convert_workbookjpg test' do
|
2175
|
-
it "should work" do
|
2176
|
-
remote_folder = 'TestData/In'
|
2177
|
-
|
2178
|
-
local_name = 'Book1.xlsx'
|
2179
|
-
remote_name = 'Book1.xlsx'
|
2180
|
-
|
2181
|
-
format = "jpg"
|
2182
|
-
out_path = "DotNetSDK/OutResult/ConvertWorkbook.jpg"
|
1713
|
+
out_path = "OutResult/ConvertWorkbook.png"
|
2183
1714
|
|
2184
1715
|
|
2185
1716
|
mapFiles = { }
|
@@ -2194,76 +1725,7 @@ describe 'CellsApi' do
|
|
2194
1725
|
end
|
2195
1726
|
end
|
2196
1727
|
|
2197
|
-
describe '
|
2198
|
-
it "should work" do
|
2199
|
-
remote_folder = 'TestData/In'
|
2200
|
-
|
2201
|
-
local_name = 'Book1.xlsx'
|
2202
|
-
remote_name = 'Book1.xlsx'
|
2203
|
-
|
2204
|
-
format = "gif"
|
2205
|
-
out_path = "DotNetSDK/OutResult/ConvertWorkbook.gif"
|
2206
|
-
|
2207
|
-
|
2208
|
-
mapFiles = { }
|
2209
|
-
mapFiles = { }
|
2210
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2211
|
-
|
2212
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
2213
|
-
@instance.upload_file(uploadrequest)
|
2214
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2215
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format,:outPath=>out_path);
|
2216
|
-
@instance.put_convert_workbook(request);
|
2217
|
-
end
|
2218
|
-
end
|
2219
|
-
|
2220
|
-
describe 'convert_workbook_save_cloud_emf__dot_net_sdk_out_result_convert_workbookemf test' do
|
2221
|
-
it "should work" do
|
2222
|
-
remote_folder = 'TestData/In'
|
2223
|
-
|
2224
|
-
local_name = 'Book1.xlsx'
|
2225
|
-
remote_name = 'Book1.xlsx'
|
2226
|
-
|
2227
|
-
format = "emf"
|
2228
|
-
out_path = "DotNetSDK/OutResult/ConvertWorkbook.emf"
|
2229
|
-
|
2230
|
-
|
2231
|
-
mapFiles = { }
|
2232
|
-
mapFiles = { }
|
2233
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2234
|
-
|
2235
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
2236
|
-
@instance.upload_file(uploadrequest)
|
2237
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2238
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format,:outPath=>out_path);
|
2239
|
-
@instance.put_convert_workbook(request);
|
2240
|
-
end
|
2241
|
-
end
|
2242
|
-
|
2243
|
-
describe 'convert_workbook_save_cloud_bmp__dot_net_sdk_out_result_convert_workbookbmp test' do
|
2244
|
-
it "should work" do
|
2245
|
-
remote_folder = 'TestData/In'
|
2246
|
-
|
2247
|
-
local_name = 'Book1.xlsx'
|
2248
|
-
remote_name = 'Book1.xlsx'
|
2249
|
-
|
2250
|
-
format = "bmp"
|
2251
|
-
out_path = "DotNetSDK/OutResult/ConvertWorkbook.bmp"
|
2252
|
-
|
2253
|
-
|
2254
|
-
mapFiles = { }
|
2255
|
-
mapFiles = { }
|
2256
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2257
|
-
|
2258
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
2259
|
-
@instance.upload_file(uploadrequest)
|
2260
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2261
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format,:outPath=>out_path);
|
2262
|
-
@instance.put_convert_workbook(request);
|
2263
|
-
end
|
2264
|
-
end
|
2265
|
-
|
2266
|
-
describe 'convert_workbook_save_cloud_md__dot_net_sdk_out_result_convert_workbookmd test' do
|
1728
|
+
describe 'convert_workbook_save_cloud_md__out_result_convert_workbookmd test' do
|
2267
1729
|
it "should work" do
|
2268
1730
|
remote_folder = 'TestData/In'
|
2269
1731
|
|
@@ -2271,7 +1733,7 @@ describe 'CellsApi' do
|
|
2271
1733
|
remote_name = 'Book1.xlsx'
|
2272
1734
|
|
2273
1735
|
format = "md"
|
2274
|
-
out_path = "
|
1736
|
+
out_path = "OutResult/ConvertWorkbook.md"
|
2275
1737
|
|
2276
1738
|
|
2277
1739
|
mapFiles = { }
|
@@ -2286,7 +1748,7 @@ describe 'CellsApi' do
|
|
2286
1748
|
end
|
2287
1749
|
end
|
2288
1750
|
|
2289
|
-
describe '
|
1751
|
+
describe 'convert_workbook_save_cloud_numbers__out_result_convert_workbooknumbers test' do
|
2290
1752
|
it "should work" do
|
2291
1753
|
remote_folder = 'TestData/In'
|
2292
1754
|
|
@@ -2294,30 +1756,7 @@ describe 'CellsApi' do
|
|
2294
1756
|
remote_name = 'Book1.xlsx'
|
2295
1757
|
|
2296
1758
|
format = "numbers"
|
2297
|
-
out_path = "
|
2298
|
-
|
2299
|
-
|
2300
|
-
mapFiles = { }
|
2301
|
-
mapFiles = { }
|
2302
|
-
mapFiles[local_name] = ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2303
|
-
|
2304
|
-
uploadrequest = AsposeCellsCloud::UploadFileRequest.new( { :UploadFiles=>mapFiles,:path=>remote_folder })
|
2305
|
-
@instance.upload_file(uploadrequest)
|
2306
|
-
mapFiles[local_name]= ::File.open(File.expand_path("TestData/"+local_name),"r")
|
2307
|
-
request = AsposeCellsCloud::PutConvertWorkbookRequest.new(:File=>mapFiles,:format=>format,:outPath=>out_path);
|
2308
|
-
@instance.put_convert_workbook(request);
|
2309
|
-
end
|
2310
|
-
end
|
2311
|
-
|
2312
|
-
describe 'convert_workbook_save_cloud_wmf__dot_net_sdk_out_result_convert_workbookwmf test' do
|
2313
|
-
it "should work" do
|
2314
|
-
remote_folder = 'TestData/In'
|
2315
|
-
|
2316
|
-
local_name = 'Book1.xlsx'
|
2317
|
-
remote_name = 'Book1.xlsx'
|
2318
|
-
|
2319
|
-
format = "wmf"
|
2320
|
-
out_path = "DotNetSDK/OutResult/ConvertWorkbook.wmf"
|
1759
|
+
out_path = "OutResult/ConvertWorkbook.numbers"
|
2321
1760
|
|
2322
1761
|
|
2323
1762
|
mapFiles = { }
|
@@ -2332,7 +1771,7 @@ describe 'CellsApi' do
|
|
2332
1771
|
end
|
2333
1772
|
end
|
2334
1773
|
|
2335
|
-
describe '
|
1774
|
+
describe 'convert_workbook_save_cloud_svg__out_result_convert_workbooksvg test' do
|
2336
1775
|
it "should work" do
|
2337
1776
|
remote_folder = 'TestData/In'
|
2338
1777
|
|
@@ -2340,7 +1779,7 @@ describe 'CellsApi' do
|
|
2340
1779
|
remote_name = 'Book1.xlsx'
|
2341
1780
|
|
2342
1781
|
format = "svg"
|
2343
|
-
out_path = "
|
1782
|
+
out_path = "OutResult/ConvertWorkbook.svg"
|
2344
1783
|
|
2345
1784
|
|
2346
1785
|
mapFiles = { }
|
@@ -2355,7 +1794,7 @@ describe 'CellsApi' do
|
|
2355
1794
|
end
|
2356
1795
|
end
|
2357
1796
|
|
2358
|
-
describe '
|
1797
|
+
describe 'convert_workbook_save_cloud_docx__out_result_convert_workbookdocx test' do
|
2359
1798
|
it "should work" do
|
2360
1799
|
remote_folder = 'TestData/In'
|
2361
1800
|
|
@@ -2363,7 +1802,7 @@ describe 'CellsApi' do
|
|
2363
1802
|
remote_name = 'Book1.xlsx'
|
2364
1803
|
|
2365
1804
|
format = "docx"
|
2366
|
-
out_path = "
|
1805
|
+
out_path = "OutResult/ConvertWorkbook.docx"
|
2367
1806
|
|
2368
1807
|
|
2369
1808
|
mapFiles = { }
|
@@ -2378,7 +1817,7 @@ describe 'CellsApi' do
|
|
2378
1817
|
end
|
2379
1818
|
end
|
2380
1819
|
|
2381
|
-
describe '
|
1820
|
+
describe 'convert_workbook_save_cloud_pptx__out_result_convert_workbookpptx test' do
|
2382
1821
|
it "should work" do
|
2383
1822
|
remote_folder = 'TestData/In'
|
2384
1823
|
|
@@ -2386,7 +1825,7 @@ describe 'CellsApi' do
|
|
2386
1825
|
remote_name = 'Book1.xlsx'
|
2387
1826
|
|
2388
1827
|
format = "pptx"
|
2389
|
-
out_path = "
|
1828
|
+
out_path = "OutResult/ConvertWorkbook.pptx"
|
2390
1829
|
|
2391
1830
|
|
2392
1831
|
mapFiles = { }
|
@@ -2401,7 +1840,7 @@ describe 'CellsApi' do
|
|
2401
1840
|
end
|
2402
1841
|
end
|
2403
1842
|
|
2404
|
-
describe '
|
1843
|
+
describe 'convert_workbook_save_cloud_json__out_result_convert_workbookjson test' do
|
2405
1844
|
it "should work" do
|
2406
1845
|
remote_folder = 'TestData/In'
|
2407
1846
|
|
@@ -2409,7 +1848,7 @@ describe 'CellsApi' do
|
|
2409
1848
|
remote_name = 'Book1.xlsx'
|
2410
1849
|
|
2411
1850
|
format = "json"
|
2412
|
-
out_path = "
|
1851
|
+
out_path = "OutResult/ConvertWorkbook.json"
|
2413
1852
|
|
2414
1853
|
|
2415
1854
|
mapFiles = { }
|
@@ -2424,7 +1863,7 @@ describe 'CellsApi' do
|
|
2424
1863
|
end
|
2425
1864
|
end
|
2426
1865
|
|
2427
|
-
describe '
|
1866
|
+
describe 'convert_workbook_save_cloud_sql__out_result_convert_workbooksql test' do
|
2428
1867
|
it "should work" do
|
2429
1868
|
remote_folder = 'TestData/In'
|
2430
1869
|
|
@@ -2432,7 +1871,7 @@ describe 'CellsApi' do
|
|
2432
1871
|
remote_name = 'Book1.xlsx'
|
2433
1872
|
|
2434
1873
|
format = "sql"
|
2435
|
-
out_path = "
|
1874
|
+
out_path = "OutResult/ConvertWorkbook.sql"
|
2436
1875
|
|
2437
1876
|
|
2438
1877
|
mapFiles = { }
|