aspose_cells_cloud 23.8 → 23.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +8 -4
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +23 -0
  4. data/lib/aspose_cells_cloud/models/abstract_calculation_engine.rb +234 -0
  5. data/lib/aspose_cells_cloud/models/{barcode_response.rb → abstract_calculation_monitor.rb} +33 -45
  6. data/lib/aspose_cells_cloud/models/auto_fitter_options.rb +64 -4
  7. data/lib/aspose_cells_cloud/models/calculation_options.rb +40 -4
  8. data/lib/aspose_cells_cloud/models/{barcode_response_list.rb → chart_globalization_settings.rb} +2 -2
  9. data/lib/aspose_cells_cloud/models/formula_settings.rb +330 -0
  10. data/lib/aspose_cells_cloud/models/globalization_settings.rb +258 -0
  11. data/lib/aspose_cells_cloud/models/list_column.rb +16 -4
  12. data/lib/aspose_cells_cloud/models/list_object.rb +73 -1
  13. data/lib/aspose_cells_cloud/models/pivot_globalization_settings.rb +198 -0
  14. data/lib/aspose_cells_cloud/models/query_table.rb +258 -0
  15. data/lib/aspose_cells_cloud/models/range_sort_request.rb +222 -0
  16. data/lib/aspose_cells_cloud/models/workbook_settings.rb +220 -4
  17. data/lib/aspose_cells_cloud/models/write_protection.rb +246 -0
  18. data/lib/aspose_cells_cloud/models/xml_data_binding.rb +210 -0
  19. data/lib/aspose_cells_cloud/models/xml_map.rb +234 -0
  20. data/lib/aspose_cells_cloud/requests/post_worksheet_cells_range_sort_request.rb +138 -0
  21. data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_insert_slicer_request.rb +159 -0
  22. data/lib/aspose_cells_cloud/requests/post_worksheet_list_object_remove_duplicates_request.rb +137 -0
  23. data/lib/aspose_cells_cloud/version.rb +1 -1
  24. data/lib/aspose_cells_cloud.rb +14 -2
  25. data/spec/api/list_objects_controller_spec.rb +35 -0
  26. data/spec/api/ranges_controller_spec.rb +20 -0
  27. data/spec/one_case_spec.rb +27 -0
  28. metadata +17 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ca0c313c39a3b7d43e262ff2be26af211dfbe07158b2a291c65df27e2cc9f36
4
- data.tar.gz: fb7489269efdd4d5473ff97f02658586805b99bb32b6c90b4945d6e32a3b2860
3
+ metadata.gz: 99cecb05c998f858592c2b2c178fb9f2193499fead632c05b1c76ceb87c06673
4
+ data.tar.gz: 9cffcfff308d33117fc8d3d3450c07426676e85ff32a7e918142054f280a388b
5
5
  SHA512:
