aspose_slides_cloud 22.8.0 → 22.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +13 -13
  3. data/README.md +17 -1
  4. data/TestData/calibri.ttf +0 -0
  5. data/TestData/test.pptx +0 -0
  6. data/docker-entrypoint.sh +1 -0
  7. data/lib/aspose_slides_cloud/api/slides_api.rb +5413 -8668
  8. data/lib/aspose_slides_cloud/api_client.rb +2 -2
  9. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +5 -1
  10. data/lib/aspose_slides_cloud/models/data_point.rb +42 -2
  11. data/lib/aspose_slides_cloud/models/effect.rb +22 -2
  12. data/lib/aspose_slides_cloud/models/export_options.rb +13 -1
  13. data/lib/aspose_slides_cloud/models/font_subst_rule.rb +231 -0
  14. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  15. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -1
  16. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
  17. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  18. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  19. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +5 -1
  20. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -1
  21. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -1
  22. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +5 -1
  23. data/lib/aspose_slides_cloud/models/slide_show_properties.rb +325 -0
  24. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
  25. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
  26. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  27. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  28. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  29. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  30. data/lib/aspose_slides_cloud/type_registry.rb +3 -0
  31. data/lib/aspose_slides_cloud/version.rb +1 -1
  32. data/lib/aspose_slides_cloud.rb +2 -0
  33. data/spec/api/slides_api_spec.rb +23234 -32650
  34. data/spec/spec_utils.rb +2 -0
  35. data/spec/use_cases/chart_spec.rb +209 -0
  36. data/spec/use_cases/comment_spec.rb +159 -0
  37. data/spec/use_cases/convert_spec.rb +45 -0
  38. data/spec/use_cases/font_spec.rb +143 -0
  39. data/spec/use_cases/layout_slide_spec.rb +18 -0
  40. data/spec/use_cases/master_slide_spec.rb +16 -0
  41. data/spec/use_cases/merge_spec.rb +21 -0
  42. data/spec/use_cases/notes_slide_spec.rb +34 -0
  43. data/spec/use_cases/paragraph_spec.rb +330 -0
  44. data/spec/use_cases/portion_spec.rb +324 -0
  45. data/spec/use_cases/property_spec.rb +59 -0
  46. data/spec/use_cases/shape_spec.rb +214 -11
  47. data/spec/use_cases/slide_spec.rb +197 -0
  48. data/spec/use_cases/text_format_spec.rb +74 -0
  49. data/spec/use_cases/text_spec.rb +39 -0
  50. data/testRules.json +50 -1
  51. metadata +17 -2
@@ -411,9 +411,9 @@ module AsposeSlidesCloud
411
411
  value = ""
412
412
  end
413
413
  if value.to_s != ""
414
- value = "/" + value.to_s
414
+ value = "/" + CGI.escape(value.to_s).gsub('+', '%20')
415
415
  end
416
- path.sub('/{' + name + '}', CGI.escape(value))
416
+ path.sub('/{' + name + '}', value)
417
417
  end
418
418
 
419
419
  # Process parameter for query.
@@ -76,6 +76,10 @@ module AsposeSlidesCloud
76
76
  def ==(o)
77
77
  return true if self.equal?(o)
78
78
  self.class == o.class &&
79
+ fill_format == o.fill_format &&
80
+ effect_format == o.effect_format &&
81
+ three_d_format == o.three_d_format &&
82
+ line_format == o.line_format &&
79
83
  x_value == o.x_value &&
80
84
  y_value == o.y_value &&
81
85
  bubble_size == o.bubble_size
@@ -90,7 +94,7 @@ module AsposeSlidesCloud
90
94
  # Calculates hash code according to all attributes.
91
95
  # @return [Fixnum] Hash code
92
96
  def hash
93
- [x_value, y_value, bubble_size].hash
97
+ [fill_format, effect_format, three_d_format, line_format, x_value, y_value, bubble_size].hash
94
98
  end
95
99
 
96
100
  # Builds the object from hash
