aspose_cells_cloud 25.3 → 25.4

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +59 -60
  3. data/lib/aspose_cells_cloud/api/cells_api.rb +15 -0
  4. data/lib/aspose_cells_cloud/models/check_external_reference_options.rb +258 -0
  5. data/lib/aspose_cells_cloud/models/check_formula_error_options.rb +258 -0
  6. data/lib/aspose_cells_cloud/models/checked_external_reference_response.rb +258 -0
  7. data/lib/aspose_cells_cloud/models/checked_formula_errors_response.rb +246 -0
  8. data/lib/aspose_cells_cloud/requests/check_workbook_formula_errors_request.rb +103 -0
  9. data/lib/aspose_cells_cloud/requests/check_wrokbook_external_reference_request.rb +103 -0
  10. data/lib/aspose_cells_cloud/requests/get_workbook_request.rb +9 -2
  11. data/lib/aspose_cells_cloud/requests/post_convert_workbook_request.rb +10 -2
  12. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_docx_request.rb +9 -2
  13. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_html_request.rb +9 -2
  14. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_json_request.rb +9 -2
  15. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_markdown_request.rb +9 -2
  16. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pdf_request.rb +9 -2
  17. data/lib/aspose_cells_cloud/requests/post_convert_workbook_to_pptx_request.rb +9 -2
  18. data/lib/aspose_cells_cloud/requests/post_convert_worksheet_to_image_request.rb +10 -2
  19. data/lib/aspose_cells_cloud/requests/post_export_request.rb +9 -2
  20. data/lib/aspose_cells_cloud/requests/post_import_data_request.rb +9 -2
  21. data/lib/aspose_cells_cloud/requests/post_workbook_save_as_request.rb +9 -2
  22. data/lib/aspose_cells_cloud/requests/put_convert_workbook_request.rb +13 -2
  23. data/lib/aspose_cells_cloud/version.rb +1 -1
  24. data/lib/aspose_cells_cloud.rb +6 -0
  25. data/spec/api/batch_controller_spec.rb +23 -0
  26. data/spec/api/pivot_tables_controller_spec.rb +1 -4
  27. data/spec/conversion/conversion_json_spec.rb +0 -1
  28. data/spec/conversion/conversion_png_spec.rb +0 -1
  29. data/spec/conversion/conversion_spec.rb +18 -23
  30. data/spec/document/light_cells_spec.rb +54 -330
  31. data/spec/spec_helper.rb +3 -3
  32. metadata +8 -2
