aspose_slides_cloud 22.12.0 → 23.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7e5e3edfea8959c86da77680457e105c2243313f84979618f02e9fe71383cce
4
- data.tar.gz: adff1df0046e43a07aea6e38a606832d000d30c24a59442c6ee19b6a5241a926
3
+ metadata.gz: af99578c047fe1d61df3c1364fdacb79e3bb00c5ce5d751771cc7476d9eb489b
4
+ data.tar.gz: ef1d7d593d133437604bc6206a94ec4126607143b56a29973060211607c283d4
5
5
  SHA512:
6
- metadata.gz: c0acd705fa8ca5d2ca3b3fa3661c6ae284b0f824846466b1a31f4831de270c968d3ab0851d98900ee9bcb4127eeecc4f3d81531e56aa4008e990066d66f6d639
7
- data.tar.gz: 8e0b1791ad44661fa1fb2245a994b48913f9c1bb1f7f2a114694b86654fb96afe39db34e79a7b5d45c86a4979a13fc60eab51f0e56ff2eea1a32ecb6c36f9797
6
+ metadata.gz: d0baf9db47606ed52b933a9f17568a02513f7db8d96c0f421c160b9403499b530277c9ea3d00fd8680daa69751aec82e76b57ce145baf7244d4554ddf871002f
7
+ data.tar.gz: c570904932d24c652dc52708cbecd7827280d51790d0d54c492f8a97f6320017288c6acb2fe898669885142678c702ec7485c195ce8b12a8af93a74d0b90d69b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (22.12.0)
4
+ aspose_slides_cloud (23.2.0)
5
5
  faraday (~> 0.17, >= 0.17.3)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
 
@@ -25,7 +25,7 @@ GEM
25
25
  ffi (1.15.5)
26
26
  hashdiff (1.0.1)
27
27
  json (2.6.3)
28
- multipart-post (2.2.3)
28
+ multipart-post (2.3.0)
29
29
  public_suffix (5.0.1)
30
30
  rake (12.3.3)
31
31
  rexml (3.2.5)
@@ -33,12 +33,12 @@ GEM
33
33
  rspec-core (~> 3.12.0)
34
34
  rspec-expectations (~> 3.12.0)
35
35
  rspec-mocks (~> 3.12.0)
36
- rspec-core (3.12.0)
36
+ rspec-core (3.12.1)
37
37
  rspec-support (~> 3.12.0)
38
- rspec-expectations (3.12.1)
38
+ rspec-expectations (3.12.2)
39
39
  diff-lcs (>= 1.2.0, < 2.0)
40
40
  rspec-support (~> 3.12.0)
41
- rspec-mocks (3.12.1)
41
+ rspec-mocks (3.12.3)
42
42
  diff-lcs (>= 1.2.0, < 2.0)
43
43
  rspec-support (~> 3.12.0)
44
44
  rspec-support (3.12.0)
