aspose_cells_cloud 25.2 → 25.3

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.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -9
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +51 -0
  4. data/lib/aspose_cells_cloud/models/chart_points.rb +1 -1
  5. data/lib/aspose_cells_cloud/models/charts.rb +1 -1
  6. data/lib/aspose_cells_cloud/models/convert_workbook_options.rb +282 -0
  7. data/lib/aspose_cells_cloud/models/data_cleansing.rb +1 -1
  8. data/lib/aspose_cells_cloud/models/dif_save_options.rb +64 -4
  9. data/lib/aspose_cells_cloud/models/docx_save_options.rb +28 -4
  10. data/lib/aspose_cells_cloud/models/files_result.rb +1 -1
  11. data/lib/aspose_cells_cloud/models/html_save_options.rb +64 -4
  12. data/lib/aspose_cells_cloud/models/image_save_options.rb +64 -4
  13. data/lib/aspose_cells_cloud/models/json_save_options.rb +64 -4
  14. data/lib/aspose_cells_cloud/models/m_html_save_options.rb +392 -8
  15. data/lib/aspose_cells_cloud/models/markdown_save_options.rb +64 -4
  16. data/lib/aspose_cells_cloud/models/ods_save_options.rb +100 -4
  17. data/lib/aspose_cells_cloud/models/ooxml_save_options.rb +64 -4
  18. data/lib/aspose_cells_cloud/models/page_sections_response.rb +1 -1
  19. data/lib/aspose_cells_cloud/models/paginated_save_options.rb +28 -4
  20. data/lib/aspose_cells_cloud/models/pdf_save_options.rb +64 -4
  21. data/lib/aspose_cells_cloud/models/pptx_save_options.rb +28 -4
  22. data/lib/aspose_cells_cloud/models/save_files_to_cloud_result.rb +1 -1
  23. data/lib/aspose_cells_cloud/models/save_options.rb +64 -4
  24. data/lib/aspose_cells_cloud/models/shapes.rb +1 -1
  25. data/lib/aspose_cells_cloud/models/specify_cells_object.rb +234 -0
  26. data/lib/aspose_cells_cloud/models/spreadsheet_m_l2003_save_options.rb +64 -4
  27. data/lib/aspose_cells_cloud/models/sql_script_save_options.rb +64 -4
  28. data/lib/aspose_cells_cloud/models/styles.rb +1 -1
  29. data/lib/aspose_cells_cloud/models/styles_response.rb +234 -0
  30. data/lib/aspose_cells_cloud/models/svg_save_options.rb +208 -4
  31. data/lib/aspose_cells_cloud/models/txt_save_options.rb +64 -4
  32. data/lib/aspose_cells_cloud/models/workbook.rb +1 -1
  33. data/lib/aspose_cells_cloud/models/xls_save_options.rb +88 -4
  34. data/lib/aspose_cells_cloud/models/xlsb_save_options.rb +88 -4
  35. data/lib/aspose_cells_cloud/models/xps_save_options.rb +28 -4
  36. data/lib/aspose_cells_cloud/requests/add_picture_in_cell_request.rb +149 -0
  37. data/lib/aspose_cells_cloud/requests/get_all_styles_request.rb +117 -0
  38. data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +103 -0
  39. data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_to_image_request.rb +1 -1
  40. data/lib/aspose_cells_cloud/version.rb +1 -1
  41. data/lib/aspose_cells_cloud.rb +6 -0
  42. data/spec/conversion/conversion_json_spec.rb +0 -21
  43. data/spec/conversion/conversion_png_spec.rb +0 -21
  44. data/spec/conversion/conversion_spec.rb +0 -81
  45. data/spec/document/light_cells_spec.rb +0 -98
  46. metadata +8 -2
@@ -75,6 +75,16 @@ module AsposeCellsCloud
75
75
  attr_accessor :sort_names
76
76
  #
77
77
  attr_accessor :validate_merged_areas
