aspose_slides_cloud 24.12.0 → 25.6.0

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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +20 -18
  3. data/README.md +15 -71
  4. data/TestData/video.pptx +0 -0
  5. data/lib/aspose_slides_cloud/api/slides_api.rb +370 -121
  6. data/lib/aspose_slides_cloud/api/slides_async_api.rb +12 -12
  7. data/lib/aspose_slides_cloud/models/audio_frame.rb +51 -1
  8. data/lib/aspose_slides_cloud/models/caption_track.rb +116 -0
  9. data/lib/aspose_slides_cloud/models/caption_tracks.rb +93 -0
  10. data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
  11. data/lib/aspose_slides_cloud/models/export_options.rb +11 -1
  12. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  13. data/lib/aspose_slides_cloud/models/html5_export_options.rb +19 -8
  14. data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -2
  15. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  16. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  17. data/lib/aspose_slides_cloud/models/markdown_export_options.rb +45 -2
  18. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +2 -1
  19. data/lib/aspose_slides_cloud/models/picture_fill.rb +21 -1
  20. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -2
  21. data/lib/aspose_slides_cloud/models/save.rb +2 -2
  22. data/lib/aspose_slides_cloud/models/save_shape.rb +2 -2
  23. data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
  24. data/lib/aspose_slides_cloud/models/shape_export_format.rb +1 -0
  25. data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
  26. data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -2
  27. data/lib/aspose_slides_cloud/models/swf_export_options.rb +9 -72
  28. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  29. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  30. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  31. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  32. data/lib/aspose_slides_cloud/type_registry.rb +4 -0
  33. data/lib/aspose_slides_cloud/version.rb +1 -1
  34. data/lib/aspose_slides_cloud.rb +2 -0
  35. data/spec/api/slides_api_spec.rb +1107 -252
  36. data/spec/use_cases/merge_spec.rb +1 -1
  37. data/testRules.json +7 -1
  38. metadata +5 -2
@@ -46,6 +46,15 @@ module AsposeSlidesCloud
46
46
  # Specifies whether the generated document should include hidden slides. Default is false.
47
47
  attr_accessor :show_hidden_slides
48
48
 
49
+ # true to remove empty or whitespace-only lines from the final Markdown output. Default is false.
50
+ attr_accessor :remove_empty_lines
51
+
52
+ # Specifies how repeated space characters are preserved to maintain visual alignment.
53
+ attr_accessor :handle_repeated_spaces
54
+
55
+ # The format of slide number headers.
56
+ attr_accessor :slide_number_format
57
+
49
58
  # Attribute mapping from ruby-style variable name to JSON key.
50
59
  def self.attribute_map
51
60
  super.merge({
@@ -56,6 +65,9 @@ module AsposeSlidesCloud
56
65
  :'show_slide_number' => :'ShowSlideNumber',
57
66
  :'show_comments' => :'ShowComments',
58
67
  :'show_hidden_slides' => :'ShowHiddenSlides',
68
+ :'remove_empty_lines' => :'RemoveEmptyLines',
69
+ :'handle_repeated_spaces' => :'HandleRepeatedSpaces',
70
+ :'slide_number_format' => :'SlideNumberFormat',
59
71
  })
60
72
  end
61
73
 
@@ -69,6 +81,9 @@ module AsposeSlidesCloud
69
81
  :'show_slide_number' => :'BOOLEAN',
70
82
  :'show_comments' => :'BOOLEAN',
71
83
  :'show_hidden_slides' => :'BOOLEAN',
84
+ :'remove_empty_lines' => :'BOOLEAN',
85
+ :'handle_repeated_spaces' => :'String',
86
+ :'slide_number_format' => :'String',
72
87
  })
73
88
  end
74
89
 
@@ -104,6 +119,18 @@ module AsposeSlidesCloud
104
119
  if attributes.has_key?(:'ShowHiddenSlides')
105
120
  self.show_hidden_slides = attributes[:'ShowHiddenSlides']
