aspose_slides_cloud 24.3.0 → 24.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b94e6425ee7b47026a371cf4c4311fd413d8a9fcd0d50ab644bacbbecce5a908
4
- data.tar.gz: 4b85491caa7b74545b956d1375e8f9ad61ff35210dec4b7ca8e96986799fbac7
3
+ metadata.gz: 1f2c3c4dc7ba7d83b153193a2445085d789bd89f26c3cbf377d72ca6e8b641a6
4
+ data.tar.gz: '029477b0ffe6a5fc1803bfdddb4b4e6db5ffb4ad417670d0faabc272dfce3110'
5
5
  SHA512:
6
- metadata.gz: c4b7983df49c75fa1f8a06e2c678222a249d224033f1fa4df0c36330d7ef117592fdcbadf30e7994e813effc05571f2ec68cb19ece9055c3880f4e8da0d75f07
7
- data.tar.gz: bf948f3a53a7058f19560d9e86be7254bb6c3721b52d4810ae87f316db14b94e77d2276a77dc9449a25d4a25f77b5d4c9ad923b1e2213b738e1994e62f350ab1
6
+ metadata.gz: 589efeebfabe07b770aa6c8f48e48f87dfc77d6a32ebaccb0cd42665b82d82897a090b299dde3c145041aaf2a847cd08aa56549f687b375c08b25bb487b5e55a
7
+ data.tar.gz: a9fae3df76ac231de2b219f12b660bb5f4575d5f0fa227dc395a9afd0465d7ece84effcd09d22c552db14237af009eeadeb77bbafcced521feba53b1fd90ca91
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aspose_slides_cloud (24.3.0)
4
+ aspose_slides_cloud (24.5.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)
@@ -17,7 +17,7 @@ GEM
17
17
  ZenTest (>= 4.4.1)
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
20
- bigdecimal (3.1.7)
20
+ bigdecimal (3.1.8)
21
21
  crack (1.0.0)
22
22
  bigdecimal
23
23
  rexml
@@ -47,11 +47,12 @@ GEM
47
47
  faraday-retry (1.0.3)
48
48
  hashdiff (1.1.0)
49
49
  httpclient (2.8.3)
50
- json (2.7.1)
51
- multipart-post (2.4.0)
52
- public_suffix (5.0.4)
50
+ json (2.7.2)
51
+ multipart-post (2.4.1)
52
+ public_suffix (5.0.5)
53
53
  rake (12.3.3)
54
- rexml (3.2.6)
54
+ rexml (3.2.8)
55
+ strscan (>= 3.0.9)
55
56
  rspec (3.13.0)
56
57
  rspec-core (~> 3.13.0)
57
58
  rspec-expectations (~> 3.13.0)
@@ -61,7 +62,7 @@ GEM
61
62
  rspec-expectations (3.13.0)
62
63
  diff-lcs (>= 1.2.0, < 2.0)
63
64
  rspec-support (~> 3.13.0)
64
- rspec-mocks (3.13.0)
65
+ rspec-mocks (3.13.1)
65
66
  diff-lcs (>= 1.2.0, < 2.0)
66
67
  rspec-support (~> 3.13.0)
67
68
  rspec-support (3.13.1)
@@ -69,6 +70,7 @@ GEM
69
70
  rspec-core (>= 2, < 4, != 2.12.0)
70
71
  ruby2_keywords (0.0.5)
71
72
  rubyzip (2.3.2)
73
+ strscan (3.1.0)
72
74
  vcr (3.0.3)
73
75
  webmock (1.24.6)
74
76
  addressable (>= 2.3.6)
