aspose_words_cloud 20.5.0 → 20.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (23) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +2 -1
  3. data/lib/aspose_words_cloud/api/words_api.rb +877 -92
  4. data/lib/aspose_words_cloud/models/drawing_object_insert.rb +345 -0
  5. data/lib/aspose_words_cloud/models/{styles.rb → drawing_object_update.rb} +137 -19
  6. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +27 -1
  7. data/lib/aspose_words_cloud/models/requests/ApplyStyleToDocumentElementRequest.rb +2 -2
  8. data/lib/aspose_words_cloud/models/requests/DeleteAllParagraphTabStopsWithoutNodePathRequest.rb +69 -0
  9. data/lib/aspose_words_cloud/models/requests/DeleteParagraphListFormatWithoutNodePathRequest.rb +77 -0
  10. data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopRequest.rb +5 -5
  11. data/lib/aspose_words_cloud/models/requests/DeleteParagraphTabStopWithoutNodePathRequest.rb +73 -0
  12. data/lib/aspose_words_cloud/models/requests/GetParagraphTabStopsWithoutNodePathRequest.rb +65 -0
  13. data/lib/aspose_words_cloud/models/requests/GetStyleFromDocumentElementRequest.rb +2 -2
  14. data/lib/aspose_words_cloud/models/requests/InsertDrawingObjectRequest.rb +2 -2
  15. data/lib/aspose_words_cloud/models/requests/InsertDrawingObjectWithoutNodePathRequest.rb +2 -2
  16. data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopRequest.rb +5 -5
  17. data/lib/aspose_words_cloud/models/requests/InsertOrUpdateParagraphTabStopWithoutNodePathRequest.rb +73 -0
  18. data/lib/aspose_words_cloud/models/requests/InsertParagraphWithoutNodePathRequest.rb +81 -0
  19. data/lib/aspose_words_cloud/models/requests/UpdateParagraphFormatWithoutNodePathRequest.rb +81 -0
  20. data/lib/aspose_words_cloud/models/requests/UpdateParagraphListFormatWithoutNodePathRequest.rb +81 -0
  21. data/lib/aspose_words_cloud/models/styles_response.rb +5 -2
  22. data/lib/aspose_words_cloud/version.rb +1 -1
  23. metadata +12 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b9ed23b6055cc7908fad48803d70e77b5094e5cbeba6d0fc92b6ae0fef772144
4
- data.tar.gz: 0a2f568d59f0c8af84e691a3cca1d715e7bf46f463b4631edf9111f6c8f8095e
3
+ metadata.gz: c982d156440d01e320351d7ed043889745ece27b2c19608e9df32f7f32c838d1
4
+ data.tar.gz: a2267f53f6a5034cd9ae70603d807ce7aa810474c006220628ed527ff93c8dea
5
5
  SHA512:
6
- metadata.gz: bfec082b8620223741a6a5556cfa374270243b94ba4ed75c28712b65924f41fd1b1621a3313277ab67c768f8208d6a671fd1ede46785782ed4b6230f5e9c8555
7
- data.tar.gz: 6214cde840d53bef4427f1058cdc4da974e37b98c4e3bcb0c94b3b28fad60d3e270e89bbba1d025ea7ed042dd21715ef73089db4bbd70aece35ec9586b1625e8
6
+ metadata.gz: d4956136fd10ef65a5ffefbf119350214c860c5bde767069dffcedda6edea908ebc99aa3a5d29dcd7f415e776a08039f0e0cdc6944db5a043aa936db3a40c81f
7
+ data.tar.gz: 2b4a75690f132238f990412794dc69d427c2ea65966f19d0ec77740a17c55bb1a23c896dcc33c0928c1faf18ab01c09345c524e7f3770b813032412ed3436450
@@ -83,8 +83,10 @@ require_relative 'aspose_words_cloud/models/document_stat_data'
83
83
  require_relative 'aspose_words_cloud/models/downsample_options_data'
84
84
  require_relative 'aspose_words_cloud/models/drawing_object'
85
85
  require_relative 'aspose_words_cloud/models/drawing_object_collection'
86
+ require_relative 'aspose_words_cloud/models/drawing_object_insert'
86
87
  require_relative 'aspose_words_cloud/models/drawing_object_link'
87
88
  require_relative 'aspose_words_cloud/models/drawing_object_response'
89
+ require_relative 'aspose_words_cloud/models/drawing_object_update'
88
90
  require_relative 'aspose_words_cloud/models/drawing_objects_response'
89
91
  require_relative 'aspose_words_cloud/models/emf_save_options_data'
90
92
  require_relative 'aspose_words_cloud/models/epub_save_options_data'
@@ -229,7 +231,6 @@ require_relative 'aspose_words_cloud/models/style_copy'
229
231
  require_relative 'aspose_words_cloud/models/style_insert'
230
232
  require_relative 'aspose_words_cloud/models/style_response'
231
233
  require_relative 'aspose_words_cloud/models/style_update'
232
- require_relative 'aspose_words_cloud/models/styles'
233
234
  require_relative 'aspose_words_cloud/models/styles_response'
234
235
  require_relative 'aspose_words_cloud/models/svg_save_options_data'
235
236
  require_relative 'aspose_words_cloud/models/tab_stop'
@@ -228,7 +228,7 @@ module AsposeWordsCloud
228
228
  [data, status_code, headers]
229
229
  end
230
230
 
231
- # Apply a style to the document node. Supported node types: ParagraphFormat, List, ListLevel, Table.
231
+ # Apply a style to the document node.
232
232
  #
233
233
  # @param request ApplyStyleToDocumentElementRequest
234
234
  # @return [WordsResponse]
@@ -246,7 +246,7 @@ module AsposeWordsCloud
246
246
  data
247
247
  end
248
248
 
249
- # Apply a style to the document node. Supported node types: ParagraphFormat, List, ListLevel, Table.
249
+ # Apply a style to the document node.
250
250
  #
251
251
  # @param request ApplyStyleToDocumentElementRequest
252
252
  # @return [Array<(WordsResponse, Fixnum, Hash)>]
@@ -1002,7 +1002,7 @@ module AsposeWordsCloud
1002
1002
  [data, status_code, headers]
1003
1003
  end
1004
1004
 
1005
- # Copy and insert a new style to the document, returns an copied style.
1005
+ # Copy and insert a new style to the document, returns a copied style.
1006
1006
  #
1007
1007
  # @param request CopyStyleRequest
1008
1008
  # @return [StyleResponse]
@@ -1020,7 +1020,7 @@ module AsposeWordsCloud
1020
1020
  data
1021
1021
  end
1022
1022
 
1023
- # Copy and insert a new style to the document, returns an copied style.
1023
+ # Copy and insert a new style to the document, returns a copied style.
1024
1024
  #
1025
1025
  # @param request CopyStyleRequest
1026
1026
  # @return [Array<(StyleResponse, Fixnum, Hash)>]
@@ -1446,6 +1446,98 @@ module AsposeWordsCloud
1446
1446
  [data, status_code, headers]
1447
1447
  end
1448
1448
 