@@ -0,0 +1,246 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="CheckedFormulaErrorsResponserb.cs">
4
+ Copyright (c) 2025 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require 'date'
30
+
31
+ module AsposeCellsCloud
32
+
33
+ class CheckedFormulaErrorsResponse
34
+ #
35
+ attr_accessor :is_formulas_errors
36
+ #
37
+ attr_accessor :formulas_errors
38
+ #
39
+ attr_accessor :code
40
+ #
41
+ attr_accessor :status
42
+
43
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ :'is_formulas_errors' => :'IsFormulasErrors',
47
+ :'formulas_errors' => :'FormulasErrors',
48
+ :'code' => :'Code',
49
+ :'status' => :'Status'
50
+ }
51
+ end
52
+
53
+ # Attribute type mapping.
54
+ def self.swagger_types
55
+ {
56
+ :'is_formulas_errors' => :'BOOLEAN',
57
+ :'formulas_errors' => :'Array<String>',
58
+ :'code' => :'Integer',
59
+ :'status' => :'String'
60
+ }
61
+ end
62
+
63
+ # Initializes the object
64
+ # @param [Hash] attributes Model attributes in the form of hash
65
+ def initialize(attributes = {})
66
+ return unless attributes.is_a?(Hash)
67
+
68
+ # convert string to symbol for hash key
69
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
70
+
71
+ if attributes.has_key?(:'IsFormulasErrors')
72
+ self.is_formulas_errors = attributes[:'IsFormulasErrors']
73
+ end
74
+ if attributes.has_key?(:'FormulasErrors')
75
+ self.formulas_errors = attributes[:'FormulasErrors']
76
+ end
77
+ if attributes.has_key?(:'Code')
78
+ self.code = attributes[:'Code']
79
+ end
80
+ if attributes.has_key?(:'Status')
81
+ self.status = attributes[:'Status']
82
+ end
83
+
84
+ end
85
+
86
+ # Show invalid properties with the reasons. Usually used together with valid?
87
+ # @return Array for valid properies with the reasons
88
+ def list_invalid_properties
89
+ invalid_properties = Array.new
90
+ if @is_formulas_errors.nil?
91
+ invalid_properties.push("invalid value for 'is_formulas_errors', is_formulas_errors cannot be nil.")
92
+ end
93
+ if @formulas_errors.nil?
94
+ invalid_properties.push("invalid value for 'formulas_errors', formulas_errors cannot be nil.")
95
+ end
96
+ if @code.nil?
97
+ invalid_properties.push("invalid value for 'code', code cannot be nil.")
98
+ end
99
+ if @status.nil?
100
+ invalid_properties.push("invalid value for 'status', status cannot be nil.")
101
+ end
102
+
103
+ return invalid_properties
104
+ end
105
+
106
+ # Check to see if the all the properties in the model are valid
107
+ # @return true if the model is valid
108
+ def valid?
109
+ return false if @is_formulas_errors.nil?
110
+ return false if @formulas_errors.nil?
111
+ return false if @code.nil?
112
+ return false if @status.nil?
113
+ return true
114
+ end
115
+
116
+ # Checks equality by comparing each attribute.
117
+ # @param [Object] Object to be compared
118
+ def ==(o)
119
+ return true if self.equal?(o)
120
+ self.class == o.class &&
121
+ is_formulas_errors == o.is_formulas_errors &&
122
+ formulas_errors == o.formulas_errors &&
123
+ code == o.code &&
124
+ status == o.status
125
+ std_dev == o.std_dev
126
+ end
127
+
128
+ # @see the `==` method
129
+ # @param [Object] Object to be compared
130
+ def eql?(o)
131
+ self == o
132
+ end
133
+
134
+ # Calculates hash code according to all attributes.
135
+ # @return [Fixnum] Hash code
136
+ def hash
137
+ [ is_formulas_errors , formulas_errors , code , status ].hash
138
+ end
139
+
140
+ # Builds the object from hash
141
+ # @param [Hash] attributes Model attributes in the form of hash
142
+ # @return [Object] Returns the model itself
143
+ def build_from_hash(attributes)
144
+ return nil unless attributes.is_a?(Hash)
145
+ self.class.swagger_types.each_pair do |key, type|
146
+ if type =~ /\AArray<(.*)>/i
147
+ # check to ensure the input is an array given that the the attribute
148
+ # is documented as an array but the input is not
149
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
150
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
151
+ end
152
+ elsif !attributes[self.class.attribute_map[key]].nil?
153
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
154
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
155
+ end
156
+
157
+ self
158
+ end
159
+
160
+ # Deserializes the data based on type
161
+ # @param string type Data type
162
+ # @param string value Value to be deserialized
163
+ # @return [Object] Deserialized data
164
+ def _deserialize(type, value)
165
+ case type.to_sym
166
+ when :DateTime
167
+ DateTime.parse(value)
168
+ when :Date
169
+ Date.parse(value)
170
+ when :String
171
+ value.to_s
172
+ when :Integer
173
+ value.to_i
174
+ when :Float
175
+ value.to_f
176
+ when :BOOLEAN
177
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
178
+ true
179
+ else
180
+ false
181
+ end
182
+ when :Object
183
+ # generic object (usually a Hash), return directly
184
+ value
185
+ when /\AArray<(?<inner_type>.+)>\z/
186
+ inner_type = Regexp.last_match[:inner_type]
187
+ value.map { |v| _deserialize(inner_type, v) }
188
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
189
+ k_type = Regexp.last_match[:k_type]
190
+ v_type = Regexp.last_match[:v_type]
191
+ {}.tap do |hash|
192
+ value.each do |k, v|
193
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
194
+ end
195
+ end
196
+ else # model
197
+ temp_model = AsposeCellsCloud.const_get(type).new
198
+ temp_model.build_from_hash(value)
199
+ end
200
+ end
201
+
202
+ # Returns the string representation of the object
203
+ # @return [String] String presentation of the object
204
+ def to_s
205
+ to_hash.to_s
206
+ end
207
+
208
+ # to_body is an alias to to_hash (backward compatibility)
209
+ # @return [Hash] Returns the object in the form of hash
210
+ def to_body
211
+ to_hash
212
+ end
213
+
214
+ # Returns the object in the form of hash
215
+ # @return [Hash] Returns the object in the form of hash
216
+ def to_hash
217
+ hash = {}
218
+ self.class.attribute_map.each_pair do |attr, param|
219
+ value = self.send(attr)
220
+ next if value.nil?
221
+ hash[param] = _to_hash(value)
222
+ end
223
+ hash
224
+ end
225
+
226
+ # Outputs non-array value in the form of hash
227
+ # For object, use to_hash. Otherwise, just return the value
228
+ # @param [Object] value Any valid value
229
+ # @return [Hash] Returns the value in the form of hash
230
+ def _to_hash(value)
231
+ if value.is_a?(Array)
232
+ value.compact.map{ |v| _to_hash(v) }
233
+ elsif value.is_a?(Hash)
234
+ {}.tap do |hash|
235
+ value.each { |k, v| hash[k] = _to_hash(v) }
236
+ end
237
+ elsif value.respond_to? :to_hash
238
+ value.to_hash
239
+ else
240
+ value
241
+ end
242
+ end
243
+
244
+ end
245
+
246
+ end
@@ -0,0 +1,103 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="CheckWorkbookFormulaErrors_request.rb.cs">
4
+ Copyright (c) 2025 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class CheckWorkbookFormulaErrorsRequest
33
+
34
+ attr_accessor :formula_error_options
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
41
+
42
+ if attributes.has_key?(:'formulaErrorOptions')
43
+ self.formula_error_options = attributes[:'formulaErrorOptions']
44
+ end
45
+
46
+ end
47
+ # Attribute mapping from ruby-style variable name to JSON key.
48
+ def self.attribute_map
49
+ {
50
+ :'formula_error_options' => :'formulaErrorOptions'
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+ :'formula_error_options' => :'CheckFormulaErrorOptions'
58
+ }
59
+ end
60
+
61
+ def create_http_request(api_client,opts = {})
62
+ if api_client.config.debugging
63
+ api_client.config.logger.debug "Calling API: CellsApi.check_workbook_formula_errors ..."
64
+ end
65
+ api_client.request_token_if_needed
66
+ # verify the required parameter 'formula_error_options' is set
67
+ if api_client.config.client_side_validation && formula_error_options.nil?
68
+ fail ArgumentError, "Missing the required parameter 'formula_error_options' when calling CellsApi.check_workbook_formula_errors "
69
+ end
70
+
71
+ # resource path
72
+ local_var_path = "/cells/checkformulaerrors"
73
+ # query parameters
74
+ query_params = {}
75
+ # header parameters
76
+ header_params = {}
77
+ # HTTP header 'Accept' (if needed)
78
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
79
+ # HTTP header 'Content-Type'
80
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
81
+
82
+ # form parameters
83
+ form_params = {}
84
+ post_body = nil
85
+ post_body = api_client.object_to_http_body(formula_error_options)
86
+
87
+
88
+ #auth_names = []
89
+ auth_names = ['JWT']
90
+ data, status_code, headers = api_client.call_api(:POST, local_var_path,
91
+ :header_params => header_params,
92
+ :query_params => query_params,
93
+ :form_params => form_params,
94
+ :body => post_body,
95
+ :auth_names => auth_names,
96
+ :return_type => 'CheckedFormulaErrorsResponse')
97
+ if api_client.config.debugging
98
+ api_client.config.logger.debug "API called: Specification.Name>Api.check_workbook_formula_errors\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
+ end
100
+ return data, status_code, headers
101
+ end
102
+ end
103
+ end
@@ -0,0 +1,103 @@
1
+ =begin
2
+ --------------------------------------------------------------------------------------------------------------------
3
+ <copyright company="Aspose" file="CheckWrokbookExternalReference_request.rb.cs">
4
+ Copyright (c) 2025 Aspose.Cells Cloud
5
+ </copyright>
6
+ <summary>
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in all
15
+ copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23
+ SOFTWARE.
24
+ </summary>
25
+ --------------------------------------------------------------------------------------------------------------------
26
+ =end
27
+
28
+
29
+ require "uri"
30
+
31
+ module AsposeCellsCloud
32
+ class CheckWrokbookExternalReferenceRequest
33
+
34
+ attr_accessor :check_external_reference_options
35
+
36
+ def initialize(attributes = {})
37
+ return unless attributes.is_a?(Hash)
38
+
39
+ # convert string to symbol for hash key
40
+ attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
41
+
42
+ if attributes.has_key?(:'checkExternalReferenceOptions')
43
+ self.check_external_reference_options = attributes[:'checkExternalReferenceOptions']
44
+ end
45
+
46
+ end
47
+ # Attribute mapping from ruby-style variable name to JSON key.
48
+ def self.attribute_map
49
+ {
50
+ :'check_external_reference_options' => :'checkExternalReferenceOptions'
51
+ }
52
+ end
53
+
54
+ # Attribute type mapping.
55
+ def self.swagger_types
56
+ {
57
+ :'check_external_reference_options' => :'CheckExternalReferenceOptions'
58
+ }
59
+ end
60
+
61
+ def create_http_request(api_client,opts = {})
62
+ if api_client.config.debugging
63
+ api_client.config.logger.debug "Calling API: CellsApi.check_wrokbook_external_reference ..."
64
+ end
65
+ api_client.request_token_if_needed
66
+ # verify the required parameter 'check_external_reference_options' is set
67
+ if api_client.config.client_side_validation && check_external_reference_options.nil?
68
+ fail ArgumentError, "Missing the required parameter 'check_external_reference_options' when calling CellsApi.check_wrokbook_external_reference "
69
+ end
70
+
71
+ # resource path
72
+ local_var_path = "/cells/checkexternalreference"
73
+ # query parameters
74
+ query_params = {}
75
+ # header parameters
76
+ header_params = {}
77
+ # HTTP header 'Accept' (if needed)
78
+ header_params['Accept'] = api_client.select_header_accept(['application/json'])
79
+ # HTTP header 'Content-Type'
80
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/json'])
81
+
82
+ # form parameters
83
+ form_params = {}
84
+ post_body = nil
85
+ post_body = api_client.object_to_http_body(check_external_reference_options)
86
+
87
+
88
+ #auth_names = []
89
+ auth_names = ['JWT']
90
+ data, status_code, headers = api_client.call_api(:POST, local_var_path,
91
+ :header_params => header_params,
92
+ :query_params => query_params,
93
+ :form_params => form_params,
94
+ :body => post_body,
95
+ :auth_names => auth_names,
96
+ :return_type => 'CheckedExternalReferenceResponse')
97
+ if api_client.config.debugging
98
+ api_client.config.logger.debug "API called: Specification.Name>Api.check_wrokbook_external_reference\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
99
+ end
100
+ return data, status_code, headers
101
+ end
102
+ end
103
+ end
@@ -44,6 +44,7 @@ module AsposeCellsCloud
44
44
  attr_accessor :region