@@ -25,15 +25,35 @@ require 'date'
25
25
  module AsposeSlidesCloud
26
26
  # Data point.
27
27
  class DataPoint
28
+ # Gets or sets the fill format.
29
+ attr_accessor :fill_format
30
+
31
+ # Gets or sets the effect format.
32
+ attr_accessor :effect_format
33
+
34
+ # Gets or sets the 3D format
35
+ attr_accessor :three_d_format
36
+
37
+ # Gets or sets the line format.
38
+ attr_accessor :line_format
39
+
28
40
  # Attribute mapping from ruby-style variable name to JSON key.
29
41
  def self.attribute_map
30
42
  {
43
+ :'fill_format' => :'FillFormat',
44
+ :'effect_format' => :'EffectFormat',
45
+ :'three_d_format' => :'ThreeDFormat',
46
+ :'line_format' => :'LineFormat',
31
47
  }
32
48
  end
33
49
 
34
50
  # Attribute type mapping.
35
51
  def self.swagger_types
36
52
  {
53
+ :'fill_format' => :'FillFormat',
54
+ :'effect_format' => :'EffectFormat',
55
+ :'three_d_format' => :'ThreeDFormat',
56
+ :'line_format' => :'LineFormat',
37
57
  }
38
58
  end
39
59
 
@@ -44,6 +64,22 @@ module AsposeSlidesCloud
44
64
 
45
65
  # convert string to symbol for hash key
46
66
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
67
+
68
+ if attributes.has_key?(:'FillFormat')
69
+ self.fill_format = attributes[:'FillFormat']
70
+ end
71
+
72
+ if attributes.has_key?(:'EffectFormat')
73
+ self.effect_format = attributes[:'EffectFormat']
74
+ end
75
+
76
+ if attributes.has_key?(:'ThreeDFormat')
77
+ self.three_d_format = attributes[:'ThreeDFormat']
78
+ end
79
+
80
+ if attributes.has_key?(:'LineFormat')
81
+ self.line_format = attributes[:'LineFormat']
82
+ end
47
83
  end
48
84
 
49
85
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +99,11 @@ module AsposeSlidesCloud
63
99
  # @param [Object] Object to be compared
64
100
  def ==(o)
65
101
  return true if self.equal?(o)
66
- self.class == o.class
102
+ self.class == o.class &&
103
+ fill_format == o.fill_format &&
104
+ effect_format == o.effect_format &&
105
+ three_d_format == o.three_d_format &&
106
+ line_format == o.line_format
67
107
  end
68
108
 
69
109
  # @see the `==` method
@@ -75,7 +115,7 @@ module AsposeSlidesCloud
75
115
  # Calculates hash code according to all attributes.
76
116
  # @return [Fixnum] Hash code
77
117
  def hash
78
- [].hash
118
+ [fill_format, effect_format, three_d_format, line_format].hash
79
119
  end
80
120
 
81
121
  # Builds the object from hash
@@ -70,6 +70,12 @@ module AsposeSlidesCloud
70
70
  # Delay time after trigger.
71
71
  attr_accessor :trigger_delay_time
72
72
 
73
+ # Specifies if the effect will repeat until the end of slide.
74
+ attr_accessor :repeat_until_end_slide
75
+
76
+ # Specifies if the effect will repeat until the next click.
77
+ attr_accessor :repeat_until_next_click
78
+
73
79
  class EnumAttributeValidator
74
80
  attr_reader :datatype
75
81
  attr_reader :allowable_values
@@ -110,6 +116,8 @@ module AsposeSlidesCloud
110
116
  :'restart' => :'Restart',
111
117
  :'speed' => :'Speed',
112
118
  :'trigger_delay_time' => :'TriggerDelayTime',
119
+ :'repeat_until_end_slide' => :'RepeatUntilEndSlide',
120
+ :'repeat_until_next_click' => :'RepeatUntilNextClick',
113
121
  }
114
122
  end
115
123
 