78
+ #
79
+ attr_accessor :merge_areas
80
+ #
81
+ attr_accessor :sort_external_names
82
+ #
83
+ attr_accessor :check_excel_restriction
84
+ #
85
+ attr_accessor :update_smart_art
86
+ #
87
+ attr_accessor :encrypt_document_properties
78
88
 
79
89
  # Attribute mapping from ruby-style variable name to JSON key.
80
90
  def self.attribute_map
@@ -100,7 +110,12 @@ module AsposeCellsCloud
100
110
  :'enable_http_compression' => :'EnableHTTPCompression',
101
111
  :'refresh_chart_cache' => :'RefreshChartCache',
102
112
  :'sort_names' => :'SortNames',
103
- :'validate_merged_areas' => :'ValidateMergedAreas'
113
+ :'validate_merged_areas' => :'ValidateMergedAreas',
114
+ :'merge_areas' => :'MergeAreas',
115
+ :'sort_external_names' => :'SortExternalNames',
116
+ :'check_excel_restriction' => :'CheckExcelRestriction',
117
+ :'update_smart_art' => :'UpdateSmartArt',
118
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
104
119
  }
105
120
  end
106
121
 
@@ -128,7 +143,12 @@ module AsposeCellsCloud
128
143
  :'enable_http_compression' => :'BOOLEAN',
129
144
  :'refresh_chart_cache' => :'BOOLEAN',
130
145
  :'sort_names' => :'BOOLEAN',
131
- :'validate_merged_areas' => :'BOOLEAN'
146
+ :'validate_merged_areas' => :'BOOLEAN',
147
+ :'merge_areas' => :'BOOLEAN',
148
+ :'sort_external_names' => :'BOOLEAN',
149
+ :'check_excel_restriction' => :'BOOLEAN',
150
+ :'update_smart_art' => :'BOOLEAN',
151
+ :'encrypt_document_properties' => :'BOOLEAN'
132
152
  }
133
153
  end
134
154
 
@@ -206,6 +226,21 @@ module AsposeCellsCloud
206
226
  if attributes.has_key?(:'ValidateMergedAreas')
207
227
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
208
228
  end
229
+ if attributes.has_key?(:'MergeAreas')
230
+ self.merge_areas = attributes[:'MergeAreas']
231
+ end
232
+ if attributes.has_key?(:'SortExternalNames')
233
+ self.sort_external_names = attributes[:'SortExternalNames']
234
+ end
235
+ if attributes.has_key?(:'CheckExcelRestriction')
236
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
237
+ end
238
+ if attributes.has_key?(:'UpdateSmartArt')
239
+ self.update_smart_art = attributes[:'UpdateSmartArt']
240
+ end
241
+ if attributes.has_key?(:'EncryptDocumentProperties')
242
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
243
+ end
209
244
 
210
245
  end
211
246
 
@@ -279,6 +314,21 @@ module AsposeCellsCloud
279
314
  if @validate_merged_areas.nil?
280
315
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
281
316
  end
317
+ if @merge_areas.nil?
318
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
319
+ end
320
+ if @sort_external_names.nil?
321
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
322
+ end
323
+ if @check_excel_restriction.nil?
324
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
325
+ end
326
+ if @update_smart_art.nil?
327
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
328
+ end
329
+ if @encrypt_document_properties.nil?
330
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
331
+ end
282
332
 
283
333
  return invalid_properties
284
334
  end
@@ -308,6 +358,11 @@ module AsposeCellsCloud
308
358
  return false if @refresh_chart_cache.nil?
309
359
  return false if @sort_names.nil?
310
360
  return false if @validate_merged_areas.nil?
361
+ return false if @merge_areas.nil?
362
+ return false if @sort_external_names.nil?
363
+ return false if @check_excel_restriction.nil?
364
+ return false if @update_smart_art.nil?
365
+ return false if @encrypt_document_properties.nil?
311
366
  return true
312
367
  end
313
368
 
@@ -337,7 +392,12 @@ module AsposeCellsCloud
337
392
  enable_http_compression == o.enable_http_compression &&