45
45
  attr_accessor :page_wide_fit_on_per_sheet
46
46
  attr_accessor :page_tall_fit_on_per_sheet
47
+ attr_accessor :fonts_location
47
48
 
48
49
  def initialize(attributes = {})
49
50
  return unless attributes.is_a?(Hash)
@@ -90,6 +91,9 @@ module AsposeCellsCloud
90
91
  if attributes.has_key?(:'pageTallFitOnPerSheet')
91
92
  self.page_tall_fit_on_per_sheet = attributes[:'pageTallFitOnPerSheet']
92
93
  end
94
+ if attributes.has_key?(:'FontsLocation')
95
+ self.fonts_location = attributes[:'FontsLocation']
96
+ end
93
97
 
94
98
  end
95
99
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -107,7 +111,8 @@ module AsposeCellsCloud
107
111
  :'check_excel_restriction' => :'checkExcelRestriction',
108
112
  :'region' => :'region',
109
113
  :'page_wide_fit_on_per_sheet' => :'pageWideFitOnPerSheet',
110
- :'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet'
114
+ :'page_tall_fit_on_per_sheet' => :'pageTallFitOnPerSheet',
115
+ :'fonts_location' => :'FontsLocation'
111
116
  }
112
117
  end
113
118
 
@@ -126,7 +131,8 @@ module AsposeCellsCloud
126
131
  :'check_excel_restriction' => :'BOOLEAN',