data/README.md CHANGED
@@ -27,96 +27,18 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
- ## Enhancements in Version 22.9
31
-
32
- * Added new **ReplaceFont** and **ReplaceFontOnline** methods that allow replacing presentation fonts.
33
- * Added new **SetEmbeddedFontFromRequest** and **SetEmbeddedFontFromRequestOnline** that allow to embed fonts without uploading them to the storage.
34
- * Added an optional **fontsFolder** parameter to **SetEmbeddedFont** and **SetEmbeddedFontOnline** methods to enable using custom fonts with those methods.
35
- * Added **FontSubstRules** property to **ExportOptions** class to allow specifying font substitution rules in conversion methods.
36
- * Added an optional **group** parameter to **ImportImagesFromSvg** method to allow importing SVG images as a GroupShape.
37
- * Added new **CreateSmartArtNode** and **DeleteSmartArtNode** methods to manage individual nodes in SmartArt shapes.
38
- * Added **FillFomat**, **LineFormat**, **EffectFormat** and **ThreeDFormat** properties to **DataPoint** class that allow formatting individual chart data points.
39
-
40
- ## Enhancements in Version 22.8
41
-
42
- * With new **GetFonts** and **GetFontsOnline** methods you can get a list for fonts used in the presentation.
43
- * Added new **SetEmbeddedFont**, **SetEmbeddedFontOnline**, **DeleteEmbeddedFont** and **DeleteEmbeddedFontOnline** methods to embed/unembed presentation fonts.
44
- * Added new **ImportImagesFromSvg** method to import SVG images as individual geometry shapes.
45
-
46
- ## Enhancements in Version 22.7
47
-
48
- * Added **Html**, **Pdf**, **Xps**, **Pptx**, **Odp**, **Otp**, **Ppt**, **Pps**, **Ppsx**, **Pptm**, **Ppsm**, **Potx**, **Pot**, **Potm**, **Svg**, **Fodp**, **Xaml**, **Html5** to the list of allowed values for **SlideExportFormat** enum. You can now export slide notes to those formats.
49
- * Added **Html5** to the list of allowed values for **SlideExportFormat** enum. You can now export individual slides to HTML5.
50
- * Added **Url** to the list of allowed values for **PresentationToMerge.SourceEnum** enum. You can now merge presentations from external URLs.
51
- * New **DeleteUnusedMasterSlides** and **DeleteUnusedMasterSlidesOnline** methods.
52
- * New **SetChartAxis**, **SetChartLegend**, **SetChartWall** methods allow to moduly chart elements more conveniently.
53
- * **UpdateChartSeriesGroup** method was renamed to **SetChartSeriesGroup**.
54
-
55
- ## Enhancements in Version 22.6
56
- * Added ned **GetSubshapeParagraphEffective**, **GetParagraphEffective** and **GetSubshapePortionEffective**, **GetPortionEffective** methods to retrieve actual format values for paragraphs and portions, whether they are inherited from parent entities or not.
57
- * Password parameter is now optional for **GetProtectionProperties** method. So, you don't need to specify the password to check whether a presentation has a password.
58
- * Added new **ChartSeriesGroup** class and **SeriesGroups** property to **Chart** class to enable managing chart series groups. Added new **UpdateChartSeriesGroup** method.
59
- * Added **HasRoundedCorners** property to **Chart** class.
60
- * Added **InvertIfNegative** property to **OneValueChartDataPoint** class.
61
- * Changed **FormatScheme** class to return actual format values instead of resource links.
62
-
63
- ## Enhancements in Version 22.5
64
- * Added **Paragraphs** property to **SmartArtNode** class to enable getting and setting text for SmartArt nodes.
65
- * Added **ImageTransformList** property to **PictureFill** class to enable setting image transform effects. Added **ImageTransformEffect** class and subclasses for different kind of of effects.
66
- * Added **PictureFillFormat** property to **VideoFrame** class to enable setting poster image for video frames.
67
- * Added **SlideIndex** and **ShapeIndex** properties to **ResourceUri** class to simplify retrieveing slide & shape indexes for resources.
68
- * Removed redundant **BoxAndWhiskersSeries**, **WaterfallSeries** and **WaterfallChartDataPoint** classes.
69
-
70
- ## Enhancements in Version 22.4
71
- * Added **TransitionType** and **SlidesTransitionDuration** properties to **VideoExportOptions** class to enable creation videos with transitions.
72
- * Added **DefaultPortionFormat** property to **Paragraph** class. Added new **PortionFormat** class.
73
- * Added **EmbeddedFileBase64Data** and a number of other properties to **OleObjectFrame** class to enable creation of OLE Object frames.
74
- * Added **AccessPermissions** class to support access permissions for PDF export.
75
- * Added **PictureFillformat** property to **AudioFrame** class.
76
- * Added **RowIndex** and **ColumnIndex** properties to **TableCell** class.
77
- * Moved **Width** and **Height** properties from **ExportOptions** base class to the new **ImageExportOptionsBase class**. This is a superclass for **ImageExportOptions**, **GifExportOptions** and **TiffExportOptions** classes.
78
- * Removed redundant **Shapes** property from **ShapeBase** class. It is only left for **GroupShape** class.
79
-
80
- ## Enhancements in Version 22.3
81
- * Added **ModernSlideComment** class to support modern comments. Also added **SlideCommentBase** as base class for comments.
82
- * Added optional **shapeIndex** parameter to **CreateComment** and **CreateCommentOnline** methods.
83
- * Added **GetParagraphRectangle**, **GetPortionRectangle** method and new **TextBounds** class to get paragraph or portion bounds.
84
- * Added optional **shapeType** parameter for **GetShapes** method. You can now get list of shapes of a particular type (e.g. charts or tables).
85
- * Added **FontFallbackRules** class and **FontFallbackRules** property to **ExportOptions** class.
86
- * Added **LatinFont**, **EastAsianFont** and **ComplexScriptFont** properties to **Portion** class to enable getting and seting portion font name.
87
- * Added **ChartLinesFormat** class; added **MajorGridLinesFormat** and **MinorGridLinesFormat** properties to Axis class.
88
- * Added **HideLegend** boolean property to **Legend** class.
89
-
90
- ## Enhancements in Version 22.2
91
- * Added **Mpeg4** to the list of allowed values for **ExportFormat** type. You can now convert presentations to video.
92
- * New **HighlightShapeText** and **HighlightShapeRegex** methods.
93
- * New **DeleteUnusedLayoutSlides** and **DeleteUnusedLayoutSlides** methods.
94
- * New **ZoomFrame** and **ZoomObject** classes with a number of subclasses.
95
- * Added **TextFrameFormat** property to **Shape** class to support WordArt.
96
- * Added **XYSeries** class as a supercalss for **ScatterSeries** and **BubbleSeries** methods.
97
- * Added **None** to the list of allowed values for **TimeUnitType** enum type.
98
- * **Level** property of **Category** class is deprecated and will be removed after v22.4.
99
-
100
- ## Enhancements in Version 22.11
101
-
102
- * You can now specify data sources for chart elements. This is done with new **DataSource** type which is use with propertries **Chart.DataSourceForCategories**, **Series.DataSourceForName**, **OneValueSeries.DataSourceForValues**, **XYSeries.DataSourceForXValues**, **XYSeries.DataSourceForYValues**, **BubbleSeries.DataSourceForBubbleSizeValues**.
103
- * You can now specify formulas for data points using new properties **OneValueChartDataPoint.ValueFormula**, **ScatterChartDataPoint.XValueFormula**, **ScatterChartDataPoint.YValueFormula**, **BubbleChartDataPoint.BubbleSizeFormula**.
104
- * Added boolean **UseFrameSize** and **UseFrameRotation** properties to **SvgExportOptions** class.
105
-
106
- ## Enhancements in Version 22.10
107
-
108
- * Added new **GetSlideShowProperties** and **SetSlideShowProperties** methods to get & set slideshow properties.
109
- * Methods that work with shapes, paragraphs and portions now have an optional **subShape** parameter which can be used to access subshapes (SmartArt elements, grouped shapes). Separate methods for subshapes (**GetSubshapeParagraphs**, **CreateSubshape**, **AlignSubshapes** etc.) have been removed.
110
- * Added boolean **RepeatUntilEndSlide** and **RepeatUntilNextClick** properties to **Effect** class.
111
-
112
- ## Enhancements in Version 22.1
113
- * New **MathParagraph** property of **Portion** class allows to get and set math formulas. A set of **MathElement** subclasses allows to specify complex mathematical expressions.
114
- * New **DownloadPortionAsMathMl** and **SavePortionAsMathMl** methods allow to export math formulas to MathML format.
115
- * New **HyperlinkClick** and **HyperlinkMouseOver** methods of **ShapeBase** and **Portion** classes enable creation and manipulating hyperlinks for shapes and portions.
116
- * New methods **GetShapeGeometryPath** and **SetShapeGeometryPath** can be used to get or set geometry paths for shapes. You can use lines, arcs and curves to specify custom shape boundaries.
117
- * New **AlignSubshapes** method enables aligning shapes within a shape group.
118
- * New **PlayAcrossSlides** and **RewindAudio** properties are added to **AudioFrame** class.
119
- * Added **InClickSequence** to the list of allowable values for **AudioPlayModePreset** and **AudioPlayModePreset** enum types.
30
+ ## Enhancements in Version 23.2
31
+
32
+ * New **DownloadShapeFromDto** method allows to convert charts and other shapes from DTO to SVG and other formats without creating and storing presentation files.
33
+ * Added **SoundBase64** property to **Hyperlink** class to support getting and setting hyperlink sounds.
34
+ * Added **BulletFillFormat** property to **Paragraph** class.
35
+ * Added **StopPreviousSound** property to animation **Effect** class.
36
+ * Added a number of properties to **TextFrameFormat** that enable formatting shape text: **MarginLeft**, **MarginRight**, **MarginTop**, **MarginBottom**, **WrapText**, **AnchoringType**, **CenterText**, **TextVerticalType**, **AutofitType**, **ColumnCount**, **ColumnSpacing**, **KeepTextFlat**, **RotationAngle**, **DefaultParagraphFormat**.
37
+ * Added **Pdf16**, **Pdf17**, **PdfA2b**, **PdfA2a**, **PdfA2u**, **PdfA3a**, **PdfA3b** to the list of allowed values for **PdfExportOptions.Compliance** property.
38
+
39
+ ## Enhancements in Version 23.1
40
+
41
+ * New **CompressEmbeddedFonts** and **CompressEmbeddedFontsOnline** methods allow to reduce the size taken by embedded fonts by excluding unused characters.
120
42
 
