aspose_cells_cloud 25.3 → 25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +59 -60
- data/lib/aspose_cells_cloud/api/cells_api.rb +15 -0
- data/lib/aspose_cells_cloud/models/check_external_reference_options.rb +258 -0
- data/lib/aspose_cells_cloud/models/check_formula_error_options.rb +258 -0
- data/lib/aspose_cells_cloud/models/checked_external_reference_response.rb +258 -0
- data/lib/aspose_cells_cloud/models/checked_formula_errors_response.rb +246 -0
- data/lib/aspose_cells_cloud/requests/check_workbook_formula_errors_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/check_wrokbook_external_reference_request.rb +103 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +10 -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_pptx_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_worksheet_to_image_request.rb +10 -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_workbook_save_as_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +13 -2
- data/lib/aspose_cells_cloud/version.rb +1 -1
- data/lib/aspose_cells_cloud.rb +6 -0
- data/spec/api/batch_controller_spec.rb +23 -0
- data/spec/api/pivot_tables_controller_spec.rb +1 -4
- data/spec/conversion/conversion_json_spec.rb +0 -1
- data/spec/conversion/conversion_png_spec.rb +0 -1
- data/spec/conversion/conversion_spec.rb +18 -23
- data/spec/document/light_cells_spec.rb +54 -330
- data/spec/spec_helper.rb +3 -3
- metadata +8 -2
@@ -13,15 +13,13 @@ describe 'CellsApi' do
|
|
13
13
|
|
14
14
|
describe 'post_split_csv test' do
|
15
15
|
it "should work" do
|
16
|
-
|
17
|
-
data_source_xlsx = 'datasource.xlsx'
|
16
|
+
book1_xlsx = 'Book1.xlsx'
|
18
17
|
|
19
18
|
out_format = "csv"
|
20
19
|
|
21
20
|
|
22
21
|
mapFiles = { }
|
23
|
-
mapFiles[
|
24
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
22
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
25
23
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
26
24
|
@instance.post_split(request);
|
27
25
|
end
|
@@ -29,15 +27,13 @@ describe 'CellsApi' do
|
|
29
27
|
|
30
28
|
describe 'post_split_xls test' do
|
31
29
|
it "should work" do
|
32
|
-
|
33
|
-
data_source_xlsx = 'datasource.xlsx'
|
30
|
+
book1_xlsx = 'Book1.xlsx'
|
34
31
|
|
35
32
|
out_format = "xls"
|
36
33
|
|
37
34
|
|
38
35
|
mapFiles = { }
|
39
|
-
mapFiles[
|
40
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
36
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
41
37
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
42
38
|
@instance.post_split(request);
|
43
39
|
end
|
@@ -45,15 +41,13 @@ describe 'CellsApi' do
|
|
45
41
|
|
46
42
|
describe 'post_split_html test' do
|
47
43
|
it "should work" do
|
48
|
-
|
49
|
-
data_source_xlsx = 'datasource.xlsx'
|
44
|
+
book1_xlsx = 'Book1.xlsx'
|
50
45
|
|
51
46
|
out_format = "html"
|
52
47
|
|
53
48
|
|
54
49
|
mapFiles = { }
|
55
|
-
mapFiles[
|
56
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
50
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
57
51
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
58
52
|
@instance.post_split(request);
|
59
53
|
end
|
@@ -61,15 +55,13 @@ describe 'CellsApi' do
|
|
61
55
|
|
62
56
|
describe 'post_split_mhtml test' do
|
63
57
|
it "should work" do
|
64
|
-
|
65
|
-
data_source_xlsx = 'datasource.xlsx'
|
58
|
+
book1_xlsx = 'Book1.xlsx'
|
66
59
|
|
67
60
|
out_format = "mhtml"
|
68
61
|
|
69
62
|
|
70
63
|
mapFiles = { }
|
71
|
-
mapFiles[
|
72
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
64
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
73
65
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
74
66
|
@instance.post_split(request);
|
75
67
|
end
|
@@ -77,15 +69,13 @@ describe 'CellsApi' do
|
|
77
69
|
|
78
70
|
describe 'post_split_ods test' do
|
79
71
|
it "should work" do
|
80
|
-
|
81
|
-
data_source_xlsx = 'datasource.xlsx'
|
72
|
+
book1_xlsx = 'Book1.xlsx'
|
82
73
|
|
83
74
|
out_format = "ods"
|
84
75
|
|
85
76
|
|
86
77
|
mapFiles = { }
|
87
|
-
mapFiles[
|
88
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
78
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
89
79
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
90
80
|
@instance.post_split(request);
|
91
81
|
end
|
@@ -93,15 +83,13 @@ describe 'CellsApi' do
|
|
93
83
|
|
94
84
|
describe 'post_split_pdf test' do
|
95
85
|
it "should work" do
|
96
|
-
|
97
|
-
data_source_xlsx = 'datasource.xlsx'
|
86
|
+
book1_xlsx = 'Book1.xlsx'
|
98
87
|
|
99
88
|
out_format = "pdf"
|
100
89
|
|
101
90
|
|
102
91
|
mapFiles = { }
|
103
|
-
mapFiles[
|
104
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
92
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
105
93
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
106
94
|
@instance.post_split(request);
|
107
95
|
end
|
@@ -109,15 +97,13 @@ describe 'CellsApi' do
|
|
109
97
|
|
110
98
|
describe 'post_split_xml test' do
|
111
99
|
it "should work" do
|
112
|
-
|
113
|
-
data_source_xlsx = 'datasource.xlsx'
|
100
|
+
book1_xlsx = 'Book1.xlsx'
|
114
101
|
|
115
102
|
out_format = "xml"
|
116
103
|
|
117
104
|
|
118
105
|
mapFiles = { }
|
119
|
-
mapFiles[
|
120
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
106
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
121
107
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
122
108
|
@instance.post_split(request);
|
123
109
|
end
|
@@ -125,15 +111,13 @@ describe 'CellsApi' do
|
|
125
111
|
|
126
112
|
describe 'post_split_txt test' do
|
127
113
|
it "should work" do
|
128
|
-
|
129
|
-
data_source_xlsx = 'datasource.xlsx'
|
114
|
+
book1_xlsx = 'Book1.xlsx'
|
130
115
|
|
131
116
|
out_format = "txt"
|
132
117
|
|
133
118
|
|
134
119
|
mapFiles = { }
|
135
|
-
mapFiles[
|
136
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
120
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
137
121
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
138
122
|
@instance.post_split(request);
|
139
123
|
end
|
@@ -141,15 +125,13 @@ describe 'CellsApi' do
|
|
141
125
|
|
142
126
|
describe 'post_split_tif test' do
|
143
127
|
it "should work" do
|
144
|
-
|
145
|
-
data_source_xlsx = 'datasource.xlsx'
|
128
|
+
book1_xlsx = 'Book1.xlsx'
|
146
129
|
|
147
130
|
out_format = "tif"
|
148
131
|
|
149
132
|
|
150
133
|
mapFiles = { }
|
151
|
-
mapFiles[
|
152
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
134
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
153
135
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
154
136
|
@instance.post_split(request);
|
155
137
|
end
|
@@ -157,15 +139,13 @@ describe 'CellsApi' do
|
|
157
139
|
|
158
140
|
describe 'post_split_xlsb test' do
|
159
141
|
it "should work" do
|
160
|
-
|
161
|
-
data_source_xlsx = 'datasource.xlsx'
|
142
|
+
book1_xlsx = 'Book1.xlsx'
|
162
143
|
|
163
144
|
out_format = "xlsb"
|
164
145
|
|
165
146
|
|
166
147
|
mapFiles = { }
|
167
|
-
mapFiles[
|
168
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
148
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
169
149
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
170
150
|
@instance.post_split(request);
|
171
151
|
end
|
@@ -173,15 +153,13 @@ describe 'CellsApi' do
|
|
173
153
|
|
174
154
|
describe 'post_split_xlsx test' do
|
175
155
|
it "should work" do
|
176
|
-
|
177
|
-
data_source_xlsx = 'datasource.xlsx'
|
156
|
+
book1_xlsx = 'Book1.xlsx'
|
178
157
|
|
179
158
|
out_format = "xlsx"
|
180
159
|
|
181
160
|
|
182
161
|
mapFiles = { }
|
183
|
-
mapFiles[
|
184
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
162
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
185
163
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
186
164
|
@instance.post_split(request);
|
187
165
|
end
|
@@ -189,15 +167,13 @@ describe 'CellsApi' do
|
|
189
167
|
|
190
168
|
describe 'post_split_xps test' do
|
191
169
|
it "should work" do
|
192
|
-
|
193
|
-
data_source_xlsx = 'datasource.xlsx'
|
170
|
+
book1_xlsx = 'Book1.xlsx'
|
194
171
|
|
195
172
|
out_format = "xps"
|
196
173
|
|
197
174
|
|
198
175
|
mapFiles = { }
|
199
|
-
mapFiles[
|
200
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
176
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
201
177
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
202
178
|
@instance.post_split(request);
|
203
179
|
end
|
@@ -205,15 +181,13 @@ describe 'CellsApi' do
|
|
205
181
|
|
206
182
|
describe 'post_split_png test' do
|
207
183
|
it "should work" do
|
208
|
-
|
209
|
-
data_source_xlsx = 'datasource.xlsx'
|
184
|
+
book1_xlsx = 'Book1.xlsx'
|
210
185
|
|
211
186
|
out_format = "png"
|
212
187
|
|
213
188
|
|
214
189
|
mapFiles = { }
|
215
|
-
mapFiles[
|
216
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
190
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
217
191
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
218
192
|
@instance.post_split(request);
|
219
193
|
end
|
@@ -221,15 +195,13 @@ describe 'CellsApi' do
|
|
221
195
|
|
222
196
|
describe 'post_split_jpg test' do
|
223
197
|
it "should work" do
|
224
|
-
|
225
|
-
data_source_xlsx = 'datasource.xlsx'
|
198
|
+
book1_xlsx = 'Book1.xlsx'
|
226
199
|
|
227
200
|
out_format = "jpg"
|
228
201
|
|
229
202
|
|
230
203
|
mapFiles = { }
|
231
|
-
mapFiles[
|
232
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
204
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
233
205
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
234
206
|
@instance.post_split(request);
|
235
207
|
end
|
@@ -237,32 +209,27 @@ describe 'CellsApi' do
|
|
237
209
|
|
238
210
|
describe 'post_split_md test' do
|
239
211
|
it "should work" do
|
240
|
-
|
241
|
-
data_source_xlsx = 'datasource.xlsx'
|
212
|
+
book1_xlsx = 'Book1.xlsx'
|
242
213
|
|
243
214
|
out_format = "md"
|
244
215
|
|
245
216
|
|
246
217
|
mapFiles = { }
|
247
|
-
mapFiles[
|
248
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
218
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
249
219
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
250
220
|
@instance.post_split(request);
|
251
221
|
end
|
252
222
|
end
|
253
223
|
|
254
|
-
|
255
224
|
describe 'post_split_svg test' do
|
256
225
|
it "should work" do
|
257
|
-
|
258
|
-
data_source_xlsx = 'datasource.xlsx'
|
226
|
+
book1_xlsx = 'Book1.xlsx'
|
259
227
|
|
260
228
|
out_format = "svg"
|
261
229
|
|
262
230
|
|
263
231
|
mapFiles = { }
|
264
|
-
mapFiles[
|
265
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
232
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
266
233
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
267
234
|
@instance.post_split(request);
|
268
235
|
end
|
@@ -270,15 +237,13 @@ describe 'CellsApi' do
|
|
270
237
|
|
271
238
|
describe 'post_split_docx test' do
|
272
239
|
it "should work" do
|
273
|
-
|
274
|
-
data_source_xlsx = 'datasource.xlsx'
|
240
|
+
book1_xlsx = 'Book1.xlsx'
|
275
241
|
|
276
242
|
out_format = "docx"
|
277
243
|
|
278
244
|
|
279
245
|
mapFiles = { }
|
280
|
-
mapFiles[
|
281
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
246
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
282
247
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
283
248
|
@instance.post_split(request);
|
284
249
|
end
|
@@ -286,15 +251,13 @@ describe 'CellsApi' do
|
|
286
251
|
|
287
252
|
describe 'post_split_pptx test' do
|
288
253
|
it "should work" do
|
289
|
-
|
290
|
-
data_source_xlsx = 'datasource.xlsx'
|
254
|
+
book1_xlsx = 'Book1.xlsx'
|
291
255
|
|
292
256
|
out_format = "pptx"
|
293
257
|
|
294
258
|
|
295
259
|
mapFiles = { }
|
296
|
-
mapFiles[
|
297
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
260
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
298
261
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
299
262
|
@instance.post_split(request);
|
300
263
|
end
|
@@ -302,15 +265,13 @@ describe 'CellsApi' do
|
|
302
265
|
|
303
266
|
describe 'post_split_json test' do
|
304
267
|
it "should work" do
|
305
|
-
|
306
|
-
data_source_xlsx = 'datasource.xlsx'
|
268
|
+
book1_xlsx = 'Book1.xlsx'
|
307
269
|
|
308
270
|
out_format = "json"
|
309
271
|
|
310
272
|
|
311
273
|
mapFiles = { }
|
312
|
-
mapFiles[
|
313
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
274
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
314
275
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
315
276
|
@instance.post_split(request);
|
316
277
|
end
|
@@ -318,15 +279,13 @@ describe 'CellsApi' do
|
|
318
279
|
|
319
280
|
describe 'post_split_sql test' do
|
320
281
|
it "should work" do
|
321
|
-
|
322
|
-
data_source_xlsx = 'datasource.xlsx'
|
282
|
+
book1_xlsx = 'Book1.xlsx'
|
323
283
|
|
324
284
|
out_format = "sql"
|
325
285
|
|
326
286
|
|
327
287
|
mapFiles = { }
|
328
|
-
mapFiles[
|
329
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
288
|
+
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
330
289
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
331
290
|
@instance.post_split(request);
|
332
291
|
end
|
@@ -766,7 +725,6 @@ describe 'CellsApi' do
|
|
766
725
|
|
767
726
|
describe 'post_export_csv_workbook test' do
|
768
727
|
it "should work" do
|
769
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
770
728
|
book1_xlsx = 'Book1.xlsx'
|
771
729
|
|
772
730
|
format = "csv"
|
@@ -774,7 +732,6 @@ describe 'CellsApi' do
|
|
774
732
|
|
775
733
|
|
776
734
|
mapFiles = { }
|
777
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
778
735
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
779
736
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
780
737
|
@instance.post_export(request);
|
@@ -783,7 +740,6 @@ describe 'CellsApi' do
|
|
783
740
|
|
784
741
|
describe 'post_export_xls_workbook test' do
|
785
742
|
it "should work" do
|
786
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
787
743
|
book1_xlsx = 'Book1.xlsx'
|
788
744
|
|
789
745
|
format = "xls"
|
@@ -791,7 +747,6 @@ describe 'CellsApi' do
|
|
791
747
|
|
792
748
|
|
793
749
|
mapFiles = { }
|
794
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
795
750
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
796
751
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
797
752
|
@instance.post_export(request);
|
@@ -800,7 +755,6 @@ describe 'CellsApi' do
|
|
800
755
|
|
801
756
|
describe 'post_export_html_workbook test' do
|
802
757
|
it "should work" do
|
803
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
804
758
|
book1_xlsx = 'Book1.xlsx'
|
805
759
|
|
806
760
|
format = "html"
|
@@ -808,7 +762,6 @@ describe 'CellsApi' do
|
|
808
762
|
|
809
763
|
|
810
764
|
mapFiles = { }
|
811
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
812
765
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
813
766
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
814
767
|
@instance.post_export(request);
|
@@ -817,7 +770,6 @@ describe 'CellsApi' do
|
|
817
770
|
|
818
771
|
describe 'post_export_mhtml_workbook test' do
|
819
772
|
it "should work" do
|
820
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
821
773
|
book1_xlsx = 'Book1.xlsx'
|
822
774
|
|
823
775
|
format = "mhtml"
|
@@ -825,7 +777,6 @@ describe 'CellsApi' do
|
|
825
777
|
|
826
778
|
|
827
779
|
mapFiles = { }
|
828
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
829
780
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
830
781
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
831
782
|
@instance.post_export(request);
|
@@ -834,7 +785,6 @@ describe 'CellsApi' do
|
|
834
785
|
|
835
786
|
describe 'post_export_ods_workbook test' do
|
836
787
|
it "should work" do
|
837
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
838
788
|
book1_xlsx = 'Book1.xlsx'
|
839
789
|
|
840
790
|
format = "ods"
|
@@ -842,7 +792,6 @@ describe 'CellsApi' do
|
|
842
792
|
|
843
793
|
|
844
794
|
mapFiles = { }
|
845
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
846
795
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
847
796
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
848
797
|
@instance.post_export(request);
|
@@ -851,7 +800,6 @@ describe 'CellsApi' do
|
|
851
800
|
|
852
801
|
describe 'post_export_pdf_workbook test' do
|
853
802
|
it "should work" do
|
854
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
855
803
|
book1_xlsx = 'Book1.xlsx'
|
856
804
|
|
857
805
|
format = "pdf"
|
@@ -859,7 +807,6 @@ describe 'CellsApi' do
|
|
859
807
|
|
860
808
|
|
861
809
|
mapFiles = { }
|
862
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
863
810
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
864
811
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
865
812
|
@instance.post_export(request);
|
@@ -868,7 +815,6 @@ describe 'CellsApi' do
|
|
868
815
|
|
869
816
|
describe 'post_export_xml_workbook test' do
|
870
817
|
it "should work" do
|
871
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
872
818
|
book1_xlsx = 'Book1.xlsx'
|
873
819
|
|
874
820
|
format = "xml"
|
@@ -876,7 +822,6 @@ describe 'CellsApi' do
|
|
876
822
|
|
877
823
|
|
878
824
|
mapFiles = { }
|
879
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
880
825
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
881
826
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
882
827
|
@instance.post_export(request);
|
@@ -885,7 +830,6 @@ describe 'CellsApi' do
|
|
885
830
|
|
886
831
|
describe 'post_export_txt_workbook test' do
|
887
832
|
it "should work" do
|
888
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
889
833
|
book1_xlsx = 'Book1.xlsx'
|
890
834
|
|
891
835
|
format = "txt"
|
@@ -893,7 +837,6 @@ describe 'CellsApi' do
|
|
893
837
|
|
894
838
|
|
895
839
|
mapFiles = { }
|
896
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
897
840
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
898
841
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
899
842
|
@instance.post_export(request);
|
@@ -902,7 +845,6 @@ describe 'CellsApi' do
|
|
902
845
|
|
903
846
|
describe 'post_export_tif_workbook test' do
|
904
847
|
it "should work" do
|
905
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
906
848
|
book1_xlsx = 'Book1.xlsx'
|
907
849
|
|
908
850
|
format = "tif"
|
@@ -910,7 +852,6 @@ describe 'CellsApi' do
|
|
910
852
|
|
911
853
|
|
912
854
|
mapFiles = { }
|
913
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
914
855
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
915
856
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
916
857
|
@instance.post_export(request);
|
@@ -919,7 +860,6 @@ describe 'CellsApi' do
|
|
919
860
|
|
920
861
|
describe 'post_export_xlsb_workbook test' do
|
921
862
|
it "should work" do
|
922
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
923
863
|
book1_xlsx = 'Book1.xlsx'
|
924
864
|
|
925
865
|
format = "xlsb"
|
@@ -927,7 +867,6 @@ describe 'CellsApi' do
|
|
927
867
|
|
928
868
|
|
929
869
|
mapFiles = { }
|
930
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
931
870
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
932
871
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
933
872
|
@instance.post_export(request);
|
@@ -936,7 +875,6 @@ describe 'CellsApi' do
|
|
936
875
|
|
937
876
|
describe 'post_export_xlsm_workbook test' do
|
938
877
|
it "should work" do
|
939
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
940
878
|
book1_xlsx = 'Book1.xlsx'
|
941
879
|
|
942
880
|
format = "xlsm"
|
@@ -944,7 +882,6 @@ describe 'CellsApi' do
|
|
944
882
|
|
945
883
|
|
946
884
|
mapFiles = { }
|
947
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
948
885
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
949
886
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
950
887
|
@instance.post_export(request);
|
@@ -953,7 +890,6 @@ describe 'CellsApi' do
|
|
953
890
|
|
954
891
|
describe 'post_export_xlsx_workbook test' do
|
955
892
|
it "should work" do
|
956
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
957
893
|
book1_xlsx = 'Book1.xlsx'
|
958
894
|
|
959
895
|
format = "xlsx"
|
@@ -961,7 +897,6 @@ describe 'CellsApi' do
|
|
961
897
|
|
962
898
|
|
963
899
|
mapFiles = { }
|
964
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
965
900
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
966
901
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
967
902
|
@instance.post_export(request);
|
@@ -970,7 +905,6 @@ describe 'CellsApi' do
|
|
970
905
|
|
971
906
|
describe 'post_export_xltm_workbook test' do
|
972
907
|
it "should work" do
|
973
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
974
908
|
book1_xlsx = 'Book1.xlsx'
|
975
909
|
|
976
910
|
format = "xltm"
|
@@ -978,7 +912,6 @@ describe 'CellsApi' do
|
|
978
912
|
|
979
913
|
|
980
914
|
mapFiles = { }
|
981
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
982
915
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
983
916
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
984
917
|
@instance.post_export(request);
|
@@ -987,7 +920,6 @@ describe 'CellsApi' do
|
|
987
920
|
|
988
921
|
describe 'post_export_xltx_workbook test' do
|
989
922
|
it "should work" do
|
990
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
991
923
|
book1_xlsx = 'Book1.xlsx'
|
992
924
|
|
993
925
|
format = "xltx"
|
@@ -995,7 +927,6 @@ describe 'CellsApi' do
|
|
995
927
|
|
996
928
|
|
997
929
|
mapFiles = { }
|
998
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
999
930
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1000
931
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1001
932
|
@instance.post_export(request);
|
@@ -1004,7 +935,6 @@ describe 'CellsApi' do
|
|
1004
935
|
|
1005
936
|
describe 'post_export_xps_workbook test' do
|
1006
937
|
it "should work" do
|
1007
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1008
938
|
book1_xlsx = 'Book1.xlsx'
|
1009
939
|
|
1010
940
|
format = "xps"
|
@@ -1012,7 +942,6 @@ describe 'CellsApi' do
|
|
1012
942
|
|
1013
943
|
|
1014
944
|
mapFiles = { }
|
1015
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1016
945
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1017
946
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1018
947
|
@instance.post_export(request);
|
@@ -1021,7 +950,6 @@ describe 'CellsApi' do
|
|
1021
950
|
|
1022
951
|
describe 'post_export_png_workbook test' do
|
1023
952
|
it "should work" do
|
1024
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1025
953
|
book1_xlsx = 'Book1.xlsx'
|
1026
954
|
|
1027
955
|
format = "png"
|
@@ -1029,7 +957,6 @@ describe 'CellsApi' do
|
|
1029
957
|
|
1030
958
|
|
1031
959
|
mapFiles = { }
|
1032
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1033
960
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1034
961
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1035
962
|
@instance.post_export(request);
|
@@ -1038,7 +965,6 @@ describe 'CellsApi' do
|
|
1038
965
|
|
1039
966
|
describe 'post_export_jpg_workbook test' do
|
1040
967
|
it "should work" do
|
1041
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1042
968
|
book1_xlsx = 'Book1.xlsx'
|
1043
969
|
|
1044
970
|
format = "jpg"
|
@@ -1046,7 +972,6 @@ describe 'CellsApi' do
|
|
1046
972
|
|
1047
973
|
|
1048
974
|
mapFiles = { }
|
1049
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1050
975
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1051
976
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1052
977
|
@instance.post_export(request);
|
@@ -1055,7 +980,6 @@ describe 'CellsApi' do
|
|
1055
980
|
|
1056
981
|
describe 'post_export_gif_workbook test' do
|
1057
982
|
it "should work" do
|
1058
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1059
983
|
book1_xlsx = 'Book1.xlsx'
|
1060
984
|
|
1061
985
|
format = "gif"
|
@@ -1063,7 +987,6 @@ describe 'CellsApi' do
|
|
1063
987
|
|
1064
988
|
|
1065
989
|
mapFiles = { }
|
1066
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1067
990
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1068
991
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1069
992
|
@instance.post_export(request);
|
@@ -1072,7 +995,6 @@ describe 'CellsApi' do
|
|
1072
995
|
|
1073
996
|
describe 'post_export_emf_workbook test' do
|
1074
997
|
it "should work" do
|
1075
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1076
998
|
book1_xlsx = 'Book1.xlsx'
|
1077
999
|
|
1078
1000
|
format = "emf"
|
@@ -1080,7 +1002,6 @@ describe 'CellsApi' do
|
|
1080
1002
|
|
1081
1003
|
|
1082
1004
|
mapFiles = { }
|
1083
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1084
1005
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1085
1006
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1086
1007
|
@instance.post_export(request);
|
@@ -1089,7 +1010,6 @@ describe 'CellsApi' do
|
|
1089
1010
|
|
1090
1011
|
describe 'post_export_bmp_workbook test' do
|
1091
1012
|
it "should work" do
|
1092
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1093
1013
|
book1_xlsx = 'Book1.xlsx'
|
1094
1014
|
|
1095
1015
|
format = "bmp"
|
@@ -1097,7 +1017,6 @@ describe 'CellsApi' do
|
|
1097
1017
|
|
1098
1018
|
|
1099
1019
|
mapFiles = { }
|
1100
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1101
1020
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1102
1021
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1103
1022
|
@instance.post_export(request);
|
@@ -1106,7 +1025,6 @@ describe 'CellsApi' do
|
|
1106
1025
|
|
1107
1026
|
describe 'post_export_md_workbook test' do
|
1108
1027
|
it "should work" do
|
1109
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1110
1028
|
book1_xlsx = 'Book1.xlsx'
|
1111
1029
|
|
1112
1030
|
format = "md"
|
@@ -1114,17 +1032,15 @@ describe 'CellsApi' do
|
|
1114
1032
|
|
1115
1033
|
|
1116
1034
|
mapFiles = { }
|
1117
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1118
1035
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1119
1036
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1120
1037
|
@instance.post_export(request);
|
1121
1038
|
end
|
1122
1039
|
end
|
1123
1040
|
|
1124
|
-
|
1041
|
+
|
1125
1042
|
describe 'post_export_wmf_workbook test' do
|
1126
1043
|
it "should work" do
|
1127
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1128
1044
|
book1_xlsx = 'Book1.xlsx'
|
1129
1045
|
|
1130
1046
|
format = "wmf"
|
@@ -1132,7 +1048,6 @@ describe 'CellsApi' do
|
|
1132
1048
|
|
1133
1049
|
|
1134
1050
|
mapFiles = { }
|
1135
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1136
1051
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1137
1052
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1138
1053
|
@instance.post_export(request);
|
@@ -1141,7 +1056,6 @@ describe 'CellsApi' do
|
|
1141
1056
|
|
1142
1057
|
describe 'post_export_svg_workbook test' do
|
1143
1058
|
it "should work" do
|
1144
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1145
1059
|
book1_xlsx = 'Book1.xlsx'
|
1146
1060
|
|
1147
1061
|
format = "svg"
|
@@ -1149,7 +1063,6 @@ describe 'CellsApi' do
|
|
1149
1063
|
|
1150
1064
|
|
1151
1065
|
mapFiles = { }
|
1152
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1153
1066
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1154
1067
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1155
1068
|
@instance.post_export(request);
|
@@ -1158,7 +1071,6 @@ describe 'CellsApi' do
|
|
1158
1071
|
|
1159
1072
|
describe 'post_export_docx_workbook test' do
|
1160
1073
|
it "should work" do
|
1161
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1162
1074
|
book1_xlsx = 'Book1.xlsx'
|
1163
1075
|
|
1164
1076
|
format = "docx"
|
@@ -1166,7 +1078,6 @@ describe 'CellsApi' do
|
|
1166
1078
|
|
1167
1079
|
|
1168
1080
|
mapFiles = { }
|
1169
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1170
1081
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1171
1082
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1172
1083
|
@instance.post_export(request);
|
@@ -1175,7 +1086,6 @@ describe 'CellsApi' do
|
|
1175
1086
|
|
1176
1087
|
describe 'post_export_pptx_workbook test' do
|
1177
1088
|
it "should work" do
|
1178
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1179
1089
|
book1_xlsx = 'Book1.xlsx'
|
1180
1090
|
|
1181
1091
|
format = "pptx"
|
@@ -1183,7 +1093,6 @@ describe 'CellsApi' do
|
|
1183
1093
|
|
1184
1094
|
|
1185
1095
|
mapFiles = { }
|
1186
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1187
1096
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1188
1097
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1189
1098
|
@instance.post_export(request);
|
@@ -1192,7 +1101,6 @@ describe 'CellsApi' do
|
|
1192
1101
|
|
1193
1102
|
describe 'post_export_json_workbook test' do
|
1194
1103
|
it "should work" do
|
1195
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1196
1104
|
book1_xlsx = 'Book1.xlsx'
|
1197
1105
|
|
1198
1106
|
format = "json"
|
@@ -1200,7 +1108,6 @@ describe 'CellsApi' do
|
|
1200
1108
|
|
1201
1109
|
|
1202
1110
|
mapFiles = { }
|
1203
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1204
1111
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1205
1112
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1206
1113
|
@instance.post_export(request);
|
@@ -1209,7 +1116,6 @@ describe 'CellsApi' do
|
|
1209
1116
|
|
1210
1117
|
describe 'post_export_sql_workbook test' do
|
1211
1118
|
it "should work" do
|
1212
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1213
1119
|
book1_xlsx = 'Book1.xlsx'
|
1214
1120
|
|
1215
1121
|
format = "sql"
|
@@ -1217,7 +1123,6 @@ describe 'CellsApi' do
|
|
1217
1123
|
|
1218
1124
|
|
1219
1125
|
mapFiles = { }
|
1220
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1221
1126
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1222
1127
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1223
1128
|
@instance.post_export(request);
|
@@ -1226,7 +1131,6 @@ describe 'CellsApi' do
|
|
1226
1131
|
|
1227
1132
|
describe 'post_export_csv_worksheet test' do
|
1228
1133
|
it "should work" do
|
1229
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1230
1134
|
book1_xlsx = 'Book1.xlsx'
|
1231
1135
|
|
1232
1136
|
format = "csv"
|
@@ -1234,7 +1138,6 @@ describe 'CellsApi' do
|
|
1234
1138
|
|
1235
1139
|
|
1236
1140
|
mapFiles = { }
|
1237
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1238
1141
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1239
1142
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1240
1143
|
@instance.post_export(request);
|
@@ -1243,7 +1146,6 @@ describe 'CellsApi' do
|
|
1243
1146
|
|
1244
1147
|
describe 'post_export_xls_worksheet test' do
|
1245
1148
|
it "should work" do
|
1246
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1247
1149
|
book1_xlsx = 'Book1.xlsx'
|
1248
1150
|
|
1249
1151
|
format = "xls"
|
@@ -1251,7 +1153,6 @@ describe 'CellsApi' do
|
|
1251
1153
|
|
1252
1154
|
|
1253
1155
|
mapFiles = { }
|
1254
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1255
1156
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1256
1157
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1257
1158
|
@instance.post_export(request);
|
@@ -1260,7 +1161,6 @@ describe 'CellsApi' do
|
|
1260
1161
|
|
1261
1162
|
describe 'post_export_html_worksheet test' do
|
1262
1163
|
it "should work" do
|
1263
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1264
1164
|
book1_xlsx = 'Book1.xlsx'
|
1265
1165
|
|
1266
1166
|
format = "html"
|
@@ -1268,7 +1168,6 @@ describe 'CellsApi' do
|
|
1268
1168
|
|
1269
1169
|
|
1270
1170
|
mapFiles = { }
|
1271
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1272
1171
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1273
1172
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1274
1173
|
@instance.post_export(request);
|
@@ -1277,7 +1176,6 @@ describe 'CellsApi' do
|
|
1277
1176
|
|
1278
1177
|
describe 'post_export_mhtml_worksheet test' do
|
1279
1178
|
it "should work" do
|
1280
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1281
1179
|
book1_xlsx = 'Book1.xlsx'
|
1282
1180
|
|
1283
1181
|
format = "mhtml"
|
@@ -1285,7 +1183,6 @@ describe 'CellsApi' do
|
|
1285
1183
|
|
1286
1184
|
|
1287
1185
|
mapFiles = { }
|
1288
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1289
1186
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1290
1187
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1291
1188
|
@instance.post_export(request);
|
@@ -1294,7 +1191,6 @@ describe 'CellsApi' do
|
|
1294
1191
|
|
1295
1192
|
describe 'post_export_ods_worksheet test' do
|
1296
1193
|
it "should work" do
|
1297
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1298
1194
|
book1_xlsx = 'Book1.xlsx'
|
1299
1195
|
|
1300
1196
|
format = "ods"
|
@@ -1302,7 +1198,6 @@ describe 'CellsApi' do
|
|
1302
1198
|
|
1303
1199
|
|
1304
1200
|
mapFiles = { }
|
1305
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1306
1201
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1307
1202
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1308
1203
|
@instance.post_export(request);
|
@@ -1311,7 +1206,6 @@ describe 'CellsApi' do
|
|
1311
1206
|
|
1312
1207
|
describe 'post_export_pdf_worksheet test' do
|
1313
1208
|
it "should work" do
|
1314
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1315
1209
|
book1_xlsx = 'Book1.xlsx'
|
1316
1210
|
|
1317
1211
|
format = "pdf"
|
@@ -1319,7 +1213,6 @@ describe 'CellsApi' do
|
|
1319
1213
|
|
1320
1214
|
|
1321
1215
|
mapFiles = { }
|
1322
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1323
1216
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1324
1217
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1325
1218
|
@instance.post_export(request);
|
@@ -1328,7 +1221,6 @@ describe 'CellsApi' do
|
|
1328
1221
|
|
1329
1222
|
describe 'post_export_xml_worksheet test' do
|
1330
1223
|
it "should work" do
|
1331
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1332
1224
|
book1_xlsx = 'Book1.xlsx'
|
1333
1225
|
|
1334
1226
|
format = "xml"
|
@@ -1336,7 +1228,6 @@ describe 'CellsApi' do
|
|
1336
1228
|
|
1337
1229
|
|
1338
1230
|
mapFiles = { }
|
1339
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1340
1231
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1341
1232
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1342
1233
|
@instance.post_export(request);
|
@@ -1345,7 +1236,6 @@ describe 'CellsApi' do
|
|
1345
1236
|
|
1346
1237
|
describe 'post_export_txt_worksheet test' do
|
1347
1238
|
it "should work" do
|
1348
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1349
1239
|
book1_xlsx = 'Book1.xlsx'
|
1350
1240
|
|
1351
1241
|
format = "txt"
|
@@ -1353,7 +1243,6 @@ describe 'CellsApi' do
|
|
1353
1243
|
|
1354
1244
|
|
1355
1245
|
mapFiles = { }
|
1356
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1357
1246
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1358
1247
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1359
1248
|
@instance.post_export(request);
|
@@ -1362,7 +1251,6 @@ describe 'CellsApi' do
|
|
1362
1251
|
|
1363
1252
|
describe 'post_export_tif_worksheet test' do
|
1364
1253
|
it "should work" do
|
1365
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1366
1254
|
book1_xlsx = 'Book1.xlsx'
|
1367
1255
|
|
1368
1256
|
format = "tif"
|
@@ -1370,7 +1258,6 @@ describe 'CellsApi' do
|
|
1370
1258
|
|
1371
1259
|
|
1372
1260
|
mapFiles = { }
|
1373
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1374
1261
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1375
1262
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1376
1263
|
@instance.post_export(request);
|
@@ -1379,7 +1266,6 @@ describe 'CellsApi' do
|
|
1379
1266
|
|
1380
1267
|
describe 'post_export_xlsb_worksheet test' do
|
1381
1268
|
it "should work" do
|
1382
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1383
1269
|
book1_xlsx = 'Book1.xlsx'
|
1384
1270
|
|
1385
1271
|
format = "xlsb"
|
@@ -1387,7 +1273,6 @@ describe 'CellsApi' do
|
|
1387
1273
|
|
1388
1274
|
|
1389
1275
|
mapFiles = { }
|
1390
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1391
1276
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1392
1277
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1393
1278
|
@instance.post_export(request);
|
@@ -1396,7 +1281,6 @@ describe 'CellsApi' do
|
|
1396
1281
|
|
1397
1282
|
describe 'post_export_xlsm_worksheet test' do
|
1398
1283
|
it "should work" do
|
1399
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1400
1284
|
book1_xlsx = 'Book1.xlsx'
|
1401
1285
|
|
1402
1286
|
format = "xlsm"
|
@@ -1404,7 +1288,6 @@ describe 'CellsApi' do
|
|
1404
1288
|
|
1405
1289
|
|
1406
1290
|
mapFiles = { }
|
1407
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1408
1291
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1409
1292
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1410
1293
|
@instance.post_export(request);
|
@@ -1413,7 +1296,6 @@ describe 'CellsApi' do
|
|
1413
1296
|
|
1414
1297
|
describe 'post_export_xlsx_worksheet test' do
|
1415
1298
|
it "should work" do
|
1416
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1417
1299
|
book1_xlsx = 'Book1.xlsx'
|
1418
1300
|
|
1419
1301
|
format = "xlsx"
|
@@ -1421,7 +1303,6 @@ describe 'CellsApi' do
|
|
1421
1303
|
|
1422
1304
|
|
1423
1305
|
mapFiles = { }
|
1424
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1425
1306
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1426
1307
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1427
1308
|
@instance.post_export(request);
|
@@ -1430,7 +1311,6 @@ describe 'CellsApi' do
|
|
1430
1311
|
|
1431
1312
|
describe 'post_export_xltm_worksheet test' do
|
1432
1313
|
it "should work" do
|
1433
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1434
1314
|
book1_xlsx = 'Book1.xlsx'
|
1435
1315
|
|
1436
1316
|
format = "xltm"
|
@@ -1438,7 +1318,6 @@ describe 'CellsApi' do
|
|
1438
1318
|
|
1439
1319
|
|
1440
1320
|
mapFiles = { }
|
1441
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1442
1321
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1443
1322
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1444
1323
|
@instance.post_export(request);
|
@@ -1447,7 +1326,6 @@ describe 'CellsApi' do
|
|
1447
1326
|
|
1448
1327
|
describe 'post_export_xltx_worksheet test' do
|
1449
1328
|
it "should work" do
|
1450
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1451
1329
|
book1_xlsx = 'Book1.xlsx'
|
1452
1330
|
|
1453
1331
|
format = "xltx"
|
@@ -1455,7 +1333,6 @@ describe 'CellsApi' do
|
|
1455
1333
|
|
1456
1334
|
|
1457
1335
|
mapFiles = { }
|
1458
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1459
1336
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1460
1337
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1461
1338
|
@instance.post_export(request);
|
@@ -1464,7 +1341,6 @@ describe 'CellsApi' do
|
|
1464
1341
|
|
1465
1342
|
describe 'post_export_xps_worksheet test' do
|
1466
1343
|
it "should work" do
|
1467
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1468
1344
|
book1_xlsx = 'Book1.xlsx'
|
1469
1345
|
|
1470
1346
|
format = "xps"
|
@@ -1472,7 +1348,6 @@ describe 'CellsApi' do
|
|
1472
1348
|
|
1473
1349
|
|
1474
1350
|
mapFiles = { }
|
1475
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1476
1351
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1477
1352
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1478
1353
|
@instance.post_export(request);
|
@@ -1481,7 +1356,6 @@ describe 'CellsApi' do
|
|
1481
1356
|
|
1482
1357
|
describe 'post_export_png_worksheet test' do
|
1483
1358
|
it "should work" do
|
1484
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1485
1359
|
book1_xlsx = 'Book1.xlsx'
|
1486
1360
|
|
1487
1361
|
format = "png"
|
@@ -1489,7 +1363,6 @@ describe 'CellsApi' do
|
|
1489
1363
|
|
1490
1364
|
|
1491
1365
|
mapFiles = { }
|
1492
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1493
1366
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1494
1367
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1495
1368
|
@instance.post_export(request);
|
@@ -1498,7 +1371,6 @@ describe 'CellsApi' do
|
|
1498
1371
|
|
1499
1372
|
describe 'post_export_jpg_worksheet test' do
|
1500
1373
|
it "should work" do
|
1501
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1502
1374
|
book1_xlsx = 'Book1.xlsx'
|
1503
1375
|
|
1504
1376
|
format = "jpg"
|
@@ -1506,7 +1378,6 @@ describe 'CellsApi' do
|
|
1506
1378
|
|
1507
1379
|
|
1508
1380
|
mapFiles = { }
|
1509
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1510
1381
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1511
1382
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1512
1383
|
@instance.post_export(request);
|
@@ -1515,7 +1386,6 @@ describe 'CellsApi' do
|
|
1515
1386
|
|
1516
1387
|
describe 'post_export_gif_worksheet test' do
|
1517
1388
|
it "should work" do
|
1518
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1519
1389
|
book1_xlsx = 'Book1.xlsx'
|
1520
1390
|
|
1521
1391
|
format = "gif"
|
@@ -1523,7 +1393,6 @@ describe 'CellsApi' do
|
|
1523
1393
|
|
1524
1394
|
|
1525
1395
|
mapFiles = { }
|
1526
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1527
1396
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1528
1397
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1529
1398
|
@instance.post_export(request);
|
@@ -1532,7 +1401,6 @@ describe 'CellsApi' do
|
|
1532
1401
|
|
1533
1402
|
describe 'post_export_emf_worksheet test' do
|
1534
1403
|
it "should work" do
|
1535
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1536
1404
|
book1_xlsx = 'Book1.xlsx'
|
1537
1405
|
|
1538
1406
|
format = "emf"
|
@@ -1540,7 +1408,6 @@ describe 'CellsApi' do
|
|
1540
1408
|
|
1541
1409
|
|
1542
1410
|
mapFiles = { }
|
1543
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1544
1411
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1545
1412
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1546
1413
|
@instance.post_export(request);
|
@@ -1549,7 +1416,6 @@ describe 'CellsApi' do
|
|
1549
1416
|
|
1550
1417
|
describe 'post_export_bmp_worksheet test' do
|
1551
1418
|
it "should work" do
|
1552
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1553
1419
|
book1_xlsx = 'Book1.xlsx'
|
1554
1420
|
|
1555
1421
|
format = "bmp"
|
@@ -1557,7 +1423,6 @@ describe 'CellsApi' do
|
|
1557
1423
|
|
1558
1424
|
|
1559
1425
|
mapFiles = { }
|
1560
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1561
1426
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1562
1427
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1563
1428
|
@instance.post_export(request);
|
@@ -1566,7 +1431,6 @@ describe 'CellsApi' do
|
|
1566
1431
|
|
1567
1432
|
describe 'post_export_md_worksheet test' do
|
1568
1433
|
it "should work" do
|
1569
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1570
1434
|
book1_xlsx = 'Book1.xlsx'
|
1571
1435
|
|
1572
1436
|
format = "md"
|
@@ -1574,16 +1438,14 @@ describe 'CellsApi' do
|
|
1574
1438
|
|
1575
1439
|
|
1576
1440
|
mapFiles = { }
|
1577
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1578
1441
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1579
1442
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1580
1443
|
@instance.post_export(request);
|
1581
1444
|
end
|
1582
|
-
end
|
1445
|
+
end
|
1583
1446
|
|
1584
1447
|
describe 'post_export_wmf_worksheet test' do
|
1585
1448
|
it "should work" do
|
1586
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1587
1449
|
book1_xlsx = 'Book1.xlsx'
|
1588
1450
|
|
1589
1451
|
format = "wmf"
|
@@ -1591,7 +1453,6 @@ describe 'CellsApi' do
|
|
1591
1453
|
|
1592
1454
|
|
1593
1455
|
mapFiles = { }
|
1594
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1595
1456
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1596
1457
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1597
1458
|
@instance.post_export(request);
|
@@ -1600,7 +1461,6 @@ describe 'CellsApi' do
|
|
1600
1461
|
|
1601
1462
|
describe 'post_export_svg_worksheet test' do
|
1602
1463
|
it "should work" do
|
1603
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1604
1464
|
book1_xlsx = 'Book1.xlsx'
|
1605
1465
|
|
1606
1466
|
format = "svg"
|
@@ -1608,7 +1468,6 @@ describe 'CellsApi' do
|
|
1608
1468
|
|
1609
1469
|
|
1610
1470
|
mapFiles = { }
|
1611
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1612
1471
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1613
1472
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1614
1473
|
@instance.post_export(request);
|
@@ -1617,7 +1476,6 @@ describe 'CellsApi' do
|
|
1617
1476
|
|
1618
1477
|
describe 'post_export_docx_worksheet test' do
|
1619
1478
|
it "should work" do
|
1620
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1621
1479
|
book1_xlsx = 'Book1.xlsx'
|
1622
1480
|
|
1623
1481
|
format = "docx"
|
@@ -1625,7 +1483,6 @@ describe 'CellsApi' do
|
|
1625
1483
|
|
1626
1484
|
|
1627
1485
|
mapFiles = { }
|
1628
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1629
1486
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1630
1487
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1631
1488
|
@instance.post_export(request);
|
@@ -1634,7 +1491,6 @@ describe 'CellsApi' do
|
|
1634
1491
|
|
1635
1492
|
describe 'post_export_pptx_worksheet test' do
|
1636
1493
|
it "should work" do
|
1637
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1638
1494
|
book1_xlsx = 'Book1.xlsx'
|
1639
1495
|
|
1640
1496
|
format = "pptx"
|
@@ -1642,7 +1498,6 @@ describe 'CellsApi' do
|
|
1642
1498
|
|
1643
1499
|
|
1644
1500
|
mapFiles = { }
|
1645
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1646
1501
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1647
1502
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1648
1503
|
@instance.post_export(request);
|
@@ -1651,7 +1506,6 @@ describe 'CellsApi' do
|
|
1651
1506
|
|
1652
1507
|
describe 'post_export_json_worksheet test' do
|
1653
1508
|
it "should work" do
|
1654
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1655
1509
|
book1_xlsx = 'Book1.xlsx'
|
1656
1510
|
|
1657
1511
|
format = "json"
|
@@ -1659,7 +1513,6 @@ describe 'CellsApi' do
|
|
1659
1513
|
|
1660
1514
|
|
1661
1515
|
mapFiles = { }
|
1662
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1663
1516
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1664
1517
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1665
1518
|
@instance.post_export(request);
|
@@ -1668,7 +1521,6 @@ describe 'CellsApi' do
|
|
1668
1521
|
|
1669
1522
|
describe 'post_export_sql_worksheet test' do
|
1670
1523
|
it "should work" do
|
1671
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1672
1524
|
book1_xlsx = 'Book1.xlsx'
|
1673
1525
|
|
1674
1526
|
format = "sql"
|
@@ -1676,7 +1528,6 @@ describe 'CellsApi' do
|
|
1676
1528
|
|
1677
1529
|
|
1678
1530
|
mapFiles = { }
|
1679
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1680
1531
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1681
1532
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1682
1533
|
@instance.post_export(request);
|
@@ -1685,7 +1536,6 @@ describe 'CellsApi' do
|
|
1685
1536
|
|
1686
1537
|
describe 'post_export_pdf_chart test' do
|
1687
1538
|
it "should work" do
|
1688
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1689
1539
|
book1_xlsx = 'Book1.xlsx'
|
1690
1540
|
|
1691
1541
|
format = "pdf"
|
@@ -1693,7 +1543,6 @@ describe 'CellsApi' do
|
|
1693
1543
|
|
1694
1544
|
|
1695
1545
|
mapFiles = { }
|
1696
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1697
1546
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1698
1547
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1699
1548
|
@instance.post_export(request);
|
@@ -1702,7 +1551,6 @@ describe 'CellsApi' do
|
|
1702
1551
|
|
1703
1552
|
describe 'post_export_tif_chart test' do
|
1704
1553
|
it "should work" do
|
1705
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1706
1554
|
book1_xlsx = 'Book1.xlsx'
|
1707
1555
|
|
1708
1556
|
format = "tif"
|
@@ -1710,7 +1558,6 @@ describe 'CellsApi' do
|
|
1710
1558
|
|
1711
1559
|
|
1712
1560
|
mapFiles = { }
|
1713
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1714
1561
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1715
1562
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1716
1563
|
@instance.post_export(request);
|
@@ -1719,7 +1566,6 @@ describe 'CellsApi' do
|
|
1719
1566
|
|
1720
1567
|
describe 'post_export_png_chart test' do
|
1721
1568
|
it "should work" do
|
1722
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1723
1569
|
book1_xlsx = 'Book1.xlsx'
|
1724
1570
|
|
1725
1571
|
format = "png"
|
@@ -1727,7 +1573,6 @@ describe 'CellsApi' do
|
|
1727
1573
|
|
1728
1574
|
|
1729
1575
|
mapFiles = { }
|
1730
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1731
1576
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1732
1577
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1733
1578
|
@instance.post_export(request);
|
@@ -1736,7 +1581,6 @@ describe 'CellsApi' do
|
|
1736
1581
|
|
1737
1582
|
describe 'post_export_jpg_chart test' do
|
1738
1583
|
it "should work" do
|
1739
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1740
1584
|
book1_xlsx = 'Book1.xlsx'
|
1741
1585
|
|
1742
1586
|
format = "jpg"
|
@@ -1744,7 +1588,6 @@ describe 'CellsApi' do
|
|
1744
1588
|
|
1745
1589
|
|
1746
1590
|
mapFiles = { }
|
1747
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1748
1591
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1749
1592
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1750
1593
|
@instance.post_export(request);
|
@@ -1753,7 +1596,6 @@ describe 'CellsApi' do
|
|
1753
1596
|
|
1754
1597
|
describe 'post_export_gif_chart test' do
|
1755
1598
|
it "should work" do
|
1756
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1757
1599
|
book1_xlsx = 'Book1.xlsx'
|
1758
1600
|
|
1759
1601
|
format = "gif"
|
@@ -1761,7 +1603,6 @@ describe 'CellsApi' do
|
|
1761
1603
|
|
1762
1604
|
|
1763
1605
|
mapFiles = { }
|
1764
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1765
1606
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1766
1607
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1767
1608
|
@instance.post_export(request);
|
@@ -1770,7 +1611,6 @@ describe 'CellsApi' do
|
|
1770
1611
|
|
1771
1612
|
describe 'post_export_emf_chart test' do
|
1772
1613
|
it "should work" do
|
1773
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1774
1614
|
book1_xlsx = 'Book1.xlsx'
|
1775
1615
|
|
1776
1616
|
format = "emf"
|
@@ -1778,7 +1618,6 @@ describe 'CellsApi' do
|
|
1778
1618
|
|
1779
1619
|
|
1780
1620
|
mapFiles = { }
|
1781
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1782
1621
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1783
1622
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1784
1623
|
@instance.post_export(request);
|
@@ -1787,7 +1626,6 @@ describe 'CellsApi' do
|
|
1787
1626
|
|
1788
1627
|
describe 'post_export_bmp_chart test' do
|
1789
1628
|
it "should work" do
|
1790
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1791
1629
|
book1_xlsx = 'Book1.xlsx'
|
1792
1630
|
|
1793
1631
|
format = "bmp"
|
@@ -1795,7 +1633,6 @@ describe 'CellsApi' do
|
|
1795
1633
|
|
1796
1634
|
|
1797
1635
|
mapFiles = { }
|
1798
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1799
1636
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1800
1637
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1801
1638
|
@instance.post_export(request);
|
@@ -1804,7 +1641,6 @@ describe 'CellsApi' do
|
|
1804
1641
|
|
1805
1642
|
describe 'post_export_png_picture test' do
|
1806
1643
|
it "should work" do
|
1807
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1808
1644
|
book1_xlsx = 'Book1.xlsx'
|
1809
1645
|
|
1810
1646
|
format = "png"
|
@@ -1812,7 +1648,6 @@ describe 'CellsApi' do
|
|
1812
1648
|
|
1813
1649
|
|
1814
1650
|
mapFiles = { }
|
1815
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1816
1651
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1817
1652
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1818
1653
|
@instance.post_export(request);
|
@@ -1821,7 +1656,6 @@ describe 'CellsApi' do
|
|
1821
1656
|
|
1822
1657
|
describe 'post_export_jpg_picture test' do
|
1823
1658
|
it "should work" do
|
1824
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1825
1659
|
book1_xlsx = 'Book1.xlsx'
|
1826
1660
|
|
1827
1661
|
format = "jpg"
|
@@ -1829,7 +1663,6 @@ describe 'CellsApi' do
|
|
1829
1663
|
|
1830
1664
|
|
1831
1665
|
mapFiles = { }
|
1832
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1833
1666
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1834
1667
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1835
1668
|
@instance.post_export(request);
|
@@ -1838,7 +1671,6 @@ describe 'CellsApi' do
|
|
1838
1671
|
|
1839
1672
|
describe 'post_export_gif_picture test' do
|
1840
1673
|
it "should work" do
|
1841
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1842
1674
|
book1_xlsx = 'Book1.xlsx'
|
1843
1675
|
|
1844
1676
|
format = "gif"
|
@@ -1846,7 +1678,6 @@ describe 'CellsApi' do
|
|
1846
1678
|
|
1847
1679
|
|
1848
1680
|
mapFiles = { }
|
1849
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1850
1681
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1851
1682
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1852
1683
|
@instance.post_export(request);
|
@@ -1855,7 +1686,6 @@ describe 'CellsApi' do
|
|
1855
1686
|
|
1856
1687
|
describe 'post_export_emf_picture test' do
|
1857
1688
|
it "should work" do
|
1858
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1859
1689
|
book1_xlsx = 'Book1.xlsx'
|
1860
1690
|
|
1861
1691
|
format = "emf"
|
@@ -1863,7 +1693,6 @@ describe 'CellsApi' do
|
|
1863
1693
|
|
1864
1694
|
|
1865
1695
|
mapFiles = { }
|
1866
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1867
1696
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1868
1697
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1869
1698
|
@instance.post_export(request);
|
@@ -1872,7 +1701,6 @@ describe 'CellsApi' do
|
|
1872
1701
|
|
1873
1702
|
describe 'post_export_bmp_picture test' do
|
1874
1703
|
it "should work" do
|
1875
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1876
1704
|
book1_xlsx = 'Book1.xlsx'
|
1877
1705
|
|
1878
1706
|
format = "bmp"
|
@@ -1880,7 +1708,6 @@ describe 'CellsApi' do
|
|
1880
1708
|
|
1881
1709
|
|
1882
1710
|
mapFiles = { }
|
1883
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1884
1711
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1885
1712
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1886
1713
|
@instance.post_export(request);
|
@@ -1889,7 +1716,6 @@ describe 'CellsApi' do
|
|
1889
1716
|
|
1890
1717
|
describe 'post_export_csv_listobject test' do
|
1891
1718
|
it "should work" do
|
1892
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1893
1719
|
book1_xlsx = 'Book1.xlsx'
|
1894
1720
|
|
1895
1721
|
format = "csv"
|
@@ -1897,7 +1723,6 @@ describe 'CellsApi' do
|
|
1897
1723
|
|
1898
1724
|
|
1899
1725
|
mapFiles = { }
|
1900
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1901
1726
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1902
1727
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1903
1728
|
@instance.post_export(request);
|
@@ -1906,7 +1731,6 @@ describe 'CellsApi' do
|
|
1906
1731
|
|
1907
1732
|
describe 'post_export_xls_listobject test' do
|
1908
1733
|
it "should work" do
|
1909
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1910
1734
|
book1_xlsx = 'Book1.xlsx'
|
1911
1735
|
|
1912
1736
|
format = "xls"
|
@@ -1914,7 +1738,6 @@ describe 'CellsApi' do
|
|
1914
1738
|
|
1915
1739
|
|
1916
1740
|
mapFiles = { }
|
1917
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1918
1741
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1919
1742
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1920
1743
|
@instance.post_export(request);
|
@@ -1923,7 +1746,6 @@ describe 'CellsApi' do
|
|
1923
1746
|
|
1924
1747
|
describe 'post_export_html_listobject test' do
|
1925
1748
|
it "should work" do
|
1926
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1927
1749
|
book1_xlsx = 'Book1.xlsx'
|
1928
1750
|
|
1929
1751
|
format = "html"
|
@@ -1931,7 +1753,6 @@ describe 'CellsApi' do
|
|
1931
1753
|
|
1932
1754
|
|
1933
1755
|
mapFiles = { }
|
1934
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1935
1756
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1936
1757
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1937
1758
|
@instance.post_export(request);
|
@@ -1940,7 +1761,6 @@ describe 'CellsApi' do
|
|
1940
1761
|
|
1941
1762
|
describe 'post_export_mhtml_listobject test' do
|
1942
1763
|
it "should work" do
|
1943
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1944
1764
|
book1_xlsx = 'Book1.xlsx'
|
1945
1765
|
|
1946
1766
|
format = "mhtml"
|
@@ -1948,7 +1768,6 @@ describe 'CellsApi' do
|
|
1948
1768
|
|
1949
1769
|
|
1950
1770
|
mapFiles = { }
|
1951
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1952
1771
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1953
1772
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1954
1773
|
@instance.post_export(request);
|
@@ -1957,7 +1776,6 @@ describe 'CellsApi' do
|
|
1957
1776
|
|
1958
1777
|
describe 'post_export_ods_listobject test' do
|
1959
1778
|
it "should work" do
|
1960
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1961
1779
|
book1_xlsx = 'Book1.xlsx'
|
1962
1780
|
|
1963
1781
|
format = "ods"
|
@@ -1965,7 +1783,6 @@ describe 'CellsApi' do
|
|
1965
1783
|
|
1966
1784
|
|
1967
1785
|
mapFiles = { }
|
1968
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1969
1786
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1970
1787
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1971
1788
|
@instance.post_export(request);
|
@@ -1974,7 +1791,6 @@ describe 'CellsApi' do
|
|
1974
1791
|
|
1975
1792
|
describe 'post_export_pdf_listobject test' do
|
1976
1793
|
it "should work" do
|
1977
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1978
1794
|
book1_xlsx = 'Book1.xlsx'
|
1979
1795
|
|
1980
1796
|
format = "pdf"
|
@@ -1982,7 +1798,6 @@ describe 'CellsApi' do
|
|
1982
1798
|
|
1983
1799
|
|
1984
1800
|
mapFiles = { }
|
1985
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1986
1801
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1987
1802
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1988
1803
|
@instance.post_export(request);
|
@@ -1991,7 +1806,6 @@ describe 'CellsApi' do
|
|
1991
1806
|
|
1992
1807
|
describe 'post_export_xml_listobject test' do
|
1993
1808
|
it "should work" do
|
1994
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1995
1809
|
book1_xlsx = 'Book1.xlsx'
|
1996
1810
|
|
1997
1811
|
format = "xml"
|
@@ -1999,7 +1813,6 @@ describe 'CellsApi' do
|
|
1999
1813
|
|
2000
1814
|
|
2001
1815
|
mapFiles = { }
|
2002
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2003
1816
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2004
1817
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2005
1818
|
@instance.post_export(request);
|
@@ -2008,7 +1821,6 @@ describe 'CellsApi' do
|
|
2008
1821
|
|
2009
1822
|
describe 'post_export_txt_listobject test' do
|
2010
1823
|
it "should work" do
|
2011
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2012
1824
|
book1_xlsx = 'Book1.xlsx'
|
2013
1825
|
|
2014
1826
|
format = "txt"
|
@@ -2016,7 +1828,6 @@ describe 'CellsApi' do
|
|
2016
1828
|
|
2017
1829
|
|
2018
1830
|
mapFiles = { }
|
2019
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2020
1831
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2021
1832
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2022
1833
|
@instance.post_export(request);
|
@@ -2025,7 +1836,6 @@ describe 'CellsApi' do
|
|
2025
1836
|
|
2026
1837
|
describe 'post_export_tif_listobject test' do
|
2027
1838
|
it "should work" do
|
2028
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2029
1839
|
book1_xlsx = 'Book1.xlsx'
|
2030
1840
|
|
2031
1841
|
format = "tif"
|
@@ -2033,7 +1843,6 @@ describe 'CellsApi' do
|
|
2033
1843
|
|
2034
1844
|
|
2035
1845
|
mapFiles = { }
|
2036
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2037
1846
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2038
1847
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2039
1848
|
@instance.post_export(request);
|
@@ -2042,7 +1851,6 @@ describe 'CellsApi' do
|
|
2042
1851
|
|
2043
1852
|
describe 'post_export_xlsb_listobject test' do
|
2044
1853
|
it "should work" do
|
2045
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2046
1854
|
book1_xlsx = 'Book1.xlsx'
|
2047
1855
|
|
2048
1856
|
format = "xlsb"
|
@@ -2050,7 +1858,6 @@ describe 'CellsApi' do
|
|
2050
1858
|
|
2051
1859
|
|
2052
1860
|
mapFiles = { }
|
2053
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2054
1861
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2055
1862
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2056
1863
|
@instance.post_export(request);
|
@@ -2059,7 +1866,6 @@ describe 'CellsApi' do
|
|
2059
1866
|
|
2060
1867
|
describe 'post_export_xlsm_listobject test' do
|
2061
1868
|
it "should work" do
|
2062
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2063
1869
|
book1_xlsx = 'Book1.xlsx'
|
2064
1870
|
|
2065
1871
|
format = "xlsm"
|
@@ -2067,7 +1873,6 @@ describe 'CellsApi' do
|
|
2067
1873
|
|
2068
1874
|
|
2069
1875
|
mapFiles = { }
|
2070
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2071
1876
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2072
1877
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2073
1878
|
@instance.post_export(request);
|
@@ -2076,7 +1881,6 @@ describe 'CellsApi' do
|
|
2076
1881
|
|
2077
1882
|
describe 'post_export_xlsx_listobject test' do
|
2078
1883
|
it "should work" do
|
2079
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2080
1884
|
book1_xlsx = 'Book1.xlsx'
|
2081
1885
|
|
2082
1886
|
format = "xlsx"
|
@@ -2084,7 +1888,6 @@ describe 'CellsApi' do
|
|
2084
1888
|
|
2085
1889
|
|
2086
1890
|
mapFiles = { }
|
2087
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2088
1891
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2089
1892
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2090
1893
|
@instance.post_export(request);
|
@@ -2093,7 +1896,6 @@ describe 'CellsApi' do
|
|
2093
1896
|
|
2094
1897
|
describe 'post_export_xltm_listobject test' do
|
2095
1898
|
it "should work" do
|
2096
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2097
1899
|
book1_xlsx = 'Book1.xlsx'
|
2098
1900
|
|
2099
1901
|
format = "xltm"
|
@@ -2101,7 +1903,6 @@ describe 'CellsApi' do
|
|
2101
1903
|
|
2102
1904
|
|
2103
1905
|
mapFiles = { }
|
2104
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2105
1906
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2106
1907
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2107
1908
|
@instance.post_export(request);
|
@@ -2110,7 +1911,6 @@ describe 'CellsApi' do
|
|
2110
1911
|
|
2111
1912
|
describe 'post_export_xltx_listobject test' do
|
2112
1913
|
it "should work" do
|
2113
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2114
1914
|
book1_xlsx = 'Book1.xlsx'
|
2115
1915
|
|
2116
1916
|
format = "xltx"
|
@@ -2118,7 +1918,6 @@ describe 'CellsApi' do
|
|
2118
1918
|
|
2119
1919
|
|
2120
1920
|
mapFiles = { }
|
2121
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2122
1921
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2123
1922
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2124
1923
|
@instance.post_export(request);
|
@@ -2127,7 +1926,6 @@ describe 'CellsApi' do
|
|
2127
1926
|
|
2128
1927
|
describe 'post_export_xps_listobject test' do
|
2129
1928
|
it "should work" do
|
2130
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2131
1929
|
book1_xlsx = 'Book1.xlsx'
|
2132
1930
|
|
2133
1931
|
format = "xps"
|
@@ -2135,7 +1933,6 @@ describe 'CellsApi' do
|
|
2135
1933
|
|
2136
1934
|
|
2137
1935
|
mapFiles = { }
|
2138
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2139
1936
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2140
1937
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2141
1938
|
@instance.post_export(request);
|
@@ -2144,7 +1941,6 @@ describe 'CellsApi' do
|
|
2144
1941
|
|
2145
1942
|
describe 'post_export_png_listobject test' do
|
2146
1943
|
it "should work" do
|
2147
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2148
1944
|
book1_xlsx = 'Book1.xlsx'
|
2149
1945
|
|
2150
1946
|
format = "png"
|
@@ -2152,7 +1948,6 @@ describe 'CellsApi' do
|
|
2152
1948
|
|
2153
1949
|
|
2154
1950
|
mapFiles = { }
|
2155
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2156
1951
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2157
1952
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2158
1953
|
@instance.post_export(request);
|
@@ -2161,7 +1956,6 @@ describe 'CellsApi' do
|
|
2161
1956
|
|
2162
1957
|
describe 'post_export_jpg_listobject test' do
|
2163
1958
|
it "should work" do
|
2164
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2165
1959
|
book1_xlsx = 'Book1.xlsx'
|
2166
1960
|
|
2167
1961
|
format = "jpg"
|
@@ -2169,7 +1963,6 @@ describe 'CellsApi' do
|
|
2169
1963
|
|
2170
1964
|
|
2171
1965
|
mapFiles = { }
|
2172
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2173
1966
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2174
1967
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2175
1968
|
@instance.post_export(request);
|
@@ -2178,7 +1971,6 @@ describe 'CellsApi' do
|
|
2178
1971
|
|
2179
1972
|
describe 'post_export_gif_listobject test' do
|
2180
1973
|
it "should work" do
|
2181
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2182
1974
|
book1_xlsx = 'Book1.xlsx'
|
2183
1975
|
|
2184
1976
|
format = "gif"
|
@@ -2186,7 +1978,6 @@ describe 'CellsApi' do
|
|
2186
1978
|
|
2187
1979
|
|
2188
1980
|
mapFiles = { }
|
2189
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2190
1981
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2191
1982
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2192
1983
|
@instance.post_export(request);
|
@@ -2195,7 +1986,6 @@ describe 'CellsApi' do
|
|
2195
1986
|
|
2196
1987
|
describe 'post_export_emf_listobject test' do
|
2197
1988
|
it "should work" do
|
2198
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2199
1989
|
book1_xlsx = 'Book1.xlsx'
|
2200
1990
|
|
2201
1991
|
format = "emf"
|
@@ -2203,7 +1993,6 @@ describe 'CellsApi' do
|
|
2203
1993
|
|
2204
1994
|
|
2205
1995
|
mapFiles = { }
|
2206
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2207
1996
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2208
1997
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2209
1998
|
@instance.post_export(request);
|
@@ -2212,7 +2001,6 @@ describe 'CellsApi' do
|
|
2212
2001
|
|
2213
2002
|
describe 'post_export_bmp_listobject test' do
|
2214
2003
|
it "should work" do
|
2215
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2216
2004
|
book1_xlsx = 'Book1.xlsx'
|
2217
2005
|
|
2218
2006
|
format = "bmp"
|
@@ -2220,7 +2008,6 @@ describe 'CellsApi' do
|
|
2220
2008
|
|
2221
2009
|
|
2222
2010
|
mapFiles = { }
|
2223
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2224
2011
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2225
2012
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2226
2013
|
@instance.post_export(request);
|
@@ -2229,7 +2016,6 @@ describe 'CellsApi' do
|
|
2229
2016
|
|
2230
2017
|
describe 'post_export_md_listobject test' do
|
2231
2018
|
it "should work" do
|
2232
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2233
2019
|
book1_xlsx = 'Book1.xlsx'
|
2234
2020
|
|
2235
2021
|
format = "md"
|
@@ -2237,24 +2023,6 @@ describe 'CellsApi' do
|
|
2237
2023
|
|
2238
2024
|
|
2239
2025
|
mapFiles = { }
|
2240
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2241
|
-
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2242
|
-
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2243
|
-
@instance.post_export(request);
|
2244
|
-
end
|
2245
|
-
end
|
2246
|
-
|
2247
|
-
describe 'post_export_wmf_listobject test' do
|
2248
|
-
it "should work" do
|
2249
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2250
|
-
book1_xlsx = 'Book1.xlsx'
|
2251
|
-
|
2252
|
-
format = "wmf"
|
2253
|
-
object_type = "listobject"
|
2254
|
-
|
2255
|
-
|
2256
|
-
mapFiles = { }
|
2257
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2258
2026
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2259
2027
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2260
2028
|
@instance.post_export(request);
|
@@ -2263,7 +2031,6 @@ describe 'CellsApi' do
|
|
2263
2031
|
|
2264
2032
|
describe 'post_export_svg_listobject test' do
|
2265
2033
|
it "should work" do
|
2266
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2267
2034
|
book1_xlsx = 'Book1.xlsx'
|
2268
2035
|
|
2269
2036
|
format = "svg"
|
@@ -2271,7 +2038,6 @@ describe 'CellsApi' do
|
|
2271
2038
|
|
2272
2039
|
|
2273
2040
|
mapFiles = { }
|
2274
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2275
2041
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2276
2042
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2277
2043
|
@instance.post_export(request);
|
@@ -2280,7 +2046,6 @@ describe 'CellsApi' do
|
|
2280
2046
|
|
2281
2047
|
describe 'post_export_docx_listobject test' do
|
2282
2048
|
it "should work" do
|
2283
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2284
2049
|
book1_xlsx = 'Book1.xlsx'
|
2285
2050
|
|
2286
2051
|
format = "docx"
|
@@ -2288,7 +2053,6 @@ describe 'CellsApi' do
|
|
2288
2053
|
|
2289
2054
|
|
2290
2055
|
mapFiles = { }
|
2291
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2292
2056
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2293
2057
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2294
2058
|
@instance.post_export(request);
|
@@ -2297,7 +2061,6 @@ describe 'CellsApi' do
|
|
2297
2061
|
|
2298
2062
|
describe 'post_export_pptx_listobject test' do
|
2299
2063
|
it "should work" do
|
2300
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2301
2064
|
book1_xlsx = 'Book1.xlsx'
|
2302
2065
|
|
2303
2066
|
format = "pptx"
|
@@ -2305,7 +2068,6 @@ describe 'CellsApi' do
|
|
2305
2068
|
|
2306
2069
|
|
2307
2070
|
mapFiles = { }
|
2308
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2309
2071
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2310
2072
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2311
2073
|
@instance.post_export(request);
|
@@ -2314,7 +2076,6 @@ describe 'CellsApi' do
|
|
2314
2076
|
|
2315
2077
|
describe 'post_export_json_listobject test' do
|
2316
2078
|
it "should work" do
|
2317
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2318
2079
|
book1_xlsx = 'Book1.xlsx'
|
2319
2080
|
|
2320
2081
|
format = "json"
|
@@ -2322,7 +2083,6 @@ describe 'CellsApi' do
|
|
2322
2083
|
|
2323
2084
|
|
2324
2085
|
mapFiles = { }
|
2325
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2326
2086
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2327
2087
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2328
2088
|
@instance.post_export(request);
|
@@ -2331,7 +2091,6 @@ describe 'CellsApi' do
|
|
2331
2091
|
|
2332
2092
|
describe 'post_export_sql_listobject test' do
|
2333
2093
|
it "should work" do
|
2334
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2335
2094
|
book1_xlsx = 'Book1.xlsx'
|
2336
2095
|
|
2337
2096
|
format = "sql"
|
@@ -2339,7 +2098,6 @@ describe 'CellsApi' do
|
|
2339
2098
|
|
2340
2099
|
|
2341
2100
|
mapFiles = { }
|
2342
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2343
2101
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2344
2102
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2345
2103
|
@instance.post_export(request);
|
@@ -2348,7 +2106,6 @@ describe 'CellsApi' do
|
|
2348
2106
|
|
2349
2107
|
describe 'post_export_png_oleobject test' do
|
2350
2108
|
it "should work" do
|
2351
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2352
2109
|
book1_xlsx = 'Book1.xlsx'
|
2353
2110
|
|
2354
2111
|
format = "png"
|
@@ -2356,7 +2113,6 @@ describe 'CellsApi' do
|
|
2356
2113
|
|
2357
2114
|
|
2358
2115
|
mapFiles = { }
|
2359
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2360
2116
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2361
2117
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2362
2118
|
@instance.post_export(request);
|
@@ -2365,7 +2121,6 @@ describe 'CellsApi' do
|
|
2365
2121
|
|
2366
2122
|
describe 'post_export_jpg_oleobject test' do
|
2367
2123
|
it "should work" do
|
2368
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2369
2124
|
book1_xlsx = 'Book1.xlsx'
|
2370
2125
|
|
2371
2126
|
format = "jpg"
|
@@ -2373,7 +2128,6 @@ describe 'CellsApi' do
|
|
2373
2128
|
|
2374
2129
|
|
2375
2130
|
mapFiles = { }
|
2376
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2377
2131
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2378
2132
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2379
2133
|
@instance.post_export(request);
|
@@ -2382,7 +2136,6 @@ describe 'CellsApi' do
|
|
2382
2136
|
|
2383
2137
|
describe 'post_export_gif_oleobject test' do
|
2384
2138
|
it "should work" do
|
2385
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2386
2139
|
book1_xlsx = 'Book1.xlsx'
|
2387
2140
|
|
2388
2141
|
format = "gif"
|
@@ -2390,7 +2143,6 @@ describe 'CellsApi' do
|
|
2390
2143
|
|
2391
2144
|
|
2392
2145
|
mapFiles = { }
|
2393
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2394
2146
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2395
2147
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2396
2148
|
@instance.post_export(request);
|
@@ -2399,7 +2151,6 @@ describe 'CellsApi' do
|
|
2399
2151
|
|
2400
2152
|
describe 'post_export_emf_oleobject test' do
|
2401
2153
|
it "should work" do
|
2402
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2403
2154
|
book1_xlsx = 'Book1.xlsx'
|
2404
2155
|
|
2405
2156
|
format = "emf"
|
@@ -2407,7 +2158,6 @@ describe 'CellsApi' do
|
|
2407
2158
|
|
2408
2159
|
|
2409
2160
|
mapFiles = { }
|
2410
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2411
2161
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2412
2162
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2413
2163
|
@instance.post_export(request);
|
@@ -2416,7 +2166,6 @@ describe 'CellsApi' do
|
|
2416
2166
|
|
2417
2167
|
describe 'post_export_bmp_oleobject test' do
|
2418
2168
|
it "should work" do
|
2419
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2420
2169
|
book1_xlsx = 'Book1.xlsx'
|
2421
2170
|
|
2422
2171
|
format = "bmp"
|
@@ -2424,7 +2173,6 @@ describe 'CellsApi' do
|
|
2424
2173
|
|
2425
2174
|
|
2426
2175
|
mapFiles = { }
|
2427
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2428
2176
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2429
2177
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2430
2178
|
@instance.post_export(request);
|
@@ -2433,14 +2181,12 @@ describe 'CellsApi' do
|
|
2433
2181
|
|
2434
2182
|
describe 'post_compress_50 test' do
|
2435
2183
|
it "should work" do
|
2436
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2437
2184
|
data_source_xlsx = 'datasource.xlsx'
|
2438
2185
|
|
2439
2186
|
compress_level = 50
|
2440
2187
|
|
2441
2188
|
|
2442
2189
|
mapFiles = { }
|
2443
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2444
2190
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2445
2191
|
request = AsposeCellsCloud::PostCompressRequest.new(:File=>mapFiles,:CompressLevel=>compress_level);
|
2446
2192
|
@instance.post_compress(request);
|
@@ -2449,14 +2195,12 @@ describe 'CellsApi' do
|
|
2449
2195
|
|
2450
2196
|
describe 'post_compress_90 test' do
|
2451
2197
|
it "should work" do
|
2452
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2453
2198
|
data_source_xlsx = 'datasource.xlsx'
|
2454
2199
|
|
2455
2200
|
compress_level = 90
|
2456
2201
|
|
2457
2202
|
|
2458
2203
|
mapFiles = { }
|
2459
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2460
2204
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2461
2205
|
request = AsposeCellsCloud::PostCompressRequest.new(:File=>mapFiles,:CompressLevel=>compress_level);
|
2462
2206
|
@instance.post_compress(request);
|
@@ -2934,16 +2678,26 @@ describe 'CellsApi' do
|
|
2934
2678
|
end
|
2935
2679
|
end
|
2936
2680
|
|
2681
|
+
describe 'post_lock test' do
|
2682
|
+
it "should work" do
|
2683
|
+
needlock_xlsx = 'needlock.xlsx'
|
2684
|
+
|
2685
|
+
|
2686
|
+
mapFiles = { }
|
2687
|
+
mapFiles[needlock_xlsx]= ::File.open(File.expand_path("TestData/"+needlock_xlsx),"r")
|
2688
|
+
request = AsposeCellsCloud::PostLockRequest.new(:File=>mapFiles,:password=>'123456');
|
2689
|
+
@instance.post_lock(request);
|
2690
|
+
end
|
2691
|
+
end
|
2692
|
+
|
2937
2693
|
describe 'post_protect test' do
|
2938
2694
|
it "should work" do
|
2939
2695
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
2940
|
-
data_source_xlsx = 'datasource.xlsx'
|
2941
2696
|
|
2942
2697
|
|
2943
2698
|
mapFiles = { }
|
2944
2699
|
protectWorkbookRequest = AsposeCellsCloud::ProtectWorkbookRequest.new(:AwaysOpenReadOnly=>true ,:EncryptWithPassword=>'123456' );
|
2945
2700
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2946
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2947
2701
|
request = AsposeCellsCloud::PostProtectRequest.new(:File=>mapFiles,:protectWorkbookRequest=>protectWorkbookRequest,:password=>'123456');
|
2948
2702
|
@instance.post_protect(request);
|
2949
2703
|
end
|
@@ -2951,13 +2705,11 @@ describe 'CellsApi' do
|
|
2951
2705
|
|
2952
2706
|
describe 'post_protect__protect_workbook_request test' do
|
2953
2707
|
it "should work" do
|
2954
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2955
2708
|
data_source_xlsx = 'datasource.xlsx'
|
2956
2709
|
|
2957
2710
|
|
2958
2711
|
mapFiles = { }
|
2959
2712
|
protectWorkbookRequest = AsposeCellsCloud::ProtectWorkbookRequest.new(:AwaysOpenReadOnly=>true ,:EncryptWithPassword=>'123456' );
|
2960
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2961
2713
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2962
2714
|
request = AsposeCellsCloud::PostProtectRequest.new(:File=>mapFiles,:protectWorkbookRequest=>protectWorkbookRequest);
|
2963
2715
|
@instance.post_protect(request);
|
@@ -2966,12 +2718,10 @@ describe 'CellsApi' do
|
|
2966
2718
|
|
2967
2719
|
describe 'post_search test' do
|
2968
2720
|
it "should work" do
|
2969
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2970
2721
|
data_source_xlsx = 'datasource.xlsx'
|
2971
2722
|
|
2972
2723
|
|
2973
2724
|
mapFiles = { }
|
2974
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2975
2725
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2976
2726
|
request = AsposeCellsCloud::PostSearchRequest.new(:File=>mapFiles,:text=>'12');
|
2977
2727
|
@instance.post_search(request);
|
@@ -2980,12 +2730,10 @@ describe 'CellsApi' do
|
|
2980
2730
|
|
2981
2731
|
describe 'post_replace test' do
|
2982
2732
|
it "should work" do
|
2983
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2984
2733
|
data_source_xlsx = 'datasource.xlsx'
|
2985
2734
|
|
2986
2735
|
|
2987
2736
|
mapFiles = { }
|
2988
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2989
2737
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2990
2738
|
request = AsposeCellsCloud::PostReplaceRequest.new(:File=>mapFiles,:text=>'12',:newtext=>'newtext');
|
2991
2739
|
@instance.post_replace(request);
|
@@ -2994,12 +2742,10 @@ describe 'CellsApi' do
|
|
2994
2742
|
|
2995
2743
|
describe 'post_replace_only_sheetname test' do
|
2996
2744
|
it "should work" do
|
2997
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2998
2745
|
data_source_xlsx = 'datasource.xlsx'
|
2999
2746
|
|
3000
2747
|
|
3001
2748
|
mapFiles = { }
|
3002
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3003
2749
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3004
2750
|
request = AsposeCellsCloud::PostReplaceRequest.new(:File=>mapFiles,:text=>'12',:newtext=>'newtext',:sheetname=>'Sheet1');
|
3005
2751
|
@instance.post_replace(request);
|
@@ -3008,12 +2754,10 @@ describe 'CellsApi' do
|
|
3008
2754
|
|
3009
2755
|
describe 'post_watermark test' do
|
3010
2756
|
it "should work" do
|
3011
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
3012
2757
|
data_source_xlsx = 'datasource.xlsx'
|
3013
2758
|
|
3014
2759
|
|
3015
2760
|
mapFiles = { }
|
3016
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3017
2761
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3018
2762
|
request = AsposeCellsCloud::PostWatermarkRequest.new(:File=>mapFiles,:text=>'aspose.cells cloud sdk',:color=>'#773322');
|
3019
2763
|
@instance.post_watermark(request);
|
@@ -3023,14 +2767,12 @@ describe 'CellsApi' do
|
|
3023
2767
|
describe 'post_clear_objects_chart test' do
|
3024
2768
|
it "should work" do
|
3025
2769
|
book1_xlsx = 'Book1.xlsx'
|
3026
|
-
data_source_xlsx = 'datasource.xlsx'
|
3027
2770
|
|
3028
2771
|
objecttype = "chart"
|
3029
2772
|
|
3030
2773
|
|
3031
2774
|
mapFiles = { }
|
3032
2775
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3033
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3034
2776
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3035
2777
|
@instance.post_clear_objects(request);
|
3036
2778
|
end
|
@@ -3039,14 +2781,12 @@ describe 'CellsApi' do
|
|
3039
2781
|
describe 'post_clear_objects_comment test' do
|
3040
2782
|
it "should work" do
|
3041
2783
|
book1_xlsx = 'Book1.xlsx'
|
3042
|
-
data_source_xlsx = 'datasource.xlsx'
|
3043
2784
|
|
3044
2785
|
objecttype = "comment"
|
3045
2786
|
|
3046
2787
|
|
3047
2788
|
mapFiles = { }
|
3048
2789
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3049
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3050
2790
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3051
2791
|
@instance.post_clear_objects(request);
|
3052
2792
|
end
|
@@ -3055,14 +2795,12 @@ describe 'CellsApi' do
|
|
3055
2795
|
describe 'post_clear_objects_picture test' do
|
3056
2796
|
it "should work" do
|
3057
2797
|
book1_xlsx = 'Book1.xlsx'
|
3058
|
-
data_source_xlsx = 'datasource.xlsx'
|
3059
2798
|
|
3060
2799
|
objecttype = "picture"
|
3061
2800
|
|
3062
2801
|
|
3063
2802
|
mapFiles = { }
|
3064
2803
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3065
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3066
2804
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3067
2805
|
@instance.post_clear_objects(request);
|
3068
2806
|
end
|
@@ -3071,14 +2809,12 @@ describe 'CellsApi' do
|
|
3071
2809
|
describe 'post_clear_objects_shape test' do
|
3072
2810
|
it "should work" do
|
3073
2811
|
book1_xlsx = 'Book1.xlsx'
|
3074
|
-
data_source_xlsx = 'datasource.xlsx'
|
3075
2812
|
|
3076
2813
|
objecttype = "shape"
|
3077
2814
|
|
3078
2815
|
|
3079
2816
|
mapFiles = { }
|
3080
2817
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3081
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3082
2818
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3083
2819
|
@instance.post_clear_objects(request);
|
3084
2820
|
end
|
@@ -3087,14 +2823,12 @@ describe 'CellsApi' do
|
|
3087
2823
|
describe 'post_clear_objects_listobject test' do
|
3088
2824
|
it "should work" do
|
3089
2825
|
book1_xlsx = 'Book1.xlsx'
|
3090
|
-
data_source_xlsx = 'datasource.xlsx'
|
3091
2826
|
|
3092
2827
|
objecttype = "listobject"
|
3093
2828
|
|
3094
2829
|
|
3095
2830
|
mapFiles = { }
|
3096
2831
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3097
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3098
2832
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3099
2833
|
@instance.post_clear_objects(request);
|
3100
2834
|
end
|
@@ -3103,14 +2837,12 @@ describe 'CellsApi' do
|
|
3103
2837
|
describe 'post_clear_objects_hyperlink test' do
|
3104
2838
|
it "should work" do
|
3105
2839
|
book1_xlsx = 'Book1.xlsx'
|
3106
|
-
data_source_xlsx = 'datasource.xlsx'
|
3107
2840
|
|
3108
2841
|
objecttype = "hyperlink"
|
3109
2842
|
|
3110
2843
|
|
3111
2844
|
mapFiles = { }
|
3112
2845
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3113
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3114
2846
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3115
2847
|
@instance.post_clear_objects(request);
|
3116
2848
|
end
|
@@ -3119,14 +2851,12 @@ describe 'CellsApi' do
|
|
3119
2851
|
describe 'post_clear_objects_oleobject test' do
|
3120
2852
|
it "should work" do
|
3121
2853
|
book1_xlsx = 'Book1.xlsx'
|
3122
|
-
data_source_xlsx = 'datasource.xlsx'
|
3123
2854
|
|
3124
2855
|
objecttype = "oleobject"
|
3125
2856
|
|
3126
2857
|
|
3127
2858
|
mapFiles = { }
|
3128
2859
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3129
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3130
2860
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3131
2861
|
@instance.post_clear_objects(request);
|
3132
2862
|
end
|
@@ -3135,14 +2865,12 @@ describe 'CellsApi' do
|
|
3135
2865
|
describe 'post_clear_objects_pivottable test' do
|
3136
2866
|
it "should work" do
|
3137
2867
|
book1_xlsx = 'Book1.xlsx'
|
3138
|
-
data_source_xlsx = 'datasource.xlsx'
|
3139
2868
|
|
3140
2869
|
objecttype = "pivottable"
|
3141
2870
|
|
3142
2871
|
|
3143
2872
|
mapFiles = { }
|
3144
2873
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3145
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3146
2874
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3147
2875
|
@instance.post_clear_objects(request);
|
3148
2876
|
end
|
@@ -3151,14 +2879,12 @@ describe 'CellsApi' do
|
|
3151
2879
|
describe 'post_clear_objects_validation test' do
|
3152
2880
|
it "should work" do
|
3153
2881
|
book1_xlsx = 'Book1.xlsx'
|
3154
|
-
data_source_xlsx = 'datasource.xlsx'
|
3155
2882
|
|
3156
2883
|
objecttype = "validation"
|
3157
2884
|
|
3158
2885
|
|
3159
2886
|
mapFiles = { }
|
3160
2887
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3161
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3162
2888
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3163
2889
|
@instance.post_clear_objects(request);
|
3164
2890
|
end
|
@@ -3167,14 +2893,12 @@ describe 'CellsApi' do
|
|
3167
2893
|
describe 'post_clear_objects__background test' do
|
3168
2894
|
it "should work" do
|
3169
2895
|
book1_xlsx = 'Book1.xlsx'
|
3170
|
-
data_source_xlsx = 'datasource.xlsx'
|
3171
2896
|
|
3172
2897
|
objecttype = "Background"
|
3173
2898
|
|
3174
2899
|
|
3175
2900
|
mapFiles = { }
|
3176
2901
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3177
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3178
2902
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3179
2903
|
@instance.post_clear_objects(request);
|
3180
2904
|
end
|