aspose_slides_cloud 22.10.0 → 22.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +3 -3
  3. data/README.md +6 -0
  4. data/lib/aspose_slides_cloud/api/slides_api.rb +4 -4
  5. data/lib/aspose_slides_cloud/api_client.rb +1 -1
  6. data/lib/aspose_slides_cloud/configuration.rb +1 -1
  7. data/lib/aspose_slides_cloud/models/accent_element.rb +1 -1
  8. data/lib/aspose_slides_cloud/models/add_layout_slide.rb +1 -1
  9. data/lib/aspose_slides_cloud/models/add_master_slide.rb +1 -1
  10. data/lib/aspose_slides_cloud/models/add_shape.rb +1 -1
  11. data/lib/aspose_slides_cloud/models/add_slide.rb +1 -1
  12. data/lib/aspose_slides_cloud/models/alpha_bi_level_effect.rb +1 -1
  13. data/lib/aspose_slides_cloud/models/alpha_ceiling_effect.rb +1 -1
  14. data/lib/aspose_slides_cloud/models/alpha_floor_effect.rb +1 -1
  15. data/lib/aspose_slides_cloud/models/alpha_inverse_effect.rb +1 -1
  16. data/lib/aspose_slides_cloud/models/alpha_modulate_effect.rb +1 -1
  17. data/lib/aspose_slides_cloud/models/alpha_modulate_fixed_effect.rb +1 -1
  18. data/lib/aspose_slides_cloud/models/alpha_replace_effect.rb +1 -1
  19. data/lib/aspose_slides_cloud/models/arc_to_path_segment.rb +1 -1
  20. data/lib/aspose_slides_cloud/models/array_element.rb +1 -1
  21. data/lib/aspose_slides_cloud/models/audio_frame.rb +1 -1
  22. data/lib/aspose_slides_cloud/models/axis_type.rb +4 -4
  23. data/lib/aspose_slides_cloud/models/bar_element.rb +1 -1
  24. data/lib/aspose_slides_cloud/models/base64_input_file.rb +1 -1
  25. data/lib/aspose_slides_cloud/models/bi_level_effect.rb +1 -1
  26. data/lib/aspose_slides_cloud/models/block_element.rb +1 -1
  27. data/lib/aspose_slides_cloud/models/blur_image_effect.rb +1 -1
  28. data/lib/aspose_slides_cloud/models/border_box_element.rb +1 -1
  29. data/lib/aspose_slides_cloud/models/box_element.rb +1 -1
  30. data/lib/aspose_slides_cloud/models/bubble_chart_data_point.rb +14 -2
  31. data/lib/aspose_slides_cloud/models/bubble_series.rb +16 -3
  32. data/lib/aspose_slides_cloud/models/chart.rb +12 -2
  33. data/lib/aspose_slides_cloud/models/chart_wall_type.rb +3 -3
  34. data/lib/aspose_slides_cloud/models/close_path_segment.rb +1 -1
  35. data/lib/aspose_slides_cloud/models/color_change_effect.rb +1 -1
  36. data/lib/aspose_slides_cloud/models/color_replace_effect.rb +1 -1
  37. data/lib/aspose_slides_cloud/models/connector.rb +1 -1
  38. data/lib/aspose_slides_cloud/models/cubic_bezier_to_path_segment.rb +1 -1
  39. data/lib/aspose_slides_cloud/models/data_source.rb +244 -0
  40. data/lib/aspose_slides_cloud/models/delimiter_element.rb +1 -1
  41. data/lib/aspose_slides_cloud/models/duotone_effect.rb +1 -1
  42. data/lib/aspose_slides_cloud/models/export_format.rb +25 -25
  43. data/lib/aspose_slides_cloud/models/fill_overlay_image_effect.rb +1 -1
  44. data/lib/aspose_slides_cloud/models/fraction_element.rb +1 -1
  45. data/lib/aspose_slides_cloud/models/function_element.rb +1 -1
  46. data/lib/aspose_slides_cloud/models/gif_export_options.rb +1 -1
  47. data/lib/aspose_slides_cloud/models/gradient_fill.rb +1 -1
  48. data/lib/aspose_slides_cloud/models/graphical_object.rb +2 -2
  49. data/lib/aspose_slides_cloud/models/gray_scale_effect.rb +1 -1
  50. data/lib/aspose_slides_cloud/models/group_shape.rb +1 -1
  51. data/lib/aspose_slides_cloud/models/grouping_character_element.rb +1 -1
  52. data/lib/aspose_slides_cloud/models/hsl_effect.rb +1 -1
  53. data/lib/aspose_slides_cloud/models/html5_export_options.rb +1 -1
  54. data/lib/aspose_slides_cloud/models/html_export_options.rb +1 -1
  55. data/lib/aspose_slides_cloud/models/image_export_format.rb +5 -5
  56. data/lib/aspose_slides_cloud/models/image_export_options.rb +1 -1
  57. data/lib/aspose_slides_cloud/models/left_sub_superscript_element.rb +1 -1
  58. data/lib/aspose_slides_cloud/models/limit_element.rb +1 -1
  59. data/lib/aspose_slides_cloud/models/line_to_path_segment.rb +1 -1
  60. data/lib/aspose_slides_cloud/models/literals.rb +223 -0
  61. data/lib/aspose_slides_cloud/models/luminance_effect.rb +1 -1
  62. data/lib/aspose_slides_cloud/models/matrix_element.rb +1 -1
  63. data/lib/aspose_slides_cloud/models/merge.rb +1 -1
  64. data/lib/aspose_slides_cloud/models/move_to_path_segment.rb +1 -1
  65. data/lib/aspose_slides_cloud/models/nary_operator_element.rb +1 -1
  66. data/lib/aspose_slides_cloud/models/no_fill.rb +1 -1
  67. data/lib/aspose_slides_cloud/models/notes_slide_export_format.rb +23 -23
  68. data/lib/aspose_slides_cloud/models/ole_object_frame.rb +1 -1
  69. data/lib/aspose_slides_cloud/models/one_value_chart_data_point.rb +11 -1
  70. data/lib/aspose_slides_cloud/models/one_value_series.rb +13 -2
  71. data/lib/aspose_slides_cloud/models/path_input_file.rb +1 -1
  72. data/lib/aspose_slides_cloud/models/path_output_file.rb +1 -1
  73. data/lib/aspose_slides_cloud/models/pattern_fill.rb +1 -1
  74. data/lib/aspose_slides_cloud/models/pdf_export_options.rb +1 -1
  75. data/lib/aspose_slides_cloud/models/picture_fill.rb +1 -1
  76. data/lib/aspose_slides_cloud/models/picture_frame.rb +1 -1
  77. data/lib/aspose_slides_cloud/models/pptx_export_options.rb +1 -1
  78. data/lib/aspose_slides_cloud/models/quadratic_bezier_to_path_segment.rb +1 -1
  79. data/lib/aspose_slides_cloud/models/radical_element.rb +1 -1
  80. data/lib/aspose_slides_cloud/models/remove_shape.rb +1 -1
  81. data/lib/aspose_slides_cloud/models/remove_slide.rb +1 -1
  82. data/lib/aspose_slides_cloud/models/reorder_slide.rb +1 -1
  83. data/lib/aspose_slides_cloud/models/replace_text.rb +1 -1
  84. data/lib/aspose_slides_cloud/models/request_input_file.rb +1 -1
  85. data/lib/aspose_slides_cloud/models/reset_slide.rb +1 -1
  86. data/lib/aspose_slides_cloud/models/response_output_file.rb +1 -1
  87. data/lib/aspose_slides_cloud/models/right_sub_superscript_element.rb +1 -1
  88. data/lib/aspose_slides_cloud/models/save.rb +1 -1
  89. data/lib/aspose_slides_cloud/models/save_shape.rb +1 -1
  90. data/lib/aspose_slides_cloud/models/save_slide.rb +1 -1
  91. data/lib/aspose_slides_cloud/models/scatter_chart_data_point.rb +22 -2
  92. data/lib/aspose_slides_cloud/models/scatter_series.rb +5 -2
  93. data/lib/aspose_slides_cloud/models/section_zoom_frame.rb +1 -1
  94. data/lib/aspose_slides_cloud/models/series.rb +11 -1
  95. data/lib/aspose_slides_cloud/models/shape.rb +1 -1
  96. data/lib/aspose_slides_cloud/models/shape_export_format.rb +6 -6
  97. data/lib/aspose_slides_cloud/models/shape_thumbnail_bounds.rb +3 -3
  98. data/lib/aspose_slides_cloud/models/shape_type.rb +16 -16
  99. data/lib/aspose_slides_cloud/models/shapes_alignment_type.rb +8 -8
  100. data/lib/aspose_slides_cloud/models/slide_comment.rb +1 -1
  101. data/lib/aspose_slides_cloud/models/slide_export_format.rb +23 -23
  102. data/lib/aspose_slides_cloud/models/slide_modern_comment.rb +1 -1
  103. data/lib/aspose_slides_cloud/models/smart_art.rb +1 -1
  104. data/lib/aspose_slides_cloud/models/smart_art_shape.rb +1 -1
  105. data/lib/aspose_slides_cloud/models/solid_fill.rb +1 -1
  106. data/lib/aspose_slides_cloud/models/special_slide_type.rb +3 -3
  107. data/lib/aspose_slides_cloud/models/subscript_element.rb +1 -1
  108. data/lib/aspose_slides_cloud/models/summary_zoom_frame.rb +1 -1
  109. data/lib/aspose_slides_cloud/models/summary_zoom_section.rb +1 -1
  110. data/lib/aspose_slides_cloud/models/superscript_element.rb +1 -1
  111. data/lib/aspose_slides_cloud/models/svg_export_options.rb +23 -3
  112. data/lib/aspose_slides_cloud/models/swf_export_options.rb +1 -1
  113. data/lib/aspose_slides_cloud/models/table.rb +1 -1
  114. data/lib/aspose_slides_cloud/models/text_element.rb +1 -1
  115. data/lib/aspose_slides_cloud/models/tiff_export_options.rb +1 -1
  116. data/lib/aspose_slides_cloud/models/tint_effect.rb +1 -1
  117. data/lib/aspose_slides_cloud/models/update_background.rb +1 -1
  118. data/lib/aspose_slides_cloud/models/update_shape.rb +1 -1
  119. data/lib/aspose_slides_cloud/models/video_export_options.rb +1 -1
  120. data/lib/aspose_slides_cloud/models/video_frame.rb +1 -1
  121. data/lib/aspose_slides_cloud/models/workbook.rb +268 -0
  122. data/lib/aspose_slides_cloud/models/xaml_export_options.rb +1 -1
  123. data/lib/aspose_slides_cloud/models/xps_export_options.rb +1 -1
  124. data/lib/aspose_slides_cloud/models/xy_series.rb +23 -2
  125. data/lib/aspose_slides_cloud/models/zoom_frame.rb +1 -1
  126. data/lib/aspose_slides_cloud/type_registry.rb +188 -183
  127. data/lib/aspose_slides_cloud/version.rb +1 -1
  128. data/lib/aspose_slides_cloud.rb +123 -120
  129. data/spec/api/slides_api_spec.rb +3518 -3518
  130. data/spec/spec_utils.rb +88 -51
  131. data/spec/use_cases/chart_spec.rb +160 -1
  132. data/spec/use_cases/nullable_field_spec.rb +7 -0
  133. data/spec/use_cases/shape_spec.rb +13 -19
  134. data/testRules.json +137 -545
  135. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6caa872808eb42ba7bfe5c1e58a2a15a8047fa7dae62313e8b50b72035c6a3a5