1449
+ # Remove all tab stops.
1450
+ #
1451
+ # @param request DeleteAllParagraphTabStopsWithoutNodePathRequest
1452
+ # @return [TabStopsResponse]
1453
+ def delete_all_paragraph_tab_stops_without_node_path(request)
1454
+ begin
1455
+ data, _status_code, _headers = delete_all_paragraph_tab_stops_without_node_path_with_http_info(request)
1456
+ rescue ApiError => e
1457
+ if e.code == 401
1458
+ request_token
1459
+ data, _status_code, _headers = delete_all_paragraph_tab_stops_without_node_path_with_http_info(request)
1460
+ else
1461
+ raise
1462
+ end
1463
+ end
1464
+ data
1465
+ end
1466
+
1467
+ # Remove all tab stops.
1468
+ #
1469
+ # @param request DeleteAllParagraphTabStopsWithoutNodePathRequest
1470
+ # @return [Array<(TabStopsResponse, Fixnum, Hash)>]
1471
+ # TabStopsResponse data, response status code and response headers
1472
+ private def delete_all_paragraph_tab_stops_without_node_path_with_http_info(request)
1473
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? DeleteAllParagraphTabStopsWithoutNodePathRequest
1474
+
1475
+ @api_client.config.logger.debug 'Calling API: WordsApi.delete_all_paragraph_tab_stops_without_node_path ...' if @api_client.config.debugging
1476
+ # verify the required parameter 'name' is set
1477
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_all_paragraph_tab_stops_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
1478
+ # verify the required parameter 'index' is set
1479
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_all_paragraph_tab_stops_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
1480
+ # resource path
1481
+ local_var_path = '/words/{name}/paragraphs/{index}/tabstops'[1..-1]
1482
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
1483
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
1484
+
1485
+ # query parameters
1486
+ query_params = {}
1487
+ if local_var_path.include? downcase_first_letter('Folder')
1488
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
1489
+ else
1490
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
1491
+ end
1492
+ if local_var_path.include? downcase_first_letter('Storage')
1493
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
1494
+ else
1495
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
1496
+ end
1497
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
1498
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
1499
+ else
1500
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
1501
+ end
1502
+ if local_var_path.include? downcase_first_letter('Password')
1503
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
1504
+ else
1505
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
1506
+ end
1507
+ if local_var_path.include? downcase_first_letter('DestFileName')
1508
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
1509
+ else
1510
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
1511
+ end
1512
+
1513
+ # header parameters
1514
+ header_params = {}
1515
+ # HTTP header 'Accept' (if needed)
1516
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
1517
+ # HTTP header 'Content-Type'
1518
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
1519
+
1520
+ # form parameters
1521
+ form_params = {}
1522
+
1523
+ # http body (model)
1524
+ post_body = nil
1525
+ auth_names = ['JWT']
1526
+
1527
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
1528
+ header_params: header_params,
1529
+ query_params: query_params,
1530
+ form_params: form_params,
1531
+ body: post_body,
1532
+ auth_names: auth_names,
1533
+ return_type: 'TabStopsResponse')
1534
+ if @api_client.config.debugging
1535
+ @api_client.config.logger.debug "API called:
1536
+ WordsApi#delete_all_paragraph_tab_stops_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1537
+ end
1538
+ [data, status_code, headers]
1539
+ end
1540
+
1449
1541
  # Resets border properties to default values.
1450
1542
  # 'nodePath' should refer to paragraph, cell or row.
1451
1543
  # @param request DeleteBorderRequest
@@ -3744,6 +3836,108 @@ module AsposeWordsCloud
3744
3836
  [data, status_code, headers]
3745
3837
  end
3746
3838
 
3839
+ # Delete paragraph list format, returns updated list format properties.
3840
+ #
3841
+ # @param request DeleteParagraphListFormatWithoutNodePathRequest
3842
+ # @return [ParagraphListFormatResponse]
3843
+ def delete_paragraph_list_format_without_node_path(request)
3844
+ begin
3845
+ data, _status_code, _headers = delete_paragraph_list_format_without_node_path_with_http_info(request)
3846
+ rescue ApiError => e
3847
+ if e.code == 401
3848
+ request_token
3849
+ data, _status_code, _headers = delete_paragraph_list_format_without_node_path_with_http_info(request)
3850
+ else
3851
+ raise
3852
+ end
3853
+ end
3854
+ data
3855
+ end
3856
+
3857
+ # Delete paragraph list format, returns updated list format properties.
3858
+ #
3859
+ # @param request DeleteParagraphListFormatWithoutNodePathRequest
3860
+ # @return [Array<(ParagraphListFormatResponse, Fixnum, Hash)>]
3861
+ # ParagraphListFormatResponse data, response status code and response headers
3862
+ private def delete_paragraph_list_format_without_node_path_with_http_info(request)
3863
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? DeleteParagraphListFormatWithoutNodePathRequest
3864
+
3865
+ @api_client.config.logger.debug 'Calling API: WordsApi.delete_paragraph_list_format_without_node_path ...' if @api_client.config.debugging
3866
+ # verify the required parameter 'name' is set
3867
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
3868
+ # verify the required parameter 'index' is set
3869
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
3870
+ # resource path
3871
+ local_var_path = '/words/{name}/paragraphs/{index}/listFormat'[1..-1]
3872
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
3873
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
3874
+
3875
+ # query parameters
3876
+ query_params = {}
3877
+ if local_var_path.include? downcase_first_letter('Folder')
3878
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
3879
+ else
3880
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
3881
+ end
3882
+ if local_var_path.include? downcase_first_letter('Storage')
3883
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
3884
+ else
3885
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
3886
+ end
3887
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
3888
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
3889
+ else
3890
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
3891
+ end
3892
+ if local_var_path.include? downcase_first_letter('Password')
3893
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
3894
+ else
3895
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
3896
+ end
3897
+ if local_var_path.include? downcase_first_letter('DestFileName')
3898
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
3899
+ else
3900
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
3901
+ end
3902
+ if local_var_path.include? downcase_first_letter('RevisionAuthor')
3903
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionAuthor') + '}', request.revision_author.to_s)
3904
+ else
3905
+ query_params[downcase_first_letter('RevisionAuthor')] = request.revision_author unless request.revision_author.nil?
3906
+ end
3907
+ if local_var_path.include? downcase_first_letter('RevisionDateTime')
3908
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionDateTime') + '}', request.revision_date_time.to_s)
3909
+ else
3910
+ query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
3911
+ end
3912
+
3913
+ # header parameters
3914
+ header_params = {}
3915
+ # HTTP header 'Accept' (if needed)
3916
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
3917
+ # HTTP header 'Content-Type'
3918
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
3919
+
3920
+ # form parameters
3921
+ form_params = {}
3922
+
3923
+ # http body (model)
3924
+ post_body = nil
3925
+ auth_names = ['JWT']
3926
+
3927
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
3928
+ header_params: header_params,
3929
+ query_params: query_params,
3930
+ form_params: form_params,
3931
+ body: post_body,
3932
+ auth_names: auth_names,
3933
+ return_type: 'ParagraphListFormatResponse')
3934
+ if @api_client.config.debugging
3935
+ @api_client.config.logger.debug "API called:
3936
+ WordsApi#delete_paragraph_list_format_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3937
+ end
3938
+ [data, status_code, headers]
3939
+ end
3940
+
3747
3941
  # Remove the i-th tab stop.
3748
3942
  #
3749
3943
  # @param request DeleteParagraphTabStopRequest
@@ -3773,10 +3967,10 @@ module AsposeWordsCloud
3773
3967
  @api_client.config.logger.debug 'Calling API: WordsApi.delete_paragraph_tab_stop ...' if @api_client.config.debugging
3774
3968
  # verify the required parameter 'name' is set
3775
3969
  raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_paragraph_tab_stop' if @api_client.config.client_side_validation && request.name.nil?
3776
- # verify the required parameter 'node_path' is set
3777
- raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.delete_paragraph_tab_stop' if @api_client.config.client_side_validation && request.node_path.nil?
3778
3970
  # verify the required parameter 'position' is set
3779
3971
  raise ArgumentError, 'Missing the required parameter position when calling WordsApi.delete_paragraph_tab_stop' if @api_client.config.client_side_validation && request.position.nil?
