aspose_slides_cloud 24.9.0 → 24.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +7 -7
  3. data/README.md +10 -0
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +78 -2
  5. data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +14 -2
  6. data/lib/aspose_slides_cloud/models/drawing_guide.rb +123 -0
  7. data/lib/aspose_slides_cloud/models/effect.rb +4 -4
  8. data/lib/aspose_slides_cloud/models/export_options.rb +11 -1
  9. data/lib/aspose_slides_cloud/models/gif_export_options.rb +2 -1
  10. data/lib/aspose_slides_cloud/models/html5_export_options.rb +2 -1
  11. data/lib/aspose_slides_cloud/models/html_export_options.rb +2 -1
  12. data/lib/aspose_slides_cloud/models/image_export_options.rb +2 -1
  13. data/lib/aspose_slides_cloud/models/image_export_options_base.rb +2 -1
  14. data/lib/aspose_slides_cloud/models/markdown_export_options.rb +2 -1
  15. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -2
  16. data/lib/aspose_slides_cloud/models/picture_fill.rb +85 -1
  17. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +2 -1
  18. data/lib/aspose_slides_cloud/models/shape.rb +4 -2
  19. data/lib/aspose_slides_cloud/models/svg_export_options.rb +2 -1
  20. data/lib/aspose_slides_cloud/models/swf_export_options.rb +2 -1
  21. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +2 -1
  22. data/lib/aspose_slides_cloud/models/video_export_options.rb +2 -1
  23. data/lib/aspose_slides_cloud/models/view_properties.rb +12 -2
  24. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +2 -1
  25. data/lib/aspose_slides_cloud/models/xps_export_options.rb +2 -1
  26. data/lib/aspose_slides_cloud/type_registry.rb +1 -0
  27. data/lib/aspose_slides_cloud/version.rb +1 -1
  28. data/lib/aspose_slides_cloud.rb +1 -0
  29. data/spec/api/slides_api_spec.rb +246 -1
  30. data/spec/use_cases/image_spec.rb +15 -4
  31. data/testRules.json +4 -1
  32. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c8fcabd1dec89602f7187e17e260535eb94f19956482773ac9cb3c2a662236e
4
- data.tar.gz: 47ffe13f3b3b81b71141b8fccea059515f4f01d87e0cff7b2eb16d8f8d267692
3
+ metadata.gz: 906ac4d7354457db181c2555c518f68c072ee1cf876addac7542ff8a38291414
4
+ data.tar.gz: f84e649f544b604408b7aa16d4a447664bb1a964232262ae43fe3aeed25478f5
5
5
  SHA512:
6
- metadata.gz: 33aeef7fe847968ddd2391a4bd4154a83130c109bbd6f00d90e203049cbf94fb228bf11b74dacbea76ea2a2568996abf4b94bc0a6e870de1c5f1db0043a0291c
7
- data.tar.gz: 8295d67f63e70d40de051485920906ab8be1b58a9fece34c4f965702cbcd5b2837883a038988bb401527a49109f1e2ba081f9f94413cc70ff330113b00b97fb2
6
+ metadata.gz: c61237f55714bb39d0a15892ffd48faa733932ddf91dfc27c6038a6931d879abb3c9ac6d9a15346a204073193cc451540d260ba12608d5b0bc2e99cfd4d59c62
7
+ data.tar.gz: f485293566a91b1e562b7320aea610b09ff0d21053a1a00be4ac1c4e387c1d82622141954c853133f5d92c390a76baf6cb6422012d352dc7036fae4c88610792
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (24.9.0)
4
+ aspose_slides_cloud (24.12.0)
5
5
  faraday (~> 1.0, >= 1.0.0)
6
6
  faraday-httpclient (~> 1.0, >= 1.0.0)
7
7
  httpclient (~> 2.2, >= 2.2.0)
@@ -46,26 +46,26 @@ GEM
46
46
  faraday-patron (1.0.0)
47
47
  faraday-rack (1.0.0)
48
48
  faraday-retry (1.0.3)
49
- hashdiff (1.1.1)
49
+ hashdiff (1.1.2)
50
50
  httpclient (2.8.3)
51
- json (2.7.2)
51
+ json (2.9.0)
52
52
  multipart-post (2.4.1)
53
53
  public_suffix (6.0.1)
54
54
  rake (12.3.3)
55
- rexml (3.3.8)
55
+ rexml (3.3.9)
56
56
  rspec (3.13.0)
