aspose_slides_cloud 24.8.0 → 24.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +9 -11
  3. data/README.md +14 -0
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +78 -2
  5. data/lib/aspose_slides_cloud/api/slides_async_api.rb +110 -0
  6. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +14 -2
  7. data/lib/aspose_slides_cloud/models/drawing_guide.rb +123 -0
  8. data/lib/aspose_slides_cloud/models/effect.rb +4 -4
  9. data/lib/aspose_slides_cloud/models/export_options.rb +11 -1
  10. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  11. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -1
  12. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
  13. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  14. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  15. data/lib/aspose_slides_cloud/models/markdown_export_options.rb +2 -1
  16. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -2
  17. data/lib/aspose_slides_cloud/models/picture_fill.rb +85 -1
  18. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -1
  19. data/lib/aspose_slides_cloud/models/shape.rb +4 -2
  20. data/lib/aspose_slides_cloud/models/shape_base.rb +0 -5
  21. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
  22. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
  23. data/lib/aspose_slides_cloud/models/table_row.rb +0 -10
  24. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  25. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  26. data/lib/aspose_slides_cloud/models/view_properties.rb +12 -2
  27. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  28. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  29. data/lib/aspose_slides_cloud/type_registry.rb +1 -0
  30. data/lib/aspose_slides_cloud/version.rb +1 -1
  31. data/lib/aspose_slides_cloud.rb +1 -0
  32. data/spec/api/slides_api_spec.rb +246 -1
  33. data/spec/api/slides_async_api_spec.rb +170 -0
  34. data/spec/use_cases/image_spec.rb +15 -4
  35. data/testRules.json +5 -1
  36. metadata +3 -2
@@ -148,6 +148,7 @@ module AsposeSlidesCloud
148
148
  return true if self.equal?(o)
149
149
  self.class == o.class &&
150
150
  default_regular_font == o.default_regular_font &&
151
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
151
152
  gradient_style == o.gradient_style &&
152
153
  font_fallback_rules == o.font_fallback_rules &&
153
154
  font_subst_rules == o.font_subst_rules &&
@@ -171,7 +172,7 @@ module AsposeSlidesCloud
171
172
  # Calculates hash code according to all attributes.
172
173
  # @return [Fixnum] Hash code
173
174
  def hash
174
- [default_regular_font, gradient_style, 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, slides_layout_options].hash
175
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, 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, slides_layout_options].hash
175
176
  end
176
177
  end
177
178
  end
@@ -82,6 +82,7 @@ module AsposeSlidesCloud
82
82
  return true if self.equal?(o)
83
83
  self.class == o.class &&
84
84
  default_regular_font == o.default_regular_font &&
85
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
85
86
  gradient_style == o.gradient_style &&
86
87
  font_fallback_rules == o.font_fallback_rules &&
87
88
  font_subst_rules == o.font_subst_rules &&
@@ -101,7 +102,7 @@ module AsposeSlidesCloud
101
102
  # Calculates hash code according to all attributes.
102
103
  # @return [Fixnum] Hash code
103
104
  def hash
104
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, show_hidden_slides, slides_layout_options].hash
105
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, show_hidden_slides, slides_layout_options].hash
105
106
  end
106
107
  end
107
108
  end
@@ -81,6 +81,7 @@ module AsposeSlidesCloud
81
81
  return true if self.equal?(o)
82
82
  self.class == o.class &&
83
83
  default_regular_font == o.default_regular_font &&
84
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
84
85
  gradient_style == o.gradient_style &&
85
86
  font_fallback_rules == o.font_fallback_rules &&
86
87
  font_subst_rules == o.font_subst_rules &&
@@ -98,7 +99,7 @@ module AsposeSlidesCloud
98
99
  # Calculates hash code according to all attributes.
99
100
  # @return [Fixnum] Hash code
100
101
  def hash
101
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width].hash
102
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, height, width].hash
102
103
  end
103
104
  end
104
105
  end
@@ -163,6 +163,7 @@ module AsposeSlidesCloud
163
163
  return true if self.equal?(o)
