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
@@ -55,6 +55,16 @@ module AsposeCellsCloud
55
55
  attr_accessor :sort_names
56
56
  #
57
57
  attr_accessor :validate_merged_areas
58
+ #
59
+ attr_accessor :merge_areas
60
+ #
61
+ attr_accessor :sort_external_names
62
+ #
63
+ attr_accessor :check_excel_restriction
64
+ #
65
+ attr_accessor :update_smart_art
66
+ #
67
+ attr_accessor :encrypt_document_properties
58
68
 
59
69
  # Attribute mapping from ruby-style variable name to JSON key.
60
70
  def self.attribute_map
@@ -70,7 +80,12 @@ module AsposeCellsCloud
70
80
  :'enable_http_compression' => :'EnableHTTPCompression',
71
81
  :'refresh_chart_cache' => :'RefreshChartCache',
72
82
  :'sort_names' => :'SortNames',
73
- :'validate_merged_areas' => :'ValidateMergedAreas'
83
+ :'validate_merged_areas' => :'ValidateMergedAreas',
84
+ :'merge_areas' => :'MergeAreas',
85
+ :'sort_external_names' => :'SortExternalNames',
86
+ :'check_excel_restriction' => :'CheckExcelRestriction',
87
+ :'update_smart_art' => :'UpdateSmartArt',
88
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
74
89
  }
75
90
  end
76
91
 
@@ -88,7 +103,12 @@ module AsposeCellsCloud
88
103
  :'enable_http_compression' => :'BOOLEAN',
89
104
  :'refresh_chart_cache' => :'BOOLEAN',
90
105
  :'sort_names' => :'BOOLEAN',
91
- :'validate_merged_areas' => :'BOOLEAN'
106
+ :'validate_merged_areas' => :'BOOLEAN',
107
+ :'merge_areas' => :'BOOLEAN',
108
+ :'sort_external_names' => :'BOOLEAN',
109
+ :'check_excel_restriction' => :'BOOLEAN',
110
+ :'update_smart_art' => :'BOOLEAN',
111
+ :'encrypt_document_properties' => :'BOOLEAN'
92
112
  }
93
113
  end
94
114
 
@@ -136,6 +156,21 @@ module AsposeCellsCloud
136
156
  if attributes.has_key?(:'ValidateMergedAreas')
137
157
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
138
158
  end
159
+ if attributes.has_key?(:'MergeAreas')
160
+ self.merge_areas = attributes[:'MergeAreas']
161
+ end
162
+ if attributes.has_key?(:'SortExternalNames')
163
+ self.sort_external_names = attributes[:'SortExternalNames']
164
+ end
165
+ if attributes.has_key?(:'CheckExcelRestriction')
166
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
167
+ end
168
+ if attributes.has_key?(:'UpdateSmartArt')
169
+ self.update_smart_art = attributes[:'UpdateSmartArt']
170
+ end
171
+ if attributes.has_key?(:'EncryptDocumentProperties')
172
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
173
+ end
139
174
 
140
175
  end
141
176
 
@@ -179,6 +214,21 @@ module AsposeCellsCloud
179
214
  if @validate_merged_areas.nil?
180
215
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
181
216
  end
217
+ if @merge_areas.nil?
218
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
219
+ end
220
+ if @sort_external_names.nil?
221
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
222
+ end
223
+ if @check_excel_restriction.nil?
224
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
225
+ end
226
+ if @update_smart_art.nil?
227
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
228
+ end
229
+ if @encrypt_document_properties.nil?
230
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
231
+ end
182
232
 
183
233
  return invalid_properties
184
234
  end
@@ -198,6 +248,11 @@ module AsposeCellsCloud
198
248
  return false if @refresh_chart_cache.nil?
199
249
  return false if @sort_names.nil?
200
250
  return false if @validate_merged_areas.nil?
251
+ return false if @merge_areas.nil?
252
+ return false if @sort_external_names.nil?
253
+ return false if @check_excel_restriction.nil?
254
+ return false if @update_smart_art.nil?
255
+ return false if @encrypt_document_properties.nil?
201
256
  return true
202
257
  end
203
258
 
@@ -217,7 +272,12 @@ module AsposeCellsCloud
217
272
  enable_http_compression == o.enable_http_compression &&
218
273
  refresh_chart_cache == o.refresh_chart_cache &&
219
274
  sort_names == o.sort_names &&