57
57
  rspec-core (~> 3.13.0)
58
58
  rspec-expectations (~> 3.13.0)
59
59
  rspec-mocks (~> 3.13.0)
60
- rspec-core (3.13.1)
60
+ rspec-core (3.13.2)
61
61
  rspec-support (~> 3.13.0)
62
62
  rspec-expectations (3.13.3)
63
63
  diff-lcs (>= 1.2.0, < 2.0)
64
64
  rspec-support (~> 3.13.0)
65
- rspec-mocks (3.13.1)
65
+ rspec-mocks (3.13.2)
66
66
  diff-lcs (>= 1.2.0, < 2.0)
67
67
  rspec-support (~> 3.13.0)
68
- rspec-support (3.13.1)
68
+ rspec-support (3.13.2)
69
69
  rspec_junit_formatter (0.6.0)
70
70
  rspec-core (>= 2, < 4, != 2.12.0)
71
71
  ruby2_keywords (0.0.5)
data/README.md CHANGED
@@ -27,6 +27,16 @@ 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 24.12
31
+
32
+ * Added **CompressImage** method. **DeletePictureCroppedAreas** method is deprecated and will be removed after 25.2 release.
33
+ * The **Paragraphs** property of **Shape** class is now a list of **Paragraph** objects instead of ResourceURIs.
34
+ * Added **TileScaleX**, **TileScaleY**, **TileOffsetX**, **TileOffsetY**, **TileAlignment** and **TileFlip** properties to **PictureFill** class.
35
+ * Added **DrawingGuides** property to **CommonSlideViewProperty** class.
36
+ * Added **DeleteEmbeddedBinaryObjects** boolean property to **ExportOptions** class.
37
+ * Added **IncludeOleData** boolean property to **PdfExportOptions** class.
38
+ * Added **GridSpacing** property to **ViewProperties** class.
39
+
30
40
  ## Enhancements in Version 24.9
31
41
 
32
42
  * Added **Upload** and **Download** methods to async API. They are identical to **UploadFile** and **DownloadFile** methods of the regular API, but file size is not restricted for them.
@@ -318,6 +318,82 @@ module AsposeSlidesCloud
318
318
  :return_type => 'File')
319
319
  return data, status_code, headers
320
320
  end
321
+ # Deletes cropped areas of a pictire.
322
+ # @param name Document name.
323
+ # @param slide_index Slide index.
324
+ # @param shape_index Shape index (must refer to a picture frame).
325
+ # @param resolution Target resolution in DPI.
326
+ # @param delete_picture_cropped_areas true to delete picture cropped areas.
327
+ # @param password Document password.
328
+ # @param folder Document folder.
329
+ # @param storage Presentation storage.
330
+ def compress_image(name, slide_index, shape_index, resolution = nil, delete_picture_cropped_areas = nil, password = nil, folder = nil, storage = nil)
331
+ compress_image_with_http_info(name, slide_index, shape_index, resolution, delete_picture_cropped_areas, password, folder, storage)
332
+ nil
333
+ end
334
+
335
+ # Deletes cropped areas of a pictire.
336
+ # @param name Document name.
337
+ # @param slide_index Slide index.
338
+ # @param shape_index Shape index (must refer to a picture frame).
339
+ # @param resolution Target resolution in DPI.
340
+ # @param delete_picture_cropped_areas true to delete picture cropped areas.
341
+ # @param password Document password.
342
+ # @param folder Document folder.
343
+ # @param storage Presentation storage.
344
+ def compress_image_with_http_info(name, slide_index, shape_index, resolution = nil, delete_picture_cropped_areas = nil, password = nil, folder = nil, storage = nil)
345
+ if @api_client.config.debugging
346
+ @api_client.config.logger.debug 'Calling API: SlidesApi.compress_image ...'
347
+ end
348
+
349
+ # verify the required parameter 'name' is set
350
+ if @api_client.config.client_side_validation && name.nil?
351
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.compress_image"
352
+ end
353
+ # verify the required parameter 'slide_index' is set
354
+ if @api_client.config.client_side_validation && slide_index.nil?
355
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.compress_image"
356
+ end
357
+ # verify the required parameter 'shape_index' is set
358
+ if @api_client.config.client_side_validation && shape_index.nil?
359
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.compress_image"
360
+ end
361
+ # resource path
362
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/compressImage'
363
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
364
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
365
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
366
+
367
+ # query parameters
368
+ query_params = {}
369
+ query_params[:'resolution'] = @api_client.prepare_for_query(resolution) unless resolution.nil?
370
+ query_params[:'deletePictureCroppedAreas'] = @api_client.prepare_for_query(delete_picture_cropped_areas) unless delete_picture_cropped_areas.nil?
371
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
372
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
373
+
374
+ # header parameters
375
+ header_params = {}
376
+ # HTTP header 'Accept' (if needed)
377
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
378
+ # HTTP header 'Content-Type'
379
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
380
+ header_params[:'password'] = password unless password.nil?
381
+
382
+ # http body (model)
383
+ post_body = nil
384
+
385
+ # form parameters
386
+ post_files = []
387
+
388
+ auth_names = ['JWT']
389
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
390
+ :header_params => header_params,
391
+ :query_params => query_params,
392
+ :body => post_body,
393
+ :files => post_files,
394
+ :auth_names => auth_names)
395
+ return data, status_code, headers
396
+ end
321
397
  # Convert presentation from request content to format specified.