data/README.md CHANGED
@@ -27,6 +27,18 @@ You may want to check out Aspose free [Powerpoint to PDF](https://products.aspos
27
27
  **Web:** HTML/HTML5
28
28
  **Other:** MPEG4, SWF (export whole presentations)
29
29
 
30
+ ## Enhancements in Version 24.5
31
+
32
+ * Added **options** parameter to **ImportFromPdf** method. You can specify **options.DetectTables** property to control import behavior.
33
+ * Added **Title** property to **Axis** class for charts.
34
+ * Added **X**, **Y**, **Width**, **Height**, **Overlay**, **FillFormat**, **EffectFormat** and **LineFormat** properties to **ChartTitle** class.
35
+ * Added **HasTitle** property to **Chart** class; removed **HasTitle** property from **ChartTitle** class.
36
+
37
+ ## Enhancements in Version 24.4
38
+
39
+ * Added **DownloadMathPortion** and **SaveMathPortion** methods to convert math portions to math markup formats (MathML or LaTeX). See [documentation](https://docs.aspose.cloud/slides/export-a-math-formula/) for more info. **DownloadPortionAsMathML** and **SavePortionAsMathML** methods are deprecated and will be removed after 24.6.
40
+ * Added **Marker** property to **DataPoint** class.
41
+
30
42
  ## Enhancements in Version 24.3
31
43
 
32
44
  * Added Markdown (**Md**) to the list of allowed export formats.
data/docker-entrypoint.sh CHANGED
@@ -7,4 +7,8 @@ sed -i 's~@async_base_url@~'"${BASE_ASYNC_URL}"'~g' testConfig.json
7
7
  sed -i 's~@base_auth_url@~'"${BASE_AUTH_URL}"'~g' testConfig.json
8
8
 
9
9
  mkdir testResults
10
- rspec spec --format RspecJunitFormatter --out testResults/rspec.xml
10
+
11
+ if [ "${ENABLE_TESTS}" = true ]
12
+ then
13
+ rspec spec --format RspecJunitFormatter --out testResults/rspec.xml
14
+ fi
@@ -4754,7 +4754,7 @@ module AsposeSlidesCloud
4754
4754
  # @param password Document password.
4755
4755
  # @param folder Document folder.
4756
4756
  # @param storage Presentation storage.
4757
- def delete_picture_cropped_areas(name, slide_index, shape_index, password, folder, storage = nil)
4757
+ def delete_picture_cropped_areas(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
4758
4758
  delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage)
4759
4759
  nil
4760
4760
  end
@@ -4766,7 +4766,7 @@ module AsposeSlidesCloud
4766
4766
  # @param password Document password.
4767
4767
  # @param folder Document folder.
4768
4768
  # @param storage Presentation storage.
4769
- def delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password, folder, storage = nil)
4769
+ def delete_picture_cropped_areas_with_http_info(name, slide_index, shape_index, password = nil, folder = nil, storage = nil)
4770
4770
  if @api_client.config.debugging
4771
4771
  @api_client.config.logger.debug 'Calling API: SlidesApi.delete_picture_cropped_areas ...'
4772
4772
  end
@@ -4783,14 +4783,6 @@ module AsposeSlidesCloud
4783
4783
  if @api_client.config.client_side_validation && shape_index.nil?
4784
4784
  fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.delete_picture_cropped_areas"
4785
4785
  end
4786
- # verify the required parameter 'password' is set
4787
- if @api_client.config.client_side_validation && password.nil?
4788
- fail ArgumentError, "Missing the required parameter 'password' when calling SlidesApi.delete_picture_cropped_areas"
4789
- end
4790
- # verify the required parameter 'folder' is set
4791
- if @api_client.config.client_side_validation && folder.nil?
4792
- fail ArgumentError, "Missing the required parameter 'folder' when calling SlidesApi.delete_picture_cropped_areas"
4793
- end
4794
4786
  # resource path
4795
4787
  local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/pictureCroppedAreas'
4796
4788
  local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
@@ -4808,7 +4800,7 @@ module AsposeSlidesCloud
4808
4800
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
4809
4801
  # HTTP header 'Content-Type'
4810
4802
  header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
4811
- header_params[:'password'] = password
4803
+ header_params[:'password'] = password unless password.nil?
4812
4804
 
4813
4805
  # http body (model)
4814
4806
  post_body = nil
@@ -7977,6 +7969,102 @@ module AsposeSlidesCloud
7977
7969
  :return_type => 'File')