121
43
  ## Licensing
122
44
  All Aspose.Slides Cloud SDKs are licensed under MIT License.
@@ -209,6 +209,115 @@ module AsposeSlidesCloud
209
209
  :return_type => 'Shapes')
210
210
  return data, status_code, headers
211
211
  end
212
+ # Compresses embedded fonts by removing unused characters.
213
+ # @param name Document name.
214
+ # @param password Document password.
215
+ # @param folder Document folder.
216
+ # @param storage Document storage.
217
+ def compress_embedded_fonts(name, password = nil, folder = nil, storage = nil)
218
+ compress_embedded_fonts_with_http_info(name, password, folder, storage)
219
+ nil
220
+ end
221
+
222
+ # Compresses embedded fonts by removing unused characters.
223
+ # @param name Document name.
224
+ # @param password Document password.
225
+ # @param folder Document folder.
226
+ # @param storage Document storage.
227
+ def compress_embedded_fonts_with_http_info(name, password = nil, folder = nil, storage = nil)
228
+ if @api_client.config.debugging
229
+ @api_client.config.logger.debug 'Calling API: SlidesApi.compress_embedded_fonts ...'
230
+ end
231
+
232
+ # verify the required parameter 'name' is set
233
+ if @api_client.config.client_side_validation && name.nil?
234
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.compress_embedded_fonts"
235
+ end
236
+ # resource path
237
+ local_var_path = '/slides/{name}/fonts/embedded/compress'
238
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
239
+
240
+ # query parameters
241
+ query_params = {}
242
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
243
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
244
+
245
+ # header parameters
246
+ header_params = {}
247
+ # HTTP header 'Accept' (if needed)
248
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
249
+ # HTTP header 'Content-Type'
250
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
251
+ header_params[:'password'] = password unless password.nil?
252
+
253
+ # http body (model)
254
+ post_body = nil
255
+
256
+ # form parameters
257
+ post_files = []
258
+
259
+ auth_names = ['JWT']
260
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
261
+ :header_params => header_params,
262
+ :query_params => query_params,
263
+ :body => post_body,
264
+ :files => post_files,
265
+ :auth_names => auth_names)
266
+ return data, status_code, headers
267
+ end
268
+ # Compresses embedded fonts by removing unused characters.
269
+ # @param document Document data.
270
+ # @param password Document password.
271
+ def compress_embedded_fonts_online(document, password = nil)
272
+ data, _status_code, _headers = compress_embedded_fonts_online_with_http_info(document, password)
273
+ data
274
+ end
275
+
276
+ # Compresses embedded fonts by removing unused characters.
277
+ # @param document Document data.
278
+ # @param password Document password.
279
+ def compress_embedded_fonts_online_with_http_info(document, password = nil)
280
+ if @api_client.config.debugging
281
+ @api_client.config.logger.debug 'Calling API: SlidesApi.compress_embedded_fonts_online ...'
282
+ end
283
+
284
+ # verify the required parameter 'document' is set
285
+ if @api_client.config.client_side_validation && document.nil?
286
+ fail ArgumentError, "Missing the required parameter 'document' when calling SlidesApi.compress_embedded_fonts_online"
287
+ end
288
+ # resource path
289
+ local_var_path = '/slides/fonts/embedded/compress'
290
+
291
+ # query parameters
292
+ query_params = {}
293
+
294
+ # header parameters
295
+ header_params = {}
296
+ # HTTP header 'Accept' (if needed)
297
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
298
+ # HTTP header 'Content-Type'
299
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
300
+ header_params[:'password'] = password unless password.nil?
301
+
302
+ # http body (model)
303
+ post_body = nil
304
+
305
+ # form parameters
306
+ post_files = []
307
+ if document
308
+ post_files = post_files.push(document)
309
+ end
310
+
311
+ auth_names = ['JWT']
312
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
313
+ :header_params => header_params,
314
+ :query_params => query_params,
315
+ :body => post_body,
316
+ :files => post_files,
317
+ :auth_names => auth_names,
318
+ :return_type => 'File')
319
+ return data, status_code, headers
320
+ end
212
321
  # Convert presentation from request content to format specified.