338
393
  refresh_chart_cache == o.refresh_chart_cache &&
339
394
  sort_names == o.sort_names &&
340
- validate_merged_areas == o.validate_merged_areas
395
+ validate_merged_areas == o.validate_merged_areas &&
396
+ merge_areas == o.merge_areas &&
397
+ sort_external_names == o.sort_external_names &&
398
+ check_excel_restriction == o.check_excel_restriction &&
399
+ update_smart_art == o.update_smart_art &&
400
+ encrypt_document_properties == o.encrypt_document_properties
341
401
  std_dev == o.std_dev
342
402
  end
343
403
 
@@ -350,7 +410,7 @@ module AsposeCellsCloud
350
410
  # Calculates hash code according to all attributes.
351
411
  # @return [Fixnum] Hash code
352
412
  def hash
353
- [ check_if_table_exists , column_type_map , check_all_data_for_column_type , add_blank_line_between_rows , separator , operator_type , primary_key , create_table , id_name , start_id , table_name , export_as_string , export_area , has_header_row , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
413
+ [ check_if_table_exists , column_type_map , check_all_data_for_column_type , add_blank_line_between_rows , separator , operator_type , primary_key , create_table , id_name , start_id , table_name , export_as_string , export_area , has_header_row , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas , merge_areas , sort_external_names , check_excel_restriction , update_smart_art , encrypt_document_properties ].hash
354
414
  end
355
415
 
356
416
  # Builds the object from hash
@@ -47,7 +47,7 @@ module AsposeCellsCloud
47
47
  # Attribute type mapping.
48
48
  def self.swagger_types
49
49
  {
50
- :'style_list' => :'Array<LinkElement>',
50
+ :'style_list' => :'Array<Style>',
51
51
  :'link' => :'Link'
52
52
  }
53
53
  end
@@ -0,0 +1,234 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="StylesResponserb.cs">
4
+ Copyright (c) 2025 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class StylesResponse
34
+ #collection of styles.
35
+ attr_accessor :styles
36
+ #
37
+ attr_accessor :code
38
+ #
39
+ attr_accessor :status
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+ :'styles' => :'Styles',
45
+ :'code' => :'Code',
46
+ :'status' => :'Status'
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'styles' => :'Styles',
54
+ :'code' => :'Integer',
55
+ :'status' => :'String'
56
+ }
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ return unless attributes.is_a?(Hash)
63
+
64
+ # convert string to symbol for hash key
65
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
66
+
67
+ if attributes.has_key?(:'Styles')
68
+ self.styles = attributes[:'Styles']
69
+ end
70
+ if attributes.has_key?(:'Code')
71
+ self.code = attributes[:'Code']
72
+ end
73
+ if attributes.has_key?(:'Status')
74
+ self.status = attributes[:'Status']
75
+ end
76
+
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properies with the reasons
81
+ def list_invalid_properties
82
+ invalid_properties = Array.new
83
+ if @styles.nil?
84
+ invalid_properties.push("invalid value for 'styles', styles cannot be nil.")
85
+ end
86
+ if @code.nil?
87
+ invalid_properties.push("invalid value for 'code', code cannot be nil.")
88
+ end
89
+ if @status.nil?
90
+ invalid_properties.push("invalid value for 'status', status cannot be nil.")
91
+ end
92
+
93
+ return invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ return false if @styles.nil?
100
+ return false if @code.nil?
101
+ return false if @status.nil?
102
+ return true
103
+ end
104
+
105
+ # Checks equality by comparing each attribute.
106
+ # @param [Object] Object to be compared
107
+ def ==(o)
108
+ return true if self.equal?(o)
109
+ self.class == o.class &&
110
+ styles == o.styles &&
111
+ code == o.code &&
112
+ status == o.status
113
+ std_dev == o.std_dev
114
+ end
115
+
116
+ # @see the `==` method
117
+ # @param [Object] Object to be compared
118
+ def eql?(o)
119
+ self == o
120
+ end
121
+
122
+ # Calculates hash code according to all attributes.
123
+ # @return [Fixnum] Hash code
124
+ def hash
125
+ [ styles , code , status ].hash
126
+ end
127
+
128
+ # Builds the object from hash
129
+ # @param [Hash] attributes Model attributes in the form of hash
130
+ # @return [Object] Returns the model itself
131
+ def build_from_hash(attributes)
132
+ return nil unless attributes.is_a?(Hash)
133
+ self.class.swagger_types.each_pair do |key, type|
134
+ if type =~ /\AArray<(.*)>/i
135
+ # check to ensure the input is an array given that the the attribute
136
+ # is documented as an array but the input is not
137
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
138
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
139
+ end
140
+ elsif !attributes[self.class.attribute_map[key]].nil?
141
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
142
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
143
+ end
144
+
145
+ self
146
+ end
147
+
148
+ # Deserializes the data based on type
149
+ # @param string type Data type
150
+ # @param string value Value to be deserialized
151
+ # @return [Object] Deserialized data
152
+ def _deserialize(type, value)
153
+ case type.to_sym
154
+ when :DateTime
155
+ DateTime.parse(value)
156
+ when :Date
157
+ Date.parse(value)
158
+ when :String
159
+ value.to_s
160
+ when :Integer
161
+ value.to_i
162
+ when :Float
163
+ value.to_f
164
+ when :BOOLEAN
165
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
166
+ true
167
+ else
168
+ false
169
+ end
170
+ when :Object
171
+ # generic object (usually a Hash), return directly
172
+ value
173
+ when /\AArray<(?<inner_type>.+)>\z/
174
+ inner_type = Regexp.last_match[:inner_type]
175
+ value.map { |v| _deserialize(inner_type, v) }
176
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
177
+ k_type = Regexp.last_match[:k_type]
178
+ v_type = Regexp.last_match[:v_type]
179
+ {}.tap do |hash|
180
+ value.each do |k, v|
181
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
182
+ end
183
+ end
184
+ else # model
185
+ temp_model = AsposeCellsCloud.const_get(type).new
186
+ temp_model.build_from_hash(value)
187
+ end
188
+ end
189
+
190
+ # Returns the string representation of the object
191
+ # @return [String] String presentation of the object
192
+ def to_s
193
+ to_hash.to_s
194
+ end
195
+
196
+ # to_body is an alias to to_hash (backward compatibility)
197
+ # @return [Hash] Returns the object in the form of hash
198
+ def to_body
199
+ to_hash
200
+ end
201
+
202
+ # Returns the object in the form of hash
203
+ # @return [Hash] Returns the object in the form of hash
204
+ def to_hash
205
+ hash = {}
206
+ self.class.attribute_map.each_pair do |attr, param|
207
+ value = self.send(attr)
208
+ next if value.nil?
209
+ hash[param] = _to_hash(value)
210
+ end
211
+ hash
212
+ end
213
+
214
+ # Outputs non-array value in the form of hash
215
+ # For object, use to_hash. Otherwise, just return the value
216
+ # @param [Object] value Any valid value
217
+ # @return [Hash] Returns the value in the form of hash
218
+ def _to_hash(value)
219
+ if value.is_a?(Array)
220
+ value.compact.map{ |v| _to_hash(v) }
221
+ elsif value.is_a?(Hash)
222
+ {}.tap do |hash|
223
+ value.each { |k, v| hash[k] = _to_hash(v) }
224
+ end
225
+ elsif value.respond_to? :to_hash
226
+ value.to_hash
227
+ else
228
+ value
229
+ end
230
+ end
231
+
232
+ end
233
+
234
+ end
@@ -33,6 +33,30 @@ module AsposeCellsCloud
33
33
  class SvgSaveOptions