3972
+ # verify the required parameter 'node_path' is set
3973
+ raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.delete_paragraph_tab_stop' if @api_client.config.client_side_validation && request.node_path.nil?
3780
3974
  # verify the required parameter 'index' is set
3781
3975
  raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_paragraph_tab_stop' if @api_client.config.client_side_validation && request.index.nil?
3782
3976
  # resource path
@@ -3843,6 +4037,102 @@ module AsposeWordsCloud
3843
4037
  [data, status_code, headers]
3844
4038
  end
3845
4039
 
4040
+ # Remove the i-th tab stop.
4041
+ #
4042
+ # @param request DeleteParagraphTabStopWithoutNodePathRequest
4043
+ # @return [TabStopsResponse]
4044
+ def delete_paragraph_tab_stop_without_node_path(request)
4045
+ begin
4046
+ data, _status_code, _headers = delete_paragraph_tab_stop_without_node_path_with_http_info(request)
4047
+ rescue ApiError => e
4048
+ if e.code == 401
4049
+ request_token
4050
+ data, _status_code, _headers = delete_paragraph_tab_stop_without_node_path_with_http_info(request)
4051
+ else
4052
+ raise
4053
+ end
4054
+ end
4055
+ data
4056
+ end
4057
+
4058
+ # Remove the i-th tab stop.
4059
+ #
4060
+ # @param request DeleteParagraphTabStopWithoutNodePathRequest
4061
+ # @return [Array<(TabStopsResponse, Fixnum, Hash)>]
4062
+ # TabStopsResponse data, response status code and response headers
4063
+ private def delete_paragraph_tab_stop_without_node_path_with_http_info(request)
4064
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? DeleteParagraphTabStopWithoutNodePathRequest
4065
+
4066
+ @api_client.config.logger.debug 'Calling API: WordsApi.delete_paragraph_tab_stop_without_node_path ...' if @api_client.config.debugging
4067
+ # verify the required parameter 'name' is set
4068
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.delete_paragraph_tab_stop_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
4069
+ # verify the required parameter 'position' is set
4070
+ raise ArgumentError, 'Missing the required parameter position when calling WordsApi.delete_paragraph_tab_stop_without_node_path' if @api_client.config.client_side_validation && request.position.nil?
4071
+ # verify the required parameter 'index' is set
4072
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.delete_paragraph_tab_stop_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
4073
+ # resource path
4074
+ local_var_path = '/words/{name}/paragraphs/{index}/tabstop'[1..-1]
4075
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
4076
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
4077
+
4078
+ # query parameters
4079
+ query_params = {}
4080
+ query_params[downcase_first_letter('Position')] = request.position
4081
+
4082
+ if local_var_path.include? downcase_first_letter('Folder')
4083
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
4084
+ else
4085
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
4086
+ end
4087
+ if local_var_path.include? downcase_first_letter('Storage')
4088
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
4089
+ else
4090
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
4091
+ end
4092
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
4093
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
4094
+ else
4095
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
4096
+ end
4097
+ if local_var_path.include? downcase_first_letter('Password')
4098
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
4099
+ else
4100
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
4101
+ end
4102
+ if local_var_path.include? downcase_first_letter('DestFileName')
4103
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
4104
+ else
4105
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
4106
+ end
4107
+
4108
+ # header parameters
4109
+ header_params = {}
4110
+ # HTTP header 'Accept' (if needed)
4111
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
4112
+ # HTTP header 'Content-Type'
4113
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
4114
+
4115
+ # form parameters
4116
+ form_params = {}
4117
+
4118
+ # http body (model)
4119
+ post_body = nil
4120
+ auth_names = ['JWT']
4121
+
4122
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
4123
+ header_params: header_params,
4124
+ query_params: query_params,
4125
+ form_params: form_params,
4126
+ body: post_body,
4127
+ auth_names: auth_names,
4128
+ return_type: 'TabStopsResponse')
4129
+ if @api_client.config.debugging
4130
+ @api_client.config.logger.debug "API called:
4131
+ WordsApi#delete_paragraph_tab_stop_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
4132
+ end
4133
+ [data, status_code, headers]
4134
+ end
4135
+
3846
4136
  # Removes paragraph from section.
3847
4137
  #
3848
4138
  # @param request DeleteParagraphWithoutNodePathRequest
@@ -9285,17 +9575,104 @@ module AsposeWordsCloud
9285
9575
  private def get_paragraph_list_format_with_http_info(request)
9286
9576
  raise ArgumentError, 'Incorrect request type' unless request.is_a? GetParagraphListFormatRequest
9287
9577
 
9288
- @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_list_format ...' if @api_client.config.debugging
9578
+ @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_list_format ...' if @api_client.config.debugging
9579
+ # verify the required parameter 'name' is set
9580
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_list_format' if @api_client.config.client_side_validation && request.name.nil?
9581
+ # verify the required parameter 'node_path' is set
9582
+ raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.get_paragraph_list_format' if @api_client.config.client_side_validation && request.node_path.nil?
9583
+ # verify the required parameter 'index' is set
9584
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_list_format' if @api_client.config.client_side_validation && request.index.nil?
9585
+ # resource path
9586
+ local_var_path = '/words/{name}/{nodePath}/paragraphs/{index}/listFormat'[1..-1]
9587
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
9588
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', request.node_path.to_s)
9589
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
9590
+
9591
+ # query parameters
9592
+ query_params = {}
9593
+ if local_var_path.include? downcase_first_letter('Folder')
9594
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
9595
+ else
9596
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
9597
+ end
9598
+ if local_var_path.include? downcase_first_letter('Storage')
9599
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
9600
+ else
9601
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
9602
+ end
9603
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
9604
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
9605
+ else
9606
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
9607
+ end
9608
+ if local_var_path.include? downcase_first_letter('Password')
9609
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
9610
+ else
9611
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
9612
+ end
9613
+
9614
+ # header parameters
9615
+ header_params = {}
9616
+ # HTTP header 'Accept' (if needed)
9617
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
9618
+ # HTTP header 'Content-Type'
9619
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
9620
+
9621
+ # form parameters
9622
+ form_params = {}
9623
+
9624
+ # http body (model)
9625
+ post_body = nil
9626
+ auth_names = ['JWT']
9627
+
9628
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
9629
+ header_params: header_params,
9630
+ query_params: query_params,
9631
+ form_params: form_params,
9632
+ body: post_body,
9633
+ auth_names: auth_names,
9634
+ return_type: 'ParagraphListFormatResponse')
9635
+ if @api_client.config.debugging
9636
+ @api_client.config.logger.debug "API called:
9637
+ WordsApi#get_paragraph_list_format\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9638
+ end
9639
+ [data, status_code, headers]
9640
+ end
9641
+
9642
+ # Represents list format for a paragraph.
9643
+ #
9644
+ # @param request GetParagraphListFormatWithoutNodePathRequest
9645
+ # @return [ParagraphListFormatResponse]
9646
+ def get_paragraph_list_format_without_node_path(request)
9647
+ begin
9648
+ data, _status_code, _headers = get_paragraph_list_format_without_node_path_with_http_info(request)
9649
+ rescue ApiError => e
9650
+ if e.code == 401
9651
+ request_token
9652
+ data, _status_code, _headers = get_paragraph_list_format_without_node_path_with_http_info(request)
9653
+ else
9654
+ raise
9655
+ end
9656
+ end
9657
+ data
9658
+ end
9659
+
9660
+ # Represents list format for a paragraph.
9661
+ #
9662
+ # @param request GetParagraphListFormatWithoutNodePathRequest
9663
+ # @return [Array<(ParagraphListFormatResponse, Fixnum, Hash)>]
9664
+ # ParagraphListFormatResponse data, response status code and response headers
9665
+ private def get_paragraph_list_format_without_node_path_with_http_info(request)
9666
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? GetParagraphListFormatWithoutNodePathRequest
9667
+
9668
+ @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_list_format_without_node_path ...' if @api_client.config.debugging
9289
9669
  # verify the required parameter 'name' is set