322
398
  # @param document Document data.
323
399
  # @param format Export format.
@@ -11397,7 +11473,7 @@ module AsposeSlidesCloud
11397
11473
  # @param folder Document folder.
11398
11474
  # @param storage Document storage.
11399
11475
  # @param shape_type Shape type.
11400
- # @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2).
11476
+ # @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2\").
11401
11477
  def get_shapes(name, slide_index, password = nil, folder = nil, storage = nil, shape_type = nil, sub_shape = nil)
11402
11478
  data, _status_code, _headers = get_shapes_with_http_info(name, slide_index, password, folder, storage, shape_type, sub_shape)
11403
11479
  data
@@ -11410,7 +11486,7 @@ module AsposeSlidesCloud
11410
11486
  # @param folder Document folder.
11411
11487
  # @param storage Document storage.
11412
11488
  # @param shape_type Shape type.
11413
- # @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2).
11489
+ # @param sub_shape Sub-shape path (e.g. \"3\", \"3/shapes/2\").
11414
11490
  def get_shapes_with_http_info(name, slide_index, password = nil, folder = nil, storage = nil, shape_type = nil, sub_shape = nil)
11415
11491
  if @api_client.config.debugging
11416
11492
  @api_client.config.logger.debug 'Calling API: SlidesApi.get_shapes ...'
@@ -31,11 +31,15 @@ module AsposeSlidesCloud
31
31
  # True if the view content should automatically scale to best fit the current window size.
32
32
  attr_accessor :variable_scale
33
33
 
34
+ # Drawing guides
35
+ attr_accessor :drawing_guides
36
+
34
37
  # Attribute mapping from ruby-style variable name to JSON key.
35
38
  def self.attribute_map
36
39
  {
37
40
  :'scale' => :'Scale',
38
41
  :'variable_scale' => :'VariableScale',
42
+ :'drawing_guides' => :'DrawingGuides',
39
43
  }
40
44
  end
41
45
 
@@ -44,6 +48,7 @@ module AsposeSlidesCloud
44
48
  {
45
49
  :'scale' => :'Integer',
46
50
  :'variable_scale' => :'BOOLEAN',
51
+ :'drawing_guides' => :'Array<DrawingGuide>',
47
52
  }
48
53
  end
49
54
 
@@ -62,6 +67,12 @@ module AsposeSlidesCloud
62
67
  if attributes.has_key?(:'VariableScale')
63
68
  self.variable_scale = attributes[:'VariableScale']
64
69
  end
70
+
71
+ if attributes.has_key?(:'DrawingGuides')
72
+ if (value = attributes[:'DrawingGuides']).is_a?(Array)
73
+ self.drawing_guides = value
74
+ end
75
+ end
65
76
  end
66
77
 
67
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -83,7 +94,8 @@ module AsposeSlidesCloud
83
94
  return true if self.equal?(o)
84
95
  self.class == o.class &&
85
96
  scale == o.scale &&
86
- variable_scale == o.variable_scale
97
+ variable_scale == o.variable_scale &&
98
+ drawing_guides == o.drawing_guides
87
99
  end
88
100
 
89
101
  # @see the `==` method
@@ -95,7 +107,7 @@ module AsposeSlidesCloud
95
107
  # Calculates hash code according to all attributes.
96
108
  # @return [Fixnum] Hash code
97
109
  def hash
98
- [scale, variable_scale].hash
110
+ [scale, variable_scale, drawing_guides].hash
99
111
  end