106
121
  end
122
+
123
+ if attributes.has_key?(:'RemoveEmptyLines')
124
+ self.remove_empty_lines = attributes[:'RemoveEmptyLines']
125
+ end
126
+
127
+ if attributes.has_key?(:'HandleRepeatedSpaces')
128
+ self.handle_repeated_spaces = attributes[:'HandleRepeatedSpaces']
129
+ end
130
+
131
+ if attributes.has_key?(:'SlideNumberFormat')
132
+ self.slide_number_format = attributes[:'SlideNumberFormat']
133
+ end
107
134
  self.format = 'md'
108
135
  end
109
136
 
@@ -124,6 +151,8 @@ module AsposeSlidesCloud
124
151
  return false unless flavor_validator.valid?(@flavor)
125
152
  new_line_type_validator = EnumAttributeValidator.new('String', ['Windows', 'Unix', 'Mac'])
126
153
  return false unless new_line_type_validator.valid?(@new_line_type)
154
+ handle_repeated_spaces_validator = EnumAttributeValidator.new('String', ['None', 'AlternateSpacesToNbsp', 'MultipleSpacesToNbsp'])
155
+ return false unless handle_repeated_spaces_validator.valid?(@handle_repeated_spaces)
127
156
  true
128
157
  end
129
158
 
@@ -157,6 +186,16 @@ module AsposeSlidesCloud
157
186
  @new_line_type = new_line_type
158
187
  end
159
188
 
189
+ # Custom attribute writer method checking allowed values (enum).
190
+ # @param [Object] handle_repeated_spaces Object to be assigned
191
+ def handle_repeated_spaces=(handle_repeated_spaces)
192
+ validator = EnumAttributeValidator.new('String', ['None', 'AlternateSpacesToNbsp', 'MultipleSpacesToNbsp'])
193
+ unless validator.valid?(handle_repeated_spaces)
194
+ fail ArgumentError, 'invalid value for "handle_repeated_spaces", must be one of #{validator.allowable_values}.'
195
+ end
196
+ @handle_repeated_spaces = handle_repeated_spaces
197
+ end
198
+
160
199
  # Checks equality by comparing each attribute.
161
200
  # @param [Object] Object to be compared
162
201
  def ==(o)
@@ -167,6 +206,7 @@ module AsposeSlidesCloud
167
206
  gradient_style == o.gradient_style &&
168
207
  font_fallback_rules == o.font_fallback_rules &&
169
208
  font_subst_rules == o.font_subst_rules &&
209
+ skip_java_script_links == o.skip_java_script_links &&
170
210
  format == o.format &&
171
211
  export_type == o.export_type &&
172
212
  flavor == o.flavor &&
@@ -174,7 +214,10 @@ module AsposeSlidesCloud
174
214
  images_save_folder_name == o.images_save_folder_name &&
175
215
  show_slide_number == o.show_slide_number &&
176
216
  show_comments == o.show_comments &&
177
- show_hidden_slides == o.show_hidden_slides
217
+ show_hidden_slides == o.show_hidden_slides &&
218
+ remove_empty_lines == o.remove_empty_lines &&
219
+ handle_repeated_spaces == o.handle_repeated_spaces &&
220
+ slide_number_format == o.slide_number_format
178
221
  end
179
222
 
180
223
  # @see the `==` method
@@ -186,7 +229,7 @@ module AsposeSlidesCloud
186
229
  # Calculates hash code according to all attributes.
187
230
  # @return [Fixnum] Hash code
188
231
  def 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
232
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, export_type, flavor, new_line_type, images_save_folder_name, show_slide_number, show_comments, show_hidden_slides, remove_empty_lines, handle_repeated_spaces, slide_number_format].hash
190
233
  end
191
234
  end
192
235
  end
@@ -265,6 +265,7 @@ module AsposeSlidesCloud
265
265
  gradient_style == o.gradient_style &&
266
266
  font_fallback_rules == o.font_fallback_rules &&
