Class: AsposeWordsCloud::WordsApi

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_words_cloud/api/words_api.rb

Overview

Aspose.Words for Cloud API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ WordsApi

Returns a new instance of WordsApi.



37
38
39
40
41
42
43
# File 'lib/aspose_words_cloud/api/words_api.rb', line 37

def initialize(api_client = ApiClient.default)
  @api_client = api_client
  @rsa_key = nil
  require_all '../models/requests'
  require_all '../models/responses'
  request_token
end

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



35
36
37
# File 'lib/aspose_words_cloud/api/words_api.rb', line 35

def api_client
  @api_client
end

Instance Method Details

#accept_all_revisions(request) ⇒ RevisionsModificationResponse

Accepts all revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsRequest

Returns:



70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/aspose_words_cloud/api/words_api.rb', line 70

def accept_all_revisions(request)
    begin
    data, _status_code, _headers = accept_all_revisions_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = accept_all_revisions_with_http_info(request)
        else
        raise
        end
    end
    data
end

#accept_all_revisions_online(request) ⇒ AcceptAllRevisionsOnlineResponse

Accepts all revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsOnlineRequest

Returns:



112
113
114
115
116
117
118
119
120
121
122
123
124
# File 'lib/aspose_words_cloud/api/words_api.rb', line 112

def accept_all_revisions_online(request)
    begin
    data, _status_code, _headers = accept_all_revisions_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = accept_all_revisions_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#append_document(request) ⇒ DocumentResponse

Appends documents to the original document.

Parameters:

  • request

    AppendDocumentRequest

Returns:



158
159
160
161
162
163
164
165
166
167
168
169
170
# File 'lib/aspose_words_cloud/api/words_api.rb', line 158

def append_document(request)
    begin
    data, _status_code, _headers = append_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = append_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#append_document_online(request) ⇒ AppendDocumentOnlineResponse

Appends documents to the original document.

Parameters:

  • request

    AppendDocumentOnlineRequest

Returns:



200
201
202
203
204
205
206
207
208
209
210
211
212
# File 'lib/aspose_words_cloud/api/words_api.rb', line 200

def append_document_online(request)
    begin
    data, _status_code, _headers = append_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = append_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#apply_style_to_document_element(request) ⇒ WordsResponse

Applies a style to the document node.

Parameters:

  • request

    ApplyStyleToDocumentElementRequest

Returns:



246
247
248
249
250
251
252
253
254
255
256
257
258
# File 'lib/aspose_words_cloud/api/words_api.rb', line 246

def apply_style_to_document_element(request)
    begin
    data, _status_code, _headers = apply_style_to_document_element_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = apply_style_to_document_element_with_http_info(request)
        else
        raise
        end
    end
    data
end

#apply_style_to_document_element_online(request) ⇒ ApplyStyleToDocumentElementOnlineResponse

Applies a style to the document node.

Parameters:

  • request

    ApplyStyleToDocumentElementOnlineRequest

Returns:



288
289
290
291
292
293
294
295
296
297
298
299
300
# File 'lib/aspose_words_cloud/api/words_api.rb', line 288

def apply_style_to_document_element_online(request)
    begin
    data, _status_code, _headers = apply_style_to_document_element_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = apply_style_to_document_element_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#batch(batch_requests, display_intermediate_result = true) ⇒ Object

Raises:

  • (ArgumentError)


45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/aspose_words_cloud/api/words_api.rb', line 45

def batch(batch_requests, display_intermediate_result = true)
  raise ArgumentError, 'Requests array is nil' unless batch_requests != nil
  raise ArgumentError, 'There must be at least one request' unless batch_requests.length != 0
  form_params = {}
  id_request_to_map = {}
  request_token
  header_params = {'Content-Type' => 'multipart/form-data'}
  @api_client.update_params_for_auth! header_params, {}, "JWT"
  batch_requests.each_with_index do |batch_request, index|
    form_params["request-#{index}"] = Faraday::ParamPart.new(batch_request.request.to_batch_part(@api_client, batch_request.request_id, batch_request.parent_request_id), "application/http; msgtype=request")
    id_request_to_map[batch_request.request_id] = batch_request
  end
  url = display_intermediate_result ? "/v4.0/words/batch" : "/v4.0/words/batch?displayIntermediateResults=false"
  data, status_code, headers = @api_client.call_api(:PUT, url,
                                                    header_params: header_params,
                                                    query_params: {},
                                                    body: form_params,
                                                    batch: true,
                                                    request_map: id_request_to_map)
  [data, status_code, headers]
end

#build_report(request) ⇒ DocumentResponse

Executes the report generation process using the specified document template and the external data source in XML, JSON or CSV format.

Parameters:

  • request

    BuildReportRequest

Returns:



334
335
336
337
338
339
340
341
342
343
344
345
346
# File 'lib/aspose_words_cloud/api/words_api.rb', line 334

def build_report(request)
    begin
    data, _status_code, _headers = build_report_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = build_report_with_http_info(request)
        else
        raise
        end
    end
    data
end

#build_report_online(request) ⇒ File

Executes the report generation process online using the specified document template and the external data source in XML, JSON or CSV format.

Parameters:

  • request

    BuildReportOnlineRequest

Returns:

  • (File)


376
377
378
379
380
381
382
383
384
385
386
387
388
# File 'lib/aspose_words_cloud/api/words_api.rb', line 376

def build_report_online(request)
    begin
    data, _status_code, _headers = build_report_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = build_report_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#classify(request) ⇒ ClassificationResponse

Runs a multi-class text classification for the specified raw text.

Parameters:

  • request

    ClassifyRequest

Returns:



418
419
420
421
422
423
424
425
426
427
428
429
430
# File 'lib/aspose_words_cloud/api/words_api.rb', line 418

def classify(request)
    begin
    data, _status_code, _headers = classify_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = classify_with_http_info(request)
        else
        raise
        end
    end
    data
end

#classify_document(request) ⇒ ClassificationResponse

Runs a multi-class text classification for the document.

Parameters:

  • request

    ClassifyDocumentRequest

Returns:



460
461
462
463
464
465
466
467
468
469
470
471
472
# File 'lib/aspose_words_cloud/api/words_api.rb', line 460

def classify_document(request)
    begin
    data, _status_code, _headers = classify_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = classify_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#classify_document_online(request) ⇒ ClassificationResponse

Runs a multi-class text classification for the document.

Parameters:

  • request

    ClassifyDocumentOnlineRequest

Returns:



502
503
504
505
506
507
508
509
510
511
512
513
514
# File 'lib/aspose_words_cloud/api/words_api.rb', line 502

def classify_document_online(request)
    begin
    data, _status_code, _headers = classify_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = classify_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#compare_document(request) ⇒ DocumentResponse

Compares two documents.

Parameters:

  • request

    CompareDocumentRequest

Returns:



544
545
546
547
548
549
550
551
552
553
554
555
556
# File 'lib/aspose_words_cloud/api/words_api.rb', line 544

def compare_document(request)
    begin
    data, _status_code, _headers = compare_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = compare_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#compare_document_online(request) ⇒ CompareDocumentOnlineResponse

Compares two documents.

Parameters:

  • request

    CompareDocumentOnlineRequest

Returns:



586
587
588
589
590
591
592
593
594
595
596
597
598
# File 'lib/aspose_words_cloud/api/words_api.rb', line 586

def compare_document_online(request)
    begin
    data, _status_code, _headers = compare_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = compare_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#compress_document(request) ⇒ CompressResponse

Compress and resize images inside the document. The default settings allows to reduce the size of the document without any visible degradation of images quality.

Parameters:

  • request

    CompressDocumentRequest

Returns:



633
634
635
636
637
638
639
640
641
642
643
644
645
# File 'lib/aspose_words_cloud/api/words_api.rb', line 633

def compress_document(request)
    begin
    data, _status_code, _headers = compress_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = compress_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#compress_document_online(request) ⇒ CompressDocumentOnlineResponse

Compress and resize images inside the document. The default settings allows to reduce the size of the document without any visible degradation of images quality.

Parameters:

  • request

    CompressDocumentOnlineRequest

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
# File 'lib/aspose_words_cloud/api/words_api.rb', line 677

def compress_document_online(request)
    begin
    data, _status_code, _headers = compress_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = compress_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#convert_document(request) ⇒ File

Converts a document on a local drive to the specified format.

Parameters:

  • request

    ConvertDocumentRequest

Returns:

  • (File)


724
725
726
727
728
729
730
731
732
733
734
735
736
# File 'lib/aspose_words_cloud/api/words_api.rb', line 724

def convert_document(request)
    begin
    data, _status_code, _headers = convert_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = convert_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#copy_file(request) ⇒ nil

Copy file.

Parameters:

  • request

    CopyFileRequest

Returns:

  • (nil)


766
767
768
769
770
771
772
773
774
775
776
777
778
# File 'lib/aspose_words_cloud/api/words_api.rb', line 766

def copy_file(request)
    begin
    data, _status_code, _headers = copy_file_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = copy_file_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#copy_folder(request) ⇒ nil

Copy folder.

Parameters:

  • request

    CopyFolderRequest

Returns:

  • (nil)


807
808
809
810
811
812
813
814
815
816
817
818
819
# File 'lib/aspose_words_cloud/api/words_api.rb', line 807

def copy_folder(request)
    begin
    data, _status_code, _headers = copy_folder_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = copy_folder_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#copy_style(request) ⇒ StyleResponse

Makes a copy of the style in the document.

Parameters:

  • request

    CopyStyleRequest

Returns:



848
849
850
851
852
853
854
855
856
857
858
859
860
# File 'lib/aspose_words_cloud/api/words_api.rb', line 848

def copy_style(request)
    begin
    data, _status_code, _headers = copy_style_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = copy_style_with_http_info(request)
        else
        raise
        end
    end
    data
end

#copy_style_online(request) ⇒ CopyStyleOnlineResponse

Makes a copy of the style in the document.

Parameters:

  • request

    CopyStyleOnlineRequest

Returns:



890
891
892
893
894
895
896
897
898
899
900
901
902
# File 'lib/aspose_words_cloud/api/words_api.rb', line 890

def copy_style_online(request)
    begin
    data, _status_code, _headers = copy_style_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = copy_style_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#copy_styles_from_template(request) ⇒ WordsResponse

Copies styles from the origin document to the target document.

Parameters:

  • request

    CopyStylesFromTemplateRequest

Returns:



936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'lib/aspose_words_cloud/api/words_api.rb', line 936

def copy_styles_from_template(request)
    begin
    data, _status_code, _headers = copy_styles_from_template_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = copy_styles_from_template_with_http_info(request)
        else
        raise
        end
    end
    data
end

#create_document(request) ⇒ DocumentResponse

Creates a new document in cloud storage in the format, determined by the file extension. Supported all save format extensions.

Parameters:

  • request

    CreateDocumentRequest

Returns:



979
980
981
982
983
984
985
986
987
988
989
990
991
# File 'lib/aspose_words_cloud/api/words_api.rb', line 979

def create_document(request)
    begin
    data, _status_code, _headers = create_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = create_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#create_folder(request) ⇒ nil

Create the folder.

Parameters:

  • request

    CreateFolderRequest

Returns:

  • (nil)


1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1022

def create_folder(request)
    begin
    data, _status_code, _headers = create_folder_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = create_folder_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#create_or_update_document_property(request) ⇒ DocumentPropertyResponse

Adds a new or updates an existing document property.

Parameters:

  • request

    CreateOrUpdateDocumentPropertyRequest

Returns:



1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1063

def create_or_update_document_property(request)
    begin
    data, _status_code, _headers = create_or_update_document_property_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = create_or_update_document_property_with_http_info(request)
        else
        raise
        end
    end
    data
end

#create_or_update_document_property_online(request) ⇒ CreateOrUpdateDocumentPropertyOnlineResponse

Adds a new or updates an existing document property.

Parameters:

  • request

    CreateOrUpdateDocumentPropertyOnlineRequest

Returns:



1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1105

def create_or_update_document_property_online(request)
    begin
    data, _status_code, _headers = create_or_update_document_property_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = create_or_update_document_property_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_all_paragraph_tab_stops(request) ⇒ TabStopsResponse

Removes paragraph tab stops from the document node.

Parameters:

  • request

    DeleteAllParagraphTabStopsRequest

Returns:



1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1151

def delete_all_paragraph_tab_stops(request)
    begin
    data, _status_code, _headers = delete_all_paragraph_tab_stops_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_all_paragraph_tab_stops_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_all_paragraph_tab_stops_online(request) ⇒ DeleteAllParagraphTabStopsOnlineResponse

Removes paragraph tab stops from the document node.