7978
7970
  return data, status_code, headers
7979
7971
  end
7972
+ # Convert Mathematical Text to MathML Format
7973
+ # @param name Document name.
7974
+ # @param slide_index Slide index.
7975
+ # @param shape_index Shape index.
7976
+ # @param paragraph_index Paragraph index.
7977
+ # @param portion_index Portion index.
7978
+ # @param format Format.
7979
+ # @param password Document password.
7980
+ # @param folder Document folder.
7981
+ # @param storage Document storage.
7982
+ def download_math_portion(name, slide_index, shape_index, paragraph_index, portion_index, format, password = nil, folder = nil, storage = nil)
7983
+ data, _status_code, _headers = download_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, password, folder, storage)
7984
+ data
7985
+ end
7986
+
7987
+ # Convert Mathematical Text to MathML Format
7988
+ # @param name Document name.
7989
+ # @param slide_index Slide index.
7990
+ # @param shape_index Shape index.
7991
+ # @param paragraph_index Paragraph index.
7992
+ # @param portion_index Portion index.
7993
+ # @param format Format.
7994
+ # @param password Document password.
7995
+ # @param folder Document folder.
7996
+ # @param storage Document storage.
7997
+ def download_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, password = nil, folder = nil, storage = nil)
7998
+ if @api_client.config.debugging
7999
+ @api_client.config.logger.debug 'Calling API: SlidesApi.download_math_portion ...'
8000
+ end
8001
+
8002
+ # verify the required parameter 'name' is set
8003
+ if @api_client.config.client_side_validation && name.nil?
8004
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.download_math_portion"
8005
+ end
8006
+ # verify the required parameter 'slide_index' is set
8007
+ if @api_client.config.client_side_validation && slide_index.nil?
8008
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.download_math_portion"
8009
+ end
8010
+ # verify the required parameter 'shape_index' is set
8011
+ if @api_client.config.client_side_validation && shape_index.nil?
8012
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.download_math_portion"
8013
+ end
8014
+ # verify the required parameter 'paragraph_index' is set
8015
+ if @api_client.config.client_side_validation && paragraph_index.nil?
8016
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.download_math_portion"
8017
+ end
8018
+ # verify the required parameter 'portion_index' is set
8019
+ if @api_client.config.client_side_validation && portion_index.nil?
8020
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.download_math_portion"
8021
+ end
8022
+ # verify the required parameter 'format' is set
8023
+ if @api_client.config.client_side_validation && format.nil?
8024
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.download_math_portion"
8025
+ end
8026
+ # verify enum value
8027
+ if @api_client.config.client_side_validation && !['MathML', 'LaTeX'].any?{ |s| s.casecmp(format)==0 }
8028
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of MathML, LaTeX"
8029
+ end
8030
+ # resource path
8031
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}'
8032
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
8033
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
8034
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
8035
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', paragraph_index)
8036
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', portion_index)
8037
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
8038
+
8039
+ # query parameters
8040
+ query_params = {}
8041
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
8042
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
8043
+
8044
+ # header parameters
8045
+ header_params = {}
8046
+ # HTTP header 'Accept' (if needed)
8047
+ header_params['Accept'] = @api_client.select_header_accept(['multipart/form-data'])
8048
+ # HTTP header 'Content-Type'
8049
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
8050
+ header_params[:'password'] = password unless password.nil?
8051
+
8052
+ # http body (model)
8053
+ post_body = nil
8054
+
8055
+ # form parameters
8056
+ post_files = []
8057
+
8058
+ auth_names = ['JWT']
8059
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
8060
+ :header_params => header_params,
8061
+ :query_params => query_params,
8062
+ :body => post_body,
8063
+ :files => post_files,
8064
+ :auth_names => auth_names,
8065
+ :return_type => 'File')
8066
+ return data, status_code, headers
8067
+ end
7980
8068
  # Convert notes slide to the specified image format.
7981
8069
  # @param name Document name.
7982
8070
  # @param slide_index Slide index.