213
322
  # @param document Document data.
214
323
  # @param format Export format.
@@ -7549,6 +7658,64 @@ module AsposeSlidesCloud
7549
7658
  :return_type => 'File')
7550
7659
  return data, status_code, headers
7551
7660
  end
7661
+ # Creates the shape from the DTO and returns the result in the specified format.
7662
+ # @param format Export format
7663
+ # @param dto Shape DTO.
7664
+ def download_shape_from_dto(format, dto)
7665
+ data, _status_code, _headers = download_shape_from_dto_with_http_info(format, dto)
7666
+ data
7667
+ end
7668
+
7669
+ # Creates the shape from the DTO and returns the result in the specified format.
7670
+ # @param format Export format
7671
+ # @param dto Shape DTO.
7672
+ def download_shape_from_dto_with_http_info(format, dto)
7673
+ if @api_client.config.debugging
7674
+ @api_client.config.logger.debug 'Calling API: SlidesApi.download_shape_from_dto ...'
7675
+ end
7676
+
7677
+ # verify the required parameter 'format' is set
7678
+ if @api_client.config.client_side_validation && format.nil?
7679
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_shape_from_dto"
7680
+ end
7681
+ # verify enum value
7682
+ if @api_client.config.client_side_validation && !['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Svg'].any?{ |s| s.casecmp(format)==0 }
7683
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of Jpeg, Png, Gif, Bmp, Tiff, Svg"
7684
+ end
7685
+ # verify the required parameter 'dto' is set
7686
+ if @api_client.config.client_side_validation && dto.nil?
7687
+ fail ArgumentError, "Missing the required parameter 'dto' when calling SlidesApi.download_shape_from_dto"
7688
+ end
7689
+ # resource path
7690
+ local_var_path = '/slides/shape/{format}'
7691
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
7692
+
7693
+ # query parameters
7694
+ query_params = {}
7695
+
7696
+ # header parameters
7697
+ header_params = {}
7698
+ # HTTP header 'Accept' (if needed)
7699
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
7700
+ # HTTP header 'Content-Type'
7701
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
7702
+
7703
+ # http body (model)
7704
+ post_body = @api_client.object_to_http_body(dto)
7705
+
7706
+ # form parameters
7707
+ post_files = []
7708
+
7709
+ auth_names = ['JWT']
7710
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
7711
+ :header_params => header_params,
7712
+ :query_params => query_params,
7713
+ :body => post_body,
7714
+ :files => post_files,
7715
+ :auth_names => auth_names,
7716
+ :return_type => 'File')
7717
+ return data, status_code, headers
7718
+ end
7552
7719
  # Render shape to specified picture format.