127
132
  :'region' => :'String',
128
133
  :'page_wide_fit_on_per_sheet' => :'BOOLEAN',
129
- :'page_tall_fit_on_per_sheet' => :'BOOLEAN'
134
+ :'page_tall_fit_on_per_sheet' => :'BOOLEAN',
135
+ :'fonts_location' => :'String'
130
136
  }
131
137
  end
132
138
 
@@ -156,6 +162,7 @@ module AsposeCellsCloud
156
162
  query_params[:'region'] = self.region if !self.region.nil?
157
163
  query_params[:'pageWideFitOnPerSheet'] = self.page_wide_fit_on_per_sheet if !self.page_wide_fit_on_per_sheet.nil?
158
164
  query_params[:'pageTallFitOnPerSheet'] = self.page_tall_fit_on_per_sheet if !self.page_tall_fit_on_per_sheet.nil?
165
+ query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
159
166
 
160
167
  # header parameters
161
168
  header_params = {}
@@ -32,6 +32,7 @@ module AsposeCellsCloud
32
32
  class PostConvertWorkbookRequest
33
33
 
34
34
  attr_accessor :convert_workbook_options
35
+ attr_accessor :fonts_location
35
36
 
36
37
  def initialize(attributes = {})
37
38
  return unless attributes.is_a?(Hash)