100
112
  end
101
113
  end
@@ -0,0 +1,123 @@
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
+ # Drawing guide.
27
+ class DrawingGuide < BaseObject
28
+ # Last used view mode.
29
+ attr_accessor :orientation
30
+
31
+ # Horizontal bar state.
32
+ attr_accessor :position
33
+
34
+ # Attribute mapping from ruby-style variable name to JSON key.
35
+ def self.attribute_map
36
+ {
37
+ :'orientation' => :'Orientation',
38
+ :'position' => :'Position',
39
+ }
40
+ end
41
+
42
+ # Attribute type mapping.
43
+ def self.swagger_types
44
+ {
45
+ :'orientation' => :'String',
46
+ :'position' => :'Float',
47
+ }
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ return unless attributes.is_a?(Hash)
54
+
55
+ # convert string to symbol for hash key
56
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
57
+
58
+ if attributes.has_key?(:'Orientation')
59
+ self.orientation = attributes[:'Orientation']
60
+ end
61
+
62
+ if attributes.has_key?(:'Position')
63
+ self.position = attributes[:'Position']
64
+ end
65
+ end
66
+
67
+ # Show invalid properties with the reasons. Usually used together with valid?
68
+ # @return Array for valid properties with the reasons
69
+ def list_invalid_properties
70
+ invalid_properties = Array.new
71
+ if @orientation.nil?
72
+ invalid_properties.push('invalid value for "orientation", orientation cannot be nil.')
73
+ end
74
+
75
+ if @position.nil?
76
+ invalid_properties.push('invalid value for "position", position cannot be nil.')
77
+ end
78
+
79
+ invalid_properties
80
+ end
81
+
82
+ # Check to see if the all the properties in the model are valid
83
+ # @return true if the model is valid
84
+ def valid?
85
+ return false if @orientation.nil?
86
+ orientation_validator = EnumAttributeValidator.new('String', ['Horizontal', 'Vertical'])
87
+ return false unless orientation_validator.valid?(@orientation)
88
+ return false if @position.nil?
89
+ true
90
+ end
91
+
92
+ # Custom attribute writer method checking allowed values (enum).
93
+ # @param [Object] orientation Object to be assigned
94
+ def orientation=(orientation)
95
+ validator = EnumAttributeValidator.new('String', ['Horizontal', 'Vertical'])
96
+ unless validator.valid?(orientation)
97
+ fail ArgumentError, 'invalid value for "orientation", must be one of #{validator.allowable_values}.'
98
+ end
99
+ @orientation = orientation
100
+ end
101
+
102
+ # Checks equality by comparing each attribute.
103
+ # @param [Object] Object to be compared
104
+ def ==(o)
105
+ return true if self.equal?(o)
106
+ self.class == o.class &&
107
+ orientation == o.orientation &&
108
+ position == o.position
109
+ end
110
+
111
+ # @see the `==` method
112
+ # @param [Object] Object to be compared
113
+ def eql?(o)
114
+ self == o
115
+ end
116
+
117
+ # Calculates hash code according to all attributes.
118
+ # @return [Fixnum] Hash code
119
+ def hash
120
+ [orientation, position].hash
121
+ end
122
+ end
123
+ end
@@ -258,9 +258,9 @@ module AsposeSlidesCloud
258
258
  # Check to see if the all the properties in the model are valid
259
259
  # @return true if the model is valid
260
260
  def valid?
261
- type_validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
261
+ type_validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'FloatUp', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Floatdown', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
262
262
  return false unless type_validator.valid?(@type)
263
- subtype_validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
263
+ subtype_validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'ObjectCenter', 'SlideCenter', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
264
264
  return false unless subtype_validator.valid?(@subtype)
265
265
  preset_class_type_validator = EnumAttributeValidator.new('String', ['Entrance', 'Exit', 'Emphasis', 'Path', 'MediaCall', 'OLEActionVerbs'])
266
266
  return false unless preset_class_type_validator.valid?(@preset_class_type)
@@ -279,7 +279,7 @@ module AsposeSlidesCloud
279
279
  # Custom attribute writer method checking allowed values (enum).
280
280
  # @param [Object] type Object to be assigned
281
281
  def type=(type)
