aspose_slides_cloud 20.7.0 → 20.8.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/TestData/ChartTest.pptx +0 -0
- data/lib/aspose_slides_cloud.rb +5 -3
- data/lib/aspose_slides_cloud/api/slides_api.rb +407 -0
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +165 -0
- data/lib/aspose_slides_cloud/api_client.rb +1 -2
- data/lib/aspose_slides_cloud/models/add_layout_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_master_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/add_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/api_info.rb +2 -2
- data/lib/aspose_slides_cloud/models/arrow_head_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/audio_frame.rb +12 -236
- data/lib/aspose_slides_cloud/models/axes.rb +2 -2
- data/lib/aspose_slides_cloud/models/axis.rb +2 -2
- data/lib/aspose_slides_cloud/models/base64_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/blur_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/box_and_whisker_series.rb +11 -216
- data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +10 -40
- data/lib/aspose_slides_cloud/models/bubble_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/chart.rb +12 -210
- data/lib/aspose_slides_cloud/models/chart_category.rb +16 -4
- data/lib/aspose_slides_cloud/models/chart_title.rb +2 -2
- data/lib/aspose_slides_cloud/models/chart_wall.rb +2 -2
- data/lib/aspose_slides_cloud/models/color_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/common_slide_view_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/connector.rb +11 -234
- data/lib/aspose_slides_cloud/models/custom_dash_pattern.rb +2 -2
- data/lib/aspose_slides_cloud/models/disc_usage.rb +2 -2
- data/lib/aspose_slides_cloud/models/document.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_properties.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_property.rb +10 -32
- data/lib/aspose_slides_cloud/models/document_replace_result.rb +10 -86
- data/lib/aspose_slides_cloud/models/effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/effect_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/entity_exists.rb +2 -2
- data/lib/aspose_slides_cloud/models/error.rb +2 -2
- data/lib/aspose_slides_cloud/models/error_details.rb +2 -2
- data/lib/aspose_slides_cloud/models/export_options.rb +13 -3
- data/lib/aspose_slides_cloud/models/file_version.rb +10 -67
- data/lib/aspose_slides_cloud/models/file_versions.rb +2 -2
- data/lib/aspose_slides_cloud/models/files_list.rb +2 -2
- data/lib/aspose_slides_cloud/models/files_upload_result.rb +2 -2
- data/lib/aspose_slides_cloud/models/fill_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/fill_overlay_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/font_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/font_set.rb +2 -2
- data/lib/aspose_slides_cloud/models/format_scheme.rb +10 -32
- data/lib/aspose_slides_cloud/models/geometry_shape.rb +10 -200
- data/lib/aspose_slides_cloud/models/glow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/gradient_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/gradient_fill_stop.rb +2 -2
- data/lib/aspose_slides_cloud/models/graphical_object.rb +11 -209
- data/lib/aspose_slides_cloud/models/group_shape.rb +11 -209
- data/lib/aspose_slides_cloud/models/html_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/i_shape_export_options.rb +2 -2
- data/lib/aspose_slides_cloud/models/image.rb +10 -32
- data/lib/aspose_slides_cloud/models/image_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/images.rb +10 -32
- data/lib/aspose_slides_cloud/models/inner_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/input.rb +2 -2
- data/lib/aspose_slides_cloud/models/input_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/interactive_sequence.rb +2 -2
- data/lib/aspose_slides_cloud/models/layout_slide.rb +10 -32
- data/lib/aspose_slides_cloud/models/layout_slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/legend.rb +2 -2
- data/lib/aspose_slides_cloud/models/line_format.rb +2 -2
- data/lib/aspose_slides_cloud/models/master_slide.rb +10 -32
- data/lib/aspose_slides_cloud/models/master_slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/merge.rb +11 -40
- data/lib/aspose_slides_cloud/models/merging_source.rb +2 -2
- data/lib/aspose_slides_cloud/models/no_fill.rb +9 -38
- data/lib/aspose_slides_cloud/models/normal_view_restored_properties.rb +2 -2
- data/lib/aspose_slides_cloud/models/notes_slide.rb +10 -32
- data/lib/aspose_slides_cloud/models/object_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/ole_object_frame.rb +12 -210
- data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +10 -12
- data/lib/aspose_slides_cloud/models/one_value_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/ordered_merge_request.rb +2 -2
- data/lib/aspose_slides_cloud/models/outer_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/output_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/paragraph.rb +10 -32
- data/lib/aspose_slides_cloud/models/paragraphs.rb +10 -32
- data/lib/aspose_slides_cloud/models/path_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/path_output_file.rb +11 -40
- data/lib/aspose_slides_cloud/models/pattern_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/pdf_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/picture_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/picture_frame.rb +12 -236
- data/lib/aspose_slides_cloud/models/pipeline.rb +2 -2
- data/lib/aspose_slides_cloud/models/placeholder.rb +10 -32
- data/lib/aspose_slides_cloud/models/placeholders.rb +10 -32
- data/lib/aspose_slides_cloud/models/plot_area.rb +2 -2
- data/lib/aspose_slides_cloud/models/portion.rb +10 -32
- data/lib/aspose_slides_cloud/models/portions.rb +10 -32
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +2 -2
- data/lib/aspose_slides_cloud/models/presentations_merge_request.rb +2 -2
- data/lib/aspose_slides_cloud/models/preset_shadow_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/reflection_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/remove_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/remove_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/reorder_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/replace_text.rb +11 -40
- data/lib/aspose_slides_cloud/models/request_input_file.rb +11 -49
- data/lib/aspose_slides_cloud/models/reset_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/resource_base.rb +2 -2
- data/lib/aspose_slides_cloud/models/resource_uri.rb +2 -2
- data/lib/aspose_slides_cloud/models/resource_uri_element.rb +2 -2
- data/lib/aspose_slides_cloud/models/response_output_file.rb +9 -38
- data/lib/aspose_slides_cloud/models/save.rb +11 -40
- data/lib/aspose_slides_cloud/models/save_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/save_slide.rb +11 -40
- data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +10 -12
- data/lib/aspose_slides_cloud/models/scatter_series.rb +11 -205
- data/lib/aspose_slides_cloud/models/series.rb +2 -2
- data/lib/aspose_slides_cloud/models/series_marker.rb +2 -2
- data/lib/aspose_slides_cloud/models/shape.rb +11 -234
- data/lib/aspose_slides_cloud/models/shape_base.rb +10 -32
- data/lib/aspose_slides_cloud/models/shape_image_export_options.rb +2 -2
- data/lib/aspose_slides_cloud/models/shapes.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_animation.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_background.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_comment.rb +2 -2
- data/lib/aspose_slides_cloud/models/slide_comments.rb +10 -32
- data/lib/aspose_slides_cloud/models/slide_replace_result.rb +10 -146
- data/lib/aspose_slides_cloud/models/slides.rb +10 -32
- data/lib/aspose_slides_cloud/models/smart_art.rb +12 -210
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +2 -2
- data/lib/aspose_slides_cloud/models/smart_art_shape.rb +11 -209
- data/lib/aspose_slides_cloud/models/soft_edge_effect.rb +2 -2
- data/lib/aspose_slides_cloud/models/solid_fill.rb +11 -40
- data/lib/aspose_slides_cloud/models/split_document_result.rb +10 -32
- data/lib/aspose_slides_cloud/models/storage_exist.rb +2 -2
- data/lib/aspose_slides_cloud/models/storage_file.rb +2 -2
- data/lib/aspose_slides_cloud/models/svg_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/swf_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/table.rb +12 -210
- data/lib/aspose_slides_cloud/models/table_cell.rb +2 -2
- data/lib/aspose_slides_cloud/models/table_column.rb +2 -2
- data/lib/aspose_slides_cloud/models/table_row.rb +2 -2
- data/lib/aspose_slides_cloud/models/task.rb +2 -2
- data/lib/aspose_slides_cloud/models/text_item.rb +2 -2
- data/lib/aspose_slides_cloud/models/text_items.rb +10 -32
- data/lib/aspose_slides_cloud/models/theme.rb +10 -32
- data/lib/aspose_slides_cloud/models/tiff_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/models/update_background.rb +11 -40
- data/lib/aspose_slides_cloud/models/update_shape.rb +11 -40
- data/lib/aspose_slides_cloud/models/video_frame.rb +12 -236
- data/lib/aspose_slides_cloud/models/view_properties.rb +10 -32
- data/lib/aspose_slides_cloud/models/waterfall_series.rb +11 -216
- data/lib/aspose_slides_cloud/models/xps_export_options.rb +13 -24
- data/lib/aspose_slides_cloud/type_registry.rb +313 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +1417 -63
- data/spec/extra/extra_spec.rb +66 -33
- data/testRules.json +31 -0
- metadata +4 -2
|
@@ -24,51 +24,28 @@ require 'date'
|
|
|
24
24
|
|
|
25
25
|
module AsposeSlidesCloud
|
|
26
26
|
# Represents comments collection of slide
|
|
27
|
-
class SlideComments
|
|
28
|
-
# Gets or sets the link to this resource.
|
|
29
|
-
attr_accessor :self_uri
|
|
30
|
-
|
|
31
|
-
# List of alternate links.
|
|
32
|
-
attr_accessor :alternate_links
|
|
33
|
-
|
|
27
|
+
class SlideComments < ResourceBase
|
|
34
28
|
# Slide comment list.
|
|
35
29
|
attr_accessor :list
|
|
36
30
|
|
|
37
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
32
|
def self.attribute_map
|
|
39
|
-
{
|
|
40
|
-
:'
|
|
41
|
-
|
|
42
|
-
:'list' => :'List'
|
|
43
|
-
}
|
|
33
|
+
super.merge({
|
|
34
|
+
:'list' => :'List',
|
|
35
|
+
})
|
|
44
36
|
end
|
|
45
37
|
|
|
46
38
|
# Attribute type mapping.
|
|
47
39
|
def self.swagger_types
|
|
48
|
-
{
|
|
49
|
-
:'
|
|
50
|
-
|
|
51
|
-
:'list' => :'Array<SlideComment>'
|
|
52
|
-
}
|
|
40
|
+
super.merge({
|
|
41
|
+
:'list' => :'Array<SlideComment>',
|
|
42
|
+
})
|
|
53
43
|
end
|
|
54
44
|
|
|
55
45
|
# Initializes the object
|
|
56
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
57
47
|
def initialize(attributes = {})
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# convert string to symbol for hash key
|
|
61
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
62
|
-
|
|
63
|
-
if attributes.has_key?(:'SelfUri')
|
|
64
|
-
self.self_uri = attributes[:'SelfUri']
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
if attributes.has_key?(:'AlternateLinks')
|
|
68
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
|
69
|
-
self.alternate_links = value
|
|
70
|
-
end
|
|
71
|
-
end
|
|
48
|
+
super
|
|
72
49
|
|
|
73
50
|
if attributes.has_key?(:'List')
|
|
74
51
|
if (value = attributes[:'List']).is_a?(Array)
|
|
@@ -80,13 +57,14 @@ module AsposeSlidesCloud
|
|
|
80
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
81
58
|
# @return Array for valid properties with the reasons
|
|
82
59
|
def list_invalid_properties
|
|
83
|
-
invalid_properties =
|
|
60
|
+
invalid_properties = super
|
|
84
61
|
invalid_properties
|
|
85
62
|
end
|
|
86
63
|
|
|
87
64
|
# Check to see if the all the properties in the model are valid
|
|
88
65
|
# @return true if the model is valid
|
|
89
66
|
def valid?
|
|
67
|
+
return false if !super
|
|
90
68
|
true
|
|
91
69
|
end
|
|
92
70
|
|
|
@@ -24,150 +24,28 @@ require 'date'
|
|
|
24
24
|
|
|
25
25
|
module AsposeSlidesCloud
|
|
26
26
|
# Represents slide replace result DTO.
|
|
27
|
-
class SlideReplaceResult
|
|
28
|
-
# Gets or sets the link to this resource.
|
|
29
|
-
attr_accessor :self_uri
|
|
30
|
-
|
|
31
|
-
# List of alternate links.
|
|
32
|
-
attr_accessor :alternate_links
|
|
33
|
-
|
|
34
|
-
# Gets or sets the width.
|
|
35
|
-
attr_accessor :width
|
|
36
|
-
|
|
37
|
-
# Gets or sets the height.
|
|
38
|
-
attr_accessor :height
|
|
39
|
-
|
|
40
|
-
# Specifies if shapes of the master slide should be shown on the slide. True by default.
|
|
41
|
-
attr_accessor :show_master_shapes
|
|
42
|
-
|
|
43
|
-
# Gets or sets the link to the layout slide.
|
|
44
|
-
attr_accessor :layout_slide
|
|
45
|
-
|
|
46
|
-
# Gets or sets the link to list of top-level shapes.
|
|
47
|
-
attr_accessor :shapes
|
|
48
|
-
|
|
49
|
-
# Gets or sets the link to theme.
|
|
50
|
-
attr_accessor :theme
|
|
51
|
-
|
|
52
|
-
# Gets or sets the link to placeholders.
|
|
53
|
-
attr_accessor :placeholders
|
|
54
|
-
|
|
55
|
-
# Gets or sets the link to images.
|
|
56
|
-
attr_accessor :images
|
|
57
|
-
|
|
58
|
-
# Gets or sets the link to comments.
|
|
59
|
-
attr_accessor :comments
|
|
60
|
-
|
|
61
|
-
# Get or sets the link to slide's background
|
|
62
|
-
attr_accessor :background
|
|
63
|
-
|
|
64
|
-
# Get or sets the link to notes slide.
|
|
65
|
-
attr_accessor :notes_slide
|
|
66
|
-
|
|
27
|
+
class SlideReplaceResult < Slide
|
|
67
28
|
# Gets or sets the number of matches
|
|
68
29
|
attr_accessor :matches
|
|
69
30
|
|
|
70
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
71
32
|
def self.attribute_map
|
|
72
|
-
{
|
|
73
|
-
:'
|
|
74
|
-
|
|
75
|
-
:'width' => :'Width',
|
|
76
|
-
:'height' => :'Height',
|
|
77
|
-
:'show_master_shapes' => :'ShowMasterShapes',
|
|
78
|
-
:'layout_slide' => :'LayoutSlide',
|
|
79
|
-
:'shapes' => :'Shapes',
|
|
80
|
-
:'theme' => :'Theme',
|
|
81
|
-
:'placeholders' => :'Placeholders',
|
|
82
|
-
:'images' => :'Images',
|
|
83
|
-
:'comments' => :'Comments',
|
|
84
|
-
:'background' => :'Background',
|
|
85
|
-
:'notes_slide' => :'NotesSlide',
|
|
86
|
-
:'matches' => :'Matches'
|
|
87
|
-
}
|
|
33
|
+
super.merge({
|
|
34
|
+
:'matches' => :'Matches',
|
|
35
|
+
})
|
|
88
36
|
end
|
|
89
37
|
|
|
90
38
|
# Attribute type mapping.
|
|
91
39
|
def self.swagger_types
|
|
92
|
-
{
|
|
93
|
-
:'
|
|
94
|
-
|
|
95
|
-
:'width' => :'Float',
|
|
96
|
-
:'height' => :'Float',
|
|
97
|
-
:'show_master_shapes' => :'BOOLEAN',
|
|
98
|
-
:'layout_slide' => :'ResourceUriElement',
|
|
99
|
-
:'shapes' => :'ResourceUriElement',
|
|
100
|
-
:'theme' => :'ResourceUriElement',
|
|
101
|
-
:'placeholders' => :'ResourceUriElement',
|
|
102
|
-
:'images' => :'ResourceUriElement',
|
|
103
|
-
:'comments' => :'ResourceUriElement',
|
|
104
|
-
:'background' => :'ResourceUriElement',
|
|
105
|
-
:'notes_slide' => :'ResourceUriElement',
|
|
106
|
-
:'matches' => :'Integer'
|
|
107
|
-
}
|
|
40
|
+
super.merge({
|
|
41
|
+
:'matches' => :'Integer',
|
|
42
|
+
})
|
|
108
43
|
end
|
|
109
44
|
|
|
110
45
|
# Initializes the object
|
|
111
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
112
47
|
def initialize(attributes = {})
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
# convert string to symbol for hash key
|
|
116
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
117
|
-
|
|
118
|
-
if attributes.has_key?(:'SelfUri')
|
|
119
|
-
self.self_uri = attributes[:'SelfUri']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if attributes.has_key?(:'AlternateLinks')
|
|
123
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
|
124
|
-
self.alternate_links = value
|
|
125
|
-
end
|
|
126
|
-
end
|
|
127
|
-
|
|
128
|
-
if attributes.has_key?(:'Width')
|
|
129
|
-
self.width = attributes[:'Width']
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
if attributes.has_key?(:'Height')
|
|
133
|
-
self.height = attributes[:'Height']
|
|
134
|
-
end
|
|
135
|
-
|
|
136
|
-
if attributes.has_key?(:'ShowMasterShapes')
|
|
137
|
-
self.show_master_shapes = attributes[:'ShowMasterShapes']
|
|
138
|
-
end
|
|
139
|
-
|
|
140
|
-
if attributes.has_key?(:'LayoutSlide')
|
|
141
|
-
self.layout_slide = attributes[:'LayoutSlide']
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
if attributes.has_key?(:'Shapes')
|
|
145
|
-
self.shapes = attributes[:'Shapes']
|
|
146
|
-
end
|
|
147
|
-
|
|
148
|
-
if attributes.has_key?(:'Theme')
|
|
149
|
-
self.theme = attributes[:'Theme']
|
|
150
|
-
end
|
|
151
|
-
|
|
152
|
-
if attributes.has_key?(:'Placeholders')
|
|
153
|
-
self.placeholders = attributes[:'Placeholders']
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
if attributes.has_key?(:'Images')
|
|
157
|
-
self.images = attributes[:'Images']
|
|
158
|
-
end
|
|
159
|
-
|
|
160
|
-
if attributes.has_key?(:'Comments')
|
|
161
|
-
self.comments = attributes[:'Comments']
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
if attributes.has_key?(:'Background')
|
|
165
|
-
self.background = attributes[:'Background']
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
if attributes.has_key?(:'NotesSlide')
|
|
169
|
-
self.notes_slide = attributes[:'NotesSlide']
|
|
170
|
-
end
|
|
48
|
+
super
|
|
171
49
|
|
|
172
50
|
if attributes.has_key?(:'Matches')
|
|
173
51
|
self.matches = attributes[:'Matches']
|
|
@@ -177,19 +55,7 @@ module AsposeSlidesCloud
|
|
|
177
55
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
178
56
|
# @return Array for valid properties with the reasons
|
|
179
57
|
def list_invalid_properties
|
|
180
|
-
invalid_properties =
|
|
181
|
-
if @width.nil?
|
|
182
|
-
invalid_properties.push('invalid value for "width", width cannot be nil.')
|
|
183
|
-
end
|
|
184
|
-
|
|
185
|
-
if @height.nil?
|
|
186
|
-
invalid_properties.push('invalid value for "height", height cannot be nil.')
|
|
187
|
-
end
|
|
188
|
-
|
|
189
|
-
if @show_master_shapes.nil?
|
|
190
|
-
invalid_properties.push('invalid value for "show_master_shapes", show_master_shapes cannot be nil.')
|
|
191
|
-
end
|
|
192
|
-
|
|
58
|
+
invalid_properties = super
|
|
193
59
|
if @matches.nil?
|
|
194
60
|
invalid_properties.push('invalid value for "matches", matches cannot be nil.')
|
|
195
61
|
end
|
|
@@ -200,9 +66,7 @@ module AsposeSlidesCloud
|
|
|
200
66
|
# Check to see if the all the properties in the model are valid
|
|
201
67
|
# @return true if the model is valid
|
|
202
68
|
def valid?
|
|
203
|
-
return false if
|
|
204
|
-
return false if @height.nil?
|
|
205
|
-
return false if @show_master_shapes.nil?
|
|
69
|
+
return false if !super
|
|
206
70
|
return false if @matches.nil?
|
|
207
71
|
true
|
|
208
72
|
end
|
|
@@ -24,51 +24,28 @@ require 'date'
|
|
|
24
24
|
|
|
25
25
|
module AsposeSlidesCloud
|
|
26
26
|
# Slide list.
|
|
27
|
-
class Slides
|
|
28
|
-
# Gets or sets the link to this resource.
|
|
29
|
-
attr_accessor :self_uri
|
|
30
|
-
|
|
31
|
-
# List of alternate links.
|
|
32
|
-
attr_accessor :alternate_links
|
|
33
|
-
|
|
27
|
+
class Slides < ResourceBase
|
|
34
28
|
# List of slide links.
|
|
35
29
|
attr_accessor :slide_list
|
|
36
30
|
|
|
37
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
38
32
|
def self.attribute_map
|
|
39
|
-
{
|
|
40
|
-
:'
|
|
41
|
-
|
|
42
|
-
:'slide_list' => :'SlideList'
|
|
43
|
-
}
|
|
33
|
+
super.merge({
|
|
34
|
+
:'slide_list' => :'SlideList',
|
|
35
|
+
})
|
|
44
36
|
end
|
|
45
37
|
|
|
46
38
|
# Attribute type mapping.
|
|
47
39
|
def self.swagger_types
|
|
48
|
-
{
|
|
49
|
-
:'
|
|
50
|
-
|
|
51
|
-
:'slide_list' => :'Array<ResourceUriElement>'
|
|
52
|
-
}
|
|
40
|
+
super.merge({
|
|
41
|
+
:'slide_list' => :'Array<ResourceUriElement>',
|
|
42
|
+
})
|
|
53
43
|
end
|
|
54
44
|
|
|
55
45
|
# Initializes the object
|
|
56
46
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
57
47
|
def initialize(attributes = {})
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
# convert string to symbol for hash key
|
|
61
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
62
|
-
|
|
63
|
-
if attributes.has_key?(:'SelfUri')
|
|
64
|
-
self.self_uri = attributes[:'SelfUri']
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
if attributes.has_key?(:'AlternateLinks')
|
|
68
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
|
69
|
-
self.alternate_links = value
|
|
70
|
-
end
|
|
71
|
-
end
|
|
48
|
+
super
|
|
72
49
|
|
|
73
50
|
if attributes.has_key?(:'SlideList')
|
|
74
51
|
if (value = attributes[:'SlideList']).is_a?(Array)
|
|
@@ -80,13 +57,14 @@ module AsposeSlidesCloud
|
|
|
80
57
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
81
58
|
# @return Array for valid properties with the reasons
|
|
82
59
|
def list_invalid_properties
|
|
83
|
-
invalid_properties =
|
|
60
|
+
invalid_properties = super
|
|
84
61
|
invalid_properties
|
|
85
62
|
end
|
|
86
63
|
|
|
87
64
|
# Check to see if the all the properties in the model are valid
|
|
88
65
|
# @return true if the model is valid
|
|
89
66
|
def valid?
|
|
67
|
+
return false if !super
|
|
90
68
|
true
|
|
91
69
|
end
|
|
92
70
|
|
|
@@ -24,58 +24,7 @@ require 'date'
|
|
|
24
24
|
|
|
25
25
|
module AsposeSlidesCloud
|
|
26
26
|
# Represents SmartArt shape resource.
|
|
27
|
-
class SmartArt
|
|
28
|
-
# Gets or sets the link to this resource.
|
|
29
|
-
attr_accessor :self_uri
|
|
30
|
-
|
|
31
|
-
# List of alternate links.
|
|
32
|
-
attr_accessor :alternate_links
|
|
33
|
-
|
|
34
|
-
# Gets or sets the name.
|
|
35
|
-
attr_accessor :name
|
|
36
|
-
|
|
37
|
-
# Gets or sets the width.
|
|
38
|
-
attr_accessor :width
|
|
39
|
-
|
|
40
|
-
# Gets or sets the height.
|
|
41
|
-
attr_accessor :height
|
|
42
|
-
|
|
43
|
-
# Gets or sets the alternative text.
|
|
44
|
-
attr_accessor :alternative_text
|
|
45
|
-
|
|
46
|
-
# The title of alternative text associated with the shape.
|
|
47
|
-
attr_accessor :alternative_text_title
|
|
48
|
-
|
|
49
|
-
# Gets or sets a value indicating whether this ShapeBase is hidden.
|
|
50
|
-
attr_accessor :hidden
|
|
51
|
-
|
|
52
|
-
# Gets or sets the X
|
|
53
|
-
attr_accessor :x
|
|
54
|
-
|
|
55
|
-
# Gets or sets the Y.
|
|
56
|
-
attr_accessor :y
|
|
57
|
-
|
|
58
|
-
# Gets z-order position of shape
|
|
59
|
-
attr_accessor :z_order_position
|
|
60
|
-
|
|
61
|
-
# Gets or sets the link to shapes.
|
|
62
|
-
attr_accessor :shapes
|
|
63
|
-
|
|
64
|
-
# Gets or sets the fill format.
|
|
65
|
-
attr_accessor :fill_format
|
|
66
|
-
|
|
67
|
-
# Gets or sets the effect format.
|
|
68
|
-
attr_accessor :effect_format
|
|
69
|
-
|
|
70
|
-
# Gets or sets the line format.
|
|
71
|
-
attr_accessor :line_format
|
|
72
|
-
|
|
73
|
-
# Shape type.
|
|
74
|
-
attr_accessor :type
|
|
75
|
-
|
|
76
|
-
# Combined shape type.
|
|
77
|
-
attr_accessor :shape_type
|
|
78
|
-
|
|
27
|
+
class SmartArt < ShapeBase
|
|
79
28
|
# Layout type.
|
|
80
29
|
attr_accessor :layout
|
|
81
30
|
|
|
@@ -115,141 +64,30 @@ module AsposeSlidesCloud
|
|
|
115
64
|
|
|
116
65
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
117
66
|
def self.attribute_map
|
|
118
|
-
{
|
|
119
|
-
:'self_uri' => :'SelfUri',
|
|
120
|
-
:'alternate_links' => :'AlternateLinks',
|
|
121
|
-
:'name' => :'Name',
|
|
122
|
-
:'width' => :'Width',
|
|
123
|
-
:'height' => :'Height',
|
|
124
|
-
:'alternative_text' => :'AlternativeText',
|
|
125
|
-
:'alternative_text_title' => :'AlternativeTextTitle',
|
|
126
|
-
:'hidden' => :'Hidden',
|
|
127
|
-
:'x' => :'X',
|
|
128
|
-
:'y' => :'Y',
|
|
129
|
-
:'z_order_position' => :'ZOrderPosition',
|
|
130
|
-
:'shapes' => :'Shapes',
|
|
131
|
-
:'fill_format' => :'FillFormat',
|
|
132
|
-
:'effect_format' => :'EffectFormat',
|
|
133
|
-
:'line_format' => :'LineFormat',
|
|
134
|
-
:'type' => :'Type',
|
|
135
|
-
:'shape_type' => :'ShapeType',
|
|
67
|
+
super.merge({
|
|
136
68
|
:'layout' => :'Layout',
|
|
137
69
|
:'quick_style' => :'QuickStyle',
|
|
138
70
|
:'color_style' => :'ColorStyle',
|
|
139
71
|
:'nodes' => :'Nodes',
|
|
140
|
-
:'is_reversed' => :'IsReversed'
|
|
141
|
-
}
|
|
72
|
+
:'is_reversed' => :'IsReversed',
|
|
73
|
+
})
|
|
142
74
|
end
|
|
143
75
|
|
|
144
76
|
# Attribute type mapping.
|
|
145
77
|
def self.swagger_types
|
|
146
|
-
{
|
|
147
|
-
:'self_uri' => :'ResourceUri',
|
|
148
|
-
:'alternate_links' => :'Array<ResourceUri>',
|
|
149
|
-
:'name' => :'String',
|
|
150
|
-
:'width' => :'Float',
|
|
151
|
-
:'height' => :'Float',
|
|
152
|
-
:'alternative_text' => :'String',
|
|
153
|
-
:'alternative_text_title' => :'String',
|
|
154
|
-
:'hidden' => :'BOOLEAN',
|
|
155
|
-
:'x' => :'Float',
|
|
156
|
-
:'y' => :'Float',
|
|
157
|
-
:'z_order_position' => :'Integer',
|
|
158
|
-
:'shapes' => :'ResourceUriElement',
|
|
159
|
-
:'fill_format' => :'FillFormat',
|
|
160
|
-
:'effect_format' => :'EffectFormat',
|
|
161
|
-
:'line_format' => :'LineFormat',
|
|
162
|
-
:'type' => :'String',
|
|
163
|
-
:'shape_type' => :'String',
|
|
78
|
+
super.merge({
|
|
164
79
|
:'layout' => :'String',
|
|
165
80
|
:'quick_style' => :'String',
|
|
166
81
|
:'color_style' => :'String',
|
|
167
82
|
:'nodes' => :'Array<SmartArtNode>',
|
|
168
|
-
:'is_reversed' => :'BOOLEAN'
|
|
169
|
-
}
|
|
83
|
+
:'is_reversed' => :'BOOLEAN',
|
|
84
|
+
})
|
|
170
85
|
end
|
|
171
86
|
|
|
172
87
|
# Initializes the object
|
|
173
88
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
174
89
|
def initialize(attributes = {})
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
# convert string to symbol for hash key
|
|
178
|
-
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
|
179
|
-
|
|
180
|
-
if attributes.has_key?(:'SelfUri')
|
|
181
|
-
self.self_uri = attributes[:'SelfUri']
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
if attributes.has_key?(:'AlternateLinks')
|
|
185
|
-
if (value = attributes[:'AlternateLinks']).is_a?(Array)
|
|
186
|
-
self.alternate_links = value
|
|
187
|
-
end
|
|
188
|
-
end
|
|
189
|
-
|
|
190
|
-
if attributes.has_key?(:'Name')
|
|
191
|
-
self.name = attributes[:'Name']
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
if attributes.has_key?(:'Width')
|
|
195
|
-
self.width = attributes[:'Width']
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
if attributes.has_key?(:'Height')
|
|
199
|
-
self.height = attributes[:'Height']
|
|
200
|
-
end
|
|
201
|
-
|
|
202
|
-
if attributes.has_key?(:'AlternativeText')
|
|
203
|
-
self.alternative_text = attributes[:'AlternativeText']
|
|
204
|
-
end
|
|
205
|
-
|
|
206
|
-
if attributes.has_key?(:'AlternativeTextTitle')
|
|
207
|
-
self.alternative_text_title = attributes[:'AlternativeTextTitle']
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
if attributes.has_key?(:'Hidden')
|
|
211
|
-
self.hidden = attributes[:'Hidden']
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
if attributes.has_key?(:'X')
|
|
215
|
-
self.x = attributes[:'X']
|
|
216
|
-
end
|
|
217
|
-
|
|
218
|
-
if attributes.has_key?(:'Y')
|
|
219
|
-
self.y = attributes[:'Y']
|
|
220
|
-
end
|
|
221
|
-
|
|
222
|
-
if attributes.has_key?(:'ZOrderPosition')
|
|
223
|
-
self.z_order_position = attributes[:'ZOrderPosition']
|
|
224
|
-
end
|
|
225
|
-
|
|
226
|
-
if attributes.has_key?(:'Shapes')
|
|
227
|
-
self.shapes = attributes[:'Shapes']
|
|
228
|
-
end
|
|
229
|
-
|
|
230
|
-
if attributes.has_key?(:'FillFormat')
|
|
231
|
-
self.fill_format = attributes[:'FillFormat']
|
|
232
|
-
end
|
|
233
|
-
|
|
234
|
-
if attributes.has_key?(:'EffectFormat')
|
|
235
|
-
self.effect_format = attributes[:'EffectFormat']
|
|
236
|
-
end
|
|
237
|
-
|
|
238
|
-
if attributes.has_key?(:'LineFormat')
|
|
239
|
-
self.line_format = attributes[:'LineFormat']
|
|
240
|
-
end
|
|
241
|
-
|
|
242
|
-
if attributes.has_key?(:'Type')
|
|
243
|
-
self.type = attributes[:'Type']
|
|
244
|
-
else
|
|
245
|
-
self.type = "SmartArt"
|
|
246
|
-
end
|
|
247
|
-
|
|
248
|
-
if attributes.has_key?(:'ShapeType')
|
|
249
|
-
self.shape_type = attributes[:'ShapeType']
|
|
250
|
-
else
|
|
251
|
-
self.shape_type = "Diagram"
|
|
252
|
-
end
|
|
90
|
+
super
|
|
253
91
|
|
|
254
92
|
if attributes.has_key?(:'Layout')
|
|
255
93
|
self.layout = attributes[:'Layout']
|
|
@@ -272,24 +110,14 @@ module AsposeSlidesCloud
|
|
|
272
110
|
if attributes.has_key?(:'IsReversed')
|
|
273
111
|
self.is_reversed = attributes[:'IsReversed']
|
|
274
112
|
end
|
|
113
|
+
self.type = "SmartArt"
|
|
114
|
+
self.shape_type = "Diagram"
|
|
275
115
|
end
|
|
276
116
|
|
|
277
117
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
278
118
|
# @return Array for valid properties with the reasons
|
|
279
119
|
def list_invalid_properties
|
|
280
|
-
invalid_properties =
|
|
281
|
-
if @z_order_position.nil?
|
|
282
|
-
invalid_properties.push('invalid value for "z_order_position", z_order_position cannot be nil.')
|
|
283
|
-
end
|
|
284
|
-
|
|
285
|
-
if @type.nil?
|
|
286
|
-
invalid_properties.push('invalid value for "type", type cannot be nil.')
|
|
287
|
-
end
|
|
288
|
-
|
|
289
|
-
if @shape_type.nil?
|
|
290
|
-
invalid_properties.push('invalid value for "shape_type", shape_type cannot be nil.')
|
|
291
|
-
end
|
|
292
|
-
|
|
120
|
+
invalid_properties = super
|
|
293
121
|
if @layout.nil?
|
|
294
122
|
invalid_properties.push('invalid value for "layout", layout cannot be nil.')
|
|
295
123
|
end
|
|
@@ -312,13 +140,7 @@ module AsposeSlidesCloud
|
|
|
312
140
|
# Check to see if the all the properties in the model are valid
|
|
313
141
|
# @return true if the model is valid
|
|
314
142
|
def valid?
|
|
315
|
-
return false if
|
|
316
|
-
return false if @type.nil?
|
|
317
|
-
type_validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape'])
|
|
318
|
-
return false unless type_validator.valid?(@type)
|
|
319
|
-
return false if @shape_type.nil?
|
|
320
|
-
shape_type_validator = EnumAttributeValidator.new('String', ['Custom', 'Line', 'LineInverse', 'Triangle', 'RightTriangle', 'Rectangle', 'Diamond', 'Parallelogram', 'Trapezoid', 'NonIsoscelesTrapezoid', 'Pentagon', 'Hexagon', 'Heptagon', 'Octagon', 'Decagon', 'Dodecagon', 'FourPointedStar', 'FivePointedStar', 'SixPointedStar', 'SevenPointedStar', 'EightPointedStar', 'TenPointedStar', 'TwelvePointedStar', 'SixteenPointedStar', 'TwentyFourPointedStar', 'ThirtyTwoPointedStar', 'RoundCornerRectangle', 'OneRoundCornerRectangle', 'TwoSamesideRoundCornerRectangle', 'TwoDiagonalRoundCornerRectangle', 'OneSnipOneRoundCornerRectangle', 'OneSnipCornerRectangle', 'TwoSamesideSnipCornerRectangle', 'TwoDiagonalSnipCornerRectangle', 'Plaque', 'Ellipse', 'Teardrop', 'HomePlate', 'Chevron', 'PieWedge', 'Pie', 'BlockArc', 'Donut', 'NoSmoking', 'RightArrow', 'LeftArrow', 'UpArrow', 'DownArrow', 'StripedRightArrow', 'NotchedRightArrow', 'BentUpArrow', 'LeftRightArrow', 'UpDownArrow', 'LeftUpArrow', 'LeftRightUpArrow', 'QuadArrow', 'CalloutLeftArrow', 'CalloutRightArrow', 'CalloutUpArrow', 'CalloutDownArrow', 'CalloutLeftRightArrow', 'CalloutUpDownArrow', 'CalloutQuadArrow', 'BentArrow', 'UTurnArrow', 'CircularArrow', 'LeftCircularArrow', 'LeftRightCircularArrow', 'CurvedRightArrow', 'CurvedLeftArrow', 'CurvedUpArrow', 'CurvedDownArrow', 'SwooshArrow', 'Cube', 'Can', 'LightningBolt', 'Heart', 'Sun', 'Moon', 'SmileyFace', 'IrregularSeal1', 'IrregularSeal2', 'FoldedCorner', 'Bevel', 'Frame', 'HalfFrame', 'Corner', 'DiagonalStripe', 'Chord', 'CurvedArc', 'LeftBracket', 'RightBracket', 'LeftBrace', 'RightBrace', 'BracketPair', 'BracePair', 'StraightConnector1', 'BentConnector2', 'BentConnector3', 'BentConnector4', 'BentConnector5', 'CurvedConnector2', 'CurvedConnector3', 'CurvedConnector4', 'CurvedConnector5', 'Callout1', 'Callout2', 'Callout3', 'Callout1WithAccent', 'Callout2WithAccent', 'Callout3WithAccent', 'Callout1WithBorder', 'Callout2WithBorder', 'Callout3WithBorder', 'Callout1WithBorderAndAccent', 'Callout2WithBorderAndAccent', 'Callout3WithBorderAndAccent', 'CalloutWedgeRectangle', 'CalloutWedgeRoundRectangle', 'CalloutWedgeEllipse', 'CalloutCloud', 'Cloud', 'Ribbon', 'Ribbon2', 'EllipseRibbon', 'EllipseRibbon2', 'LeftRightRibbon', 'VerticalScroll', 'HorizontalScroll', 'Wave', 'DoubleWave', 'Plus', 'ProcessFlow', 'DecisionFlow', 'InputOutputFlow', 'PredefinedProcessFlow', 'InternalStorageFlow', 'DocumentFlow', 'MultiDocumentFlow', 'TerminatorFlow', 'PreparationFlow', 'ManualInputFlow', 'ManualOperationFlow', 'ConnectorFlow', 'PunchedCardFlow', 'PunchedTapeFlow', 'SummingJunctionFlow', 'OrFlow', 'CollateFlow', 'SortFlow', 'ExtractFlow', 'MergeFlow', 'OfflineStorageFlow', 'OnlineStorageFlow', 'MagneticTapeFlow', 'MagneticDiskFlow', 'MagneticDrumFlow', 'DisplayFlow', 'DelayFlow', 'AlternateProcessFlow', 'OffPageConnectorFlow', 'BlankButton', 'HomeButton', 'HelpButton', 'InformationButton', 'ForwardOrNextButton', 'BackOrPreviousButton', 'EndButton', 'BeginningButton', 'ReturnButton', 'DocumentButton', 'SoundButton', 'MovieButton', 'Gear6', 'Gear9', 'Funnel', 'PlusMath', 'MinusMath', 'MultiplyMath', 'DivideMath', 'EqualMath', 'NotEqualMath', 'CornerTabs', 'SquareTabs', 'PlaqueTabs', 'ChartX', 'ChartStar', 'ChartPlus', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'Diagram', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'NotDefined'])
|
|
321
|
-
return false unless shape_type_validator.valid?(@shape_type)
|
|
143
|
+
return false if !super
|
|
322
144
|
return false if @layout.nil?
|
|
323
145
|
layout_validator = EnumAttributeValidator.new('String', ['AccentProcess', 'AccentedPicture', 'AlternatingFlow', 'AlternatingHexagons', 'AlternatingPictureBlocks', 'AlternatingPictureCircles', 'ArrowRibbon', 'AscendingPictureAccentProcess', 'Balance', 'BasicBendingProcess', 'BasicBlockList', 'BasicChevronProcess', 'BasicCycle', 'BasicMatrix', 'BasicPie', 'BasicProcess', 'BasicPyramid', 'BasicRadial', 'BasicTarget', 'BasicTimeline', 'BasicVenn', 'BendingPictureAccentList', 'BendingPictureBlocks', 'BendingPictureCaption', 'BendingPictureCaptionList', 'BendingPictureSemiTransparentText', 'BlockCycle', 'BubblePictureList', 'CaptionedPictures', 'ChevronList', 'CircleAccentTimeline', 'CircleArrowProcess', 'CirclePictureHierarchy', 'CircleRelationship', 'CircularBendingProcess', 'CircularPictureCallout', 'ClosedChevronProcess', 'ContinuousArrowProcess', 'ContinuousBlockProcess', 'ContinuousCycle', 'ContinuousPictureList', 'ConvergingArrows', 'ConvergingRadial', 'CounterbalanceArrows', 'CycleMatrix', 'DescendingBlockList', 'DescendingProcess', 'DetailedProcess', 'DivergingArrows', 'DivergingRadial', 'Equation', 'FramedTextPicture', 'Funnel', 'Gear', 'GridMatrix', 'GroupedList', 'HalfCircleOrganizationChart', 'HexagonCluster', 'Hierarchy', 'HierarchyList', 'HorizontalBulletList', 'HorizontalHierarchy', 'HorizontalLabeledHierarchy', 'HorizontalMultiLevelHierarchy', 'HorizontalOrganizationChart', 'HorizontalPictureList', 'IncreasingArrowsProcess', 'IncreasingCircleProcess', 'InvertedPyramid', 'LabeledHierarchy', 'LinearVenn', 'LinedList', 'MultidirectionalCycle', 'NameandTitleOrganizationChart', 'NestedTarget', 'NondirectionalCycle', 'OpposingArrows', 'OpposingIdeas', 'OrganizationChart', 'PhasedProcess', 'PictureAccentBlocks', 'PictureAccentList', 'PictureAccentProcess', 'PictureCaptionList', 'PictureGrid', 'PictureLineup', 'PictureStrips', 'PieProcess', 'PlusandMinus', 'ProcessArrows', 'ProcessList', 'PyramidList', 'RadialCluster', 'RadialCycle', 'RadialList', 'RadialVenn', 'RandomToResultProcess', 'RepeatingBendingProcess', 'ReverseList', 'SegmentedCycle', 'SegmentedProcess', 'SegmentedPyramid', 'SnapshotPictureList', 'SpiralPicture', 'SquareAccentList', 'StackedList', 'StackedVenn', 'StaggeredProcess', 'StepDownProcess', 'StepUpProcess', 'SubStepProcess', 'TableHierarchy', 'TableList', 'TargetList', 'TextCycle', 'TitlePictureLineup', 'TitledMatrix', 'TitledPictureAccentList', 'TitledPictureBlocks', 'TrapezoidList', 'UpwardArrow', 'VerticalAccentList', 'VerticalArrowList', 'VerticalBendingProcess', 'VerticalBlockList', 'VerticalBoxList', 'VerticalBulletList', 'VerticalChevronList', 'VerticalCircleList', 'VerticalCurvedList', 'VerticalEquation', 'VerticalPictureAccentList', 'VerticalPictureList', 'VerticalProcess', 'Custom', 'PictureOrganizationChart'])
|
|
324
146
|
return false unless layout_validator.valid?(@layout)
|
|
@@ -332,26 +154,6 @@ module AsposeSlidesCloud
|
|
|
332
154
|
true
|
|
333
155
|
end
|
|
334
156
|
|
|
335
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
336
|
-
# @param [Object] type Object to be assigned
|
|
337
|
-
def type=(type)
|
|
338
|
-
validator = EnumAttributeValidator.new('String', ['Shape', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'SmartArt', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'Connector', 'SmartArtShape'])
|
|
339
|
-
unless validator.valid?(type)
|
|
340
|
-
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
|
341
|
-
end
|
|
342
|
-
@type = type
|
|
343
|
-
end
|
|
344
|
-
|
|
345
|
-
# Custom attribute writer method checking allowed values (enum).
|
|
346
|
-
# @param [Object] shape_type Object to be assigned
|
|
347
|
-
def shape_type=(shape_type)
|
|
348
|
-
validator = EnumAttributeValidator.new('String', ['Custom', 'Line', 'LineInverse', 'Triangle', 'RightTriangle', 'Rectangle', 'Diamond', 'Parallelogram', 'Trapezoid', 'NonIsoscelesTrapezoid', 'Pentagon', 'Hexagon', 'Heptagon', 'Octagon', 'Decagon', 'Dodecagon', 'FourPointedStar', 'FivePointedStar', 'SixPointedStar', 'SevenPointedStar', 'EightPointedStar', 'TenPointedStar', 'TwelvePointedStar', 'SixteenPointedStar', 'TwentyFourPointedStar', 'ThirtyTwoPointedStar', 'RoundCornerRectangle', 'OneRoundCornerRectangle', 'TwoSamesideRoundCornerRectangle', 'TwoDiagonalRoundCornerRectangle', 'OneSnipOneRoundCornerRectangle', 'OneSnipCornerRectangle', 'TwoSamesideSnipCornerRectangle', 'TwoDiagonalSnipCornerRectangle', 'Plaque', 'Ellipse', 'Teardrop', 'HomePlate', 'Chevron', 'PieWedge', 'Pie', 'BlockArc', 'Donut', 'NoSmoking', 'RightArrow', 'LeftArrow', 'UpArrow', 'DownArrow', 'StripedRightArrow', 'NotchedRightArrow', 'BentUpArrow', 'LeftRightArrow', 'UpDownArrow', 'LeftUpArrow', 'LeftRightUpArrow', 'QuadArrow', 'CalloutLeftArrow', 'CalloutRightArrow', 'CalloutUpArrow', 'CalloutDownArrow', 'CalloutLeftRightArrow', 'CalloutUpDownArrow', 'CalloutQuadArrow', 'BentArrow', 'UTurnArrow', 'CircularArrow', 'LeftCircularArrow', 'LeftRightCircularArrow', 'CurvedRightArrow', 'CurvedLeftArrow', 'CurvedUpArrow', 'CurvedDownArrow', 'SwooshArrow', 'Cube', 'Can', 'LightningBolt', 'Heart', 'Sun', 'Moon', 'SmileyFace', 'IrregularSeal1', 'IrregularSeal2', 'FoldedCorner', 'Bevel', 'Frame', 'HalfFrame', 'Corner', 'DiagonalStripe', 'Chord', 'CurvedArc', 'LeftBracket', 'RightBracket', 'LeftBrace', 'RightBrace', 'BracketPair', 'BracePair', 'StraightConnector1', 'BentConnector2', 'BentConnector3', 'BentConnector4', 'BentConnector5', 'CurvedConnector2', 'CurvedConnector3', 'CurvedConnector4', 'CurvedConnector5', 'Callout1', 'Callout2', 'Callout3', 'Callout1WithAccent', 'Callout2WithAccent', 'Callout3WithAccent', 'Callout1WithBorder', 'Callout2WithBorder', 'Callout3WithBorder', 'Callout1WithBorderAndAccent', 'Callout2WithBorderAndAccent', 'Callout3WithBorderAndAccent', 'CalloutWedgeRectangle', 'CalloutWedgeRoundRectangle', 'CalloutWedgeEllipse', 'CalloutCloud', 'Cloud', 'Ribbon', 'Ribbon2', 'EllipseRibbon', 'EllipseRibbon2', 'LeftRightRibbon', 'VerticalScroll', 'HorizontalScroll', 'Wave', 'DoubleWave', 'Plus', 'ProcessFlow', 'DecisionFlow', 'InputOutputFlow', 'PredefinedProcessFlow', 'InternalStorageFlow', 'DocumentFlow', 'MultiDocumentFlow', 'TerminatorFlow', 'PreparationFlow', 'ManualInputFlow', 'ManualOperationFlow', 'ConnectorFlow', 'PunchedCardFlow', 'PunchedTapeFlow', 'SummingJunctionFlow', 'OrFlow', 'CollateFlow', 'SortFlow', 'ExtractFlow', 'MergeFlow', 'OfflineStorageFlow', 'OnlineStorageFlow', 'MagneticTapeFlow', 'MagneticDiskFlow', 'MagneticDrumFlow', 'DisplayFlow', 'DelayFlow', 'AlternateProcessFlow', 'OffPageConnectorFlow', 'BlankButton', 'HomeButton', 'HelpButton', 'InformationButton', 'ForwardOrNextButton', 'BackOrPreviousButton', 'EndButton', 'BeginningButton', 'ReturnButton', 'DocumentButton', 'SoundButton', 'MovieButton', 'Gear6', 'Gear9', 'Funnel', 'PlusMath', 'MinusMath', 'MultiplyMath', 'DivideMath', 'EqualMath', 'NotEqualMath', 'CornerTabs', 'SquareTabs', 'PlaqueTabs', 'ChartX', 'ChartStar', 'ChartPlus', 'Chart', 'Table', 'PictureFrame', 'VideoFrame', 'AudioFrame', 'Diagram', 'OleObjectFrame', 'GroupShape', 'GraphicalObject', 'NotDefined'])
|
|
349
|
-
unless validator.valid?(shape_type)
|
|
350
|
-
fail ArgumentError, 'invalid value for "shape_type", must be one of #{validator.allowable_values}.'
|
|
351
|
-
end
|
|
352
|
-
@shape_type = shape_type
|
|
353
|
-
end
|
|
354
|
-
|
|
355
157
|
# Custom attribute writer method checking allowed values (enum).
|
|
356
158
|
# @param [Object] layout Object to be assigned
|
|
357
159
|
def layout=(layout)
|