aspose_slides_cloud 24.1.0 → 24.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +17 -15
- data/README.md +17 -0
- data/lib/aspose_slides_cloud/api/slides_api.rb +157 -22
- data/lib/aspose_slides_cloud/api/slides_async_api.rb +8 -8
- data/lib/aspose_slides_cloud/models/audio_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/chart.rb +2 -1
- data/lib/aspose_slides_cloud/models/comment_author.rb +101 -0
- data/lib/aspose_slides_cloud/models/comment_authors.rb +93 -0
- data/lib/aspose_slides_cloud/models/connector.rb +2 -1
- data/lib/aspose_slides_cloud/models/effect.rb +23 -1
- data/lib/aspose_slides_cloud/models/export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/graphical_object.rb +2 -1
- data/lib/aspose_slides_cloud/models/group_shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/handout_layouting_options.rb +133 -0
- data/lib/aspose_slides_cloud/models/html5_export_options.rb +22 -2
- data/lib/aspose_slides_cloud/models/html_export_options.rb +8 -72
- data/lib/aspose_slides_cloud/models/image_export_options.rb +12 -66
- data/lib/aspose_slides_cloud/models/notes_comments_layouting_options.rb +155 -0
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +8 -72
- data/lib/aspose_slides_cloud/models/picture_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/save.rb +2 -2
- data/lib/aspose_slides_cloud/models/save_slide.rb +2 -2
- data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/shape_base.rb +11 -1
- data/lib/aspose_slides_cloud/models/slide_export_format.rb +1 -0
- data/lib/aspose_slides_cloud/models/slide_show_properties.rb +11 -1
- data/lib/aspose_slides_cloud/models/slides_layout_options.rb +102 -0
- data/lib/aspose_slides_cloud/models/smart_art.rb +2 -1
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +2 -1
- data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +2 -1
- data/lib/aspose_slides_cloud/models/table.rb +2 -1
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +23 -65
- data/lib/aspose_slides_cloud/models/video_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/zoom_frame.rb +2 -1
- data/lib/aspose_slides_cloud/models/zoom_object.rb +2 -1
- data/lib/aspose_slides_cloud/type_registry.rb +8 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +5 -0
- data/spec/api/slides_api_spec.rb +289 -0
- data/spec/use_cases/comment_spec.rb +8 -0
- data/spec/use_cases/image_spec.rb +27 -0
- data/testRules.json +2 -0
- metadata +7 -2
@@ -0,0 +1,102 @@
|
|
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
|
+
# Slides layouting options.
|
27
|
+
class SlidesLayoutOptions < BaseObject
|
28
|
+
attr_accessor :layout_type
|
29
|
+
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
31
|
+
def self.attribute_map
|
32
|
+
{
|
33
|
+
:'layout_type' => :'LayoutType',
|
34
|
+
}
|
35
|
+
end
|
36
|
+
|
37
|
+
# Attribute type mapping.
|
38
|
+
def self.swagger_types
|
39
|
+
{
|
40
|
+
:'layout_type' => :'String',
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
46
|
+
def initialize(attributes = {})
|
47
|
+
return unless attributes.is_a?(Hash)
|
48
|
+
|
49
|
+
# convert string to symbol for hash key
|
50
|
+
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
51
|
+
|
52
|
+
if attributes.has_key?(:'LayoutType')
|
53
|
+
self.layout_type = attributes[:'LayoutType']
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
58
|
+
# @return Array for valid properties with the reasons
|
59
|
+
def list_invalid_properties
|
60
|
+
invalid_properties = Array.new
|
61
|
+
invalid_properties
|
62
|
+
end
|
63
|
+
|
64
|
+
# Check to see if the all the properties in the model are valid
|
65
|
+
# @return true if the model is valid
|
66
|
+
def valid?
|
67
|
+
layout_type_validator = EnumAttributeValidator.new('String', ['NotesComments', 'Handout'])
|
68
|
+
return false unless layout_type_validator.valid?(@layout_type)
|
69
|
+
true
|
70
|
+
end
|
71
|
+
|
72
|
+
# Custom attribute writer method checking allowed values (enum).
|
73
|
+
# @param [Object] layout_type Object to be assigned
|
74
|
+
def layout_type=(layout_type)
|
75
|
+
validator = EnumAttributeValidator.new('String', ['NotesComments', 'Handout'])
|
76
|
+
unless validator.valid?(layout_type)
|
77
|
+
fail ArgumentError, 'invalid value for "layout_type", must be one of #{validator.allowable_values}.'
|
78
|
+
end
|
79
|
+
@layout_type = layout_type
|
80
|
+
end
|
81
|
+
|
82
|
+
# Checks equality by comparing each attribute.
|
83
|
+
# @param [Object] Object to be compared
|
84
|
+
def ==(o)
|
85
|
+
return true if self.equal?(o)
|
86
|
+
self.class == o.class &&
|
87
|
+
layout_type == o.layout_type
|
88
|
+
end
|
89
|
+
|
90
|
+
# @see the `==` method
|
91
|
+
# @param [Object] Object to be compared
|
92
|
+
def eql?(o)
|
93
|
+
self == o
|
94
|
+
end
|
95
|
+
|
96
|
+
# Calculates hash code according to all attributes.
|
97
|
+
# @return [Fixnum] Hash code
|
98
|
+
def hash
|
99
|
+
[layout_type].hash
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
@@ -174,6 +174,7 @@ module AsposeSlidesCloud
|
|
174
174
|
alternative_text == o.alternative_text &&
|
175
175
|
alternative_text_title == o.alternative_text_title &&
|
176
176
|
hidden == o.hidden &&
|
177
|
+
is_decorative == o.is_decorative &&
|
177
178
|
x == o.x &&
|
178
179
|
y == o.y &&
|
179
180
|
z_order_position == o.z_order_position &&
|
@@ -200,7 +201,7 @@ module AsposeSlidesCloud
|
|
200
201
|
# Calculates hash code according to all attributes.
|
201
202
|
# @return [Fixnum] Hash code
|
202
203
|
def hash
|
203
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, layout, quick_style, color_style, nodes, is_reversed].hash
|
204
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, layout, quick_style, color_style, nodes, is_reversed].hash
|
204
205
|
end
|
205
206
|
end
|
206
207
|
end
|
@@ -71,6 +71,7 @@ module AsposeSlidesCloud
|
|
71
71
|
alternative_text == o.alternative_text &&
|
72
72
|
alternative_text_title == o.alternative_text_title &&
|
73
73
|
hidden == o.hidden &&
|
74
|
+
is_decorative == o.is_decorative &&
|
74
75
|
x == o.x &&
|
75
76
|
y == o.y &&
|
76
77
|
z_order_position == o.z_order_position &&
|
@@ -93,7 +94,7 @@ module AsposeSlidesCloud
|
|
93
94
|
# Calculates hash code according to all attributes.
|
94
95
|
# @return [Fixnum] Hash code
|
95
96
|
def hash
|
96
|
-
[self_uri, alternate_linksname, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, typeshape_type].hash
|
97
|
+
[self_uri, alternate_linksname, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, typeshape_type].hash
|
97
98
|
end
|
98
99
|
end
|
99
100
|
end
|
@@ -103,6 +103,7 @@ module AsposeSlidesCloud
|
|
103
103
|
alternative_text == o.alternative_text &&
|
104
104
|
alternative_text_title == o.alternative_text_title &&
|
105
105
|
hidden == o.hidden &&
|
106
|
+
is_decorative == o.is_decorative &&
|
106
107
|
x == o.x &&
|
107
108
|
y == o.y &&
|
108
109
|
z_order_position == o.z_order_position &&
|
@@ -126,7 +127,7 @@ module AsposeSlidesCloud
|
|
126
127
|
# Calculates hash code according to all attributes.
|
127
128
|
# @return [Fixnum] Hash code
|
128
129
|
def hash
|
129
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, zoom_layout, sections].hash
|
130
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, zoom_layout, sections].hash
|
130
131
|
end
|
131
132
|
end
|
132
133
|
end
|
@@ -89,6 +89,7 @@ module AsposeSlidesCloud
|
|
89
89
|
alternative_text == o.alternative_text &&
|
90
90
|
alternative_text_title == o.alternative_text_title &&
|
91
91
|
hidden == o.hidden &&
|
92
|
+
is_decorative == o.is_decorative &&
|
92
93
|
x == o.x &&
|
93
94
|
y == o.y &&
|
94
95
|
z_order_position == o.z_order_position &&
|
@@ -118,7 +119,7 @@ module AsposeSlidesCloud
|
|
118
119
|
# Calculates hash code according to all attributes.
|
119
120
|
# @return [Fixnum] Hash code
|
120
121
|
def hash
|
121
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, image_type, return_to_parent, show_background, image, transition_duration, target_section_index, title, description].hash
|
122
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, image_type, return_to_parent, show_background, image, transition_duration, target_section_index, title, description].hash
|
122
123
|
end
|
123
124
|
end
|
124
125
|
end
|
@@ -177,6 +177,7 @@ module AsposeSlidesCloud
|
|
177
177
|
alternative_text == o.alternative_text &&
|
178
178
|
alternative_text_title == o.alternative_text_title &&
|
179
179
|
hidden == o.hidden &&
|
180
|
+
is_decorative == o.is_decorative &&
|
180
181
|
x == o.x &&
|
181
182
|
y == o.y &&
|
182
183
|
z_order_position == o.z_order_position &&
|
@@ -208,7 +209,7 @@ module AsposeSlidesCloud
|
|
208
209
|
# Calculates hash code according to all attributes.
|
209
210
|
# @return [Fixnum] Hash code
|
210
211
|
def hash
|
211
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, style, rows, columns, first_col, first_row, horizontal_banding, last_col, last_row, right_to_left, vertical_banding].hash
|
212
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, style, rows, columns, first_col, first_row, horizontal_banding, last_col, last_row, right_to_left, vertical_banding].hash
|
212
213
|
end
|
213
214
|
end
|
214
215
|
end
|
@@ -40,20 +40,11 @@ module AsposeSlidesCloud
|
|
40
40
|
# Specifies the pixel format for the generated images. Read/write ImagePixelFormat.
|
41
41
|
attr_accessor :pixel_format
|
42
42
|
|
43
|
-
#
|
44
|
-
attr_accessor :
|
43
|
+
# Slides layouting options
|
44
|
+
attr_accessor :slides_layout_options
|
45
45
|
|
46
|
-
#
|
47
|
-
attr_accessor :
|
48
|
-
|
49
|
-
# Gets or sets the width of the comment output area in pixels (Applies only if comments are displayed on the right).
|
50
|
-
attr_accessor :comments_area_width
|
51
|
-
|
52
|
-
# Gets or sets the color of comments area (Applies only if comments are displayed on the right).
|
53
|
-
attr_accessor :comments_area_color
|
54
|
-
|
55
|
-
# True if comments that have no author are displayed. (Applies only if comments are displayed).
|
56
|
-
attr_accessor :show_comments_by_no_author
|
46
|
+
# Specifies the algorithm for converting a color image into a black and white image. This option will applied only if Aspose.Slides.Export.TiffOptions.CompressionType is set to Aspose.Slides.Export.TiffCompressionTypes.CCITT4 or Aspose.Slides.Export.TiffCompressionTypes.CCITT3.
|
47
|
+
attr_accessor :bw_conversion_mode
|
57
48
|
|
58
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
59
50
|
def self.attribute_map
|
@@ -63,11 +54,8 @@ module AsposeSlidesCloud
|
|
63
54
|
:'dpi_y' => :'DpiY',
|
64
55
|
:'show_hidden_slides' => :'ShowHiddenSlides',
|
65
56
|
:'pixel_format' => :'PixelFormat',
|
66
|
-
:'
|
67
|
-
:'
|
68
|
-
:'comments_area_width' => :'CommentsAreaWidth',
|
69
|
-
:'comments_area_color' => :'CommentsAreaColor',
|
70
|
-
:'show_comments_by_no_author' => :'ShowCommentsByNoAuthor',
|
57
|
+
:'slides_layout_options' => :'SlidesLayoutOptions',
|
58
|
+
:'bw_conversion_mode' => :'BwConversionMode',
|
71
59
|
})
|
72
60
|
end
|
73
61
|
|
@@ -79,11 +67,8 @@ module AsposeSlidesCloud
|
|
79
67
|
:'dpi_y' => :'Integer',
|
80
68
|
:'show_hidden_slides' => :'BOOLEAN',
|
81
69
|
:'pixel_format' => :'String',
|
82
|
-
:'
|
83
|
-
:'
|
84
|
-
:'comments_area_width' => :'Integer',
|
85
|
-
:'comments_area_color' => :'String',
|
86
|
-
:'show_comments_by_no_author' => :'BOOLEAN',
|
70
|
+
:'slides_layout_options' => :'SlidesLayoutOptions',
|
71
|
+
:'bw_conversion_mode' => :'String',
|
87
72
|
})
|
88
73
|
end
|
89
74
|
|
@@ -112,24 +97,12 @@ module AsposeSlidesCloud
|
|
112
97
|
self.pixel_format = attributes[:'PixelFormat']
|
113
98
|
end
|
114
99
|
|
115
|
-
if attributes.has_key?(:'
|
116
|
-
self.
|
117
|
-
end
|
118
|
-
|
119
|
-
if attributes.has_key?(:'CommentsPosition')
|
120
|
-
self.comments_position = attributes[:'CommentsPosition']
|
121
|
-
end
|
122
|
-
|
123
|
-
if attributes.has_key?(:'CommentsAreaWidth')
|
124
|
-
self.comments_area_width = attributes[:'CommentsAreaWidth']
|
100
|
+
if attributes.has_key?(:'SlidesLayoutOptions')
|
101
|
+
self.slides_layout_options = attributes[:'SlidesLayoutOptions']
|
125
102
|
end
|
126
103
|
|
127
|
-
if attributes.has_key?(:'
|
128
|
-
self.
|
129
|
-
end
|
130
|
-
|
131
|
-
if attributes.has_key?(:'ShowCommentsByNoAuthor')
|
132
|
-
self.show_comments_by_no_author = attributes[:'ShowCommentsByNoAuthor']
|
104
|
+
if attributes.has_key?(:'BwConversionMode')
|
105
|
+
self.bw_conversion_mode = attributes[:'BwConversionMode']
|
133
106
|
end
|
134
107
|
self.format = 'tiff'
|
135
108
|
end
|
@@ -149,10 +122,8 @@ module AsposeSlidesCloud
|
|
149
122
|
return false unless compression_validator.valid?(@compression)
|
150
123
|
pixel_format_validator = EnumAttributeValidator.new('String', ['Format1bppIndexed', 'Format4bppIndexed', 'Format8bppIndexed', 'Format24bppRgb', 'Format32bppArgb'])
|
151
124
|
return false unless pixel_format_validator.valid?(@pixel_format)
|
152
|
-
|
153
|
-
return false unless
|
154
|
-
comments_position_validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
|
155
|
-
return false unless comments_position_validator.valid?(@comments_position)
|
125
|
+
bw_conversion_mode_validator = EnumAttributeValidator.new('String', ['Default', 'Dithering', 'DitheringFloydSteinberg', 'Auto', 'AutoOtsu', 'Threshold25', 'Threshold50', 'Threshold75'])
|
126
|
+
return false unless bw_conversion_mode_validator.valid?(@bw_conversion_mode)
|
156
127
|
true
|
157
128
|
end
|
158
129
|
|
@@ -177,23 +148,13 @@ module AsposeSlidesCloud
|
|
177
148
|
end
|
178
149
|
|
179
150
|
# Custom attribute writer method checking allowed values (enum).
|
180
|
-
# @param [Object]
|
181
|
-
def
|
182
|
-
validator = EnumAttributeValidator.new('String', ['
|
183
|
-
unless validator.valid?(
|
184
|
-
fail ArgumentError, 'invalid value for "
|
185
|
-
end
|
186
|
-
@notes_position = notes_position
|
187
|
-
end
|
188
|
-
|
189
|
-
# Custom attribute writer method checking allowed values (enum).
|
190
|
-
# @param [Object] comments_position Object to be assigned
|
191
|
-
def comments_position=(comments_position)
|
192
|
-
validator = EnumAttributeValidator.new('String', ['None', 'Bottom', 'Right'])
|
193
|
-
unless validator.valid?(comments_position)
|
194
|
-
fail ArgumentError, 'invalid value for "comments_position", must be one of #{validator.allowable_values}.'
|
151
|
+
# @param [Object] bw_conversion_mode Object to be assigned
|
152
|
+
def bw_conversion_mode=(bw_conversion_mode)
|
153
|
+
validator = EnumAttributeValidator.new('String', ['Default', 'Dithering', 'DitheringFloydSteinberg', 'Auto', 'AutoOtsu', 'Threshold25', 'Threshold50', 'Threshold75'])
|
154
|
+
unless validator.valid?(bw_conversion_mode)
|
155
|
+
fail ArgumentError, 'invalid value for "bw_conversion_mode", must be one of #{validator.allowable_values}.'
|
195
156
|
end
|
196
|
-
@
|
157
|
+
@bw_conversion_mode = bw_conversion_mode
|
197
158
|
end
|
198
159
|
|
199
160
|
# Checks equality by comparing each attribute.
|
@@ -212,11 +173,8 @@ module AsposeSlidesCloud
|
|
212
173
|
dpi_y == o.dpi_y &&
|
213
174
|
show_hidden_slides == o.show_hidden_slides &&
|
214
175
|
pixel_format == o.pixel_format &&
|
215
|
-
|
216
|
-
|
217
|
-
comments_area_width == o.comments_area_width &&
|
218
|
-
comments_area_color == o.comments_area_color &&
|
219
|
-
show_comments_by_no_author == o.show_comments_by_no_author
|
176
|
+
slides_layout_options == o.slides_layout_options &&
|
177
|
+
bw_conversion_mode == o.bw_conversion_mode
|
220
178
|
end
|
221
179
|
|
222
180
|
# @see the `==` method
|
@@ -228,7 +186,7 @@ module AsposeSlidesCloud
|
|
228
186
|
# Calculates hash code according to all attributes.
|
229
187
|
# @return [Fixnum] Hash code
|
230
188
|
def hash
|
231
|
-
[default_regular_font, font_fallback_rules, font_subst_rules, format, height, width, compression, dpi_x, dpi_y, show_hidden_slides, pixel_format,
|
189
|
+
[default_regular_font, 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
|
232
190
|
end
|
233
191
|
end
|
234
192
|
end
|
@@ -185,6 +185,7 @@ module AsposeSlidesCloud
|
|
185
185
|
alternative_text == o.alternative_text &&
|
186
186
|
alternative_text_title == o.alternative_text_title &&
|
187
187
|
hidden == o.hidden &&
|
188
|
+
is_decorative == o.is_decorative &&
|
188
189
|
x == o.x &&
|
189
190
|
y == o.y &&
|
190
191
|
z_order_position == o.z_order_position &&
|
@@ -217,7 +218,7 @@ module AsposeSlidesCloud
|
|
217
218
|
# Calculates hash code according to all attributes.
|
218
219
|
# @return [Fixnum] Hash code
|
219
220
|
def hash
|
220
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, full_screen_mode, hide_at_showing, play_loop_mode, play_mode, rewind_video, volume, base64_data, picture_fill_format, trim_from_start, trim_from_end].hash
|
221
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, shape_type, full_screen_mode, hide_at_showing, play_loop_mode, play_mode, rewind_video, volume, base64_data, picture_fill_format, trim_from_start, trim_from_end].hash
|
221
222
|
end
|
222
223
|
end
|
223
224
|
end
|
@@ -80,6 +80,7 @@ module AsposeSlidesCloud
|
|
80
80
|
alternative_text == o.alternative_text &&
|
81
81
|
alternative_text_title == o.alternative_text_title &&
|
82
82
|
hidden == o.hidden &&
|
83
|
+
is_decorative == o.is_decorative &&
|
83
84
|
x == o.x &&
|
84
85
|
y == o.y &&
|
85
86
|
z_order_position == o.z_order_position &&
|
@@ -107,7 +108,7 @@ module AsposeSlidesCloud
|
|
107
108
|
# Calculates hash code according to all attributes.
|
108
109
|
# @return [Fixnum] Hash code
|
109
110
|
def hash
|
110
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, image_type, return_to_parent, show_background, image, transition_duration, target_slide_index].hash
|
111
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, image_type, return_to_parent, show_background, image, transition_duration, target_slide_index].hash
|
111
112
|
end
|
112
113
|
end
|
113
114
|
end
|
@@ -127,6 +127,7 @@ module AsposeSlidesCloud
|
|
127
127
|
alternative_text == o.alternative_text &&
|
128
128
|
alternative_text_title == o.alternative_text_title &&
|
129
129
|
hidden == o.hidden &&
|
130
|
+
is_decorative == o.is_decorative &&
|
130
131
|
x == o.x &&
|
131
132
|
y == o.y &&
|
132
133
|
z_order_position == o.z_order_position &&
|
@@ -153,7 +154,7 @@ module AsposeSlidesCloud
|
|
153
154
|
# Calculates hash code according to all attributes.
|
154
155
|
# @return [Fixnum] Hash code
|
155
156
|
def hash
|
156
|
-
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, image_type, return_to_parent, show_background, image, transition_duration].hash
|
157
|
+
[self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, image_type, return_to_parent, show_background, image, transition_duration].hash
|
157
158
|
end
|
158
159
|
end
|
159
160
|
end
|
@@ -106,6 +106,7 @@ module AsposeSlidesCloud
|
|
106
106
|
:'ColorChangeEffect' => :'ImageTransformEffect',
|
107
107
|
:'ColorReplaceEffect' => :'ImageTransformEffect',
|
108
108
|
:'ColorScheme' => :'ResourceBase',
|
109
|
+
:'CommentAuthors' => :'ResourceBase',
|
109
110
|
:'Connector' => :'GeometryShape',
|
110
111
|
:'CubicBezierToPathSegment' => :'PathSegment',
|
111
112
|
:'DelimiterElement' => :'MathElement',
|
@@ -127,6 +128,7 @@ module AsposeSlidesCloud
|
|
127
128
|
:'GrayScaleEffect' => :'ImageTransformEffect',
|
128
129
|
:'GroupShape' => :'ShapeBase',
|
129
130
|
:'GroupingCharacterElement' => :'MathElement',
|
131
|
+
:'HandoutLayoutingOptions' => :'SlidesLayoutOptions',
|
130
132
|
:'HeaderFooter' => :'ResourceBase',
|
131
133
|
:'HslEffect' => :'ImageTransformEffect',
|
132
134
|
:'Html5ExportOptions' => :'ExportOptions',
|
@@ -148,6 +150,7 @@ module AsposeSlidesCloud
|
|
148
150
|
:'MoveToPathSegment' => :'PathSegment',
|
149
151
|
:'NaryOperatorElement' => :'MathElement',
|
150
152
|
:'NoFill' => :'FillFormat',
|
153
|
+
:'NotesCommentsLayoutingOptions' => :'SlidesLayoutOptions',
|
151
154
|
:'NotesSlide' => :'ResourceBase',
|
152
155
|
:'NotesSlideHeaderFooter' => :'ResourceBase',
|
153
156
|
:'OleObjectFrame' => :'ShapeBase',
|
@@ -285,6 +288,8 @@ module AsposeSlidesCloud
|
|
285
288
|
:'ColorChangeEffect' => { :'Type' => 'ColorChange', },
|
286
289
|
:'ColorReplaceEffect' => { :'Type' => 'ColorReplace', },
|
287
290
|
:'ColorScheme' => { },
|
291
|
+
:'CommentAuthor' => { },
|
292
|
+
:'CommentAuthors' => { },
|
288
293
|
:'CommonSlideViewProperties' => { },
|
289
294
|
:'Connector' => { :'Type' => 'Connector', },
|
290
295
|
:'CubicBezierToPathSegment' => { :'Type' => 'CubicBezierTo', },
|
@@ -332,6 +337,8 @@ module AsposeSlidesCloud
|
|
332
337
|
:'GrayScaleEffect' => { :'Type' => 'GrayScale', },
|
333
338
|
:'GroupShape' => { :'Type' => 'GroupShape', },
|
334
339
|
:'GroupingCharacterElement' => { :'Type' => 'GroupingCharacter', },
|
340
|
+
:'SlidesLayoutOptions' => { },
|
341
|
+
:'HandoutLayoutingOptions' => { :'LayoutType' => 'Handout', },
|
335
342
|
:'HeaderFooter' => { },
|
336
343
|
:'HslEffect' => { :'Type' => 'Hsl', },
|
337
344
|
:'Html5ExportOptions' => { :'Format' => 'html5', },
|
@@ -365,6 +372,7 @@ module AsposeSlidesCloud
|
|
365
372
|
:'NaryOperatorElement' => { :'Type' => 'NaryOperator', },
|
366
373
|
:'NoFill' => { :'Type' => 'NoFill', },
|
367
374
|
:'NormalViewRestoredProperties' => { },
|
375
|
+
:'NotesCommentsLayoutingOptions' => { :'LayoutType' => 'NotesComments', },
|
368
376
|
:'NotesSlide' => { },
|
369
377
|
:'NotesSlideExportFormat' => { },
|
370
378
|
:'NotesSlideHeaderFooter' => { },
|
data/lib/aspose_slides_cloud.rb
CHANGED
@@ -84,6 +84,8 @@ require 'aspose_slides_cloud/models/close_path_segment'
|
|
84
84
|
require 'aspose_slides_cloud/models/color_change_effect'
|
85
85
|
require 'aspose_slides_cloud/models/color_replace_effect'
|
86
86
|
require 'aspose_slides_cloud/models/color_scheme'
|
87
|
+
require 'aspose_slides_cloud/models/comment_author'
|
88
|
+
require 'aspose_slides_cloud/models/comment_authors'
|
87
89
|
require 'aspose_slides_cloud/models/common_slide_view_properties'
|
88
90
|
require 'aspose_slides_cloud/models/connector'
|
89
91
|
require 'aspose_slides_cloud/models/cubic_bezier_to_path_segment'
|
@@ -131,6 +133,8 @@ require 'aspose_slides_cloud/models/graphical_object'
|
|
131
133
|
require 'aspose_slides_cloud/models/gray_scale_effect'
|
132
134
|
require 'aspose_slides_cloud/models/group_shape'
|
133
135
|
require 'aspose_slides_cloud/models/grouping_character_element'
|
136
|
+
require 'aspose_slides_cloud/models/slides_layout_options'
|
137
|
+
require 'aspose_slides_cloud/models/handout_layouting_options'
|
134
138
|
require 'aspose_slides_cloud/models/header_footer'
|
135
139
|
require 'aspose_slides_cloud/models/hsl_effect'
|
136
140
|
require 'aspose_slides_cloud/models/html5_export_options'
|
@@ -164,6 +168,7 @@ require 'aspose_slides_cloud/models/move_to_path_segment'
|
|
164
168
|
require 'aspose_slides_cloud/models/nary_operator_element'
|
165
169
|
require 'aspose_slides_cloud/models/no_fill'
|
166
170
|
require 'aspose_slides_cloud/models/normal_view_restored_properties'
|
171
|
+
require 'aspose_slides_cloud/models/notes_comments_layouting_options'
|
167
172
|
require 'aspose_slides_cloud/models/notes_slide'
|
168
173
|
require 'aspose_slides_cloud/models/notes_slide_export_format'
|
169
174
|
require 'aspose_slides_cloud/models/notes_slide_header_footer'
|