aspose_slides_cloud 24.9.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.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -18
- data/README.md +15 -61
- data/TestData/video.pptx +0 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +448 -123
- data/lib/aspose_slides_cloud/api/slides_async_api.rb +12 -12
- data/lib/aspose_slides_cloud/models/audio_frame.rb +51 -1
- data/lib/aspose_slides_cloud/models/caption_track.rb +116 -0
- data/lib/aspose_slides_cloud/models/caption_tracks.rb +93 -0
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +14 -2
- data/lib/aspose_slides_cloud/models/drawing_guide.rb +123 -0
- data/lib/aspose_slides_cloud/models/effect.rb +4 -4
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/export_options.rb +21 -1
- data/lib/aspose_slides_cloud/models/gif_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +20 -8
- data/lib/aspose_slides_cloud/models/html_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/image_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/image_export_options_base.rb +3 -1
- data/lib/aspose_slides_cloud/models/markdown_export_options.rb +46 -2
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/picture_fill.rb +105 -1
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/save.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_shape.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +4 -2
- data/lib/aspose_slides_cloud/models/shape_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +14 -2
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +10 -72
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/video_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/view_properties.rb +12 -2
- data/lib/aspose_slides_cloud/models/xaml_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +3 -1
- data/lib/aspose_slides_cloud/type_registry.rb +5 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +3 -0
- data/spec/api/slides_api_spec.rb +1304 -204
- data/spec/use_cases/image_spec.rb +15 -4
- data/spec/use_cases/merge_spec.rb +1 -1
- data/testRules.json +10 -1
- metadata +6 -2
@@ -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
|
|
@@ -106,12 +115,15 @@ module AsposeSlidesCloud
|
|
106
115
|
return true if self.equal?(o)
|
107
116
|
self.class == o.class &&
|
108
117
|
default_regular_font == o.default_regular_font &&
|
118
|
+
delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
|
109
119
|
gradient_style == o.gradient_style &&
|
110
120
|
font_fallback_rules == o.font_fallback_rules &&
|
111
121
|
font_subst_rules == o.font_subst_rules &&
|
122
|
+
skip_java_script_links == o.skip_java_script_links &&
|
112
123
|
format == o.format &&
|
113
124
|
conformance == o.conformance &&
|
114
|
-
zip64_mode == o.zip64_mode
|
125
|
+
zip64_mode == o.zip64_mode &&
|
126
|
+
refresh_thumbnail == o.refresh_thumbnail
|
115
127
|
end
|
116
128
|
|
117
129
|
# @see the `==` method
|
@@ -123,7 +135,7 @@ module AsposeSlidesCloud
|
|
123
135
|
# Calculates hash code according to all attributes.
|
124
136
|
# @return [Fixnum] Hash code
|
125
137
|
def hash
|
126
|
-
[default_regular_font, 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
|
127
139
|
end
|
128
140
|
end
|
129
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
|
@@ -47,7 +47,7 @@ module AsposeSlidesCloud
|
|
47
47
|
def self.swagger_types
|
48
48
|
super.merge({
|
49
49
|
:'text' => :'String',
|
50
|
-
:'paragraphs' => :'
|
50
|
+
:'paragraphs' => :'Array<Paragraph>',
|
51
51
|
:'text_frame_format' => :'TextFrameFormat',
|
52
52
|
})
|
53
53
|
end
|
@@ -62,7 +62,9 @@ module AsposeSlidesCloud
|
|
62
62
|
end
|
63
63
|
|
64
64
|
if attributes.has_key?(:'Paragraphs')
|
65
|
-
|
65
|
+
if (value = attributes[:'Paragraphs']).is_a?(Array)
|
66
|
+
self.paragraphs = value
|
67
|
+
end
|
66
68
|
end
|
67
69
|
|
68
70
|
if attributes.has_key?(:'TextFrameFormat')
|
@@ -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
|
|
@@ -187,9 +196,11 @@ module AsposeSlidesCloud
|
|
187
196
|
return true if self.equal?(o)
|
188
197
|
self.class == o.class &&
|
189
198
|
default_regular_font == o.default_regular_font &&
|
199
|
+
delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
|
190
200
|
gradient_style == o.gradient_style &&
|
191
201
|
font_fallback_rules == o.font_fallback_rules &&
|
192
202
|
font_subst_rules == o.font_subst_rules &&
|
203
|
+
skip_java_script_links == o.skip_java_script_links &&
|
193
204
|
format == o.format &&
|
194
205
|
vectorize_text == o.vectorize_text &&
|
195
206
|
metafile_rasterization_dpi == o.metafile_rasterization_dpi &&
|
@@ -201,7 +212,8 @@ module AsposeSlidesCloud
|
|
201
212
|
delete_pictures_cropped_areas == o.delete_pictures_cropped_areas &&
|
202
213
|
external_fonts_handling == o.external_fonts_handling &&
|
203
214
|
use_frame_size == o.use_frame_size &&
|
204
|
-
use_frame_rotation == o.use_frame_rotation
|
215
|
+
use_frame_rotation == o.use_frame_rotation &&
|
216
|
+
disable_font_ligatures == o.disable_font_ligatures
|
205
217
|
end
|
206
218
|
|
207
219
|
# @see the `==` method
|
@@ -213,7 +225,7 @@ module AsposeSlidesCloud
|
|
213
225
|
# Calculates hash code according to all attributes.
|
214
226
|
# @return [Fixnum] Hash code
|
215
227
|
def hash
|
216
|
-
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, vectorize_text, metafile_rasterization_dpi, disable3_d_text, disable_gradient_split, disable_line_end_cropping, jpeg_quality, pictures_compression, delete_pictures_cropped_areas, external_fonts_handling, use_frame_size, use_frame_rotation].hash
|
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
|
217
229
|
end
|
218
230
|
end
|
219
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
|
-
#
|
74
|
-
attr_accessor :
|
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
|
-
:'
|
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
|
-
:'
|
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?(:'
|
206
|
-
self.
|
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,42 +199,20 @@ 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)
|
268
208
|
return true if self.equal?(o)
|
269
209
|
self.class == o.class &&
|
270
210
|
default_regular_font == o.default_regular_font &&
|
211
|
+
delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
|
271
212
|
gradient_style == o.gradient_style &&
|
272
213
|
font_fallback_rules == o.font_fallback_rules &&
|
273
214
|
font_subst_rules == o.font_subst_rules &&
|
215
|
+
skip_java_script_links == o.skip_java_script_links &&
|
274
216
|
format == o.format &&
|
275
217
|
show_hidden_slides == o.show_hidden_slides &&
|
276
218
|
compressed == o.compressed &&
|
@@ -287,11 +229,7 @@ module AsposeSlidesCloud
|
|
287
229
|
logo_image == o.logo_image &&
|
288
230
|
logo_link == o.logo_link &&
|
289
231
|
jpeg_quality == o.jpeg_quality &&
|
290
|
-
|
291
|
-
comments_position == o.comments_position &&
|
292
|
-
comments_area_width == o.comments_area_width &&
|
293
|
-
comments_area_color == o.comments_area_color &&
|
294
|
-
show_comments_by_no_author == o.show_comments_by_no_author
|
232
|
+
slides_layout_options == o.slides_layout_options
|
295
233
|
end
|
296
234
|
|
297
235
|
# @see the `==` method
|
@@ -303,7 +241,7 @@ module AsposeSlidesCloud
|
|
303
241
|
# Calculates hash code according to all attributes.
|
304
242
|
# @return [Fixnum] Hash code
|
305
243
|
def hash
|
306
|
-
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, compressed, viewer_included, show_page_border, show_full_screen, show_page_stepper, show_search, show_top_pane, show_bottom_pane, show_left_pane, start_open_left_pane, enable_context_menu, logo_image, logo_link, jpeg_quality,
|
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
|
307
245
|
end
|
308
246
|
end
|
309
247
|
end
|
@@ -163,9 +163,11 @@ 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 &&
|
170
|
+
skip_java_script_links == o.skip_java_script_links &&
|
169
171
|
format == o.format &&
|
170
172
|
height == o.height &&
|
171
173
|
width == o.width &&
|
@@ -187,7 +189,7 @@ module AsposeSlidesCloud
|
|
187
189
|
# Calculates hash code according to all attributes.
|
188
190
|
# @return [Fixnum] Hash code
|
189
191
|
def hash
|
190
|
-
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format, slides_layout_options, bw_conversion_mode].hash
|
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
|
191
193
|
end
|
192
194
|
end
|
193
195
|
end
|
@@ -124,9 +124,11 @@ module AsposeSlidesCloud
|
|
124
124
|
return true if self.equal?(o)
|
125
125
|
self.class == o.class &&
|
126
126
|
default_regular_font == o.default_regular_font &&
|
127
|
+
delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
|
127
128
|
gradient_style == o.gradient_style &&
|
128
129
|
font_fallback_rules == o.font_fallback_rules &&
|
129
130
|
font_subst_rules == o.font_subst_rules &&
|
131
|
+
skip_java_script_links == o.skip_java_script_links &&
|
130
132
|
format == o.format &&
|
131
133
|
slides_transition_duration == o.slides_transition_duration &&
|
132
134
|
transition_type == o.transition_type &&
|
@@ -143,7 +145,7 @@ module AsposeSlidesCloud
|
|
143
145
|
# Calculates hash code according to all attributes.
|
144
146
|
# @return [Fixnum] Hash code
|
145
147
|
def hash
|
146
|
-
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, slides_transition_duration, transition_type, transition_duration, video_resolution_type].hash
|
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
|
147
149
|
end
|
148
150
|
end
|
149
151
|
end
|
@@ -52,6 +52,9 @@ module AsposeSlidesCloud
|
|
52
52
|
# True if the comments should be shown.
|
53
53
|
attr_accessor :show_comments
|
54
54
|
|
55
|
+
# The grid spacing that should be used for the grid underlying the presentation document, in points.
|
56
|
+
attr_accessor :grid_spacing
|
57
|
+
|
55
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
56
59
|
def self.attribute_map
|
57
60
|
super.merge({
|
@@ -64,6 +67,7 @@ module AsposeSlidesCloud
|
|
64
67
|
:'slide_view_properties' => :'SlideViewProperties',
|
65
68
|
:'notes_view_properties' => :'NotesViewProperties',
|
66
69
|
:'show_comments' => :'ShowComments',
|
70
|
+
:'grid_spacing' => :'GridSpacing',
|
67
71
|
})
|
68
72
|
end
|
69
73
|
|
@@ -79,6 +83,7 @@ module AsposeSlidesCloud
|
|
79
83
|
:'slide_view_properties' => :'CommonSlideViewProperties',
|
80
84
|
:'notes_view_properties' => :'CommonSlideViewProperties',
|
81
85
|
:'show_comments' => :'String',
|
86
|
+
:'grid_spacing' => :'Float',
|
82
87
|
})
|
83
88
|
end
|
84
89
|
|
@@ -122,6 +127,10 @@ module AsposeSlidesCloud
|
|
122
127
|
if attributes.has_key?(:'ShowComments')
|
123
128
|
self.show_comments = attributes[:'ShowComments']
|
124
129
|
end
|
130
|
+
|
131
|
+
if attributes.has_key?(:'GridSpacing')
|
132
|
+
self.grid_spacing = attributes[:'GridSpacing']
|
133
|
+
end
|
125
134
|
end
|
126
135
|
|
127
136
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -201,7 +210,8 @@ module AsposeSlidesCloud
|
|
201
210
|
restored_top == o.restored_top &&
|
202
211
|
slide_view_properties == o.slide_view_properties &&
|
203
212
|
notes_view_properties == o.notes_view_properties &&
|
204
|
-
show_comments == o.show_comments
|
213
|
+
show_comments == o.show_comments &&
|
214
|
+
grid_spacing == o.grid_spacing
|
205
215
|
end
|
206
216
|
|
207
217
|
# @see the `==` method
|
@@ -213,7 +223,7 @@ module AsposeSlidesCloud
|
|
213
223
|
# Calculates hash code according to all attributes.
|
214
224
|
# @return [Fixnum] Hash code
|
215
225
|
def hash
|
216
|
-
[self_uri, alternate_links, last_view, horizontal_bar_state, vertical_bar_state, prefer_single_view, restored_left, restored_top, slide_view_properties, notes_view_properties, show_comments].hash
|
226
|
+
[self_uri, alternate_links, last_view, horizontal_bar_state, vertical_bar_state, prefer_single_view, restored_left, restored_top, slide_view_properties, notes_view_properties, show_comments, grid_spacing].hash
|
217
227
|
end
|
218
228
|
end
|
219
229
|
end
|
@@ -73,9 +73,11 @@ module AsposeSlidesCloud
|
|
73
73
|
return true if self.equal?(o)
|
74
74
|
self.class == o.class &&
|
75
75
|
default_regular_font == o.default_regular_font &&
|
76
|
+
delete_embedded_binary_objects == o.delete_embedded_binary_objects &&
|
76
77
|
gradient_style == o.gradient_style &&
|
77
78
|
font_fallback_rules == o.font_fallback_rules &&
|
78
79
|
font_subst_rules == o.font_subst_rules &&
|
80
|
+
skip_java_script_links == o.skip_java_script_links &&
|
79
81
|
format == o.format &&
|
80
82
|
export_hidden_slides == o.export_hidden_slides
|
81
83
|
end
|
@@ -89,7 +91,7 @@ module AsposeSlidesCloud
|
|
89
91
|
# Calculates hash code according to all attributes.
|
90
92
|
# @return [Fixnum] Hash code
|
91
93
|
def hash
|
92
|
-
[default_regular_font, 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
|
93
95
|
end
|
94
96
|
end
|
95
97
|
end
|
@@ -91,9 +91,11 @@ 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 &&
|
98
|
+
skip_java_script_links == o.skip_java_script_links &&
|
97
99
|
format == o.format &&
|
98
100
|
show_hidden_slides == o.show_hidden_slides &&
|
99
101
|
save_metafiles_as_png == o.save_metafiles_as_png &&
|
@@ -109,7 +111,7 @@ module AsposeSlidesCloud
|
|
109
111
|
# Calculates hash code according to all attributes.
|
110
112
|
# @return [Fixnum] Hash code
|
111
113
|
def hash
|
112
|
-
[default_regular_font, gradient_style, font_fallback_rules, font_subst_rules, format, show_hidden_slides, save_metafiles_as_png, draw_slides_frame].hash
|
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
|
113
115
|
end
|
114
116
|
end
|
115
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' => { },
|
@@ -302,6 +306,7 @@ module AsposeSlidesCloud
|
|
302
306
|
:'DocumentProperties' => { },
|
303
307
|
:'DocumentProperty' => { },
|
304
308
|
:'DocumentReplaceResult' => { },
|
309
|
+
:'DrawingGuide' => { },
|
305
310
|
:'DuotoneEffect' => { :'Type' => 'Duotone', },
|
306
311
|
:'Effect' => { },
|
307
312
|
:'EffectFormat' => { },
|
data/lib/aspose_slides_cloud.rb
CHANGED
@@ -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'
|
@@ -97,6 +99,7 @@ require 'aspose_slides_cloud/models/document'
|
|
97
99
|
require 'aspose_slides_cloud/models/document_properties'
|
98
100
|
require 'aspose_slides_cloud/models/document_property'
|
99
101
|
require 'aspose_slides_cloud/models/document_replace_result'
|
102
|
+
require 'aspose_slides_cloud/models/drawing_guide'
|
100
103
|
require 'aspose_slides_cloud/models/duotone_effect'
|
101
104
|
require 'aspose_slides_cloud/models/effect'
|
102
105
|
require 'aspose_slides_cloud/models/effect_format'
|