164
164
  self.class == o.class &&
165
165
  default_regular_font == o.default_regular_font &&
166
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
166
167
  gradient_style == o.gradient_style &&
167
168
  font_fallback_rules == o.font_fallback_rules &&
168
169
  font_subst_rules == o.font_subst_rules &&
@@ -185,7 +186,7 @@ module AsposeSlidesCloud
185
186
  # Calculates hash code according to all attributes.
186
187
  # @return [Fixnum] Hash code
187
188
  def hash
188
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, export_type, flavor, new_line_type, images_save_folder_name, show_slide_number, show_comments, show_hidden_slides].hash
189
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, export_type, flavor, new_line_type, images_save_folder_name, show_slide_number, show_comments, show_hidden_slides].hash
189
190
  end
190
191
  end
191
192
  end
@@ -79,6 +79,9 @@ module AsposeSlidesCloud
79
79
  # True if text should be rasterized as a bitmap and saved to PDF when the font does not support bold styling. This approach can enhance the quality of text in the resulting PDF for certain fonts.
80
80
  attr_accessor :rasterize_unsupported_font_styles
81
81
 
82
+ # True to convert all OLE data from the presentation to embedded files in the resulting PDF.
83
+ attr_accessor :include_ole_data
84
+
82
85
  # Attribute mapping from ruby-style variable name to JSON key.
83
86
  def self.attribute_map
84
87
  super.merge({
@@ -100,6 +103,7 @@ module AsposeSlidesCloud
100
103
  :'hide_ink' => :'HideInk',
101
104
  :'interpret_mask_op_as_opacity' => :'InterpretMaskOpAsOpacity',
102
105
  :'rasterize_unsupported_font_styles' => :'RasterizeUnsupportedFontStyles',
106
+ :'include_ole_data' => :'IncludeOleData',
103
107
  })
104
108
  end
105
109
 
@@ -124,6 +128,7 @@ module AsposeSlidesCloud
124
128
  :'hide_ink' => :'BOOLEAN',
125
129
  :'interpret_mask_op_as_opacity' => :'BOOLEAN',
126
130
  :'rasterize_unsupported_font_styles' => :'BOOLEAN',
131
+ :'include_ole_data' => :'BOOLEAN',
127
132
  })
128
133
  end
129
134
 
@@ -205,6 +210,10 @@ module AsposeSlidesCloud
205
210
  if attributes.has_key?(:'RasterizeUnsupportedFontStyles')
206
211
  self.rasterize_unsupported_font_styles = attributes[:'RasterizeUnsupportedFontStyles']
207
212
  end
213
+
214
+ if attributes.has_key?(:'IncludeOleData')
215
+ self.include_ole_data = attributes[:'IncludeOleData']
216
+ end
208
217
  self.format = 'pdf'
209
218
  end
210
219
 
@@ -252,6 +261,7 @@ module AsposeSlidesCloud
252
261
  return true if self.equal?(o)
253
262
  self.class == o.class &&
254
263
  default_regular_font == o.default_regular_font &&
264
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
255
265
  gradient_style == o.gradient_style &&
256
266
  font_fallback_rules == o.font_fallback_rules &&
257
267
  font_subst_rules == o.font_subst_rules &&
@@ -273,7 +283,8 @@ module AsposeSlidesCloud
273
283
  access_permissions == o.access_permissions &&
274
284
  hide_ink == o.hide_ink &&
275
285
  interpret_mask_op_as_opacity == o.interpret_mask_op_as_opacity &&
276
- rasterize_unsupported_font_styles == o.rasterize_unsupported_font_styles
286
+ rasterize_unsupported_font_styles == o.rasterize_unsupported_font_styles &&
287
+ include_ole_data == o.include_ole_data
277
288
  end
278
289
 
279
290
  # @see the `==` method
@@ -285,7 +296,7 @@ module AsposeSlidesCloud
285
296
  # Calculates hash code according to all attributes.
286
297
  # @return [Fixnum] Hash code
287
298
  def hash