Parameters:

  • request

    DeleteAllParagraphTabStopsOnlineRequest

Returns:



1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1193

def delete_all_paragraph_tab_stops_online(request)
    begin
    data, _status_code, _headers = delete_all_paragraph_tab_stops_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_all_paragraph_tab_stops_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_bookmark(request) ⇒ nil

Removes a bookmark from the document.

Parameters:

  • request

    DeleteBookmarkRequest

Returns:

  • (nil)


1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1239

def delete_bookmark(request)
    begin
    data, _status_code, _headers = delete_bookmark_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_bookmark_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_bookmark_online(request) ⇒ FILES_COLLECTION

Removes a bookmark from the document.

Parameters:

  • request

    DeleteBookmarkOnlineRequest

Returns:

  • (FILES_COLLECTION)


1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1280

def delete_bookmark_online(request)
    begin
    data, _status_code, _headers = delete_bookmark_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_bookmark_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_bookmarks(request) ⇒ nil

Removes all bookmarks from the document.

Parameters:

  • request

    DeleteBookmarksRequest

Returns:

  • (nil)


1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1323

def delete_bookmarks(request)
    begin
    data, _status_code, _headers = delete_bookmarks_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_bookmarks_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_bookmarks_online(request) ⇒ FILES_COLLECTION

Removes all bookmarks from the document.

Parameters:

  • request

    DeleteBookmarksOnlineRequest

Returns:

  • (FILES_COLLECTION)


1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1364

def delete_bookmarks_online(request)
    begin
    data, _status_code, _headers = delete_bookmarks_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_bookmarks_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_border(request) ⇒ BorderResponse

Removes a border from the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    DeleteBorderRequest

Returns:



1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1408

def delete_border(request)
    begin
    data, _status_code, _headers = delete_border_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_border_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_border_online(request) ⇒ DeleteBorderOnlineResponse

Removes a border from the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    DeleteBorderOnlineRequest

Returns:



1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1452

def delete_border_online(request)
    begin
    data, _status_code, _headers = delete_border_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_border_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_borders(request) ⇒ BordersResponse

Removes borders from the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    DeleteBordersRequest

Returns:



1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1500

def delete_borders(request)
    begin
    data, _status_code, _headers = delete_borders_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_borders_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_borders_online(request) ⇒ DeleteBordersOnlineResponse

Removes borders from the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    DeleteBordersOnlineRequest

Returns:



1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1544

def delete_borders_online(request)
    begin
    data, _status_code, _headers = delete_borders_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_borders_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_comment(request) ⇒ nil

Removes a comment from the document.

Parameters:

  • request

    DeleteCommentRequest

Returns:

  • (nil)


1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1591

def delete_comment(request)
    begin
    data, _status_code, _headers = delete_comment_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_comment_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_comment_online(request) ⇒ FILES_COLLECTION

Removes a comment from the document.

Parameters:

  • request

    DeleteCommentOnlineRequest

Returns:

  • (FILES_COLLECTION)


1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1632

def delete_comment_online(request)
    begin
    data, _status_code, _headers = delete_comment_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_comment_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_comments(request) ⇒ nil

Removes all comments from the document.

Parameters:

  • request

    DeleteCommentsRequest

Returns:

  • (nil)


1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1675

def delete_comments(request)
    begin
    data, _status_code, _headers = delete_comments_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_comments_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_comments_online(request) ⇒ FILES_COLLECTION

Removes all comments from the document.

Parameters:

  • request

    DeleteCommentsOnlineRequest

Returns:

  • (FILES_COLLECTION)


1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1716

def delete_comments_online(request)
    begin
    data, _status_code, _headers = delete_comments_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_comments_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_custom_xml_part(request) ⇒ nil

Removes the custom xml part from the document.

Parameters:

  • request

    DeleteCustomXmlPartRequest

Returns:

  • (nil)


1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1759

def delete_custom_xml_part(request)
    begin
    data, _status_code, _headers = delete_custom_xml_part_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_custom_xml_part_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_custom_xml_part_online(request) ⇒ FILES_COLLECTION

Removes the custom xml part from the document.

Parameters:

  • request

    DeleteCustomXmlPartOnlineRequest

Returns:

  • (FILES_COLLECTION)


1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1800

def delete_custom_xml_part_online(request)
    begin
    data, _status_code, _headers = delete_custom_xml_part_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_custom_xml_part_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_custom_xml_parts(request) ⇒ nil

Removes all custom xml parts from the document.

Parameters:

  • request

    DeleteCustomXmlPartsRequest

Returns:

  • (nil)


1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1843

def delete_custom_xml_parts(request)
    begin
    data, _status_code, _headers = delete_custom_xml_parts_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_custom_xml_parts_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_custom_xml_parts_online(request) ⇒ FILES_COLLECTION

Removes all custom xml parts from the document.

Parameters:

  • request

    DeleteCustomXmlPartsOnlineRequest

Returns:

  • (FILES_COLLECTION)


1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1884

def delete_custom_xml_parts_online(request)
    begin
    data, _status_code, _headers = delete_custom_xml_parts_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_custom_xml_parts_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_document_property(request) ⇒ nil

Removes a document property.

Parameters:

  • request

    DeleteDocumentPropertyRequest

Returns:

  • (nil)


1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1927

def delete_document_property(request)
    begin
    data, _status_code, _headers = delete_document_property_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_document_property_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_document_property_online(request) ⇒ FILES_COLLECTION

Removes a document property.

Parameters:

  • request

    DeleteDocumentPropertyOnlineRequest

Returns:

  • (FILES_COLLECTION)


1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1968

def delete_document_property_online(request)
    begin
    data, _status_code, _headers = delete_document_property_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_document_property_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_drawing_object(request) ⇒ nil

Removes a DrawingObject from the document node.

Parameters:

  • request

    DeleteDrawingObjectRequest

Returns:

  • (nil)


2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2011

def delete_drawing_object(request)
    begin
    data, _status_code, _headers = delete_drawing_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_drawing_object_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_drawing_object_online(request) ⇒ FILES_COLLECTION

Removes a DrawingObject from the document node.

Parameters:

  • request

    DeleteDrawingObjectOnlineRequest

Returns:

  • (FILES_COLLECTION)


2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2052

def delete_drawing_object_online(request)
    begin
    data, _status_code, _headers = delete_drawing_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_drawing_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_field(request) ⇒ nil

Removes a field from the document node.

Parameters:

  • request

    DeleteFieldRequest

Returns:

  • (nil)


2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2095

def delete_field(request)
    begin
    data, _status_code, _headers = delete_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_field_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_field_online(request) ⇒ FILES_COLLECTION

Removes a field from the document node.

Parameters:

  • request

    DeleteFieldOnlineRequest

Returns:

  • (FILES_COLLECTION)


2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2136

def delete_field_online(request)
    begin
    data, _status_code, _headers = delete_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_fields(request) ⇒ nil

Removes fields from the document node.

Parameters:

  • request

    DeleteFieldsRequest

Returns:

  • (nil)


2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2179

def delete_fields(request)
    begin
    data, _status_code, _headers = delete_fields_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_fields_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_fields_online(request) ⇒ FILES_COLLECTION

Removes fields from the document node.

Parameters:

  • request

    DeleteFieldsOnlineRequest

Returns:

  • (FILES_COLLECTION)


2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2220

def delete_fields_online(request)
    begin
    data, _status_code, _headers = delete_fields_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_fields_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_file(request) ⇒ nil

Delete file.

Parameters:

  • request

    DeleteFileRequest

Returns:

  • (nil)


2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2263

def delete_file(request)
    begin
    data, _status_code, _headers = delete_file_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_file_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_folder(request) ⇒ nil

Delete folder.

Parameters:

  • request

    DeleteFolderRequest

Returns:

  • (nil)


2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2304

def delete_folder(request)
    begin
    data, _status_code, _headers = delete_folder_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_folder_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_footnote(request) ⇒ nil

Removes a footnote from the document node.

Parameters:

  • request

    DeleteFootnoteRequest

Returns:

  • (nil)


2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2345

def delete_footnote(request)
    begin
    data, _status_code, _headers = delete_footnote_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_footnote_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_footnote_online(request) ⇒ FILES_COLLECTION

Removes a footnote from the document node.

Parameters:

  • request

    DeleteFootnoteOnlineRequest

Returns:

  • (FILES_COLLECTION)


2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2386

def delete_footnote_online(request)
    begin
    data, _status_code, _headers = delete_footnote_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_footnote_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_form_field(request) ⇒ nil

Removes a form field from the document node.

Parameters:

  • request

    DeleteFormFieldRequest

Returns:

  • (nil)


2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2429

def delete_form_field(request)
    begin
    data, _status_code, _headers = delete_form_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_form_field_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_form_field_online(request) ⇒ FILES_COLLECTION

Removes a form field from the document node.

Parameters:

  • request

    DeleteFormFieldOnlineRequest

Returns:

  • (FILES_COLLECTION)


2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2470

def delete_form_field_online(request)
    begin
    data, _status_code, _headers = delete_form_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_form_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Removes a HeaderFooter object from the document section.

Parameters:

  • request

    DeleteHeaderFooterRequest

Returns:

  • (nil)


2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2513

def delete_header_footer(request)
    begin
    data, _status_code, _headers = delete_header_footer_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_header_footer_with_http_info(request)
        else
        raise
        end
    end
    nil
end

Removes a HeaderFooter object from the document section.

Parameters:

  • request

    DeleteHeaderFooterOnlineRequest

Returns:

  • (FILES_COLLECTION)


2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2554

def delete_header_footer_online(request)
    begin
    data, _status_code, _headers = delete_header_footer_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_header_footer_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_headers_footers(request) ⇒ nil

Removes HeaderFooter objects from the document section.

Parameters:

  • request

    DeleteHeadersFootersRequest

Returns:

  • (nil)


2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2597

def delete_headers_footers(request)
    begin
    data, _status_code, _headers = delete_headers_footers_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_headers_footers_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_headers_footers_online(request) ⇒ FILES_COLLECTION

Removes HeaderFooter objects from the document section.

Parameters:

  • request

    DeleteHeadersFootersOnlineRequest

Returns:

  • (FILES_COLLECTION)


2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2638

def delete_headers_footers_online(request)
    begin
    data, _status_code, _headers = delete_headers_footers_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_headers_footers_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_macros(request) ⇒ nil

Removes macros from the document.

Parameters:

  • request

    DeleteMacrosRequest

Returns:

  • (nil)


2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2681

def delete_macros(request)
    begin
    data, _status_code, _headers = delete_macros_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_macros_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_macros_online(request) ⇒ FILES_COLLECTION

Removes macros from the document.

Parameters:

  • request

    DeleteMacrosOnlineRequest

Returns:

  • (FILES_COLLECTION)


2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2722

def delete_macros_online(request)
    begin
    data, _status_code, _headers = delete_macros_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_macros_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_office_math_object(request) ⇒ nil

Removes an OfficeMath object from the document node.

Parameters:

  • request

    DeleteOfficeMathObjectRequest

Returns:

  • (nil)


2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2765

def delete_office_math_object(request)
    begin
    data, _status_code, _headers = delete_office_math_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_office_math_object_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_office_math_object_online(request) ⇒ FILES_COLLECTION

Removes an OfficeMath object from the document node.

Parameters:

  • request

    DeleteOfficeMathObjectOnlineRequest

Returns:

  • (FILES_COLLECTION)


2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2806

def delete_office_math_object_online(request)
    begin
    data, _status_code, _headers = delete_office_math_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_office_math_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_paragraph(request) ⇒ nil

Removes a paragraph from the document node.

Parameters:

  • request

    DeleteParagraphRequest

Returns:

  • (nil)


2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2849

def delete_paragraph(request)
    begin
    data, _status_code, _headers = delete_paragraph_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_paragraph_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_paragraph_list_format(request) ⇒ ParagraphListFormatResponse

Removes the formatting properties of a paragraph list from the document node.

Parameters:

  • request

    DeleteParagraphListFormatRequest

Returns:



2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2890

def delete_paragraph_list_format(request)
    begin
    data, _status_code, _headers = delete_paragraph_list_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_paragraph_list_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_paragraph_list_format_online(request) ⇒ DeleteParagraphListFormatOnlineResponse

Removes the formatting properties of a paragraph list from the document node.

Parameters:

  • request

    DeleteParagraphListFormatOnlineRequest

Returns:



2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2932

def delete_paragraph_list_format_online(request)
    begin
    data, _status_code, _headers = delete_paragraph_list_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_paragraph_list_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_paragraph_online(request) ⇒ FILES_COLLECTION

Removes a paragraph from the document node.

Parameters:

  • request

    DeleteParagraphOnlineRequest