6
- metadata.gz: 1ca1006a6daa1a623e52d3449007910e518a3b71eb92abc1d2a625409fec709f658aa2d95fc9f4044e7fda35ce4fbfb2fc413371f9f201c41ccb605de83ea641
7
- data.tar.gz: 1ccd961c385a3b1e1ea8f0096e1d5d432173fa0b3a1bfda724104d385bfbaae1f48887bc99e781c64e505fd38a2cfe31a5435c6341524146356903b6725a82b6
6
+ metadata.gz: b70be769ae875ad250256aa2491e1fa78becac74d19f8eeb27b5127b76590955658d1a231bd786405a18b51cc052873422c98cd487d7673d759c364f5bcd287e
7
+ data.tar.gz: 2d0b9608fa69c25d12dff63779cd58627493d01b099490b4d56613f75363b5a5819479a0159e8975a15c78712d33b4f77f0bd1efc5f651749d542ac5bbaa7ff7
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/23.8)
1
+ ![](https://img.shields.io/badge/REST%20API-v3.0-lightgrey) ![Gem](https://img.shields.io/gem/v/aspose_cells_cloud) ![Gem](https://img.shields.io/gem/dt/aspose_cells_cloud) [![GitHub license](https://img.shields.io/github/license/aspose-cells-cloud/aspose-cells-cloud-ruby)](https://github.com/aspose-cells-cloud/aspose-cells-cloud-ruby/blob/master/LICENSE) ![GitHub commits since latest release (by date)](https://img.shields.io/github/commits-since/aspose-cells-cloud/aspose-cells-cloud-ruby/23.9)
2
2
 
3
3
 
4
4
  # Ruby SDK for Spreadsheet Processing in the Cloud
@@ -22,12 +22,16 @@ Ruby Cloud SDK wraps Aspose.Cells REST API so you could seamlessly integrate Mic
22
22
  - [Convert Excel files to popular formats](https://docs.aspose.cloud/cells/convert-excel-workbook-to-different-file-formats/).
23
23
 
24
24
 
25
- ## Feature & Enhancements in Version 23.8
25
+ ## Feature & Enhancements in Version 23.9
26
26
 
27
27
  Full list of issues covering all changes in this release:
28
28
 
29
- - Support to lock API.
30
- - Optimize protect API.
29
+ - Support to data sorting on range controller.
30
+ - Support to remove duplicate data on list object.
31
+ - Support to insert slicer for list object.
32
+ - Optimize list object and related objects.
33
+
34
+
31
35
 
32
36
  ## Read & Write Spreadsheet Formats
33
37
 
@@ -1149,6 +1149,22 @@ module AsposeCellsCloud
1149
1149
  return data
1150
1150
  end
1151
1151
 
1152
+ # Remove duplicates on list object.
1153
+
1154
+ def post_worksheet_list_object_remove_duplicates( post_worksheet_list_object_remove_duplicates_request, opts = {})
1155
+
1156
+ data, _status_code, _headers = post_worksheet_list_object_remove_duplicates_request.create_http_request(@api_client,opts )
1157
+ return data
1158
+ end
1159
+
1160
+ # Insert slicer for list object.
1161
+
1162
+ def post_worksheet_list_object_insert_slicer( post_worksheet_list_object_insert_slicer_request, opts = {})
1163
+
1164
+ data, _status_code, _headers = post_worksheet_list_object_insert_slicer_request.create_http_request(@api_client,opts )
1165
+ return data
1166
+ end
1167
+
1152
1168
  # Update list column properties.
1153
1169
 
1154
1170
  def post_worksheet_list_column( post_worksheet_list_column_request, opts = {})
@@ -1661,6 +1677,13 @@ module AsposeCellsCloud
1661
1677
  return data
1662
1678
  end
1663
1679
 
1680
+ # Sets outline border around a range of cells.
1681
+ def post_worksheet_cells_range_sort( post_worksheet_cells_range_sort_request, opts = {})
1682
+
1683
+ data, _status_code, _headers = post_worksheet_cells_range_sort_request.create_http_request(@api_client,opts )
1684
+ return data
1685
+ end
1686
+
1664
1687
  # Sets outline border around a range of cells.
1665
1688
 
1666
1689
  def post_worksheet_cells_range_outline_border( post_worksheet_cells_range_outline_border_request, opts = {})
@@ -0,0 +1,234 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="AbstractCalculationEnginerb.cs">
4
+ Copyright (c) 2023 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 AbstractCalculationEngine
34
+ #Indicates whether this engine needs the literal text of parameter while doing calculation. Default value is false.
35
+ attr_accessor :is_param_literal_required
36
+ #Indicates whether this engine needs the parameter to be calculated in array mode. Default value is false. If is required when calculating custom functions, this property needs to be set as true.
37
+ attr_accessor :is_param_array_mode_required
38
+ #Whether built-in functions that have been supported by the built-in engine should be checked and processed by this implementation. Default is false. If user needs to change the calculation logic of some built-in functions, this property should be set as true. Otherwise please leave this property as false for performance consideration.
39
+ attr_accessor :process_built_in_functions
40
+
41
+ # Attribute mapping from ruby-style variable name to JSON key.
42
+ def self.attribute_map
43
+ {
44
+ :'is_param_literal_required' => :'IsParamLiteralRequired',
45
+ :'is_param_array_mode_required' => :'IsParamArrayModeRequired',
46
+ :'process_built_in_functions' => :'ProcessBuiltInFunctions'
47
+ }
48
+ end
49
+
50
+ # Attribute type mapping.
51
+ def self.swagger_types
52
+ {
53
+ :'is_param_literal_required' => :'BOOLEAN',
54
+ :'is_param_array_mode_required' => :'BOOLEAN',
55
+ :'process_built_in_functions' => :'BOOLEAN'
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?(:'IsParamLiteralRequired')
68
+ self.is_param_literal_required = attributes[:'IsParamLiteralRequired']
69
+ end
70
+ if attributes.has_key?(:'IsParamArrayModeRequired')
71
+ self.is_param_array_mode_required = attributes[:'IsParamArrayModeRequired']
72
+ end
73
+ if attributes.has_key?(:'ProcessBuiltInFunctions')
74
+ self.process_built_in_functions = attributes[:'ProcessBuiltInFunctions']
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 @is_param_literal_required.nil?
84
+ invalid_properties.push("invalid value for 'is_param_literal_required', is_param_literal_required cannot be nil.")
85
+ end
86
+ if @is_param_array_mode_required.nil?
87
+ invalid_properties.push("invalid value for 'is_param_array_mode_required', is_param_array_mode_required cannot be nil.")
88
+ end
89
+ if @process_built_in_functions.nil?
90
+ invalid_properties.push("invalid value for 'process_built_in_functions', process_built_in_functions 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 @is_param_literal_required.nil?
100
+ return false if @is_param_array_mode_required.nil?
101
+ return false if @process_built_in_functions.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
+ is_param_literal_required == o.is_param_literal_required &&
111
+ is_param_array_mode_required == o.is_param_array_mode_required &&
112
+ process_built_in_functions == o.process_built_in_functions
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
+ [ is_param_literal_required , is_param_array_mode_required , process_built_in_functions ].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
@@ -1,6 +1,6 @@
1
1
  =begin
2
2
  --------------------------------------------------------------------------------------------------------------------
3
- <copyright company="Aspose" file="BarcodeResponserb.cs">
3
+ <copyright company="Aspose" file="AbstractCalculationMonitorrb.cs">
4
4
  Copyright (c) 2023 Aspose.Cells Cloud
5
5
  </copyright>
6
6
  <summary>
@@ -30,33 +30,29 @@ require 'date'
30
30
 
31
31
  module AsposeCellsCloud
32
32
 
33
- class BarcodeResponse
34
- #Gets or sets barcode data.
35
- attr_accessor :barcode_value
36
- #Gets or sets type of the barcode.
37
- attr_accessor :barcode_type
38
- #Gets or sets region with barcode.
39
- attr_accessor :region
40
- #Gets or sets checksum of barcode.
41
- attr_accessor :checksum
33
+ class AbstractCalculationMonitor
34
+ #Gets the old value of the calculated cell. Should be used only in and .
35
+ attr_accessor :original_value
36
+ #Whether the cell's value has been changed after the calculation. Should be used only in .
37
+ attr_accessor :value_changed
38
+ #Gets the newly calculated value of the cell. Should be used only in .
39
+ attr_accessor :calculated_value
42
40
 
43
41
  # Attribute mapping from ruby-style variable name to JSON key.
44
42
  def self.attribute_map
45
43
  {
46
- :'barcode_value' => :'BarcodeValue',
47
- :'barcode_type' => :'BarcodeType',
48
- :'region' => :'Region',
49
- :'checksum' => :'Checksum'
44
+ :'original_value' => :'OriginalValue',
45
+ :'value_changed' => :'ValueChanged',
46
+ :'calculated_value' => :'CalculatedValue'
50
47
  }
51
48
  end
52
49
 
53
50
  # Attribute type mapping.
54
51
  def self.swagger_types
55
52
  {
56
- :'barcode_value' => :'String',
57
- :'barcode_type' => :'String',
58
- :'region' => :'Array<Point>',
59
- :'checksum' => :'String'
53
+ :'original_value' => :'Object',
54
+ :'value_changed' => :'BOOLEAN',
55
+ :'calculated_value' => :'Object'
60
56
  }
61
57
  end
62
58
 
@@ -68,17 +64,14 @@ module AsposeCellsCloud
68
64
  # convert string to symbol for hash key
69
65
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
66
 
71
- if attributes.has_key?(:'BarcodeValue')
72
- self.barcode_value = attributes[:'BarcodeValue']
67
+ if attributes.has_key?(:'OriginalValue')
68
+ self.original_value = attributes[:'OriginalValue']
73
69
  end
74
- if attributes.has_key?(:'BarcodeType')
75
- self.barcode_type = attributes[:'BarcodeType']
70
+ if attributes.has_key?(:'ValueChanged')
71
+ self.value_changed = attributes[:'ValueChanged']
76
72
  end
77
- if attributes.has_key?(:'Region')
78
- self.region = attributes[:'Region']
79
- end
80
- if attributes.has_key?(:'Checksum')
81
- self.checksum = attributes[:'Checksum']
73
+ if attributes.has_key?(:'CalculatedValue')
74
+ self.calculated_value = attributes[:'CalculatedValue']
82
75
  end
83
76
 
84
77
  end
@@ -87,17 +80,14 @@ module AsposeCellsCloud
87
80
  # @return Array for valid properies with the reasons
88
81
  def list_invalid_properties
89
82
  invalid_properties = Array.new
90
- if @barcode_value.nil?
91
- invalid_properties.push("invalid value for 'barcode_value', barcode_value cannot be nil.")
92
- end
93
- if @barcode_type.nil?
94
- invalid_properties.push("invalid value for 'barcode_type', barcode_type cannot be nil.")
83
+ if @original_value.nil?
84
+ invalid_properties.push("invalid value for 'original_value', original_value cannot be nil.")
95
85
  end
96
- if @region.nil?
97
- invalid_properties.push("invalid value for 'region', region cannot be nil.")
86
+ if @value_changed.nil?
87
+ invalid_properties.push("invalid value for 'value_changed', value_changed cannot be nil.")
98
88
  end
99
- if @checksum.nil?
100
- invalid_properties.push("invalid value for 'checksum', checksum cannot be nil.")
89
+ if @calculated_value.nil?
90
+ invalid_properties.push("invalid value for 'calculated_value', calculated_value cannot be nil.")
101
91
  end
102
92
 
103
93
  return invalid_properties
@@ -106,10 +96,9 @@ module AsposeCellsCloud
106
96
  # Check to see if the all the properties in the model are valid
107
97
  # @return true if the model is valid
108
98
  def valid?
109
- return false if @barcode_value.nil?
110
- return false if @barcode_type.nil?
111
- return false if @region.nil?
112
- return false if @checksum.nil?
99
+ return false if @original_value.nil?
100
+ return false if @value_changed.nil?
101
+ return false if @calculated_value.nil?
113
102
  return true
114
103
  end
115
104
 
@@ -118,10 +107,9 @@ module AsposeCellsCloud
118
107
  def ==(o)
119
108
  return true if self.equal?(o)
120
109
  self.class == o.class &&
121
- barcode_value == o.barcode_value &&
122
- barcode_type == o.barcode_type &&
123
- region == o.region &&
124
- checksum == o.checksum
110
+ original_value == o.original_value &&
111
+ value_changed == o.value_changed &&
112
+ calculated_value == o.calculated_value
125
113
  std_dev == o.std_dev
126
114
  end
127
115
 
@@ -134,7 +122,7 @@ module AsposeCellsCloud
134
122
  # Calculates hash code according to all attributes.
135
123
  # @return [Fixnum] Hash code
136
124
  def hash
137
- [ barcode_value , barcode_type , region , checksum ].hash
125
+ [ original_value , value_changed , calculated_value ].hash
138
126
  end
139
127
 
140
128
  # Builds the object from hash
@@ -39,6 +39,16 @@ module AsposeCellsCloud
39
39
  attr_accessor :ignore_hidden
40
40
  #
41
41
  attr_accessor :only_auto
42
+ #
43
+ attr_accessor :default_edit_language
44
+ #
45
+ attr_accessor :max_row_height
46
+ #
47
+ attr_accessor :auto_fit_wrapped_text_type
48
+ #
49
+ attr_accessor :format_strategy
50
+ #
51
+ attr_accessor :for_rendering
42
52
 
43
53
  # Attribute mapping from ruby-style variable name to JSON key.
44
54
  def self.attribute_map
@@ -46,7 +56,12 @@ module AsposeCellsCloud
46
56
  :'auto_fit_merged_cells_type' => :'AutoFitMergedCellsType',
47
57
  :'auto_fit_merged_cells' => :'AutoFitMergedCells',
48
58
  :'ignore_hidden' => :'IgnoreHidden',
49
- :'only_auto' => :'OnlyAuto'
59
+ :'only_auto' => :'OnlyAuto',
60
+ :'default_edit_language' => :'DefaultEditLanguage',
61
+ :'max_row_height' => :'MaxRowHeight',
62
+ :'auto_fit_wrapped_text_type' => :'AutoFitWrappedTextType',
63
+ :'format_strategy' => :'FormatStrategy',
64
+ :'for_rendering' => :'ForRendering'
50
65
  }
51
66
  end
52
67
 
@@ -56,7 +71,12 @@ module AsposeCellsCloud
56
71
  :'auto_fit_merged_cells_type' => :'String',
57
72
  :'auto_fit_merged_cells' => :'BOOLEAN',
58
73
  :'ignore_hidden' => :'BOOLEAN',
59
- :'only_auto' => :'BOOLEAN'
74
+ :'only_auto' => :'BOOLEAN',
75
+ :'default_edit_language' => :'String',
76
+ :'max_row_height' => :'Float',
77
+ :'auto_fit_wrapped_text_type' => :'String',
78
+ :'format_strategy' => :'String',
79
+ :'for_rendering' => :'BOOLEAN'
60
80
  }
61
81
  end
62
82
 
@@ -80,6 +100,21 @@ module AsposeCellsCloud
80
100
  if attributes.has_key?(:'OnlyAuto')
81
101
  self.only_auto = attributes[:'OnlyAuto']
82
102
  end
103
+ if attributes.has_key?(:'DefaultEditLanguage')
104
+ self.default_edit_language = attributes[:'DefaultEditLanguage']
105
+ end
106
+ if attributes.has_key?(:'MaxRowHeight')
107
+ self.max_row_height = attributes[:'MaxRowHeight']
108
+ end
109
+ if attributes.has_key?(:'AutoFitWrappedTextType')
110
+ self.auto_fit_wrapped_text_type = attributes[:'AutoFitWrappedTextType']
111
+ end
112
+ if attributes.has_key?(:'FormatStrategy')
113
+ self.format_strategy = attributes[:'FormatStrategy']
114
+ end
115
+ if attributes.has_key?(:'ForRendering')
116
+ self.for_rendering = attributes[:'ForRendering']
117
+ end
83
118
 
84
119
  end
85
120
 
@@ -99,6 +134,21 @@ module AsposeCellsCloud
99
134
  if @only_auto.nil?
100
135
  invalid_properties.push("invalid value for 'only_auto', only_auto cannot be nil.")
101
136
  end
137
+ if @default_edit_language.nil?
138
+ invalid_properties.push("invalid value for 'default_edit_language', default_edit_language cannot be nil.")
139
+ end
140
+ if @max_row_height.nil?
141
+ invalid_properties.push("invalid value for 'max_row_height', max_row_height cannot be nil.")
142
+ end
143
+ if @auto_fit_wrapped_text_type.nil?
144
+ invalid_properties.push("invalid value for 'auto_fit_wrapped_text_type', auto_fit_wrapped_text_type cannot be nil.")
145
+ end
146
+ if @format_strategy.nil?
147
+ invalid_properties.push("invalid value for 'format_strategy', format_strategy cannot be nil.")
148
+ end
149
+ if @for_rendering.nil?
150
+ invalid_properties.push("invalid value for 'for_rendering', for_rendering cannot be nil.")
151
+ end
102
152
 
103
153
  return invalid_properties
104
154
  end
@@ -110,6 +160,11 @@ module AsposeCellsCloud
110
160
  return false if @auto_fit_merged_cells.nil?
111
161
  return false if @ignore_hidden.nil?
112
162
  return false if @only_auto.nil?
163
+ return false if @default_edit_language.nil?
164
+ return false if @max_row_height.nil?
165
+ return false if @auto_fit_wrapped_text_type.nil?
166
+ return false if @format_strategy.nil?
167
+ return false if @for_rendering.nil?
113
168
  return true
114
169
  end
115
170
 
@@ -121,7 +176,12 @@ module AsposeCellsCloud
121
176
  auto_fit_merged_cells_type == o.auto_fit_merged_cells_type &&
122
177
  auto_fit_merged_cells == o.auto_fit_merged_cells &&
123
178
  ignore_hidden == o.ignore_hidden &&
124
- only_auto == o.only_auto
179
+ only_auto == o.only_auto &&
180
+ default_edit_language == o.default_edit_language &&
181
+ max_row_height == o.max_row_height &&
182
+ auto_fit_wrapped_text_type == o.auto_fit_wrapped_text_type &&
183
+ format_strategy == o.format_strategy &&
184
+ for_rendering == o.for_rendering
125
185
  std_dev == o.std_dev
126
186
  end
127
187
 
@@ -134,7 +194,7 @@ module AsposeCellsCloud
134
194
  # Calculates hash code according to all attributes.
135
195
  # @return [Fixnum] Hash code
136
196
  def hash
137
- [ auto_fit_merged_cells_type , auto_fit_merged_cells , ignore_hidden , only_auto ].hash
197
+ [ auto_fit_merged_cells_type , auto_fit_merged_cells , ignore_hidden , only_auto , default_edit_language , max_row_height , auto_fit_wrapped_text_type , format_strategy , for_rendering ].hash
138
198
  end
139
199
 
140
200
  # Builds the object from hash
@@ -39,6 +39,12 @@ module AsposeCellsCloud
39
39
  attr_accessor :precision_strategy
40
40
  #
41
41
  attr_accessor :recursive
42
+ #The custom formula calculation engine to extend the default calculation engine of Aspose.Cells.
43
+ attr_accessor :custom_engine
44
+ #The monitor for user to track the progress of formula calculation.
45
+ attr_accessor :calculation_monitor
46
+ #Specifies the data sources for external links used in formulas.
47
+ attr_accessor :linked_data_sources
42
48
 
43
49
  # Attribute mapping from ruby-style variable name to JSON key.
44
50
  def self.attribute_map
@@ -46,7 +52,10 @@ module AsposeCellsCloud
46
52
  :'calc_stack_size' => :'CalcStackSize',
47
53
  :'ignore_error' => :'IgnoreError',
48
54
  :'precision_strategy' => :'PrecisionStrategy',
49
- :'recursive' => :'Recursive'
55
+ :'recursive' => :'Recursive',
56
+ :'custom_engine' => :'CustomEngine',
57
+ :'calculation_monitor' => :'CalculationMonitor',
58
+ :'linked_data_sources' => :'LinkedDataSources'
50
59
  }
51
60
  end
52
61
 
@@ -56,7 +65,10 @@ module AsposeCellsCloud
56
65
  :'calc_stack_size' => :'Integer',
57
66
  :'ignore_error' => :'BOOLEAN',
58
67
  :'precision_strategy' => :'String',
59
- :'recursive' => :'BOOLEAN'
68
+ :'recursive' => :'BOOLEAN',
69
+ :'custom_engine' => :'AbstractCalculationEngine',
70
+ :'calculation_monitor' => :'AbstractCalculationMonitor',
71
+ :'linked_data_sources' => :'Array<Workbook>'
60
72
  }