267
267
  font_subst_rules == o.font_subst_rules &&
268
+ skip_java_script_links == o.skip_java_script_links &&
268
269
  format == o.format &&
269
270
  text_compression == o.text_compression &&
270
271
  embed_full_fonts == o.embed_full_fonts &&
@@ -296,7 +297,7 @@ module AsposeSlidesCloud
296
297
  # Calculates hash code according to all attributes.
297
298
  # @return [Fixnum] Hash code
298
299
  def 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
300
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, 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
300
301
  end
301
302
  end
302
303
  end
@@ -67,6 +67,12 @@ module AsposeSlidesCloud
67
67
  # SVG image data.
68
68
  attr_accessor :svg_data
69
69
 
70
+ # true to delete picture cropped areas on save.
71
+ attr_accessor :delete_picture_cropped_areas
72
+
73
+ # true to compress the picture image with the specified resolution (in dpi) on save.
74
+ attr_accessor :resolution
75
+
70
76
  # Fill mode.
71
77
  attr_accessor :picture_fill_mode
72
78
 
@@ -90,6 +96,8 @@ module AsposeSlidesCloud
90
96
  :'image' => :'Image',
91
97
  :'base64_data' => :'Base64Data',
92
98
  :'svg_data' => :'SvgData',
99
+ :'delete_picture_cropped_areas' => :'DeletePictureCroppedAreas',
100
+ :'resolution' => :'Resolution',
93
101
  :'picture_fill_mode' => :'PictureFillMode',
94
102
  :'image_transform_list' => :'ImageTransformList',
95
103
  })
@@ -112,6 +120,8 @@ module AsposeSlidesCloud
112
120
  :'image' => :'ResourceUri',
113
121
  :'base64_data' => :'String',
114
122
  :'svg_data' => :'String',
123
+ :'delete_picture_cropped_areas' => :'BOOLEAN',
124
+ :'resolution' => :'Float',
115
125
  :'picture_fill_mode' => :'String',
116
126
  :'image_transform_list' => :'Array<ImageTransformEffect>',
117
127
  })
@@ -178,6 +188,14 @@ module AsposeSlidesCloud
178
188
  self.svg_data = attributes[:'SvgData']
179
189
  end
180
190
 
191
+ if attributes.has_key?(:'DeletePictureCroppedAreas')
192
+ self.delete_picture_cropped_areas = attributes[:'DeletePictureCroppedAreas']
193
+ end
194
+
195
+ if attributes.has_key?(:'Resolution')
196
+ self.resolution = attributes[:'Resolution']
197
+ end
198
+
181
199
  if attributes.has_key?(:'PictureFillMode')
182
200
  self.picture_fill_mode = attributes[:'PictureFillMode']
183
201
  end
@@ -290,6 +308,8 @@ module AsposeSlidesCloud
290
308
  image == o.image &&
291
309
  base64_data == o.base64_data &&
292
310
  svg_data == o.svg_data &&
311
+ delete_picture_cropped_areas == o.delete_picture_cropped_areas &&
312
+ resolution == o.resolution &&
293
313
  picture_fill_mode == o.picture_fill_mode &&
294
314
  image_transform_list == o.image_transform_list
295
315
  end
@@ -303,7 +323,7 @@ module AsposeSlidesCloud
303
323
  # Calculates hash code according to all attributes.
304
324
  # @return [Fixnum] Hash code
305
325
  def 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
326
+ [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, delete_picture_cropped_areas, resolution, picture_fill_mode, image_transform_list].hash
307
327
  end
308
328
  end
309
329
  end
@@ -31,11 +31,15 @@ module AsposeSlidesCloud
31
31
  # Specifies whether the ZIP64 format is used for the Presentation document. The default value is Zip64Mode.IfNecessary.
32
32
  attr_accessor :zip64_mode
33
33
 