4
- data.tar.gz: 7a7375b458842b6ec039f527a2f3466a21c5bc6a5634af94d888ab304af67ed4
3
+ metadata.gz: 38811f98d7ab91bed778a7e3a3702e1ab46563422e1dae65f9a55d46f55e8e3d
4
+ data.tar.gz: e9f7dfa9ce0c607f1652b8e892b140202f099a8d8b5b1dd2283f24e7038cd498
5
5
  SHA512:
6
- metadata.gz: 52a0b5eb94aa5deee6fe136bce13a3f8750170344d9578d0661080666baf9c7eb1d17e19a832c9020b5ec3cee66dc5bf11b27643897cc7d07ebfb01d887887c8
7
- data.tar.gz: 9cf428f4cf781036fbed5b71ab5749d8817fd7cb90d6a19a9503df069a7fdc3335837b24567ba776e7d0f407a66e53627e0ff1f7b827453871ba517b3e76990b
6
+ metadata.gz: 61ff2769277b8bc612591786d560bdf103331f489a5f6e2fd74dbf6724f385dcd7a8eab68758729650613833c231b109402cb952640718e8bb0a6be15dfb38d9
7
+ data.tar.gz: 2b52f78940cb19beab6b3c3a59a22107bb1d4b23018f1685f4de8a7ebaf15ff6b4d53de5165d47f2d5c01f3650a42ba4ece23ad0146cfa4c41a31726fda307ee
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (22.10.0)
4
+ aspose_slides_cloud (22.11.0)
5
5
  faraday (~> 0.17, >= 0.17.3)