288
- [default_regular_font, gradient_style, 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, slides_layout_options, image_transparent_color, apply_image_transparent, access_permissions, hide_ink, interpret_mask_op_as_opacity, rasterize_unsupported_font_styles].hash
299
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, 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, slides_layout_options, image_transparent_color, apply_image_transparent, access_permissions, hide_ink, interpret_mask_op_as_opacity, rasterize_unsupported_font_styles, include_ole_data].hash
289
300
  end
290
301
  end
291
302
  end
@@ -40,6 +40,24 @@ module AsposeSlidesCloud
40
40
  # Picture resolution.
41
41
  attr_accessor :dpi
42
42
 
43
+ # The horizontal offset of the texture from the shape's origin in points. A positive value moves the texture to the right, while a negative value moves it to the left.
44
+ attr_accessor :tile_offset_x
45
+
46
+ # The vertical offset of the texture from the shape's origin in points. A positive value moves the texture down, while a negative value moves it up.
47
+ attr_accessor :tile_offset_y
48
+
49
+ # The horizontal scale for the texture fill as a percentage.
50
+ attr_accessor :tile_scale_x
51
+
52
+ # The vertical scale for the texture fill as a percentage.
53
+ attr_accessor :tile_scale_y
54
+
55
+ # The way texture is aligned within the shape. This setting controls the starting point of the texture pattern and how it repeats across the shape.
56
+ attr_accessor :tile_alignment
57
+
58
+ # Flips the texture tile around its horizontal, vertical or both axis.
59
+ attr_accessor :tile_flip
60
+
43
61
  # Internal image link.
44
62
  attr_accessor :image
45
63
 
@@ -63,6 +81,12 @@ module AsposeSlidesCloud
63
81
  :'crop_right' => :'CropRight',
64
82
  :'crop_top' => :'CropTop',
65
83
  :'dpi' => :'Dpi',
84
+ :'tile_offset_x' => :'TileOffsetX',
85
+ :'tile_offset_y' => :'TileOffsetY',
86
+ :'tile_scale_x' => :'TileScaleX',
87
+ :'tile_scale_y' => :'TileScaleY',
88
+ :'tile_alignment' => :'TileAlignment',
89
+ :'tile_flip' => :'TileFlip',
66
90
  :'image' => :'Image',
67
91
  :'base64_data' => :'Base64Data',
68
92
  :'svg_data' => :'SvgData',
@@ -79,6 +103,12 @@ module AsposeSlidesCloud
79
103
  :'crop_right' => :'Float',
80
104
  :'crop_top' => :'Float',
81
105
  :'dpi' => :'Integer',
106
+ :'tile_offset_x' => :'Float',
107
+ :'tile_offset_y' => :'Float',
108
+ :'tile_scale_x' => :'Float',
109
+ :'tile_scale_y' => :'Float',
110
+ :'tile_alignment' => :'String',
111
+ :'tile_flip' => :'String',
82
112
  :'image' => :'ResourceUri',
83
113
  :'base64_data' => :'String',
84
114
  :'svg_data' => :'String',
@@ -112,6 +142,30 @@ module AsposeSlidesCloud
112
142
  self.dpi = attributes[:'Dpi']
113
143
  end
114
144
 
145
+ if attributes.has_key?(:'TileOffsetX')
146
+ self.tile_offset_x = attributes[:'TileOffsetX']
147
+ end
148
+
149
+ if attributes.has_key?(:'TileOffsetY')
150
+ self.tile_offset_y = attributes[:'TileOffsetY']
151
+ end
152
+
153
+ if attributes.has_key?(:'TileScaleX')
154
+ self.tile_scale_x = attributes[:'TileScaleX']
155
+ end
156
+
157
+ if attributes.has_key?(:'TileScaleY')
158
+ self.tile_scale_y = attributes[:'TileScaleY']
159
+ end
160
+
161
+ if attributes.has_key?(:'TileAlignment')
162
+ self.tile_alignment = attributes[:'TileAlignment']
163
+ end
164
+
165
+ if attributes.has_key?(:'TileFlip')
166
+ self.tile_flip = attributes[:'TileFlip']
167
+ end
168
+
115
169
  if attributes.has_key?(:'Image')