282
- validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
282
+ validator = EnumAttributeValidator.new('String', ['Appear', 'CurveUpDown', 'Ascend', 'FloatUp', 'Blast', 'Blinds', 'Blink', 'BoldFlash', 'BoldReveal', 'Boomerang', 'Bounce', 'Box', 'BrushOnColor', 'BrushOnUnderline', 'CenterRevolve', 'ChangeFillColor', 'ChangeFont', 'ChangeFontColor', 'ChangeFontSize', 'ChangeFontStyle', 'ChangeLineColor', 'Checkerboard', 'Circle', 'ColorBlend', 'ColorTypewriter', 'ColorWave', 'ComplementaryColor', 'ComplementaryColor2', 'Compress', 'ContrastingColor', 'Crawl', 'Credits', 'Custom', 'Darken', 'Desaturate', 'Descend', 'Floatdown', 'Diamond', 'Dissolve', 'EaseInOut', 'Expand', 'Fade', 'FadedSwivel', 'FadedZoom', 'FlashBulb', 'FlashOnce', 'Flicker', 'Flip', 'Float', 'Fly', 'Fold', 'Glide', 'GrowAndTurn', 'GrowShrink', 'GrowWithColor', 'Lighten', 'LightSpeed', 'MediaPause', 'MediaPlay', 'MediaStop', 'Path4PointStar', 'Path5PointStar', 'Path6PointStar', 'Path8PointStar', 'PathArcDown', 'PathArcLeft', 'PathArcRight', 'PathArcUp', 'PathBean', 'PathBounceLeft', 'PathBounceRight', 'PathBuzzsaw', 'PathCircle', 'PathCrescentMoon', 'PathCurvedSquare', 'PathCurvedX', 'PathCurvyLeft', 'PathCurvyRight', 'PathCurvyStar', 'PathDecayingWave', 'PathDiagonalDownRight', 'PathDiagonalUpRight', 'PathDiamond', 'PathDown', 'PathEqualTriangle', 'PathFigure8Four', 'PathFootball', 'PathFunnel', 'PathHeart', 'PathHeartbeat', 'PathHexagon', 'PathHorizontalFigure8', 'PathInvertedSquare', 'PathInvertedTriangle', 'PathLeft', 'PathLoopdeLoop', 'PathNeutron', 'PathOctagon', 'PathParallelogram', 'PathPeanut', 'PathPentagon', 'PathPlus', 'PathPointyStar', 'PathRight', 'PathRightTriangle', 'PathSCurve1', 'PathSCurve2', 'PathSineWave', 'PathSpiralLeft', 'PathSpiralRight', 'PathSpring', 'PathSquare', 'PathStairsDown', 'PathSwoosh', 'PathTeardrop', 'PathTrapezoid', 'PathTurnDown', 'PathTurnRight', 'PathTurnUp', 'PathTurnUpRight', 'PathUp', 'PathUser', 'PathVerticalFigure8', 'PathWave', 'PathZigzag', 'Peek', 'Pinwheel', 'Plus', 'RandomBars', 'RandomEffects', 'RiseUp', 'Shimmer', 'Sling', 'Spin', 'Spinner', 'Spiral', 'Split', 'Stretch', 'Strips', 'StyleEmphasis', 'Swish', 'Swivel', 'Teeter', 'Thread', 'Transparency', 'Unfold', 'VerticalGrow', 'Wave', 'Wedge', 'Wheel', 'Whip', 'Wipe', 'Magnify', 'Zoom', 'OLEObjectShow', 'OLEObjectEdit', 'OLEObjectOpen'])
283
283
  unless validator.valid?(type)
284
284
  fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
285
285
  end
@@ -289,7 +289,7 @@ module AsposeSlidesCloud
289
289
  # Custom attribute writer method checking allowed values (enum).
290
290
  # @param [Object] subtype Object to be assigned
291
291
  def subtype=(subtype)
292
- validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
292
+ validator = EnumAttributeValidator.new('String', ['None', 'Across', 'Bottom', 'BottomLeft', 'BottomRight', 'Center', 'ObjectCenter', 'SlideCenter', 'Clockwise', 'CounterClockwise', 'GradualAndCycleClockwise', 'GradualAndCycleCounterClockwise', 'Down', 'DownLeft', 'DownRight', 'FontAllCaps', 'FontBold', 'FontItalic', 'FontShadow', 'FontStrikethrough', 'FontUnderline', 'Gradual', 'Horizontal', 'HorizontalIn', 'HorizontalOut', 'In', 'InBottom', 'InCenter', 'InSlightly', 'Instant', 'Left', 'OrdinalMask', 'Out', 'OutBottom', 'OutCenter', 'OutSlightly', 'Right', 'Slightly', 'Top', 'TopLeft', 'TopRight', 'Up', 'UpLeft', 'UpRight', 'Vertical', 'VerticalIn', 'VerticalOut', 'Wheel1', 'Wheel2', 'Wheel3', 'Wheel4', 'Wheel8'])
293
293
  unless validator.valid?(subtype)