6
6
  json (~> 2.1, >= 2.1.0)
7
7
 
@@ -13,14 +13,14 @@ GEM
13
13
  public_suffix (>= 2.0.2, < 6.0)
14
14
  autotest (4.4.6)
15
15
  ZenTest (>= 4.4.1)
16
- autotest-fsevent (0.2.19)
16
+ autotest-fsevent (0.2.20)
17
17
  sys-uname
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
20
20
  crack (0.4.5)
21
21
  rexml
22
22
  diff-lcs (1.5.0)
23
- faraday (0.17.5)
23
+ faraday (0.17.6)
24
24
  multipart-post (>= 1.2, < 3)
25
25
  ffi (1.15.5)
26
26
  hashdiff (1.0.1)
data/README.md CHANGED
@@ -97,6 +97,12 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
97
97
  * Added **None** to the list of allowed values for **TimeUnitType** enum type.
98
98
  * **Level** property of **Category** class is deprecated and will be removed after v22.4.
99
99
 
100
+ ## Enhancements in Version 22.11
101
+
102
+ * You can now specify data sources for chart elements. This is done with new **DataSource** type which is use with propertries **Chart.DataSourceForCategories**, **Series.DataSourceForName**, **OneValueSeries.DataSourceForValues**, **XYSeries.DataSourceForXValues**, **XYSeries.DataSourceForYValues**, **BubbleSeries.DataSourceForBubbleSizeValues**.
103
+ * You can now specify formulas for data points using new properties **OneValueChartDataPoint.ValueFormula**, **ScatterChartDataPoint.XValueFormula**, **ScatterChartDataPoint.YValueFormula**, **BubbleChartDataPoint.BubbleSizeFormula**.
104
+ * Added boolean **UseFrameSize** and **UseFrameRotation** properties to **SvgExportOptions** class.
105
+
100
106
  ## Enhancements in Version 22.10