@@ -131,6 +139,8 @@ module AsposeSlidesCloud
131
139
  :'restart' => :'String',
132
140
  :'speed' => :'Float',
133
141
  :'trigger_delay_time' => :'Float',
142
+ :'repeat_until_end_slide' => :'BOOLEAN',
143
+ :'repeat_until_next_click' => :'BOOLEAN',
134
144
  }
135
145
  end
136
146
 
@@ -201,6 +211,14 @@ module AsposeSlidesCloud
201
211
  if attributes.has_key?(:'TriggerDelayTime')
202
212
  self.trigger_delay_time = attributes[:'TriggerDelayTime']
203
213
  end
214
+
215
+ if attributes.has_key?(:'RepeatUntilEndSlide')
216
+ self.repeat_until_end_slide = attributes[:'RepeatUntilEndSlide']
217
+ end
218
+
219
+ if attributes.has_key?(:'RepeatUntilNextClick')
220
+ self.repeat_until_next_click = attributes[:'RepeatUntilNextClick']
221
+ end
204
222
  end
205
223
 
206
224
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -300,7 +318,9 @@ module AsposeSlidesCloud
300
318
  repeat_duration == o.repeat_duration &&
301
319
  restart == o.restart &&
302
320
  speed == o.speed &&
303
- trigger_delay_time == o.trigger_delay_time
321
+ trigger_delay_time == o.trigger_delay_time &&
322
+ repeat_until_end_slide == o.repeat_until_end_slide &&
323
+ repeat_until_next_click == o.repeat_until_next_click
304
324
  end
305
325
 
306
326
  # @see the `==` method
@@ -312,7 +332,7 @@ module AsposeSlidesCloud
312
332
  # Calculates hash code according to all attributes.
313
333
  # @return [Fixnum] Hash code
314
334
  def hash
315
- [type, subtype, preset_class_type, shape_index, paragraph_index, trigger_type, accelerate, auto_reverse, decelerate, duration, repeat_count, repeat_duration, restart, speed, trigger_delay_time].hash
335
+ [type, subtype, preset_class_type, shape_index, paragraph_index, trigger_type, accelerate, auto_reverse, decelerate, duration, repeat_count, repeat_duration, restart, speed, trigger_delay_time, repeat_until_end_slide, repeat_until_next_click].hash
316
336
  end
317
337
 
318
338
  # Builds the object from hash
@@ -31,6 +31,9 @@ module AsposeSlidesCloud
31
31
  # Gets of sets list of font fallback rules.
32
32
  attr_accessor :font_fallback_rules
33
33
 
34
+ # Gets of sets list of font substitution rules.
35
+ attr_accessor :font_subst_rules
36
+
34
37
  attr_accessor :format
35
38
 
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -38,6 +41,7 @@ module AsposeSlidesCloud
38
41
  {
39
42
  :'default_regular_font' => :'DefaultRegularFont',
40
43
  :'font_fallback_rules' => :'FontFallbackRules',
44
+ :'font_subst_rules' => :'FontSubstRules',
41
45
  :'format' => :'Format',
42
46
  }
43
47
  end
@@ -47,6 +51,7 @@ module AsposeSlidesCloud
47
51
  {
48
52
  :'default_regular_font' => :'String',
49
53
  :'font_fallback_rules' => :'Array<FontFallbackRule>',
54
+ :'font_subst_rules' => :'Array<FontSubstRule>',
50
55
  :'format' => :'String',
51
56
  }
52
57
  end
@@ -69,6 +74,12 @@ module AsposeSlidesCloud
69
74
  end
70
75
  end
71
76
 
77
+ if attributes.has_key?(:'FontSubstRules')
78
+ if (value = attributes[:'FontSubstRules']).is_a?(Array)
79
+ self.font_subst_rules = value
80
+ end
81
+ end
82
+
72
83
  if attributes.has_key?(:'Format')
73
84
  self.format = attributes[:'Format']
74
85
  end
@@ -94,6 +105,7 @@ module AsposeSlidesCloud
94
105
  self.class == o.class &&
