aspose_cells_cloud 25.2 → 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 -62
- data/lib/aspose_cells_cloud/api/cells_api.rb +66 -0
- data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
- data/lib/aspose_cells_cloud/models/charts.rb +1 -1
- data/lib/aspose_cells_cloud/models/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/models/convert_workbook_options.rb +282 -0
- data/lib/aspose_cells_cloud/models/data_cleansing.rb +1 -1
- data/lib/aspose_cells_cloud/models/dif_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/docx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/files_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/html_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/image_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/json_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/m_html_save_options.rb +392 -8
- data/lib/aspose_cells_cloud/models/markdown_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/ods_save_options.rb +100 -4
- data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/page_sections_response.rb +1 -1
- data/lib/aspose_cells_cloud/models/paginated_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/pdf_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/pptx_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
- data/lib/aspose_cells_cloud/models/save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/shapes.rb +1 -1
- data/lib/aspose_cells_cloud/models/specify_cells_object.rb +234 -0
- data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/styles.rb +1 -1
- data/lib/aspose_cells_cloud/models/styles_response.rb +234 -0
- data/lib/aspose_cells_cloud/models/svg_save_options.rb +208 -4
- data/lib/aspose_cells_cloud/models/txt_save_options.rb +64 -4
- data/lib/aspose_cells_cloud/models/workbook.rb +1 -1
- data/lib/aspose_cells_cloud/models/xls_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +88 -4
- data/lib/aspose_cells_cloud/models/xps_save_options.rb +28 -4
- data/lib/aspose_cells_cloud/requests/add_picture_in_cell_request.rb +149 -0
- data/lib/aspose_cells_cloud/requests/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_all_styles_request.rb +117 -0
- data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
- data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +111 -0
- 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/post_worksheet_cells_range_to_image_request.rb +1 -1
- 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 +12 -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 -22
- data/spec/conversion/conversion_png_spec.rb +0 -22
- data/spec/conversion/conversion_spec.rb +18 -104
- data/spec/document/light_cells_spec.rb +54 -428
- data/spec/spec_helper.rb +3 -3
- metadata +14 -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,31 +209,13 @@ 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")
|
249
|
-
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
250
|
-
@instance.post_split(request);
|
251
|
-
end
|
252
|
-
end
|
253
|
-
|
254
|
-
describe 'post_split_numbers test' do
|
255
|
-
it "should work" do
|
256
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
257
|
-
data_source_xlsx = 'datasource.xlsx'
|
258
|
-
|
259
|
-
out_format = "numbers"
|
260
|
-
|
261
|
-
|
262
|
-
mapFiles = { }
|
263
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
264
|
-
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")
|
265
219
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
266
220
|
@instance.post_split(request);
|
267
221
|
end
|
@@ -269,15 +223,13 @@ describe 'CellsApi' do
|
|
269
223
|
|
270
224
|
describe 'post_split_svg test' do
|
271
225
|
it "should work" do
|
272
|
-
|
273
|
-
data_source_xlsx = 'datasource.xlsx'
|
226
|
+
book1_xlsx = 'Book1.xlsx'
|
274
227
|
|
275
228
|
out_format = "svg"
|
276
229
|
|
277
230
|
|
278
231
|
mapFiles = { }
|
279
|
-
mapFiles[
|
280
|
-
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")
|
281
233
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
282
234
|
@instance.post_split(request);
|
283
235
|
end
|
@@ -285,15 +237,13 @@ describe 'CellsApi' do
|
|
285
237
|
|
286
238
|
describe 'post_split_docx test' do
|
287
239
|
it "should work" do
|
288
|
-
|
289
|
-
data_source_xlsx = 'datasource.xlsx'
|
240
|
+
book1_xlsx = 'Book1.xlsx'
|
290
241
|
|
291
242
|
out_format = "docx"
|
292
243
|
|
293
244
|
|
294
245
|
mapFiles = { }
|
295
|
-
mapFiles[
|
296
|
-
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")
|
297
247
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
298
248
|
@instance.post_split(request);
|
299
249
|
end
|
@@ -301,15 +251,13 @@ describe 'CellsApi' do
|
|
301
251
|
|
302
252
|
describe 'post_split_pptx test' do
|
303
253
|
it "should work" do
|
304
|
-
|
305
|
-
data_source_xlsx = 'datasource.xlsx'
|
254
|
+
book1_xlsx = 'Book1.xlsx'
|
306
255
|
|
307
256
|
out_format = "pptx"
|
308
257
|
|
309
258
|
|
310
259
|
mapFiles = { }
|
311
|
-
mapFiles[
|
312
|
-
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")
|
313
261
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
314
262
|
@instance.post_split(request);
|
315
263
|
end
|
@@ -317,15 +265,13 @@ describe 'CellsApi' do
|
|
317
265
|
|
318
266
|
describe 'post_split_json test' do
|
319
267
|
it "should work" do
|
320
|
-
|
321
|
-
data_source_xlsx = 'datasource.xlsx'
|
268
|
+
book1_xlsx = 'Book1.xlsx'
|
322
269
|
|
323
270
|
out_format = "json"
|
324
271
|
|
325
272
|
|
326
273
|
mapFiles = { }
|
327
|
-
mapFiles[
|
328
|
-
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")
|
329
275
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
330
276
|
@instance.post_split(request);
|
331
277
|
end
|
@@ -333,15 +279,13 @@ describe 'CellsApi' do
|
|
333
279
|
|
334
280
|
describe 'post_split_sql test' do
|
335
281
|
it "should work" do
|
336
|
-
|
337
|
-
data_source_xlsx = 'datasource.xlsx'
|
282
|
+
book1_xlsx = 'Book1.xlsx'
|
338
283
|
|
339
284
|
out_format = "sql"
|
340
285
|
|
341
286
|
|
342
287
|
mapFiles = { }
|
343
|
-
mapFiles[
|
344
|
-
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")
|
345
289
|
request = AsposeCellsCloud::PostSplitRequest.new(:File=>mapFiles,:outFormat=>out_format);
|
346
290
|
@instance.post_split(request);
|
347
291
|
end
|
@@ -683,22 +627,6 @@ describe 'CellsApi' do
|
|
683
627
|
end
|
684
628
|
end
|
685
629
|
|
686
|
-
describe 'post_assemble_numbers test' do
|
687
|
-
it "should work" do
|
688
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
689
|
-
data_source_xlsx = 'datasource.xlsx'
|
690
|
-
|
691
|
-
format = "numbers"
|
692
|
-
|
693
|
-
|
694
|
-
mapFiles = { }
|
695
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
696
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
697
|
-
request = AsposeCellsCloud::PostAssembleRequest.new(:File=>mapFiles,:datasource=>'ds',:outFormat=>format);
|
698
|
-
@instance.post_assemble(request);
|
699
|
-
end
|
700
|
-
end
|
701
|
-
|
702
630
|
describe 'post_assemble_wmf test' do
|
703
631
|
it "should work" do
|
704
632
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
@@ -797,7 +725,6 @@ describe 'CellsApi' do
|
|
797
725
|
|
798
726
|
describe 'post_export_csv_workbook test' do
|
799
727
|
it "should work" do
|
800
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
801
728
|
book1_xlsx = 'Book1.xlsx'
|
802
729
|
|
803
730
|
format = "csv"
|
@@ -805,7 +732,6 @@ describe 'CellsApi' do
|
|
805
732
|
|
806
733
|
|
807
734
|
mapFiles = { }
|
808
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
809
735
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
810
736
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
811
737
|
@instance.post_export(request);
|
@@ -814,7 +740,6 @@ describe 'CellsApi' do
|
|
814
740
|
|
815
741
|
describe 'post_export_xls_workbook test' do
|
816
742
|
it "should work" do
|
817
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
818
743
|
book1_xlsx = 'Book1.xlsx'
|
819
744
|
|
820
745
|
format = "xls"
|
@@ -822,7 +747,6 @@ describe 'CellsApi' do
|
|
822
747
|
|
823
748
|
|
824
749
|
mapFiles = { }
|
825
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
826
750
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
827
751
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
828
752
|
@instance.post_export(request);
|
@@ -831,7 +755,6 @@ describe 'CellsApi' do
|
|
831
755
|
|
832
756
|
describe 'post_export_html_workbook test' do
|
833
757
|
it "should work" do
|
834
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
835
758
|
book1_xlsx = 'Book1.xlsx'
|
836
759
|
|
837
760
|
format = "html"
|
@@ -839,7 +762,6 @@ describe 'CellsApi' do
|
|
839
762
|
|
840
763
|
|
841
764
|
mapFiles = { }
|
842
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
843
765
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
844
766
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
845
767
|
@instance.post_export(request);
|
@@ -848,7 +770,6 @@ describe 'CellsApi' do
|
|
848
770
|
|
849
771
|
describe 'post_export_mhtml_workbook test' do
|
850
772
|
it "should work" do
|
851
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
852
773
|
book1_xlsx = 'Book1.xlsx'
|
853
774
|
|
854
775
|
format = "mhtml"
|
@@ -856,7 +777,6 @@ describe 'CellsApi' do
|
|
856
777
|
|
857
778
|
|
858
779
|
mapFiles = { }
|
859
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
860
780
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
861
781
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
862
782
|
@instance.post_export(request);
|
@@ -865,7 +785,6 @@ describe 'CellsApi' do
|
|
865
785
|
|
866
786
|
describe 'post_export_ods_workbook test' do
|
867
787
|
it "should work" do
|
868
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
869
788
|
book1_xlsx = 'Book1.xlsx'
|
870
789
|
|
871
790
|
format = "ods"
|
@@ -873,7 +792,6 @@ describe 'CellsApi' do
|
|
873
792
|
|
874
793
|
|
875
794
|
mapFiles = { }
|
876
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
877
795
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
878
796
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
879
797
|
@instance.post_export(request);
|
@@ -882,7 +800,6 @@ describe 'CellsApi' do
|
|
882
800
|
|
883
801
|
describe 'post_export_pdf_workbook test' do
|
884
802
|
it "should work" do
|
885
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
886
803
|
book1_xlsx = 'Book1.xlsx'
|
887
804
|
|
888
805
|
format = "pdf"
|
@@ -890,7 +807,6 @@ describe 'CellsApi' do
|
|
890
807
|
|
891
808
|
|
892
809
|
mapFiles = { }
|
893
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
894
810
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
895
811
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
896
812
|
@instance.post_export(request);
|
@@ -899,7 +815,6 @@ describe 'CellsApi' do
|
|
899
815
|
|
900
816
|
describe 'post_export_xml_workbook test' do
|
901
817
|
it "should work" do
|
902
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
903
818
|
book1_xlsx = 'Book1.xlsx'
|
904
819
|
|
905
820
|
format = "xml"
|
@@ -907,7 +822,6 @@ describe 'CellsApi' do
|
|
907
822
|
|
908
823
|
|
909
824
|
mapFiles = { }
|
910
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
911
825
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
912
826
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
913
827
|
@instance.post_export(request);
|
@@ -916,7 +830,6 @@ describe 'CellsApi' do
|
|
916
830
|
|
917
831
|
describe 'post_export_txt_workbook test' do
|
918
832
|
it "should work" do
|
919
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
920
833
|
book1_xlsx = 'Book1.xlsx'
|
921
834
|
|
922
835
|
format = "txt"
|
@@ -924,7 +837,6 @@ describe 'CellsApi' do
|
|
924
837
|
|
925
838
|
|
926
839
|
mapFiles = { }
|
927
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
928
840
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
929
841
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
930
842
|
@instance.post_export(request);
|
@@ -933,7 +845,6 @@ describe 'CellsApi' do
|
|
933
845
|
|
934
846
|
describe 'post_export_tif_workbook test' do
|
935
847
|
it "should work" do
|
936
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
937
848
|
book1_xlsx = 'Book1.xlsx'
|
938
849
|
|
939
850
|
format = "tif"
|
@@ -941,7 +852,6 @@ describe 'CellsApi' do
|
|
941
852
|
|
942
853
|
|
943
854
|
mapFiles = { }
|
944
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
945
855
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
946
856
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
947
857
|
@instance.post_export(request);
|
@@ -950,7 +860,6 @@ describe 'CellsApi' do
|
|
950
860
|
|
951
861
|
describe 'post_export_xlsb_workbook test' do
|
952
862
|
it "should work" do
|
953
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
954
863
|
book1_xlsx = 'Book1.xlsx'
|
955
864
|
|
956
865
|
format = "xlsb"
|
@@ -958,7 +867,6 @@ describe 'CellsApi' do
|
|
958
867
|
|
959
868
|
|
960
869
|
mapFiles = { }
|
961
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
962
870
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
963
871
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
964
872
|
@instance.post_export(request);
|
@@ -967,7 +875,6 @@ describe 'CellsApi' do
|
|
967
875
|
|
968
876
|
describe 'post_export_xlsm_workbook test' do
|
969
877
|
it "should work" do
|
970
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
971
878
|
book1_xlsx = 'Book1.xlsx'
|
972
879
|
|
973
880
|
format = "xlsm"
|
@@ -975,7 +882,6 @@ describe 'CellsApi' do
|
|
975
882
|
|
976
883
|
|
977
884
|
mapFiles = { }
|
978
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
979
885
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
980
886
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
981
887
|
@instance.post_export(request);
|
@@ -984,7 +890,6 @@ describe 'CellsApi' do
|
|
984
890
|
|
985
891
|
describe 'post_export_xlsx_workbook test' do
|
986
892
|
it "should work" do
|
987
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
988
893
|
book1_xlsx = 'Book1.xlsx'
|
989
894
|
|
990
895
|
format = "xlsx"
|
@@ -992,7 +897,6 @@ describe 'CellsApi' do
|
|
992
897
|
|
993
898
|
|
994
899
|
mapFiles = { }
|
995
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
996
900
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
997
901
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
998
902
|
@instance.post_export(request);
|
@@ -1001,7 +905,6 @@ describe 'CellsApi' do
|
|
1001
905
|
|
1002
906
|
describe 'post_export_xltm_workbook test' do
|
1003
907
|
it "should work" do
|
1004
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1005
908
|
book1_xlsx = 'Book1.xlsx'
|
1006
909
|
|
1007
910
|
format = "xltm"
|
@@ -1009,7 +912,6 @@ describe 'CellsApi' do
|
|
1009
912
|
|
1010
913
|
|
1011
914
|
mapFiles = { }
|
1012
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1013
915
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1014
916
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1015
917
|
@instance.post_export(request);
|
@@ -1018,7 +920,6 @@ describe 'CellsApi' do
|
|
1018
920
|
|
1019
921
|
describe 'post_export_xltx_workbook test' do
|
1020
922
|
it "should work" do
|
1021
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1022
923
|
book1_xlsx = 'Book1.xlsx'
|
1023
924
|
|
1024
925
|
format = "xltx"
|
@@ -1026,7 +927,6 @@ describe 'CellsApi' do
|
|
1026
927
|
|
1027
928
|
|
1028
929
|
mapFiles = { }
|
1029
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1030
930
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1031
931
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1032
932
|
@instance.post_export(request);
|
@@ -1035,7 +935,6 @@ describe 'CellsApi' do
|
|
1035
935
|
|
1036
936
|
describe 'post_export_xps_workbook test' do
|
1037
937
|
it "should work" do
|
1038
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1039
938
|
book1_xlsx = 'Book1.xlsx'
|
1040
939
|
|
1041
940
|
format = "xps"
|
@@ -1043,7 +942,6 @@ describe 'CellsApi' do
|
|
1043
942
|
|
1044
943
|
|
1045
944
|
mapFiles = { }
|
1046
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1047
945
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1048
946
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1049
947
|
@instance.post_export(request);
|
@@ -1052,7 +950,6 @@ describe 'CellsApi' do
|
|
1052
950
|
|
1053
951
|
describe 'post_export_png_workbook test' do
|
1054
952
|
it "should work" do
|
1055
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1056
953
|
book1_xlsx = 'Book1.xlsx'
|
1057
954
|
|
1058
955
|
format = "png"
|
@@ -1060,7 +957,6 @@ describe 'CellsApi' do
|
|
1060
957
|
|
1061
958
|
|
1062
959
|
mapFiles = { }
|
1063
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1064
960
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1065
961
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1066
962
|
@instance.post_export(request);
|
@@ -1069,7 +965,6 @@ describe 'CellsApi' do
|
|
1069
965
|
|
1070
966
|
describe 'post_export_jpg_workbook test' do
|
1071
967
|
it "should work" do
|
1072
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1073
968
|
book1_xlsx = 'Book1.xlsx'
|
1074
969
|
|
1075
970
|
format = "jpg"
|
@@ -1077,7 +972,6 @@ describe 'CellsApi' do
|
|
1077
972
|
|
1078
973
|
|
1079
974
|
mapFiles = { }
|
1080
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1081
975
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1082
976
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1083
977
|
@instance.post_export(request);
|
@@ -1086,7 +980,6 @@ describe 'CellsApi' do
|
|
1086
980
|
|
1087
981
|
describe 'post_export_gif_workbook test' do
|
1088
982
|
it "should work" do
|
1089
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1090
983
|
book1_xlsx = 'Book1.xlsx'
|
1091
984
|
|
1092
985
|
format = "gif"
|
@@ -1094,7 +987,6 @@ describe 'CellsApi' do
|
|
1094
987
|
|
1095
988
|
|
1096
989
|
mapFiles = { }
|
1097
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1098
990
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1099
991
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1100
992
|
@instance.post_export(request);
|
@@ -1103,7 +995,6 @@ describe 'CellsApi' do
|
|
1103
995
|
|
1104
996
|
describe 'post_export_emf_workbook test' do
|
1105
997
|
it "should work" do
|
1106
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1107
998
|
book1_xlsx = 'Book1.xlsx'
|
1108
999
|
|
1109
1000
|
format = "emf"
|
@@ -1111,7 +1002,6 @@ describe 'CellsApi' do
|
|
1111
1002
|
|
1112
1003
|
|
1113
1004
|
mapFiles = { }
|
1114
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1115
1005
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1116
1006
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1117
1007
|
@instance.post_export(request);
|
@@ -1120,7 +1010,6 @@ describe 'CellsApi' do
|
|
1120
1010
|
|
1121
1011
|
describe 'post_export_bmp_workbook test' do
|
1122
1012
|
it "should work" do
|
1123
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1124
1013
|
book1_xlsx = 'Book1.xlsx'
|
1125
1014
|
|
1126
1015
|
format = "bmp"
|
@@ -1128,7 +1017,6 @@ describe 'CellsApi' do
|
|
1128
1017
|
|
1129
1018
|
|
1130
1019
|
mapFiles = { }
|
1131
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1132
1020
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1133
1021
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1134
1022
|
@instance.post_export(request);
|
@@ -1137,7 +1025,6 @@ describe 'CellsApi' do
|
|
1137
1025
|
|
1138
1026
|
describe 'post_export_md_workbook test' do
|
1139
1027
|
it "should work" do
|
1140
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1141
1028
|
book1_xlsx = 'Book1.xlsx'
|
1142
1029
|
|
1143
1030
|
format = "md"
|
@@ -1145,33 +1032,15 @@ describe 'CellsApi' do
|
|
1145
1032
|
|
1146
1033
|
|
1147
1034
|
mapFiles = { }
|
1148
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1149
|
-
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1150
|
-
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1151
|
-
@instance.post_export(request);
|
1152
|
-
end
|
1153
|
-
end
|
1154
|
-
|
1155
|
-
describe 'post_export_numbers_workbook test' do
|
1156
|
-
it "should work" do
|
1157
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1158
|
-
book1_xlsx = 'Book1.xlsx'
|
1159
|
-
|
1160
|
-
format = "numbers"
|
1161
|
-
object_type = "workbook"
|
1162
|
-
|
1163
|
-
|
1164
|
-
mapFiles = { }
|
1165
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1166
1035
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1167
1036
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1168
1037
|
@instance.post_export(request);
|
1169
1038
|
end
|
1170
1039
|
end
|
1171
1040
|
|
1041
|
+
|
1172
1042
|
describe 'post_export_wmf_workbook test' do
|
1173
1043
|
it "should work" do
|
1174
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1175
1044
|
book1_xlsx = 'Book1.xlsx'
|
1176
1045
|
|
1177
1046
|
format = "wmf"
|
@@ -1179,7 +1048,6 @@ describe 'CellsApi' do
|
|
1179
1048
|
|
1180
1049
|
|
1181
1050
|
mapFiles = { }
|
1182
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1183
1051
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1184
1052
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1185
1053
|
@instance.post_export(request);
|
@@ -1188,7 +1056,6 @@ describe 'CellsApi' do
|
|
1188
1056
|
|
1189
1057
|
describe 'post_export_svg_workbook test' do
|
1190
1058
|
it "should work" do
|
1191
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1192
1059
|
book1_xlsx = 'Book1.xlsx'
|
1193
1060
|
|
1194
1061
|
format = "svg"
|
@@ -1196,7 +1063,6 @@ describe 'CellsApi' do
|
|
1196
1063
|
|
1197
1064
|
|
1198
1065
|
mapFiles = { }
|
1199
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1200
1066
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1201
1067
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1202
1068
|
@instance.post_export(request);
|
@@ -1205,7 +1071,6 @@ describe 'CellsApi' do
|
|
1205
1071
|
|
1206
1072
|
describe 'post_export_docx_workbook test' do
|
1207
1073
|
it "should work" do
|
1208
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1209
1074
|
book1_xlsx = 'Book1.xlsx'
|
1210
1075
|
|
1211
1076
|
format = "docx"
|
@@ -1213,7 +1078,6 @@ describe 'CellsApi' do
|
|
1213
1078
|
|
1214
1079
|
|
1215
1080
|
mapFiles = { }
|
1216
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1217
1081
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1218
1082
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1219
1083
|
@instance.post_export(request);
|
@@ -1222,7 +1086,6 @@ describe 'CellsApi' do
|
|
1222
1086
|
|
1223
1087
|
describe 'post_export_pptx_workbook test' do
|
1224
1088
|
it "should work" do
|
1225
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1226
1089
|
book1_xlsx = 'Book1.xlsx'
|
1227
1090
|
|
1228
1091
|
format = "pptx"
|
@@ -1230,7 +1093,6 @@ describe 'CellsApi' do
|
|
1230
1093
|
|
1231
1094
|
|
1232
1095
|
mapFiles = { }
|
1233
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1234
1096
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1235
1097
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1236
1098
|
@instance.post_export(request);
|
@@ -1239,7 +1101,6 @@ describe 'CellsApi' do
|
|
1239
1101
|
|
1240
1102
|
describe 'post_export_json_workbook test' do
|
1241
1103
|
it "should work" do
|
1242
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1243
1104
|
book1_xlsx = 'Book1.xlsx'
|
1244
1105
|
|
1245
1106
|
format = "json"
|
@@ -1247,7 +1108,6 @@ describe 'CellsApi' do
|
|
1247
1108
|
|
1248
1109
|
|
1249
1110
|
mapFiles = { }
|
1250
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1251
1111
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1252
1112
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1253
1113
|
@instance.post_export(request);
|
@@ -1256,7 +1116,6 @@ describe 'CellsApi' do
|
|
1256
1116
|
|
1257
1117
|
describe 'post_export_sql_workbook test' do
|
1258
1118
|
it "should work" do
|
1259
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1260
1119
|
book1_xlsx = 'Book1.xlsx'
|
1261
1120
|
|
1262
1121
|
format = "sql"
|
@@ -1264,7 +1123,6 @@ describe 'CellsApi' do
|
|
1264
1123
|
|
1265
1124
|
|
1266
1125
|
mapFiles = { }
|
1267
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1268
1126
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1269
1127
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1270
1128
|
@instance.post_export(request);
|
@@ -1273,7 +1131,6 @@ describe 'CellsApi' do
|
|
1273
1131
|
|
1274
1132
|
describe 'post_export_csv_worksheet test' do
|
1275
1133
|
it "should work" do
|
1276
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1277
1134
|
book1_xlsx = 'Book1.xlsx'
|
1278
1135
|
|
1279
1136
|
format = "csv"
|
@@ -1281,7 +1138,6 @@ describe 'CellsApi' do
|
|
1281
1138
|
|
1282
1139
|
|
1283
1140
|
mapFiles = { }
|
1284
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1285
1141
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1286
1142
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1287
1143
|
@instance.post_export(request);
|
@@ -1290,7 +1146,6 @@ describe 'CellsApi' do
|
|
1290
1146
|
|
1291
1147
|
describe 'post_export_xls_worksheet test' do
|
1292
1148
|
it "should work" do
|
1293
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1294
1149
|
book1_xlsx = 'Book1.xlsx'
|
1295
1150
|
|
1296
1151
|
format = "xls"
|
@@ -1298,7 +1153,6 @@ describe 'CellsApi' do
|
|
1298
1153
|
|
1299
1154
|
|
1300
1155
|
mapFiles = { }
|
1301
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1302
1156
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1303
1157
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1304
1158
|
@instance.post_export(request);
|
@@ -1307,7 +1161,6 @@ describe 'CellsApi' do
|
|
1307
1161
|
|
1308
1162
|
describe 'post_export_html_worksheet test' do
|
1309
1163
|
it "should work" do
|
1310
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1311
1164
|
book1_xlsx = 'Book1.xlsx'
|
1312
1165
|
|
1313
1166
|
format = "html"
|
@@ -1315,7 +1168,6 @@ describe 'CellsApi' do
|
|
1315
1168
|
|
1316
1169
|
|
1317
1170
|
mapFiles = { }
|
1318
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1319
1171
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1320
1172
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1321
1173
|
@instance.post_export(request);
|
@@ -1324,7 +1176,6 @@ describe 'CellsApi' do
|
|
1324
1176
|
|
1325
1177
|
describe 'post_export_mhtml_worksheet test' do
|
1326
1178
|
it "should work" do
|
1327
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1328
1179
|
book1_xlsx = 'Book1.xlsx'
|
1329
1180
|
|
1330
1181
|
format = "mhtml"
|
@@ -1332,7 +1183,6 @@ describe 'CellsApi' do
|
|
1332
1183
|
|
1333
1184
|
|
1334
1185
|
mapFiles = { }
|
1335
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1336
1186
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1337
1187
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1338
1188
|
@instance.post_export(request);
|
@@ -1341,7 +1191,6 @@ describe 'CellsApi' do
|
|
1341
1191
|
|
1342
1192
|
describe 'post_export_ods_worksheet test' do
|
1343
1193
|
it "should work" do
|
1344
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1345
1194
|
book1_xlsx = 'Book1.xlsx'
|
1346
1195
|
|
1347
1196
|
format = "ods"
|
@@ -1349,7 +1198,6 @@ describe 'CellsApi' do
|
|
1349
1198
|
|
1350
1199
|
|
1351
1200
|
mapFiles = { }
|
1352
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1353
1201
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1354
1202
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1355
1203
|
@instance.post_export(request);
|
@@ -1358,7 +1206,6 @@ describe 'CellsApi' do
|
|
1358
1206
|
|
1359
1207
|
describe 'post_export_pdf_worksheet test' do
|
1360
1208
|
it "should work" do
|
1361
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1362
1209
|
book1_xlsx = 'Book1.xlsx'
|
1363
1210
|
|
1364
1211
|
format = "pdf"
|
@@ -1366,7 +1213,6 @@ describe 'CellsApi' do
|
|
1366
1213
|
|
1367
1214
|
|
1368
1215
|
mapFiles = { }
|
1369
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1370
1216
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1371
1217
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1372
1218
|
@instance.post_export(request);
|
@@ -1375,7 +1221,6 @@ describe 'CellsApi' do
|
|
1375
1221
|
|
1376
1222
|
describe 'post_export_xml_worksheet test' do
|
1377
1223
|
it "should work" do
|
1378
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1379
1224
|
book1_xlsx = 'Book1.xlsx'
|
1380
1225
|
|
1381
1226
|
format = "xml"
|
@@ -1383,7 +1228,6 @@ describe 'CellsApi' do
|
|
1383
1228
|
|
1384
1229
|
|
1385
1230
|
mapFiles = { }
|
1386
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1387
1231
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1388
1232
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1389
1233
|
@instance.post_export(request);
|
@@ -1392,7 +1236,6 @@ describe 'CellsApi' do
|
|
1392
1236
|
|
1393
1237
|
describe 'post_export_txt_worksheet test' do
|
1394
1238
|
it "should work" do
|
1395
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1396
1239
|
book1_xlsx = 'Book1.xlsx'
|
1397
1240
|
|
1398
1241
|
format = "txt"
|
@@ -1400,7 +1243,6 @@ describe 'CellsApi' do
|
|
1400
1243
|
|
1401
1244
|
|
1402
1245
|
mapFiles = { }
|
1403
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1404
1246
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1405
1247
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1406
1248
|
@instance.post_export(request);
|
@@ -1409,7 +1251,6 @@ describe 'CellsApi' do
|
|
1409
1251
|
|
1410
1252
|
describe 'post_export_tif_worksheet test' do
|
1411
1253
|
it "should work" do
|
1412
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1413
1254
|
book1_xlsx = 'Book1.xlsx'
|
1414
1255
|
|
1415
1256
|
format = "tif"
|
@@ -1417,7 +1258,6 @@ describe 'CellsApi' do
|
|
1417
1258
|
|
1418
1259
|
|
1419
1260
|
mapFiles = { }
|
1420
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1421
1261
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1422
1262
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1423
1263
|
@instance.post_export(request);
|
@@ -1426,7 +1266,6 @@ describe 'CellsApi' do
|
|
1426
1266
|
|
1427
1267
|
describe 'post_export_xlsb_worksheet test' do
|
1428
1268
|
it "should work" do
|
1429
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1430
1269
|
book1_xlsx = 'Book1.xlsx'
|
1431
1270
|
|
1432
1271
|
format = "xlsb"
|
@@ -1434,7 +1273,6 @@ describe 'CellsApi' do
|
|
1434
1273
|
|
1435
1274
|
|
1436
1275
|
mapFiles = { }
|
1437
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1438
1276
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1439
1277
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1440
1278
|
@instance.post_export(request);
|
@@ -1443,7 +1281,6 @@ describe 'CellsApi' do
|
|
1443
1281
|
|
1444
1282
|
describe 'post_export_xlsm_worksheet test' do
|
1445
1283
|
it "should work" do
|
1446
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1447
1284
|
book1_xlsx = 'Book1.xlsx'
|
1448
1285
|
|
1449
1286
|
format = "xlsm"
|
@@ -1451,7 +1288,6 @@ describe 'CellsApi' do
|
|
1451
1288
|
|
1452
1289
|
|
1453
1290
|
mapFiles = { }
|
1454
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1455
1291
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1456
1292
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1457
1293
|
@instance.post_export(request);
|
@@ -1460,7 +1296,6 @@ describe 'CellsApi' do
|
|
1460
1296
|
|
1461
1297
|
describe 'post_export_xlsx_worksheet test' do
|
1462
1298
|
it "should work" do
|
1463
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1464
1299
|
book1_xlsx = 'Book1.xlsx'
|
1465
1300
|
|
1466
1301
|
format = "xlsx"
|
@@ -1468,7 +1303,6 @@ describe 'CellsApi' do
|
|
1468
1303
|
|
1469
1304
|
|
1470
1305
|
mapFiles = { }
|
1471
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1472
1306
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1473
1307
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1474
1308
|
@instance.post_export(request);
|
@@ -1477,7 +1311,6 @@ describe 'CellsApi' do
|
|
1477
1311
|
|
1478
1312
|
describe 'post_export_xltm_worksheet test' do
|
1479
1313
|
it "should work" do
|
1480
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1481
1314
|
book1_xlsx = 'Book1.xlsx'
|
1482
1315
|
|
1483
1316
|
format = "xltm"
|
@@ -1485,7 +1318,6 @@ describe 'CellsApi' do
|
|
1485
1318
|
|
1486
1319
|
|
1487
1320
|
mapFiles = { }
|
1488
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1489
1321
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1490
1322
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1491
1323
|
@instance.post_export(request);
|
@@ -1494,7 +1326,6 @@ describe 'CellsApi' do
|
|
1494
1326
|
|
1495
1327
|
describe 'post_export_xltx_worksheet test' do
|
1496
1328
|
it "should work" do
|
1497
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1498
1329
|
book1_xlsx = 'Book1.xlsx'
|
1499
1330
|
|
1500
1331
|
format = "xltx"
|
@@ -1502,7 +1333,6 @@ describe 'CellsApi' do
|
|
1502
1333
|
|
1503
1334
|
|
1504
1335
|
mapFiles = { }
|
1505
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1506
1336
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1507
1337
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1508
1338
|
@instance.post_export(request);
|
@@ -1511,7 +1341,6 @@ describe 'CellsApi' do
|
|
1511
1341
|
|
1512
1342
|
describe 'post_export_xps_worksheet test' do
|
1513
1343
|
it "should work" do
|
1514
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1515
1344
|
book1_xlsx = 'Book1.xlsx'
|
1516
1345
|
|
1517
1346
|
format = "xps"
|
@@ -1519,7 +1348,6 @@ describe 'CellsApi' do
|
|
1519
1348
|
|
1520
1349
|
|
1521
1350
|
mapFiles = { }
|
1522
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1523
1351
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1524
1352
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1525
1353
|
@instance.post_export(request);
|
@@ -1528,7 +1356,6 @@ describe 'CellsApi' do
|
|
1528
1356
|
|
1529
1357
|
describe 'post_export_png_worksheet test' do
|
1530
1358
|
it "should work" do
|
1531
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1532
1359
|
book1_xlsx = 'Book1.xlsx'
|
1533
1360
|
|
1534
1361
|
format = "png"
|
@@ -1536,7 +1363,6 @@ describe 'CellsApi' do
|
|
1536
1363
|
|
1537
1364
|
|
1538
1365
|
mapFiles = { }
|
1539
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1540
1366
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1541
1367
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1542
1368
|
@instance.post_export(request);
|
@@ -1545,7 +1371,6 @@ describe 'CellsApi' do
|
|
1545
1371
|
|
1546
1372
|
describe 'post_export_jpg_worksheet test' do
|
1547
1373
|
it "should work" do
|
1548
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1549
1374
|
book1_xlsx = 'Book1.xlsx'
|
1550
1375
|
|
1551
1376
|
format = "jpg"
|
@@ -1553,7 +1378,6 @@ describe 'CellsApi' do
|
|
1553
1378
|
|
1554
1379
|
|
1555
1380
|
mapFiles = { }
|
1556
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1557
1381
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1558
1382
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1559
1383
|
@instance.post_export(request);
|
@@ -1562,7 +1386,6 @@ describe 'CellsApi' do
|
|
1562
1386
|
|
1563
1387
|
describe 'post_export_gif_worksheet test' do
|
1564
1388
|
it "should work" do
|
1565
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1566
1389
|
book1_xlsx = 'Book1.xlsx'
|
1567
1390
|
|
1568
1391
|
format = "gif"
|
@@ -1570,7 +1393,6 @@ describe 'CellsApi' do
|
|
1570
1393
|
|
1571
1394
|
|
1572
1395
|
mapFiles = { }
|
1573
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1574
1396
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1575
1397
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1576
1398
|
@instance.post_export(request);
|
@@ -1579,7 +1401,6 @@ describe 'CellsApi' do
|
|
1579
1401
|
|
1580
1402
|
describe 'post_export_emf_worksheet test' do
|
1581
1403
|
it "should work" do
|
1582
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1583
1404
|
book1_xlsx = 'Book1.xlsx'
|
1584
1405
|
|
1585
1406
|
format = "emf"
|
@@ -1587,7 +1408,6 @@ describe 'CellsApi' do
|
|
1587
1408
|
|
1588
1409
|
|
1589
1410
|
mapFiles = { }
|
1590
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1591
1411
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1592
1412
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1593
1413
|
@instance.post_export(request);
|
@@ -1596,7 +1416,6 @@ describe 'CellsApi' do
|
|
1596
1416
|
|
1597
1417
|
describe 'post_export_bmp_worksheet test' do
|
1598
1418
|
it "should work" do
|
1599
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1600
1419
|
book1_xlsx = 'Book1.xlsx'
|
1601
1420
|
|
1602
1421
|
format = "bmp"
|
@@ -1604,7 +1423,6 @@ describe 'CellsApi' do
|
|
1604
1423
|
|
1605
1424
|
|
1606
1425
|
mapFiles = { }
|
1607
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1608
1426
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1609
1427
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1610
1428
|
@instance.post_export(request);
|
@@ -1613,7 +1431,6 @@ describe 'CellsApi' do
|
|
1613
1431
|
|
1614
1432
|
describe 'post_export_md_worksheet test' do
|
1615
1433
|
it "should work" do
|
1616
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1617
1434
|
book1_xlsx = 'Book1.xlsx'
|
1618
1435
|
|
1619
1436
|
format = "md"
|
@@ -1621,33 +1438,14 @@ describe 'CellsApi' do
|
|
1621
1438
|
|
1622
1439
|
|
1623
1440
|
mapFiles = { }
|
1624
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1625
|
-
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1626
|
-
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1627
|
-
@instance.post_export(request);
|
1628
|
-
end
|
1629
|
-
end
|
1630
|
-
|
1631
|
-
describe 'post_export_numbers_worksheet test' do
|
1632
|
-
it "should work" do
|
1633
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1634
|
-
book1_xlsx = 'Book1.xlsx'
|
1635
|
-
|
1636
|
-
format = "numbers"
|
1637
|
-
object_type = "worksheet"
|
1638
|
-
|
1639
|
-
|
1640
|
-
mapFiles = { }
|
1641
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1642
1441
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1643
1442
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1644
1443
|
@instance.post_export(request);
|
1645
1444
|
end
|
1646
|
-
end
|
1445
|
+
end
|
1647
1446
|
|
1648
1447
|
describe 'post_export_wmf_worksheet test' do
|
1649
1448
|
it "should work" do
|
1650
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1651
1449
|
book1_xlsx = 'Book1.xlsx'
|
1652
1450
|
|
1653
1451
|
format = "wmf"
|
@@ -1655,7 +1453,6 @@ describe 'CellsApi' do
|
|
1655
1453
|
|
1656
1454
|
|
1657
1455
|
mapFiles = { }
|
1658
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1659
1456
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1660
1457
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1661
1458
|
@instance.post_export(request);
|
@@ -1664,7 +1461,6 @@ describe 'CellsApi' do
|
|
1664
1461
|
|
1665
1462
|
describe 'post_export_svg_worksheet test' do
|
1666
1463
|
it "should work" do
|
1667
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1668
1464
|
book1_xlsx = 'Book1.xlsx'
|
1669
1465
|
|
1670
1466
|
format = "svg"
|
@@ -1672,7 +1468,6 @@ describe 'CellsApi' do
|
|
1672
1468
|
|
1673
1469
|
|
1674
1470
|
mapFiles = { }
|
1675
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1676
1471
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1677
1472
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1678
1473
|
@instance.post_export(request);
|
@@ -1681,7 +1476,6 @@ describe 'CellsApi' do
|
|
1681
1476
|
|
1682
1477
|
describe 'post_export_docx_worksheet test' do
|
1683
1478
|
it "should work" do
|
1684
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1685
1479
|
book1_xlsx = 'Book1.xlsx'
|
1686
1480
|
|
1687
1481
|
format = "docx"
|
@@ -1689,7 +1483,6 @@ describe 'CellsApi' do
|
|
1689
1483
|
|
1690
1484
|
|
1691
1485
|
mapFiles = { }
|
1692
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1693
1486
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1694
1487
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1695
1488
|
@instance.post_export(request);
|
@@ -1698,7 +1491,6 @@ describe 'CellsApi' do
|
|
1698
1491
|
|
1699
1492
|
describe 'post_export_pptx_worksheet test' do
|
1700
1493
|
it "should work" do
|
1701
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1702
1494
|
book1_xlsx = 'Book1.xlsx'
|
1703
1495
|
|
1704
1496
|
format = "pptx"
|
@@ -1706,7 +1498,6 @@ describe 'CellsApi' do
|
|
1706
1498
|
|
1707
1499
|
|
1708
1500
|
mapFiles = { }
|
1709
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1710
1501
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1711
1502
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1712
1503
|
@instance.post_export(request);
|
@@ -1715,7 +1506,6 @@ describe 'CellsApi' do
|
|
1715
1506
|
|
1716
1507
|
describe 'post_export_json_worksheet test' do
|
1717
1508
|
it "should work" do
|
1718
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1719
1509
|
book1_xlsx = 'Book1.xlsx'
|
1720
1510
|
|
1721
1511
|
format = "json"
|
@@ -1723,7 +1513,6 @@ describe 'CellsApi' do
|
|
1723
1513
|
|
1724
1514
|
|
1725
1515
|
mapFiles = { }
|
1726
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1727
1516
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1728
1517
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1729
1518
|
@instance.post_export(request);
|
@@ -1732,7 +1521,6 @@ describe 'CellsApi' do
|
|
1732
1521
|
|
1733
1522
|
describe 'post_export_sql_worksheet test' do
|
1734
1523
|
it "should work" do
|
1735
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1736
1524
|
book1_xlsx = 'Book1.xlsx'
|
1737
1525
|
|
1738
1526
|
format = "sql"
|
@@ -1740,7 +1528,6 @@ describe 'CellsApi' do
|
|
1740
1528
|
|
1741
1529
|
|
1742
1530
|
mapFiles = { }
|
1743
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1744
1531
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1745
1532
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1746
1533
|
@instance.post_export(request);
|
@@ -1749,7 +1536,6 @@ describe 'CellsApi' do
|
|
1749
1536
|
|
1750
1537
|
describe 'post_export_pdf_chart test' do
|
1751
1538
|
it "should work" do
|
1752
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1753
1539
|
book1_xlsx = 'Book1.xlsx'
|
1754
1540
|
|
1755
1541
|
format = "pdf"
|
@@ -1757,7 +1543,6 @@ describe 'CellsApi' do
|
|
1757
1543
|
|
1758
1544
|
|
1759
1545
|
mapFiles = { }
|
1760
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1761
1546
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1762
1547
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1763
1548
|
@instance.post_export(request);
|
@@ -1766,7 +1551,6 @@ describe 'CellsApi' do
|
|
1766
1551
|
|
1767
1552
|
describe 'post_export_tif_chart test' do
|
1768
1553
|
it "should work" do
|
1769
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1770
1554
|
book1_xlsx = 'Book1.xlsx'
|
1771
1555
|
|
1772
1556
|
format = "tif"
|
@@ -1774,7 +1558,6 @@ describe 'CellsApi' do
|
|
1774
1558
|
|
1775
1559
|
|
1776
1560
|
mapFiles = { }
|
1777
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1778
1561
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1779
1562
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1780
1563
|
@instance.post_export(request);
|
@@ -1783,7 +1566,6 @@ describe 'CellsApi' do
|
|
1783
1566
|
|
1784
1567
|
describe 'post_export_png_chart test' do
|
1785
1568
|
it "should work" do
|
1786
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1787
1569
|
book1_xlsx = 'Book1.xlsx'
|
1788
1570
|
|
1789
1571
|
format = "png"
|
@@ -1791,7 +1573,6 @@ describe 'CellsApi' do
|
|
1791
1573
|
|
1792
1574
|
|
1793
1575
|
mapFiles = { }
|
1794
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1795
1576
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1796
1577
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1797
1578
|
@instance.post_export(request);
|
@@ -1800,7 +1581,6 @@ describe 'CellsApi' do
|
|
1800
1581
|
|
1801
1582
|
describe 'post_export_jpg_chart test' do
|
1802
1583
|
it "should work" do
|
1803
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1804
1584
|
book1_xlsx = 'Book1.xlsx'
|
1805
1585
|
|
1806
1586
|
format = "jpg"
|
@@ -1808,7 +1588,6 @@ describe 'CellsApi' do
|
|
1808
1588
|
|
1809
1589
|
|
1810
1590
|
mapFiles = { }
|
1811
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1812
1591
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1813
1592
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1814
1593
|
@instance.post_export(request);
|
@@ -1817,7 +1596,6 @@ describe 'CellsApi' do
|
|
1817
1596
|
|
1818
1597
|
describe 'post_export_gif_chart test' do
|
1819
1598
|
it "should work" do
|
1820
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1821
1599
|
book1_xlsx = 'Book1.xlsx'
|
1822
1600
|
|
1823
1601
|
format = "gif"
|
@@ -1825,7 +1603,6 @@ describe 'CellsApi' do
|
|
1825
1603
|
|
1826
1604
|
|
1827
1605
|
mapFiles = { }
|
1828
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1829
1606
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1830
1607
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1831
1608
|
@instance.post_export(request);
|
@@ -1834,7 +1611,6 @@ describe 'CellsApi' do
|
|
1834
1611
|
|
1835
1612
|
describe 'post_export_emf_chart test' do
|
1836
1613
|
it "should work" do
|
1837
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1838
1614
|
book1_xlsx = 'Book1.xlsx'
|
1839
1615
|
|
1840
1616
|
format = "emf"
|
@@ -1842,7 +1618,6 @@ describe 'CellsApi' do
|
|
1842
1618
|
|
1843
1619
|
|
1844
1620
|
mapFiles = { }
|
1845
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1846
1621
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1847
1622
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1848
1623
|
@instance.post_export(request);
|
@@ -1851,7 +1626,6 @@ describe 'CellsApi' do
|
|
1851
1626
|
|
1852
1627
|
describe 'post_export_bmp_chart test' do
|
1853
1628
|
it "should work" do
|
1854
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1855
1629
|
book1_xlsx = 'Book1.xlsx'
|
1856
1630
|
|
1857
1631
|
format = "bmp"
|
@@ -1859,7 +1633,6 @@ describe 'CellsApi' do
|
|
1859
1633
|
|
1860
1634
|
|
1861
1635
|
mapFiles = { }
|
1862
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1863
1636
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1864
1637
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1865
1638
|
@instance.post_export(request);
|
@@ -1868,7 +1641,6 @@ describe 'CellsApi' do
|
|
1868
1641
|
|
1869
1642
|
describe 'post_export_png_picture test' do
|
1870
1643
|
it "should work" do
|
1871
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1872
1644
|
book1_xlsx = 'Book1.xlsx'
|
1873
1645
|
|
1874
1646
|
format = "png"
|
@@ -1876,7 +1648,6 @@ describe 'CellsApi' do
|
|
1876
1648
|
|
1877
1649
|
|
1878
1650
|
mapFiles = { }
|
1879
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1880
1651
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1881
1652
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1882
1653
|
@instance.post_export(request);
|
@@ -1885,7 +1656,6 @@ describe 'CellsApi' do
|
|
1885
1656
|
|
1886
1657
|
describe 'post_export_jpg_picture test' do
|
1887
1658
|
it "should work" do
|
1888
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1889
1659
|
book1_xlsx = 'Book1.xlsx'
|
1890
1660
|
|
1891
1661
|
format = "jpg"
|
@@ -1893,7 +1663,6 @@ describe 'CellsApi' do
|
|
1893
1663
|
|
1894
1664
|
|
1895
1665
|
mapFiles = { }
|
1896
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1897
1666
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1898
1667
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1899
1668
|
@instance.post_export(request);
|
@@ -1902,7 +1671,6 @@ describe 'CellsApi' do
|
|
1902
1671
|
|
1903
1672
|
describe 'post_export_gif_picture test' do
|
1904
1673
|
it "should work" do
|
1905
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1906
1674
|
book1_xlsx = 'Book1.xlsx'
|
1907
1675
|
|
1908
1676
|
format = "gif"
|
@@ -1910,7 +1678,6 @@ describe 'CellsApi' do
|
|
1910
1678
|
|
1911
1679
|
|
1912
1680
|
mapFiles = { }
|
1913
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1914
1681
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1915
1682
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1916
1683
|
@instance.post_export(request);
|
@@ -1919,7 +1686,6 @@ describe 'CellsApi' do
|
|
1919
1686
|
|
1920
1687
|
describe 'post_export_emf_picture test' do
|
1921
1688
|
it "should work" do
|
1922
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1923
1689
|
book1_xlsx = 'Book1.xlsx'
|
1924
1690
|
|
1925
1691
|
format = "emf"
|
@@ -1927,7 +1693,6 @@ describe 'CellsApi' do
|
|
1927
1693
|
|
1928
1694
|
|
1929
1695
|
mapFiles = { }
|
1930
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1931
1696
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1932
1697
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1933
1698
|
@instance.post_export(request);
|
@@ -1936,7 +1701,6 @@ describe 'CellsApi' do
|
|
1936
1701
|
|
1937
1702
|
describe 'post_export_bmp_picture test' do
|
1938
1703
|
it "should work" do
|
1939
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1940
1704
|
book1_xlsx = 'Book1.xlsx'
|
1941
1705
|
|
1942
1706
|
format = "bmp"
|
@@ -1944,7 +1708,6 @@ describe 'CellsApi' do
|
|
1944
1708
|
|
1945
1709
|
|
1946
1710
|
mapFiles = { }
|
1947
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1948
1711
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1949
1712
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1950
1713
|
@instance.post_export(request);
|
@@ -1953,7 +1716,6 @@ describe 'CellsApi' do
|
|
1953
1716
|
|
1954
1717
|
describe 'post_export_csv_listobject test' do
|
1955
1718
|
it "should work" do
|
1956
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1957
1719
|
book1_xlsx = 'Book1.xlsx'
|
1958
1720
|
|
1959
1721
|
format = "csv"
|
@@ -1961,7 +1723,6 @@ describe 'CellsApi' do
|
|
1961
1723
|
|
1962
1724
|
|
1963
1725
|
mapFiles = { }
|
1964
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1965
1726
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1966
1727
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1967
1728
|
@instance.post_export(request);
|
@@ -1970,7 +1731,6 @@ describe 'CellsApi' do
|
|
1970
1731
|
|
1971
1732
|
describe 'post_export_xls_listobject test' do
|
1972
1733
|
it "should work" do
|
1973
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1974
1734
|
book1_xlsx = 'Book1.xlsx'
|
1975
1735
|
|
1976
1736
|
format = "xls"
|
@@ -1978,7 +1738,6 @@ describe 'CellsApi' do
|
|
1978
1738
|
|
1979
1739
|
|
1980
1740
|
mapFiles = { }
|
1981
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1982
1741
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
1983
1742
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
1984
1743
|
@instance.post_export(request);
|
@@ -1987,7 +1746,6 @@ describe 'CellsApi' do
|
|
1987
1746
|
|
1988
1747
|
describe 'post_export_html_listobject test' do
|
1989
1748
|
it "should work" do
|
1990
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
1991
1749
|
book1_xlsx = 'Book1.xlsx'
|
1992
1750
|
|
1993
1751
|
format = "html"
|
@@ -1995,7 +1753,6 @@ describe 'CellsApi' do
|
|
1995
1753
|
|
1996
1754
|
|
1997
1755
|
mapFiles = { }
|
1998
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
1999
1756
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2000
1757
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2001
1758
|
@instance.post_export(request);
|
@@ -2004,7 +1761,6 @@ describe 'CellsApi' do
|
|
2004
1761
|
|
2005
1762
|
describe 'post_export_mhtml_listobject test' do
|
2006
1763
|
it "should work" do
|
2007
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2008
1764
|
book1_xlsx = 'Book1.xlsx'
|
2009
1765
|
|
2010
1766
|
format = "mhtml"
|
@@ -2012,7 +1768,6 @@ describe 'CellsApi' do
|
|
2012
1768
|
|
2013
1769
|
|
2014
1770
|
mapFiles = { }
|
2015
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2016
1771
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2017
1772
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2018
1773
|
@instance.post_export(request);
|
@@ -2021,7 +1776,6 @@ describe 'CellsApi' do
|
|
2021
1776
|
|
2022
1777
|
describe 'post_export_ods_listobject test' do
|
2023
1778
|
it "should work" do
|
2024
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2025
1779
|
book1_xlsx = 'Book1.xlsx'
|
2026
1780
|
|
2027
1781
|
format = "ods"
|
@@ -2029,7 +1783,6 @@ describe 'CellsApi' do
|
|
2029
1783
|
|
2030
1784
|
|
2031
1785
|
mapFiles = { }
|
2032
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2033
1786
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2034
1787
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2035
1788
|
@instance.post_export(request);
|
@@ -2038,7 +1791,6 @@ describe 'CellsApi' do
|
|
2038
1791
|
|
2039
1792
|
describe 'post_export_pdf_listobject test' do
|
2040
1793
|
it "should work" do
|
2041
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2042
1794
|
book1_xlsx = 'Book1.xlsx'
|
2043
1795
|
|
2044
1796
|
format = "pdf"
|
@@ -2046,7 +1798,6 @@ describe 'CellsApi' do
|
|
2046
1798
|
|
2047
1799
|
|
2048
1800
|
mapFiles = { }
|
2049
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2050
1801
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2051
1802
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2052
1803
|
@instance.post_export(request);
|
@@ -2055,7 +1806,6 @@ describe 'CellsApi' do
|
|
2055
1806
|
|
2056
1807
|
describe 'post_export_xml_listobject test' do
|
2057
1808
|
it "should work" do
|
2058
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2059
1809
|
book1_xlsx = 'Book1.xlsx'
|
2060
1810
|
|
2061
1811
|
format = "xml"
|
@@ -2063,7 +1813,6 @@ describe 'CellsApi' do
|
|
2063
1813
|
|
2064
1814
|
|
2065
1815
|
mapFiles = { }
|
2066
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2067
1816
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2068
1817
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2069
1818
|
@instance.post_export(request);
|
@@ -2072,7 +1821,6 @@ describe 'CellsApi' do
|
|
2072
1821
|
|
2073
1822
|
describe 'post_export_txt_listobject test' do
|
2074
1823
|
it "should work" do
|
2075
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2076
1824
|
book1_xlsx = 'Book1.xlsx'
|
2077
1825
|
|
2078
1826
|
format = "txt"
|
@@ -2080,7 +1828,6 @@ describe 'CellsApi' do
|
|
2080
1828
|
|
2081
1829
|
|
2082
1830
|
mapFiles = { }
|
2083
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2084
1831
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2085
1832
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2086
1833
|
@instance.post_export(request);
|
@@ -2089,7 +1836,6 @@ describe 'CellsApi' do
|
|
2089
1836
|
|
2090
1837
|
describe 'post_export_tif_listobject test' do
|
2091
1838
|
it "should work" do
|
2092
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2093
1839
|
book1_xlsx = 'Book1.xlsx'
|
2094
1840
|
|
2095
1841
|
format = "tif"
|
@@ -2097,7 +1843,6 @@ describe 'CellsApi' do
|
|
2097
1843
|
|
2098
1844
|
|
2099
1845
|
mapFiles = { }
|
2100
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2101
1846
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2102
1847
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2103
1848
|
@instance.post_export(request);
|
@@ -2106,7 +1851,6 @@ describe 'CellsApi' do
|
|
2106
1851
|
|
2107
1852
|
describe 'post_export_xlsb_listobject test' do
|
2108
1853
|
it "should work" do
|
2109
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2110
1854
|
book1_xlsx = 'Book1.xlsx'
|
2111
1855
|
|
2112
1856
|
format = "xlsb"
|
@@ -2114,7 +1858,6 @@ describe 'CellsApi' do
|
|
2114
1858
|
|
2115
1859
|
|
2116
1860
|
mapFiles = { }
|
2117
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2118
1861
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2119
1862
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2120
1863
|
@instance.post_export(request);
|
@@ -2123,7 +1866,6 @@ describe 'CellsApi' do
|
|
2123
1866
|
|
2124
1867
|
describe 'post_export_xlsm_listobject test' do
|
2125
1868
|
it "should work" do
|
2126
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2127
1869
|
book1_xlsx = 'Book1.xlsx'
|
2128
1870
|
|
2129
1871
|
format = "xlsm"
|
@@ -2131,7 +1873,6 @@ describe 'CellsApi' do
|
|
2131
1873
|
|
2132
1874
|
|
2133
1875
|
mapFiles = { }
|
2134
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2135
1876
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2136
1877
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2137
1878
|
@instance.post_export(request);
|
@@ -2140,7 +1881,6 @@ describe 'CellsApi' do
|
|
2140
1881
|
|
2141
1882
|
describe 'post_export_xlsx_listobject test' do
|
2142
1883
|
it "should work" do
|
2143
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2144
1884
|
book1_xlsx = 'Book1.xlsx'
|
2145
1885
|
|
2146
1886
|
format = "xlsx"
|
@@ -2148,7 +1888,6 @@ describe 'CellsApi' do
|
|
2148
1888
|
|
2149
1889
|
|
2150
1890
|
mapFiles = { }
|
2151
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2152
1891
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2153
1892
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2154
1893
|
@instance.post_export(request);
|
@@ -2157,7 +1896,6 @@ describe 'CellsApi' do
|
|
2157
1896
|
|
2158
1897
|
describe 'post_export_xltm_listobject test' do
|
2159
1898
|
it "should work" do
|
2160
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2161
1899
|
book1_xlsx = 'Book1.xlsx'
|
2162
1900
|
|
2163
1901
|
format = "xltm"
|
@@ -2165,7 +1903,6 @@ describe 'CellsApi' do
|
|
2165
1903
|
|
2166
1904
|
|
2167
1905
|
mapFiles = { }
|
2168
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2169
1906
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2170
1907
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2171
1908
|
@instance.post_export(request);
|
@@ -2174,7 +1911,6 @@ describe 'CellsApi' do
|
|
2174
1911
|
|
2175
1912
|
describe 'post_export_xltx_listobject test' do
|
2176
1913
|
it "should work" do
|
2177
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2178
1914
|
book1_xlsx = 'Book1.xlsx'
|
2179
1915
|
|
2180
1916
|
format = "xltx"
|
@@ -2182,7 +1918,6 @@ describe 'CellsApi' do
|
|
2182
1918
|
|
2183
1919
|
|
2184
1920
|
mapFiles = { }
|
2185
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2186
1921
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2187
1922
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2188
1923
|
@instance.post_export(request);
|
@@ -2191,7 +1926,6 @@ describe 'CellsApi' do
|
|
2191
1926
|
|
2192
1927
|
describe 'post_export_xps_listobject test' do
|
2193
1928
|
it "should work" do
|
2194
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2195
1929
|
book1_xlsx = 'Book1.xlsx'
|
2196
1930
|
|
2197
1931
|
format = "xps"
|
@@ -2199,7 +1933,6 @@ describe 'CellsApi' do
|
|
2199
1933
|
|
2200
1934
|
|
2201
1935
|
mapFiles = { }
|
2202
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2203
1936
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2204
1937
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2205
1938
|
@instance.post_export(request);
|
@@ -2208,7 +1941,6 @@ describe 'CellsApi' do
|
|
2208
1941
|
|
2209
1942
|
describe 'post_export_png_listobject test' do
|
2210
1943
|
it "should work" do
|
2211
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2212
1944
|
book1_xlsx = 'Book1.xlsx'
|
2213
1945
|
|
2214
1946
|
format = "png"
|
@@ -2216,7 +1948,6 @@ describe 'CellsApi' do
|
|
2216
1948
|
|
2217
1949
|
|
2218
1950
|
mapFiles = { }
|
2219
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2220
1951
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2221
1952
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2222
1953
|
@instance.post_export(request);
|
@@ -2225,7 +1956,6 @@ describe 'CellsApi' do
|
|
2225
1956
|
|
2226
1957
|
describe 'post_export_jpg_listobject test' do
|
2227
1958
|
it "should work" do
|
2228
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2229
1959
|
book1_xlsx = 'Book1.xlsx'
|
2230
1960
|
|
2231
1961
|
format = "jpg"
|
@@ -2233,7 +1963,6 @@ describe 'CellsApi' do
|
|
2233
1963
|
|
2234
1964
|
|
2235
1965
|
mapFiles = { }
|
2236
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2237
1966
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2238
1967
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2239
1968
|
@instance.post_export(request);
|
@@ -2242,7 +1971,6 @@ describe 'CellsApi' do
|
|
2242
1971
|
|
2243
1972
|
describe 'post_export_gif_listobject test' do
|
2244
1973
|
it "should work" do
|
2245
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2246
1974
|
book1_xlsx = 'Book1.xlsx'
|
2247
1975
|
|
2248
1976
|
format = "gif"
|
@@ -2250,7 +1978,6 @@ describe 'CellsApi' do
|
|
2250
1978
|
|
2251
1979
|
|
2252
1980
|
mapFiles = { }
|
2253
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2254
1981
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2255
1982
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2256
1983
|
@instance.post_export(request);
|
@@ -2259,7 +1986,6 @@ describe 'CellsApi' do
|
|
2259
1986
|
|
2260
1987
|
describe 'post_export_emf_listobject test' do
|
2261
1988
|
it "should work" do
|
2262
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2263
1989
|
book1_xlsx = 'Book1.xlsx'
|
2264
1990
|
|
2265
1991
|
format = "emf"
|
@@ -2267,7 +1993,6 @@ describe 'CellsApi' do
|
|
2267
1993
|
|
2268
1994
|
|
2269
1995
|
mapFiles = { }
|
2270
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2271
1996
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2272
1997
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2273
1998
|
@instance.post_export(request);
|
@@ -2276,7 +2001,6 @@ describe 'CellsApi' do
|
|
2276
2001
|
|
2277
2002
|
describe 'post_export_bmp_listobject test' do
|
2278
2003
|
it "should work" do
|
2279
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2280
2004
|
book1_xlsx = 'Book1.xlsx'
|
2281
2005
|
|
2282
2006
|
format = "bmp"
|
@@ -2284,7 +2008,6 @@ describe 'CellsApi' do
|
|
2284
2008
|
|
2285
2009
|
|
2286
2010
|
mapFiles = { }
|
2287
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2288
2011
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2289
2012
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2290
2013
|
@instance.post_export(request);
|
@@ -2293,7 +2016,6 @@ describe 'CellsApi' do
|
|
2293
2016
|
|
2294
2017
|
describe 'post_export_md_listobject test' do
|
2295
2018
|
it "should work" do
|
2296
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2297
2019
|
book1_xlsx = 'Book1.xlsx'
|
2298
2020
|
|
2299
2021
|
format = "md"
|
@@ -2301,41 +2023,6 @@ describe 'CellsApi' do
|
|
2301
2023
|
|
2302
2024
|
|
2303
2025
|
mapFiles = { }
|
2304
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2305
|
-
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2306
|
-
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2307
|
-
@instance.post_export(request);
|
2308
|
-
end
|
2309
|
-
end
|
2310
|
-
|
2311
|
-
describe 'post_export_numbers_listobject test' do
|
2312
|
-
it "should work" do
|
2313
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2314
|
-
book1_xlsx = 'Book1.xlsx'
|
2315
|
-
|
2316
|
-
format = "numbers"
|
2317
|
-
object_type = "listobject"
|
2318
|
-
|
2319
|
-
|
2320
|
-
mapFiles = { }
|
2321
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2322
|
-
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2323
|
-
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2324
|
-
@instance.post_export(request);
|
2325
|
-
end
|
2326
|
-
end
|
2327
|
-
|
2328
|
-
describe 'post_export_wmf_listobject test' do
|
2329
|
-
it "should work" do
|
2330
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2331
|
-
book1_xlsx = 'Book1.xlsx'
|
2332
|
-
|
2333
|
-
format = "wmf"
|
2334
|
-
object_type = "listobject"
|
2335
|
-
|
2336
|
-
|
2337
|
-
mapFiles = { }
|
2338
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2339
2026
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2340
2027
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2341
2028
|
@instance.post_export(request);
|
@@ -2344,7 +2031,6 @@ describe 'CellsApi' do
|
|
2344
2031
|
|
2345
2032
|
describe 'post_export_svg_listobject test' do
|
2346
2033
|
it "should work" do
|
2347
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2348
2034
|
book1_xlsx = 'Book1.xlsx'
|
2349
2035
|
|
2350
2036
|
format = "svg"
|
@@ -2352,7 +2038,6 @@ describe 'CellsApi' do
|
|
2352
2038
|
|
2353
2039
|
|
2354
2040
|
mapFiles = { }
|
2355
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2356
2041
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2357
2042
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2358
2043
|
@instance.post_export(request);
|
@@ -2361,7 +2046,6 @@ describe 'CellsApi' do
|
|
2361
2046
|
|
2362
2047
|
describe 'post_export_docx_listobject test' do
|
2363
2048
|
it "should work" do
|
2364
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2365
2049
|
book1_xlsx = 'Book1.xlsx'
|
2366
2050
|
|
2367
2051
|
format = "docx"
|
@@ -2369,7 +2053,6 @@ describe 'CellsApi' do
|
|
2369
2053
|
|
2370
2054
|
|
2371
2055
|
mapFiles = { }
|
2372
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2373
2056
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2374
2057
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2375
2058
|
@instance.post_export(request);
|
@@ -2378,7 +2061,6 @@ describe 'CellsApi' do
|
|
2378
2061
|
|
2379
2062
|
describe 'post_export_pptx_listobject test' do
|
2380
2063
|
it "should work" do
|
2381
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2382
2064
|
book1_xlsx = 'Book1.xlsx'
|
2383
2065
|
|
2384
2066
|
format = "pptx"
|
@@ -2386,7 +2068,6 @@ describe 'CellsApi' do
|
|
2386
2068
|
|
2387
2069
|
|
2388
2070
|
mapFiles = { }
|
2389
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2390
2071
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2391
2072
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2392
2073
|
@instance.post_export(request);
|
@@ -2395,7 +2076,6 @@ describe 'CellsApi' do
|
|
2395
2076
|
|
2396
2077
|
describe 'post_export_json_listobject test' do
|
2397
2078
|
it "should work" do
|
2398
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2399
2079
|
book1_xlsx = 'Book1.xlsx'
|
2400
2080
|
|
2401
2081
|
format = "json"
|
@@ -2403,7 +2083,6 @@ describe 'CellsApi' do
|
|
2403
2083
|
|
2404
2084
|
|
2405
2085
|
mapFiles = { }
|
2406
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2407
2086
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2408
2087
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2409
2088
|
@instance.post_export(request);
|
@@ -2412,7 +2091,6 @@ describe 'CellsApi' do
|
|
2412
2091
|
|
2413
2092
|
describe 'post_export_sql_listobject test' do
|
2414
2093
|
it "should work" do
|
2415
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2416
2094
|
book1_xlsx = 'Book1.xlsx'
|
2417
2095
|
|
2418
2096
|
format = "sql"
|
@@ -2420,7 +2098,6 @@ describe 'CellsApi' do
|
|
2420
2098
|
|
2421
2099
|
|
2422
2100
|
mapFiles = { }
|
2423
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2424
2101
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2425
2102
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2426
2103
|
@instance.post_export(request);
|
@@ -2429,7 +2106,6 @@ describe 'CellsApi' do
|
|
2429
2106
|
|
2430
2107
|
describe 'post_export_png_oleobject test' do
|
2431
2108
|
it "should work" do
|
2432
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2433
2109
|
book1_xlsx = 'Book1.xlsx'
|
2434
2110
|
|
2435
2111
|
format = "png"
|
@@ -2437,7 +2113,6 @@ describe 'CellsApi' do
|
|
2437
2113
|
|
2438
2114
|
|
2439
2115
|
mapFiles = { }
|
2440
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2441
2116
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2442
2117
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2443
2118
|
@instance.post_export(request);
|
@@ -2446,7 +2121,6 @@ describe 'CellsApi' do
|
|
2446
2121
|
|
2447
2122
|
describe 'post_export_jpg_oleobject test' do
|
2448
2123
|
it "should work" do
|
2449
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2450
2124
|
book1_xlsx = 'Book1.xlsx'
|
2451
2125
|
|
2452
2126
|
format = "jpg"
|
@@ -2454,7 +2128,6 @@ describe 'CellsApi' do
|
|
2454
2128
|
|
2455
2129
|
|
2456
2130
|
mapFiles = { }
|
2457
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2458
2131
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2459
2132
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2460
2133
|
@instance.post_export(request);
|
@@ -2463,7 +2136,6 @@ describe 'CellsApi' do
|
|
2463
2136
|
|
2464
2137
|
describe 'post_export_gif_oleobject test' do
|
2465
2138
|
it "should work" do
|
2466
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2467
2139
|
book1_xlsx = 'Book1.xlsx'
|
2468
2140
|
|
2469
2141
|
format = "gif"
|
@@ -2471,7 +2143,6 @@ describe 'CellsApi' do
|
|
2471
2143
|
|
2472
2144
|
|
2473
2145
|
mapFiles = { }
|
2474
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2475
2146
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2476
2147
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2477
2148
|
@instance.post_export(request);
|
@@ -2480,7 +2151,6 @@ describe 'CellsApi' do
|
|
2480
2151
|
|
2481
2152
|
describe 'post_export_emf_oleobject test' do
|
2482
2153
|
it "should work" do
|
2483
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2484
2154
|
book1_xlsx = 'Book1.xlsx'
|
2485
2155
|
|
2486
2156
|
format = "emf"
|
@@ -2488,7 +2158,6 @@ describe 'CellsApi' do
|
|
2488
2158
|
|
2489
2159
|
|
2490
2160
|
mapFiles = { }
|
2491
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2492
2161
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2493
2162
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2494
2163
|
@instance.post_export(request);
|
@@ -2497,7 +2166,6 @@ describe 'CellsApi' do
|
|
2497
2166
|
|
2498
2167
|
describe 'post_export_bmp_oleobject test' do
|
2499
2168
|
it "should work" do
|
2500
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2501
2169
|
book1_xlsx = 'Book1.xlsx'
|
2502
2170
|
|
2503
2171
|
format = "bmp"
|
@@ -2505,7 +2173,6 @@ describe 'CellsApi' do
|
|
2505
2173
|
|
2506
2174
|
|
2507
2175
|
mapFiles = { }
|
2508
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2509
2176
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
2510
2177
|
request = AsposeCellsCloud::PostExportRequest.new(:File=>mapFiles,:objectType=>object_type,:format=>format);
|
2511
2178
|
@instance.post_export(request);
|
@@ -2514,14 +2181,12 @@ describe 'CellsApi' do
|
|
2514
2181
|
|
2515
2182
|
describe 'post_compress_50 test' do
|
2516
2183
|
it "should work" do
|
2517
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2518
2184
|
data_source_xlsx = 'datasource.xlsx'
|
2519
2185
|
|
2520
2186
|
compress_level = 50
|
2521
2187
|
|
2522
2188
|
|
2523
2189
|
mapFiles = { }
|
2524
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2525
2190
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2526
2191
|
request = AsposeCellsCloud::PostCompressRequest.new(:File=>mapFiles,:CompressLevel=>compress_level);
|
2527
2192
|
@instance.post_compress(request);
|
@@ -2530,14 +2195,12 @@ describe 'CellsApi' do
|
|
2530
2195
|
|
2531
2196
|
describe 'post_compress_90 test' do
|
2532
2197
|
it "should work" do
|
2533
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2534
2198
|
data_source_xlsx = 'datasource.xlsx'
|
2535
2199
|
|
2536
2200
|
compress_level = 90
|
2537
2201
|
|
2538
2202
|
|
2539
2203
|
mapFiles = { }
|
2540
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2541
2204
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2542
2205
|
request = AsposeCellsCloud::PostCompressRequest.new(:File=>mapFiles,:CompressLevel=>compress_level);
|
2543
2206
|
@instance.post_compress(request);
|
@@ -2901,23 +2564,6 @@ describe 'CellsApi' do
|
|
2901
2564
|
end
|
2902
2565
|
end
|
2903
2566
|
|
2904
|
-
describe 'post_merge_numbers_true test' do
|
2905
|
-
it "should work" do
|
2906
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
2907
|
-
data_source_xlsx = 'datasource.xlsx'
|
2908
|
-
|
2909
|
-
format = "numbers"
|
2910
|
-
merge_to_one_sheet = true
|
2911
|
-
|
2912
|
-
|
2913
|
-
mapFiles = { }
|
2914
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
2915
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
2916
|
-
request = AsposeCellsCloud::PostMergeRequest.new(:File=>mapFiles,:outFormat=>format,:mergeToOneSheet=>merge_to_one_sheet);
|
2917
|
-
@instance.post_merge(request);
|
2918
|
-
end
|
2919
|
-
end
|
2920
|
-
|
2921
2567
|
describe 'post_merge_wmf_true test' do
|
2922
2568
|
it "should work" do
|
2923
2569
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
@@ -3032,16 +2678,26 @@ describe 'CellsApi' do
|
|
3032
2678
|
end
|
3033
2679
|
end
|
3034
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
|
+
|
3035
2693
|
describe 'post_protect test' do
|
3036
2694
|
it "should work" do
|
3037
2695
|
assembly_test_xlsx = 'assemblytest.xlsx'
|
3038
|
-
data_source_xlsx = 'datasource.xlsx'
|
3039
2696
|
|
3040
2697
|
|
3041
2698
|
mapFiles = { }
|
3042
2699
|
protectWorkbookRequest = AsposeCellsCloud::ProtectWorkbookRequest.new(:AwaysOpenReadOnly=>true ,:EncryptWithPassword=>'123456' );
|
3043
2700
|
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3044
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3045
2701
|
request = AsposeCellsCloud::PostProtectRequest.new(:File=>mapFiles,:protectWorkbookRequest=>protectWorkbookRequest,:password=>'123456');
|
3046
2702
|
@instance.post_protect(request);
|
3047
2703
|
end
|
@@ -3049,13 +2705,11 @@ describe 'CellsApi' do
|
|
3049
2705
|
|
3050
2706
|
describe 'post_protect__protect_workbook_request test' do
|
3051
2707
|
it "should work" do
|
3052
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
3053
2708
|
data_source_xlsx = 'datasource.xlsx'
|
3054
2709
|
|
3055
2710
|
|
3056
2711
|
mapFiles = { }
|
3057
2712
|
protectWorkbookRequest = AsposeCellsCloud::ProtectWorkbookRequest.new(:AwaysOpenReadOnly=>true ,:EncryptWithPassword=>'123456' );
|
3058
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3059
2713
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3060
2714
|
request = AsposeCellsCloud::PostProtectRequest.new(:File=>mapFiles,:protectWorkbookRequest=>protectWorkbookRequest);
|
3061
2715
|
@instance.post_protect(request);
|
@@ -3064,12 +2718,10 @@ describe 'CellsApi' do
|
|
3064
2718
|
|
3065
2719
|
describe 'post_search test' do
|
3066
2720
|
it "should work" do
|
3067
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
3068
2721
|
data_source_xlsx = 'datasource.xlsx'
|
3069
2722
|
|
3070
2723
|
|
3071
2724
|
mapFiles = { }
|
3072
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3073
2725
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3074
2726
|
request = AsposeCellsCloud::PostSearchRequest.new(:File=>mapFiles,:text=>'12');
|
3075
2727
|
@instance.post_search(request);
|
@@ -3078,12 +2730,10 @@ describe 'CellsApi' do
|
|
3078
2730
|
|
3079
2731
|
describe 'post_replace test' do
|
3080
2732
|
it "should work" do
|
3081
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
3082
2733
|
data_source_xlsx = 'datasource.xlsx'
|
3083
2734
|
|
3084
2735
|
|
3085
2736
|
mapFiles = { }
|
3086
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3087
2737
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3088
2738
|
request = AsposeCellsCloud::PostReplaceRequest.new(:File=>mapFiles,:text=>'12',:newtext=>'newtext');
|
3089
2739
|
@instance.post_replace(request);
|
@@ -3092,12 +2742,10 @@ describe 'CellsApi' do
|
|
3092
2742
|
|
3093
2743
|
describe 'post_replace_only_sheetname test' do
|
3094
2744
|
it "should work" do
|
3095
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
3096
2745
|
data_source_xlsx = 'datasource.xlsx'
|
3097
2746
|
|
3098
2747
|
|
3099
2748
|
mapFiles = { }
|
3100
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3101
2749
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3102
2750
|
request = AsposeCellsCloud::PostReplaceRequest.new(:File=>mapFiles,:text=>'12',:newtext=>'newtext',:sheetname=>'Sheet1');
|
3103
2751
|
@instance.post_replace(request);
|
@@ -3106,12 +2754,10 @@ describe 'CellsApi' do
|
|
3106
2754
|
|
3107
2755
|
describe 'post_watermark test' do
|
3108
2756
|
it "should work" do
|
3109
|
-
assembly_test_xlsx = 'assemblytest.xlsx'
|
3110
2757
|
data_source_xlsx = 'datasource.xlsx'
|
3111
2758
|
|
3112
2759
|
|
3113
2760
|
mapFiles = { }
|
3114
|
-
mapFiles[assembly_test_xlsx]= ::File.open(File.expand_path("TestData/"+assembly_test_xlsx),"r")
|
3115
2761
|
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3116
2762
|
request = AsposeCellsCloud::PostWatermarkRequest.new(:File=>mapFiles,:text=>'aspose.cells cloud sdk',:color=>'#773322');
|
3117
2763
|
@instance.post_watermark(request);
|
@@ -3121,14 +2767,12 @@ describe 'CellsApi' do
|
|
3121
2767
|
describe 'post_clear_objects_chart test' do
|
3122
2768
|
it "should work" do
|
3123
2769
|
book1_xlsx = 'Book1.xlsx'
|
3124
|
-
data_source_xlsx = 'datasource.xlsx'
|
3125
2770
|
|
3126
2771
|
objecttype = "chart"
|
3127
2772
|
|
3128
2773
|
|
3129
2774
|
mapFiles = { }
|
3130
2775
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3131
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3132
2776
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3133
2777
|
@instance.post_clear_objects(request);
|
3134
2778
|
end
|
@@ -3137,14 +2781,12 @@ describe 'CellsApi' do
|
|
3137
2781
|
describe 'post_clear_objects_comment test' do
|
3138
2782
|
it "should work" do
|
3139
2783
|
book1_xlsx = 'Book1.xlsx'
|
3140
|
-
data_source_xlsx = 'datasource.xlsx'
|
3141
2784
|
|
3142
2785
|
objecttype = "comment"
|
3143
2786
|
|
3144
2787
|
|
3145
2788
|
mapFiles = { }
|
3146
2789
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3147
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3148
2790
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3149
2791
|
@instance.post_clear_objects(request);
|
3150
2792
|
end
|
@@ -3153,14 +2795,12 @@ describe 'CellsApi' do
|
|
3153
2795
|
describe 'post_clear_objects_picture test' do
|
3154
2796
|
it "should work" do
|
3155
2797
|
book1_xlsx = 'Book1.xlsx'
|
3156
|
-
data_source_xlsx = 'datasource.xlsx'
|
3157
2798
|
|
3158
2799
|
objecttype = "picture"
|
3159
2800
|
|
3160
2801
|
|
3161
2802
|
mapFiles = { }
|
3162
2803
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3163
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3164
2804
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3165
2805
|
@instance.post_clear_objects(request);
|
3166
2806
|
end
|
@@ -3169,14 +2809,12 @@ describe 'CellsApi' do
|
|
3169
2809
|
describe 'post_clear_objects_shape test' do
|
3170
2810
|
it "should work" do
|
3171
2811
|
book1_xlsx = 'Book1.xlsx'
|
3172
|
-
data_source_xlsx = 'datasource.xlsx'
|
3173
2812
|
|
3174
2813
|
objecttype = "shape"
|
3175
2814
|
|
3176
2815
|
|
3177
2816
|
mapFiles = { }
|
3178
2817
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3179
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3180
2818
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3181
2819
|
@instance.post_clear_objects(request);
|
3182
2820
|
end
|
@@ -3185,14 +2823,12 @@ describe 'CellsApi' do
|
|
3185
2823
|
describe 'post_clear_objects_listobject test' do
|
3186
2824
|
it "should work" do
|
3187
2825
|
book1_xlsx = 'Book1.xlsx'
|
3188
|
-
data_source_xlsx = 'datasource.xlsx'
|
3189
2826
|
|
3190
2827
|
objecttype = "listobject"
|
3191
2828
|
|
3192
2829
|
|
3193
2830
|
mapFiles = { }
|
3194
2831
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3195
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3196
2832
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3197
2833
|
@instance.post_clear_objects(request);
|
3198
2834
|
end
|
@@ -3201,14 +2837,12 @@ describe 'CellsApi' do
|
|
3201
2837
|
describe 'post_clear_objects_hyperlink test' do
|
3202
2838
|
it "should work" do
|
3203
2839
|
book1_xlsx = 'Book1.xlsx'
|
3204
|
-
data_source_xlsx = 'datasource.xlsx'
|
3205
2840
|
|
3206
2841
|
objecttype = "hyperlink"
|
3207
2842
|
|
3208
2843
|
|
3209
2844
|
mapFiles = { }
|
3210
2845
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3211
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3212
2846
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3213
2847
|
@instance.post_clear_objects(request);
|
3214
2848
|
end
|
@@ -3217,14 +2851,12 @@ describe 'CellsApi' do
|
|
3217
2851
|
describe 'post_clear_objects_oleobject test' do
|
3218
2852
|
it "should work" do
|
3219
2853
|
book1_xlsx = 'Book1.xlsx'
|
3220
|
-
data_source_xlsx = 'datasource.xlsx'
|
3221
2854
|
|
3222
2855
|
objecttype = "oleobject"
|
3223
2856
|
|
3224
2857
|
|
3225
2858
|
mapFiles = { }
|
3226
2859
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3227
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3228
2860
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3229
2861
|
@instance.post_clear_objects(request);
|
3230
2862
|
end
|
@@ -3233,14 +2865,12 @@ describe 'CellsApi' do
|
|
3233
2865
|
describe 'post_clear_objects_pivottable test' do
|
3234
2866
|
it "should work" do
|
3235
2867
|
book1_xlsx = 'Book1.xlsx'
|
3236
|
-
data_source_xlsx = 'datasource.xlsx'
|
3237
2868
|
|
3238
2869
|
objecttype = "pivottable"
|
3239
2870
|
|
3240
2871
|
|
3241
2872
|
mapFiles = { }
|
3242
2873
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3243
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3244
2874
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3245
2875
|
@instance.post_clear_objects(request);
|
3246
2876
|
end
|
@@ -3249,14 +2879,12 @@ describe 'CellsApi' do
|
|
3249
2879
|
describe 'post_clear_objects_validation test' do
|
3250
2880
|
it "should work" do
|
3251
2881
|
book1_xlsx = 'Book1.xlsx'
|
3252
|
-
data_source_xlsx = 'datasource.xlsx'
|
3253
2882
|
|
3254
2883
|
objecttype = "validation"
|
3255
2884
|
|
3256
2885
|
|
3257
2886
|
mapFiles = { }
|
3258
2887
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3259
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3260
2888
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3261
2889
|
@instance.post_clear_objects(request);
|
3262
2890
|
end
|
@@ -3265,14 +2893,12 @@ describe 'CellsApi' do
|
|
3265
2893
|
describe 'post_clear_objects__background test' do
|
3266
2894
|
it "should work" do
|
3267
2895
|
book1_xlsx = 'Book1.xlsx'
|
3268
|
-
data_source_xlsx = 'datasource.xlsx'
|
3269
2896
|
|
3270
2897
|
objecttype = "Background"
|
3271
2898
|
|
3272
2899
|
|
3273
2900
|
mapFiles = { }
|
3274
2901
|
mapFiles[book1_xlsx]= ::File.open(File.expand_path("TestData/"+book1_xlsx),"r")
|
3275
|
-
mapFiles[data_source_xlsx]= ::File.open(File.expand_path("TestData/"+data_source_xlsx),"r")
|
3276
2902
|
request = AsposeCellsCloud::PostClearObjectsRequest.new(:File=>mapFiles,:objecttype=>objecttype);
|
3277
2903
|
@instance.post_clear_objects(request);
|
3278
2904
|
end
|