34
34
  #Gets and sets which worksheet should be exported. If the value is -1, the active worksheet will be exported.
35
35
  attr_accessor :sheet_index
36
+ #Indicate the chart imagetype when converting.
37
+ attr_accessor :chart_image_type
38
+ #Indicate the filename of embeded image in svg. This should be full path with directory like "c:\\xpsEmbeded"
39
+ attr_accessor :embeded_image_name_in_svg
40
+ #Gets or sets the horizontal resolution for generated images, in dots per inch. Applies generating image method except Emf format images. The default value is 96.
41
+ attr_accessor :horizontal_resolution
42
+ #Gets or sets the format of the generated images. Don't apply the method that returns a Bitmap object. The default value is ImageFormat.Bmp. Don't apply the method that returns a Bitmap object.
43
+ attr_accessor :image_format
44
+ #Indicates whether the width and height of the cells is automatically fitted by cell value. The default value is false.
45
+ attr_accessor :is_cell_auto_fit
46
+ #If OnePagePerSheet is true , all content of one sheet will output to only one page in result. The paper size of pagesetup will be invalid, and the other settings of pagesetup will still take effect.
47
+ attr_accessor :one_page_per_sheet
48
+ #If this property is true , onle Area will be output, and no scale will take effect.
49
+ attr_accessor :only_area
50
+ #Indicates which pages will not be printed.
51
+ attr_accessor :printing_page
52
+ #If PrintWithStatusDialog = true , there will be a dialog that shows current print status. else no such dialog will show.
53
+ attr_accessor :print_with_status_dialog
54
+ #Gets or sets a value determining the quality of the generated images to apply only when saving pages to the Jpeg format. Has effect only when saving to JPEG. The value must be between 0 and 100. The default value is 100.
55
+ attr_accessor :quality
56
+ #Gets or sets the type of compression to apply only when saving pages to the Tiff format. Has effect only when saving to TIFF. The default value is Lzw.
57
+ attr_accessor :tiff_compression
58
+ #Gets or sets the vertical resolution for generated images, in dots per inch. Applies generating image method except Emf format image. The default value is 96.
59
+ attr_accessor :vertical_resolution
36
60
  #