61
73
  end
62
74
 
@@ -80,6 +92,15 @@ module AsposeCellsCloud
80
92
  if attributes.has_key?(:'Recursive')
81
93
  self.recursive = attributes[:'Recursive']
82
94
  end
95
+ if attributes.has_key?(:'CustomEngine')
96
+ self.custom_engine = attributes[:'CustomEngine']
97
+ end
98
+ if attributes.has_key?(:'CalculationMonitor')
99
+ self.calculation_monitor = attributes[:'CalculationMonitor']
100
+ end
101
+ if attributes.has_key?(:'LinkedDataSources')
102
+ self.linked_data_sources = attributes[:'LinkedDataSources']
103
+ end
83
104
 
84
105
  end
85
106
 
@@ -99,6 +120,15 @@ module AsposeCellsCloud
99
120
  if @recursive.nil?
100
121
  invalid_properties.push("invalid value for 'recursive', recursive cannot be nil.")
101
122
  end
123
+ if @custom_engine.nil?
124
+ invalid_properties.push("invalid value for 'custom_engine', custom_engine cannot be nil.")
125
+ end
126
+ if @calculation_monitor.nil?
127
+ invalid_properties.push("invalid value for 'calculation_monitor', calculation_monitor cannot be nil.")
128
+ end
129
+ if @linked_data_sources.nil?
130
+ invalid_properties.push("invalid value for 'linked_data_sources', linked_data_sources cannot be nil.")
131
+ end
102
132
 