@@ -13379,21 +13467,23 @@ module AsposeSlidesCloud
13379
13467
  # Create presentation document from pdf or append pdf to an existing presentation.
13380
13468
  # @param name Document name.
13381
13469
  # @param pdf PDF data.
13470
+ # @param options Import options.
13382
13471
  # @param password Document password.
13383
13472
  # @param folder Document folder.
13384
13473
  # @param storage Document storage.
13385
- def import_from_pdf(name, pdf, password = nil, folder = nil, storage = nil)
13386
- data, _status_code, _headers = import_from_pdf_with_http_info(name, pdf, password, folder, storage)
13474
+ def import_from_pdf(name, pdf, options = nil, password = nil, folder = nil, storage = nil)
13475
+ data, _status_code, _headers = import_from_pdf_with_http_info(name, pdf, options, password, folder, storage)
13387
13476
  data
13388
13477
  end
13389
13478
 
13390
13479
  # Create presentation document from pdf or append pdf to an existing presentation.
13391
13480
  # @param name Document name.
13392
13481
  # @param pdf PDF data.
13482
+ # @param options Import options.
13393
13483
  # @param password Document password.
13394
13484
  # @param folder Document folder.
13395
13485
  # @param storage Document storage.
13396
- def import_from_pdf_with_http_info(name, pdf, password = nil, folder = nil, storage = nil)
13486
+ def import_from_pdf_with_http_info(name, pdf, options = nil, password = nil, folder = nil, storage = nil)
13397
13487
  if @api_client.config.debugging
13398
13488
  @api_client.config.logger.debug 'Calling API: SlidesApi.import_from_pdf ...'
13399
13489
  end
@@ -13424,7 +13514,7 @@ module AsposeSlidesCloud
13424
13514
  header_params[:'password'] = password unless password.nil?
13425
13515
 
13426
13516
  # http body (model)
13427
- post_body = nil
13517
+ post_body = @api_client.object_to_http_body(options)
13428
13518
 
13429
13519
  # form parameters
13430
13520
  post_files = []
@@ -15145,6 +15235,108 @@ module AsposeSlidesCloud
15145
15235
  # @param shape_index Shape index.
15146
15236
  # @param paragraph_index Paragraph index.
15147
15237
  # @param portion_index Portion index.