116
170
  self.image = attributes[:'Image']
117
171
  end
@@ -176,12 +230,36 @@ module AsposeSlidesCloud
176
230
  return false if @crop_right.nil?
177
231
  return false if @crop_top.nil?
178
232
  return false if @dpi.nil?
233
+ tile_alignment_validator = EnumAttributeValidator.new('String', ['TopLeft', 'Top', 'TopRight', 'Left', 'Center', 'Right', 'BottomLeft', 'Bottom', 'BottomRight', 'NotDefined'])
234
+ return false unless tile_alignment_validator.valid?(@tile_alignment)
235
+ tile_flip_validator = EnumAttributeValidator.new('String', ['NoFlip', 'FlipX', 'FlipY', 'FlipBoth', 'NotDefined'])
236
+ return false unless tile_flip_validator.valid?(@tile_flip)
179
237
  return false if @picture_fill_mode.nil?
180
238
  picture_fill_mode_validator = EnumAttributeValidator.new('String', ['Tile', 'Stretch'])
181
239
  return false unless picture_fill_mode_validator.valid?(@picture_fill_mode)
182
240
  true
183
241
  end
184
242
 
243
+ # Custom attribute writer method checking allowed values (enum).
244
+ # @param [Object] tile_alignment Object to be assigned
245
+ def tile_alignment=(tile_alignment)
246
+ validator = EnumAttributeValidator.new('String', ['TopLeft', 'Top', 'TopRight', 'Left', 'Center', 'Right', 'BottomLeft', 'Bottom', 'BottomRight', 'NotDefined'])
247
+ unless validator.valid?(tile_alignment)
248
+ fail ArgumentError, 'invalid value for "tile_alignment", must be one of #{validator.allowable_values}.'
249
+ end
250
+ @tile_alignment = tile_alignment
251
+ end
252
+
253
+ # Custom attribute writer method checking allowed values (enum).
254
+ # @param [Object] tile_flip Object to be assigned
255
+ def tile_flip=(tile_flip)
256
+ validator = EnumAttributeValidator.new('String', ['NoFlip', 'FlipX', 'FlipY', 'FlipBoth', 'NotDefined'])
257
+ unless validator.valid?(tile_flip)
258
+ fail ArgumentError, 'invalid value for "tile_flip", must be one of #{validator.allowable_values}.'
259
+ end
260
+ @tile_flip = tile_flip
261
+ end
262
+
185
263
  # Custom attribute writer method checking allowed values (enum).
186
264
  # @param [Object] picture_fill_mode Object to be assigned
187
265
  def picture_fill_mode=(picture_fill_mode)
@@ -203,6 +281,12 @@ module AsposeSlidesCloud
203
281
  crop_right == o.crop_right &&
204
282
  crop_top == o.crop_top &&
205
283
  dpi == o.dpi &&
284
+ tile_offset_x == o.tile_offset_x &&
285
+ tile_offset_y == o.tile_offset_y &&
286
+ tile_scale_x == o.tile_scale_x &&
287
+ tile_scale_y == o.tile_scale_y &&
288
+ tile_alignment == o.tile_alignment &&
289
+ tile_flip == o.tile_flip &&
206
290
  image == o.image &&
207
291
  base64_data == o.base64_data &&
208
292
  svg_data == o.svg_data &&
@@ -219,7 +303,7 @@ module AsposeSlidesCloud
219
303
  # Calculates hash code according to all attributes.
220
304
  # @return [Fixnum] Hash code
221
305
  def hash
222
- [type, crop_bottom, crop_left, crop_right, crop_top, dpi, image, base64_data, svg_data, picture_fill_mode, image_transform_list].hash
306
+ [type, crop_bottom, crop_left, crop_right, crop_top, dpi, tile_offset_x, tile_offset_y, tile_scale_x, tile_scale_y, tile_alignment, tile_flip, image, base64_data, svg_data, picture_fill_mode, image_transform_list].hash
223
307
  end