34
+ # True to refresh the presentation thumbnail on save
35
+ attr_accessor :refresh_thumbnail
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  super.merge({
37
40
  :'conformance' => :'Conformance',
38
41
  :'zip64_mode' => :'Zip64Mode',
42
+ :'refresh_thumbnail' => :'RefreshThumbnail',
39
43
  })
40
44
  end
41
45
 
@@ -44,6 +48,7 @@ module AsposeSlidesCloud
44
48
  super.merge({
45
49
  :'conformance' => :'String',
46
50
  :'zip64_mode' => :'String',
51
+ :'refresh_thumbnail' => :'BOOLEAN',
47
52
  })
48
53
  end
49
54
 
@@ -59,6 +64,10 @@ module AsposeSlidesCloud
59
64
  if attributes.has_key?(:'Zip64Mode')
60
65
  self.zip64_mode = attributes[:'Zip64Mode']
61
66
  end
67
+
68
+ if attributes.has_key?(:'RefreshThumbnail')
69
+ self.refresh_thumbnail = attributes[:'RefreshThumbnail']
70
+ end
62
71
  self.format = 'pptx'
63
72
  end
64
73
 
@@ -110,9 +119,11 @@ module AsposeSlidesCloud
110
119
  gradient_style == o.gradient_style &&
111
120
  font_fallback_rules == o.font_fallback_rules &&
112
121
  font_subst_rules == o.font_subst_rules &&
122
+ skip_java_script_links == o.skip_java_script_links &&
113
123
  format == o.format &&
114
124
  conformance == o.conformance &&
115
- zip64_mode == o.zip64_mode
125
+ zip64_mode == o.zip64_mode &&
126
+ refresh_thumbnail == o.refresh_thumbnail
116
127
  end
117
128
 
118
129
  # @see the `==` method
@@ -124,7 +135,7 @@ module AsposeSlidesCloud
124
135
  # Calculates hash code according to all attributes.
125
136
  # @return [Fixnum] Hash code
126
137
  def hash
127
- [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, conformance, zip64_mode].hash
138
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, conformance, zip64_mode, refresh_thumbnail].hash
128
139
  end
129
140
  end
130
141
  end
@@ -87,7 +87,7 @@ module AsposeSlidesCloud
87
87
  def valid?
88
88
  return false if !super
89
89
  return false if @format.nil?
90
- format_validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'])
90
+ format_validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'])
91
91
  return false unless format_validator.valid?(@format)
92
92
  true
93
93
  end
@@ -95,7 +95,7 @@ module AsposeSlidesCloud
95
95
  # Custom attribute writer method checking allowed values (enum).
96
96
  # @param [Object] format Object to be assigned
97
97
  def format=(format)