9290
- raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_list_format' if @api_client.config.client_side_validation && request.name.nil?
9291
- # verify the required parameter 'node_path' is set
9292
- raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.get_paragraph_list_format' if @api_client.config.client_side_validation && request.node_path.nil?
9670
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
9293
9671
  # verify the required parameter 'index' is set
9294
- raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_list_format' if @api_client.config.client_side_validation && request.index.nil?
9672
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
9295
9673
  # resource path
9296
- local_var_path = '/words/{name}/{nodePath}/paragraphs/{index}/listFormat'[1..-1]
9674
+ local_var_path = '/words/{name}/paragraphs/{index}/listFormat'[1..-1]
9297
9675
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
9298
- local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', request.node_path.to_s)
9299
9676
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
9300
9677
 
9301
9678
  # query parameters
@@ -9344,22 +9721,22 @@ module AsposeWordsCloud
9344
9721
  return_type: 'ParagraphListFormatResponse')
9345
9722
  if @api_client.config.debugging
9346
9723
  @api_client.config.logger.debug "API called:
9347
- WordsApi#get_paragraph_list_format\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9724
+ WordsApi#get_paragraph_list_format_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9348
9725
  end
9349
9726
  [data, status_code, headers]
9350
9727
  end
9351
9728
 
9352
- # Represents list format for a paragraph.
9729
+ # Get all tab stops for the paragraph.
9353
9730
  #
9354
- # @param request GetParagraphListFormatWithoutNodePathRequest
9355
- # @return [ParagraphListFormatResponse]
9356
- def get_paragraph_list_format_without_node_path(request)
9731
+ # @param request GetParagraphTabStopsRequest
9732
+ # @return [TabStopsResponse]
9733
+ def get_paragraph_tab_stops(request)
9357
9734
  begin
9358
- data, _status_code, _headers = get_paragraph_list_format_without_node_path_with_http_info(request)
9735
+ data, _status_code, _headers = get_paragraph_tab_stops_with_http_info(request)
9359
9736
  rescue ApiError => e
9360
9737
  if e.code == 401
9361
9738
  request_token
9362
- data, _status_code, _headers = get_paragraph_list_format_without_node_path_with_http_info(request)
9739
+ data, _status_code, _headers = get_paragraph_tab_stops_with_http_info(request)
9363
9740
  else
9364
9741
  raise
9365
9742
  end
@@ -9367,22 +9744,25 @@ module AsposeWordsCloud
9367
9744
  data
9368
9745
  end
9369
9746
 
9370
- # Represents list format for a paragraph.
9747
+ # Get all tab stops for the paragraph.
9371
9748
  #
9372
- # @param request GetParagraphListFormatWithoutNodePathRequest
9373
- # @return [Array<(ParagraphListFormatResponse, Fixnum, Hash)>]
9374
- # ParagraphListFormatResponse data, response status code and response headers
9375
- private def get_paragraph_list_format_without_node_path_with_http_info(request)
9376
- raise ArgumentError, 'Incorrect request type' unless request.is_a? GetParagraphListFormatWithoutNodePathRequest
9749
+ # @param request GetParagraphTabStopsRequest
9750
+ # @return [Array<(TabStopsResponse, Fixnum, Hash)>]
9751
+ # TabStopsResponse data, response status code and response headers
9752
+ private def get_paragraph_tab_stops_with_http_info(request)
9753
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? GetParagraphTabStopsRequest
9377
9754
 
9378
- @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_list_format_without_node_path ...' if @api_client.config.debugging
9755
+ @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_tab_stops ...' if @api_client.config.debugging
9379
9756
  # verify the required parameter 'name' is set
9380
- raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
9757
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_tab_stops' if @api_client.config.client_side_validation && request.name.nil?
9758
+ # verify the required parameter 'node_path' is set
9759
+ raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.get_paragraph_tab_stops' if @api_client.config.client_side_validation && request.node_path.nil?
9381
9760
  # verify the required parameter 'index' is set
9382
- raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
9761
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_tab_stops' if @api_client.config.client_side_validation && request.index.nil?
9383
9762
  # resource path
9384
- local_var_path = '/words/{name}/paragraphs/{index}/listFormat'[1..-1]
9763
+ local_var_path = '/words/{name}/{nodePath}/paragraphs/{index}/tabstops'[1..-1]
9385
9764
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
9765
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', request.node_path.to_s)
9386
9766
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
9387
9767
 
9388
9768
  # query parameters
@@ -9428,25 +9808,25 @@ module AsposeWordsCloud
9428
9808
  form_params: form_params,
9429
9809
  body: post_body,
9430
9810
  auth_names: auth_names,
9431
- return_type: 'ParagraphListFormatResponse')
9811
+ return_type: 'TabStopsResponse')
9432
9812
  if @api_client.config.debugging
9433
9813
  @api_client.config.logger.debug "API called:
9434
- WordsApi#get_paragraph_list_format_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9814
+ WordsApi#get_paragraph_tab_stops\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9435
9815
  end
9436
9816
  [data, status_code, headers]
9437
9817
  end
9438
9818
 
9439
9819
  # Get all tab stops for the paragraph.
9440
9820
  #
9441
- # @param request GetParagraphTabStopsRequest
9821
+ # @param request GetParagraphTabStopsWithoutNodePathRequest
9442
9822
  # @return [TabStopsResponse]
9443
- def get_paragraph_tab_stops(request)
9823
+ def get_paragraph_tab_stops_without_node_path(request)
9444
9824
  begin
9445
- data, _status_code, _headers = get_paragraph_tab_stops_with_http_info(request)
9825
+ data, _status_code, _headers = get_paragraph_tab_stops_without_node_path_with_http_info(request)
9446
9826
  rescue ApiError => e
9447
9827
  if e.code == 401
9448
9828
  request_token
9449
- data, _status_code, _headers = get_paragraph_tab_stops_with_http_info(request)
9829
+ data, _status_code, _headers = get_paragraph_tab_stops_without_node_path_with_http_info(request)
9450
9830
  else
9451
9831
  raise
9452
9832
  end
@@ -9456,23 +9836,20 @@ module AsposeWordsCloud
9456
9836
 
9457
9837
  # Get all tab stops for the paragraph.
9458
9838
  #
9459
- # @param request GetParagraphTabStopsRequest
9839
+ # @param request GetParagraphTabStopsWithoutNodePathRequest
9460
9840
  # @return [Array<(TabStopsResponse, Fixnum, Hash)>]
9461
9841
  # TabStopsResponse data, response status code and response headers
9462
- private def get_paragraph_tab_stops_with_http_info(request)
9463
- raise ArgumentError, 'Incorrect request type' unless request.is_a? GetParagraphTabStopsRequest
9842
+ private def get_paragraph_tab_stops_without_node_path_with_http_info(request)
9843
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? GetParagraphTabStopsWithoutNodePathRequest
9464
9844
 
9465
- @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_tab_stops ...' if @api_client.config.debugging
9845
+ @api_client.config.logger.debug 'Calling API: WordsApi.get_paragraph_tab_stops_without_node_path ...' if @api_client.config.debugging
9466
9846
  # verify the required parameter 'name' is set
9467
- raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_tab_stops' if @api_client.config.client_side_validation && request.name.nil?
9468
- # verify the required parameter 'node_path' is set
9469
- raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.get_paragraph_tab_stops' if @api_client.config.client_side_validation && request.node_path.nil?
9847
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_paragraph_tab_stops_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
9470
9848
  # verify the required parameter 'index' is set