294
294
  fail ArgumentError, 'invalid value for "subtype", must be one of #{validator.allowable_values}.'
295
295
  end
@@ -28,6 +28,9 @@ module AsposeSlidesCloud
28
28
  # Default regular font for rendering the presentation.
29
29
  attr_accessor :default_regular_font
30
30
 
31
+ # True to delete delete all embedded binary objects.
32
+ attr_accessor :delete_embedded_binary_objects
33
+
31
34
  # Default regular font for rendering the presentation.
32
35
  attr_accessor :gradient_style
33
36
 
@@ -43,6 +46,7 @@ module AsposeSlidesCloud
43
46
  def self.attribute_map
44
47
  {
45
48
  :'default_regular_font' => :'DefaultRegularFont',
49
+ :'delete_embedded_binary_objects' => :'DeleteEmbeddedBinaryObjects',
46
50
  :'gradient_style' => :'GradientStyle',
47
51
  :'font_fallback_rules' => :'FontFallbackRules',
48
52
  :'font_subst_rules' => :'FontSubstRules',
@@ -54,6 +58,7 @@ module AsposeSlidesCloud
54
58
  def self.swagger_types
55
59
  {
56
60
  :'default_regular_font' => :'String',
61
+ :'delete_embedded_binary_objects' => :'BOOLEAN',
57
62
  :'gradient_style' => :'String',
58
63
  :'font_fallback_rules' => :'Array<FontFallbackRule>',
59
64
  :'font_subst_rules' => :'Array<FontSubstRule>',
@@ -73,6 +78,10 @@ module AsposeSlidesCloud
73
78
  self.default_regular_font = attributes[:'DefaultRegularFont']
74
79
  end
75
80
 
81
+ if attributes.has_key?(:'DeleteEmbeddedBinaryObjects')
82
+ self.delete_embedded_binary_objects = attributes[:'DeleteEmbeddedBinaryObjects']
83
+ end
84
+
76
85
  if attributes.has_key?(:'GradientStyle')
77
86
  self.gradient_style = attributes[:'GradientStyle']
78
87
  end
@@ -125,6 +134,7 @@ module AsposeSlidesCloud
125
134
  return true if self.equal?(o)
126
135
  self.class == o.class &&
127
136
  default_regular_font == o.default_regular_font &&
137
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
128
138
  gradient_style == o.gradient_style &&
129
139
  font_fallback_rules == o.font_fallback_rules &&
130
140
  font_subst_rules == o.font_subst_rules &&
@@ -140,7 +150,7 @@ module AsposeSlidesCloud
140
150
  # Calculates hash code according to all attributes.
141
151
  # @return [Fixnum] Hash code
142
152
  def hash
143
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format].hash
153
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format].hash
144
154
  end
145
155
  end
146
156
  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 &&
@@ -111,7 +112,7 @@ module AsposeSlidesCloud
111
112
  # Calculates hash code according to all attributes.
112
113
  # @return [Fixnum] Hash code
113
114
  def hash
114
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
115
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, export_hidden_slides, transition_fps, default_delay].hash
115
116
  end
116
117
  end
117
118
  end
@@ -109,6 +109,7 @@ module AsposeSlidesCloud
109
109
  return true if self.equal?(o)
110
110
  self.class == o.class &&
111
111
  default_regular_font == o.default_regular_font &&
112
+ delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
112
113
  gradient_style == o.gradient_style &&
113
114
  font_fallback_rules == o.font_fallback_rules &&
114
115
  font_subst_rules == o.font_subst_rules &&
@@ -129,7 +130,7 @@ module AsposeSlidesCloud
129
130
  # Calculates hash code according to all attributes.
130
131
  # @return [Fixnum] Hash code
131
132
  def hash
132
- [default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, animate_transitions, animate_shapes, embed_images, notes_comments_layouting, templates_path].hash
133
+ [default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, format, animate_transitions, animate_shapes, embed_images, notes_comments_layouting, templates_path].hash
133
134
  end
134
135
  end
135
136
  end
@@ -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