224
308
  end
225
309
  end
@@ -106,6 +106,7 @@ module AsposeSlidesCloud
106
106
  return true if self.equal?(o)
107
107
  self.class == o.class &&
108
108
  default_regular_font == o.default_regular_font &&
109
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
109
110
  gradient_style == o.gradient_style &&
110
111
  font_fallback_rules == o.font_fallback_rules &&
111
112
  font_subst_rules == o.font_subst_rules &&
@@ -123,7 +124,7 @@ module AsposeSlidesCloud
123
124
  # Calculates hash code according to all attributes.
124
125
  # @return [Fixnum] Hash code
125
126
  def hash
126
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, conformance, zip64_mode].hash
127
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, conformance, zip64_mode].hash
127
128
  end
128
129
  end
129
130
  end
@@ -47,7 +47,7 @@ module AsposeSlidesCloud
47
47
  def self.swagger_types
48
48
  super.merge({
49
49
  :'text' => :'String',
50
- :'paragraphs' => :'ResourceUri',
50
+ :'paragraphs' => :'Array<Paragraph>',
51
51
  :'text_frame_format' => :'TextFrameFormat',
52
52
  })
53
53
  end
@@ -62,7 +62,9 @@ module AsposeSlidesCloud
62
62
  end
63
63
 
64
64
  if attributes.has_key?(:'Paragraphs')
65
- self.paragraphs = attributes[:'Paragraphs']
65
+ if (value = attributes[:'Paragraphs']).is_a?(Array)
66
+ self.paragraphs = value
67
+ end
66
68
  end
67
69
 
68
70
  if attributes.has_key?(:'TextFrameFormat')
@@ -199,10 +199,6 @@ module AsposeSlidesCloud
199
199
  # @return Array for valid properties with the reasons
200
200
  def list_invalid_properties
201
201
  invalid_properties = super
202
- if @z_order_position.nil?
203
- invalid_properties.push('invalid value for "z_order_position", z_order_position cannot be nil.')
204
- end
205
-
206
202
  invalid_properties
207
203
  end
208
204
 
@@ -210,7 +206,6 @@ module AsposeSlidesCloud
210
206
  # @return true if the model is valid
211
207
  def valid?
212
208
  return false if !super
213
- return false if @z_order_position.nil?
214
209
  type_validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape', 'ZoomFrame', 'SectionZoomFrame', 'SummaryZoomFrame', 'SummaryZoomSection'])
215
210
  return false unless type_validator.valid?(@type)
216
211
  true
@@ -187,6 +187,7 @@ module AsposeSlidesCloud
187
187
  return true if self.equal?(o)
188
188
  self.class == o.class &&
189
189
  default_regular_font == o.default_regular_font &&
190
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
190
191
  gradient_style == o.gradient_style &&
191
192
  font_fallback_rules == o.font_fallback_rules &&
192
193
  font_subst_rules == o.font_subst_rules &&
@@ -213,7 +214,7 @@ module AsposeSlidesCloud
213
214
  # Calculates hash code according to all attributes.
214
215
  # @return [Fixnum] Hash code
215
216
  def hash
216
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, vectorize_text, metafile_rasterization_dpi, disable3_d_text, disable_gradient_split, disable_line_end_cropping, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, external_fonts_handling, use_frame_size, use_frame_rotation].hash
217
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, vectorize_text, metafile_rasterization_dpi, disable3_d_text, disable_gradient_split, disable_line_end_cropping, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, external_fonts_handling, use_frame_size, use_frame_rotation].hash
217
218
  end
218
219
  end
219
220
  end
@@ -268,6 +268,7 @@ module AsposeSlidesCloud
268
268
  return true if self.equal?(o)
269
269
  self.class == o.class &&
270
270
  default_regular_font == o.default_regular_font &&
271
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
271
272
  gradient_style == o.gradient_style &&
272
273
  font_fallback_rules == o.font_fallback_rules &&
273
274
  font_subst_rules == o.font_subst_rules &&