9471
- raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_tab_stops' if @api_client.config.client_side_validation && request.index.nil?
9849
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.get_paragraph_tab_stops_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
9472
9850
  # resource path
9473
- local_var_path = '/words/{name}/{nodePath}/paragraphs/{index}/tabstops'[1..-1]
9851
+ local_var_path = '/words/{name}/paragraphs/{index}/tabstops'[1..-1]
9474
9852
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
9475
- local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', request.node_path.to_s)
9476
9853
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
9477
9854
 
9478
9855
  # query parameters
@@ -9521,7 +9898,7 @@ module AsposeWordsCloud
9521
9898
  return_type: 'TabStopsResponse')
9522
9899
  if @api_client.config.debugging
9523
9900
  @api_client.config.logger.debug "API called:
9524
- WordsApi#get_paragraph_tab_stops\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9901
+ WordsApi#get_paragraph_tab_stops_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
9525
9902
  end
9526
9903
  [data, status_code, headers]
9527
9904
  end
@@ -10484,7 +10861,7 @@ module AsposeWordsCloud
10484
10861
  [data, status_code, headers]
10485
10862
  end
10486
10863
 
10487
- # Gets a style from the document node. Supported node types: ParagraphFormat, List, ListLevel, Table.
10864
+ # Gets a style from the document node.
10488
10865
  #
10489
10866
  # @param request GetStyleFromDocumentElementRequest
10490
10867
  # @return [StyleResponse]
@@ -10502,7 +10879,7 @@ module AsposeWordsCloud
10502
10879
  data
10503
10880
  end
10504
10881
 
10505
- # Gets a style from the document node. Supported node types: ParagraphFormat, List, ListLevel, Table.
10882
+ # Gets a style from the document node.
10506
10883
  #
10507
10884
  # @param request GetStyleFromDocumentElementRequest
10508
10885
  # @return [Array<(StyleResponse, Fixnum, Hash)>]
@@ -12723,10 +13100,10 @@ module AsposeWordsCloud
12723
13100
  @api_client.config.logger.debug 'Calling API: WordsApi.insert_or_update_paragraph_tab_stop ...' if @api_client.config.debugging
12724
13101
  # verify the required parameter 'name' is set
12725
13102
  raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_or_update_paragraph_tab_stop' if @api_client.config.client_side_validation && request.name.nil?
12726
- # verify the required parameter 'node_path' is set
12727
- raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.insert_or_update_paragraph_tab_stop' if @api_client.config.client_side_validation && request.node_path.nil?
12728
13103
  # verify the required parameter 'dto' is set
12729
13104
  raise ArgumentError, 'Missing the required parameter dto when calling WordsApi.insert_or_update_paragraph_tab_stop' if @api_client.config.client_side_validation && request.dto.nil?
13105
+ # verify the required parameter 'node_path' is set
13106
+ raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.insert_or_update_paragraph_tab_stop' if @api_client.config.client_side_validation && request.node_path.nil?
12730
13107
  # verify the required parameter 'index' is set
12731
13108
  raise ArgumentError, 'Missing the required parameter index when calling WordsApi.insert_or_update_paragraph_tab_stop' if @api_client.config.client_side_validation && request.index.nil?
12732
13109
  # resource path
@@ -12777,31 +13154,226 @@ module AsposeWordsCloud
12777
13154
  post_body = @api_client.object_to_http_body(request.dto)
12778
13155
  auth_names = ['JWT']
12779
13156
 
12780
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
13157
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
13158
+ header_params: header_params,
13159
+ query_params: query_params,
13160
+ form_params: form_params,
13161
+ body: post_body,
13162
+ auth_names: auth_names,
13163
+ return_type: 'TabStopsResponse')
13164
+ if @api_client.config.debugging
13165
+ @api_client.config.logger.debug "API called:
13166
+ WordsApi#insert_or_update_paragraph_tab_stop\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13167
+ end
13168
+ [data, status_code, headers]
13169
+ end
13170
+
13171
+ # Insert or resplace tab stop if a tab stop with the position exists.
13172
+ #
13173
+ # @param request InsertOrUpdateParagraphTabStopWithoutNodePathRequest
13174
+ # @return [TabStopsResponse]
13175
+ def insert_or_update_paragraph_tab_stop_without_node_path(request)
13176
+ begin
13177
+ data, _status_code, _headers = insert_or_update_paragraph_tab_stop_without_node_path_with_http_info(request)
13178
+ rescue ApiError => e
13179
+ if e.code == 401
13180
+ request_token
13181
+ data, _status_code, _headers = insert_or_update_paragraph_tab_stop_without_node_path_with_http_info(request)
13182
+ else
13183
+ raise
13184
+ end
13185
+ end
13186
+ data
13187
+ end
13188
+
13189
+ # Insert or resplace tab stop if a tab stop with the position exists.
13190
+ #
13191
+ # @param request InsertOrUpdateParagraphTabStopWithoutNodePathRequest
13192
+ # @return [Array<(TabStopsResponse, Fixnum, Hash)>]
13193
+ # TabStopsResponse data, response status code and response headers
13194
+ private def insert_or_update_paragraph_tab_stop_without_node_path_with_http_info(request)
13195
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? InsertOrUpdateParagraphTabStopWithoutNodePathRequest
13196
+
13197
+ @api_client.config.logger.debug 'Calling API: WordsApi.insert_or_update_paragraph_tab_stop_without_node_path ...' if @api_client.config.debugging
13198
+ # verify the required parameter 'name' is set
13199
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_or_update_paragraph_tab_stop_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
13200
+ # verify the required parameter 'dto' is set
13201
+ raise ArgumentError, 'Missing the required parameter dto when calling WordsApi.insert_or_update_paragraph_tab_stop_without_node_path' if @api_client.config.client_side_validation && request.dto.nil?
13202
+ # verify the required parameter 'index' is set
13203
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.insert_or_update_paragraph_tab_stop_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
13204
+ # resource path
13205
+ local_var_path = '/words/{name}/paragraphs/{index}/tabstops'[1..-1]
13206
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
13207
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
13208
+
13209
+ # query parameters
13210
+ query_params = {}
13211
+ if local_var_path.include? downcase_first_letter('Folder')
13212
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
13213
+ else
13214
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
13215
+ end
13216
+ if local_var_path.include? downcase_first_letter('Storage')
13217
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
13218
+ else
13219
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
13220
+ end
13221
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
13222
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
13223
+ else
13224
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
13225
+ end
13226
+ if local_var_path.include? downcase_first_letter('Password')
13227
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
13228
+ else
13229
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
13230
+ end
13231
+ if local_var_path.include? downcase_first_letter('DestFileName')
13232
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
13233
+ else
13234
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
13235
+ end
13236
+
13237
+ # header parameters
13238
+ header_params = {}
13239
+ # HTTP header 'Accept' (if needed)
13240
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
13241
+ # HTTP header 'Content-Type'
13242
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
13243
+
13244
+ # form parameters
13245
+ form_params = {}
13246
+
13247
+ # http body (model)
13248
+ post_body = @api_client.object_to_http_body(request.dto)
13249
+ auth_names = ['JWT']
13250
+
13251
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
13252
+ header_params: header_params,
13253
+ query_params: query_params,
13254
+ form_params: form_params,
13255
+ body: post_body,
13256
+ auth_names: auth_names,
13257
+ return_type: 'TabStopsResponse')
13258
+ if @api_client.config.debugging
13259
+ @api_client.config.logger.debug "API called:
13260
+ WordsApi#insert_or_update_paragraph_tab_stop_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13261
+ end
13262
+ [data, status_code, headers]
13263
+ end
13264
+
13265
+ # Inserts document page numbers.
13266
+ #
13267
+ # @param request InsertPageNumbersRequest
13268
+ # @return [DocumentResponse]
13269
+ def insert_page_numbers(request)
13270
+ begin
13271
+ data, _status_code, _headers = insert_page_numbers_with_http_info(request)
13272
+ rescue ApiError => e
13273
+ if e.code == 401
13274
+ request_token
13275
+ data, _status_code, _headers = insert_page_numbers_with_http_info(request)
13276
+ else
13277
+ raise
13278
+ end
13279
+ end
13280
+ data
13281
+ end
13282
+
13283
+ # Inserts document page numbers.
13284
+ #
13285
+ # @param request InsertPageNumbersRequest
13286
+ # @return [Array<(DocumentResponse, Fixnum, Hash)>]
13287
+ # DocumentResponse data, response status code and response headers
13288
+ private def insert_page_numbers_with_http_info(request)
13289
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? InsertPageNumbersRequest
13290
+
13291
+ @api_client.config.logger.debug 'Calling API: WordsApi.insert_page_numbers ...' if @api_client.config.debugging
13292
+ # verify the required parameter 'name' is set
13293
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_page_numbers' if @api_client.config.client_side_validation && request.name.nil?
13294
+ # verify the required parameter 'page_number' is set
13295
+ raise ArgumentError, 'Missing the required parameter page_number when calling WordsApi.insert_page_numbers' if @api_client.config.client_side_validation && request.page_number.nil?
13296
+ # resource path
13297
+ local_var_path = '/words/{name}/PageNumbers'[1..-1]
13298
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
13299
+
13300
+ # query parameters
13301
+ query_params = {}
13302
+ if local_var_path.include? downcase_first_letter('Folder')
13303
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
13304
+ else
13305
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
13306
+ end
13307
+ if local_var_path.include? downcase_first_letter('Storage')
13308
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
13309
+ else
13310
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
13311
+ end
13312
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
13313
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
13314
+ else
13315
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
13316
+ end
13317
+ if local_var_path.include? downcase_first_letter('Password')
13318
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
13319
+ else
13320
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
13321
+ end
13322
+ if local_var_path.include? downcase_first_letter('DestFileName')
13323
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
13324
+ else
13325
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
13326
+ end
13327
+ if local_var_path.include? downcase_first_letter('RevisionAuthor')
13328
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionAuthor') + '}', request.revision_author.to_s)
13329
+ else
13330
+ query_params[downcase_first_letter('RevisionAuthor')] = request.revision_author unless request.revision_author.nil?
13331
+ end
13332
+ if local_var_path.include? downcase_first_letter('RevisionDateTime')
13333
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionDateTime') + '}', request.revision_date_time.to_s)
13334
+ else
13335
+ query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
13336
+ end
13337
+
13338
+ # header parameters
13339
+ header_params = {}
13340
+ # HTTP header 'Accept' (if needed)
13341
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
13342
+ # HTTP header 'Content-Type'
13343
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
13344
+
13345
+ # form parameters
13346
+ form_params = {}
13347
+
13348
+ # http body (model)
13349
+ post_body = @api_client.object_to_http_body(request.page_number)
13350
+ auth_names = ['JWT']
13351
+
13352
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
12781
13353
  header_params: header_params,