95
106
  default_regular_font == o.default_regular_font &&
96
107
  font_fallback_rules == o.font_fallback_rules &&
108
+ font_subst_rules == o.font_subst_rules &&
97
109
  format == o.format
98
110
  end
99
111
 
@@ -106,7 +118,7 @@ module AsposeSlidesCloud
106
118
  # Calculates hash code according to all attributes.
107
119
  # @return [Fixnum] Hash code
108
120
  def hash
109
- [default_regular_font, font_fallback_rules, format].hash
121
+ [default_regular_font, font_fallback_rules, font_subst_rules, format].hash
110
122
  end
111
123
 
112
124
  # Builds the object from hash
@@ -0,0 +1,231 @@
1
+ =begin
2
+ Copyright (c) 2019 Aspose Pty Ltd
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ of this software and associated documentation files (the "Software"), to deal
6
+ in the Software without restriction, including without limitation the rights
7
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is
9
+ furnished to do so, subject to the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all
12
+ copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ SOFTWARE.
21
+ =end
22
+
23
+ require 'date'
24
+
25
+ module AsposeSlidesCloud
26
+ # Represents font substitution rule.
27
+ class FontSubstRule
28
+ # Font to substitute.
29
+ attr_accessor :source_font
30
+
31
+ # Substitution font.
32
+ attr_accessor :target_font
33
+
34
+ # Substitute when font is not found. Default: true.
35
+ attr_accessor :not_found_only
36
+
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+ :'source_font' => :'SourceFont',
41
+ :'target_font' => :'TargetFont',
42
+ :'not_found_only' => :'NotFoundOnly',
43
+ }
44
+ end
45
+
46
+ # Attribute type mapping.
47
+ def self.swagger_types
48
+ {
49
+ :'source_font' => :'String',
50
+ :'target_font' => :'String',
51
+ :'not_found_only' => :'BOOLEAN',
52
+ }
53
+ end
54
+
55
+ # Initializes the object
56
+ # @param [Hash] attributes Model attributes in the form of hash
57
+ def initialize(attributes = {})
58
+ return unless attributes.is_a?(Hash)
59
+
60
+ # convert string to symbol for hash key
61
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
62
+
63
+ if attributes.has_key?(:'SourceFont')
64
+ self.source_font = attributes[:'SourceFont']
65
+ end
66
+
67
+ if attributes.has_key?(:'TargetFont')
68
+ self.target_font = attributes[:'TargetFont']
69
+ end
70
+
71
+ if attributes.has_key?(:'NotFoundOnly')
72
+ self.not_found_only = attributes[:'NotFoundOnly']
73
+ end
74
+ end
75
+
76
+ # Show invalid properties with the reasons. Usually used together with valid?
77
+ # @return Array for valid properties with the reasons
78
+ def list_invalid_properties
79
+ invalid_properties = Array.new
80
+ invalid_properties
81
+ end
82
+
83
+ # Check to see if the all the properties in the model are valid
84
+ # @return true if the model is valid
85
+ def valid?
86
+ true
87
+ end
88
+
89
+ # Checks equality by comparing each attribute.
90
+ # @param [Object] Object to be compared
91
+ def ==(o)
92
+ return true if self.equal?(o)
93
+ self.class == o.class &&
94
+ source_font == o.source_font &&
95
+ target_font == o.target_font &&
96
+ not_found_only == o.not_found_only
97
+ end
98
+
99
+ # @see the `==` method
100
+ # @param [Object] Object to be compared
101
+ def eql?(o)
102
+ self == o
103
+ end
104
+
105
+ # Calculates hash code according to all attributes.
106
+ # @return [Fixnum] Hash code
107
+ def hash
108
+ [source_font, target_font, not_found_only].hash
109
+ end
110
+
111
+ # Builds the object from hash
112
+ # @param [Hash] attributes Model attributes in the form of hash
113
+ # @return [Object] Returns the model itself
114
+ def build_from_hash(attributes)
115
+ return nil unless attributes.is_a?(Hash)
116
+ self.class.swagger_types.each_pair do |key, type|
117
+ mapKey = self.class.attribute_map[key]
118
+ if !mapKey.nil?
119
+ val = attributes[mapKey]
120
+ if val.nil?
121
+ mapKeyString = mapKey.to_s
122
+ mapKeyString[0] = mapKeyString[0].downcase
123
+ mapKey = mapKeyString.to_sym
124
+ val = attributes[mapKey]
125
+ end
126
+ if !val.nil?
127
+ if type =~ /\AArray<(.*)>/i
128
+ # check to ensure the input is an array given that the the attribute
129
+ # is documented as an array but the input is not
130
+ if val.is_a?(Array)
131
+ self.send("#{key}=", val.map { |v| _deserialize($1, v) })
132
+ end
133
+ else
134
+ self.send("#{key}=", _deserialize(type, val))
135
+ end
136
+ end
137
+ end
138
+ end
139
+
140
+ self
141
+ end
142
+
143
+ # Deserializes the data based on type
144
+ # @param string type Data type
145
+ # @param string value Value to be deserialized
146
+ # @return [Object] Deserialized data
147
+ def _deserialize(type, value)
148
+ case type.to_sym
149
+ when :DateTime
150
+ DateTime.parse(value)
151
+ when :Date
152
+ Date.parse(value)
153
+ when :String
154
+ value.to_s
155
+ when :Integer
156
+ value.to_i
157
+ when :Float
158
+ value.to_f
159
+ when :BOOLEAN
160
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
161
+ true
162
+ else
163
+ false
164
+ end
165
+ when :Object
166
+ # generic object (usually a Hash), return directly
167
+ value
168
+ when /\AArray<(?<inner_type>.+)>\z/
169
+ inner_type = Regexp.last_match[:inner_type]
170
+ value.map { |v| _deserialize(inner_type, v) }
171
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
172
+ k_type = Regexp.last_match[:k_type]
173
+ v_type = Regexp.last_match[:v_type]
174
+ {}.tap do |hash|
175
+ value.each do |k, v|
176
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
177
+ end
178
+ end
179
+ else # model
180
+ registry_type = AsposeSlidesCloud::TypeRegistry.get_type(type.to_s, value)
181
+ if registry_type
182
+ type = registry_type
183
+ end
184
+ temp_model = AsposeSlidesCloud.const_get(type).new
185
+ temp_model.build_from_hash(value)
186
+ end
187
+ end
188
+
189
+ # Returns the string representation of the object
190
+ # @return [String] String presentation of the object
191
+ def to_s
192
+ to_hash.to_s
193
+ end
194
+
195
+ # to_body is an alias to to_hash (backward compatibility)
196
+ # @return [Hash] Returns the object in the form of hash
197
+ def to_body
198
+ to_hash
199
+ end
200
+
201
+ # Returns the object in the form of hash
202
+ # @return [Hash] Returns the object in the form of hash
203
+ def to_hash
204
+ hash = {}
205
+ self.class.attribute_map.each_pair do |attr, param|
206
+ value = self.send(attr)
207
+ next if value.nil?
208
+ hash[param] = _to_hash(value)
209
+ end
210
+ hash
211
+ end
212
+
213
+ # Outputs non-array value in the form of hash
214
+ # For object, use to_hash. Otherwise, just return the value
215
+ # @param [Object] value Any valid value
216
+ # @return [Hash] Returns the value in the form of hash
217
+ def _to_hash(value)
218
+ if value.is_a?(Array)
219
+ value.compact.map { |v| _to_hash(v) }
220
+ elsif value.is_a?(Hash)
221
+ {}.tap do |hash|
222
+ value.each { |k, v| hash[k] = _to_hash(v) }
223
+ end
224
+ elsif value.respond_to? :to_hash
225
+ value.to_hash
226
+ else
227
+ value
228
+ end
229
+ end
230
+ end
231
+ end
@@ -92,6 +92,7 @@ module AsposeSlidesCloud
92
92
  self.class == o.class &&
