aspose_slides_cloud 21.2.0 → 21.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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