Returns:

  • (FILES_COLLECTION)


2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2978

def delete_paragraph_online(request)
    begin
    data, _status_code, _headers = delete_paragraph_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_paragraph_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_paragraph_tab_stop(request) ⇒ TabStopsResponse

Removes a paragraph tab stop from the document node.

Parameters:

  • request

    DeleteParagraphTabStopRequest

Returns:



3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3021

def delete_paragraph_tab_stop(request)
    begin
    data, _status_code, _headers = delete_paragraph_tab_stop_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_paragraph_tab_stop_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_paragraph_tab_stop_online(request) ⇒ DeleteParagraphTabStopOnlineResponse

Removes a paragraph tab stop from the document node.

Parameters:

  • request

    DeleteParagraphTabStopOnlineRequest

Returns:



3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3063

def delete_paragraph_tab_stop_online(request)
    begin
    data, _status_code, _headers = delete_paragraph_tab_stop_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_paragraph_tab_stop_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_run(request) ⇒ nil

Removes a Run object from the paragraph.

Parameters:

  • request

    DeleteRunRequest

Returns:

  • (nil)


3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3109

def delete_run(request)
    begin
    data, _status_code, _headers = delete_run_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_run_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_run_online(request) ⇒ FILES_COLLECTION

Removes a Run object from the paragraph.

Parameters:

  • request

    DeleteRunOnlineRequest

Returns:

  • (FILES_COLLECTION)


3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3150

def delete_run_online(request)
    begin
    data, _status_code, _headers = delete_run_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_run_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_section(request) ⇒ nil

Removes a section from the document.

Parameters:

  • request

    DeleteSectionRequest

Returns:

  • (nil)


3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3193

def delete_section(request)
    begin
    data, _status_code, _headers = delete_section_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_section_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_section_online(request) ⇒ FILES_COLLECTION

Removes a section from the document.

Parameters:

  • request

    DeleteSectionOnlineRequest

Returns:

  • (FILES_COLLECTION)


3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3234

def delete_section_online(request)
    begin
    data, _status_code, _headers = delete_section_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_section_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_structured_document_tag(request) ⇒ nil

Removes a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    DeleteStructuredDocumentTagRequest

Returns:

  • (nil)


3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3277

def delete_structured_document_tag(request)
    begin
    data, _status_code, _headers = delete_structured_document_tag_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_structured_document_tag_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_structured_document_tag_online(request) ⇒ FILES_COLLECTION

Removes a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    DeleteStructuredDocumentTagOnlineRequest

Returns:

  • (FILES_COLLECTION)


3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3318

def delete_structured_document_tag_online(request)
    begin
    data, _status_code, _headers = delete_structured_document_tag_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_structured_document_tag_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_table(request) ⇒ nil

Removes a table from the document node.

Parameters:

  • request

    DeleteTableRequest

Returns:

  • (nil)


3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3361

def delete_table(request)
    begin
    data, _status_code, _headers = delete_table_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_table_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_table_cell(request) ⇒ nil

Removes a cell from the table row.

Parameters:

  • request

    DeleteTableCellRequest

Returns:

  • (nil)


3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3402

def delete_table_cell(request)
    begin
    data, _status_code, _headers = delete_table_cell_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_table_cell_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_table_cell_online(request) ⇒ FILES_COLLECTION

Removes a cell from the table row.

Parameters:

  • request

    DeleteTableCellOnlineRequest

Returns:

  • (FILES_COLLECTION)


3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3443

def delete_table_cell_online(request)
    begin
    data, _status_code, _headers = delete_table_cell_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_table_cell_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_table_online(request) ⇒ FILES_COLLECTION

Removes a table from the document node.

Parameters:

  • request

    DeleteTableOnlineRequest

Returns:

  • (FILES_COLLECTION)


3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3486

def delete_table_online(request)
    begin
    data, _status_code, _headers = delete_table_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_table_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_table_row(request) ⇒ nil

Removes a row from the table.

Parameters:

  • request

    DeleteTableRowRequest

Returns:

  • (nil)


3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3529

def delete_table_row(request)
    begin
    data, _status_code, _headers = delete_table_row_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_table_row_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#delete_table_row_online(request) ⇒ FILES_COLLECTION

Removes a row from the table.

Parameters:

  • request

    DeleteTableRowOnlineRequest

Returns:

  • (FILES_COLLECTION)


3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3570

def delete_table_row_online(request)
    begin
    data, _status_code, _headers = delete_table_row_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_table_row_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_watermark(request) ⇒ DocumentResponse

Removes a watermark from the document.

Parameters:

  • request

    DeleteWatermarkRequest

Returns:



3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3613

def delete_watermark(request)
    begin
    data, _status_code, _headers = delete_watermark_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_watermark_with_http_info(request)
        else
        raise
        end
    end
    data
end

#delete_watermark_online(request) ⇒ DeleteWatermarkOnlineResponse

Removes a watermark from the document.

Parameters:

  • request

    DeleteWatermarkOnlineRequest

Returns:



3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3655

def delete_watermark_online(request)
    begin
    data, _status_code, _headers = delete_watermark_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_watermark_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#download_file(request) ⇒ File

Download file.

Parameters:

  • request

    DownloadFileRequest

Returns:

  • (File)


3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3701

def download_file(request)
    begin
    data, _status_code, _headers = download_file_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = download_file_with_http_info(request)
        else
        raise
        end
    end
    data
end

#encrypt(data) ⇒ string

Encrypt string.

Parameters:

  • data

    string

Returns:

  • (string)


14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14201

def encrypt(data)
    if data.to_s.empty?
        return data
    end

    if @rsa_key == nil
        modulus = @api_client.config.modulus
        exponent = @api_client.config.exponent

        if modulus.to_s.empty || exponent.to_s.empty
            data = self.get_public_key GetPublicKeyRequest.new
            modulus = data.modulus
            exponent = data.exponent
        end

        @rsa_key = OpenSSL::PKey::RSA.new
        @rsa_key.set_key(base64_to_long(modulus), base64_to_long(exponent), nil)            
    end

    Base64.encode64(@rsa_key.public_encrypt(data.to_s.force_encoding("utf-8")))
end

#execute_mail_merge(request) ⇒ DocumentResponse

Executes a Mail Merge operation.

Parameters:

  • request

    ExecuteMailMergeRequest

Returns:



3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3743

def execute_mail_merge(request)
    begin
    data, _status_code, _headers = execute_mail_merge_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = execute_mail_merge_with_http_info(request)
        else
        raise
        end
    end
    data
end

#execute_mail_merge_online(request) ⇒ File

Executes a Mail Merge operation online.

Parameters:

  • request

    ExecuteMailMergeOnlineRequest

Returns:

  • (File)


3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3785

def execute_mail_merge_online(request)
    begin
    data, _status_code, _headers = execute_mail_merge_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = execute_mail_merge_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_available_fonts(request) ⇒ AvailableFontsResponse

Reads available fonts from the document.

Parameters:

  • request

    GetAvailableFontsRequest

Returns:



3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3827

def get_available_fonts(request)
    begin
    data, _status_code, _headers = get_available_fonts_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_available_fonts_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_bookmark_by_name(request) ⇒ BookmarkResponse

Reads a bookmark, specified by name, from the document.

Parameters:

  • request

    GetBookmarkByNameRequest

Returns:



3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3869

def get_bookmark_by_name(request)
    begin
    data, _status_code, _headers = get_bookmark_by_name_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_bookmark_by_name_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_bookmark_by_name_online(request) ⇒ BookmarkResponse

Reads a bookmark, specified by name, from the document.

Parameters:

  • request

    GetBookmarkByNameOnlineRequest

Returns:



3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3911

def get_bookmark_by_name_online(request)
    begin
    data, _status_code, _headers = get_bookmark_by_name_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_bookmark_by_name_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_bookmarks(request) ⇒ BookmarksResponse

Reads bookmarks from the document.

Parameters:

  • request

    GetBookmarksRequest

Returns:



3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3953

def get_bookmarks(request)
    begin
    data, _status_code, _headers = get_bookmarks_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_bookmarks_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_bookmarks_online(request) ⇒ BookmarksResponse

Reads bookmarks from the document.

Parameters:

  • request

    GetBookmarksOnlineRequest

Returns:



3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3995

def get_bookmarks_online(request)
    begin
    data, _status_code, _headers = get_bookmarks_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_bookmarks_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_border(request) ⇒ BorderResponse

Reads a border from the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    GetBorderRequest

Returns:



4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4038

def get_border(request)
    begin
    data, _status_code, _headers = get_border_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_border_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_border_online(request) ⇒ BorderResponse

Reads a border from the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    GetBorderOnlineRequest

Returns:



4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4082

def get_border_online(request)
    begin
    data, _status_code, _headers = get_border_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_border_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_borders(request) ⇒ BordersResponse

Reads borders from the document node.

Parameters:

  • request

    GetBordersRequest

Returns:



4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4125

def get_borders(request)
    begin
    data, _status_code, _headers = get_borders_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_borders_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_borders_online(request) ⇒ BordersResponse

Reads borders from the document node.

Parameters:

  • request

    GetBordersOnlineRequest

Returns:



4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4167

def get_borders_online(request)
    begin
    data, _status_code, _headers = get_borders_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_borders_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_comment(request) ⇒ CommentResponse

Reads a comment from the document.

Parameters:

  • request

    GetCommentRequest

Returns:



4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4209

def get_comment(request)
    begin
    data, _status_code, _headers = get_comment_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_comment_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_comment_online(request) ⇒ CommentResponse

Reads a comment from the document.

Parameters:

  • request

    GetCommentOnlineRequest

Returns:



4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4251

def get_comment_online(request)
    begin
    data, _status_code, _headers = get_comment_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_comment_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_comments(request) ⇒ CommentsResponse

Reads comments from the document.

Parameters:

  • request

    GetCommentsRequest

Returns:



4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4293

def get_comments(request)
    begin
    data, _status_code, _headers = get_comments_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_comments_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_comments_online(request) ⇒ CommentsResponse

Reads comments from the document.

Parameters:

  • request

    GetCommentsOnlineRequest

Returns:



4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4335

def get_comments_online(request)
    begin
    data, _status_code, _headers = get_comments_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_comments_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_custom_xml_part(request) ⇒ CustomXmlPartResponse

Reads the custom xml part from the document.

Parameters:

  • request

    GetCustomXmlPartRequest

Returns:



4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4377

def get_custom_xml_part(request)
    begin
    data, _status_code, _headers = get_custom_xml_part_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_custom_xml_part_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_custom_xml_part_online(request) ⇒ CustomXmlPartResponse

Reads the custom xml part from the document.

Parameters:

  • request

    GetCustomXmlPartOnlineRequest

Returns:



4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4419

def get_custom_xml_part_online(request)
    begin
    data, _status_code, _headers = get_custom_xml_part_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_custom_xml_part_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_custom_xml_parts(request) ⇒ CustomXmlPartsResponse

Reads custom xml parts from the document.

Parameters:

  • request

    GetCustomXmlPartsRequest

Returns:



4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4461

def get_custom_xml_parts(request)
    begin
    data, _status_code, _headers = get_custom_xml_parts_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_custom_xml_parts_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_custom_xml_parts_online(request) ⇒ CustomXmlPartsResponse

Reads custom xml parts from the document.

Parameters:

  • request

    GetCustomXmlPartsOnlineRequest

Returns:



4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4503

def get_custom_xml_parts_online(request)
    begin
    data, _status_code, _headers = get_custom_xml_parts_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_custom_xml_parts_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document(request) ⇒ DocumentResponse

Reads common information from the document.

Parameters:

  • request

    GetDocumentRequest

Returns:



4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4545

def get_document(request)
    begin
    data, _status_code, _headers = get_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_object_by_index(request) ⇒ DrawingObjectResponse

Reads a DrawingObject from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectByIndexRequest

Returns:



4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4587

def get_document_drawing_object_by_index(request)
    begin
    data, _status_code, _headers = get_document_drawing_object_by_index_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_object_by_index_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_object_by_index_online(request) ⇒ DrawingObjectResponse

Reads a DrawingObject from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectByIndexOnlineRequest

Returns:



4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4629

def get_document_drawing_object_by_index_online(request)
    begin
    data, _status_code, _headers = get_document_drawing_object_by_index_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_object_by_index_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_object_image_data(request) ⇒ File

Reads image data of a DrawingObject from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectImageDataRequest

Returns:

  • (File)


4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4671

def get_document_drawing_object_image_data(request)
    begin
    data, _status_code, _headers = get_document_drawing_object_image_data_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_object_image_data_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_object_image_data_online(request) ⇒ File

Reads image data of a DrawingObject from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectImageDataOnlineRequest

Returns:

  • (File)


4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4713

def get_document_drawing_object_image_data_online(request)
    begin
    data, _status_code, _headers = get_document_drawing_object_image_data_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_object_image_data_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_object_ole_data(request) ⇒ File

Reads OLE data of a DrawingObject from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectOleDataRequest

Returns:

  • (File)


4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4755

def get_document_drawing_object_ole_data(request)
    begin
    data, _status_code, _headers = get_document_drawing_object_ole_data_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_object_ole_data_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_object_ole_data_online(request) ⇒ File

Reads OLE data of a DrawingObject from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectOleDataOnlineRequest

Returns:

  • (File)


4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4797

def get_document_drawing_object_ole_data_online(request)
    begin
    data, _status_code, _headers = get_document_drawing_object_ole_data_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_object_ole_data_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_objects(request) ⇒ DrawingObjectsResponse

Reads DrawingObjects from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectsRequest

Returns:



4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4839

def get_document_drawing_objects(request)
    begin
    data, _status_code, _headers = get_document_drawing_objects_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_objects_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_drawing_objects_online(request) ⇒ DrawingObjectsResponse

Reads DrawingObjects from the document node.

Parameters:

  • request

    GetDocumentDrawingObjectsOnlineRequest

Returns:



4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4881

def get_document_drawing_objects_online(request)
    begin
    data, _status_code, _headers = get_document_drawing_objects_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_drawing_objects_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_field_names(request) ⇒ FieldNamesResponse

Reads merge field names from the document.

Parameters:

  • request

    GetDocumentFieldNamesRequest

Returns:



4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4923

def get_document_field_names(request)
    begin
    data, _status_code, _headers = get_document_field_names_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_field_names_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_field_names_online(request) ⇒ FieldNamesResponse

Reads merge field names from the document.

Parameters:

  • request

    GetDocumentFieldNamesOnlineRequest

Returns:



4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4965

def get_document_field_names_online(request)
    begin
    data, _status_code, _headers = get_document_field_names_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_field_names_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads a hyperlink from the document.

Parameters:

  • request

    GetDocumentHyperlinkByIndexRequest

Returns:



5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5007

def get_document_hyperlink_by_index(request)
    begin
    data, _status_code, _headers = get_document_hyperlink_by_index_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_hyperlink_by_index_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads a hyperlink from the document.

Parameters:

  • request

    GetDocumentHyperlinkByIndexOnlineRequest

Returns:



5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5049

def get_document_hyperlink_by_index_online(request)
    begin
    data, _status_code, _headers = get_document_hyperlink_by_index_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_hyperlink_by_index_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads hyperlinks from the document.

Parameters:

  • request

    GetDocumentHyperlinksRequest

Returns:



5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5091

def get_document_hyperlinks(request)
    begin
    data, _status_code, _headers = get_document_hyperlinks_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_hyperlinks_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads hyperlinks from the document.

Parameters:

  • request

    GetDocumentHyperlinksOnlineRequest

Returns:



5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5133

def get_document_hyperlinks_online(request)
    begin
    data, _status_code, _headers = get_document_hyperlinks_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_hyperlinks_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_properties(request) ⇒ DocumentPropertiesResponse

Reads document properties.

Parameters:

  • request

    GetDocumentPropertiesRequest

Returns:



5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5175

def get_document_properties(request)
    begin
    data, _status_code, _headers = get_document_properties_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_properties_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_properties_online(request) ⇒ DocumentPropertiesResponse

Reads document properties.

Parameters:

  • request

    GetDocumentPropertiesOnlineRequest

Returns:



5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5217

def get_document_properties_online(request)
    begin
    data, _status_code, _headers = get_document_properties_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_properties_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_property(request) ⇒ DocumentPropertyResponse

Reads a document property.

Parameters:

  • request

    GetDocumentPropertyRequest

Returns:



5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5259

def get_document_property(request)
    begin
    data, _status_code, _headers = get_document_property_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_property_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_property_online(request) ⇒ DocumentPropertyResponse

Reads a document property.

Parameters:

  • request

    GetDocumentPropertyOnlineRequest

Returns:



5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5301

def get_document_property_online(request)
    begin
    data, _status_code, _headers = get_document_property_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_property_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_protection(request) ⇒ ProtectionDataResponse

Reads protection properties from the document.

Parameters:

  • request

    GetDocumentProtectionRequest

Returns:



5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5343

def get_document_protection(request)
    begin
    data, _status_code, _headers = get_document_protection_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_protection_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_protection_online(request) ⇒ ProtectionDataResponse

Reads protection properties from the document.

Parameters:

  • request

    GetDocumentProtectionOnlineRequest

Returns:



5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5385

def get_document_protection_online(request)
    begin
    data, _status_code, _headers = get_document_protection_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_protection_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_statistics(request) ⇒ StatDataResponse

Reads document statistics.

Parameters:

  • request

    GetDocumentStatisticsRequest

Returns:



5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5427

def get_document_statistics(request)
    begin
    data, _status_code, _headers = get_document_statistics_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_statistics_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_statistics_online(request) ⇒ StatDataResponse

Reads document statistics.

Parameters:

  • request

    GetDocumentStatisticsOnlineRequest

Returns:



5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5469

def get_document_statistics_online(request)
    begin
    data, _status_code, _headers = get_document_statistics_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_statistics_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_document_with_format(request) ⇒ File

Converts a document in cloud storage to the specified format.

Parameters:

  • request

    GetDocumentWithFormatRequest

Returns:

  • (File)


5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5511

def get_document_with_format(request)
    begin
    data, _status_code, _headers = get_document_with_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_document_with_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_field(request) ⇒ FieldResponse

Reads a field from the document node.

Parameters:

  • request

    GetFieldRequest

Returns:



5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5553

def get_field(request)
    begin
    data, _status_code, _headers = get_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_field_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_field_online(request) ⇒ FieldResponse

Reads a field from the document node.

Parameters:

  • request

    GetFieldOnlineRequest

Returns:



5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5595

def get_field_online(request)
    begin
    data, _status_code, _headers = get_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_fields(request) ⇒ FieldsResponse

Reads fields from the document node.

Parameters:

  • request

    GetFieldsRequest

Returns:



5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5637

def get_fields(request)
    begin
    data, _status_code, _headers = get_fields_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_fields_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_fields_online(request) ⇒ FieldsResponse

Reads fields from the document node.

Parameters:

  • request

    GetFieldsOnlineRequest

Returns:



5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5679

def get_fields_online(request)
    begin
    data, _status_code, _headers = get_fields_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_fields_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_files_list(request) ⇒ FilesList

Get all files and folders within a folder.

Parameters:

  • request

    GetFilesListRequest

Returns:



5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5721

def get_files_list(request)
    begin
    data, _status_code, _headers = get_files_list_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_files_list_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_footnote(request) ⇒ FootnoteResponse

Reads a footnote from the document node.

Parameters:

  • request

    GetFootnoteRequest

Returns:



5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5763

def get_footnote(request)
    begin
    data, _status_code, _headers = get_footnote_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_footnote_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_footnote_online(request) ⇒ FootnoteResponse

Reads a footnote from the document node.

Parameters:

  • request

    GetFootnoteOnlineRequest

Returns:



5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5805

def get_footnote_online(request)
    begin
    data, _status_code, _headers = get_footnote_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_footnote_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_footnotes(request) ⇒ FootnotesResponse

Reads footnotes from the document node.

Parameters:

  • request

    GetFootnotesRequest

Returns:



5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5847

def get_footnotes(request)
    begin
    data, _status_code, _headers = get_footnotes_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_footnotes_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_footnotes_online(request) ⇒ FootnotesResponse

Reads footnotes from the document node.

Parameters:

  • request

    GetFootnotesOnlineRequest

Returns:



5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5889

def get_footnotes_online(request)
    begin
    data, _status_code, _headers = get_footnotes_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_footnotes_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_form_field(request) ⇒ FormFieldResponse

Reads a form field from the document node.

Parameters:

  • request

    GetFormFieldRequest

Returns:



5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5931

def get_form_field(request)
    begin
    data, _status_code, _headers = get_form_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_form_field_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_form_field_online(request) ⇒ FormFieldResponse

Reads a form field from the document node.

Parameters:

  • request

    GetFormFieldOnlineRequest

Returns:



5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5973

def get_form_field_online(request)
    begin
    data, _status_code, _headers = get_form_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_form_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_form_fields(request) ⇒ FormFieldsResponse

Reads form fields from the document node.

Parameters:

  • request

    GetFormFieldsRequest

Returns:



6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6015

def get_form_fields(request)
    begin
    data, _status_code, _headers = get_form_fields_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_form_fields_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_form_fields_online(request) ⇒ FormFieldsResponse

Reads form fields from the document node.

Parameters:

  • request

    GetFormFieldsOnlineRequest

Returns:



6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6057

def get_form_fields_online(request)
    begin
    data, _status_code, _headers = get_form_fields_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_form_fields_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads a HeaderFooter object from the document.

Parameters:

  • request

    GetHeaderFooterRequest

Returns:



6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6099

def get_header_footer(request)
    begin
    data, _status_code, _headers = get_header_footer_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_header_footer_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads a HeaderFooter object from the document section.

Parameters:

  • request

    GetHeaderFooterOfSectionRequest

Returns:



6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6141

def get_header_footer_of_section(request)
    begin
    data, _status_code, _headers = get_header_footer_of_section_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_header_footer_of_section_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads a HeaderFooter object from the document section.

Parameters:

  • request

    GetHeaderFooterOfSectionOnlineRequest

Returns:



6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6183

def get_header_footer_of_section_online(request)
    begin
    data, _status_code, _headers = get_header_footer_of_section_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_header_footer_of_section_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Reads a HeaderFooter object from the document.

Parameters:

  • request

    GetHeaderFooterOnlineRequest

Returns:



6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6225

def get_header_footer_online(request)
    begin
    data, _status_code, _headers = get_header_footer_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_header_footer_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_header_footers(request) ⇒ HeaderFootersResponse

Reads HeaderFooter objects from the document section.

Parameters:

  • request

    GetHeaderFootersRequest

Returns:



6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6267

def get_header_footers(request)
    begin
    data, _status_code, _headers = get_header_footers_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_header_footers_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_header_footers_online(request) ⇒ HeaderFootersResponse

Reads HeaderFooter objects from the document section.

Parameters:

  • request

    GetHeaderFootersOnlineRequest

Returns:



6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6309

def get_header_footers_online(request)
    begin
    data, _status_code, _headers = get_header_footers_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_header_footers_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_info(request) ⇒ InfoResponse

Returns application info.

Parameters:

  • request

    GetInfoRequest

Returns:



6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6351

def get_info(request)
    begin
    data, _status_code, _headers = get_info_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_info_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_list(request) ⇒ ListResponse

Reads a list from the document.

Parameters:

  • request

    GetListRequest

Returns:



6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6393

def get_list(request)
    begin
    data, _status_code, _headers = get_list_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_list_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_list_online(request) ⇒ ListResponse

Reads a list from the document.

Parameters:

  • request

    GetListOnlineRequest

Returns:



6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6435

def get_list_online(request)
    begin
    data, _status_code, _headers = get_list_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_list_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_lists(request) ⇒ ListsResponse

Reads lists from the document.

Parameters:

  • request

    GetListsRequest

Returns:



6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6477

def get_lists(request)
    begin
    data, _status_code, _headers = get_lists_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_lists_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_lists_online(request) ⇒ ListsResponse

Reads lists from the document.

Parameters:

  • request

    GetListsOnlineRequest

Returns:



6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6519

def get_lists_online(request)
    begin
    data, _status_code, _headers = get_lists_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_lists_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_office_math_object(request) ⇒ OfficeMathObjectResponse

Reads an OfficeMath object from the document node.

Parameters:

  • request

    GetOfficeMathObjectRequest

Returns:



6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6561

def get_office_math_object(request)
    begin
    data, _status_code, _headers = get_office_math_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_office_math_object_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_office_math_object_online(request) ⇒ OfficeMathObjectResponse

Reads an OfficeMath object from the document node.

Parameters:

  • request

    GetOfficeMathObjectOnlineRequest

Returns:



6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6603

def get_office_math_object_online(request)
    begin
    data, _status_code, _headers = get_office_math_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_office_math_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_office_math_objects(request) ⇒ OfficeMathObjectsResponse

Reads OfficeMath objects from the document node.

Parameters:

  • request

    GetOfficeMathObjectsRequest

Returns:



6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6645

def get_office_math_objects(request)
    begin
    data, _status_code, _headers = get_office_math_objects_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_office_math_objects_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_office_math_objects_online(request) ⇒ OfficeMathObjectsResponse