93
93
  default_regular_font == o.default_regular_font &&
94
94
  font_fallback_rules == o.font_fallback_rules &&
95
+ font_subst_rules == o.font_subst_rules &&
95
96
  format == o.format &&
96
97
  height == o.height &&
97
98
  width == o.width &&
@@ -109,7 +110,7 @@ module AsposeSlidesCloud
109
110
  # Calculates hash code according to all attributes.
110
111
  # @return [Fixnum] Hash code
111
112
  def hash
112
- [default_regular_font, font_fallback_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
113
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
113
114
  end
114
115
 
115
116
  # Builds the object from hash
@@ -83,6 +83,7 @@ module AsposeSlidesCloud
83
83
  self.class == o.class &&
84
84
  default_regular_font == o.default_regular_font &&
85
85
  font_fallback_rules == o.font_fallback_rules &&
86
+ font_subst_rules == o.font_subst_rules &&
86
87
  format == o.format &&
87
88
  animate_transitions == o.animate_transitions &&
88
89
  animate_shapes == o.animate_shapes
@@ -97,7 +98,7 @@ module AsposeSlidesCloud
97
98
  # Calculates hash code according to all attributes.
98
99
  # @return [Fixnum] Hash code
99
100
  def hash
100
- [default_regular_font, font_fallback_rules, format, animate_transitions, animate_shapes].hash
101
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, animate_transitions, animate_shapes].hash
101
102
  end