101
107
 
102
108
  * Added new **GetSlideShowProperties** and **SetSlideShowProperties** methods to get & set slideshow properties.
@@ -11572,7 +11572,7 @@ module AsposeSlidesCloud
11572
11572
  :return_type => 'Theme')
11573
11573
  return data, status_code, headers
11574
11574
  end
11575
- # Read presentation document properties.
11575
+ # Read presentation view properties.
11576
11576
  # @param name Document name.
11577
11577
  # @param password Document password.
11578
11578
  # @param folder Document folder.
@@ -11582,7 +11582,7 @@ module AsposeSlidesCloud
11582
11582
  data
11583
11583
  end
11584
11584
 
11585
- # Read presentation document properties.
11585
+ # Read presentation view properties.
11586
11586
  # @param name Document name.
11587
11587
  # @param password Document password.
11588
11588
  # @param folder Document folder.
@@ -15577,7 +15577,7 @@ module AsposeSlidesCloud
15577
15577
  :return_type => 'SlideAnimation')
15578
15578
  return data, status_code, headers
15579
15579
  end
15580
- # Update presentation document properties.
15580
+ # Update presentation view properties.
15581
15581
  # @param name Document name.
15582
15582
  # @param dto The view properties data.
15583
15583
  # @param password Document password.
@@ -15588,7 +15588,7 @@ module AsposeSlidesCloud
15588
15588
  data
15589
15589
  end
15590
15590
 
15591
- # Update presentation document properties.
15591
+ # Update presentation view properties.
15592
15592
  # @param name Document name.
15593
15593
  # @param dto The view properties data.
15594
15594
  # @param password Document password.
@@ -109,7 +109,7 @@ module AsposeSlidesCloud
109
109
  # @return [Array<(Object, Fixnum, Hash)>] an array of 3 elements:
110
110
  # the data deserialized from response body (could be nil), response status code and response headers.
111
111
  def call_api_method(http_method, path, opts = {})
112
- connection = Faraday.new(:url => @config.base_path)
112
+ connection = Faraday.new(:url => @config.base_path, ssl: { verify: @config.verify_ssl })
113
113
  case http_method
114
114
  when :GET
115
115
  response = connection.get do |req|
@@ -137,7 +137,7 @@ module AsposeSlidesCloud
137
137
  @timeout = 0
138
138
  @custom_headers = Hash.new
139
139
  @client_side_validation = true
140
- @verify_ssl = false
140
+ @verify_ssl = true
141
141
  @verify_ssl_host = false
142
142
  @params_encoding = nil
143
143
  @cert_file = nil
@@ -81,7 +81,7 @@ module AsposeSlidesCloud
81
81
  if attributes.has_key?(:'Character')
82
82
  self.character = attributes[:'Character']
83
83
  end
84
- self.type = "Accent"
84
+ self.type = 'Accent'
85
85
  end
86
86
 
87
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -81,7 +81,7 @@ module AsposeSlidesCloud
81
81
  if attributes.has_key?(:'CloneFromPosition')
82
82
  self.clone_from_position = attributes[:'CloneFromPosition']
83
83
  end
84
- self.type = "AddLayoutSlide"
84
+ self.type = 'AddLayoutSlide'
85
85
  end
86
86
 
87
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -90,7 +90,7 @@ module AsposeSlidesCloud
90
90
  if attributes.has_key?(:'ApplyToAll')
91
91
  self.apply_to_all = attributes[:'ApplyToAll']