Reads OfficeMath objects from the document node.

Parameters:

  • request

    GetOfficeMathObjectsOnlineRequest

Returns:



6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6687

def get_office_math_objects_online(request)
    begin
    data, _status_code, _headers = get_office_math_objects_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_office_math_objects_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph(request) ⇒ ParagraphResponse

Reads a paragraph from the document node.

Parameters:

  • request

    GetParagraphRequest

Returns:



6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6729

def get_paragraph(request)
    begin
    data, _status_code, _headers = get_paragraph_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_format(request) ⇒ ParagraphFormatResponse

Reads the formatting properties of a paragraph from the document node.

Parameters:

  • request

    GetParagraphFormatRequest

Returns:



6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6771

def get_paragraph_format(request)
    begin
    data, _status_code, _headers = get_paragraph_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_format_online(request) ⇒ ParagraphFormatResponse

Reads the formatting properties of a paragraph from the document node.

Parameters:

  • request

    GetParagraphFormatOnlineRequest

Returns:



6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6813

def get_paragraph_format_online(request)
    begin
    data, _status_code, _headers = get_paragraph_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_list_format(request) ⇒ ParagraphListFormatResponse

Reads the formatting properties of a paragraph list from the document node.

Parameters:

  • request

    GetParagraphListFormatRequest

Returns:



6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6855

def get_paragraph_list_format(request)
    begin
    data, _status_code, _headers = get_paragraph_list_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_list_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_list_format_online(request) ⇒ ParagraphListFormatResponse

Reads the formatting properties of a paragraph list from the document node.

Parameters:

  • request

    GetParagraphListFormatOnlineRequest

Returns:



6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6897

def get_paragraph_list_format_online(request)
    begin
    data, _status_code, _headers = get_paragraph_list_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_list_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_online(request) ⇒ ParagraphResponse

Reads a paragraph from the document node.

Parameters:

  • request

    GetParagraphOnlineRequest

Returns:



6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6939

def get_paragraph_online(request)
    begin
    data, _status_code, _headers = get_paragraph_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_tab_stops(request) ⇒ TabStopsResponse

Reads paragraph tab stops from the document node.

Parameters:

  • request

    GetParagraphTabStopsRequest

Returns:



7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7065

def get_paragraph_tab_stops(request)
    begin
    data, _status_code, _headers = get_paragraph_tab_stops_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_tab_stops_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraph_tab_stops_online(request) ⇒ TabStopsResponse

Reads paragraph tab stops from the document node.

Parameters:

  • request

    GetParagraphTabStopsOnlineRequest

Returns:



7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7107

def get_paragraph_tab_stops_online(request)
    begin
    data, _status_code, _headers = get_paragraph_tab_stops_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraph_tab_stops_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraphs(request) ⇒ ParagraphLinkCollectionResponse

Reads paragraphs from the document node.

Parameters:

  • request

    GetParagraphsRequest

Returns:



6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6981

def get_paragraphs(request)
    begin
    data, _status_code, _headers = get_paragraphs_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraphs_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_paragraphs_online(request) ⇒ ParagraphLinkCollectionResponse

Reads paragraphs from the document node.

Parameters:

  • request

    GetParagraphsOnlineRequest

Returns:



7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7023

def get_paragraphs_online(request)
    begin
    data, _status_code, _headers = get_paragraphs_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_paragraphs_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_public_key(request) ⇒ PublicKeyResponse

Get assymetric public key.

Parameters:

  • request

    GetPublicKeyRequest

Returns:



7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7149

def get_public_key(request)
    begin
    data, _status_code, _headers = get_public_key_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_public_key_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_range_text(request) ⇒ RangeTextResponse

Reads range text from the document.

Parameters:

  • request

    GetRangeTextRequest

Returns:



7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7191

def get_range_text(request)
    begin
    data, _status_code, _headers = get_range_text_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_range_text_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_range_text_online(request) ⇒ RangeTextResponse

Reads range text from the document.

Parameters:

  • request

    GetRangeTextOnlineRequest

Returns:



7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7233

def get_range_text_online(request)
    begin
    data, _status_code, _headers = get_range_text_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_range_text_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_run(request) ⇒ RunResponse

Reads a Run object from the paragraph.

Parameters:

  • request

    GetRunRequest

Returns:



7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7275

def get_run(request)
    begin
    data, _status_code, _headers = get_run_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_run_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_run_font(request) ⇒ FontResponse

Reads the font properties of a Run object from the paragraph.

Parameters:

  • request

    GetRunFontRequest

Returns:



7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7317

def get_run_font(request)
    begin
    data, _status_code, _headers = get_run_font_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_run_font_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_run_font_online(request) ⇒ FontResponse

Reads the font properties of a Run object from the paragraph.

Parameters:

  • request

    GetRunFontOnlineRequest

Returns:



7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7359

def get_run_font_online(request)
    begin
    data, _status_code, _headers = get_run_font_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_run_font_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_run_online(request) ⇒ RunResponse

Reads a Run object from the paragraph.

Parameters:

  • request

    GetRunOnlineRequest

Returns:



7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7401

def get_run_online(request)
    begin
    data, _status_code, _headers = get_run_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_run_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_runs(request) ⇒ RunsResponse

Reads Run objects from the paragraph.

Parameters:

  • request

    GetRunsRequest

Returns:



7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7443

def get_runs(request)
    begin
    data, _status_code, _headers = get_runs_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_runs_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_runs_online(request) ⇒ RunsResponse

Reads Run objects from the paragraph.

Parameters:

  • request

    GetRunsOnlineRequest

Returns:



7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7485

def get_runs_online(request)
    begin
    data, _status_code, _headers = get_runs_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_runs_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_section(request) ⇒ SectionResponse

Reads a section from the document.

Parameters:

  • request

    GetSectionRequest

Returns:



7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7527

def get_section(request)
    begin
    data, _status_code, _headers = get_section_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_section_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_section_online(request) ⇒ SectionResponse

Reads a section from the document.

Parameters:

  • request

    GetSectionOnlineRequest

Returns:



7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7569

def get_section_online(request)
    begin
    data, _status_code, _headers = get_section_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_section_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_section_page_setup(request) ⇒ SectionPageSetupResponse

Reads the page setup of a section from the document.

Parameters:

  • request

    GetSectionPageSetupRequest

Returns:



7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7611

def get_section_page_setup(request)
    begin
    data, _status_code, _headers = get_section_page_setup_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_section_page_setup_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_section_page_setup_online(request) ⇒ SectionPageSetupResponse

Reads the page setup of a section from the document.

Parameters:

  • request

    GetSectionPageSetupOnlineRequest

Returns:



7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7653

def get_section_page_setup_online(request)
    begin
    data, _status_code, _headers = get_section_page_setup_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_section_page_setup_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_sections(request) ⇒ SectionLinkCollectionResponse

Reads sections from the document.

Parameters:

  • request

    GetSectionsRequest

Returns:



7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7695

def get_sections(request)
    begin
    data, _status_code, _headers = get_sections_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_sections_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_sections_online(request) ⇒ SectionLinkCollectionResponse

Reads sections from the document.

Parameters:

  • request

    GetSectionsOnlineRequest

Returns:



7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7737

def get_sections_online(request)
    begin
    data, _status_code, _headers = get_sections_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_sections_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_structured_document_tag(request) ⇒ StructuredDocumentTagResponse

Reads a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagRequest

Returns:



7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7779

def get_structured_document_tag(request)
    begin
    data, _status_code, _headers = get_structured_document_tag_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_structured_document_tag_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_structured_document_tag_online(request) ⇒ StructuredDocumentTagResponse

Reads a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagOnlineRequest

Returns:



7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7821

def get_structured_document_tag_online(request)
    begin
    data, _status_code, _headers = get_structured_document_tag_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_structured_document_tag_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_structured_document_tags(request) ⇒ StructuredDocumentTagsResponse