12782
13354
  query_params: query_params,
12783
13355
  form_params: form_params,
12784
13356
  body: post_body,
12785
13357
  auth_names: auth_names,
12786
- return_type: 'TabStopsResponse')
13358
+ return_type: 'DocumentResponse')
12787
13359
  if @api_client.config.debugging
12788
13360
  @api_client.config.logger.debug "API called:
12789
- WordsApi#insert_or_update_paragraph_tab_stop\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13361
+ WordsApi#insert_page_numbers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12790
13362
  end
12791
13363
  [data, status_code, headers]
12792
13364
  end
12793
13365
 
12794
- # Inserts document page numbers.
13366
+ # Adds paragraph to document, returns added paragraph's data.
12795
13367
  #
12796
- # @param request InsertPageNumbersRequest
12797
- # @return [DocumentResponse]
12798
- def insert_page_numbers(request)
13368
+ # @param request InsertParagraphRequest
13369
+ # @return [ParagraphResponse]
13370
+ def insert_paragraph(request)
12799
13371
  begin
12800
- data, _status_code, _headers = insert_page_numbers_with_http_info(request)
13372
+ data, _status_code, _headers = insert_paragraph_with_http_info(request)
12801
13373
  rescue ApiError => e
12802
13374
  if e.code == 401
12803
13375
  request_token
12804
- data, _status_code, _headers = insert_page_numbers_with_http_info(request)
13376
+ data, _status_code, _headers = insert_paragraph_with_http_info(request)
12805
13377
  else
12806
13378
  raise
12807
13379
  end
@@ -12809,22 +13381,25 @@ module AsposeWordsCloud
12809
13381
  data
12810
13382
  end
12811
13383
 
12812
- # Inserts document page numbers.
13384
+ # Adds paragraph to document, returns added paragraph&#39;s data.
12813
13385
  #
12814
- # @param request InsertPageNumbersRequest
12815
- # @return [Array<(DocumentResponse, Fixnum, Hash)>]
12816
- # DocumentResponse data, response status code and response headers
12817
- private def insert_page_numbers_with_http_info(request)
12818
- raise ArgumentError, 'Incorrect request type' unless request.is_a? InsertPageNumbersRequest
13386
+ # @param request InsertParagraphRequest
13387
+ # @return [Array<(ParagraphResponse, Fixnum, Hash)>]
13388
+ # ParagraphResponse data, response status code and response headers
13389
+ private def insert_paragraph_with_http_info(request)
13390
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? InsertParagraphRequest
12819
13391
 
12820
- @api_client.config.logger.debug 'Calling API: WordsApi.insert_page_numbers ...' if @api_client.config.debugging
13392
+ @api_client.config.logger.debug 'Calling API: WordsApi.insert_paragraph ...' if @api_client.config.debugging
12821
13393
  # verify the required parameter 'name' is set
12822
- raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_page_numbers' if @api_client.config.client_side_validation && request.name.nil?
12823
- # verify the required parameter 'page_number' is set
12824
- raise ArgumentError, 'Missing the required parameter page_number when calling WordsApi.insert_page_numbers' if @api_client.config.client_side_validation && request.page_number.nil?
13394
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_paragraph' if @api_client.config.client_side_validation && request.name.nil?
13395
+ # verify the required parameter 'paragraph' is set
13396
+ raise ArgumentError, 'Missing the required parameter paragraph when calling WordsApi.insert_paragraph' if @api_client.config.client_side_validation && request.paragraph.nil?
13397
+ # verify the required parameter 'node_path' is set
13398
+ raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.insert_paragraph' if @api_client.config.client_side_validation && request.node_path.nil?
12825
13399
  # resource path
12826
- local_var_path = '/words/{name}/PageNumbers'[1..-1]
13400
+ local_var_path = '/words/{name}/{nodePath}/paragraphs'[1..-1]
12827
13401
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
13402
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', request.node_path.to_s)
12828
13403
 
12829
13404
  # query parameters
12830
13405
  query_params = {}
@@ -12863,6 +13438,11 @@ module AsposeWordsCloud
12863
13438
  else
12864
13439
  query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
12865
13440
  end
13441
+ if local_var_path.include? downcase_first_letter('InsertBeforeNode')
13442
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('InsertBeforeNode') + '}', request.insert_before_node.to_s)
13443
+ else
13444
+ query_params[downcase_first_letter('InsertBeforeNode')] = request.insert_before_node unless request.insert_before_node.nil?
13445
+ end
12866
13446
 