220
- validate_merged_areas == o.validate_merged_areas
275
+ validate_merged_areas == o.validate_merged_areas &&
276
+ merge_areas == o.merge_areas &&
277
+ sort_external_names == o.sort_external_names &&
278
+ check_excel_restriction == o.check_excel_restriction &&
279
+ update_smart_art == o.update_smart_art &&
280
+ encrypt_document_properties == o.encrypt_document_properties
221
281
  std_dev == o.std_dev
222
282
  end
223
283
 
@@ -230,7 +290,7 @@ module AsposeCellsCloud
230
290
  # Calculates hash code according to all attributes.
231
291
  # @return [Fixnum] Hash code
232
292
  def hash
233
- [ quote_type , separator , separator_string , always_quoted , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
293
+ [ quote_type , separator , separator_string , always_quoted , 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
234
294
  end
235
295
 
236
296
  # Builds the object from hash
@@ -33,7 +33,7 @@ module AsposeCellsCloud
33
33
  class Workbook
34
34
  #Gets and sets the current file name.
35
35
  attr_accessor :file_name
36
- #
36
+ #A property of type List Link named Links is specified to be serialized as an XmlElement with the tag "link".
37
37
  attr_accessor :links
38
38
  #Gets the collection in the spreadsheet.
39
39
  attr_accessor :worksheets
@@ -31,6 +31,10 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class XlsSaveOptions
34
+ #
35
+ attr_accessor :match_color
36
+ #
37
+ attr_accessor :wps_compatibility
34
38
  #
35
39
  attr_accessor :save_format
36
40
  #
@@ -47,10 +51,22 @@ module AsposeCellsCloud
47
51
  attr_accessor :sort_names
48
52
  #
49
53
  attr_accessor :validate_merged_areas
54
+ #
55
+ attr_accessor :merge_areas
56
+ #
57
+ attr_accessor :sort_external_names
58
+ #
59
+ attr_accessor :check_excel_restriction
60
+ #
61
+ attr_accessor :update_smart_art
62
+ #
63
+ attr_accessor :encrypt_document_properties
50
64
 
51
65
  # Attribute mapping from ruby-style variable name to JSON key.
52
66
  def self.attribute_map
53
67
  {
68
+ :'match_color' => :'MatchColor',
69
+ :'wps_compatibility' => :'WpsCompatibility',
54
70
  :'save_format' => :'SaveFormat',
55
71
  :'cached_file_folder' => :'CachedFileFolder',
56
72
  :'clear_data' => :'ClearData',
@@ -58,13 +74,20 @@ module AsposeCellsCloud
58
74
  :'enable_http_compression' => :'EnableHTTPCompression',
59
75
  :'refresh_chart_cache' => :'RefreshChartCache',
60
76
  :'sort_names' => :'SortNames',
61
- :'validate_merged_areas' => :'ValidateMergedAreas'
77
+ :'validate_merged_areas' => :'ValidateMergedAreas',
78
+ :'merge_areas' => :'MergeAreas',
79
+ :'sort_external_names' => :'SortExternalNames',
80
+ :'check_excel_restriction' => :'CheckExcelRestriction',
81
+ :'update_smart_art' => :'UpdateSmartArt',
82
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
62
83
  }
63
84
  end
64
85
 
65
86
  # Attribute type mapping.
66
87
  def self.swagger_types
67
88
  {
89
+ :'match_color' => :'BOOLEAN',
90
+ :'wps_compatibility' => :'BOOLEAN',
68
91
  :'save_format' => :'String',
69
92
  :'cached_file_folder' => :'String',
70
93
  :'clear_data' => :'BOOLEAN',
@@ -72,7 +95,12 @@ module AsposeCellsCloud
72
95
  :'enable_http_compression' => :'BOOLEAN',
73
96
  :'refresh_chart_cache' => :'BOOLEAN',
74
97
  :'sort_names' => :'BOOLEAN',
75
- :'validate_merged_areas' => :'BOOLEAN'
98
+ :'validate_merged_areas' => :'BOOLEAN',
99
+ :'merge_areas' => :'BOOLEAN',
100
+ :'sort_external_names' => :'BOOLEAN',
101
+ :'check_excel_restriction' => :'BOOLEAN',
102
+ :'update_smart_art' => :'BOOLEAN',
103
+ :'encrypt_document_properties' => :'BOOLEAN'
76
104
  }
77
105
  end
78
106
 
@@ -84,6 +112,12 @@ module AsposeCellsCloud
84
112
  # convert string to symbol for hash key
85
113
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
86
114
 
115
+ if attributes.has_key?(:'MatchColor')
116
+ self.match_color = attributes[:'MatchColor']
117
+ end
118
+ if attributes.has_key?(:'WpsCompatibility')
119
+ self.wps_compatibility = attributes[:'WpsCompatibility']
120
+ end
87
121
  if attributes.has_key?(:'SaveFormat')
88
122
  self.save_format = attributes[:'SaveFormat']
89
123
  end
@@ -108,6 +142,21 @@ module AsposeCellsCloud
108
142
  if attributes.has_key?(:'ValidateMergedAreas')
109
143
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
110
144
  end
145
+ if attributes.has_key?(:'MergeAreas')
146
+ self.merge_areas = attributes[:'MergeAreas']
147
+ end
148
+ if attributes.has_key?(:'SortExternalNames')
149
+ self.sort_external_names = attributes[:'SortExternalNames']
150
+ end
151
+ if attributes.has_key?(:'CheckExcelRestriction')
152
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
153
+ end
154
+ if attributes.has_key?(:'UpdateSmartArt')
155
+ self.update_smart_art = attributes[:'UpdateSmartArt']
156
+ end
157
+ if attributes.has_key?(:'EncryptDocumentProperties')
158
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
159
+ end
111
160
 
112
161
  end
113
162
 
@@ -115,6 +164,12 @@ module AsposeCellsCloud
115
164
  # @return Array for valid properies with the reasons
116
165
  def list_invalid_properties
117
166
  invalid_properties = Array.new
167
+ if @match_color.nil?
168
+ invalid_properties.push("invalid value for 'match_color', match_color cannot be nil.")
169
+ end
170
+ if @wps_compatibility.nil?
171
+ invalid_properties.push("invalid value for 'wps_compatibility', wps_compatibility cannot be nil.")
172
+ end
118
173
  if @save_format.nil?
119
174
  invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
120
175
  end
@@ -139,6 +194,21 @@ module AsposeCellsCloud
139
194
  if @validate_merged_areas.nil?
140
195
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
141
196
  end
197
+ if @merge_areas.nil?
198
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
199
+ end
200
+ if @sort_external_names.nil?
201
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
202
+ end
203
+ if @check_excel_restriction.nil?
204
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
205
+ end
206
+ if @update_smart_art.nil?
207
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
208
+ end
209
+ if @encrypt_document_properties.nil?
210
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
211
+ end
142
212
 
143
213
  return invalid_properties
144
214
  end
@@ -146,6 +216,8 @@ module AsposeCellsCloud
146
216
  # Check to see if the all the properties in the model are valid
147
217
  # @return true if the model is valid
148
218
  def valid?
219
+ return false if @match_color.nil?
220
+ return false if @wps_compatibility.nil?
149
221
  return false if @save_format.nil?
150
222
  return false if @cached_file_folder.nil?
151
223
  return false if @clear_data.nil?
@@ -154,6 +226,11 @@ module AsposeCellsCloud
154
226
  return false if @refresh_chart_cache.nil?
155
227
  return false if @sort_names.nil?
156
228
  return false if @validate_merged_areas.nil?
229
+ return false if @merge_areas.nil?
230
+ return false if @sort_external_names.nil?
231
+ return false if @check_excel_restriction.nil?
232
+ return false if @update_smart_art.nil?
233
+ return false if @encrypt_document_properties.nil?
157
234
  return true
158
235
  end
159
236
 
@@ -162,6 +239,8 @@ module AsposeCellsCloud
162
239
  def ==(o)
163
240
  return true if self.equal?(o)
164
241
  self.class == o.class &&
242
+ match_color == o.match_color &&
243
+ wps_compatibility == o.wps_compatibility &&
165
244
  save_format == o.save_format &&
166
245
  cached_file_folder == o.cached_file_folder &&
167
246
  clear_data == o.clear_data &&
@@ -169,7 +248,12 @@ module AsposeCellsCloud
169
248
  enable_http_compression == o.enable_http_compression &&
170
249
  refresh_chart_cache == o.refresh_chart_cache &&
171
250
  sort_names == o.sort_names &&
172
- validate_merged_areas == o.validate_merged_areas
251
+ validate_merged_areas == o.validate_merged_areas &&
252
+ merge_areas == o.merge_areas &&
253
+ sort_external_names == o.sort_external_names &&
254
+ check_excel_restriction == o.check_excel_restriction &&
255
+ update_smart_art == o.update_smart_art &&
256
+ encrypt_document_properties == o.encrypt_document_properties
173
257
  std_dev == o.std_dev
174
258
  end
175
259
 
@@ -182,7 +266,7 @@ module AsposeCellsCloud
182
266
  # Calculates hash code according to all attributes.
183
267
  # @return [Fixnum] Hash code
184
268
  def hash
185
- [ save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
269
+ [ match_color , wps_compatibility , 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
186
270
  end
187
271
 
188
272
  # Builds the object from hash
@@ -31,6 +31,10 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class XlsbSaveOptions
34
+ #
35
+ attr_accessor :export_all_column_indexes
36
+ #
37
+ attr_accessor :compression_type
34
38
  #
35
39
  attr_accessor :save_format
36
40
  #
@@ -47,10 +51,22 @@ module AsposeCellsCloud
47
51
  attr_accessor :sort_names
48
52
  #
49
53
  attr_accessor :validate_merged_areas
54
+ #
55
+ attr_accessor :merge_areas
56
+ #
57
+ attr_accessor :sort_external_names
58
+ #
59
+ attr_accessor :check_excel_restriction
60
+ #
61
+ attr_accessor :update_smart_art
62
+ #
63
+ attr_accessor :encrypt_document_properties
50
64
 
51
65
  # Attribute mapping from ruby-style variable name to JSON key.
52
66
  def self.attribute_map
53
67
  {
68
+ :'export_all_column_indexes' => :'ExportAllColumnIndexes',
69
+ :'compression_type' => :'CompressionType',
54
70
  :'save_format' => :'SaveFormat',
55
71
  :'cached_file_folder' => :'CachedFileFolder',
56
72
  :'clear_data' => :'ClearData',
@@ -58,13 +74,20 @@ module AsposeCellsCloud
58
74
  :'enable_http_compression' => :'EnableHTTPCompression',
59
75
  :'refresh_chart_cache' => :'RefreshChartCache',
60
76
  :'sort_names' => :'SortNames',
61
- :'validate_merged_areas' => :'ValidateMergedAreas'
77
+ :'validate_merged_areas' => :'ValidateMergedAreas',
78
+ :'merge_areas' => :'MergeAreas',
79
+ :'sort_external_names' => :'SortExternalNames',
80
+ :'check_excel_restriction' => :'CheckExcelRestriction',
81
+ :'update_smart_art' => :'UpdateSmartArt',
82
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
62
83
  }
63
84
  end
64
85
 
65
86
  # Attribute type mapping.
66
87
  def self.swagger_types
67
88
  {
89
+ :'export_all_column_indexes' => :'BOOLEAN',
90
+ :'compression_type' => :'String',
68
91
  :'save_format' => :'String',
69
92
  :'cached_file_folder' => :'String',
70
93
  :'clear_data' => :'BOOLEAN',
@@ -72,7 +95,12 @@ module AsposeCellsCloud
72
95
  :'enable_http_compression' => :'BOOLEAN',
73
96
  :'refresh_chart_cache' => :'BOOLEAN',
74
97
  :'sort_names' => :'BOOLEAN',
75
- :'validate_merged_areas' => :'BOOLEAN'
98
+ :'validate_merged_areas' => :'BOOLEAN',
99
+ :'merge_areas' => :'BOOLEAN',
100
+ :'sort_external_names' => :'BOOLEAN',
101
+ :'check_excel_restriction' => :'BOOLEAN',
102
+ :'update_smart_art' => :'BOOLEAN',
103
+ :'encrypt_document_properties' => :'BOOLEAN'
76
104
  }
77
105
  end
78
106
 
@@ -84,6 +112,12 @@ module AsposeCellsCloud
84
112
  # convert string to symbol for hash key
85
113
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
86
114
 
115
+ if attributes.has_key?(:'ExportAllColumnIndexes')
116
+ self.export_all_column_indexes = attributes[:'ExportAllColumnIndexes']
117
+ end
118
+ if attributes.has_key?(:'CompressionType')
119
+ self.compression_type = attributes[:'CompressionType']
120
+ end
87
121
  if attributes.has_key?(:'SaveFormat')
88
122
  self.save_format = attributes[:'SaveFormat']
89
123
  end
@@ -108,6 +142,21 @@ module AsposeCellsCloud
108
142
  if attributes.has_key?(:'ValidateMergedAreas')
109
143
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
110
144
  end
145
+ if attributes.has_key?(:'MergeAreas')
146
+ self.merge_areas = attributes[:'MergeAreas']
147
+ end
148
+ if attributes.has_key?(:'SortExternalNames')
149
+ self.sort_external_names = attributes[:'SortExternalNames']
150
+ end
151
+ if attributes.has_key?(:'CheckExcelRestriction')
152
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
153
+ end
154
+ if attributes.has_key?(:'UpdateSmartArt')
155
+ self.update_smart_art = attributes[:'UpdateSmartArt']
156
+ end
157
+ if attributes.has_key?(:'EncryptDocumentProperties')
158
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
159
+ end
111
160
 
112
161
  end
113
162
 
@@ -115,6 +164,12 @@ module AsposeCellsCloud
115
164
  # @return Array for valid properies with the reasons
116
165
  def list_invalid_properties
117
166
  invalid_properties = Array.new
167
+ if @export_all_column_indexes.nil?
168
+ invalid_properties.push("invalid value for 'export_all_column_indexes', export_all_column_indexes cannot be nil.")
169
+ end
170
+ if @compression_type.nil?
171
+ invalid_properties.push("invalid value for 'compression_type', compression_type cannot be nil.")
172
+ end
118
173
  if @save_format.nil?
119
174
  invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
120
175
  end
@@ -139,6 +194,21 @@ module AsposeCellsCloud
139
194
  if @validate_merged_areas.nil?
140
195
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
141
196
  end
197
+ if @merge_areas.nil?
198
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
199
+ end
200
+ if @sort_external_names.nil?
201
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
202
+ end
203
+ if @check_excel_restriction.nil?
204
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
205
+ end
206
+ if @update_smart_art.nil?
207
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
208
+ end
209
+ if @encrypt_document_properties.nil?
210
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
211
+ end
142
212
 
143
213
  return invalid_properties
144
214
  end
@@ -146,6 +216,8 @@ module AsposeCellsCloud
146
216
  # Check to see if the all the properties in the model are valid
147
217
  # @return true if the model is valid
148
218
  def valid?
219
+ return false if @export_all_column_indexes.nil?
220
+ return false if @compression_type.nil?
149
221
  return false if @save_format.nil?
150
222
  return false if @cached_file_folder.nil?
151
223
  return false if @clear_data.nil?
@@ -154,6 +226,11 @@ module AsposeCellsCloud
154
226
  return false if @refresh_chart_cache.nil?
155
227
  return false if @sort_names.nil?
156
228
  return false if @validate_merged_areas.nil?
229
+ return false if @merge_areas.nil?
230
+ return false if @sort_external_names.nil?
231
+ return false if @check_excel_restriction.nil?
232
+ return false if @update_smart_art.nil?
233
+ return false if @encrypt_document_properties.nil?
157
234
  return true
158
235
  end
159
236
 
@@ -162,6 +239,8 @@ module AsposeCellsCloud
162
239
  def ==(o)
163
240
  return true if self.equal?(o)
164
241
  self.class == o.class &&
242
+ export_all_column_indexes == o.export_all_column_indexes &&
243
+ compression_type == o.compression_type &&
165
244
  save_format == o.save_format &&
166
245
  cached_file_folder == o.cached_file_folder &&
167
246
  clear_data == o.clear_data &&
@@ -169,7 +248,12 @@ module AsposeCellsCloud
169
248
  enable_http_compression == o.enable_http_compression &&
170
249
  refresh_chart_cache == o.refresh_chart_cache &&
171
250
  sort_names == o.sort_names &&
172
- validate_merged_areas == o.validate_merged_areas
251
+ validate_merged_areas == o.validate_merged_areas &&
252
+ merge_areas == o.merge_areas &&
253
+ sort_external_names == o.sort_external_names &&
254
+ check_excel_restriction == o.check_excel_restriction &&
255
+ update_smart_art == o.update_smart_art &&
256
+ encrypt_document_properties == o.encrypt_document_properties
173
257
  std_dev == o.std_dev
174
258
  end
175
259
 
@@ -182,7 +266,7 @@ module AsposeCellsCloud
182
266
  # Calculates hash code according to all attributes.
183
267
  # @return [Fixnum] Hash code
184
268
  def hash
185
- [ save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
269
+ [ export_all_column_indexes , compression_type , 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
186
270
  end
187
271
 
188
272
  # Builds the object from hash
@@ -83,6 +83,10 @@ module AsposeCellsCloud
83
83
  attr_accessor :sort_names
84
84
  #
85
85
  attr_accessor :validate_merged_areas
86
+ #
87
+ attr_accessor :check_excel_restriction
88
+ #
89
+ attr_accessor :encrypt_document_properties
86
90
 
87
91
  # Attribute mapping from ruby-style variable name to JSON key.
88
92
  def self.attribute_map
@@ -112,7 +116,9 @@ module AsposeCellsCloud
112
116
  :'enable_http_compression' => :'EnableHTTPCompression',
113
117
  :'refresh_chart_cache' => :'RefreshChartCache',
114
118
  :'sort_names' => :'SortNames',
115
- :'validate_merged_areas' => :'ValidateMergedAreas'
119
+ :'validate_merged_areas' => :'ValidateMergedAreas',
120
+ :'check_excel_restriction' => :'CheckExcelRestriction',
121
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
116
122
  }
117
123
  end
118
124
 
@@ -144,7 +150,9 @@ module AsposeCellsCloud
144
150
  :'enable_http_compression' => :'BOOLEAN',
145
151
  :'refresh_chart_cache' => :'BOOLEAN',
146
152
  :'sort_names' => :'BOOLEAN',
147
- :'validate_merged_areas' => :'BOOLEAN'
153
+ :'validate_merged_areas' => :'BOOLEAN',
154
+ :'check_excel_restriction' => :'BOOLEAN',
155
+ :'encrypt_document_properties' => :'BOOLEAN'
148
156
  }
149
157
  end
150
158
 
@@ -234,6 +242,12 @@ module AsposeCellsCloud
234
242
  if attributes.has_key?(:'ValidateMergedAreas')
235
243
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
236
244
  end
245
+ if attributes.has_key?(:'CheckExcelRestriction')
246
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
247
+ end
248
+ if attributes.has_key?(:'EncryptDocumentProperties')
249
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
250
+ end
237
251
 
238
252
  end
239
253
 
@@ -319,6 +333,12 @@ module AsposeCellsCloud
319
333
  if @validate_merged_areas.nil?
320
334
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
321
335
  end
336
+ if @check_excel_restriction.nil?
337
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
338
+ end
339
+ if @encrypt_document_properties.nil?
340
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
341
+ end
322
342
 
323
343
  return invalid_properties
324
344
  end
@@ -352,6 +372,8 @@ module AsposeCellsCloud
352
372
  return false if @refresh_chart_cache.nil?
353
373
  return false if @sort_names.nil?
354
374
  return false if @validate_merged_areas.nil?
375
+ return false if @check_excel_restriction.nil?
376
+ return false if @encrypt_document_properties.nil?
355
377
  return true
356
378
  end
357
379
 
@@ -385,7 +407,9 @@ module AsposeCellsCloud
385
407
  enable_http_compression == o.enable_http_compression &&
386
408
  refresh_chart_cache == o.refresh_chart_cache &&
387
409
  sort_names == o.sort_names &&
388
- validate_merged_areas == o.validate_merged_areas
410
+ validate_merged_areas == o.validate_merged_areas &&
411
+ check_excel_restriction == o.check_excel_restriction &&
412
+ encrypt_document_properties == o.encrypt_document_properties
389
413
  std_dev == o.std_dev
390
414
  end
391
415
 
@@ -398,7 +422,7 @@ module AsposeCellsCloud
398
422
  # Calculates hash code according to all attributes.
399
423
  # @return [Fixnum] Hash code
400
424
  def hash
401
- [ default_font , check_workbook_default_font , check_font_compatibility , is_font_substitution_char_granularity , one_page_per_sheet , all_columns_in_one_page_per_sheet , ignore_error , output_blank_page_when_nothing_to_print , page_index , page_count , printing_page_type , gridline_type , text_cross_type , default_edit_language , emf_render_setting , merge_areas , sort_external_names , update_smart_art , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
425
+ [ default_font , check_workbook_default_font , check_font_compatibility , is_font_substitution_char_granularity , one_page_per_sheet , all_columns_in_one_page_per_sheet , ignore_error , output_blank_page_when_nothing_to_print , page_index , page_count , printing_page_type , gridline_type , text_cross_type , default_edit_language , emf_render_setting , merge_areas , sort_external_names , update_smart_art , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas , check_excel_restriction , encrypt_document_properties ].hash
402
426
  end
403
427
 
404
428
  # Builds the object from hash