@@ -42,19 +43,24 @@ module AsposeCellsCloud
42
43
  if attributes.has_key?(:'convertWorkbookOptions')
43
44
  self.convert_workbook_options = attributes[:'convertWorkbookOptions']
44
45
  end
46
+ if attributes.has_key?(:'FontsLocation')
47
+ self.fonts_location = attributes[:'FontsLocation']
48
+ end
45
49
 
46
50
  end
47
51
  # Attribute mapping from ruby-style variable name to JSON key.
48
52
  def self.attribute_map
49
53
  {
50
- :'convert_workbook_options' => :'convertWorkbookOptions'
54
+ :'convert_workbook_options' => :'convertWorkbookOptions',
55
+ :'fonts_location' => :'FontsLocation'
51
56
  }
52
57
  end
53
58
 
54
59
  # Attribute type mapping.
55
60
  def self.swagger_types
56
61
  {
57
- :'convert_workbook_options' => :'ConvertWorkbookOptions'
62
+ :'convert_workbook_options' => :'ConvertWorkbookOptions',
63
+ :'fonts_location' => :'String'
58
64
  }
59
65
  end
60
66
 
@@ -72,6 +78,8 @@ module AsposeCellsCloud
72
78
  local_var_path = "/cells/convertWorkbook"
73
79
  # query parameters
74
80
  query_params = {}
81
+ query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
82
+
75
83
  # header parameters
76
84
  header_params = {}
77
85
  # HTTP header 'Accept' (if needed)
@@ -35,6 +35,7 @@ module AsposeCellsCloud
35
35
  attr_accessor :password
36
36
  attr_accessor :check_excel_restriction
37
37
  attr_accessor :region
38
+ attr_accessor :fonts_location
38
39
 
39
40
  def initialize(attributes = {})
40
41
  return unless attributes.is_a?(Hash)
@@ -54,6 +55,9 @@ module AsposeCellsCloud
54
55
  if attributes.has_key?(:'region')
55
56
  self.region = attributes[:'region']
56
57
  end
58
+ if attributes.has_key?(:'FontsLocation')
59
+ self.fonts_location = attributes[:'FontsLocation']
60
+ end
57
61
 
58
62
  end
59
63
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -62,7 +66,8 @@ module AsposeCellsCloud
62
66
  :'file' => :'File',
63
67
  :'password' => :'password',
64
68
  :'check_excel_restriction' => :'checkExcelRestriction',
65
- :'region' => :'region'
69
+ :'region' => :'region',
70
+ :'fonts_location' => :'FontsLocation'
66
71
  }
67
72
  end
68
73
 
@@ -72,7 +77,8 @@ module AsposeCellsCloud
72
77
  :'file' => :'Hash',
73
78
  :'password' => :'String',
74
79
  :'check_excel_restriction' => :'BOOLEAN',