12867
13447
  # header parameters
12868
13448
  header_params = {}
@@ -12875,34 +13455,34 @@ module AsposeWordsCloud
12875
13455
  form_params = {}
12876
13456
 
12877
13457
  # http body (model)
12878
- post_body = @api_client.object_to_http_body(request.page_number)
13458
+ post_body = @api_client.object_to_http_body(request.paragraph)
12879
13459
  auth_names = ['JWT']
12880
13460
 
12881
- data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
13461
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
12882
13462
  header_params: header_params,
12883
13463
  query_params: query_params,
12884
13464
  form_params: form_params,
12885
13465
  body: post_body,
12886
13466
  auth_names: auth_names,
12887
- return_type: 'DocumentResponse')
13467
+ return_type: 'ParagraphResponse')
12888
13468
  if @api_client.config.debugging
12889
13469
  @api_client.config.logger.debug "API called:
12890
- WordsApi#insert_page_numbers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13470
+ WordsApi#insert_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12891
13471
  end
12892
13472
  [data, status_code, headers]
12893
13473
  end
12894
13474
 
12895
13475
  # Adds paragraph to document, returns added paragraph's data.
12896
13476
  #
12897
- # @param request InsertParagraphRequest
13477
+ # @param request InsertParagraphWithoutNodePathRequest
12898
13478
  # @return [ParagraphResponse]
12899
- def insert_paragraph(request)
13479
+ def insert_paragraph_without_node_path(request)
12900
13480
  begin
12901
- data, _status_code, _headers = insert_paragraph_with_http_info(request)
13481
+ data, _status_code, _headers = insert_paragraph_without_node_path_with_http_info(request)
12902
13482
  rescue ApiError => e
12903
13483
  if e.code == 401
12904
13484
  request_token
12905
- data, _status_code, _headers = insert_paragraph_with_http_info(request)
13485
+ data, _status_code, _headers = insert_paragraph_without_node_path_with_http_info(request)
12906
13486
  else
12907
13487
  raise
12908
13488
  end
@@ -12912,23 +13492,20 @@ module AsposeWordsCloud
12912
13492
 
12913
13493
  # Adds paragraph to document, returns added paragraph&#39;s data.
12914
13494
  #
12915
- # @param request InsertParagraphRequest
13495
+ # @param request InsertParagraphWithoutNodePathRequest
12916
13496
  # @return [Array<(ParagraphResponse, Fixnum, Hash)>]
12917
13497
  # ParagraphResponse data, response status code and response headers
12918
- private def insert_paragraph_with_http_info(request)
12919
- raise ArgumentError, 'Incorrect request type' unless request.is_a? InsertParagraphRequest
13498
+ private def insert_paragraph_without_node_path_with_http_info(request)
13499
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? InsertParagraphWithoutNodePathRequest
12920
13500
 
12921
- @api_client.config.logger.debug 'Calling API: WordsApi.insert_paragraph ...' if @api_client.config.debugging
13501
+ @api_client.config.logger.debug 'Calling API: WordsApi.insert_paragraph_without_node_path ...' if @api_client.config.debugging
12922
13502
  # verify the required parameter 'name' is set
12923
- raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_paragraph' if @api_client.config.client_side_validation && request.name.nil?
13503
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.insert_paragraph_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
12924
13504
  # verify the required parameter 'paragraph' is set
12925
- raise ArgumentError, 'Missing the required parameter paragraph when calling WordsApi.insert_paragraph' if @api_client.config.client_side_validation && request.paragraph.nil?
12926
- # verify the required parameter 'node_path' is set
12927
- raise ArgumentError, 'Missing the required parameter node_path when calling WordsApi.insert_paragraph' if @api_client.config.client_side_validation && request.node_path.nil?
13505
+ raise ArgumentError, 'Missing the required parameter paragraph when calling WordsApi.insert_paragraph_without_node_path' if @api_client.config.client_side_validation && request.paragraph.nil?
12928
13506
  # resource path
12929
- local_var_path = '/words/{name}/{nodePath}/paragraphs'[1..-1]
13507
+ local_var_path = '/words/{name}/paragraphs'[1..-1]
12930
13508
  local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
12931
- local_var_path = local_var_path.sub('{' + downcase_first_letter('NodePath') + '}', request.node_path.to_s)
12932
13509
 
12933
13510
  # query parameters
12934
13511
  query_params = {}
@@ -12996,7 +13573,7 @@ module AsposeWordsCloud
12996
13573
  return_type: 'ParagraphResponse')
12997
13574
  if @api_client.config.debugging
12998
13575
  @api_client.config.logger.debug "API called:
12999
- WordsApi#insert_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13576
+ WordsApi#insert_paragraph_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
13000
13577
  end
13001
13578
  [data, status_code, headers]
13002
13579
  end
@@ -17588,6 +18165,110 @@ module AsposeWordsCloud
17588
18165
  [data, status_code, headers]
17589
18166
  end
17590
18167
 
18168
+ # Updates paragraph format properties, returns updated format properties.
18169
+ #
18170
+ # @param request UpdateParagraphFormatWithoutNodePathRequest
18171
+ # @return [ParagraphFormatResponse]
18172
+ def update_paragraph_format_without_node_path(request)
18173
+ begin
18174
+ data, _status_code, _headers = update_paragraph_format_without_node_path_with_http_info(request)
18175
+ rescue ApiError => e
18176
+ if e.code == 401
18177
+ request_token
18178
+ data, _status_code, _headers = update_paragraph_format_without_node_path_with_http_info(request)
18179
+ else
18180
+ raise
18181
+ end
18182
+ end
18183
+ data
18184
+ end
18185
+
18186
+ # Updates paragraph format properties, returns updated format properties.
18187
+ #
18188
+ # @param request UpdateParagraphFormatWithoutNodePathRequest
18189
+ # @return [Array<(ParagraphFormatResponse, Fixnum, Hash)>]
18190
+ # ParagraphFormatResponse data, response status code and response headers
18191
+ private def update_paragraph_format_without_node_path_with_http_info(request)
18192
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? UpdateParagraphFormatWithoutNodePathRequest
18193
+
18194
+ @api_client.config.logger.debug 'Calling API: WordsApi.update_paragraph_format_without_node_path ...' if @api_client.config.debugging
18195
+ # verify the required parameter 'name' is set
18196
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_paragraph_format_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
18197
+ # verify the required parameter 'dto' is set
18198
+ raise ArgumentError, 'Missing the required parameter dto when calling WordsApi.update_paragraph_format_without_node_path' if @api_client.config.client_side_validation && request.dto.nil?
18199
+ # verify the required parameter 'index' is set
18200
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_paragraph_format_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
18201
+ # resource path
18202
+ local_var_path = '/words/{name}/paragraphs/{index}/format'[1..-1]
18203
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
18204
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
18205
+
18206
+ # query parameters
18207
+ query_params = {}
18208
+ if local_var_path.include? downcase_first_letter('Folder')
18209
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
18210
+ else
18211
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
18212
+ end
18213
+ if local_var_path.include? downcase_first_letter('Storage')
18214
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
18215
+ else
18216
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
18217
+ end
18218
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
18219
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
18220
+ else
18221
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
18222
+ end
18223
+ if local_var_path.include? downcase_first_letter('Password')
18224
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
18225
+ else
18226
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
18227
+ end
18228
+ if local_var_path.include? downcase_first_letter('DestFileName')
18229
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
18230
+ else
18231
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
18232
+ end
18233
+ if local_var_path.include? downcase_first_letter('RevisionAuthor')
18234
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionAuthor') + '}', request.revision_author.to_s)
18235
+ else
18236
+ query_params[downcase_first_letter('RevisionAuthor')] = request.revision_author unless request.revision_author.nil?
18237
+ end
18238
+ if local_var_path.include? downcase_first_letter('RevisionDateTime')
18239
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionDateTime') + '}', request.revision_date_time.to_s)
18240
+ else
18241
+ query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
18242
+ end
18243
+
18244
+ # header parameters
18245
+ header_params = {}
18246
+ # HTTP header 'Accept' (if needed)
18247
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
18248
+ # HTTP header 'Content-Type'
18249
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
18250
+
18251
+ # form parameters
18252
+ form_params = {}
18253
+
18254
+ # http body (model)
18255
+ post_body = @api_client.object_to_http_body(request.dto)
18256
+ auth_names = ['JWT']
18257
+
18258
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
18259
+ header_params: header_params,
18260
+ query_params: query_params,
18261
+ form_params: form_params,
18262
+ body: post_body,
18263
+ auth_names: auth_names,
18264
+ return_type: 'ParagraphFormatResponse')
18265
+ if @api_client.config.debugging
18266
+ @api_client.config.logger.debug "API called:
18267
+ WordsApi#update_paragraph_format_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
18268
+ end
18269
+ [data, status_code, headers]
18270
+ end
18271
+
17591
18272
  # Updates paragraph list format properties, returns updated list format properties.