37
61
  attr_accessor :save_format
38
62
  #
@@ -49,11 +73,33 @@ module AsposeCellsCloud
49
73
  attr_accessor :sort_names
50
74
  #
51
75
  attr_accessor :validate_merged_areas
76
+ #
77
+ attr_accessor :merge_areas
78
+ #
79
+ attr_accessor :sort_external_names
80
+ #
81
+ attr_accessor :check_excel_restriction
82
+ #
83
+ attr_accessor :update_smart_art
84
+ #
85
+ attr_accessor :encrypt_document_properties
52
86
 
53
87
  # Attribute mapping from ruby-style variable name to JSON key.
54
88
  def self.attribute_map
55
89
  {
56
90
  :'sheet_index' => :'SheetIndex',
91
+ :'chart_image_type' => :'ChartImageType',
92
+ :'embeded_image_name_in_svg' => :'EmbededImageNameInSvg',
93
+ :'horizontal_resolution' => :'HorizontalResolution',
94
+ :'image_format' => :'ImageFormat',
95
+ :'is_cell_auto_fit' => :'IsCellAutoFit',
96
+ :'one_page_per_sheet' => :'OnePagePerSheet',
97
+ :'only_area' => :'OnlyArea',
98
+ :'printing_page' => :'PrintingPage',
99
+ :'print_with_status_dialog' => :'PrintWithStatusDialog',
100
+ :'quality' => :'Quality',
101
+ :'tiff_compression' => :'TiffCompression',
102
+ :'vertical_resolution' => :'VerticalResolution',
57
103
  :'save_format' => :'SaveFormat',
58
104
  :'cached_file_folder' => :'CachedFileFolder',
59
105
  :'clear_data' => :'ClearData',
@@ -61,7 +107,12 @@ module AsposeCellsCloud
61
107
  :'enable_http_compression' => :'EnableHTTPCompression',
62
108
  :'refresh_chart_cache' => :'RefreshChartCache',
63
109
  :'sort_names' => :'SortNames',
64
- :'validate_merged_areas' => :'ValidateMergedAreas'
110
+ :'validate_merged_areas' => :'ValidateMergedAreas',
111
+ :'merge_areas' => :'MergeAreas',
112
+ :'sort_external_names' => :'SortExternalNames',
113
+ :'check_excel_restriction' => :'CheckExcelRestriction',
114
+ :'update_smart_art' => :'UpdateSmartArt',
115
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
65
116
  }