98
- validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml'])
98
+ validator = EnumAttributeValidator.new('String', ['Pdf', 'Xps', 'Tiff', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Pot', 'Potx', 'Potm', 'Html', 'Html5', 'Swf', 'Svg', 'Jpeg', 'Png', 'Gif', 'Bmp', 'Fodp', 'Xaml', 'Mpeg4', 'Md', 'Xml', 'Emf'])
99
99
  unless validator.valid?(format)
100
100
  fail ArgumentError, 'invalid value for "format", must be one of #{validator.allowable_values}.'
101
101
  end
@@ -96,7 +96,7 @@ module AsposeSlidesCloud
96
96
  def valid?
97
97
  return false if !super
98
98
  return false if @format.nil?
99
- format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'])
99
+ format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'])
100
100
  return false unless format_validator.valid?(@format)
101
101
  true
102
102
  end
@@ -104,7 +104,7 @@ module AsposeSlidesCloud
104
104
  # Custom attribute writer method checking allowed values (enum).
105
105
  # @param [Object] format Object to be assigned
106
106
  def format=(format)
107
- validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'])
107
+ validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg', 'Emf'])
108
108
  unless validator.valid?(format)
109
109
  fail ArgumentError, 'invalid value for "format", must be one of #{validator.allowable_values}.'
110
110
  end
@@ -118,7 +118,7 @@ module AsposeSlidesCloud
118
118
  def valid?
119
119
  return false if !super
120
120
  return false if @format.nil?
121
- format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'])
121
+ format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'])
122
122
  return false unless format_validator.valid?(@format)
123
123
  return false if @position.nil?
124
124
  true
@@ -127,7 +127,7 @@ module AsposeSlidesCloud
127
127
  # Custom attribute writer method checking allowed values (enum).
128
128
  # @param [Object] format Object to be assigned
129
129
  def format=(format)
130
- validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml'])
130
+ validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5', 'Md', 'Xml', 'Emf'])
131
131
  unless validator.valid?(format)
132
132
  fail ArgumentError, 'invalid value for "format", must be one of #{validator.allowable_values}.'
133
133
  end
@@ -31,6 +31,7 @@ module AsposeSlidesCloud
31
31
  BMP = 'Bmp'.freeze
32
32
  TIFF = 'Tiff'.freeze
33
33
  SVG = 'Svg'.freeze
34
+ EMF = 'Emf'.freeze
34
35
 
35
36
  # Builds the enum from string
36
37
  # @param [String] The enum value in the form of the string
@@ -50,6 +50,7 @@ module AsposeSlidesCloud
50
50
  HTML5 = 'Html5'.freeze
51
51
  MD = 'Md'.freeze
52
52
  XML = 'Xml'.freeze
53
+ EMF = 'Emf'.freeze
53
54
 
54
55
  # Builds the enum from string
55
56
  # @param [String] The enum value in the form of the string
@@ -58,6 +58,9 @@ module AsposeSlidesCloud
58
58
  # Determines whether to perform the specified rotation of the shape when rendering or not.
59
59
  attr_accessor :use_frame_rotation
60
60
 
61
+ # true to disable ligatures in the rendered output.
62
+ attr_accessor :disable_font_ligatures
63
+
61
64
  # Attribute mapping from ruby-style variable name to JSON key.
62
65
  def self.attribute_map
63
66
  super.merge({
@@ -72,6 +75,7 @@ module AsposeSlidesCloud
72
75
  :'external_fonts_handling' => :'ExternalFontsHandling',
73
76
  :'use_frame_size' => :'UseFrameSize',
74
77
  :'use_frame_rotation' => :'UseFrameRotation',
78
+ :'disable_font_ligatures' => :'DisableFontLigatures',
75
79
  })
76
80
  end
77
81
 
@@ -89,6 +93,7 @@ module AsposeSlidesCloud
89
93
  :'external_fonts_handling' => :'String',
90
94
  :'use_frame_size' => :'BOOLEAN',
91
95
  :'use_frame_rotation' => :'BOOLEAN',
96
+ :'disable_font_ligatures' => :'BOOLEAN',
92
97
  })
93
98
  end
94
99
 
@@ -140,6 +145,10 @@ module AsposeSlidesCloud
140
145
  if attributes.has_key?(:'UseFrameRotation')
141
146
  self.use_frame_rotation = attributes[:'UseFrameRotation']
142
147
  end
148
+
149
+ if attributes.has_key?(:'DisableFontLigatures')
150
+ self.disable_font_ligatures = attributes[:'DisableFontLigatures']
151
+ end
143
152
  self.format = 'svg'
144
153
  end
145
154
 
@@ -191,6 +200,7 @@ module AsposeSlidesCloud
191
200
  gradient_style == o.gradient_style &&
192
201
  font_fallback_rules == o.font_fallback_rules &&
193
202
  font_subst_rules == o.font_subst_rules &&
203
+ skip_java_script_links == o.skip_java_script_links &&
194
204
  format == o.format &&
195
205
  vectorize_text == o.vectorize_text &&
196
206
  metafile_rasterization_dpi == o.metafile_rasterization_dpi &&
@@ -202,7 +212,8 @@ module AsposeSlidesCloud
202
212
  delete_pictures_cropped_areas == o.delete_pictures_cropped_areas &&