103
133
  return invalid_properties
104
134
  end
@@ -110,6 +140,9 @@ module AsposeCellsCloud
110
140
  return false if @ignore_error.nil?
111
141
  return false if @precision_strategy.nil?
112
142
  return false if @recursive.nil?
143
+ return false if @custom_engine.nil?
144
+ return false if @calculation_monitor.nil?
145
+ return false if @linked_data_sources.nil?
113
146
  return true
114
147
  end
115
148
 
@@ -121,7 +154,10 @@ module AsposeCellsCloud
121
154
  calc_stack_size == o.calc_stack_size &&
122
155
  ignore_error == o.ignore_error &&
123
156
  precision_strategy == o.precision_strategy &&
124
- recursive == o.recursive
157
+ recursive == o.recursive &&
158
+ custom_engine == o.custom_engine &&
159
+ calculation_monitor == o.calculation_monitor &&
160
+ linked_data_sources == o.linked_data_sources
125
161
  std_dev == o.std_dev
126
162
  end
127
163
 
@@ -134,7 +170,7 @@ module AsposeCellsCloud
134
170
  # Calculates hash code according to all attributes.
135
171
  # @return [Fixnum] Hash code
136
172
  def hash
137
- [ calc_stack_size , ignore_error , precision_strategy , recursive ].hash
173
+ [ calc_stack_size , ignore_error , precision_strategy , recursive , custom_engine , calculation_monitor , linked_data_sources ].hash
138
174
  end
139
175
 
140
176
  # Builds the object from hash