aspose_cells_cloud 19.2.1 → 19.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae3988c616492e19d66df38968a472a43ca8c32f
4
- data.tar.gz: aa00c06977f6417edd01316772733defb617560f
3
+ metadata.gz: b550f858b5d16296f0e2e9f112c141ba8aeb5f31
4
+ data.tar.gz: 970556ccb45455b9552baec4cb779d3a19569979
5
5
  SHA512:
6
- metadata.gz: 750d95fe3b64b6d6f3ecfa9405dbc486874e1f0ad7ff36d6fd849ab30c1b65cfd5d79013f69f972e7cd4e3cdba57003f676808beaad1880db781fd2d1d639653
7
- data.tar.gz: e7903920b0a6c91ca2df927cac4209ddb7130086771c898d3043a793ea7340471813ae69c283784dc75183dcb9ff46e3ec2121be02f8590cd0c41f15b1db00ab
6
+ metadata.gz: 53d64481d9bd901c1ccc471d7e225a835b4439eaf570e6b49c115339cab062f71b94def77cc7d1b22e4864b0fb9847784637ecb8e41adfca9323aa2612e2e6d5
7
+ data.tar.gz: 9dd646c386f59f3f7423981742d5e6226f2c1596b4f2446d7fe61e54aeb2a35895c13ed59eff6beac779be4df70b47e849d20466fa3f1d66411fcc6e53102093
data/README.md CHANGED
@@ -7,7 +7,7 @@ No description provided (generated by Swagger Codegen https://github.com/swagger
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 19.2
10
+ - Package version: 19.6
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
 
13
13
  ## Installation
@@ -7,6 +7,7 @@ Method | HTTP request | Description
7
7
  [**cells_delete_worksheet_columns**](CellsApi.md#cells_delete_worksheet_columns) | **DELETE** /cells/{name}/worksheets/{sheetName}/cells/columns/{columnIndex} | Delete worksheet columns.
8
8
  [**cells_delete_worksheet_row**](CellsApi.md#cells_delete_worksheet_row) | **DELETE** /cells/{name}/worksheets/{sheetName}/cells/rows/{rowIndex} | Delete worksheet row.
9
9
  [**cells_delete_worksheet_rows**](CellsApi.md#cells_delete_worksheet_rows) | **DELETE** /cells/{name}/worksheets/{sheetName}/cells/rows | Delete several worksheet rows.
10
+ [**cells_get_cell_html_string**](CellsApi.md#cells_get_cell_html_string) | **GET** /cells/{name}/worksheets/{sheetName}/cells/{cellName}/htmlstring | Read cell data by cell's name.
10
11
  [**cells_get_worksheet_cell**](CellsApi.md#cells_get_worksheet_cell) | **GET** /cells/{name}/worksheets/{sheetName}/cells/{cellOrMethodName} | Read cell data by cell's name.
11
12
  [**cells_get_worksheet_cell_style**](CellsApi.md#cells_get_worksheet_cell_style) | **GET** /cells/{name}/worksheets/{sheetName}/cells/{cellName}/style | Read cell's style info.
12
13
  [**cells_get_worksheet_cells**](CellsApi.md#cells_get_worksheet_cells) | **GET** /cells/{name}/worksheets/{sheetName}/cells | Get cells info.
@@ -226,6 +227,63 @@ No authorization required
226
227
 
227
228
 
228
229
 
230
+ # **cells_get_cell_html_string**
231
+ > Object cells_get_cell_html_string(name, sheet_name, cell_name, opts)
232
+
233
+ Read cell data by cell's name.
234
+
235
+ ### Example
236
+ ```ruby
237
+ # load the gem
238
+ require 'aspose_cells_cloud'
239
+
240
+ api_instance = AsposeCellsCloud::CellsApi.new
241
+
242
+ name = "name_example" # String | Document name.
243
+
244
+ sheet_name = "sheet_name_example" # String | Worksheet name.
245
+
246
+ cell_name = "cell_name_example" # String | The cell's name.
247
+
248
+ opts = {
249
+ folder: "folder_example", # String | Document's folder.
250
+ storage: "storage_example" # String | storage name.
251
+ }
252
+
253
+ begin
254
+ #Read cell data by cell's name.
255
+ result = api_instance.cells_get_cell_html_string(name, sheet_name, cell_name, opts)
256
+ p result
257
+ rescue AsposeCellsCloud::ApiError => e
258
+ puts "Exception when calling CellsApi->cells_get_cell_html_string: #{e}"
259
+ end
260
+ ```
261
+
262
+ ### Parameters
263
+
264
+ Name | Type | Description | Notes
265
+ ------------- | ------------- | ------------- | -------------
266
+ **name** | **String**| Document name. |
267
+ **sheet_name** | **String**| Worksheet name. |
268
+ **cell_name** | **String**| The cell's name. |
269
+ **folder** | **String**| Document's folder. | [optional]
270
+ **storage** | **String**| storage name. | [optional]
271
+
272
+ ### Return type
273
+
274
+ **Object**
275
+
276
+ ### Authorization
277
+
278
+ No authorization required
279
+
280
+ ### HTTP request headers
281
+
282
+ - **Content-Type**: application/json
283
+ - **Accept**: application/json
284
+
285
+
286
+
229
287
  # **cells_get_worksheet_cell**
230
288
  > Object cells_get_worksheet_cell(name, sheet_name, cell_or_method_name, opts)
231
289
 
@@ -1275,7 +1275,7 @@ No authorization required
1275
1275
 
1276
1276
 
1277
1277
  # **cells_workbook_put_convert_workbook**
1278
- > File cells_workbook_put_convert_workbook(opts)
1278
+ > File cells_workbook_put_convert_workbook(workbook, opts)
1279
1279
 
1280
1280
  Convert workbook from request content to some format.
1281
1281
 
@@ -1286,6 +1286,8 @@ require 'aspose_cells_cloud'
1286
1286
 
1287
1287
  api_instance = AsposeCellsCloud::CellsWorkbookApi.new
1288
1288
 
1289
+ workbook = "B" # String |
1290
+
1289
1291
  opts = {
1290
1292
  format: "format_example", # String | The format to convert.
1291
1293
  password: "password_example", # String | The workbook password.
@@ -1294,7 +1296,7 @@ opts = {
1294
1296
 
1295
1297
  begin
1296
1298
  #Convert workbook from request content to some format.
1297
- result = api_instance.cells_workbook_put_convert_workbook(opts)
1299
+ result = api_instance.cells_workbook_put_convert_workbook(workbook, opts)
1298
1300
  p result
1299
1301
  rescue AsposeCellsCloud::ApiError => e
1300
1302
  puts "Exception when calling CellsWorkbookApi->cells_workbook_put_convert_workbook: #{e}"
@@ -1305,6 +1307,7 @@ end
1305
1307
 
1306
1308
  Name | Type | Description | Notes
1307
1309
  ------------- | ------------- | ------------- | -------------
1310
+ **workbook** | **String**| |
1308
1311
  **format** | **String**| The format to convert. | [optional]
1309
1312
  **password** | **String**| The workbook password. | [optional]
1310
1313
  **out_path** | **String**| Path to save result | [optional]
@@ -0,0 +1,27 @@
1
+ # AsposeCellsCloud::HtmlSaveOptions
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **enable_http_compression** | **BOOLEAN** | | [optional]
7
+ **save_format** | **String** | | [optional]
8
+ **clear_data** | **BOOLEAN** | Make the workbook empty after saving the file. | [optional]
9
+ **cached_file_folder** | **String** | The cached file folder is used to store some large data. | [optional]
10
+ **validate_merged_areas** | **BOOLEAN** | Indicates whether validate merged areas before saving the file. The default value is false. | [optional]
11
+ **refresh_chart_cache** | **BOOLEAN** | | [optional]
12
+ **create_directory** | **BOOLEAN** | If true and the directory does not exist, the directory will be automatically created before saving the file. | [optional]
13
+ **sort_names** | **BOOLEAN** | | [optional]
14
+ **attached_files_directory** | **String** | | [optional]
15
+ **attached_files_url_prefix** | **String** | | [optional]
16
+ **encoding** | **String** | | [optional]
17
+ **export_active_worksheet_only** | **BOOLEAN** | | [optional]
18
+ **export_chart_image_format** | **String** | | [optional]
19
+ **export_images_as_base64** | **BOOLEAN** | | [optional]
20
+ **hidden_col_display_type** | **String** | | [optional]
21
+ **hidden_row_display_type** | **String** | | [optional]
22
+ **html_cross_string_type** | **String** | | [optional]
23
+ **is_exp_image_to_temp_dir** | **BOOLEAN** | | [optional]
24
+ **page_title** | **String** | | [optional]
25
+ **parse_html_tag_in_cell** | **BOOLEAN** | | [optional]
26
+
27
+
@@ -0,0 +1,27 @@
1
+ # AsposeCellsCloud::MHtmlSaveOptions
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **enable_http_compression** | **BOOLEAN** | | [optional]
7
+ **save_format** | **String** | | [optional]
8
+ **clear_data** | **BOOLEAN** | Make the workbook empty after saving the file. | [optional]
9
+ **cached_file_folder** | **String** | The cached file folder is used to store some large data. | [optional]
10
+ **validate_merged_areas** | **BOOLEAN** | Indicates whether validate merged areas before saving the file. The default value is false. | [optional]
11
+ **refresh_chart_cache** | **BOOLEAN** | | [optional]
12
+ **create_directory** | **BOOLEAN** | If true and the directory does not exist, the directory will be automatically created before saving the file. | [optional]
13
+ **sort_names** | **BOOLEAN** | | [optional]
14
+ **attached_files_directory** | **String** | | [optional]
15
+ **attached_files_url_prefix** | **String** | | [optional]
16
+ **encoding** | **String** | | [optional]
17
+ **export_active_worksheet_only** | **BOOLEAN** | | [optional]
18
+ **export_chart_image_format** | **String** | | [optional]
19
+ **export_images_as_base64** | **BOOLEAN** | | [optional]
20
+ **hidden_col_display_type** | **String** | | [optional]
21
+ **hidden_row_display_type** | **String** | | [optional]
22
+ **html_cross_string_type** | **String** | | [optional]
23
+ **is_exp_image_to_temp_dir** | **BOOLEAN** | | [optional]
24
+ **page_title** | **String** | | [optional]
25
+ **parse_html_tag_in_cell** | **BOOLEAN** | | [optional]
26
+
27
+
@@ -0,0 +1,18 @@
1
+ # AsposeCellsCloud::MarkdownSaveOptions
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **enable_http_compression** | **BOOLEAN** | | [optional]
7
+ **save_format** | **String** | | [optional]
8
+ **clear_data** | **BOOLEAN** | Make the workbook empty after saving the file. | [optional]
9
+ **cached_file_folder** | **String** | The cached file folder is used to store some large data. | [optional]
10
+ **validate_merged_areas** | **BOOLEAN** | Indicates whether validate merged areas before saving the file. The default value is false. | [optional]
11
+ **refresh_chart_cache** | **BOOLEAN** | | [optional]
12
+ **create_directory** | **BOOLEAN** | If true and the directory does not exist, the directory will be automatically created before saving the file. | [optional]
13
+ **sort_names** | **BOOLEAN** | | [optional]
14
+ **encoding** | **String** | | [optional]
15
+ **format_strategy** | **String** | | [optional]
16
+ **line_separator** | **String** | | [optional]
17
+
18
+
@@ -162,6 +162,7 @@ require 'aspose_cells_cloud/models/list_object_response'
162
162
  require 'aspose_cells_cloud/models/list_objects'
163
163
  require 'aspose_cells_cloud/models/list_objects_response'
164
164
  require 'aspose_cells_cloud/models/m_html_save_options'
165
+ require 'aspose_cells_cloud/models/markdown_save_options'
165
166
  require 'aspose_cells_cloud/models/merged_cell'
166
167
  require 'aspose_cells_cloud/models/merged_cell_response'
167
168
  require 'aspose_cells_cloud/models/merged_cells'
@@ -0,0 +1,282 @@
1
+ =begin
2
+ #Web API Swagger specification
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module AsposeCellsCloud
16
+
17
+ class MarkdownSaveOptions
18
+ attr_accessor :enable_http_compression
19
+
20
+ attr_accessor :save_format
21
+
22
+ # Make the workbook empty after saving the file.
23
+ attr_accessor :clear_data
24
+
25
+ # The cached file folder is used to store some large data.
26
+ attr_accessor :cached_file_folder
27
+
28
+ # Indicates whether validate merged areas before saving the file. The default value is false.
29
+ attr_accessor :validate_merged_areas
30
+
31
+ attr_accessor :refresh_chart_cache
32
+
33
+ # If true and the directory does not exist, the directory will be automatically created before saving the file.
34
+ attr_accessor :create_directory
35
+
36
+ attr_accessor :sort_names
37
+
38
+ attr_accessor :encoding
39
+
40
+ attr_accessor :format_strategy
41
+
42
+ attr_accessor :line_separator
43
+
44
+
45
+ # Attribute mapping from ruby-style variable name to JSON key.
46
+ def self.attribute_map
47
+ {
48
+ :'enable_http_compression' => :'EnableHTTPCompression',
49
+ :'save_format' => :'SaveFormat',
50
+ :'clear_data' => :'ClearData',
51
+ :'cached_file_folder' => :'CachedFileFolder',
52
+ :'validate_merged_areas' => :'ValidateMergedAreas',
53
+ :'refresh_chart_cache' => :'RefreshChartCache',
54
+ :'create_directory' => :'CreateDirectory',
55
+ :'sort_names' => :'SortNames',
56
+ :'encoding' => :'Encoding',
57
+ :'format_strategy' => :'FormatStrategy',
58
+ :'line_separator' => :'LineSeparator'
59
+ }
60
+ end
61
+
62
+ # Attribute type mapping.
63
+ def self.swagger_types
64
+ {
65
+ :'enable_http_compression' => :'BOOLEAN',
66
+ :'save_format' => :'String',
67
+ :'clear_data' => :'BOOLEAN',
68
+ :'cached_file_folder' => :'String',
69
+ :'validate_merged_areas' => :'BOOLEAN',
70
+ :'refresh_chart_cache' => :'BOOLEAN',
71
+ :'create_directory' => :'BOOLEAN',
72
+ :'sort_names' => :'BOOLEAN',
73
+ :'encoding' => :'String',
74
+ :'format_strategy' => :'String',
75
+ :'line_separator' => :'String'
76
+ }
77
+ end
78
+
79
+ # Initializes the object
80
+ # @param [Hash] attributes Model attributes in the form of hash
81
+ def initialize(attributes = {})
82
+ return unless attributes.is_a?(Hash)
83
+
84
+ # convert string to symbol for hash key
85
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
86
+
87
+ if attributes.has_key?(:'EnableHTTPCompression')
88
+ self.enable_http_compression = attributes[:'EnableHTTPCompression']
89
+ end
90
+
91
+ if attributes.has_key?(:'SaveFormat')
92
+ self.save_format = attributes[:'SaveFormat']
93
+ end
94
+
95
+ if attributes.has_key?(:'ClearData')
96
+ self.clear_data = attributes[:'ClearData']
97
+ end
98
+
99
+ if attributes.has_key?(:'CachedFileFolder')
100
+ self.cached_file_folder = attributes[:'CachedFileFolder']
101
+ end
102
+
103
+ if attributes.has_key?(:'ValidateMergedAreas')
104
+ self.validate_merged_areas = attributes[:'ValidateMergedAreas']
105
+ end
106
+
107
+ if attributes.has_key?(:'RefreshChartCache')
108
+ self.refresh_chart_cache = attributes[:'RefreshChartCache']
109
+ end
110
+
111
+ if attributes.has_key?(:'CreateDirectory')
112
+ self.create_directory = attributes[:'CreateDirectory']
113
+ end
114
+
115
+ if attributes.has_key?(:'SortNames')
116
+ self.sort_names = attributes[:'SortNames']
117
+ end
118
+
119
+ if attributes.has_key?(:'Encoding')
120
+ self.encoding = attributes[:'Encoding']
121
+ end
122
+
123
+ if attributes.has_key?(:'FormatStrategy')
124
+ self.format_strategy = attributes[:'FormatStrategy']
125
+ end
126
+
127
+ if attributes.has_key?(:'LineSeparator')
128
+ self.line_separator = attributes[:'LineSeparator']
129
+ end
130
+
131
+ end
132
+
133
+ # Show invalid properties with the reasons. Usually used together with valid?
134
+ # @return Array for valid properies with the reasons
135
+ def list_invalid_properties
136
+ invalid_properties = Array.new
137
+ return invalid_properties
138
+ end
139
+
140
+ # Check to see if the all the properties in the model are valid
141
+ # @return true if the model is valid
142
+ def valid?
143
+ return true
144
+ end
145
+
146
+ # Checks equality by comparing each attribute.
147
+ # @param [Object] Object to be compared
148
+ def ==(o)
149
+ return true if self.equal?(o)
150
+ self.class == o.class &&
151
+ enable_http_compression == o.enable_http_compression &&
152
+ save_format == o.save_format &&
153
+ clear_data == o.clear_data &&
154
+ cached_file_folder == o.cached_file_folder &&
155
+ validate_merged_areas == o.validate_merged_areas &&
156
+ refresh_chart_cache == o.refresh_chart_cache &&
157
+ create_directory == o.create_directory &&
158
+ sort_names == o.sort_names &&
159
+ encoding == o.encoding &&
160
+ format_strategy == o.format_strategy &&
161
+ line_separator == o.line_separator
162
+ end
163
+
164
+ # @see the `==` method
165
+ # @param [Object] Object to be compared
166
+ def eql?(o)
167
+ self == o
168
+ end
169
+
170
+ # Calculates hash code according to all attributes.
171
+ # @return [Fixnum] Hash code
172
+ def hash
173
+ [enable_http_compression, save_format, clear_data, cached_file_folder, validate_merged_areas, refresh_chart_cache, create_directory, sort_names, encoding, format_strategy, line_separator].hash
174
+ end
175
+
176
+ # Builds the object from hash
177
+ # @param [Hash] attributes Model attributes in the form of hash
178
+ # @return [Object] Returns the model itself
179
+ def build_from_hash(attributes)
180
+ return nil unless attributes.is_a?(Hash)
181
+ self.class.swagger_types.each_pair do |key, type|
182
+ if type =~ /\AArray<(.*)>/i
183
+ # check to ensure the input is an array given that the the attribute
184
+ # is documented as an array but the input is not
185
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
186
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
187
+ end
188
+ elsif !attributes[self.class.attribute_map[key]].nil?
189
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
190
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
191
+ end
192
+
193
+ self
194
+ end
195
+
196
+ # Deserializes the data based on type
197
+ # @param string type Data type
198
+ # @param string value Value to be deserialized
199
+ # @return [Object] Deserialized data
200
+ def _deserialize(type, value)
201
+ case type.to_sym
202
+ when :DateTime
203
+ DateTime.parse(value)
204
+ when :Date
205
+ Date.parse(value)
206
+ when :String
207
+ value.to_s
208
+ when :Integer
209
+ value.to_i
210
+ when :Float
211
+ value.to_f
212
+ when :BOOLEAN
213
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
214
+ true
215
+ else
216
+ false
217
+ end
218
+ when :Object
219
+ # generic object (usually a Hash), return directly
220
+ value
221
+ when /\AArray<(?<inner_type>.+)>\z/
222
+ inner_type = Regexp.last_match[:inner_type]
223
+ value.map { |v| _deserialize(inner_type, v) }
224
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
225
+ k_type = Regexp.last_match[:k_type]
226
+ v_type = Regexp.last_match[:v_type]
227
+ {}.tap do |hash|
228
+ value.each do |k, v|
229
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
230
+ end
231
+ end
232
+ else # model
233
+ temp_model = AsposeCellsCloud.const_get(type).new
234
+ temp_model.build_from_hash(value)
235
+ end
236
+ end
237
+
238
+ # Returns the string representation of the object
239
+ # @return [String] String presentation of the object
240
+ def to_s
241
+ to_hash.to_s
242
+ end
243
+
244
+ # to_body is an alias to to_hash (backward compatibility)
245
+ # @return [Hash] Returns the object in the form of hash
246
+ def to_body
247
+ to_hash
248
+ end
249
+
250
+ # Returns the object in the form of hash
251
+ # @return [Hash] Returns the object in the form of hash
252
+ def to_hash
253
+ hash = {}
254
+ self.class.attribute_map.each_pair do |attr, param|
255
+ value = self.send(attr)
256
+ next if value.nil?
257
+ hash[param] = _to_hash(value)
258
+ end
259
+ hash
260
+ end
261
+
262
+ # Outputs non-array value in the form of hash
263
+ # For object, use to_hash. Otherwise, just return the value
264
+ # @param [Object] value Any valid value
265
+ # @return [Hash] Returns the value in the form of hash
266
+ def _to_hash(value)
267
+ if value.is_a?(Array)
268
+ value.compact.map{ |v| _to_hash(v) }
269
+ elsif value.is_a?(Hash)
270
+ {}.tap do |hash|
271
+ value.each { |k, v| hash[k] = _to_hash(v) }
272
+ end
273
+ elsif value.respond_to? :to_hash
274
+ value.to_hash
275
+ else
276
+ value
277
+ end
278
+ end
279
+
280
+ end
281
+
282
+ end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.3.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module AsposeCellsCloud
14
- VERSION = "19.2.1"
14
+ VERSION = "19.6"
15
15
  end
@@ -68,5 +68,30 @@ describe 'CellsSaveAsApi' do
68
68
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
69
69
  end
70
70
  end
71
-
71
+
72
+ # unit tests for cells_save_as_post_document_save_as
73
+ # Convert document and save result to storage.
74
+ #
75
+ # @param name The document name.
76
+ # @param [Hash] opts the optional parameters
77
+ # @option opts [SaveOptions] :save_options Save options.
78
+ # @option opts [String] :newfilename The new file name.
79
+ # @option opts [BOOLEAN] :is_auto_fit_rows Autofit rows.
80
+ # @option opts [BOOLEAN] :is_auto_fit_columns Autofit columns.
81
+ # @option opts [String] :folder The document folder.
82
+ # @option opts [String] :storage storage name.
83
+ # @return [SaveResponse]
84
+ describe 'cells_save_as_post_document_save_as md format test' do
85
+ it "should work" do
86
+ name = $BOOK1
87
+ save_options = nil
88
+ newfilename = 'newbook.xls.md'
89
+ is_auto_fit_rows = true
90
+ is_auto_fit_columns = true
91
+ folder = $TEMPFOLDER
92
+
93
+ @instance.cells_save_as_post_document_save_as(name, { :save_options=>save_options, :newfilename=>newfilename, :is_auto_fit_rows=>is_auto_fit_rows, :is_auto_fit_columns=>is_auto_fit_columns, :folder=>folder})
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
72
97
  end
@@ -70,6 +70,34 @@ describe 'CellsWorkbookApi' do
70
70
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
71
  end
72
72
  end
73
+
74
+ # unit tests for cells_workbook_get_workbook
75
+ # Read workbook info or export.
76
+ #
77
+ # @param name The document name.
78
+ # @param [Hash] opts the optional parameters
79
+ # @option opts [String] :password The document password.
80
+ # @option opts [String] :format The exported file format.
81
+ # @option opts [BOOLEAN] :is_auto_fit Set document rows to be autofit.
82
+ # @option opts [BOOLEAN] :only_save_table Only save table data.
83
+ # @option opts [String] :folder The document folder.
84
+ # @option opts [String] :storage storage name.
85
+ # @option opts [String] :out_path The document output folder.
86
+ # @return [File]
87
+ describe 'cells_workbook_get_workbook MD test' do
88
+ it "should work" do
89
+ name = $BOOK1
90
+ password = nil
91
+ format = 'md'
92
+ is_auto_fit = true
93
+ only_save_table = true
94
+ folder = $TEMPFOLDER
95
+
96
+ out_path = nil
97
+ @instance.cells_workbook_get_workbook(name, { :password=>password, :format=>format,:folder=>folder, :out_path=>out_path})
98
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
99
+ end
100
+ end
73
101
 
74
102
  # unit tests for cells_workbook_get_workbook_default_style
75
103
  # Read workbook default style info.
@@ -0,0 +1,102 @@
1
+ =begin
2
+ #Web API Swagger specification
3
+
4
+ #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
+
6
+ OpenAPI spec version: 1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for AsposeCellsCloud::MarkdownSaveOptions
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'MarkdownSaveOptions' do
21
+ before do
22
+ # run before each test
23
+ @instance = AsposeCellsCloud::MarkdownSaveOptions.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of MarkdownSaveOptions' do
31
+ it 'should create an instance of MarkdownSaveOptions' do
32
+ expect(@instance).to be_instance_of(AsposeCellsCloud::MarkdownSaveOptions)
33
+ end
34
+ end
35
+ describe 'test attribute "enable_http_compression"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "save_format"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "clear_data"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "cached_file_folder"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "validate_merged_areas"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "refresh_chart_cache"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "create_directory"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "sort_names"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "encoding"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "format_strategy"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "line_separator"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ end
102
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aspose_cells_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.2.1
4
+ version: '19.6'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aspose Cells Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-22 00:00:00.000000000 Z
11
+ date: 2019-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -202,6 +202,7 @@ files:
202
202
  - Rakefile
203
203
  - aspose_cells_cloud-18.11.1.gem
204
204
  - aspose_cells_cloud-18.11.gem
205
+ - aspose_cells_cloud-19.2.1.gem
205
206
  - aspose_cells_cloud-19.2.gem
206
207
  - aspose_cells_cloud.gemspec
207
208
  - docs/AboveAverage.md
@@ -297,6 +298,7 @@ files:
297
298
  - docs/HorizontalPageBreakResponse.md
298
299
  - docs/HorizontalPageBreaks.md
299
300
  - docs/HorizontalPageBreaksResponse.md
301
+ - docs/HtmlSaveOptions.md
300
302
  - docs/Hyperlink.md
301
303
  - docs/HyperlinkResponse.md
302
304
  - docs/Hyperlinks.md
@@ -324,6 +326,8 @@ files:
324
326
  - docs/ListObjectResponse.md
325
327
  - docs/ListObjects.md
326
328
  - docs/ListObjectsResponse.md
329
+ - docs/MHtmlSaveOptions.md
330
+ - docs/MarkdownSaveOptions.md
327
331
  - docs/MergedCell.md
328
332
  - docs/MergedCellResponse.md
329
333
  - docs/MergedCells.md
@@ -580,6 +584,7 @@ files:
580
584
  - lib/aspose_cells_cloud/models/list_objects.rb
581
585
  - lib/aspose_cells_cloud/models/list_objects_response.rb
582
586
  - lib/aspose_cells_cloud/models/m_html_save_options.rb
587
+ - lib/aspose_cells_cloud/models/markdown_save_options.rb
583
588
  - lib/aspose_cells_cloud/models/merged_cell.rb
584
589
  - lib/aspose_cells_cloud/models/merged_cell_response.rb
585
590
  - lib/aspose_cells_cloud/models/merged_cells.rb
@@ -834,6 +839,7 @@ files:
834
839
  - spec/models/list_objects_response_spec.rb
835
840
  - spec/models/list_objects_spec.rb
836
841
  - spec/models/m_html_save_options_spec.rb
842
+ - spec/models/markdown_save_options_spec.rb
837
843
  - spec/models/merged_cell_response_spec.rb
838
844
  - spec/models/merged_cell_spec.rb
839
845
  - spec/models/merged_cells_response_spec.rb
@@ -1241,4 +1247,5 @@ test_files:
1241
1247
  - spec/models/xps_save_options_spec.rb
1242
1248
  - spec/models/html_save_options_spec.rb
1243
1249
  - spec/models/m_html_save_options_spec.rb
1250
+ - spec/models/markdown_save_options_spec.rb
1244
1251
  - spec/spec_helper.rb