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
@@ -53,6 +53,16 @@ module AsposeCellsCloud
53
53
  attr_accessor :sort_names
54
54
  #
55
55
  attr_accessor :validate_merged_areas
56
+ #
57
+ attr_accessor :merge_areas
58
+ #
59
+ attr_accessor :sort_external_names
60
+ #
61
+ attr_accessor :check_excel_restriction
62
+ #
63
+ attr_accessor :update_smart_art
64
+ #
65
+ attr_accessor :encrypt_document_properties
56
66
 
57
67
  # Attribute mapping from ruby-style variable name to JSON key.
58
68
  def self.attribute_map
@@ -67,7 +77,12 @@ module AsposeCellsCloud
67
77
  :'enable_http_compression' => :'EnableHTTPCompression',
68
78
  :'refresh_chart_cache' => :'RefreshChartCache',
69
79
  :'sort_names' => :'SortNames',
70
- :'validate_merged_areas' => :'ValidateMergedAreas'
80
+ :'validate_merged_areas' => :'ValidateMergedAreas',
81
+ :'merge_areas' => :'MergeAreas',
82
+ :'sort_external_names' => :'SortExternalNames',
83
+ :'check_excel_restriction' => :'CheckExcelRestriction',
84
+ :'update_smart_art' => :'UpdateSmartArt',
85
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
71
86
  }
72
87
  end
73
88
 
@@ -84,7 +99,12 @@ module AsposeCellsCloud
84
99
  :'enable_http_compression' => :'BOOLEAN',
85
100
  :'refresh_chart_cache' => :'BOOLEAN',
86
101
  :'sort_names' => :'BOOLEAN',
87
- :'validate_merged_areas' => :'BOOLEAN'
102
+ :'validate_merged_areas' => :'BOOLEAN',
103
+ :'merge_areas' => :'BOOLEAN',
104
+ :'sort_external_names' => :'BOOLEAN',
105
+ :'check_excel_restriction' => :'BOOLEAN',
106
+ :'update_smart_art' => :'BOOLEAN',
107
+ :'encrypt_document_properties' => :'BOOLEAN'
88
108
  }
89
109
  end
90
110
 
@@ -129,6 +149,21 @@ module AsposeCellsCloud
129
149
  if attributes.has_key?(:'ValidateMergedAreas')
130
150
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
131
151
  end
152
+ if attributes.has_key?(:'MergeAreas')
153
+ self.merge_areas = attributes[:'MergeAreas']
154
+ end
155
+ if attributes.has_key?(:'SortExternalNames')
156
+ self.sort_external_names = attributes[:'SortExternalNames']
157
+ end
158
+ if attributes.has_key?(:'CheckExcelRestriction')
159
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
160
+ end
161
+ if attributes.has_key?(:'UpdateSmartArt')
162
+ self.update_smart_art = attributes[:'UpdateSmartArt']
163
+ end
164
+ if attributes.has_key?(:'EncryptDocumentProperties')
165
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
166
+ end
132
167
 
133
168
  end
134
169
 
@@ -169,6 +204,21 @@ module AsposeCellsCloud
169
204
  if @validate_merged_areas.nil?
170
205
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
171
206
  end
207
+ if @merge_areas.nil?
208
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
209
+ end
210
+ if @sort_external_names.nil?
211
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
212
+ end
213
+ if @check_excel_restriction.nil?
214
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
215
+ end
216
+ if @update_smart_art.nil?
217
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
218
+ end
219
+ if @encrypt_document_properties.nil?
220
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
221
+ end
172
222
 
173
223
  return invalid_properties
174
224
  end
@@ -187,6 +237,11 @@ module AsposeCellsCloud
187
237
  return false if @refresh_chart_cache.nil?
188
238
  return false if @sort_names.nil?
189
239
  return false if @validate_merged_areas.nil?
240
+ return false if @merge_areas.nil?
241
+ return false if @sort_external_names.nil?
242
+ return false if @check_excel_restriction.nil?
243
+ return false if @update_smart_art.nil?
244
+ return false if @encrypt_document_properties.nil?
190
245
  return true
191
246
  end
192
247
 
@@ -205,7 +260,12 @@ module AsposeCellsCloud
205
260
  enable_http_compression == o.enable_http_compression &&
206
261
  refresh_chart_cache == o.refresh_chart_cache &&
207
262
  sort_names == o.sort_names &&