203
213
  external_fonts_handling == o.external_fonts_handling &&
204
214
  use_frame_size == o.use_frame_size &&
205
- use_frame_rotation == o.use_frame_rotation
215
+ use_frame_rotation == o.use_frame_rotation &&
216
+ disable_font_ligatures == o.disable_font_ligatures
206
217
  end
207
218
 
208
219
  # @see the `==` method
@@ -214,7 +225,7 @@ module AsposeSlidesCloud
214
225
  # Calculates hash code according to all attributes.
215
226
  # @return [Fixnum] Hash code
216
227
  def 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
228
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, 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, disable_font_ligatures].hash
218
229
  end
219
230
  end
220
231
  end
@@ -70,20 +70,8 @@ module AsposeSlidesCloud
70
70
  # Specifies the quality of JPEG images. Default is 95.
71
71
  attr_accessor :jpeg_quality
72
72
 
73
- # Gets or sets the position of the notes on the page.
74
- attr_accessor :notes_position
75
-
76
- # Gets or sets the position of the comments on the page.
77
- attr_accessor :comments_position
78
-
79
- # Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
80
- attr_accessor :comments_area_width
81
-
82
- # Gets or sets the color of comments area (Applies only if comments are displayed on the right).
83
- attr_accessor :comments_area_color
84
-
85
- # True if comments that have no author are displayed. (Applies only if comments are displayed).
86
- attr_accessor :show_comments_by_no_author
73
+ # Slides layouting options
74
+ attr_accessor :slides_layout_options
87
75
 
88
76
  # Attribute mapping from ruby-style variable name to JSON key.
89
77
  def self.attribute_map
@@ -103,11 +91,7 @@ module AsposeSlidesCloud
103
91
  :'logo_image' => :'LogoImage',
104
92
  :'logo_link' => :'LogoLink',
105
93
  :'jpeg_quality' => :'JpegQuality',
106
- :'notes_position' => :'NotesPosition',
107
- :'comments_position' => :'CommentsPosition',
108
- :'comments_area_width' => :'CommentsAreaWidth',
109
- :'comments_area_color' => :'CommentsAreaColor',
110
- :'show_comments_by_no_author' => :'ShowCommentsByNoAuthor',
94
+ :'slides_layout_options' => :'SlidesLayoutOptions',
111
95
  })
112
96
  end
113
97
 
@@ -129,11 +113,7 @@ module AsposeSlidesCloud
129
113
  :'logo_image' => :'String',
130
114
  :'logo_link' => :'String',
131
115
  :'jpeg_quality' => :'Integer',
132
- :'notes_position' => :'String',
133
- :'comments_position' => :'String',
134
- :'comments_area_width' => :'Integer',
135
- :'comments_area_color' => :'String',
136
- :'show_comments_by_no_author' => :'BOOLEAN',
116
+ :'slides_layout_options' => :'SlidesLayoutOptions',
137
117
  })
138
118
  end
139
119
 
@@ -202,24 +182,8 @@ module AsposeSlidesCloud
202
182
  self.jpeg_quality = attributes[:'JpegQuality']
203
183
  end
204
184
 
205
- if attributes.has_key?(:'NotesPosition')
206
- self.notes_position = attributes[:'NotesPosition']
207
- end
208
-
209
- if attributes.has_key?(:'CommentsPosition')
210
- self.comments_position = attributes[:'CommentsPosition']
211
- end
212
-
213
- if attributes.has_key?(:'CommentsAreaWidth')
214
- self.comments_area_width = attributes[:'CommentsAreaWidth']
215
- end
216
-
217
- if attributes.has_key?(:'CommentsAreaColor')
218
- self.comments_area_color = attributes[:'CommentsAreaColor']
219
- end
220
-
221
- if attributes.has_key?(:'ShowCommentsByNoAuthor')
222
- self.show_comments_by_no_author = attributes[:'ShowCommentsByNoAuthor']
185
+ if attributes.has_key?(:'SlidesLayoutOptions')
186
+ self.slides_layout_options = attributes[:'SlidesLayoutOptions']
223
187
  end