15238
+ # @param format Format.
15239
+ # @param out_path Path to save result.
15240
+ # @param password Document password.
15241
+ # @param folder Presentation folder.
15242
+ # @param storage Presentation storage.
15243
+ def save_math_portion(name, slide_index, shape_index, paragraph_index, portion_index, format, out_path, password = nil, folder = nil, storage = nil)
15244
+ save_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, out_path, password, folder, storage)
15245
+ nil
15246
+ end
15247
+
15248
+ # Convert Mathematical Text to MathML Format and saves result to the storage
15249
+ # @param name Document name.
15250
+ # @param slide_index Slide index.
15251
+ # @param shape_index Shape index.
15252
+ # @param paragraph_index Paragraph index.
15253
+ # @param portion_index Portion index.
15254
+ # @param format Format.
15255
+ # @param out_path Path to save result.
15256
+ # @param password Document password.
15257
+ # @param folder Presentation folder.
15258
+ # @param storage Presentation storage.
15259
+ def save_math_portion_with_http_info(name, slide_index, shape_index, paragraph_index, portion_index, format, out_path, password = nil, folder = nil, storage = nil)
15260
+ if @api_client.config.debugging
15261
+ @api_client.config.logger.debug 'Calling API: SlidesApi.save_math_portion ...'
15262
+ end
15263
+
15264
+ # verify the required parameter 'name' is set
15265
+ if @api_client.config.client_side_validation && name.nil?
15266
+ fail ArgumentError, "Missing the required parameter 'name' when calling SlidesApi.save_math_portion"
15267
+ end
15268
+ # verify the required parameter 'slide_index' is set
15269
+ if @api_client.config.client_side_validation && slide_index.nil?
15270
+ fail ArgumentError, "Missing the required parameter 'slide_index' when calling SlidesApi.save_math_portion"
15271
+ end
15272
+ # verify the required parameter 'shape_index' is set
15273
+ if @api_client.config.client_side_validation && shape_index.nil?
15274
+ fail ArgumentError, "Missing the required parameter 'shape_index' when calling SlidesApi.save_math_portion"
15275
+ end
15276
+ # verify the required parameter 'paragraph_index' is set
15277
+ if @api_client.config.client_side_validation && paragraph_index.nil?
15278
+ fail ArgumentError, "Missing the required parameter 'paragraph_index' when calling SlidesApi.save_math_portion"
15279
+ end
15280
+ # verify the required parameter 'portion_index' is set
15281
+ if @api_client.config.client_side_validation && portion_index.nil?
15282
+ fail ArgumentError, "Missing the required parameter 'portion_index' when calling SlidesApi.save_math_portion"
15283
+ end
15284
+ # verify the required parameter 'format' is set
15285
+ if @api_client.config.client_side_validation && format.nil?
15286
+ fail ArgumentError, "Missing the required parameter 'format' when calling SlidesApi.save_math_portion"
15287
+ end
15288
+ # verify enum value
15289
+ if @api_client.config.client_side_validation && !['MathML', 'LaTeX'].any?{ |s| s.casecmp(format)==0 }
15290
+ fail ArgumentError, "Invalid value for parameter format: " + format + ". Must be one of MathML, LaTeX"
15291
+ end
15292
+ # verify the required parameter 'out_path' is set
15293
+ if @api_client.config.client_side_validation && out_path.nil?
15294
+ fail ArgumentError, "Missing the required parameter 'out_path' when calling SlidesApi.save_math_portion"
15295
+ end
15296
+ # resource path
15297
+ local_var_path = '/slides/{name}/slides/{slideIndex}/shapes/{shapeIndex}/paragraphs/{paragraphIndex}/portions/{portionIndex}/{format}'
15298
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'name', name)
15299
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'slideIndex', slide_index)
15300
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'shapeIndex', shape_index)
15301
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'paragraphIndex', paragraph_index)
15302
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'portionIndex', portion_index)
15303
+ local_var_path = @api_client.replace_path_parameter(local_var_path, 'format', format)
15304
+
15305
+ # query parameters
15306
+ query_params = {}
15307
+ query_params[:'outPath'] = @api_client.prepare_for_query(out_path) unless out_path.nil?
15308
+ query_params[:'folder'] = @api_client.prepare_for_query(folder) unless folder.nil?
15309
+ query_params[:'storage'] = @api_client.prepare_for_query(storage) unless storage.nil?
15310
+
15311
+ # header parameters
15312
+ header_params = {}
15313
+ # HTTP header 'Accept' (if needed)
15314
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
15315
+ # HTTP header 'Content-Type'
15316
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
15317
+ header_params[:'password'] = password unless password.nil?
15318
+
15319
+ # http body (model)
15320
+ post_body = nil
15321
+
15322
+ # form parameters
15323
+ post_files = []
15324
+
15325
+ auth_names = ['JWT']
15326
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
15327
+ :header_params => header_params,
15328
+ :query_params => query_params,
15329
+ :body => post_body,
15330
+ :files => post_files,
15331
+ :auth_names => auth_names)
15332
+ return data, status_code, headers
15333
+ end
15334
+ # Convert Mathematical Text to MathML Format and saves result to the storage
15335
+ # @param name Document name.
15336
+ # @param slide_index Slide index.
15337
+ # @param shape_index Shape index.
15338
+ # @param paragraph_index Paragraph index.
15339
+ # @param portion_index Portion index.
15148
15340
  # @param out_path Path to save result.
15149
15341
  # @param password Document password.
15150
15342
  # @param folder Presentation folder.
@@ -31,6 +31,9 @@ module AsposeSlidesCloud
31
31
  # True if the axis has a visible title
32
32
  attr_accessor :has_title
33
33
 
34
+ # Axis title
35
+ attr_accessor :title
36
+
34
37
  # Axis position