92
92
  end
93
- self.type = "AddMasterSlide"
93
+ self.type = 'AddMasterSlide'
94
94
  end
95
95
 
96
96
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -81,7 +81,7 @@ module AsposeSlidesCloud
81
81
  if attributes.has_key?(:'ShapePath')
82
82
  self.shape_path = attributes[:'ShapePath']
83
83
  end
84
- self.type = "AddShape"
84
+ self.type = 'AddShape'
85
85
  end
86
86
 
87
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -99,7 +99,7 @@ module AsposeSlidesCloud
99
99
  if attributes.has_key?(:'LayoutAlias')
100
100
  self.layout_alias = attributes[:'LayoutAlias']
101
101
  end
102
- self.type = "AddSlide"
102
+ self.type = 'AddSlide'
103
103
  end
104
104
 
105
105
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  if attributes.has_key?(:'Threshold')
73
73
  self.threshold = attributes[:'Threshold']
74
74
  end
75
- self.type = "AlphaBiLevel"
75
+ self.type = 'AlphaBiLevel'
76
76
  end
77
77
 
78
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +63,7 @@ module AsposeSlidesCloud
63
63
  # @param [Hash] attributes Model attributes in the form of hash
64
64
  def initialize(attributes = {})
65
65
  super
66
- self.type = "AlphaCeiling"
66
+ self.type = 'AlphaCeiling'
67
67
  end
68
68
 
69
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +63,7 @@ module AsposeSlidesCloud
63
63
  # @param [Hash] attributes Model attributes in the form of hash
64
64
  def initialize(attributes = {})
65
65
  super
66
- self.type = "AlphaFloor"
66
+ self.type = 'AlphaFloor'
67
67
  end
68
68
 
69
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +63,7 @@ module AsposeSlidesCloud
63
63
  # @param [Hash] attributes Model attributes in the form of hash
64
64
  def initialize(attributes = {})
65
65
  super
66
- self.type = "AlphaInverse"
66
+ self.type = 'AlphaInverse'
67
67
  end
68
68
 
69
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -63,7 +63,7 @@ module AsposeSlidesCloud
63
63
  # @param [Hash] attributes Model attributes in the form of hash
64
64
  def initialize(attributes = {})
65
65
  super
66
- self.type = "AlphaModulate"
66
+ self.type = 'AlphaModulate'
67
67
  end
68
68
 
69
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  if attributes.has_key?(:'Amount')
73
73
  self.amount = attributes[:'Amount']
74
74
  end
75
- self.type = "AlphaModulateFixed"
75
+ self.type = 'AlphaModulateFixed'
76
76
  end
77
77
 
78
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  if attributes.has_key?(:'Alpha')
73
73
  self.alpha = attributes[:'Alpha']
74
74
  end
75
- self.type = "AlphaReplace"
75
+ self.type = 'AlphaReplace'
76
76
  end
77
77
 
78
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -99,7 +99,7 @@ module AsposeSlidesCloud
99
99
  if attributes.has_key?(:'SweepAngle')
100
100
  self.sweep_angle = attributes[:'SweepAngle']
101
101
  end
102
- self.type = "ArcTo"
102
+ self.type = 'ArcTo'
103
103
  end
104
104
 
105
105
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -119,7 +119,7 @@ module AsposeSlidesCloud
119
119
  if attributes.has_key?(:'RowSpacing')
120
120
  self.row_spacing = attributes[:'RowSpacing']
121
121
  end
122
- self.type = "Array"
122
+ self.type = 'Array'
123
123
  end
124
124
 
125
125
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -180,7 +180,7 @@ module AsposeSlidesCloud
180
180
  if attributes.has_key?(:'PictureFillFormat')
181
181
  self.picture_fill_format = attributes[:'PictureFillFormat']
182
182
  end
183
- self.type = "AudioFrame"
183
+ self.type = 'AudioFrame'
184
184
  end
185
185
 
186
186
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -25,10 +25,10 @@ require 'date'
25
25
  module AsposeSlidesCloud
26
26
  class AxisType
27
27
 
28
- HORIZONTAL_AXIS = "HorizontalAxis".freeze
29
- VERTICAL_AXIS = "VerticalAxis".freeze
30
- SECONDARY_HORIZONTAL_AXIS = "SecondaryHorizontalAxis".freeze
31
- SECONDARY_VERTICAL_AXIS = "SecondaryVerticalAxis".freeze
28
+ HORIZONTAL_AXIS = 'HorizontalAxis'.freeze
29
+ VERTICAL_AXIS = 'VerticalAxis'.freeze
30
+ SECONDARY_HORIZONTAL_AXIS = 'SecondaryHorizontalAxis'.freeze
31
+ SECONDARY_VERTICAL_AXIS = 'SecondaryVerticalAxis'.freeze
32
32
 