75
- :'region' => :'String'
80
+ :'region' => :'String',
81
+ :'fonts_location' => :'String'
76
82
  }
77
83
  end
78
84
 
@@ -93,6 +99,7 @@ module AsposeCellsCloud
93
99
  query_params[:'password'] = self.password if !self.password.nil?
94
100
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
95
101
  query_params[:'region'] = self.region if !self.region.nil?
102
+ query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
96
103
 
97
104
  # header parameters
98
105
  header_params = {}
@@ -35,6 +35,7 @@ module AsposeCellsCloud
35
35
  attr_accessor :password
36
36
  attr_accessor :check_excel_restriction
37
37
  attr_accessor :region
38
+ attr_accessor :fonts_location
38
39
 
39
40
  def initialize(attributes = {})
40
41
  return unless attributes.is_a?(Hash)
@@ -54,6 +55,9 @@ module AsposeCellsCloud
54
55
  if attributes.has_key?(:'region')
55
56
  self.region = attributes[:'region']
56
57
  end
58
+ if attributes.has_key?(:'FontsLocation')
59
+ self.fonts_location = attributes[:'FontsLocation']
60
+ end
57
61
 
58
62
  end
59
63
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -62,7 +66,8 @@ module AsposeCellsCloud
62
66
  :'file' => :'File',
63
67
  :'password' => :'password',
64
68
  :'check_excel_restriction' => :'checkExcelRestriction',
65
- :'region' => :'region'
69
+ :'region' => :'region',
70
+ :'fonts_location' => :'FontsLocation'
66
71
  }
67
72
  end
68
73
 
@@ -72,7 +77,8 @@ module AsposeCellsCloud
72
77
  :'file' => :'Hash',
73
78
  :'password' => :'String',
74
79
  :'check_excel_restriction' => :'BOOLEAN',
75
- :'region' => :'String'
80
+ :'region' => :'String',
81
+ :'fonts_location' => :'String'
76
82
  }
77
83
  end
78
84
 
@@ -93,6 +99,7 @@ module AsposeCellsCloud
93
99
  query_params[:'password'] = self.password if !self.password.nil?
94
100
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
95
101
  query_params[:'region'] = self.region if !self.region.nil?
102
+ query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
96
103
 
97
104
  # header parameters
98
105
  header_params = {}
@@ -35,6 +35,7 @@ module AsposeCellsCloud
35
35
  attr_accessor :password
36
36
  attr_accessor :check_excel_restriction
37
37
  attr_accessor :region
38
+ attr_accessor :fonts_location
38
39
 
39
40
  def initialize(attributes = {})
40
41
  return unless attributes.is_a?(Hash)
@@ -54,6 +55,9 @@ module AsposeCellsCloud
54
55
  if attributes.has_key?(:'region')
55
56
  self.region = attributes[:'region']
56
57
  end
58
+ if attributes.has_key?(:'FontsLocation')
59
+ self.fonts_location = attributes[:'FontsLocation']
60
+ end
57
61
 
58
62
  end
59
63
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -62,7 +66,8 @@ module AsposeCellsCloud
62
66
  :'file' => :'File',
63
67
  :'password' => :'password',
64
68
  :'check_excel_restriction' => :'checkExcelRestriction',
65
- :'region' => :'region'
69
+ :'region' => :'region',
70
+ :'fonts_location' => :'FontsLocation'
66
71
  }
67
72
  end
68
73
 
@@ -72,7 +77,8 @@ module AsposeCellsCloud
72
77
  :'file' => :'Hash',
73
78
  :'password' => :'String',
74
79
  :'check_excel_restriction' => :'BOOLEAN',
75
- :'region' => :'String'
80
+ :'region' => :'String',
81
+ :'fonts_location' => :'String'
76
82
  }
77
83
  end
78
84
 
@@ -93,6 +99,7 @@ module AsposeCellsCloud
93
99
  query_params[:'password'] = self.password if !self.password.nil?
94
100
  query_params[:'checkExcelRestriction'] = self.check_excel_restriction if !self.check_excel_restriction.nil?
95
101
  query_params[:'region'] = self.region if !self.region.nil?
102
+ query_params[:'FontsLocation'] = self.fonts_location if !self.fonts_location.nil?
96
103
 
97
104
  # header parameters
98
105
  header_params = {}