102
103
 
103
104
  # Builds the object from hash
@@ -231,6 +231,7 @@ module AsposeSlidesCloud
231
231
  self.class == o.class &&
232
232
  default_regular_font == o.default_regular_font &&
233
233
  font_fallback_rules == o.font_fallback_rules &&
234
+ font_subst_rules == o.font_subst_rules &&
234
235
  format == o.format &&
235
236
  save_as_zip == o.save_as_zip &&
236
237
  sub_directory_name == o.sub_directory_name &&
@@ -255,7 +256,7 @@ module AsposeSlidesCloud
255
256
  # Calculates hash code according to all attributes.
256
257
  # @return [Fixnum] Hash code
257
258
  def hash
258
- [default_regular_font, font_fallback_rules, format, save_as_zip, sub_directory_name, show_hidden_slides, svg_responsive_layout, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
259
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, save_as_zip, sub_directory_name, show_hidden_slides, svg_responsive_layout, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
259
260
  end
260
261
 
261
262
  # Builds the object from hash
@@ -147,6 +147,7 @@ module AsposeSlidesCloud
147
147
  self.class == o.class &&
148
148
  default_regular_font == o.default_regular_font &&
149
149
  font_fallback_rules == o.font_fallback_rules &&
150
+ font_subst_rules == o.font_subst_rules &&
150
151
  format == o.format &&
151
152
  height == o.height &&
152
153
  width == o.width &&
@@ -165,7 +166,7 @@ module AsposeSlidesCloud
165
166
  # Calculates hash code according to all attributes.
166
167
  # @return [Fixnum] Hash code
167
168
  def hash
168
- [default_regular_font, font_fallback_rules, format, height, width, notes_position, comments_position, comments_area_width, comments_area_color].hash
169
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, height, width, notes_position, comments_position, comments_area_width, comments_area_color].hash
169
170
  end
170
171
 
171
172
  # Builds the object from hash
@@ -82,6 +82,7 @@ module AsposeSlidesCloud
82
82
  self.class == o.class &&
83
83
  default_regular_font == o.default_regular_font &&
84
84
  font_fallback_rules == o.font_fallback_rules &&
85
+ font_subst_rules == o.font_subst_rules &&
85
86
  format == o.format &&
86
87
  height == o.height &&
87
88
  width == o.width
@@ -96,7 +97,7 @@ module AsposeSlidesCloud
96
97
  # Calculates hash code according to all attributes.
97
98
  # @return [Fixnum] Hash code