33
33
  # Builds the enum from string
34
34
  # @param [String] The enum value in the form of the string
@@ -81,7 +81,7 @@ module AsposeSlidesCloud
81
81
  if attributes.has_key?(:'Position')
82
82
  self.position = attributes[:'Position']
83
83
  end
84
- self.type = "Bar"
84
+ self.type = 'Bar'
85
85
  end
86
86
 
87
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  if attributes.has_key?(:'Data')
73
73
  self.data = attributes[:'Data']
74
74
  end
75
- self.type = "Base64"
75
+ self.type = 'Base64'
76
76
  end
77
77
 
78
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  if attributes.has_key?(:'Threshold')
73
73
  self.threshold = attributes[:'Threshold']
74
74
  end
75
- self.type = "BiLevel"
75
+ self.type = 'BiLevel'
76
76
  end
77
77
 
78
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -74,7 +74,7 @@ module AsposeSlidesCloud
74
74
  self.math_element_list = value
75
75
  end
76
76
  end
77
- self.type = "Block"
77
+ self.type = 'Block'
78
78
  end
79
79
 
80
80
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -81,7 +81,7 @@ module AsposeSlidesCloud
81
81
  if attributes.has_key?(:'Grow')
82
82
  self.grow = attributes[:'Grow']
83
83
  end
84
- self.type = "Blur"
84
+ self.type = 'Blur'
85
85
  end
86
86
 
87
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -144,7 +144,7 @@ module AsposeSlidesCloud
144
144
  if attributes.has_key?(:'StrikethroughTopLeftToBottomRight')
145
145
  self.strikethrough_top_left_to_bottom_right = attributes[:'StrikethroughTopLeftToBottomRight']
146
146
  end
147
- self.type = "BorderBox"
147
+ self.type = 'BorderBox'
148
148
  end
149
149
 
150
150
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -117,7 +117,7 @@ module AsposeSlidesCloud
117
117
  if attributes.has_key?(:'ExplicitBreak')
118
118
  self.explicit_break = attributes[:'ExplicitBreak']
119
119
  end
120
- self.type = "Box"
120
+ self.type = 'Box'
121
121
  end
122
122
 
123
123
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -28,10 +28,14 @@ module AsposeSlidesCloud
28
28
  # Bubble size.
29
29
  attr_accessor :bubble_size
30
30
 
31
+ # Spreadsheet formula in A1-style.
32
+ attr_accessor :bubble_size_formula
33
+
31
34
  # Attribute mapping from ruby-style variable name to JSON key.
32
35
  def self.attribute_map
33
36
  super.merge({
34
37
  :'bubble_size' => :'BubbleSize',
38
+ :'bubble_size_formula' => :'BubbleSizeFormula',
35
39
  })
36
40
  end
37
41
 
@@ -39,6 +43,7 @@ module AsposeSlidesCloud
39
43
  def self.swagger_types
40
44
  super.merge({
41
45
  :'bubble_size' => :'Float',
46
+ :'bubble_size_formula' => :'String',
42
47
  })
43
48
  end
44
49
 
@@ -50,6 +55,10 @@ module AsposeSlidesCloud
50
55
  if attributes.has_key?(:'BubbleSize')
51
56
  self.bubble_size = attributes[:'BubbleSize']
52
57
  end
58
+
59
+ if attributes.has_key?(:'BubbleSizeFormula')
60
+ self.bubble_size_formula = attributes[:'BubbleSizeFormula']
61
+ end
53
62
  end
54
63
 
55
64
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -82,7 +91,10 @@ module AsposeSlidesCloud
82
91
  line_format == o.line_format &&
83
92
  x_value == o.x_value &&
84
93
  y_value == o.y_value &&
85
- bubble_size == o.bubble_size
94
+ x_value_formula == o.x_value_formula &&
95
+ y_value_formula == o.y_value_formula &&
96
+ bubble_size == o.bubble_size &&
97
+ bubble_size_formula == o.bubble_size_formula
86
98
  end
87
99
 
88
100
  # @see the `==` method
@@ -94,7 +106,7 @@ module AsposeSlidesCloud
94
106
  # Calculates hash code according to all attributes.
95
107
  # @return [Fixnum] Hash code
96
108
  def hash
97
- [fill_format, effect_format, three_d_format, line_format, x_value, y_value, bubble_size].hash
109
+ [fill_format, effect_format, three_d_format, line_format, x_value, y_value, x_value_formula, y_value_formula, bubble_size, bubble_size_formula].hash
98
110
  end
99
111
 
100
112
  # Builds the object from hash