66
117
  end
67
118
 
@@ -69,6 +120,18 @@ module AsposeCellsCloud
69
120
  def self.swagger_types
70
121
  {
71
122
  :'sheet_index' => :'Integer',
123
+ :'chart_image_type' => :'String',
124
+ :'embeded_image_name_in_svg' => :'String',
125
+ :'horizontal_resolution' => :'Integer',
126
+ :'image_format' => :'String',
127
+ :'is_cell_auto_fit' => :'BOOLEAN',
128
+ :'one_page_per_sheet' => :'BOOLEAN',
129
+ :'only_area' => :'BOOLEAN',
130
+ :'printing_page' => :'String',
131
+ :'print_with_status_dialog' => :'BOOLEAN',
132
+ :'quality' => :'Integer',
133
+ :'tiff_compression' => :'String',
134
+ :'vertical_resolution' => :'Integer',
72
135
  :'save_format' => :'String',
73
136
  :'cached_file_folder' => :'String',
74
137
  :'clear_data' => :'BOOLEAN',
@@ -76,7 +139,12 @@ module AsposeCellsCloud
76
139
  :'enable_http_compression' => :'BOOLEAN',
77
140
  :'refresh_chart_cache' => :'BOOLEAN',
78
141
  :'sort_names' => :'BOOLEAN',
79
- :'validate_merged_areas' => :'BOOLEAN'
142
+ :'validate_merged_areas' => :'BOOLEAN',
143
+ :'merge_areas' => :'BOOLEAN',
144
+ :'sort_external_names' => :'BOOLEAN',
145
+ :'check_excel_restriction' => :'BOOLEAN',
146
+ :'update_smart_art' => :'BOOLEAN',
147
+ :'encrypt_document_properties' => :'BOOLEAN'
80
148
  }
81
149
  end
82
150
 
@@ -91,6 +159,42 @@ module AsposeCellsCloud
91
159
  if attributes.has_key?(:'SheetIndex')
92
160
  self.sheet_index = attributes[:'SheetIndex']
93
161
  end
162
+ if attributes.has_key?(:'ChartImageType')
163
+ self.chart_image_type = attributes[:'ChartImageType']
164
+ end
165
+ if attributes.has_key?(:'EmbededImageNameInSvg')
166
+ self.embeded_image_name_in_svg = attributes[:'EmbededImageNameInSvg']
167
+ end
168
+ if attributes.has_key?(:'HorizontalResolution')
169
+ self.horizontal_resolution = attributes[:'HorizontalResolution']
170
+ end
171
+ if attributes.has_key?(:'ImageFormat')
172
+ self.image_format = attributes[:'ImageFormat']
173
+ end
174
+ if attributes.has_key?(:'IsCellAutoFit')
175
+ self.is_cell_auto_fit = attributes[:'IsCellAutoFit']
176
+ end
177
+ if attributes.has_key?(:'OnePagePerSheet')
178
+ self.one_page_per_sheet = attributes[:'OnePagePerSheet']
179
+ end
180
+ if attributes.has_key?(:'OnlyArea')
181
+ self.only_area = attributes[:'OnlyArea']
182
+ end
183
+ if attributes.has_key?(:'PrintingPage')
184
+ self.printing_page = attributes[:'PrintingPage']
185
+ end
186
+ if attributes.has_key?(:'PrintWithStatusDialog')
187
+ self.print_with_status_dialog = attributes[:'PrintWithStatusDialog']
188
+ end
189
+ if attributes.has_key?(:'Quality')
190
+ self.quality = attributes[:'Quality']
191
+ end
192
+ if attributes.has_key?(:'TiffCompression')
193
+ self.tiff_compression = attributes[:'TiffCompression']
194
+ end
195
+ if attributes.has_key?(:'VerticalResolution')
196
+ self.vertical_resolution = attributes[:'VerticalResolution']
197
+ end
94
198
  if attributes.has_key?(:'SaveFormat')