17592
18273
  #
17593
18274
  # @param request UpdateParagraphListFormatRequest
@@ -17695,6 +18376,110 @@ module AsposeWordsCloud
17695
18376
  [data, status_code, headers]
17696
18377
  end
17697
18378
 
18379
+ # Updates paragraph list format properties, returns updated list format properties.
18380
+ #
18381
+ # @param request UpdateParagraphListFormatWithoutNodePathRequest
18382
+ # @return [ParagraphListFormatResponse]
18383
+ def update_paragraph_list_format_without_node_path(request)
18384
+ begin
18385
+ data, _status_code, _headers = update_paragraph_list_format_without_node_path_with_http_info(request)
18386
+ rescue ApiError => e
18387
+ if e.code == 401
18388
+ request_token
18389
+ data, _status_code, _headers = update_paragraph_list_format_without_node_path_with_http_info(request)
18390
+ else
18391
+ raise
18392
+ end
18393
+ end
18394
+ data
18395
+ end
18396
+
18397
+ # Updates paragraph list format properties, returns updated list format properties.
18398
+ #
18399
+ # @param request UpdateParagraphListFormatWithoutNodePathRequest
18400
+ # @return [Array<(ParagraphListFormatResponse, Fixnum, Hash)>]
18401
+ # ParagraphListFormatResponse data, response status code and response headers
18402
+ private def update_paragraph_list_format_without_node_path_with_http_info(request)
18403
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? UpdateParagraphListFormatWithoutNodePathRequest
18404
+
18405
+ @api_client.config.logger.debug 'Calling API: WordsApi.update_paragraph_list_format_without_node_path ...' if @api_client.config.debugging
18406
+ # verify the required parameter 'name' is set
18407
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.update_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.name.nil?
18408
+ # verify the required parameter 'dto' is set
18409
+ raise ArgumentError, 'Missing the required parameter dto when calling WordsApi.update_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.dto.nil?
18410
+ # verify the required parameter 'index' is set
18411
+ raise ArgumentError, 'Missing the required parameter index when calling WordsApi.update_paragraph_list_format_without_node_path' if @api_client.config.client_side_validation && request.index.nil?
18412
+ # resource path
18413
+ local_var_path = '/words/{name}/paragraphs/{index}/listFormat'[1..-1]
18414
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', request.name.to_s)
18415
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Index') + '}', request.index.to_s)
18416
+
18417
+ # query parameters
18418
+ query_params = {}
18419
+ if local_var_path.include? downcase_first_letter('Folder')
18420
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Folder') + '}', request.folder.to_s)
18421
+ else
18422
+ query_params[downcase_first_letter('Folder')] = request.folder unless request.folder.nil?
18423
+ end
18424
+ if local_var_path.include? downcase_first_letter('Storage')
18425
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Storage') + '}', request.storage.to_s)
18426
+ else
18427
+ query_params[downcase_first_letter('Storage')] = request.storage unless request.storage.nil?
18428
+ end
18429
+ if local_var_path.include? downcase_first_letter('LoadEncoding')
18430
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('LoadEncoding') + '}', request.load_encoding.to_s)
18431
+ else
18432
+ query_params[downcase_first_letter('LoadEncoding')] = request.load_encoding unless request.load_encoding.nil?
18433
+ end
18434
+ if local_var_path.include? downcase_first_letter('Password')
18435
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Password') + '}', request.password.to_s)
18436
+ else
18437
+ query_params[downcase_first_letter('Password')] = request.password unless request.password.nil?
18438
+ end
18439
+ if local_var_path.include? downcase_first_letter('DestFileName')
18440
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('DestFileName') + '}', request.dest_file_name.to_s)
18441
+ else
18442
+ query_params[downcase_first_letter('DestFileName')] = request.dest_file_name unless request.dest_file_name.nil?
18443
+ end
18444
+ if local_var_path.include? downcase_first_letter('RevisionAuthor')
18445
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionAuthor') + '}', request.revision_author.to_s)
18446
+ else
18447
+ query_params[downcase_first_letter('RevisionAuthor')] = request.revision_author unless request.revision_author.nil?
18448
+ end
18449
+ if local_var_path.include? downcase_first_letter('RevisionDateTime')
18450
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('RevisionDateTime') + '}', request.revision_date_time.to_s)
18451
+ else
18452
+ query_params[downcase_first_letter('RevisionDateTime')] = request.revision_date_time unless request.revision_date_time.nil?
18453
+ end
18454
+
18455
+ # header parameters
18456
+ header_params = {}
18457
+ # HTTP header 'Accept' (if needed)
18458
+ header_params['Accept'] = @api_client.select_header_accept(['application/xml', 'application/json'])
18459
+ # HTTP header 'Content-Type'
18460
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/xml', 'application/json'])
18461
+
18462
+ # form parameters
18463
+ form_params = {}
18464
+
18465
+ # http body (model)
18466
+ post_body = @api_client.object_to_http_body(request.dto)
18467
+ auth_names = ['JWT']
18468
+
18469
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
18470
+ header_params: header_params,
18471
+ query_params: query_params,
18472
+ form_params: form_params,
18473
+ body: post_body,
18474
+ auth_names: auth_names,
18475
+ return_type: 'ParagraphListFormatResponse')
18476
+ if @api_client.config.debugging
18477
+ @api_client.config.logger.debug "API called:
18478
+ WordsApi#update_paragraph_list_format_without_node_path\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
18479
+ end
18480
+ [data, status_code, headers]
18481
+ end
18482
+
17698
18483
  # Updates run's properties, returns updated run's data.
17699
18484
  #
17700
18485
  # @param request UpdateRunRequest
@@ -18013,7 +18798,7 @@ module AsposeWordsCloud
18013
18798
  [data, status_code, headers]
18014
18799
  end
18015
18800
 
18016
- # Updates a style properties, returns an updated style.
18801
+ # Updates style properties, returns an updated style.
18017
18802
  #
18018
18803
  # @param request UpdateStyleRequest
18019
18804
  # @return [StyleResponse]
@@ -18031,7 +18816,7 @@ module AsposeWordsCloud
18031
18816
  data
18032
18817
  end
18033
18818
 
18034
- # Updates a style properties, returns an updated style.
18819
+ # Updates style properties, returns an updated style.
18035
18820
  #
18036
18821
  # @param request UpdateStyleRequest
18037
18822
  # @return [Array<(StyleResponse, Fixnum, Hash)>]