@@ -303,7 +304,7 @@ module AsposeSlidesCloud
303
304
  # Calculates hash code according to all attributes.
304
305
  # @return [Fixnum] Hash code
305
306
  def hash
306
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, compressed, viewer_included, show_page_border, show_full_screen, show_page_stepper, show_search, show_top_pane, show_bottom_pane, show_left_pane, start_open_left_pane, enable_context_menu, logo_image, logo_link, jpeg_quality, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
307
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, compressed, viewer_included, show_page_border, show_full_screen, show_page_stepper, show_search, show_top_pane, show_bottom_pane, show_left_pane, start_open_left_pane, enable_context_menu, logo_image, logo_link, jpeg_quality, notes_position, comments_position, comments_area_width, comments_area_color, show_comments_by_no_author].hash
307
308
  end
308
309
  end
309
310
  end
@@ -79,22 +79,12 @@ module AsposeSlidesCloud
79
79
  # @return Array for valid properties with the reasons
80
80
  def list_invalid_properties
81
81
  invalid_properties = Array.new
82
- if @minimal_height.nil?
83
- invalid_properties.push('invalid value for "minimal_height", minimal_height cannot be nil.')
84
- end
85
-
86
- if @height.nil?
87
- invalid_properties.push('invalid value for "height", height cannot be nil.')
88
- end
89
-
90
82
  invalid_properties
91
83
  end
92
84
 
93
85
  # Check to see if the all the properties in the model are valid
94
86
  # @return true if the model is valid
95
87
  def valid?
96
- return false if @minimal_height.nil?
97
- return false if @height.nil?
98
88
  true
99
89
  end
100
90
 
@@ -163,6 +163,7 @@ module AsposeSlidesCloud
163
163
  return true if self.equal?(o)
164
164
  self.class == o.class &&
165
165
  default_regular_font == o.default_regular_font &&
166
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
166
167
  gradient_style == o.gradient_style &&
167
168
  font_fallback_rules == o.font_fallback_rules &&
168
169
  font_subst_rules == o.font_subst_rules &&
@@ -187,7 +188,7 @@ module AsposeSlidesCloud
187
188
  # Calculates hash code according to all attributes.
188
189
  # @return [Fixnum] Hash code
189
190
  def hash
190
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, slides_layout_options, bw_conversion_mode].hash
191
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, slides_layout_options, bw_conversion_mode].hash
191
192
  end
192
193
  end
193
194
  end
@@ -124,6 +124,7 @@ module AsposeSlidesCloud
124
124
  return true if self.equal?(o)
125
125
  self.class == o.class &&
126
126
  default_regular_font == o.default_regular_font &&
127
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
127
128
  gradient_style == o.gradient_style &&
128
129
  font_fallback_rules == o.font_fallback_rules &&
129
130
  font_subst_rules == o.font_subst_rules &&
@@ -143,7 +144,7 @@ module AsposeSlidesCloud
143
144
  # Calculates hash code according to all attributes.
144
145
  # @return [Fixnum] Hash code
145
146
  def hash
146
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
147
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
147
148
  end
148
149
  end
149
150
  end
@@ -52,6 +52,9 @@ module AsposeSlidesCloud
52
52
  # True if the comments should be shown.
53
53
  attr_accessor :show_comments
54
54
 
55
+ # The grid spacing that should be used for the grid underlying the presentation document, in points.
56
+ attr_accessor :grid_spacing
57
+
55
58
  # Attribute mapping from ruby-style variable name to JSON key.
56
59
  def self.attribute_map
57
60
  super.merge({
@@ -64,6 +67,7 @@ module AsposeSlidesCloud
64
67
  :'slide_view_properties' => :'SlideViewProperties',
65
68
  :'notes_view_properties' => :'NotesViewProperties',
66
69
  :'show_comments' => :'ShowComments',
70
+ :'grid_spacing' => :'GridSpacing',
67
71
  })
68
72
  end
69
73
 
@@ -79,6 +83,7 @@ module AsposeSlidesCloud
79
83
  :'slide_view_properties' => :'CommonSlideViewProperties',