95
199
  self.save_format = attributes[:'SaveFormat']
96
200
  end
@@ -115,6 +219,21 @@ module AsposeCellsCloud
115
219
  if attributes.has_key?(:'ValidateMergedAreas')
116
220
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
117
221
  end
222
+ if attributes.has_key?(:'MergeAreas')
223
+ self.merge_areas = attributes[:'MergeAreas']
224
+ end
225
+ if attributes.has_key?(:'SortExternalNames')
226
+ self.sort_external_names = attributes[:'SortExternalNames']
227
+ end
228
+ if attributes.has_key?(:'CheckExcelRestriction')
229
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
230
+ end
231
+ if attributes.has_key?(:'UpdateSmartArt')
232
+ self.update_smart_art = attributes[:'UpdateSmartArt']
233
+ end
234
+ if attributes.has_key?(:'EncryptDocumentProperties')
235
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
236
+ end
118
237
 
119
238
  end
120
239
 
@@ -125,6 +244,42 @@ module AsposeCellsCloud
125
244
  if @sheet_index.nil?
126
245
  invalid_properties.push("invalid value for 'sheet_index', sheet_index cannot be nil.")
127
246
  end
247
+ if @chart_image_type.nil?
248
+ invalid_properties.push("invalid value for 'chart_image_type', chart_image_type cannot be nil.")
249
+ end
250
+ if @embeded_image_name_in_svg.nil?
251
+ invalid_properties.push("invalid value for 'embeded_image_name_in_svg', embeded_image_name_in_svg cannot be nil.")
252
+ end
253
+ if @horizontal_resolution.nil?
254
+ invalid_properties.push("invalid value for 'horizontal_resolution', horizontal_resolution cannot be nil.")
255
+ end
256
+ if @image_format.nil?
257
+ invalid_properties.push("invalid value for 'image_format', image_format cannot be nil.")
258
+ end
259
+ if @is_cell_auto_fit.nil?
260
+ invalid_properties.push("invalid value for 'is_cell_auto_fit', is_cell_auto_fit cannot be nil.")
261
+ end
262
+ if @one_page_per_sheet.nil?
263
+ invalid_properties.push("invalid value for 'one_page_per_sheet', one_page_per_sheet cannot be nil.")
264
+ end
265
+ if @only_area.nil?
266
+ invalid_properties.push("invalid value for 'only_area', only_area cannot be nil.")
267
+ end
268
+ if @printing_page.nil?
269
+ invalid_properties.push("invalid value for 'printing_page', printing_page cannot be nil.")
270
+ end
271
+ if @print_with_status_dialog.nil?
272
+ invalid_properties.push("invalid value for 'print_with_status_dialog', print_with_status_dialog cannot be nil.")
273
+ end
274
+ if @quality.nil?
275
+ invalid_properties.push("invalid value for 'quality', quality cannot be nil.")
276
+ end
277
+ if @tiff_compression.nil?
278
+ invalid_properties.push("invalid value for 'tiff_compression', tiff_compression cannot be nil.")
279
+ end
280
+ if @vertical_resolution.nil?
281
+ invalid_properties.push("invalid value for 'vertical_resolution', vertical_resolution cannot be nil.")
282
+ end
128
283
  if @save_format.nil?
129
284
  invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
130
285
  end
@@ -149,6 +304,21 @@ module AsposeCellsCloud
149
304
  if @validate_merged_areas.nil?
150
305
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
151
306
  end
307
+ if @merge_areas.nil?
308
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
309
+ end
310
+ if @sort_external_names.nil?
311
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
312
+ end
313
+ if @check_excel_restriction.nil?
314
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
315
+ end
316
+ if @update_smart_art.nil?
317
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
318
+ end
319
+ if @encrypt_document_properties.nil?
320
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
321
+ end
152
322
 
