aspose_slides_cloud 25.10.0 → 26.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 +11 -11
- data/README.md +12 -5
- data/aspose_slides_cloud.gemspec +1 -1
- data/lib/aspose_slides_cloud/api/slides_api.rb +204 -6
- data/lib/aspose_slides_cloud/configuration.rb +12 -4
- data/lib/aspose_slides_cloud/models/math_element.rb +2 -2
- data/lib/aspose_slides_cloud/models/phantom_element.rb +141 -0
- data/lib/aspose_slides_cloud/models/portion.rb +11 -1
- data/lib/aspose_slides_cloud/models/portion_format.rb +12 -2
- data/lib/aspose_slides_cloud/models/pptx_export_options.rb +23 -1
- data/lib/aspose_slides_cloud/models/slide_show_transition.rb +12 -2
- data/lib/aspose_slides_cloud/models/smart_art.rb +12 -2
- data/lib/aspose_slides_cloud/models/smart_art_node.rb +12 -2
- data/lib/aspose_slides_cloud/type_registry.rb +2 -0
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/lib/aspose_slides_cloud.rb +1 -0
- data/spec/api/slides_api_spec.rb +1017 -21
- data/spec/use_cases/audio_spec.rb +67 -0
- data/spec/use_cases/chart_spec.rb +27 -6
- data/spec/use_cases/convert_spec.rb +281 -0
- data/spec/use_cases/image_spec.rb +20 -0
- data/spec/use_cases/layout_slide_spec.rb +1 -1
- data/spec/use_cases/master_slide_spec.rb +1 -1
- data/spec/use_cases/notes_slide_spec.rb +1 -1
- data/spec/use_cases/nullable_field_spec.rb +1 -1
- data/spec/use_cases/shape_spec.rb +241 -26
- data/spec/use_cases/table_spec.rb +21 -0
- data/spec/use_cases/text_format_spec.rb +2 -2
- data/spec/use_cases/video_spec.rb +67 -0
- data/testRules.json +9 -6
- metadata +10 -3
|
@@ -76,6 +76,9 @@ module AsposeSlidesCloud
|
|
|
76
76
|
# True if numbers should ignore East-Asian specific vertical text layout.
|
|
77
77
|
attr_accessor :kumimoji
|
|
78
78
|
|
|
79
|
+
# true to enable spell checking for the portion.
|
|
80
|
+
attr_accessor :spell_check
|
|
81
|
+
|
|
79
82
|
# Proving language ID.
|
|
80
83
|
attr_accessor :language_id
|
|
81
84
|
|
|
@@ -138,6 +141,7 @@ module AsposeSlidesCloud
|
|
|
138
141
|
:'smart_tag_clean' => :'SmartTagClean',
|
|
139
142
|
:'kerning_minimal_size' => :'KerningMinimalSize',
|
|
140
143
|
:'kumimoji' => :'Kumimoji',
|
|
144
|
+
:'spell_check' => :'SpellCheck',
|
|
141
145
|
:'language_id' => :'LanguageId',
|
|
142
146
|
:'alternative_language_id' => :'AlternativeLanguageId',
|
|
143
147
|
:'is_hard_underline_fill' => :'IsHardUnderlineFill',
|
|
@@ -175,6 +179,7 @@ module AsposeSlidesCloud
|
|
|
175
179
|
:'smart_tag_clean' => :'BOOLEAN',
|
|
176
180
|
:'kerning_minimal_size' => :'Float',
|
|
177
181
|
:'kumimoji' => :'String',
|
|
182
|
+
:'spell_check' => :'BOOLEAN',
|
|
178
183
|
:'language_id' => :'String',
|
|
179
184
|
:'alternative_language_id' => :'String',
|
|
180
185
|
:'is_hard_underline_fill' => :'String',
|
|
@@ -265,6 +270,10 @@ module AsposeSlidesCloud
|
|
|
265
270
|
self.kumimoji = attributes[:'Kumimoji']
|
|
266
271
|
end
|
|
267
272
|
|
|
273
|
+
if attributes.has_key?(:'SpellCheck')
|
|
274
|
+
self.spell_check = attributes[:'SpellCheck']
|
|
275
|
+
end
|
|
276
|
+
|
|
268
277
|
if attributes.has_key?(:'LanguageId')
|
|
269
278
|
self.language_id = attributes[:'LanguageId']
|
|
270
279
|
end
|
|
@@ -480,6 +489,7 @@ module AsposeSlidesCloud
|
|
|
480
489
|
smart_tag_clean == o.smart_tag_clean &&
|
|
481
490
|
kerning_minimal_size == o.kerning_minimal_size &&
|
|
482
491
|
kumimoji == o.kumimoji &&
|
|
492
|
+
spell_check == o.spell_check &&
|
|
483
493
|
language_id == o.language_id &&
|
|
484
494
|
alternative_language_id == o.alternative_language_id &&
|
|
485
495
|
is_hard_underline_fill == o.is_hard_underline_fill &&
|
|
@@ -505,7 +515,7 @@ module AsposeSlidesCloud
|
|
|
505
515
|
# Calculates hash code according to all attributes.
|
|
506
516
|
# @return [Fixnum] Hash code
|
|
507
517
|
def hash
|
|
508
|
-
[self_uri, alternate_links, text, math_paragraph, font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over, latin_font, east_asian_font, complex_script_font].hash
|
|
518
|
+
[self_uri, alternate_links, text, math_paragraph, font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, spell_check, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over, latin_font, east_asian_font, complex_script_font].hash
|
|
509
519
|
end
|
|
510
520
|
end
|
|
511
521
|
end
|
|
@@ -112,6 +112,9 @@ module AsposeSlidesCloud
|
|
|
112
112
|
# Returns or sets the complex script font info.
|
|
113
113
|
attr_accessor :complex_script_font
|
|
114
114
|
|
|
115
|
+
# true to enable spell checking for the portion.
|
|
116
|
+
attr_accessor :spell_check
|
|
117
|
+
|
|
115
118
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
116
119
|
def self.attribute_map
|
|
117
120
|
{
|
|
@@ -144,6 +147,7 @@ module AsposeSlidesCloud
|
|
|
144
147
|
:'latin_font' => :'LatinFont',
|
|
145
148
|
:'east_asian_font' => :'EastAsianFont',
|
|
146
149
|
:'complex_script_font' => :'ComplexScriptFont',
|
|
150
|
+
:'spell_check' => :'SpellCheck',
|
|
147
151
|
}
|
|
148
152
|
end
|
|
149
153
|
|
|
@@ -179,6 +183,7 @@ module AsposeSlidesCloud
|
|
|
179
183
|
:'latin_font' => :'String',
|
|
180
184
|
:'east_asian_font' => :'String',
|
|
181
185
|
:'complex_script_font' => :'String',
|
|
186
|
+
:'spell_check' => :'BOOLEAN',
|
|
182
187
|
}
|
|
183
188
|
end
|
|
184
189
|
|
|
@@ -305,6 +310,10 @@ module AsposeSlidesCloud
|
|
|
305
310
|
if attributes.has_key?(:'ComplexScriptFont')
|
|
306
311
|
self.complex_script_font = attributes[:'ComplexScriptFont']
|
|
307
312
|
end
|
|
313
|
+
|
|
314
|
+
if attributes.has_key?(:'SpellCheck')
|
|
315
|
+
self.spell_check = attributes[:'SpellCheck']
|
|
316
|
+
end
|
|
308
317
|
end
|
|
309
318
|
|
|
310
319
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -473,7 +482,8 @@ module AsposeSlidesCloud
|
|
|
473
482
|
hyperlink_mouse_over == o.hyperlink_mouse_over &&
|
|
474
483
|
latin_font == o.latin_font &&
|
|
475
484
|
east_asian_font == o.east_asian_font &&
|
|
476
|
-
complex_script_font == o.complex_script_font
|
|
485
|
+
complex_script_font == o.complex_script_font &&
|
|
486
|
+
spell_check == o.spell_check
|
|
477
487
|
end
|
|
478
488
|
|
|
479
489
|
# @see the `==` method
|
|
@@ -485,7 +495,7 @@ module AsposeSlidesCloud
|
|
|
485
495
|
# Calculates hash code according to all attributes.
|
|
486
496
|
# @return [Fixnum] Hash code
|
|
487
497
|
def hash
|
|
488
|
-
[font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over, latin_font, east_asian_font, complex_script_font].hash
|
|
498
|
+
[font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over, latin_font, east_asian_font, complex_script_font, spell_check].hash
|
|
489
499
|
end
|
|
490
500
|
end
|
|
491
501
|
end
|
|
@@ -31,6 +31,9 @@ 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
|
+
# The compression level used when saving the presentation document. Higher compression levels produce smaller files but require more processing time. The actual compression ratio depends on the content of the presentation. The default value is CompressionLevel.Level6.
|
|
35
|
+
attr_accessor :compression_level
|
|
36
|
+
|
|
34
37
|
# True to refresh the presentation thumbnail on save
|
|
35
38
|
attr_accessor :refresh_thumbnail
|
|
36
39
|
|
|
@@ -39,6 +42,7 @@ module AsposeSlidesCloud
|
|
|
39
42
|
super.merge({
|
|
40
43
|
:'conformance' => :'Conformance',
|
|
41
44
|
:'zip64_mode' => :'Zip64Mode',
|
|
45
|
+
:'compression_level' => :'CompressionLevel',
|
|
42
46
|
:'refresh_thumbnail' => :'RefreshThumbnail',
|
|
43
47
|
})
|
|
44
48
|
end
|
|
@@ -48,6 +52,7 @@ module AsposeSlidesCloud
|
|
|
48
52
|
super.merge({
|
|
49
53
|
:'conformance' => :'String',
|
|
50
54
|
:'zip64_mode' => :'String',
|
|
55
|
+
:'compression_level' => :'String',
|
|
51
56
|
:'refresh_thumbnail' => :'BOOLEAN',
|
|
52
57
|
})
|
|
53
58
|
end
|
|
@@ -65,6 +70,10 @@ module AsposeSlidesCloud
|
|
|
65
70
|
self.zip64_mode = attributes[:'Zip64Mode']
|
|
66
71
|
end
|
|
67
72
|
|
|
73
|
+
if attributes.has_key?(:'CompressionLevel')
|
|
74
|
+
self.compression_level = attributes[:'CompressionLevel']
|
|
75
|
+
end
|
|
76
|
+
|
|
68
77
|
if attributes.has_key?(:'RefreshThumbnail')
|
|
69
78
|
self.refresh_thumbnail = attributes[:'RefreshThumbnail']
|
|
70
79
|
end
|
|
@@ -86,6 +95,8 @@ module AsposeSlidesCloud
|
|
|
86
95
|
return false unless conformance_validator.valid?(@conformance)
|
|
87
96
|
zip64_mode_validator = EnumAttributeValidator.new('String', ['Never', 'IfNecessary', 'Always'])
|
|
88
97
|
return false unless zip64_mode_validator.valid?(@zip64_mode)
|
|
98
|
+
compression_level_validator = EnumAttributeValidator.new('String', ['None', 'Level1', 'Level2', 'Level3', 'Level4', 'Level5', 'Level6', 'Level7', 'Level8', 'Level9'])
|
|
99
|
+
return false unless compression_level_validator.valid?(@compression_level)
|
|
89
100
|
true
|
|
90
101
|
end
|
|
91
102
|
|
|
@@ -109,6 +120,16 @@ module AsposeSlidesCloud
|
|
|
109
120
|
@zip64_mode = zip64_mode
|
|
110
121
|
end
|
|
111
122
|
|
|
123
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
124
|
+
# @param [Object] compression_level Object to be assigned
|
|
125
|
+
def compression_level=(compression_level)
|
|
126
|
+
validator = EnumAttributeValidator.new('String', ['None', 'Level1', 'Level2', 'Level3', 'Level4', 'Level5', 'Level6', 'Level7', 'Level8', 'Level9'])
|
|
127
|
+
unless validator.valid?(compression_level)
|
|
128
|
+
fail ArgumentError, 'invalid value for "compression_level", must be one of #{validator.allowable_values}.'
|
|
129
|
+
end
|
|
130
|
+
@compression_level = compression_level
|
|
131
|
+
end
|
|
132
|
+
|
|
112
133
|
# Checks equality by comparing each attribute.
|
|
113
134
|
# @param [Object] Object to be compared
|
|
114
135
|
def ==(o)
|
|
@@ -123,6 +144,7 @@ module AsposeSlidesCloud
|
|
|
123
144
|
format == o.format &&
|
|
124
145
|
conformance == o.conformance &&
|
|
125
146
|
zip64_mode == o.zip64_mode &&
|
|
147
|
+
compression_level == o.compression_level &&
|
|
126
148
|
refresh_thumbnail == o.refresh_thumbnail
|
|
127
149
|
end
|
|
128
150
|
|
|
@@ -135,7 +157,7 @@ module AsposeSlidesCloud
|
|
|
135
157
|
# Calculates hash code according to all attributes.
|
|
136
158
|
# @return [Fixnum] Hash code
|
|
137
159
|
def 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
|
|
160
|
+
[default_regular_font, delete_embedded_binary_objects, gradient_style, font_fallback_rules, font_subst_rules, skip_java_script_links, format, conformance, zip64_mode, compression_level, refresh_thumbnail].hash
|
|
139
161
|
end
|
|
140
162
|
end
|
|
141
163
|
end
|
|
@@ -97,6 +97,9 @@ module AsposeSlidesCloud
|
|
|
97
97
|
# Spokes.
|
|
98
98
|
attr_accessor :spokes
|
|
99
99
|
|
|
100
|
+
# The duration of the slide transition effect in milliseconds. If not set, the duration is determined automatically based on Speed and Type values.
|
|
101
|
+
attr_accessor :duration
|
|
102
|
+
|
|
100
103
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
101
104
|
def self.attribute_map
|
|
102
105
|
{
|
|
@@ -124,6 +127,7 @@ module AsposeSlidesCloud
|
|
|
124
127
|
:'shred_pattern' => :'ShredPattern',
|
|
125
128
|
:'orientation' => :'Orientation',
|
|
126
129
|
:'spokes' => :'Spokes',
|
|
130
|
+
:'duration' => :'Duration',
|
|
127
131
|
}
|
|
128
132
|
end
|
|
129
133
|
|
|
@@ -154,6 +158,7 @@ module AsposeSlidesCloud
|
|
|
154
158
|
:'shred_pattern' => :'String',
|
|
155
159
|
:'orientation' => :'String',
|
|
156
160
|
:'spokes' => :'Integer',
|
|
161
|
+
:'duration' => :'Integer',
|
|
157
162
|
}
|
|
158
163
|
end
|
|
159
164
|
|
|
@@ -260,6 +265,10 @@ module AsposeSlidesCloud
|
|
|
260
265
|
if attributes.has_key?(:'Spokes')
|
|
261
266
|
self.spokes = attributes[:'Spokes']
|
|
262
267
|
end
|
|
268
|
+
|
|
269
|
+
if attributes.has_key?(:'Duration')
|
|
270
|
+
self.duration = attributes[:'Duration']
|
|
271
|
+
end
|
|
263
272
|
end
|
|
264
273
|
|
|
265
274
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -471,7 +480,8 @@ module AsposeSlidesCloud
|
|
|
471
480
|
corner_and_center_direction == o.corner_and_center_direction &&
|
|
472
481
|
shred_pattern == o.shred_pattern &&
|
|
473
482
|
orientation == o.orientation &&
|
|
474
|
-
spokes == o.spokes
|
|
483
|
+
spokes == o.spokes &&
|
|
484
|
+
duration == o.duration
|
|
475
485
|
end
|
|
476
486
|
|
|
477
487
|
# @see the `==` method
|
|
@@ -483,7 +493,7 @@ module AsposeSlidesCloud
|
|
|
483
493
|
# Calculates hash code according to all attributes.
|
|
484
494
|
# @return [Fixnum] Hash code
|
|
485
495
|
def hash
|
|
486
|
-
[type, advance_after, advance_after_time, advance_on_click, sound_is_built_in, sound_loop, sound_mode, sound_name, speed, corner_direction, eight_direction, in_out_direction, has_bounce, side_direction, pattern, left_right_direction, morph_type, from_black, orientation_direction, through_black, corner_and_center_direction, shred_pattern, orientation, spokes].hash
|
|
496
|
+
[type, advance_after, advance_after_time, advance_on_click, sound_is_built_in, sound_loop, sound_mode, sound_name, speed, corner_direction, eight_direction, in_out_direction, has_bounce, side_direction, pattern, left_right_direction, morph_type, from_black, orientation_direction, through_black, corner_and_center_direction, shred_pattern, orientation, spokes, duration].hash
|
|
487
497
|
end
|
|
488
498
|
end
|
|
489
499
|
end
|
|
@@ -40,6 +40,9 @@ module AsposeSlidesCloud
|
|
|
40
40
|
# The state of the SmartArt diagram with regard to (left-to-right) LTR or (right-to-left) RTL, if the diagram supports reversal.
|
|
41
41
|
attr_accessor :is_reversed
|
|
42
42
|
|
|
43
|
+
# Default paragraph format applied to all nodes. Write-only: not populated on read since there is no corresponding property at the SmartArt shape level in Aspose.Slides.
|
|
44
|
+
attr_accessor :default_paragraph_format
|
|
45
|
+
|
|
43
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
44
47
|
def self.attribute_map
|
|
45
48
|
super.merge({
|
|
@@ -48,6 +51,7 @@ module AsposeSlidesCloud
|
|
|
48
51
|
:'color_style' => :'ColorStyle',
|
|
49
52
|
:'nodes' => :'Nodes',
|
|
50
53
|
:'is_reversed' => :'IsReversed',
|
|
54
|
+
:'default_paragraph_format' => :'DefaultParagraphFormat',
|
|
51
55
|
})
|
|
52
56
|
end
|
|
53
57
|
|
|
@@ -59,6 +63,7 @@ module AsposeSlidesCloud
|
|
|
59
63
|
:'color_style' => :'String',
|
|
60
64
|
:'nodes' => :'Array<SmartArtNode>',
|
|
61
65
|
:'is_reversed' => :'BOOLEAN',
|
|
66
|
+
:'default_paragraph_format' => :'ParagraphFormat',
|
|
62
67
|
})
|
|
63
68
|
end
|
|
64
69
|
|
|
@@ -88,6 +93,10 @@ module AsposeSlidesCloud
|
|
|
88
93
|
if attributes.has_key?(:'IsReversed')
|
|
89
94
|
self.is_reversed = attributes[:'IsReversed']
|
|
90
95
|
end
|
|
96
|
+
|
|
97
|
+
if attributes.has_key?(:'DefaultParagraphFormat')
|
|
98
|
+
self.default_paragraph_format = attributes[:'DefaultParagraphFormat']
|
|
99
|
+
end
|
|
91
100
|
self.type = 'SmartArt'
|
|
92
101
|
end
|
|
93
102
|
|
|
@@ -184,7 +193,8 @@ module AsposeSlidesCloud
|
|
|
184
193
|
quick_style == o.quick_style &&
|
|
185
194
|
color_style == o.color_style &&
|
|
186
195
|
nodes == o.nodes &&
|
|
187
|
-
is_reversed == o.is_reversed
|
|
196
|
+
is_reversed == o.is_reversed &&
|
|
197
|
+
default_paragraph_format == o.default_paragraph_format
|
|
188
198
|
end
|
|
189
199
|
|
|
190
200
|
# @see the `==` method
|
|
@@ -196,7 +206,7 @@ module AsposeSlidesCloud
|
|
|
196
206
|
# Calculates hash code according to all attributes.
|
|
197
207
|
# @return [Fixnum] Hash code
|
|
198
208
|
def hash
|
|
199
|
-
[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
|
|
209
|
+
[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, default_paragraph_format].hash
|
|
200
210
|
end
|
|
201
211
|
end
|
|
202
212
|
end
|
|
@@ -43,6 +43,9 @@ module AsposeSlidesCloud
|
|
|
43
43
|
# Get or sets list to paragraphs list
|
|
44
44
|
attr_accessor :paragraphs
|
|
45
45
|
|
|
46
|
+
# Default paragraph format for the node's text frame.
|
|
47
|
+
attr_accessor :default_paragraph_format
|
|
48
|
+
|
|
46
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
47
50
|
def self.attribute_map
|
|
48
51
|
{
|
|
@@ -52,6 +55,7 @@ module AsposeSlidesCloud
|
|
|
52
55
|
:'text' => :'Text',
|
|
53
56
|
:'org_chart_layout' => :'OrgChartLayout',
|
|
54
57
|
:'paragraphs' => :'Paragraphs',
|
|
58
|
+
:'default_paragraph_format' => :'DefaultParagraphFormat',
|
|
55
59
|
}
|
|
56
60
|
end
|
|
57
61
|
|
|
@@ -64,6 +68,7 @@ module AsposeSlidesCloud
|
|
|
64
68
|
:'text' => :'String',
|
|
65
69
|
:'org_chart_layout' => :'String',
|
|
66
70
|
:'paragraphs' => :'ResourceUri',
|
|
71
|
+
:'default_paragraph_format' => :'ParagraphFormat',
|
|
67
72
|
}
|
|
68
73
|
end
|
|
69
74
|
|
|
@@ -100,6 +105,10 @@ module AsposeSlidesCloud
|
|
|
100
105
|
if attributes.has_key?(:'Paragraphs')
|
|
101
106
|
self.paragraphs = attributes[:'Paragraphs']
|
|
102
107
|
end
|
|
108
|
+
|
|
109
|
+
if attributes.has_key?(:'DefaultParagraphFormat')
|
|
110
|
+
self.default_paragraph_format = attributes[:'DefaultParagraphFormat']
|
|
111
|
+
end
|
|
103
112
|
end
|
|
104
113
|
|
|
105
114
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -142,7 +151,8 @@ module AsposeSlidesCloud
|
|
|
142
151
|
is_assistant == o.is_assistant &&
|
|
143
152
|
text == o.text &&
|
|
144
153
|
org_chart_layout == o.org_chart_layout &&
|
|
145
|
-
paragraphs == o.paragraphs
|
|
154
|
+
paragraphs == o.paragraphs &&
|
|
155
|
+
default_paragraph_format == o.default_paragraph_format
|
|
146
156
|
end
|
|
147
157
|
|
|
148
158
|
# @see the `==` method
|
|
@@ -154,7 +164,7 @@ module AsposeSlidesCloud
|
|
|
154
164
|
# Calculates hash code according to all attributes.
|
|
155
165
|
# @return [Fixnum] Hash code
|
|
156
166
|
def hash
|
|
157
|
-
[nodes, shapes, is_assistant, text, org_chart_layout, paragraphs].hash
|
|
167
|
+
[nodes, shapes, is_assistant, text, org_chart_layout, paragraphs, default_paragraph_format].hash
|
|
158
168
|
end
|
|
159
169
|
end
|
|
160
170
|
end
|
|
@@ -165,6 +165,7 @@ module AsposeSlidesCloud
|
|
|
165
165
|
:'PathOutputFile' => :'OutputFile',
|
|
166
166
|
:'PatternFill' => :'FillFormat',
|
|
167
167
|
:'PdfExportOptions' => :'ExportOptions',
|
|
168
|
+
:'PhantomElement' => :'MathElement',
|
|
168
169
|
:'PictureFill' => :'FillFormat',
|
|
169
170
|
:'PictureFrame' => :'GeometryShape',
|
|
170
171
|
:'Placeholder' => :'ResourceBase',
|
|
@@ -402,6 +403,7 @@ module AsposeSlidesCloud
|
|
|
402
403
|
:'PatternFill' => { :'Type' => 'Pattern', },
|
|
403
404
|
:'PdfExportOptions' => { :'Format' => 'pdf', },
|
|
404
405
|
:'PdfImportOptions' => { },
|
|
406
|
+
:'PhantomElement' => { :'Type' => 'Phantom', },
|
|
405
407
|
:'PictureFill' => { :'Type' => 'Picture', },
|
|
406
408
|
:'PictureFrame' => { :'Type' => 'PictureFrame', },
|
|
407
409
|
:'Pipeline' => { },
|
data/lib/aspose_slides_cloud.rb
CHANGED
|
@@ -195,6 +195,7 @@ require 'aspose_slides_cloud/models/path_output_file'
|
|
|
195
195
|
require 'aspose_slides_cloud/models/pattern_fill'
|
|
196
196
|
require 'aspose_slides_cloud/models/pdf_export_options'
|
|
197
197
|
require 'aspose_slides_cloud/models/pdf_import_options'
|
|
198
|
+
require 'aspose_slides_cloud/models/phantom_element'
|
|
198
199
|
require 'aspose_slides_cloud/models/picture_fill'
|
|
199
200
|
require 'aspose_slides_cloud/models/picture_frame'
|
|
200
201
|
require 'aspose_slides_cloud/models/pipeline'
|