7553
7720
  # @param document Document data.
7554
7721
  # @param slide_index Slide index.
@@ -76,6 +76,9 @@ module AsposeSlidesCloud
76
76
  # Specifies if the effect will repeat until the next click.
77
77
  attr_accessor :repeat_until_next_click
78
78
 
79
+ # This attribute specifies if the animation effect stops the previous sound.
80
+ attr_accessor :stop_previous_sound
81
+
79
82
  class EnumAttributeValidator
80
83
  attr_reader :datatype
81
84
  attr_reader :allowable_values
@@ -118,6 +121,7 @@ module AsposeSlidesCloud
118
121
  :'trigger_delay_time' => :'TriggerDelayTime',
119
122
  :'repeat_until_end_slide' => :'RepeatUntilEndSlide',
120
123
  :'repeat_until_next_click' => :'RepeatUntilNextClick',
124
+ :'stop_previous_sound' => :'StopPreviousSound',
121
125
  }
122
126
  end
123
127
 
@@ -141,6 +145,7 @@ module AsposeSlidesCloud
141
145
  :'trigger_delay_time' => :'Float',
142
146
  :'repeat_until_end_slide' => :'BOOLEAN',
143
147
  :'repeat_until_next_click' => :'BOOLEAN',
148
+ :'stop_previous_sound' => :'BOOLEAN',
144
149
  }