Reads StructuredDocumentTags (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagsRequest

Returns:



7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7863

def get_structured_document_tags(request)
    begin
    data, _status_code, _headers = get_structured_document_tags_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_structured_document_tags_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_structured_document_tags_online(request) ⇒ StructuredDocumentTagsResponse

Reads StructuredDocumentTags (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagsOnlineRequest

Returns:



7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7905

def get_structured_document_tags_online(request)
    begin
    data, _status_code, _headers = get_structured_document_tags_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_structured_document_tags_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_style(request) ⇒ StyleResponse

Reads a style from the document.

Parameters:

  • request

    GetStyleRequest

Returns:



7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7947

def get_style(request)
    begin
    data, _status_code, _headers = get_style_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_style_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_style_from_document_element(request) ⇒ StyleResponse

Reads a style from the document node.

Parameters:

  • request

    GetStyleFromDocumentElementRequest

Returns:



7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7989

def get_style_from_document_element(request)
    begin
    data, _status_code, _headers = get_style_from_document_element_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_style_from_document_element_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_style_from_document_element_online(request) ⇒ StyleResponse

Reads a style from the document node.

Parameters:

  • request

    GetStyleFromDocumentElementOnlineRequest

Returns:



8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8031

def get_style_from_document_element_online(request)
    begin
    data, _status_code, _headers = get_style_from_document_element_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_style_from_document_element_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_style_online(request) ⇒ StyleResponse

Reads a style from the document.

Parameters:

  • request

    GetStyleOnlineRequest

Returns:



8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8073

def get_style_online(request)
    begin
    data, _status_code, _headers = get_style_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_style_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_styles(request) ⇒ StylesResponse

Reads styles from the document.

Parameters:

  • request

    GetStylesRequest

Returns:



8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8115

def get_styles(request)
    begin
    data, _status_code, _headers = get_styles_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_styles_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_styles_online(request) ⇒ StylesResponse

Reads styles from the document.

Parameters:

  • request

    GetStylesOnlineRequest

Returns:



8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8157

def get_styles_online(request)
    begin
    data, _status_code, _headers = get_styles_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_styles_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table(request) ⇒ TableResponse

Reads a table from the document node.

Parameters:

  • request

    GetTableRequest

Returns:



8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8199

def get_table(request)
    begin
    data, _status_code, _headers = get_table_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_cell(request) ⇒ TableCellResponse

Reads a cell from the table row.

Parameters:

  • request

    GetTableCellRequest

Returns:



8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8241

def get_table_cell(request)
    begin
    data, _status_code, _headers = get_table_cell_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_cell_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_cell_format(request) ⇒ TableCellFormatResponse

Reads the formatting properties of a table cell.

Parameters:

  • request

    GetTableCellFormatRequest

Returns:



8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8283

def get_table_cell_format(request)
    begin
    data, _status_code, _headers = get_table_cell_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_cell_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_cell_format_online(request) ⇒ TableCellFormatResponse

Reads the formatting properties of a table cell.

Parameters:

  • request

    GetTableCellFormatOnlineRequest

Returns:



8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8325

def get_table_cell_format_online(request)
    begin
    data, _status_code, _headers = get_table_cell_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_cell_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_cell_online(request) ⇒ TableCellResponse

Reads a cell from the table row.

Parameters:

  • request

    GetTableCellOnlineRequest

Returns:



8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8367

def get_table_cell_online(request)
    begin
    data, _status_code, _headers = get_table_cell_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_cell_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_online(request) ⇒ TableResponse

Reads a table from the document node.

Parameters:

  • request

    GetTableOnlineRequest

Returns:



8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8409

def get_table_online(request)
    begin
    data, _status_code, _headers = get_table_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_properties(request) ⇒ TablePropertiesResponse

Reads properties of a table from the document node.

Parameters:

  • request

    GetTablePropertiesRequest

Returns:



8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8451

def get_table_properties(request)
    begin
    data, _status_code, _headers = get_table_properties_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_properties_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_properties_online(request) ⇒ TablePropertiesResponse

Reads properties of a table from the document node.

Parameters:

  • request

    GetTablePropertiesOnlineRequest

Returns:



8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8493

def get_table_properties_online(request)
    begin
    data, _status_code, _headers = get_table_properties_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_properties_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_row(request) ⇒ TableRowResponse

Reads a row from the table.

Parameters:

  • request

    GetTableRowRequest

Returns:



8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8535

def get_table_row(request)
    begin
    data, _status_code, _headers = get_table_row_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_row_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_row_format(request) ⇒ TableRowFormatResponse

Reads the formatting properties of a table row.

Parameters:

  • request

    GetTableRowFormatRequest

Returns:



8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8577

def get_table_row_format(request)
    begin
    data, _status_code, _headers = get_table_row_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_row_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_row_format_online(request) ⇒ TableRowFormatResponse

Reads the formatting properties of a table row.

Parameters:

  • request

    GetTableRowFormatOnlineRequest

Returns:



8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8619

def get_table_row_format_online(request)
    begin
    data, _status_code, _headers = get_table_row_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_row_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_table_row_online(request) ⇒ TableRowResponse

Reads a row from the table.

Parameters:

  • request

    GetTableRowOnlineRequest

Returns:



8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8661

def get_table_row_online(request)
    begin
    data, _status_code, _headers = get_table_row_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_table_row_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_tables(request) ⇒ TableLinkCollectionResponse

Reads tables from the document node.

Parameters:

  • request

    GetTablesRequest

Returns:



8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8703

def get_tables(request)
    begin
    data, _status_code, _headers = get_tables_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_tables_with_http_info(request)
        else
        raise
        end
    end
    data
end

#get_tables_online(request) ⇒ TableLinkCollectionResponse

Reads tables from the document node.

Parameters:

  • request

    GetTablesOnlineRequest

Returns:



8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8745

def get_tables_online(request)
    begin
    data, _status_code, _headers = get_tables_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = get_tables_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_bookmark(request) ⇒ BookmarkResponse

Inserts a new bookmark to the document.

Parameters:

  • request

    InsertBookmarkRequest

Returns:



8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8787

def insert_bookmark(request)
    begin
    data, _status_code, _headers = insert_bookmark_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_bookmark_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_bookmark_online(request) ⇒ InsertBookmarkOnlineResponse

Inserts a new bookmark to the document.

Parameters:

  • request

    InsertBookmarkOnlineRequest

Returns:



8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8829

def insert_bookmark_online(request)
    begin
    data, _status_code, _headers = insert_bookmark_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_bookmark_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_comment(request) ⇒ CommentResponse

Inserts a new comment to the document.

Parameters:

  • request

    InsertCommentRequest

Returns:



8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8875

def insert_comment(request)
    begin
    data, _status_code, _headers = insert_comment_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_comment_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_comment_online(request) ⇒ InsertCommentOnlineResponse

Inserts a new comment to the document.

Parameters:

  • request

    InsertCommentOnlineRequest

Returns:



8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8917

def insert_comment_online(request)
    begin
    data, _status_code, _headers = insert_comment_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_comment_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_custom_xml_part(request) ⇒ CustomXmlPartResponse

Inserts a new custom xml part to the document.

Parameters:

  • request

    InsertCustomXmlPartRequest

Returns:



8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8963

def insert_custom_xml_part(request)
    begin
    data, _status_code, _headers = insert_custom_xml_part_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_custom_xml_part_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_custom_xml_part_online(request) ⇒ InsertCustomXmlPartOnlineResponse

Inserts a new custom xml part to the document.

Parameters:

  • request

    InsertCustomXmlPartOnlineRequest

Returns:



9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9005

def insert_custom_xml_part_online(request)
    begin
    data, _status_code, _headers = insert_custom_xml_part_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_custom_xml_part_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_drawing_object(request) ⇒ DrawingObjectResponse

Inserts a new DrawingObject to the document node.

Parameters:

  • request

    InsertDrawingObjectRequest

Returns:



9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9051

def insert_drawing_object(request)
    begin
    data, _status_code, _headers = insert_drawing_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_drawing_object_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_drawing_object_online(request) ⇒ InsertDrawingObjectOnlineResponse

Inserts a new DrawingObject to the document node.

Parameters:

  • request

    InsertDrawingObjectOnlineRequest

Returns:



9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9093

def insert_drawing_object_online(request)
    begin
    data, _status_code, _headers = insert_drawing_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_drawing_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_field(request) ⇒ FieldResponse

Inserts a new field to the document node.

Parameters:

  • request

    InsertFieldRequest

Returns:



9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9139

def insert_field(request)
    begin
    data, _status_code, _headers = insert_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_field_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_field_online(request) ⇒ InsertFieldOnlineResponse

Inserts a new field to the document node.

Parameters:

  • request

    InsertFieldOnlineRequest

Returns:



9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9181

def insert_field_online(request)
    begin
    data, _status_code, _headers = insert_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_footnote(request) ⇒ FootnoteResponse

Inserts a new footnote to the document node.

Parameters:

  • request

    InsertFootnoteRequest

Returns:



9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9227

def insert_footnote(request)
    begin
    data, _status_code, _headers = insert_footnote_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_footnote_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_footnote_online(request) ⇒ InsertFootnoteOnlineResponse

Inserts a new footnote to the document node.

Parameters:

  • request

    InsertFootnoteOnlineRequest

Returns:



9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9269

def insert_footnote_online(request)
    begin
    data, _status_code, _headers = insert_footnote_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_footnote_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_form_field(request) ⇒ FormFieldResponse

Inserts a new form field to the document node.

Parameters:

  • request

    InsertFormFieldRequest

Returns:



9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9315

def insert_form_field(request)
    begin
    data, _status_code, _headers = insert_form_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_form_field_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_form_field_online(request) ⇒ InsertFormFieldOnlineResponse

Inserts a new form field to the document node.

Parameters:

  • request

    InsertFormFieldOnlineRequest

Returns:



9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9357

def insert_form_field_online(request)
    begin
    data, _status_code, _headers = insert_form_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_form_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Inserts a new HeaderFooter object to the document section.

Parameters:

  • request

    InsertHeaderFooterRequest

Returns:



9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9403

def insert_header_footer(request)
    begin
    data, _status_code, _headers = insert_header_footer_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_header_footer_with_http_info(request)
        else
        raise
        end
    end
    data
end

Inserts a new HeaderFooter object to the document section.

Parameters:

  • request

    InsertHeaderFooterOnlineRequest

Returns:



9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9445

def insert_header_footer_online(request)
    begin
    data, _status_code, _headers = insert_header_footer_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_header_footer_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_list(request) ⇒ ListResponse

Inserts a new list to the document.

Parameters:

  • request

    InsertListRequest

Returns:



9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9491

def insert_list(request)
    begin
    data, _status_code, _headers = insert_list_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_list_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_list_online(request) ⇒ InsertListOnlineResponse

Inserts a new list to the document.

Parameters:

  • request

    InsertListOnlineRequest

Returns:



9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9533

def insert_list_online(request)
    begin
    data, _status_code, _headers = insert_list_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_list_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_or_update_paragraph_tab_stop(request) ⇒ TabStopsResponse

Inserts a new or updates an existing paragraph tab stop in the document node.

Parameters:

  • request

    InsertOrUpdateParagraphTabStopRequest

Returns:



9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9579

def insert_or_update_paragraph_tab_stop(request)
    begin
    data, _status_code, _headers = insert_or_update_paragraph_tab_stop_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_or_update_paragraph_tab_stop_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_or_update_paragraph_tab_stop_online(request) ⇒ InsertOrUpdateParagraphTabStopOnlineResponse

Inserts a new or updates an existing paragraph tab stop in the document node.

Parameters:

  • request

    InsertOrUpdateParagraphTabStopOnlineRequest

Returns:



9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9621

def insert_or_update_paragraph_tab_stop_online(request)
    begin
    data, _status_code, _headers = insert_or_update_paragraph_tab_stop_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_or_update_paragraph_tab_stop_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_page_numbers(request) ⇒ DocumentResponse

Inserts page numbers to the document.

Parameters:

  • request

    InsertPageNumbersRequest

Returns:



9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9667

def insert_page_numbers(request)
    begin
    data, _status_code, _headers = insert_page_numbers_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_page_numbers_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_page_numbers_online(request) ⇒ InsertPageNumbersOnlineResponse

Inserts page numbers to the document.

Parameters:

  • request

    InsertPageNumbersOnlineRequest

Returns:



9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9709

def insert_page_numbers_online(request)
    begin
    data, _status_code, _headers = insert_page_numbers_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_page_numbers_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_paragraph(request) ⇒ ParagraphResponse

Inserts a new paragraph to the document node.

Parameters:

  • request

    InsertParagraphRequest

Returns:



9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9755

def insert_paragraph(request)
    begin
    data, _status_code, _headers = insert_paragraph_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_paragraph_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_paragraph_online(request) ⇒ InsertParagraphOnlineResponse

Inserts a new paragraph to the document node.

Parameters:

  • request

    InsertParagraphOnlineRequest

Returns:



9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9797

def insert_paragraph_online(request)
    begin
    data, _status_code, _headers = insert_paragraph_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_paragraph_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_run(request) ⇒ RunResponse

Inserts a new Run object to the paragraph.

Parameters:

  • request

    InsertRunRequest

Returns:



9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9843

def insert_run(request)
    begin
    data, _status_code, _headers = insert_run_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_run_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_run_online(request) ⇒ InsertRunOnlineResponse

Inserts a new Run object to the paragraph.

Parameters:

  • request

    InsertRunOnlineRequest

Returns:



9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9885

def insert_run_online(request)
    begin
    data, _status_code, _headers = insert_run_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_run_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_section(request) ⇒ nil

Inserts a section to the document.

Parameters:

  • request

    InsertSectionRequest

Returns:

  • (nil)


9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9931

def insert_section(request)
    begin
    data, _status_code, _headers = insert_section_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_section_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#insert_section_online(request) ⇒ FILES_COLLECTION

Inserts a section to the document.

Parameters:

  • request

    InsertSectionOnlineRequest

Returns:

  • (FILES_COLLECTION)


9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9972

def insert_section_online(request)
    begin
    data, _status_code, _headers = insert_section_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_section_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_structured_document_tag(request) ⇒ StructuredDocumentTagResponse

Inserts a new StructuredDocumentTag (SDT) to the document node.

Parameters:

  • request

    InsertStructuredDocumentTagRequest

Returns:



10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10015

def insert_structured_document_tag(request)
    begin
    data, _status_code, _headers = insert_structured_document_tag_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_structured_document_tag_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_structured_document_tag_online(request) ⇒ InsertStructuredDocumentTagOnlineResponse

Inserts a new StructuredDocumentTag (SDT) to the document node.

Parameters:

  • request

    InsertStructuredDocumentTagOnlineRequest

Returns:



10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10057

def insert_structured_document_tag_online(request)
    begin
    data, _status_code, _headers = insert_structured_document_tag_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_structured_document_tag_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_style(request) ⇒ StyleResponse

Inserts a new style to the document.

Parameters:

  • request

    InsertStyleRequest

Returns:



10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10103

def insert_style(request)
    begin
    data, _status_code, _headers = insert_style_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_style_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_style_online(request) ⇒ InsertStyleOnlineResponse

Inserts a new style to the document.

Parameters:

  • request

    InsertStyleOnlineRequest

Returns:



10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10145

def insert_style_online(request)
    begin
    data, _status_code, _headers = insert_style_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_style_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_table(request) ⇒ TableResponse

Inserts a new table to the document node.

Parameters:

  • request

    InsertTableRequest

Returns:



10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10191

def insert_table(request)
    begin
    data, _status_code, _headers = insert_table_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_table_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_table_cell(request) ⇒ TableCellResponse

Inserts a new cell to the table row.

Parameters:

  • request

    InsertTableCellRequest

Returns:



10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10233

def insert_table_cell(request)
    begin
    data, _status_code, _headers = insert_table_cell_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_table_cell_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_table_cell_online(request) ⇒ InsertTableCellOnlineResponse

Inserts a new cell to the table row.

Parameters:

  • request

    InsertTableCellOnlineRequest

Returns:



10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10275

def insert_table_cell_online(request)
    begin
    data, _status_code, _headers = insert_table_cell_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_table_cell_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_table_online(request) ⇒ InsertTableOnlineResponse

Inserts a new table to the document node.

Parameters:

  • request

    InsertTableOnlineRequest

Returns:



10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10321

def insert_table_online(request)
    begin
    data, _status_code, _headers = insert_table_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_table_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_table_row(request) ⇒ TableRowResponse

Inserts a new row to the table.

Parameters:

  • request

    InsertTableRowRequest

Returns:



10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10367

def insert_table_row(request)
    begin
    data, _status_code, _headers = insert_table_row_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_table_row_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_table_row_online(request) ⇒ InsertTableRowOnlineResponse

Inserts a new row to the table.

Parameters:

  • request

    InsertTableRowOnlineRequest

Returns:



10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10409

def insert_table_row_online(request)
    begin
    data, _status_code, _headers = insert_table_row_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_table_row_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_watermark_image(request) ⇒ DocumentResponse

Inserts a new watermark image to the document.

Parameters:

  • request

    InsertWatermarkImageRequest

Returns:



10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10455

def insert_watermark_image(request)
    begin
    data, _status_code, _headers = insert_watermark_image_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_image_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_watermark_image_online(request) ⇒ InsertWatermarkImageOnlineResponse

Inserts a new watermark image to the document.

Parameters:

  • request

    InsertWatermarkImageOnlineRequest

Returns:



10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10497

def insert_watermark_image_online(request)
    begin
    data, _status_code, _headers = insert_watermark_image_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_image_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_watermark_text(request) ⇒ DocumentResponse

Inserts a new watermark text to the document.

Parameters:

  • request

    InsertWatermarkTextRequest

Returns:



10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10543

def insert_watermark_text(request)
    begin
    data, _status_code, _headers = insert_watermark_text_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_text_with_http_info(request)
        else
        raise
        end
    end
    data
end

#insert_watermark_text_online(request) ⇒ InsertWatermarkTextOnlineResponse

Inserts a new watermark text to the document.

Parameters:

  • request

    InsertWatermarkTextOnlineRequest

Returns:



10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10585

def insert_watermark_text_online(request)
    begin
    data, _status_code, _headers = insert_watermark_text_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_text_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

Links headers / footers of the section to the previous one.

Parameters:

  • request

    LinkHeaderFootersToPreviousRequest

Returns:

  • (nil)


10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10631

def link_header_footers_to_previous(request)
    begin
    data, _status_code, _headers = link_header_footers_to_previous_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = link_header_footers_to_previous_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#load_web_document(request) ⇒ SaveResponse

Downloads a document from the Web using URL and saves it to cloud storage in the specified format.

Parameters:

  • request

    LoadWebDocumentRequest

Returns:



10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10672

def load_web_document(request)
    begin
    data, _status_code, _headers = load_web_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = load_web_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#move_file(request) ⇒ nil

Move file.

Parameters:

  • request

    MoveFileRequest

Returns:

  • (nil)


10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10714

def move_file(request)
    begin
    data, _status_code, _headers = move_file_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = move_file_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#move_folder(request) ⇒ nil

Move folder.

Parameters:

  • request

    MoveFolderRequest

Returns:

  • (nil)


10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10755

def move_folder(request)
    begin
    data, _status_code, _headers = move_folder_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = move_folder_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#optimize_document(request) ⇒ nil

Applies document content optimization options, specific to a particular versions of Microsoft Word.

Parameters:

  • request

    OptimizeDocumentRequest

Returns:

  • (nil)


10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10796

def optimize_document(request)
    begin
    data, _status_code, _headers = optimize_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = optimize_document_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#optimize_document_online(request) ⇒ FILES_COLLECTION

Applies document content optimization options, specific to a particular versions of Microsoft Word.

Parameters:

  • request

    OptimizeDocumentOnlineRequest

Returns:

  • (FILES_COLLECTION)


10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10837

def optimize_document_online(request)
    begin
    data, _status_code, _headers = optimize_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = optimize_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#protect_document(request) ⇒ ProtectionDataResponse

Adds protection to the document.

Parameters:

  • request

    ProtectDocumentRequest

Returns:



10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10880

def protect_document(request)
    begin
    data, _status_code, _headers = protect_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = protect_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#protect_document_online(request) ⇒ ProtectDocumentOnlineResponse

Adds protection to the document.

Parameters:

  • request

    ProtectDocumentOnlineRequest

Returns:



10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10922

def protect_document_online(request)
    begin
    data, _status_code, _headers = protect_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = protect_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#reject_all_revisions(request) ⇒ RevisionsModificationResponse

Rejects all revisions in the document.

Parameters:

  • request

    RejectAllRevisionsRequest

Returns:



10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10968

def reject_all_revisions(request)
    begin
    data, _status_code, _headers = reject_all_revisions_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = reject_all_revisions_with_http_info(request)
        else
        raise
        end
    end
    data
end

#reject_all_revisions_online(request) ⇒ RejectAllRevisionsOnlineResponse

Rejects all revisions in the document.

Parameters:

  • request

    RejectAllRevisionsOnlineRequest

Returns:



11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11010

def reject_all_revisions_online(request)
    begin
    data, _status_code, _headers = reject_all_revisions_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = reject_all_revisions_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#remove_range(request) ⇒ DocumentResponse

Removes a range from the document.

Parameters:

  • request

    RemoveRangeRequest

Returns:



11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11056

def remove_range(request)
    begin
    data, _status_code, _headers = remove_range_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = remove_range_with_http_info(request)
        else
        raise
        end
    end
    data
end

#remove_range_online(request) ⇒ RemoveRangeOnlineResponse

Removes a range from the document.

Parameters:

  • request

    RemoveRangeOnlineRequest

Returns:



11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11098

def remove_range_online(request)
    begin
    data, _status_code, _headers = remove_range_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = remove_range_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_drawing_object(request) ⇒ File

Renders a DrawingObject to the specified format.

Parameters:

  • request

    RenderDrawingObjectRequest

Returns:

  • (File)


11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11144

def render_drawing_object(request)
    begin
    data, _status_code, _headers = render_drawing_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_drawing_object_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_drawing_object_online(request) ⇒ File

Renders a DrawingObject to the specified format.

Parameters:

  • request

    RenderDrawingObjectOnlineRequest

Returns:

  • (File)


11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11186

def render_drawing_object_online(request)
    begin
    data, _status_code, _headers = render_drawing_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_drawing_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_math_object(request) ⇒ File

Renders an OfficeMath object to the specified format.

Parameters:

  • request

    RenderMathObjectRequest

Returns:

  • (File)


11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11228

def render_math_object(request)
    begin
    data, _status_code, _headers = render_math_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_math_object_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_math_object_online(request) ⇒ File

Renders an OfficeMath object to the specified format.

Parameters:

  • request

    RenderMathObjectOnlineRequest

Returns:

  • (File)


11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11270

def render_math_object_online(request)
    begin
    data, _status_code, _headers = render_math_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_math_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_page(request) ⇒ File

Renders a page to the specified format.

Parameters:

  • request

    RenderPageRequest

Returns:

  • (File)


11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11312

def render_page(request)
    begin
    data, _status_code, _headers = render_page_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_page_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_page_online(request) ⇒ File

Renders a page to the specified format.

Parameters:

  • request

    RenderPageOnlineRequest

Returns:

  • (File)


11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11354

def render_page_online(request)
    begin
    data, _status_code, _headers = render_page_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_page_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_paragraph(request) ⇒ File

Renders a paragraph to the specified format.

Parameters:

  • request

    RenderParagraphRequest

Returns:

  • (File)


11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11396

def render_paragraph(request)
    begin
    data, _status_code, _headers = render_paragraph_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_paragraph_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_paragraph_online(request) ⇒ File

Renders a paragraph to the specified format.

Parameters:

  • request

    RenderParagraphOnlineRequest

Returns:

  • (File)


11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11438

def render_paragraph_online(request)
    begin
    data, _status_code, _headers = render_paragraph_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_paragraph_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_table(request) ⇒ File

Renders a table to the specified format.

Parameters:

  • request

    RenderTableRequest

Returns:

  • (File)


11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11480

def render_table(request)
    begin
    data, _status_code, _headers = render_table_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_table_with_http_info(request)
        else
        raise
        end
    end
    data
end

#render_table_online(request) ⇒ File

Renders a table to the specified format.

Parameters:

  • request

    RenderTableOnlineRequest

Returns:

  • (File)


11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11522

def render_table_online(request)
    begin
    data, _status_code, _headers = render_table_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = render_table_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#replace_text(request) ⇒ ReplaceTextResponse

Replaces text in the document.

Parameters:

  • request

    ReplaceTextRequest

Returns:



11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11564

def replace_text(request)
    begin
    data, _status_code, _headers = replace_text_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = replace_text_with_http_info(request)
        else
        raise
        end
    end
    data
end

#replace_text_online(request) ⇒ ReplaceTextOnlineResponse

Replaces text in the document.

Parameters:

  • request

    ReplaceTextOnlineRequest

Returns:



11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11606

def replace_text_online(request)
    begin
    data, _status_code, _headers = replace_text_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = replace_text_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#replace_with_text(request) ⇒ DocumentResponse

Replaces a range with text in the document.

Parameters:

  • request

    ReplaceWithTextRequest

Returns:



11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11652

def replace_with_text(request)
    begin
    data, _status_code, _headers = replace_with_text_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = replace_with_text_with_http_info(request)
        else
        raise
        end
    end
    data
end

#replace_with_text_online(request) ⇒ ReplaceWithTextOnlineResponse

Replaces a range with text in the document.

Parameters:

  • request

    ReplaceWithTextOnlineRequest

Returns:



11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11694

def replace_with_text_online(request)
    begin
    data, _status_code, _headers = replace_with_text_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = replace_with_text_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#reset_cache(request) ⇒ nil

Clears the font cache.

Parameters:

  • request

    ResetCacheRequest

Returns:

  • (nil)


11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11740

def reset_cache(request)
    begin
    data, _status_code, _headers = reset_cache_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = reset_cache_with_http_info(request)
        else
        raise
        end
    end
    nil
end

#save_as(request) ⇒ SaveResponse

Converts a document in cloud storage to the specified format.

Parameters:

  • request

    SaveAsRequest

Returns:



11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11781

def save_as(request)
    begin
    data, _status_code, _headers = save_as_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = save_as_with_http_info(request)
        else
        raise
        end
    end
    data
end

#save_as_online(request) ⇒ SaveAsOnlineResponse

Converts a document in cloud storage to the specified format.

Parameters:

  • request

    SaveAsOnlineRequest

Returns:



11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11823

def save_as_online(request)
    begin
    data, _status_code, _headers = save_as_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = save_as_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#save_as_range(request) ⇒ DocumentResponse

Saves a range as a new document.

Parameters:

  • request

    SaveAsRangeRequest

Returns:



11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11869

def save_as_range(request)
    begin
    data, _status_code, _headers = save_as_range_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = save_as_range_with_http_info(request)
        else
        raise
        end
    end
    data
end

#save_as_range_online(request) ⇒ SaveAsRangeOnlineResponse

Saves a range as a new document.

Parameters:

  • request

    SaveAsRangeOnlineRequest

Returns:



11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11911

def save_as_range_online(request)
    begin
    data, _status_code, _headers = save_as_range_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = save_as_range_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#save_as_tiff(request) ⇒ SaveResponse

Converts a document in cloud storage to TIFF format using detailed conversion settings.

Parameters:

  • request

    SaveAsTiffRequest

Returns:



11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11957

def save_as_tiff(request)
    warn "This operation will be removed in the future."
    begin
    data, _status_code, _headers = save_as_tiff_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = save_as_tiff_with_http_info(request)
        else
        raise
        end
    end
    data
end

#save_as_tiff_online(request) ⇒ SaveAsTiffOnlineResponse

Converts a document in cloud storage to TIFF format using detailed conversion settings.

Parameters:

  • request

    SaveAsTiffOnlineRequest

Returns:



12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12000

def save_as_tiff_online(request)
    warn "This operation will be removed in the future."
    begin
    data, _status_code, _headers = save_as_tiff_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = save_as_tiff_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#search(request) ⇒ SearchResponse

Searches text, specified by the regular expression, in the document.

Parameters:

  • request

    SearchRequest

Returns:



12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12047

def search(request)
    begin
    data, _status_code, _headers = search_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = search_with_http_info(request)
        else
        raise
        end
    end
    data
end

#search_online(request) ⇒ SearchResponse

Searches text, specified by the regular expression, in the document.

Parameters:

  • request

    SearchOnlineRequest

Returns:



12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12089

def search_online(request)
    begin
    data, _status_code, _headers = search_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = search_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#split_document(request) ⇒ SplitDocumentResponse

Splits a document into parts and saves them in the specified format.

Parameters:

  • request

    SplitDocumentRequest

Returns:



12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12131

def split_document(request)
    begin
    data, _status_code, _headers = split_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = split_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#split_document_online(request) ⇒ SplitDocumentOnlineResponse

Splits a document into parts and saves them in the specified format.

Parameters:

  • request

    SplitDocumentOnlineRequest

Returns:



12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12173

def split_document_online(request)
    begin
    data, _status_code, _headers = split_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = split_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#unprotect_document(request) ⇒ ProtectionDataResponse

Removes protection from the document.

Parameters:

  • request

    UnprotectDocumentRequest

Returns:



12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12219

def unprotect_document(request)
    begin
    data, _status_code, _headers = unprotect_document_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = unprotect_document_with_http_info(request)
        else
        raise
        end
    end
    data
end

#unprotect_document_online(request) ⇒ UnprotectDocumentOnlineResponse

Removes protection from the document.

Parameters:

  • request

    UnprotectDocumentOnlineRequest

Returns:



12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12261

def unprotect_document_online(request)
    begin
    data, _status_code, _headers = unprotect_document_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = unprotect_document_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_bookmark(request) ⇒ BookmarkResponse

Updates a bookmark in the document.

Parameters:

  • request

    UpdateBookmarkRequest

Returns:



12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12307

def update_bookmark(request)
    begin
    data, _status_code, _headers = update_bookmark_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_bookmark_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_bookmark_online(request) ⇒ UpdateBookmarkOnlineResponse

Updates a bookmark in the document.

Parameters:

  • request

    UpdateBookmarkOnlineRequest

Returns:



12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12349

def update_bookmark_online(request)
    begin
    data, _status_code, _headers = update_bookmark_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_bookmark_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_border(request) ⇒ BorderResponse

Updates a border in the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    UpdateBorderRequest

Returns:



12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12396

def update_border(request)
    begin
    data, _status_code, _headers = update_border_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_border_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_border_online(request) ⇒ UpdateBorderOnlineResponse

Updates a border in the document node. The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    UpdateBorderOnlineRequest

Returns:



12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12440

def update_border_online(request)
    begin
    data, _status_code, _headers = update_border_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_border_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_comment(request) ⇒ CommentResponse

Updates a comment in the document.

Parameters:

  • request

    UpdateCommentRequest

Returns:



12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12487

def update_comment(request)
    begin
    data, _status_code, _headers = update_comment_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_comment_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_comment_online(request) ⇒ UpdateCommentOnlineResponse

Updates a comment in the document.

Parameters:

  • request

    UpdateCommentOnlineRequest

Returns:



12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12529

def update_comment_online(request)
    begin
    data, _status_code, _headers = update_comment_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_comment_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_custom_xml_part(request) ⇒ CustomXmlPartResponse

Updates the custom xml part in the document.

Parameters:

  • request

    UpdateCustomXmlPartRequest

Returns:



12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12575

def update_custom_xml_part(request)
    begin
    data, _status_code, _headers = update_custom_xml_part_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_custom_xml_part_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_custom_xml_part_online(request) ⇒ UpdateCustomXmlPartOnlineResponse

Updates the custom xml part in the document.

Parameters:

  • request

    UpdateCustomXmlPartOnlineRequest

Returns:



12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12617

def update_custom_xml_part_online(request)
    begin
    data, _status_code, _headers = update_custom_xml_part_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_custom_xml_part_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_drawing_object(request) ⇒ DrawingObjectResponse

Updates a DrawingObject in the document node.

Parameters:

  • request

    UpdateDrawingObjectRequest

Returns:



12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12663

def update_drawing_object(request)
    begin
    data, _status_code, _headers = update_drawing_object_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_drawing_object_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_drawing_object_online(request) ⇒ UpdateDrawingObjectOnlineResponse

Updates a DrawingObject in the document node.

Parameters:

  • request

    UpdateDrawingObjectOnlineRequest

Returns:



12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12705

def update_drawing_object_online(request)
    begin
    data, _status_code, _headers = update_drawing_object_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_drawing_object_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_field(request) ⇒ FieldResponse

Updates a field in the document node.

Parameters:

  • request

    UpdateFieldRequest

Returns:



12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12751

def update_field(request)
    begin
    data, _status_code, _headers = update_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_field_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_field_online(request) ⇒ UpdateFieldOnlineResponse

Updates a field in the document node.

Parameters:

  • request

    UpdateFieldOnlineRequest

Returns:



12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12793

def update_field_online(request)
    begin
    data, _status_code, _headers = update_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_fields(request) ⇒ DocumentResponse

Reevaluates field values in the document.

Parameters:

  • request

    UpdateFieldsRequest

Returns:



12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12839

def update_fields(request)
    begin
    data, _status_code, _headers = update_fields_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_fields_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_fields_online(request) ⇒ UpdateFieldsOnlineResponse

Reevaluates field values in the document.

Parameters:

  • request

    UpdateFieldsOnlineRequest

Returns:



12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12881

def update_fields_online(request)
    begin
    data, _status_code, _headers = update_fields_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_fields_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_footnote(request) ⇒ FootnoteResponse

Updates a footnote in the document node.

Parameters:

  • request

    UpdateFootnoteRequest

Returns:



12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12927

def update_footnote(request)
    begin
    data, _status_code, _headers = update_footnote_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_footnote_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_footnote_online(request) ⇒ UpdateFootnoteOnlineResponse

Updates a footnote in the document node.

Parameters:

  • request

    UpdateFootnoteOnlineRequest

Returns:



12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12969

def update_footnote_online(request)
    begin
    data, _status_code, _headers = update_footnote_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_footnote_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_form_field(request) ⇒ FormFieldResponse

Updates a form field in the document node.

Parameters:

  • request

    UpdateFormFieldRequest

Returns:



13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13015

def update_form_field(request)
    begin
    data, _status_code, _headers = update_form_field_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_form_field_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_form_field_online(request) ⇒ UpdateFormFieldOnlineResponse

Updates a form field in the document node.

Parameters:

  • request

    UpdateFormFieldOnlineRequest

Returns:



13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13057

def update_form_field_online(request)
    begin
    data, _status_code, _headers = update_form_field_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_form_field_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_list(request) ⇒ ListResponse

Updates a list in the document.

Parameters:

  • request

    UpdateListRequest

Returns:



13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13103

def update_list(request)
    begin
    data, _status_code, _headers = update_list_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_list_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_list_level(request) ⇒ ListResponse

Updates the level of a List element in the document.

Parameters:

  • request

    UpdateListLevelRequest

Returns:



13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13145

def update_list_level(request)
    begin
    data, _status_code, _headers = update_list_level_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_list_level_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_list_level_online(request) ⇒ UpdateListLevelOnlineResponse

Updates the level of a List element in the document.

Parameters:

  • request

    UpdateListLevelOnlineRequest

Returns:



13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13187

def update_list_level_online(request)
    begin
    data, _status_code, _headers = update_list_level_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_list_level_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_list_online(request) ⇒ UpdateListOnlineResponse

Updates a list in the document.

Parameters:

  • request

    UpdateListOnlineRequest

Returns:



13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13233

def update_list_online(request)
    begin
    data, _status_code, _headers = update_list_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_list_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_paragraph_format(request) ⇒ ParagraphFormatResponse

Updates the formatting properties of a paragraph in the document node.

Parameters:

  • request

    UpdateParagraphFormatRequest

Returns:



13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13279

def update_paragraph_format(request)
    begin
    data, _status_code, _headers = update_paragraph_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_paragraph_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_paragraph_format_online(request) ⇒ UpdateParagraphFormatOnlineResponse

Updates the formatting properties of a paragraph in the document node.

Parameters:

  • request

    UpdateParagraphFormatOnlineRequest

Returns:



13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13321

def update_paragraph_format_online(request)
    begin
    data, _status_code, _headers = update_paragraph_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_paragraph_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_paragraph_list_format(request) ⇒ ParagraphListFormatResponse

Updates the formatting properties of a paragraph list in the document node.

Parameters:

  • request

    UpdateParagraphListFormatRequest

Returns:



13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13367

def update_paragraph_list_format(request)
    begin
    data, _status_code, _headers = update_paragraph_list_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_paragraph_list_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_paragraph_list_format_online(request) ⇒ UpdateParagraphListFormatOnlineResponse

Updates the formatting properties of a paragraph list in the document node.

Parameters:

  • request

    UpdateParagraphListFormatOnlineRequest

Returns:



13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13409

def update_paragraph_list_format_online(request)
    begin
    data, _status_code, _headers = update_paragraph_list_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_paragraph_list_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_run(request) ⇒ RunResponse

Updates a Run object in the paragraph.

Parameters:

  • request

    UpdateRunRequest

Returns:



13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13455

def update_run(request)
    begin
    data, _status_code, _headers = update_run_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_run_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_run_font(request) ⇒ FontResponse

Updates the font properties of a Run object in the paragraph.

Parameters:

  • request

    UpdateRunFontRequest

Returns:



13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13497

def update_run_font(request)
    begin
    data, _status_code, _headers = update_run_font_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_run_font_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_run_font_online(request) ⇒ UpdateRunFontOnlineResponse

Updates the font properties of a Run object in the paragraph.

Parameters:

  • request

    UpdateRunFontOnlineRequest

Returns:



13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13539

def update_run_font_online(request)
    begin
    data, _status_code, _headers = update_run_font_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_run_font_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_run_online(request) ⇒ UpdateRunOnlineResponse

Updates a Run object in the paragraph.

Parameters:

  • request

    UpdateRunOnlineRequest

Returns:



13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13585

def update_run_online(request)
    begin
    data, _status_code, _headers = update_run_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_run_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_section_page_setup(request) ⇒ SectionPageSetupResponse

Updates the page setup of a section in the document.

Parameters:

  • request

    UpdateSectionPageSetupRequest

Returns:



13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13631

def update_section_page_setup(request)
    begin
    data, _status_code, _headers = update_section_page_setup_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_section_page_setup_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_section_page_setup_online(request) ⇒ UpdateSectionPageSetupOnlineResponse

Updates the page setup of a section in the document.

Parameters:

  • request

    UpdateSectionPageSetupOnlineRequest

Returns:



13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13673

def update_section_page_setup_online(request)
    begin
    data, _status_code, _headers = update_section_page_setup_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_section_page_setup_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_structured_document_tag(request) ⇒ StructuredDocumentTagResponse

Updates a StructuredDocumentTag (SDT) in the document node.

Parameters:

  • request

    UpdateStructuredDocumentTagRequest

Returns:



13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13719

def update_structured_document_tag(request)
    begin
    data, _status_code, _headers = update_structured_document_tag_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_structured_document_tag_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_structured_document_tag_online(request) ⇒ UpdateStructuredDocumentTagOnlineResponse

Updates a StructuredDocumentTag (SDT) in the document node.

Parameters:

  • request

    UpdateStructuredDocumentTagOnlineRequest

Returns:



13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13761

def update_structured_document_tag_online(request)
    begin
    data, _status_code, _headers = update_structured_document_tag_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_structured_document_tag_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_style(request) ⇒ StyleResponse

Updates a style in the document.

Parameters:

  • request

    UpdateStyleRequest

Returns:



13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13807

def update_style(request)
    begin
    data, _status_code, _headers = update_style_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_style_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_style_online(request) ⇒ UpdateStyleOnlineResponse

Updates a style in the document.

Parameters:

  • request

    UpdateStyleOnlineRequest

Returns:



13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13849

def update_style_online(request)
    begin
    data, _status_code, _headers = update_style_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_style_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_table_cell_format(request) ⇒ TableCellFormatResponse

Updates the formatting properties of a cell in the table row.

Parameters:

  • request

    UpdateTableCellFormatRequest

Returns:



13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13895

def update_table_cell_format(request)
    begin
    data, _status_code, _headers = update_table_cell_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_table_cell_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_table_cell_format_online(request) ⇒ UpdateTableCellFormatOnlineResponse

Updates the formatting properties of a cell in the table row.

Parameters:

  • request

    UpdateTableCellFormatOnlineRequest

Returns:



13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13937

def update_table_cell_format_online(request)
    begin
    data, _status_code, _headers = update_table_cell_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_table_cell_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_table_properties(request) ⇒ TablePropertiesResponse

Updates properties of a table in the document node.

Parameters:

  • request

    UpdateTablePropertiesRequest

Returns:



13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13983

def update_table_properties(request)
    begin
    data, _status_code, _headers = update_table_properties_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_table_properties_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_table_properties_online(request) ⇒ UpdateTablePropertiesOnlineResponse

Updates properties of a table in the document node.

Parameters:

  • request

    UpdateTablePropertiesOnlineRequest

Returns:



14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14025

def update_table_properties_online(request)
    begin
    data, _status_code, _headers = update_table_properties_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_table_properties_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_table_row_format(request) ⇒ TableRowFormatResponse

Updates the formatting properties of a table row.

Parameters:

  • request

    UpdateTableRowFormatRequest

Returns:



14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14071

def update_table_row_format(request)
    begin
    data, _status_code, _headers = update_table_row_format_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_table_row_format_with_http_info(request)
        else
        raise
        end
    end
    data
end

#update_table_row_format_online(request) ⇒ UpdateTableRowFormatOnlineResponse

Updates the formatting properties of a table row.

Parameters:

  • request

    UpdateTableRowFormatOnlineRequest

Returns:



14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14113

def update_table_row_format_online(request)
    begin
    data, _status_code, _headers = update_table_row_format_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = update_table_row_format_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

#upload_file(request) ⇒ FilesUploadResult

Upload file.

Parameters:

  • request

    UploadFileRequest

Returns:



14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14159

def upload_file(request)
    begin
    data, _status_code, _headers = upload_file_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = upload_file_with_http_info(request)
        else
        raise
        end
    end
    data
end