35
38
  attr_accessor :position
36
39
 
@@ -144,6 +147,7 @@ module AsposeSlidesCloud
144
147
  {
145
148
  :'is_visible' => :'IsVisible',
146
149
  :'has_title' => :'HasTitle',
150
+ :'title' => :'Title',
147
151
  :'position' => :'Position',
148
152
  :'display_unit' => :'DisplayUnit',
149
153
  :'base_unit_scale' => :'BaseUnitScale',
@@ -188,6 +192,7 @@ module AsposeSlidesCloud
188
192
  {
189
193
  :'is_visible' => :'BOOLEAN',
190
194
  :'has_title' => :'BOOLEAN',
195
+ :'title' => :'ChartTitle',
191
196
  :'position' => :'String',
192
197
  :'display_unit' => :'String',
193
198
  :'base_unit_scale' => :'String',
@@ -243,6 +248,10 @@ module AsposeSlidesCloud
243
248
  self.has_title = attributes[:'HasTitle']
244
249
  end
245
250
 
251
+ if attributes.has_key?(:'Title')
252
+ self.title = attributes[:'Title']
253
+ end
254
+
246
255
  if attributes.has_key?(:'Position')
247
256
  self.position = attributes[:'Position']
248
257
  end
@@ -528,6 +537,7 @@ module AsposeSlidesCloud
528
537
  self.class == o.class &&
529
538
  is_visible == o.is_visible &&
530
539
  has_title == o.has_title &&
540
+ title == o.title &&
531
541
  position == o.position &&
532
542
  display_unit == o.display_unit &&
533
543
  base_unit_scale == o.base_unit_scale &&
@@ -575,7 +585,7 @@ module AsposeSlidesCloud
575
585
  # Calculates hash code according to all attributes.
576
586
  # @return [Fixnum] Hash code
577
587
  def hash
578
- [is_visible, has_title, position, display_unit, base_unit_scale, is_automatic_major_unit, major_unit, major_unit_scale, major_tick_mark, is_automatic_minor_unit, minor_unit, minor_unit_scale, minor_tick_mark, is_automatic_max_value, max_value, is_automatic_min_value, min_value, is_logarithmic, log_base, category_axis_type, axis_between_categories, label_offset, is_plot_order_reversed, is_number_format_linked_to_source, number_format, cross_type, cross_at, is_automatic_tick_marks_spacing, tick_marks_spacing, is_automatic_tick_label_spacing, tick_label_spacing, tick_label_position, tick_label_rotation_angle, fill_format, effect_format, line_format, major_grid_lines_format, minor_grid_lines_format].hash
588
+ [is_visible, has_title, title, position, display_unit, base_unit_scale, is_automatic_major_unit, major_unit, major_unit_scale, major_tick_mark, is_automatic_minor_unit, minor_unit, minor_unit_scale, minor_tick_mark, is_automatic_max_value, max_value, is_automatic_min_value, min_value, is_logarithmic, log_base, category_axis_type, axis_between_categories, label_offset, is_plot_order_reversed, is_number_format_linked_to_source, number_format, cross_type, cross_at, is_automatic_tick_marks_spacing, tick_marks_spacing, is_automatic_tick_label_spacing, tick_label_spacing, tick_label_position, tick_label_rotation_angle, fill_format, effect_format, line_format, major_grid_lines_format, minor_grid_lines_format].hash
579
589
  end
580
590
  end
581
591
  end
@@ -85,6 +85,7 @@ module AsposeSlidesCloud
85
85
  effect_format == o.effect_format &&
86
86
  three_d_format == o.three_d_format &&
87
87
  line_format == o.line_format &&
88
+ marker == o.marker &&
88
89
  type == o.type &&
89
90
  x_value == o.x_value &&
90
91
  y_value == o.y_value &&
@@ -103,7 +104,7 @@ module AsposeSlidesCloud
103
104
  # Calculates hash code according to all attributes.
104
105
  # @return [Fixnum] Hash code
105
106
  def hash
106
- [fill_format, effect_format, three_d_format, line_format, type, x_value, y_value, x_value_formula, y_value_formula, bubble_size, bubble_size_formula].hash
107
+ [fill_format, effect_format, three_d_format, line_format, marker, type, x_value, y_value, x_value_formula, y_value_formula, bubble_size, bubble_size_formula].hash
107
108
  end
108
109
  end
109
110
  end
@@ -40,6 +40,9 @@ module AsposeSlidesCloud
40
40
  # Data source type for categories.
41
41
  attr_accessor :data_source_for_categories
42
42
 
43
+ # True if the chart has a title.
44
+ attr_accessor :has_title
45
+
43
46
  # Gets or sets the title.
44
47
  attr_accessor :title
45
48
 
@@ -75,6 +78,7 @@ module AsposeSlidesCloud
75
78
  :'series' => :'Series',
76
79
  :'categories' => :'Categories',
77
80
  :'data_source_for_categories' => :'DataSourceForCategories',
81
+ :'has_title' => :'HasTitle',
78
82
  :'title' => :'Title',
79
83
  :'back_wall' => :'BackWall',
80
84
  :'side_wall' => :'SideWall',
@@ -95,6 +99,7 @@ module AsposeSlidesCloud
95
99
  :'series' => :'Array<Series>',
96
100
  :'categories' => :'Array<ChartCategory>',
97
101
  :'data_source_for_categories' => :'DataSource',
102
+ :'has_title' => :'BOOLEAN',
98
103
  :'title' => :'ChartTitle',
99
104
  :'back_wall' => :'ChartWall',
100
105
  :'side_wall' => :'ChartWall',
@@ -136,6 +141,10 @@ module AsposeSlidesCloud
136
141
  self.data_source_for_categories = attributes[:'DataSourceForCategories']
137
142
  end
138
143
 
144
+ if attributes.has_key?(:'HasTitle')
145
+ self.has_title = attributes[:'HasTitle']
146
+ end
147
+
139
148
  if attributes.has_key?(:'Title')
140
149
  self.title = attributes[:'Title']
141
150
  end
@@ -236,6 +245,7 @@ module AsposeSlidesCloud
236
245
  series == o.series &&
237
246
  categories == o.categories &&
238
247
  data_source_for_categories == o.data_source_for_categories &&
248
+ has_title == o.has_title &&
239
249
  title == o.title &&
240
250
  back_wall == o.back_wall &&
241
251
  side_wall == o.side_wall &&
@@ -256,7 +266,7 @@ module AsposeSlidesCloud
256
266
  # Calculates hash code according to all attributes.
257
267
  # @return [Fixnum] Hash code
258
268
  def hash
259
- [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, 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
269
+ [self_uri, alternate_links, name, width, height, alternative_text, alternative_text_title, hidden, is_decorative, 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, has_title, title, back_wall, side_wall, floor, legend, axes, plot_area, has_rounded_corners, series_groups].hash
260
270
  end
261
271
  end
262
272
  end
@@ -28,14 +28,42 @@ module AsposeSlidesCloud
28
28
  # Get or sets the text.
29
29
  attr_accessor :text
30
30
 
31
- # Get or sets value determines visibility of title
32
- attr_accessor :has_title
31
+ # the X location
32
+ attr_accessor :x
33
+
34
+ # the Y location
35
+ attr_accessor :y
36
+
37
+ # Width
38
+ attr_accessor :width
39
+
40
+ # Height
41
+ attr_accessor :height
42
+
43
+ # true if other elements are allowed to overlay the legend
44
+ attr_accessor :overlay
45
+
46
+ # Get or sets the fill format.
47
+ attr_accessor :fill_format
48
+
49
+ # Get or sets the effect format.
50
+ attr_accessor :effect_format
51
+
52
+ # Get or sets the line format.
53
+ attr_accessor :line_format
33
54
 
34
55
  # Attribute mapping from ruby-style variable name to JSON key.
35
56
  def self.attribute_map
36
57
  {
37
58
  :'text' => :'Text',
38
- :'has_title' => :'HasTitle',
59
+ :'x' => :'X',
60
+ :'y' => :'Y',
61
+ :'width' => :'Width',
62
+ :'height' => :'Height',
63
+ :'overlay' => :'Overlay',
64
+ :'fill_format' => :'FillFormat',
65
+ :'effect_format' => :'EffectFormat',
66
+ :'line_format' => :'LineFormat',
39
67
  }
40
68
  end
41
69
 
@@ -43,7 +71,14 @@ module AsposeSlidesCloud
43
71
  def self.swagger_types
44
72
  {
45
73
  :'text' => :'String',
46
- :'has_title' => :'BOOLEAN',
74
+ :'x' => :'Float',
75
+ :'y' => :'Float',
76
+ :'width' => :'Float',
77
+ :'height' => :'Float',
78
+ :'overlay' => :'BOOLEAN',
79
+ :'fill_format' => :'FillFormat',
80
+ :'effect_format' => :'EffectFormat',
81
+ :'line_format' => :'LineFormat',
47
82
  }
48
83
  end
49
84
 
@@ -59,8 +94,36 @@ module AsposeSlidesCloud
59
94
  self.text = attributes[:'Text']
60
95
  end
61
96
 
62
- if attributes.has_key?(:'HasTitle')
63
- self.has_title = attributes[:'HasTitle']
97
+ if attributes.has_key?(:'X')
98
+ self.x = attributes[:'X']
99
+ end
100
+
101
+ if attributes.has_key?(:'Y')
102
+ self.y = attributes[:'Y']
103
+ end
104
+
105
+ if attributes.has_key?(:'Width')
106
+ self.width = attributes[:'Width']
107
+ end
108
+
109
+ if attributes.has_key?(:'Height')
110
+ self.height = attributes[:'Height']
111
+ end
112
+
113
+ if attributes.has_key?(:'Overlay')
114
+ self.overlay = attributes[:'Overlay']
115
+ end
116
+
117
+ if attributes.has_key?(:'FillFormat')
118
+ self.fill_format = attributes[:'FillFormat']
119
+ end
120
+
121
+ if attributes.has_key?(:'EffectFormat')
122
+ self.effect_format = attributes[:'EffectFormat']
123
+ end
124
+
125
+ if attributes.has_key?(:'LineFormat')
126
+ self.line_format = attributes[:'LineFormat']
64
127
  end
65
128
  end
66
129
 
@@ -68,17 +131,12 @@ module AsposeSlidesCloud
68
131
  # @return Array for valid properties with the reasons
69
132
  def list_invalid_properties
70
133
  invalid_properties = Array.new
71
- if @has_title.nil?
72
- invalid_properties.push('invalid value for "has_title", has_title cannot be nil.')
73
- end
74
-
75
134
  invalid_properties
76
135
  end
77
136
 
78
137
  # Check to see if the all the properties in the model are valid
79
138
  # @return true if the model is valid
80
139
  def valid?
81
- return false if @has_title.nil?
82
140
  true
83
141
  end
84
142
 
@@ -88,7 +146,14 @@ module AsposeSlidesCloud
88
146
  return true if self.equal?(o)
89
147
  self.class == o.class &&
90
148
  text == o.text &&
91
- has_title == o.has_title
149
+ x == o.x &&
150
+ y == o.y &&
151
+ width == o.width &&
152
+ height == o.height &&
153
+ overlay == o.overlay &&
154
+ fill_format == o.fill_format &&
155
+ effect_format == o.effect_format &&
156
+ line_format == o.line_format
92
157
  end
93
158
 
94
159
  # @see the `==` method
@@ -100,7 +165,7 @@ module AsposeSlidesCloud
100
165
  # Calculates hash code according to all attributes.
101
166
  # @return [Fixnum] Hash code
102
167
  def hash
103
- [text, has_title].hash
168
+ [text, x, y, width, height, overlay, fill_format, effect_format, line_format].hash
104
169
  end
105
170
  end
106
171
  end