224
188
  self.format = 'swf'
225
189
  end
@@ -235,33 +199,9 @@ module AsposeSlidesCloud
235
199
  # @return true if the model is valid
236
200
  def valid?
237
201
  return false if !super
238
- notes_position_validator = EnumAttributeValidator.new('String', ['None', 'BottomFull', 'BottomTruncated'])
239
- return false unless notes_position_validator.valid?(@notes_position)
240
- comments_position_validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
241
- return false unless comments_position_validator.valid?(@comments_position)
242
202
  true
243
203
  end
244
204
 
245
- # Custom attribute writer method checking allowed values (enum).
246
- # @param [Object] notes_position Object to be assigned
247
- def notes_position=(notes_position)
248
- validator = EnumAttributeValidator.new('String', ['None', 'BottomFull', 'BottomTruncated'])
249
- unless validator.valid?(notes_position)
250
- fail ArgumentError, 'invalid value for "notes_position", must be one of #{validator.allowable_values}.'
251
- end
252
- @notes_position = notes_position
253
- end
254
-
255
- # Custom attribute writer method checking allowed values (enum).
256
- # @param [Object] comments_position Object to be assigned
257
- def comments_position=(comments_position)
258
- validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
259
- unless validator.valid?(comments_position)
260
- fail ArgumentError, 'invalid value for "comments_position", must be one of #{validator.allowable_values}.'
261
- end
262
- @comments_position = comments_position
263
- end
264
-
265
205
  # Checks equality by comparing each attribute.
266
206
  # @param [Object] Object to be compared
267
207
  def ==(o)
@@ -272,6 +212,7 @@ module AsposeSlidesCloud
272
212
  gradient_style == o.gradient_style &&
273
213
  font_fallback_rules == o.font_fallback_rules &&
274
214
  font_subst_rules == o.font_subst_rules &&
215
+ skip_java_script_links == o.skip_java_script_links &&
275
216
  format == o.format &&
276
217
  show_hidden_slides == o.show_hidden_slides &&
277
218
  compressed == o.compressed &&
@@ -288,11 +229,7 @@ module AsposeSlidesCloud
288
229
  logo_image == o.logo_image &&
289
230
  logo_link == o.logo_link &&
290
231
  jpeg_quality == o.jpeg_quality &&
291
- notes_position == o.notes_position &&
292
- comments_position == o.comments_position &&
293
- comments_area_width == o.comments_area_width &&
294
- comments_area_color == o.comments_area_color &&
295
- show_comments_by_no_author == o.show_comments_by_no_author
232
+ slides_layout_options == o.slides_layout_options
296
233
  end
297
234
 
298
235
  # @see the `==` method
@@ -304,7 +241,7 @@ module AsposeSlidesCloud
304
241
  # Calculates hash code according to all attributes.
305
242
  # @return [Fixnum] Hash code
306
243
  def 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
244
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, 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, slides_layout_options].hash
308
245
  end
309
246
  end
310
247
  end
@@ -167,6 +167,7 @@ module AsposeSlidesCloud
167
167
  gradient_style == o.gradient_style &&
168
168
  font_fallback_rules == o.font_fallback_rules &&
169
169
  font_subst_rules == o.font_subst_rules &&
170
+ skip_java_script_links == o.skip_java_script_links &&
170
171
  format == o.format &&
171
172
  height == o.height &&
172
173
  width == o.width &&
@@ -188,7 +189,7 @@ module AsposeSlidesCloud
188
189
  # Calculates hash code according to all attributes.
189
190
  # @return [Fixnum] Hash code
190
191
  def 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
192
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, slides_layout_options, bw_conversion_mode].hash
192
193
  end
193
194
  end
194
195
  end
@@ -128,6 +128,7 @@ module AsposeSlidesCloud
128
128
  gradient_style == o.gradient_style &&