@@ -31,6 +31,9 @@ module AsposeSlidesCloud
31
31
  # The number format for the series bubble sizes.
32
32
  attr_accessor :number_format_of_bubble_sizes
33
33
 
34
+ # Data source type for Bubble size values.
35
+ attr_accessor :data_source_for_bubble_size_values
36
+
34
37
  class EnumAttributeValidator
35
38
  attr_reader :datatype
36
39
  attr_reader :allowable_values
@@ -58,6 +61,7 @@ module AsposeSlidesCloud
58
61
  super.merge({
59
62
  :'data_points' => :'DataPoints',
60
63
  :'number_format_of_bubble_sizes' => :'NumberFormatOfBubbleSizes',
64
+ :'data_source_for_bubble_size_values' => :'DataSourceForBubbleSizeValues',
61
65
  })
62
66
  end
63
67
 
@@ -66,6 +70,7 @@ module AsposeSlidesCloud
66
70
  super.merge({
67
71
  :'data_points' => :'Array<BubbleChartDataPoint>',
68
72
  :'number_format_of_bubble_sizes' => :'String',
73
+ :'data_source_for_bubble_size_values' => :'DataSource',
69
74
  })
70
75
  end
71
76
 
@@ -83,7 +88,11 @@ module AsposeSlidesCloud
83
88
  if attributes.has_key?(:'NumberFormatOfBubbleSizes')
84
89
  self.number_format_of_bubble_sizes = attributes[:'NumberFormatOfBubbleSizes']
85
90
  end
86
- self.data_point_type = "Bubble"
91
+
92
+ if attributes.has_key?(:'DataSourceForBubbleSizeValues')
93
+ self.data_source_for_bubble_size_values = attributes[:'DataSourceForBubbleSizeValues']
94
+ end
95
+ self.data_point_type = 'Bubble'
87
96
  end
88
97
 
89
98
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -107,6 +116,7 @@ module AsposeSlidesCloud
107
116
  self.class == o.class &&
108
117
  type == o.type &&
109
118
  name == o.name &&
119
+ data_source_for_series_name == o.data_source_for_series_name &&
110
120
  is_color_varied == o.is_color_varied &&
111
121
  inverted_solid_fill_color == o.inverted_solid_fill_color &&
112
122
  smooth == o.smooth &&
@@ -121,8 +131,11 @@ module AsposeSlidesCloud
121
131
  data_point_type == o.data_point_type &&
122
132
  number_format_of_y_values == o.number_format_of_y_values &&
123
133
  number_format_of_x_values == o.number_format_of_x_values &&
134
+ data_source_for_x_values == o.data_source_for_x_values &&
135
+ data_source_for_y_values == o.data_source_for_y_values &&
124
136
  data_points == o.data_points &&
125
- number_format_of_bubble_sizes == o.number_format_of_bubble_sizes
137
+ number_format_of_bubble_sizes == o.number_format_of_bubble_sizes &&
138
+ data_source_for_bubble_size_values == o.data_source_for_bubble_size_values
126
139
  end
127
140
 
128
141
  # @see the `==` method
@@ -134,7 +147,7 @@ module AsposeSlidesCloud
134
147
  # Calculates hash code according to all attributes.
135
148
  # @return [Fixnum] Hash code
136
149
  def hash
137
- [type, name, is_color_varied, inverted_solid_fill_color, smooth, plot_on_second_axis, order, invert_if_negative, explosion, marker, fill_format, effect_format, line_format, data_point_type, number_format_of_y_values, number_format_of_x_values, data_points, number_format_of_bubble_sizes].hash
150
+ [type, name, data_source_for_series_name, is_color_varied, inverted_solid_fill_color, smooth, plot_on_second_axis, order, invert_if_negative, explosion, marker, fill_format, effect_format, line_format, data_point_type, number_format_of_y_values, number_format_of_x_values, data_source_for_x_values, data_source_for_y_values, data_points, number_format_of_bubble_sizes, data_source_for_bubble_size_values].hash
138
151
  end
139
152
 
140
153
  # Builds the object from hash
@@ -37,6 +37,9 @@ module AsposeSlidesCloud
37
37
  # Gets or sets the categories for chart data
38
38
  attr_accessor :categories
39
39
 
40
+ # Data source type for categories.
41
+ attr_accessor :data_source_for_categories
42
+
40
43
  # Gets or sets the title.
41
44
  attr_accessor :title
42
45
 
@@ -93,6 +96,7 @@ module AsposeSlidesCloud
93
96
  :'show_data_labels_over_maximum' => :'ShowDataLabelsOverMaximum',
94
97
  :'series' => :'Series',
95
98
  :'categories' => :'Categories',
