aspose_slides_cloud 25.10.0 → 26.1.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 +7 -7
- data/README.md +8 -1
- 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/slide_show_transition.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/testRules.json +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7f06a2393cf0e571d0f52d086810d09fe88e96462b3ef4fe875b395b49c47a4
|
|
4
|
+
data.tar.gz: 2491faaf853fd63691e48179a1f3bb73df2592dfaca7150143ea95ea6a3ab70d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5fb6dd8e41828c50541c860f760755e60dbecb0af1a8f717d94aefcdb5c13f58f627e9a7cf75e14bdccc6ec186e040e9826aaf63b9b1a578d858dd0f65d8635e
|
|
7
|
+
data.tar.gz: 1fdccdccb7b32b82f2ec090f856729876a3b32ac23c876344743c63cc04a9903ec7462622aaf8a55cade171d0756fce76fe8cf8163374f709e1fb9c3909ec98e
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
aspose_slides_cloud (
|
|
4
|
+
aspose_slides_cloud (26.1.0)
|
|
5
5
|
faraday (~> 1.0, >= 1.0.0)
|
|
6
6
|
faraday-httpclient (~> 1.0, >= 1.0.0)
|
|
7
7
|
httpclient (~> 2.2, >= 2.2.0)
|
|
@@ -12,13 +12,13 @@ GEM
|
|
|
12
12
|
remote: https://rubygems.org/
|
|
13
13
|
specs:
|
|
14
14
|
ZenTest (4.12.2)
|
|
15
|
-
addressable (2.8.
|
|
16
|
-
public_suffix (>= 2.0.2, <
|
|
15
|
+
addressable (2.8.8)
|
|
16
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
17
17
|
autotest (4.4.6)
|
|
18
18
|
ZenTest (>= 4.4.1)
|
|
19
19
|
autotest-growl (0.2.16)
|
|
20
20
|
autotest-rails-pure (4.1.2)
|
|
21
|
-
bigdecimal (
|
|
21
|
+
bigdecimal (4.0.1)
|
|
22
22
|
crack (1.0.1)
|
|
23
23
|
bigdecimal
|
|
24
24
|
rexml
|
|
@@ -39,7 +39,7 @@ GEM
|
|
|
39
39
|
faraday-em_synchrony (1.0.1)
|
|
40
40
|
faraday-excon (1.1.0)
|
|
41
41
|
faraday-httpclient (1.0.1)
|
|
42
|
-
faraday-multipart (1.
|
|
42
|
+
faraday-multipart (1.2.0)
|
|
43
43
|
multipart-post (~> 2.0)
|
|
44
44
|
faraday-net_http (1.0.2)
|
|
45
45
|
faraday-net_http_persistent (1.2.0)
|
|
@@ -49,7 +49,7 @@ GEM
|
|
|
49
49
|
hashdiff (1.2.1)
|
|
50
50
|
httpclient (2.9.0)
|
|
51
51
|
mutex_m
|
|
52
|
-
json (2.
|
|
52
|
+
json (2.18.0)
|
|
53
53
|
multipart-post (2.4.1)
|
|
54
54
|
mutex_m (0.3.0)
|
|
55
55
|
public_suffix (6.0.2)
|
|
@@ -64,7 +64,7 @@ GEM
|
|
|
64
64
|
rspec-expectations (3.13.5)
|
|
65
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
66
66
|
rspec-support (~> 3.13.0)
|
|
67
|
-
rspec-mocks (3.13.
|
|
67
|
+
rspec-mocks (3.13.7)
|
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
69
69
|
rspec-support (~> 3.13.0)
|
|
70
70
|
rspec-support (3.13.6)
|
data/README.md
CHANGED
|
@@ -23,10 +23,17 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
|
|
|
23
23
|
## Save Presentation As
|
|
24
24
|
|
|
25
25
|
**Fixed Layout:** XPS
|
|
26
|
-
**Images:** JPEG, PNG, BMP, TIFF, GIF, SVG
|
|
26
|
+
**Images:** JPEG, PNG, BMP, TIFF, GIF, EMF, SVG
|
|
27
27
|
**Web:** HTML/HTML5
|
|
28
28
|
**Other:** MPEG4, SWF (export whole presentations)
|
|
29
29
|
|
|
30
|
+
## Enhancements in Version 25.10
|
|
31
|
+
|
|
32
|
+
* Added **SetEmbeddedFonts** and **SetEmbeddedFontsOnline** methods to embed many fonts in one call.
|
|
33
|
+
* Removed **SetEmbeddedFontFromRequest** and **SetEmbeddedFontFromRequestOnline** methods. The above methods can be used instead.
|
|
34
|
+
* Added optional **shapeIndex** and **shapeIndex** parameters to **GetSlideImages** method.
|
|
35
|
+
* Renamed **GetVideoCaptionTracks**, **CreateVideoCaptionTrack**, **DeleteVideoCaptionTracks** and **DeleteVideoCaptionTracks** methods into **GetCaptionTracks**, **CreateCaptionTrack**, **DeleteCaptionTracks** and **DeleteCaptionTracks**. The methods now work with video frames and audio frames.
|
|
36
|
+
|
|
30
37
|
## Enhancements in Version 25.6
|
|
31
38
|
|
|
32
39
|
* Added **GetVideoCaptionTracks**, **CreateVideoCaptionTrack**, **DeleteVideoCaptionTracks**, **DeleteVideoCaptionTracks** method.
|
|
@@ -64,7 +64,7 @@ module AsposeSlidesCloud
|
|
|
64
64
|
# Check to see if the all the properties in the model are valid
|
|
65
65
|
# @return true if the model is valid
|
|
66
66
|
def valid?
|
|
67
|
-
type_validator = EnumAttributeValidator.new('String', ['Accent', 'Array', 'Bar', 'Block', 'BorderBox', 'Box', 'Delimiter', 'Text', 'Fraction', 'Function', 'GroupingCharacter', 'LeftSubSuperscriptElement', 'Limit', 'Matrix', 'NaryOperator', 'Radical', 'RightSubSuperscriptElement', 'SubscriptElement', 'SuperscriptElement'])
|
|
67
|
+
type_validator = EnumAttributeValidator.new('String', ['Accent', 'Array', 'Bar', 'Block', 'BorderBox', 'Box', 'Delimiter', 'Text', 'Fraction', 'Function', 'GroupingCharacter', 'LeftSubSuperscriptElement', 'Limit', 'Matrix', 'NaryOperator', 'Radical', 'RightSubSuperscriptElement', 'SubscriptElement', 'SuperscriptElement', 'Phantom'])
|
|
68
68
|
return false unless type_validator.valid?(@type)
|
|
69
69
|
true
|
|
70
70
|
end
|
|
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
|
|
|
72
72
|
# Custom attribute writer method checking allowed values (enum).
|
|
73
73
|
# @param [Object] type Object to be assigned
|
|
74
74
|
def type=(type)
|
|
75
|
-
validator = EnumAttributeValidator.new('String', ['Accent', 'Array', 'Bar', 'Block', 'BorderBox', 'Box', 'Delimiter', 'Text', 'Fraction', 'Function', 'GroupingCharacter', 'LeftSubSuperscriptElement', 'Limit', 'Matrix', 'NaryOperator', 'Radical', 'RightSubSuperscriptElement', 'SubscriptElement', 'SuperscriptElement'])
|
|
75
|
+
validator = EnumAttributeValidator.new('String', ['Accent', 'Array', 'Bar', 'Block', 'BorderBox', 'Box', 'Delimiter', 'Text', 'Fraction', 'Function', 'GroupingCharacter', 'LeftSubSuperscriptElement', 'Limit', 'Matrix', 'NaryOperator', 'Radical', 'RightSubSuperscriptElement', 'SubscriptElement', 'SuperscriptElement', 'Phantom'])
|
|
76
76
|
unless validator.valid?(type)
|
|
77
77
|
fail ArgumentError, 'invalid value for "type", must be one of #{validator.allowable_values}.'
|
|
78
78
|
end
|
|
@@ -0,0 +1,141 @@
|
|
|
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
|
+
# Specifies an instance of mathematical text that contained within a MathParagraph and starts on its own line.
|
|
27
|
+
class PhantomElement < MathElement
|
|
28
|
+
# Base element
|
|
29
|
+
attr_accessor :base
|
|
30
|
+
|
|
31
|
+
# true if the base element is displayed.
|
|
32
|
+
attr_accessor :show
|
|
33
|
+
|
|
34
|
+
# true if the the width of the base element should be treated as zero.
|
|
35
|
+
attr_accessor :zero_width
|
|
36
|
+
|
|
37
|
+
# true if the the ascent (height above baseline) of the base element should be treated as zero.
|
|
38
|
+
attr_accessor :zero_asc
|
|
39
|
+
|
|
40
|
+
# true if the the descent (depth below baseline) of the base element should be treated as zero.
|
|
41
|
+
attr_accessor :zero_desc
|
|
42
|
+
|
|
43
|
+
# true if operators and symbols inside the phantom still affect mathematical spacing around the phantom (as if visible).
|
|
44
|
+
attr_accessor :transp
|
|
45
|
+
|
|
46
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
47
|
+
def self.attribute_map
|
|
48
|
+
super.merge({
|
|
49
|
+
:'base' => :'Base',
|
|
50
|
+
:'show' => :'Show',
|
|
51
|
+
:'zero_width' => :'ZeroWidth',
|
|
52
|
+
:'zero_asc' => :'ZeroAsc',
|
|
53
|
+
:'zero_desc' => :'ZeroDesc',
|
|
54
|
+
:'transp' => :'Transp',
|
|
55
|
+
})
|
|
56
|
+
end
|
|
57
|
+
|
|
58
|
+
# Attribute type mapping.
|
|
59
|
+
def self.swagger_types
|
|
60
|
+
super.merge({
|
|
61
|
+
:'base' => :'MathElement',
|
|
62
|
+
:'show' => :'BOOLEAN',
|
|
63
|
+
:'zero_width' => :'BOOLEAN',
|
|
64
|
+
:'zero_asc' => :'BOOLEAN',
|
|
65
|
+
:'zero_desc' => :'BOOLEAN',
|
|
66
|
+
:'transp' => :'BOOLEAN',
|
|
67
|
+
})
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Initializes the object
|
|
71
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
72
|
+
def initialize(attributes = {})
|
|
73
|
+
super
|
|
74
|
+
|
|
75
|
+
if attributes.has_key?(:'Base')
|
|
76
|
+
self.base = attributes[:'Base']
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
if attributes.has_key?(:'Show')
|
|
80
|
+
self.show = attributes[:'Show']
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
if attributes.has_key?(:'ZeroWidth')
|
|
84
|
+
self.zero_width = attributes[:'ZeroWidth']
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
if attributes.has_key?(:'ZeroAsc')
|
|
88
|
+
self.zero_asc = attributes[:'ZeroAsc']
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if attributes.has_key?(:'ZeroDesc')
|
|
92
|
+
self.zero_desc = attributes[:'ZeroDesc']
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.has_key?(:'Transp')
|
|
96
|
+
self.transp = attributes[:'Transp']
|
|
97
|
+
end
|
|
98
|
+
self.type = 'Phantom'
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
102
|
+
# @return Array for valid properties with the reasons
|
|
103
|
+
def list_invalid_properties
|
|
104
|
+
invalid_properties = super
|
|
105
|
+
invalid_properties
|
|
106
|
+
end
|
|
107
|
+
|
|
108
|
+
# Check to see if the all the properties in the model are valid
|
|
109
|
+
# @return true if the model is valid
|
|
110
|
+
def valid?
|
|
111
|
+
return false if !super
|
|
112
|
+
true
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Checks equality by comparing each attribute.
|
|
116
|
+
# @param [Object] Object to be compared
|
|
117
|
+
def ==(o)
|
|
118
|
+
return true if self.equal?(o)
|
|
119
|
+
self.class == o.class &&
|
|
120
|
+
type == o.type &&
|
|
121
|
+
base == o.base &&
|
|
122
|
+
show == o.show &&
|
|
123
|
+
zero_width == o.zero_width &&
|
|
124
|
+
zero_asc == o.zero_asc &&
|
|
125
|
+
zero_desc == o.zero_desc &&
|
|
126
|
+
transp == o.transp
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# @see the `==` method
|
|
130
|
+
# @param [Object] Object to be compared
|
|
131
|
+
def eql?(o)
|
|
132
|
+
self == o
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
# Calculates hash code according to all attributes.
|
|
136
|
+
# @return [Fixnum] Hash code
|
|
137
|
+
def hash
|
|
138
|
+
[type, base, show, zero_width, zero_asc, zero_desc, transp].hash
|
|
139
|
+
end
|
|
140
|
+
end
|
|
141
|
+
end
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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'
|
data/testRules.json
CHANGED
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
{ "Value": "changedtest.pptx", "Parameter": "Name", "Method": "/CreatePresentationFrom/" },
|
|
87
87
|
{ "Value": "video.pptx", "Parameter": "Name", "Method": "/CaptionTrack/" },
|
|
88
88
|
{ "Value": "macros.pptm", "Parameter": "Name", "Method": "/Vba/" },
|
|
89
|
-
{ "Value": "Arial", "Parameter": "FontNames", "Type": "string[]" },
|
|
89
|
+
{ "Value": ["Arial"], "InvalidValue": null, "Parameter": "FontNames", "Type": "string[]" },
|
|
90
90
|
{ "Value": "testProperty", "Parameter": "PropertyName" },
|
|
91
91
|
{ "Value": "TempSlidesSDK", "Parameter": "Folder" },
|
|
92
92
|
{ "Value": "password", "Parameter": "/Password/" },
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aspose_slides_cloud
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 26.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Victor Putrov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -462,6 +462,7 @@ files:
|
|
|
462
462
|
- lib/aspose_slides_cloud/models/pattern_fill.rb
|
|
463
463
|
- lib/aspose_slides_cloud/models/pdf_export_options.rb
|
|
464
464
|
- lib/aspose_slides_cloud/models/pdf_import_options.rb
|
|
465
|
+
- lib/aspose_slides_cloud/models/phantom_element.rb
|
|
465
466
|
- lib/aspose_slides_cloud/models/picture_fill.rb
|
|
466
467
|
- lib/aspose_slides_cloud/models/picture_frame.rb
|
|
467
468
|
- lib/aspose_slides_cloud/models/pipeline.rb
|