129
129
  font_fallback_rules == o.font_fallback_rules &&
130
130
  font_subst_rules == o.font_subst_rules &&
131
+ skip_java_script_links == o.skip_java_script_links &&
131
132
  format == o.format &&
132
133
  slides_transition_duration == o.slides_transition_duration &&
133
134
  transition_type == o.transition_type &&
@@ -144,7 +145,7 @@ module AsposeSlidesCloud
144
145
  # Calculates hash code according to all attributes.
145
146
  # @return [Fixnum] Hash code
146
147
  def 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
148
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
148
149
  end
149
150
  end
150
151
  end
@@ -77,6 +77,7 @@ module AsposeSlidesCloud
77
77
  gradient_style == o.gradient_style &&
78
78
  font_fallback_rules == o.font_fallback_rules &&
79
79
  font_subst_rules == o.font_subst_rules &&
80
+ skip_java_script_links == o.skip_java_script_links &&
80
81
  format == o.format &&
81
82
  export_hidden_slides == o.export_hidden_slides
82
83
  end
@@ -90,7 +91,7 @@ module AsposeSlidesCloud
90
91
  # Calculates hash code according to all attributes.
91
92
  # @return [Fixnum] Hash code
92
93
  def hash
93
- [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, export_hidden_slides].hash
94
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, export_hidden_slides].hash
94
95
  end
95
96
  end
96
97
  end
@@ -95,6 +95,7 @@ module AsposeSlidesCloud
95
95
  gradient_style == o.gradient_style &&
96
96
  font_fallback_rules == o.font_fallback_rules &&
97
97
  font_subst_rules == o.font_subst_rules &&
98
+ skip_java_script_links == o.skip_java_script_links &&
98
99
  format == o.format &&
99
100
  show_hidden_slides == o.show_hidden_slides &&
100
101
  save_metafiles_as_png == o.save_metafiles_as_png &&
@@ -110,7 +111,7 @@ module AsposeSlidesCloud
110
111
  # Calculates hash code according to all attributes.
111
112
  # @return [Fixnum] Hash code
112
113
  def 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
114
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
114
115
  end
115
116
  end
116
117
  end
@@ -101,6 +101,8 @@ module AsposeSlidesCloud
101
101
  :'BubbleChartDataPoint' => :'ScatterChartDataPoint',
102
102
  :'XYSeries' => :'Series',
103
103
  :'BubbleSeries' => :'XYSeries',
104
+ :'CaptionTrack' => :'ResourceBase',
105
+ :'CaptionTracks' => :'ResourceBase',
104
106
  :'Chart' => :'ShapeBase',
105
107
  :'ClosePathSegment' => :'PathSegment',
106
108
  :'ColorChangeEffect' => :'ImageTransformEffect',
@@ -278,6 +280,8 @@ module AsposeSlidesCloud
278
280
  :'XYSeries' => { },
279
281
  :'BubbleSeries' => { :'DataPointType' => 'Bubble', },
280
282
  :'Camera' => { },
283
+ :'CaptionTrack' => { },
284
+ :'CaptionTracks' => { },
281
285
  :'Chart' => { :'Type' => 'Chart', },
282
286
  :'ChartCategory' => { },
283
287
  :'ChartLinesFormat' => { },
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '24.12.0'
24
+ VERSION = '25.6.0'
25
25
  end
@@ -73,6 +73,8 @@ require 'aspose_slides_cloud/models/series'
73
73
  require 'aspose_slides_cloud/models/xy_series'
74
74
  require 'aspose_slides_cloud/models/bubble_series'
75
75
  require 'aspose_slides_cloud/models/camera'
76
+ require 'aspose_slides_cloud/models/caption_track'
77
+ require 'aspose_slides_cloud/models/caption_tracks'
76
78
  require 'aspose_slides_cloud/models/chart'
77
79
  require 'aspose_slides_cloud/models/chart_category'
78
80
  require 'aspose_slides_cloud/models/chart_lines_format'