99
+ :'data_source_for_categories' => :'DataSourceForCategories',
96
100
  :'title' => :'Title',
97
101
  :'back_wall' => :'BackWall',
98
102
  :'side_wall' => :'SideWall',
@@ -112,6 +116,7 @@ module AsposeSlidesCloud
112
116
  :'show_data_labels_over_maximum' => :'BOOLEAN',
113
117
  :'series' => :'Array<Series>',
114
118
  :'categories' => :'Array<ChartCategory>',
119
+ :'data_source_for_categories' => :'DataSource',
115
120
  :'title' => :'ChartTitle',
116
121
  :'back_wall' => :'ChartWall',
117
122
  :'side_wall' => :'ChartWall',
@@ -149,6 +154,10 @@ module AsposeSlidesCloud
149
154
  end
150
155
  end
151
156
 
157
+ if attributes.has_key?(:'DataSourceForCategories')
158
+ self.data_source_for_categories = attributes[:'DataSourceForCategories']
159
+ end
160
+
152
161
  if attributes.has_key?(:'Title')
153
162
  self.title = attributes[:'Title']
154
163
  end
@@ -186,7 +195,7 @@ module AsposeSlidesCloud
186
195
  self.series_groups = value
187
196
  end
188
197
  end
189
- self.type = "Chart"
198
+ self.type = 'Chart'
190
199
  end
191
200
 
192
201
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -247,6 +256,7 @@ module AsposeSlidesCloud
247
256
  show_data_labels_over_maximum == o.show_data_labels_over_maximum &&
248
257
  series == o.series &&
249
258
  categories == o.categories &&
259
+ data_source_for_categories == o.data_source_for_categories &&
250
260
  title == o.title &&
251
261
  back_wall == o.back_wall &&
252
262
  side_wall == o.side_wall &&
@@ -267,7 +277,7 @@ module AsposeSlidesCloud
267
277
  # Calculates hash code according to all attributes.
268
278
  # @return [Fixnum] Hash code
269
279
  def hash
270
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, chart_type, show_data_labels_over_maximum, series, categories, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
280
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, x, y, z_order_position, fill_format, effect_format, three_d_format, line_format, hyperlink_click, hyperlink_mouse_over, type, chart_type, show_data_labels_over_maximum, series, categories, data_source_for_categories, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
271
281
  end
272
282
 
273
283
  # Builds the object from hash
@@ -25,9 +25,9 @@ require 'date'
25
25
  module AsposeSlidesCloud
26
26
  class ChartWallType
27
27
 
28
- FLOOR = "Floor".freeze
29
- SIDE_WALL = "SideWall".freeze
30
- BACK_WALL = "BackWall".freeze
28
+ FLOOR = 'Floor'.freeze
29
+ SIDE_WALL = 'SideWall'.freeze
30
+ BACK_WALL = 'BackWall'.freeze
31
31
 
32
32
  # Builds the enum from string
33
33
  # @param [String] The enum value in the form of the string
@@ -63,7 +63,7 @@ module AsposeSlidesCloud
63
63
  # @param [Hash] attributes Model attributes in the form of hash
64
64
  def initialize(attributes = {})
65
65
  super
66
- self.type = "Close"
66
+ self.type = 'Close'
67
67
  end
68
68
 
69
69
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -81,7 +81,7 @@ module AsposeSlidesCloud
81
81
  if attributes.has_key?(:'ToColor')
82
82
  self.to_color = attributes[:'ToColor']
83
83
  end
84
- self.type = "ColorChange"
84
+ self.type = 'ColorChange'
85
85
  end
86
86
 
87
87
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -72,7 +72,7 @@ module AsposeSlidesCloud
72
72
  if attributes.has_key?(:'Color')
73
73
  self.color = attributes[:'Color']
74
74
  end
75
- self.type = "ColorReplace"
75
+ self.type = 'ColorReplace'
76
76
  end
77
77
 
78
78
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -99,7 +99,7 @@ module AsposeSlidesCloud
99
99
  if attributes.has_key?(:'EndShapeConnectedToIndex')
100
100
  self.end_shape_connected_to_index = attributes[:'EndShapeConnectedToIndex']
101
101
  end
102
- self.type = "Connector"
102
+ self.type = 'Connector'
103
103
  end
104
104
 
105
105
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -117,7 +117,7 @@ module AsposeSlidesCloud
117
117
  if attributes.has_key?(:'Y3')
118
118
  self.y3 = attributes[:'Y3']
119
119
  end
120
- self.type = "CubicBezierTo"
120
+ self.type = 'CubicBezierTo'
121
121
  end
122
122
 
123
123
  # Show invalid properties with the reasons. Usually used together with valid?