aspose_slides_cloud 22.6.0 → 22.7.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.
@@ -0,0 +1,42 @@
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 AxisType
27
+
28
+ HORIZONTAL_AXIS = "HorizontalAxis".freeze
29
+ VERTICAL_AXIS = "VerticalAxis".freeze
30
+ SECONDARY_HORIZONTAL_AXIS = "SecondaryHorizontalAxis".freeze
31
+ SECONDARY_VERTICAL_AXIS = "SecondaryVerticalAxis".freeze
32
+
33
+ # Builds the enum from string
34
+ # @param [String] The enum value in the form of the string
35
+ # @return [String] The enum value
36
+ def build_from_hash(value)
37
+ constantValues = AxisType.constants.select { |c| AxisType::const_get(c) == value }
38
+ raise "Invalid ENUM value #{value} for class #AxisType" if constantValues.empty?
39
+ value
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,41 @@
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 ChartWallType
27
+
28
+ FLOOR = "Floor".freeze
29
+ SIDE_WALL = "SideWall".freeze
30
+ BACK_WALL = "BackWall".freeze
31
+
32
+ # Builds the enum from string
33
+ # @param [String] The enum value in the form of the string
34
+ # @return [String] The enum value
35
+ def build_from_hash(value)
36
+ constantValues = ChartWallType.constants.select { |c| ChartWallType::const_get(c) == value }
37
+ raise "Invalid ENUM value #{value} for class #ChartWallType" if constantValues.empty?
38
+ value
39
+ end
40
+ end
41
+ end
@@ -30,6 +30,24 @@ module AsposeSlidesCloud
30
30
  GIF = "Gif".freeze
31
31
  BMP = "Bmp".freeze
32
32
  TIFF = "Tiff".freeze
33
+ HTML = "Html".freeze
34
+ PDF = "Pdf".freeze
35
+ XPS = "Xps".freeze
36
+ PPTX = "Pptx".freeze
37
+ ODP = "Odp".freeze
38
+ OTP = "Otp".freeze
39
+ PPT = "Ppt".freeze
40
+ PPS = "Pps".freeze
41
+ PPSX = "Ppsx".freeze
42
+ PPTM = "Pptm".freeze
43
+ PPSM = "Ppsm".freeze
44
+ POTX = "Potx".freeze
45
+ POT = "Pot".freeze
46
+ POTM = "Potm".freeze
47
+ SVG = "Svg".freeze
48
+ FODP = "Fodp".freeze
49
+ XAML = "Xaml".freeze
50
+ HTML5 = "Html5".freeze
33
51
 
34
52
  # Builds the enum from string
35
53
  # @param [String] The enum value in the form of the string
@@ -116,7 +116,7 @@ module AsposeSlidesCloud
116
116
  # Check to see if the all the properties in the model are valid
117
117
  # @return true if the model is valid
118
118
  def valid?
119
- source_validator = EnumAttributeValidator.new('String', ['Storage', 'Request'])
119
+ source_validator = EnumAttributeValidator.new('String', ['Storage', 'Request', 'Url'])
120
120
  return false unless source_validator.valid?(@source)
121
121
  true
122
122
  end
@@ -124,7 +124,7 @@ module AsposeSlidesCloud
124
124
  # Custom attribute writer method checking allowed values (enum).
125
125
  # @param [Object] source Object to be assigned
126
126
  def source=(source)
127
- validator = EnumAttributeValidator.new('String', ['Storage', 'Request'])
127
+ validator = EnumAttributeValidator.new('String', ['Storage', 'Request', 'Url'])
128
128
  unless validator.valid?(source)
129
129
  fail ArgumentError, 'invalid value for "source", must be one of #{validator.allowable_values}.'
130
130
  end
@@ -140,7 +140,7 @@ module AsposeSlidesCloud
140
140
  def valid?
141
141
  return false if !super
142
142
  return false if @format.nil?
143
- format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml'])
143
+ format_validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'])
144
144
  return false unless format_validator.valid?(@format)
145
145
  return false if @position.nil?
146
146
  true
@@ -149,7 +149,7 @@ module AsposeSlidesCloud
149
149
  # Custom attribute writer method checking allowed values (enum).
150
150
  # @param [Object] format Object to be assigned
151
151
  def format=(format)
152
- validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml'])
152
+ validator = EnumAttributeValidator.new('String', ['Jpeg', 'Png', 'Gif', 'Bmp', 'Tiff', 'Html', 'Pdf', 'Xps', 'Pptx', 'Odp', 'Otp', 'Ppt', 'Pps', 'Ppsx', 'Pptm', 'Ppsm', 'Potx', 'Pot', 'Potm', 'Svg', 'Fodp', 'Xaml', 'Html5'])
153
153
  unless validator.valid?(format)
154
154
  fail ArgumentError, 'invalid value for "format", must be one of #{validator.allowable_values}.'
155
155
  end
@@ -47,6 +47,7 @@ module AsposeSlidesCloud
47
47
  SVG = "Svg".freeze
48
48
  FODP = "Fodp".freeze
49
49
  XAML = "Xaml".freeze
50
+ HTML5 = "Html5".freeze
50
51
 
51
52
  # Builds the enum from string
52
53
  # @param [String] The enum value in the form of the string
@@ -228,6 +228,7 @@ module AsposeSlidesCloud
228
228
  :'ArrowHeadProperties' => { },
229
229
  :'Axes' => { },
230
230
  :'Axis' => { },
231
+ :'AxisType' => { },
231
232
  :'BlurEffect' => { },
232
233
  :'Camera' => { },
233
234
  :'ChartCategory' => { },
@@ -235,6 +236,7 @@ module AsposeSlidesCloud
235
236
  :'ChartSeriesGroup' => { },
236
237
  :'ChartTitle' => { },
237
238
  :'ChartWall' => { },
239
+ :'ChartWallType' => { },
238
240
  :'CommonSlideViewProperties' => { },
239
241
  :'CustomDashPattern' => { },
240
242
  :'DataPoint' => { },
@@ -21,5 +21,5 @@ SOFTWARE.
21
21
  =end
22
22
 
23
23
  module AsposeSlidesCloud
24
- VERSION = '22.6.0'
24
+ VERSION = '22.7.0'
25
25
  end
@@ -33,6 +33,7 @@ require 'aspose_slides_cloud/models/api_info'
33
33
  require 'aspose_slides_cloud/models/arrow_head_properties'
34
34
  require 'aspose_slides_cloud/models/axes'
35
35
  require 'aspose_slides_cloud/models/axis'
36
+ require 'aspose_slides_cloud/models/axis_type'
36
37
  require 'aspose_slides_cloud/models/blur_effect'
37
38
  require 'aspose_slides_cloud/models/camera'
38
39
  require 'aspose_slides_cloud/models/chart_category'
@@ -40,6 +41,7 @@ require 'aspose_slides_cloud/models/chart_lines_format'
40
41
  require 'aspose_slides_cloud/models/chart_series_group'
41
42
  require 'aspose_slides_cloud/models/chart_title'
42
43
  require 'aspose_slides_cloud/models/chart_wall'
44
+ require 'aspose_slides_cloud/models/chart_wall_type'
43
45
  require 'aspose_slides_cloud/models/common_slide_view_properties'
44
46
  require 'aspose_slides_cloud/models/custom_dash_pattern'
45
47
  require 'aspose_slides_cloud/models/data_point'