153
323
  return invalid_properties
154
324
  end
@@ -157,6 +327,18 @@ module AsposeCellsCloud
157
327
  # @return true if the model is valid
158
328
  def valid?
159
329
  return false if @sheet_index.nil?
330
+ return false if @chart_image_type.nil?
331
+ return false if @embeded_image_name_in_svg.nil?
332
+ return false if @horizontal_resolution.nil?
333
+ return false if @image_format.nil?
334
+ return false if @is_cell_auto_fit.nil?
335
+ return false if @one_page_per_sheet.nil?
336
+ return false if @only_area.nil?
337
+ return false if @printing_page.nil?
338
+ return false if @print_with_status_dialog.nil?
339
+ return false if @quality.nil?
340
+ return false if @tiff_compression.nil?
341
+ return false if @vertical_resolution.nil?
160
342
  return false if @save_format.nil?
161
343
  return false if @cached_file_folder.nil?
162
344
  return false if @clear_data.nil?
@@ -165,6 +347,11 @@ module AsposeCellsCloud
165
347
  return false if @refresh_chart_cache.nil?
166
348
  return false if @sort_names.nil?
167
349
  return false if @validate_merged_areas.nil?
350
+ return false if @merge_areas.nil?
351
+ return false if @sort_external_names.nil?
352
+ return false if @check_excel_restriction.nil?
353
+ return false if @update_smart_art.nil?
354
+ return false if @encrypt_document_properties.nil?
168
355
  return true
169
356
  end
170
357
 
@@ -174,6 +361,18 @@ module AsposeCellsCloud
174
361
  return true if self.equal?(o)
175
362
  self.class == o.class &&
176
363
  sheet_index == o.sheet_index &&
364
+ chart_image_type == o.chart_image_type &&
365
+ embeded_image_name_in_svg == o.embeded_image_name_in_svg &&
366
+ horizontal_resolution == o.horizontal_resolution &&
367
+ image_format == o.image_format &&
368
+ is_cell_auto_fit == o.is_cell_auto_fit &&
369
+ one_page_per_sheet == o.one_page_per_sheet &&
370
+ only_area == o.only_area &&
371
+ printing_page == o.printing_page &&
372
+ print_with_status_dialog == o.print_with_status_dialog &&
373
+ quality == o.quality &&
374
+ tiff_compression == o.tiff_compression &&
375
+ vertical_resolution == o.vertical_resolution &&
177
376
  save_format == o.save_format &&
178
377
  cached_file_folder == o.cached_file_folder &&
179
378
  clear_data == o.clear_data &&
@@ -181,7 +380,12 @@ module AsposeCellsCloud
181
380
  enable_http_compression == o.enable_http_compression &&
182
381
  refresh_chart_cache == o.refresh_chart_cache &&
183
382
  sort_names == o.sort_names &&
184
- validate_merged_areas == o.validate_merged_areas
383
+ validate_merged_areas == o.validate_merged_areas &&
384
+ merge_areas == o.merge_areas &&
385
+ sort_external_names == o.sort_external_names &&
386
+ check_excel_restriction == o.check_excel_restriction &&
387
+ update_smart_art == o.update_smart_art &&
388
+ encrypt_document_properties == o.encrypt_document_properties
185
389
  std_dev == o.std_dev
186
390
  end
187
391
 
@@ -194,7 +398,7 @@ module AsposeCellsCloud
194
398
  # Calculates hash code according to all attributes.
195
399
  # @return [Fixnum] Hash code
196
400
  def hash
197
- [ sheet_index , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
401
+ [ sheet_index , chart_image_type , embeded_image_name_in_svg , horizontal_resolution , image_format , is_cell_auto_fit , one_page_per_sheet , only_area , printing_page , print_with_status_dialog , quality , tiff_compression , vertical_resolution , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas , merge_areas , sort_external_names , check_excel_restriction , update_smart_art , encrypt_document_properties ].hash
198
402
  end
199
403
 
200
404
  # Builds the object from hash