145
150
  end
146
151
 
@@ -219,6 +224,10 @@ module AsposeSlidesCloud
219
224
  if attributes.has_key?(:'RepeatUntilNextClick')
220
225
  self.repeat_until_next_click = attributes[:'RepeatUntilNextClick']
221
226
  end
227
+
228
+ if attributes.has_key?(:'StopPreviousSound')
229
+ self.stop_previous_sound = attributes[:'StopPreviousSound']
230
+ end
222
231
  end
223
232
 
224
233
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -320,7 +329,8 @@ module AsposeSlidesCloud
320
329
  speed == o.speed &&
321
330
  trigger_delay_time == o.trigger_delay_time &&
322
331
  repeat_until_end_slide == o.repeat_until_end_slide &&
323
- repeat_until_next_click == o.repeat_until_next_click
332
+ repeat_until_next_click == o.repeat_until_next_click &&
333
+ stop_previous_sound == o.stop_previous_sound
324
334
  end
325
335
 
326
336
  # @see the `==` method
@@ -332,7 +342,7 @@ module AsposeSlidesCloud
332
342
  # Calculates hash code according to all attributes.
333
343
  # @return [Fixnum] Hash code
334
344
  def 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
345
+ [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, stop_previous_sound].hash
336
346
  end
337
347
 
338
348
  # Builds the object from hash
@@ -55,6 +55,9 @@ module AsposeSlidesCloud
55
55
  # Represents the source of hyperlink color
56
56
  attr_accessor :color_source
57
57
 
58
+ # Audio data encoded in base64. Represents the playing sound of the hyperlink.
59
+ attr_accessor :sound_base64
60
+
58
61
  class EnumAttributeValidator
59
62
  attr_reader :datatype
60
63
  attr_reader :allowable_values
@@ -90,6 +93,7 @@ module AsposeSlidesCloud
90
93
  :'highlight_click' => :'HighlightClick',
91
94
  :'stop_sound_on_click' => :'StopSoundOnClick',
92
95
  :'color_source' => :'ColorSource',
96
+ :'sound_base64' => :'SoundBase64',
93
97
  }
94
98
  end
95
99
 
@@ -106,6 +110,7 @@ module AsposeSlidesCloud
106
110
  :'highlight_click' => :'BOOLEAN',
107
111
  :'stop_sound_on_click' => :'BOOLEAN',
108
112
  :'color_source' => :'String',
113
+ :'sound_base64' => :'String',
109
114
  }
110
115
  end
111
116
 
@@ -156,6 +161,10 @@ module AsposeSlidesCloud
156
161
  if attributes.has_key?(:'ColorSource')
157
162
  self.color_source = attributes[:'ColorSource']
158
163
  end
164
+
165
+ if attributes.has_key?(:'SoundBase64')
166
+ self.sound_base64 = attributes[:'SoundBase64']
167
+ end
159
168
  end
160
169
 
161
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -214,7 +223,8 @@ module AsposeSlidesCloud
214
223
  history == o.history &&
215
224
  highlight_click == o.highlight_click &&
216
225
  stop_sound_on_click == o.stop_sound_on_click &&
217
- color_source == o.color_source
226
+ color_source == o.color_source &&
227
+ sound_base64 == o.sound_base64
218
228
  end
219
229
 
220
230
  # @see the `==` method
@@ -226,7 +236,7 @@ module AsposeSlidesCloud
226
236
  # Calculates hash code according to all attributes.
227
237
  # @return [Fixnum] Hash code
228
238
  def hash
229
- [is_disabled, action_type, external_url, target_slide_index, target_frame, tooltip, history, highlight_click, stop_sound_on_click, color_source].hash
239
+ [is_disabled, action_type, external_url, target_slide_index, target_frame, tooltip, history, highlight_click, stop_sound_on_click, color_source, sound_base64].hash
230
240
  end
231
241
 
232
242
  # Builds the object from hash