80
84
  :'notes_view_properties' => :'CommonSlideViewProperties',
81
85
  :'show_comments' => :'String',
86
+ :'grid_spacing' => :'Float',
82
87
  })
83
88
  end
84
89
 
@@ -122,6 +127,10 @@ module AsposeSlidesCloud
122
127
  if attributes.has_key?(:'ShowComments')
123
128
  self.show_comments = attributes[:'ShowComments']
124
129
  end
130
+
131
+ if attributes.has_key?(:'GridSpacing')
132
+ self.grid_spacing = attributes[:'GridSpacing']
133
+ end
125
134
  end
126
135
 
127
136
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -201,7 +210,8 @@ module AsposeSlidesCloud
201
210
  restored_top == o.restored_top &&
202
211
  slide_view_properties == o.slide_view_properties &&
203
212
  notes_view_properties == o.notes_view_properties &&
204
- show_comments == o.show_comments
213
+ show_comments == o.show_comments &&
214
+ grid_spacing == o.grid_spacing
205
215
  end
206
216
 
207
217
  # @see the `==` method
@@ -213,7 +223,7 @@ module AsposeSlidesCloud
213
223
  # Calculates hash code according to all attributes.
214
224
  # @return [Fixnum] Hash code
215
225
  def hash
216
- [self_uri, alternate_links, last_view, horizontal_bar_state, vertical_bar_state, prefer_single_view, restored_left, restored_top, slide_view_properties, notes_view_properties, show_comments].hash
226
+ [self_uri, alternate_links, last_view, horizontal_bar_state, vertical_bar_state, prefer_single_view, restored_left, restored_top, slide_view_properties, notes_view_properties, show_comments, grid_spacing].hash
217
227
  end
218
228
  end
219
229
  end
@@ -73,6 +73,7 @@ module AsposeSlidesCloud
73
73
  return true if self.equal?(o)
74
74
  self.class == o.class &&
75
75
  default_regular_font == o.default_regular_font &&
76
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
76
77
  gradient_style == o.gradient_style &&
77
78
  font_fallback_rules == o.font_fallback_rules &&
78
79
  font_subst_rules == o.font_subst_rules &&
@@ -89,7 +90,7 @@ module AsposeSlidesCloud
89
90
  # Calculates hash code according to all attributes.
90
91
  # @return [Fixnum] Hash code
91
92
  def hash
92
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, export_hidden_slides].hash
93
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, export_hidden_slides].hash
93
94
  end
94
95
  end
95
96
  end
@@ -91,6 +91,7 @@ module AsposeSlidesCloud
91
91
  return true if self.equal?(o)
92
92
  self.class == o.class &&
93
93
  default_regular_font == o.default_regular_font &&
94
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
94
95
  gradient_style == o.gradient_style &&
95
96
  font_fallback_rules == o.font_fallback_rules &&
96
97
  font_subst_rules == o.font_subst_rules &&
@@ -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, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
113
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
113
114
  end
114
115
  end
115
116
  end
@@ -302,6 +302,7 @@ module AsposeSlidesCloud
302
302
  :'DocumentProperties' => { },
303
303
  :'DocumentProperty' => { },
304
304
  :'DocumentReplaceResult' => { },
305
+ :'DrawingGuide' => { },
305
306
  :'DuotoneEffect' => { :'Type' => 'Duotone', },
306
307
  :'Effect' => { },
307
308
  :'EffectFormat' => { },
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '24.8.0'
24
+ VERSION = '24.12.0'
25
25
  end
@@ -97,6 +97,7 @@ require 'aspose_slides_cloud/models/document'
97
97
  require 'aspose_slides_cloud/models/document_properties'
98
98
  require 'aspose_slides_cloud/models/document_property'
99
99
  require 'aspose_slides_cloud/models/document_replace_result'
100
+ require 'aspose_slides_cloud/models/drawing_guide'
100
101
  require 'aspose_slides_cloud/models/duotone_effect'
101
102
  require 'aspose_slides_cloud/models/effect'
102
103
  require 'aspose_slides_cloud/models/effect_format'