98
99
  def hash
99
- [default_regular_font, font_fallback_rules, format, height, width].hash
100
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, height, width].hash
100
101
  end
101
102
 
102
103
  # Builds the object from hash
@@ -94,6 +94,10 @@ module AsposeSlidesCloud
94
94
  def ==(o)
95
95
  return true if self.equal?(o)
96
96
  self.class == o.class &&
97
+ fill_format == o.fill_format &&
98
+ effect_format == o.effect_format &&
99
+ three_d_format == o.three_d_format &&
100
+ line_format == o.line_format &&
97
101
  value == o.value &&
98
102
  set_as_total == o.set_as_total &&
99
103
  invert_if_negative == o.invert_if_negative
@@ -108,7 +112,7 @@ module AsposeSlidesCloud
108
112
  # Calculates hash code according to all attributes.
109
113
  # @return [Fixnum] Hash code
110
114
  def hash
111
- [value, set_as_total, invert_if_negative].hash
115
+ [fill_format, effect_format, three_d_format, line_format, value, set_as_total, invert_if_negative].hash
112
116
  end
113
117
 
114
118
  # Builds the object from hash
@@ -308,6 +308,7 @@ module AsposeSlidesCloud
308
308
  self.class == o.class &&
309
309
  default_regular_font == o.default_regular_font &&
310
310
  font_fallback_rules == o.font_fallback_rules &&
311
+ font_subst_rules == o.font_subst_rules &&
311
312
  format == o.format &&
312
313
  text_compression == o.text_compression &&
313
314
  embed_full_fonts == o.embed_full_fonts &&
@@ -339,7 +340,7 @@ module AsposeSlidesCloud
339
340
  # Calculates hash code according to all attributes.
340
341
  # @return [Fixnum] Hash code
341
342
  def hash
342
- [default_regular_font, font_fallback_rules, format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author, image_transparent_color, apply_image_transparent, access_permissions].hash
343
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, text_compression, embed_full_fonts, compliance, sufficient_resolution, jpeg_quality, draw_slides_frame, show_hidden_slides, save_metafiles_as_png, password, embed_true_type_fonts_for_ascii, additional_common_font_families, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author, image_transparent_color, apply_image_transparent, access_permissions].hash
343
344
  end
344
345
 
345
346
  # Builds the object from hash
@@ -108,6 +108,7 @@ module AsposeSlidesCloud
108
108
  self.class == o.class &&
109
109
  default_regular_font == o.default_regular_font &&
110
110
  font_fallback_rules == o.font_fallback_rules &&
111
+ font_subst_rules == o.font_subst_rules &&
111
112
  format == o.format &&
112
113
  conformance == o.conformance
113
114
  end
@@ -121,7 +122,7 @@ module AsposeSlidesCloud
121
122
  # Calculates hash code according to all attributes.
122
123
  # @return [Fixnum] Hash code
123
124
  def hash
124
- [default_regular_font, font_fallback_rules, format, conformance].hash
125
+ [default_regular_font, font_fallback_rules, font_subst_rules, format, conformance].hash
125
126
  end
126
127
 
127
128
  # Builds the object from hash
@@ -90,6 +90,10 @@ module AsposeSlidesCloud
90
90
  def ==(o)
91
91
  return true if self.equal?(o)
92
92
  self.class == o.class &&
93
+ fill_format == o.fill_format &&
94
+ effect_format == o.effect_format &&
95
+ three_d_format == o.three_d_format &&
96
+ line_format == o.line_format &&
93
97
  x_value == o.x_value &&
94
98
  y_value == o.y_value
95
99
  end
@@ -103,7 +107,7 @@ module AsposeSlidesCloud
103
107
  # Calculates hash code according to all attributes.
104
108
  # @return [Fixnum] Hash code
105
109
  def hash
106
- [x_value, y_value].hash
110
+ [fill_format, effect_format, three_d_format, line_format, x_value, y_value].hash
107
111
  end
108
112
 
109
113
  # Builds the object from hash