aspose_slides_cloud 20.10.0 → 21.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/TestData/test-unprotected.pptx +0 -0
- data/TestData/test.pdf +0 -0
- data/TestData/test.pptx +0 -0
- data/TestData/watermark.png +0 -0
- data/lib/aspose_slides_cloud.rb +3 -2
- data/lib/aspose_slides_cloud/api/slides_api.rb +10586 -3876
- data/lib/aspose_slides_cloud/api/slides_api_requests.rb +865 -269
- data/lib/aspose_slides_cloud/api_client.rb +39 -32
- data/lib/aspose_slides_cloud/configuration.rb +7 -2
- data/lib/aspose_slides_cloud/models/chart.rb +2 -2
- data/lib/aspose_slides_cloud/models/line_format.rb +23 -1
- data/lib/aspose_slides_cloud/models/presentation_to_merge.rb +46 -2
- data/lib/aspose_slides_cloud/models/protection_properties.rb +267 -0
- data/lib/aspose_slides_cloud/models/series.rb +2 -2
- data/lib/aspose_slides_cloud/models/{scale_type.rb → shapes_alignment_type.rb} +11 -6
- data/lib/aspose_slides_cloud/models/slide_properties.rb +315 -0
- data/lib/aspose_slides_cloud/type_registry.rb +5 -2
- data/lib/aspose_slides_cloud/version.rb +1 -1
- data/spec/api/slides_api_spec.rb +22537 -19028
- data/spec/extra/extra_spec.rb +73 -106
- data/spec/spec_utils.rb +23 -24
- data/testConfig.json +2 -2
- data/testRules.json +124 -85
- metadata +9 -4
- data/lib/aspose_slides_cloud/models/size_type.rb +0 -55
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: 21.4.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: 2021-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -208,7 +208,11 @@ files:
|
|
208
208
|
- TestData/TemplatingCVDataWithBase64.xml
|
209
209
|
- TestData/placeholders.pptx
|
210
210
|
- TestData/test-unprotected.ppt
|
211
|
+
- TestData/test-unprotected.pptx
|
212
|
+
- TestData/test.pdf
|
211
213
|
- TestData/test.ppt
|
214
|
+
- TestData/test.pptx
|
215
|
+
- TestData/watermark.png
|
212
216
|
- aspose_slides_cloud.gemspec
|
213
217
|
- lib/aspose_slides_cloud.rb
|
214
218
|
- lib/aspose_slides_cloud/api/slides_api.rb
|
@@ -315,6 +319,7 @@ files:
|
|
315
319
|
- lib/aspose_slides_cloud/models/presentation_to_merge.rb
|
316
320
|
- lib/aspose_slides_cloud/models/presentations_merge_request.rb
|
317
321
|
- lib/aspose_slides_cloud/models/preset_shadow_effect.rb
|
322
|
+
- lib/aspose_slides_cloud/models/protection_properties.rb
|
318
323
|
- lib/aspose_slides_cloud/models/reflection_effect.rb
|
319
324
|
- lib/aspose_slides_cloud/models/remove_shape.rb
|
320
325
|
- lib/aspose_slides_cloud/models/remove_slide.rb
|
@@ -328,7 +333,6 @@ files:
|
|
328
333
|
- lib/aspose_slides_cloud/models/save.rb
|
329
334
|
- lib/aspose_slides_cloud/models/save_shape.rb
|
330
335
|
- lib/aspose_slides_cloud/models/save_slide.rb
|
331
|
-
- lib/aspose_slides_cloud/models/scale_type.rb
|
332
336
|
- lib/aspose_slides_cloud/models/scatter_chart_data_point.rb
|
333
337
|
- lib/aspose_slides_cloud/models/scatter_series.rb
|
334
338
|
- lib/aspose_slides_cloud/models/section.rb
|
@@ -341,13 +345,14 @@ files:
|
|
341
345
|
- lib/aspose_slides_cloud/models/shape_image_export_options.rb
|
342
346
|
- lib/aspose_slides_cloud/models/shape_thumbnail_bounds.rb
|
343
347
|
- lib/aspose_slides_cloud/models/shapes.rb
|
344
|
-
- lib/aspose_slides_cloud/models/
|
348
|
+
- lib/aspose_slides_cloud/models/shapes_alignment_type.rb
|
345
349
|
- lib/aspose_slides_cloud/models/slide.rb
|
346
350
|
- lib/aspose_slides_cloud/models/slide_animation.rb
|
347
351
|
- lib/aspose_slides_cloud/models/slide_background.rb
|
348
352
|
- lib/aspose_slides_cloud/models/slide_comment.rb
|
349
353
|
- lib/aspose_slides_cloud/models/slide_comments.rb
|
350
354
|
- lib/aspose_slides_cloud/models/slide_export_format.rb
|
355
|
+
- lib/aspose_slides_cloud/models/slide_properties.rb
|
351
356
|
- lib/aspose_slides_cloud/models/slide_replace_result.rb
|
352
357
|
- lib/aspose_slides_cloud/models/slides.rb
|
353
358
|
- lib/aspose_slides_cloud/models/smart_art.rb
|
@@ -1,55 +0,0 @@
|
|
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
|
-
class SizeType
|
27
|
-
|
28
|
-
ON_SCREEN = "OnScreen".freeze
|
29
|
-
LETTER_PAPER = "LetterPaper".freeze
|
30
|
-
A4_PAPER = "A4Paper".freeze
|
31
|
-
SLIDE35MM = "Slide35mm".freeze
|
32
|
-
OVERHEAD = "Overhead".freeze
|
33
|
-
BANNER = "Banner".freeze
|
34
|
-
CUSTOM = "Custom".freeze
|
35
|
-
LEDGER = "Ledger".freeze
|
36
|
-
A3_PAPER = "A3Paper".freeze
|
37
|
-
B4_ISO_PAPER = "B4IsoPaper".freeze
|
38
|
-
B5_ISO_PAPER = "B5IsoPaper".freeze
|
39
|
-
B4_JIS_PAPER = "B4JisPaper".freeze
|
40
|
-
B5_JIS_PAPER = "B5JisPaper".freeze
|
41
|
-
HAGAKI_CARD = "HagakiCard".freeze
|
42
|
-
ON_SCREEN16X9 = "OnScreen16x9".freeze
|
43
|
-
ON_SCREEN16X10 = "OnScreen16x10".freeze
|
44
|
-
WIDESCREEN = "Widescreen".freeze
|
45
|
-
|
46
|
-
# Builds the enum from string
|
47
|
-
# @param [String] The enum value in the form of the string
|
48
|
-
# @return [String] The enum value
|
49
|
-
def build_from_hash(value)
|
50
|
-
constantValues = SizeType.constants.select { |c| SizeType::const_get(c) == value }
|
51
|
-
raise "Invalid ENUM value #{value} for class #SizeType" if constantValues.empty?
|
52
|
-
value
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|