208
- validate_merged_areas == o.validate_merged_areas
263
+ validate_merged_areas == o.validate_merged_areas &&
264
+ merge_areas == o.merge_areas &&
265
+ sort_external_names == o.sort_external_names &&
266
+ check_excel_restriction == o.check_excel_restriction &&
267
+ update_smart_art == o.update_smart_art &&
268
+ encrypt_document_properties == o.encrypt_document_properties
209
269
  std_dev == o.std_dev
210
270
  end
211
271
 
@@ -218,7 +278,7 @@ module AsposeCellsCloud
218
278
  # Calculates hash code according to all attributes.
219
279
  # @return [Fixnum] Hash code
220
280
  def hash
221
- [ encoding , format_strategy , line_separator , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
281
+ [ encoding , format_strategy , line_separator , 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
222
282
  end
223
283
 
224
284
  # Builds the object from hash
@@ -31,6 +31,12 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class OdsSaveOptions
34
+ #
35
+ attr_accessor :generator_type
36
+ #
37
+ attr_accessor :odf_strict_version
38
+ #
39
+ attr_accessor :ignore_pivot_tables
34
40
  #
35
41
  attr_accessor :save_format
36
42
  #
@@ -47,10 +53,23 @@ module AsposeCellsCloud
47
53
  attr_accessor :sort_names
48
54
  #
49
55
  attr_accessor :validate_merged_areas
56
+ #
57
+ attr_accessor :merge_areas
58
+ #
59
+ attr_accessor :sort_external_names
60
+ #
61
+ attr_accessor :check_excel_restriction
62
+ #
63
+ attr_accessor :update_smart_art
64
+ #
65
+ attr_accessor :encrypt_document_properties
50
66
 
51
67
  # Attribute mapping from ruby-style variable name to JSON key.
52
68
  def self.attribute_map
53
69
  {
70
+ :'generator_type' => :'GeneratorType',
71
+ :'odf_strict_version' => :'OdfStrictVersion',
72
+ :'ignore_pivot_tables' => :'IgnorePivotTables',
54
73
  :'save_format' => :'SaveFormat',
55
74
  :'cached_file_folder' => :'CachedFileFolder',
56
75
  :'clear_data' => :'ClearData',
@@ -58,13 +77,21 @@ module AsposeCellsCloud
58
77
  :'enable_http_compression' => :'EnableHTTPCompression',
59
78
  :'refresh_chart_cache' => :'RefreshChartCache',
60
79
  :'sort_names' => :'SortNames',
61
- :'validate_merged_areas' => :'ValidateMergedAreas'
80
+ :'validate_merged_areas' => :'ValidateMergedAreas',
81
+ :'merge_areas' => :'MergeAreas',
82
+ :'sort_external_names' => :'SortExternalNames',
83
+ :'check_excel_restriction' => :'CheckExcelRestriction',
84
+ :'update_smart_art' => :'UpdateSmartArt',
85
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
62
86
  }
63
87
  end
64
88
 
65
89
  # Attribute type mapping.
66
90
  def self.swagger_types
67
91
  {
92
+ :'generator_type' => :'String',
93
+ :'odf_strict_version' => :'String',
94
+ :'ignore_pivot_tables' => :'BOOLEAN',
68
95
  :'save_format' => :'String',
69
96
  :'cached_file_folder' => :'String',
70
97
  :'clear_data' => :'BOOLEAN',
@@ -72,7 +99,12 @@ module AsposeCellsCloud
72
99
  :'enable_http_compression' => :'BOOLEAN',
73
100
  :'refresh_chart_cache' => :'BOOLEAN',
74
101
  :'sort_names' => :'BOOLEAN',
75
- :'validate_merged_areas' => :'BOOLEAN'
102
+ :'validate_merged_areas' => :'BOOLEAN',
103
+ :'merge_areas' => :'BOOLEAN',
104
+ :'sort_external_names' => :'BOOLEAN',
105
+ :'check_excel_restriction' => :'BOOLEAN',
106
+ :'update_smart_art' => :'BOOLEAN',
107
+ :'encrypt_document_properties' => :'BOOLEAN'
76
108
  }
77
109
  end
78
110
 
@@ -84,6 +116,15 @@ module AsposeCellsCloud
84
116
  # convert string to symbol for hash key
85
117
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
86
118
 
119
+ if attributes.has_key?(:'GeneratorType')
120
+ self.generator_type = attributes[:'GeneratorType']
121
+ end
122
+ if attributes.has_key?(:'OdfStrictVersion')
123
+ self.odf_strict_version = attributes[:'OdfStrictVersion']
124
+ end
125
+ if attributes.has_key?(:'IgnorePivotTables')
126
+ self.ignore_pivot_tables = attributes[:'IgnorePivotTables']
127
+ end
87
128
  if attributes.has_key?(:'SaveFormat')
88
129
  self.save_format = attributes[:'SaveFormat']
89
130
  end
@@ -108,6 +149,21 @@ module AsposeCellsCloud
108
149
  if attributes.has_key?(:'ValidateMergedAreas')
109
150
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
110
151
  end
152
+ if attributes.has_key?(:'MergeAreas')
153
+ self.merge_areas = attributes[:'MergeAreas']
154
+ end
155
+ if attributes.has_key?(:'SortExternalNames')
156
+ self.sort_external_names = attributes[:'SortExternalNames']
157
+ end
158
+ if attributes.has_key?(:'CheckExcelRestriction')
159
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
160
+ end
161
+ if attributes.has_key?(:'UpdateSmartArt')
162
+ self.update_smart_art = attributes[:'UpdateSmartArt']
163
+ end
164
+ if attributes.has_key?(:'EncryptDocumentProperties')
165
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
166
+ end
111
167
 
112
168
  end
113
169
 
@@ -115,6 +171,15 @@ module AsposeCellsCloud
115
171
  # @return Array for valid properies with the reasons
116
172
  def list_invalid_properties
117
173
  invalid_properties = Array.new
174
+ if @generator_type.nil?
175
+ invalid_properties.push("invalid value for 'generator_type', generator_type cannot be nil.")
176
+ end
177
+ if @odf_strict_version.nil?
178
+ invalid_properties.push("invalid value for 'odf_strict_version', odf_strict_version cannot be nil.")
179
+ end
180
+ if @ignore_pivot_tables.nil?
181
+ invalid_properties.push("invalid value for 'ignore_pivot_tables', ignore_pivot_tables cannot be nil.")
182
+ end
118
183
  if @save_format.nil?
119
184
  invalid_properties.push("invalid value for 'save_format', save_format cannot be nil.")
120
185
  end
@@ -139,6 +204,21 @@ module AsposeCellsCloud
139
204
  if @validate_merged_areas.nil?
140
205
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
141
206
  end
207
+ if @merge_areas.nil?
208
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
209
+ end
210
+ if @sort_external_names.nil?
211
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
212
+ end
213
+ if @check_excel_restriction.nil?
214
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
215
+ end
216
+ if @update_smart_art.nil?
217
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
218
+ end
219
+ if @encrypt_document_properties.nil?
220
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
221
+ end
142
222
 
143
223
  return invalid_properties
144
224
  end
@@ -146,6 +226,9 @@ module AsposeCellsCloud
146
226
  # Check to see if the all the properties in the model are valid
147
227
  # @return true if the model is valid
148
228
  def valid?
229
+ return false if @generator_type.nil?
230
+ return false if @odf_strict_version.nil?
231
+ return false if @ignore_pivot_tables.nil?
149
232
  return false if @save_format.nil?
150
233
  return false if @cached_file_folder.nil?
151
234
  return false if @clear_data.nil?
@@ -154,6 +237,11 @@ module AsposeCellsCloud
154
237
  return false if @refresh_chart_cache.nil?
155
238
  return false if @sort_names.nil?
156
239
  return false if @validate_merged_areas.nil?
240
+ return false if @merge_areas.nil?
241
+ return false if @sort_external_names.nil?
242
+ return false if @check_excel_restriction.nil?
243
+ return false if @update_smart_art.nil?
244
+ return false if @encrypt_document_properties.nil?
157
245
  return true
158
246
  end
159
247
 
@@ -162,6 +250,9 @@ module AsposeCellsCloud
162
250
  def ==(o)
163
251
  return true if self.equal?(o)
164
252
  self.class == o.class &&
253
+ generator_type == o.generator_type &&
254
+ odf_strict_version == o.odf_strict_version &&
255
+ ignore_pivot_tables == o.ignore_pivot_tables &&
165
256
  save_format == o.save_format &&
166
257
  cached_file_folder == o.cached_file_folder &&
167
258
  clear_data == o.clear_data &&
@@ -169,7 +260,12 @@ module AsposeCellsCloud
169
260
  enable_http_compression == o.enable_http_compression &&
170
261
  refresh_chart_cache == o.refresh_chart_cache &&
171
262
  sort_names == o.sort_names &&
172
- validate_merged_areas == o.validate_merged_areas
263
+ validate_merged_areas == o.validate_merged_areas &&
264
+ merge_areas == o.merge_areas &&
265
+ sort_external_names == o.sort_external_names &&
266
+ check_excel_restriction == o.check_excel_restriction &&
267
+ update_smart_art == o.update_smart_art &&
268
+ encrypt_document_properties == o.encrypt_document_properties
173
269
  std_dev == o.std_dev
174
270
  end
175
271
 
@@ -182,7 +278,7 @@ module AsposeCellsCloud
182
278
  # Calculates hash code according to all attributes.
183
279
  # @return [Fixnum] Hash code
184
280
  def hash
185
- [ save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
281
+ [ generator_type , odf_strict_version , ignore_pivot_tables , 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
282
  end
187
283
 
188
284
  # Builds the object from hash
@@ -57,6 +57,16 @@ module AsposeCellsCloud
57
57
  attr_accessor :sort_names
58
58
  #
59
59
  attr_accessor :validate_merged_areas
60
+ #
61
+ attr_accessor :merge_areas
62
+ #
63
+ attr_accessor :sort_external_names
64
+ #
65
+ attr_accessor :check_excel_restriction
66
+ #
67
+ attr_accessor :update_smart_art
68
+ #
69
+ attr_accessor :encrypt_document_properties
60
70
 
61
71
  # Attribute mapping from ruby-style variable name to JSON key.
62
72
  def self.attribute_map
@@ -73,7 +83,12 @@ module AsposeCellsCloud
73
83
  :'enable_http_compression' => :'EnableHTTPCompression',
74
84
  :'refresh_chart_cache' => :'RefreshChartCache',
75
85
  :'sort_names' => :'SortNames',
76
- :'validate_merged_areas' => :'ValidateMergedAreas'
86
+ :'validate_merged_areas' => :'ValidateMergedAreas',
87
+ :'merge_areas' => :'MergeAreas',
88
+ :'sort_external_names' => :'SortExternalNames',
89
+ :'check_excel_restriction' => :'CheckExcelRestriction',
90
+ :'update_smart_art' => :'UpdateSmartArt',
91
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
77
92
  }
78
93
  end
79
94
 
@@ -92,7 +107,12 @@ module AsposeCellsCloud
92
107
  :'enable_http_compression' => :'BOOLEAN',
93
108
  :'refresh_chart_cache' => :'BOOLEAN',
94
109
  :'sort_names' => :'BOOLEAN',
95
- :'validate_merged_areas' => :'BOOLEAN'
110
+ :'validate_merged_areas' => :'BOOLEAN',
111
+ :'merge_areas' => :'BOOLEAN',
112
+ :'sort_external_names' => :'BOOLEAN',
113
+ :'check_excel_restriction' => :'BOOLEAN',
114
+ :'update_smart_art' => :'BOOLEAN',
115
+ :'encrypt_document_properties' => :'BOOLEAN'
96
116
  }
97
117
  end
98
118
 
@@ -143,6 +163,21 @@ module AsposeCellsCloud
143
163
  if attributes.has_key?(:'ValidateMergedAreas')
144
164
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
145
165
  end
166
+ if attributes.has_key?(:'MergeAreas')
167
+ self.merge_areas = attributes[:'MergeAreas']
168
+ end
169
+ if attributes.has_key?(:'SortExternalNames')
170
+ self.sort_external_names = attributes[:'SortExternalNames']
171
+ end
172
+ if attributes.has_key?(:'CheckExcelRestriction')
173
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
174
+ end
175
+ if attributes.has_key?(:'UpdateSmartArt')
176
+ self.update_smart_art = attributes[:'UpdateSmartArt']
177
+ end
178
+ if attributes.has_key?(:'EncryptDocumentProperties')
179
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
180
+ end
146
181
 
147
182
  end
148
183
 
@@ -189,6 +224,21 @@ module AsposeCellsCloud
189
224
  if @validate_merged_areas.nil?
190
225
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
191
226
  end
227
+ if @merge_areas.nil?
228
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
229
+ end
230
+ if @sort_external_names.nil?
231
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
232
+ end
233
+ if @check_excel_restriction.nil?
234
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
235
+ end
236
+ if @update_smart_art.nil?
237
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
238
+ end
239
+ if @encrypt_document_properties.nil?
240
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
241
+ end
192
242
 
193
243
  return invalid_properties
194
244
  end
@@ -209,6 +259,11 @@ module AsposeCellsCloud
209
259
  return false if @refresh_chart_cache.nil?
210
260
  return false if @sort_names.nil?
211
261
  return false if @validate_merged_areas.nil?
262
+ return false if @merge_areas.nil?
263
+ return false if @sort_external_names.nil?
264
+ return false if @check_excel_restriction.nil?
265
+ return false if @update_smart_art.nil?
266
+ return false if @encrypt_document_properties.nil?
212
267
  return true
213
268
  end
214
269
 
@@ -229,7 +284,12 @@ module AsposeCellsCloud
229
284
  enable_http_compression == o.enable_http_compression &&
230
285
  refresh_chart_cache == o.refresh_chart_cache &&
231
286
  sort_names == o.sort_names &&
232
- validate_merged_areas == o.validate_merged_areas
287
+ validate_merged_areas == o.validate_merged_areas &&
288
+ merge_areas == o.merge_areas &&
289
+ sort_external_names == o.sort_external_names &&
290
+ check_excel_restriction == o.check_excel_restriction &&
291
+ update_smart_art == o.update_smart_art &&
292
+ encrypt_document_properties == o.encrypt_document_properties
233
293
  std_dev == o.std_dev
234
294
  end
235
295
 
@@ -242,7 +302,7 @@ module AsposeCellsCloud
242
302
  # Calculates hash code according to all attributes.
243
303
  # @return [Fixnum] Hash code
244
304
  def hash
245
- [ export_cell_name , update_zoom , enable_zip64 , embed_ooxml_as_ole_object , compression_type , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
305
+ [ export_cell_name , update_zoom , enable_zip64 , embed_ooxml_as_ole_object , 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
246
306
  end
247
307
 
248
308
  # Builds the object from hash
@@ -31,7 +31,7 @@ require 'date'
31
31
  module AsposeCellsCloud
32
32
 
33
33
  class PageSectionsResponse
34
- #
34
+ #A property named PageSections of type List PageSection to store a collection of PageSection objects.
35
35
  attr_accessor :page_sections
36
36
  #
37
37
  attr_accessor :code
@@ -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
@@ -85,6 +85,16 @@ module AsposeCellsCloud
85
85
  attr_accessor :sort_names
86
86
  #
87
87
  attr_accessor :validate_merged_areas
88
+ #
89
+ attr_accessor :merge_areas
90
+ #
91
+ attr_accessor :sort_external_names
92
+ #
93
+ attr_accessor :check_excel_restriction
94
+ #
95
+ attr_accessor :update_smart_art
96
+ #
97
+ attr_accessor :encrypt_document_properties
88
98
 
89
99
  # Attribute mapping from ruby-style variable name to JSON key.
90
100
  def self.attribute_map
@@ -115,7 +125,12 @@ module AsposeCellsCloud
115
125
  :'enable_http_compression' => :'EnableHTTPCompression',
116
126
  :'refresh_chart_cache' => :'RefreshChartCache',
117
127
  :'sort_names' => :'SortNames',
118
- :'validate_merged_areas' => :'ValidateMergedAreas'
128
+ :'validate_merged_areas' => :'ValidateMergedAreas',
129
+ :'merge_areas' => :'MergeAreas',
130
+ :'sort_external_names' => :'SortExternalNames',
131
+ :'check_excel_restriction' => :'CheckExcelRestriction',
132
+ :'update_smart_art' => :'UpdateSmartArt',
133
+ :'encrypt_document_properties' => :'EncryptDocumentProperties'
119
134
  }
120
135
  end
121
136
 
@@ -148,7 +163,12 @@ module AsposeCellsCloud
148
163
  :'enable_http_compression' => :'BOOLEAN',
149
164
  :'refresh_chart_cache' => :'BOOLEAN',
150
165
  :'sort_names' => :'BOOLEAN',
151
- :'validate_merged_areas' => :'BOOLEAN'
166
+ :'validate_merged_areas' => :'BOOLEAN',
167
+ :'merge_areas' => :'BOOLEAN',
168
+ :'sort_external_names' => :'BOOLEAN',
169
+ :'check_excel_restriction' => :'BOOLEAN',
170
+ :'update_smart_art' => :'BOOLEAN',
171
+ :'encrypt_document_properties' => :'BOOLEAN'
152
172
  }
153
173
  end
154
174
 
@@ -241,6 +261,21 @@ module AsposeCellsCloud
241
261
  if attributes.has_key?(:'ValidateMergedAreas')
242
262
  self.validate_merged_areas = attributes[:'ValidateMergedAreas']
243
263
  end
264
+ if attributes.has_key?(:'MergeAreas')
265
+ self.merge_areas = attributes[:'MergeAreas']
266
+ end
267
+ if attributes.has_key?(:'SortExternalNames')
268
+ self.sort_external_names = attributes[:'SortExternalNames']
269
+ end
270
+ if attributes.has_key?(:'CheckExcelRestriction')
271
+ self.check_excel_restriction = attributes[:'CheckExcelRestriction']
272
+ end
273
+ if attributes.has_key?(:'UpdateSmartArt')
274
+ self.update_smart_art = attributes[:'UpdateSmartArt']
275
+ end
276
+ if attributes.has_key?(:'EncryptDocumentProperties')
277
+ self.encrypt_document_properties = attributes[:'EncryptDocumentProperties']
278
+ end
244
279
 
245
280
  end
246
281
 
@@ -329,6 +364,21 @@ module AsposeCellsCloud
329
364
  if @validate_merged_areas.nil?
330
365
  invalid_properties.push("invalid value for 'validate_merged_areas', validate_merged_areas cannot be nil.")
331
366
  end
367
+ if @merge_areas.nil?
368
+ invalid_properties.push("invalid value for 'merge_areas', merge_areas cannot be nil.")
369
+ end
370
+ if @sort_external_names.nil?
371
+ invalid_properties.push("invalid value for 'sort_external_names', sort_external_names cannot be nil.")
372
+ end
373
+ if @check_excel_restriction.nil?
374
+ invalid_properties.push("invalid value for 'check_excel_restriction', check_excel_restriction cannot be nil.")
375
+ end
376
+ if @update_smart_art.nil?
377
+ invalid_properties.push("invalid value for 'update_smart_art', update_smart_art cannot be nil.")
378
+ end
379
+ if @encrypt_document_properties.nil?
380
+ invalid_properties.push("invalid value for 'encrypt_document_properties', encrypt_document_properties cannot be nil.")
381
+ end
332
382
 
333
383
  return invalid_properties
334
384
  end
@@ -363,6 +413,11 @@ module AsposeCellsCloud
363
413
  return false if @refresh_chart_cache.nil?
364
414
  return false if @sort_names.nil?
365
415
  return false if @validate_merged_areas.nil?
416
+ return false if @merge_areas.nil?
417
+ return false if @sort_external_names.nil?
418
+ return false if @check_excel_restriction.nil?
419
+ return false if @update_smart_art.nil?
420
+ return false if @encrypt_document_properties.nil?
366
421
  return true
367
422
  end
368
423
 
@@ -397,7 +452,12 @@ module AsposeCellsCloud
397
452
  enable_http_compression == o.enable_http_compression &&
398
453
  refresh_chart_cache == o.refresh_chart_cache &&
399
454
  sort_names == o.sort_names &&
400
- validate_merged_areas == o.validate_merged_areas
455
+ validate_merged_areas == o.validate_merged_areas &&
456
+ merge_areas == o.merge_areas &&
457
+ sort_external_names == o.sort_external_names &&
458
+ check_excel_restriction == o.check_excel_restriction &&
459
+ update_smart_art == o.update_smart_art &&
460
+ encrypt_document_properties == o.encrypt_document_properties
401
461
  std_dev == o.std_dev
402
462
  end
403
463
 
@@ -410,7 +470,7 @@ module AsposeCellsCloud
410
470
  # Calculates hash code according to all attributes.
411
471
  # @return [Fixnum] Hash code
412
472
  def hash
413
- [ display_doc_title , export_document_structure , emf_render_setting , custom_properties_export , optimization_type , producer , pdf_compression , font_encoding , watermark , calculate_formula , check_font_compatibility , compliance , default_font , one_page_per_sheet , printing_page_type , security_options , desired_ppi , jpeg_quality , image_type , save_format , cached_file_folder , clear_data , create_directory , enable_http_compression , refresh_chart_cache , sort_names , validate_merged_areas ].hash
473
+ [ display_doc_title , export_document_structure , emf_render_setting , custom_properties_export , optimization_type , producer , pdf_compression , font_encoding , watermark , calculate_formula , check_font_compatibility , compliance , default_font , one_page_per_sheet , printing_page_type , security_options , desired_ppi , jpeg_quality , image_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
414
474
  end
415
475
 
416
476
  # Builds the object from hash