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.



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

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

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



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

def api_client
  @api_client
end

Instance Method Details

#accept_all_revisions(request) ⇒ RevisionsModificationResponse

Accepts all revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsRequest

Returns:



46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/aspose_words_cloud/api/words_api.rb', line 46

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:



116
117
118
119
120
121
122
123
124
125
126
127
128
# File 'lib/aspose_words_cloud/api/words_api.rb', line 116

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:



188
189
190
191
192
193
194
195
196
197
198
199
200
# File 'lib/aspose_words_cloud/api/words_api.rb', line 188

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:



262
263
264
265
266
267
268
269
270
271
272
273
274
# File 'lib/aspose_words_cloud/api/words_api.rb', line 262

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:



339
340
341
342
343
344
345
346
347
348
349
350
351
# File 'lib/aspose_words_cloud/api/words_api.rb', line 339

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:



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

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

#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:



496
497
498
499
500
501
502
503
504
505
506
507
508
# File 'lib/aspose_words_cloud/api/words_api.rb', line 496

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)


572
573
574
575
576
577
578
579
580
581
582
583
584
# File 'lib/aspose_words_cloud/api/words_api.rb', line 572

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:



644
645
646
647
648
649
650
651
652
653
654
655
656
# File 'lib/aspose_words_cloud/api/words_api.rb', line 644

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:



709
710
711
712
713
714
715
716
717
718
719
720
721
# File 'lib/aspose_words_cloud/api/words_api.rb', line 709

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:



780
781
782
783
784
785
786
787
788
789
790
791
792
# File 'lib/aspose_words_cloud/api/words_api.rb', line 780

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:



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

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:



921
922
923
924
925
926
927
928
929
930
931
932
933
# File 'lib/aspose_words_cloud/api/words_api.rb', line 921

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

#convert_document(request) ⇒ File

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

Parameters:

  • request

    ConvertDocumentRequest

Returns:

  • (File)


996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
# File 'lib/aspose_words_cloud/api/words_api.rb', line 996

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)


1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1068

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)


1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1138

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:



1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1207

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:



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

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

#create_document(request) ⇒ DocumentResponse

Supported extensions: “.doc”, “.docx”, “.docm”, “.dot”, “.dotm”, “.dotx”, “.flatopc”, “.fopc”, “.flatopc_macro”, “.fopc_macro”, “.flatopc_template”, “.fopc_template”, “.flatopc_template_macro”, “.fopc_template_macro”, “.wordml”, “.wml”, “.rtf”.

Parameters:

  • request

    CreateDocumentRequest

Returns:



1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1358

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)


1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1422

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:



1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1487

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:



1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1564

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:



1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1644

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:



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

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_border(request) ⇒ BorderResponse

The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    DeleteBorderRequest

Returns:



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1794

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.

Parameters:

  • request

    DeleteBorderOnlineRequest

Returns:



1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1870

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

The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    DeleteBordersRequest

Returns:



1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1948

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.

Parameters:

  • request

    DeleteBordersOnlineRequest

Returns:



2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2021

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)


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

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) ⇒ File

Removes a comment from the document.

Parameters:

  • request

    DeleteCommentOnlineRequest

Returns:

  • (File)


2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2170

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)


2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2243

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) ⇒ File

Removes all comments from the document.

Parameters:

  • request

    DeleteCommentsOnlineRequest

Returns:

  • (File)


2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2314

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_document_property(request) ⇒ nil

Removes a document property.

Parameters:

  • request

    DeleteDocumentPropertyRequest

Returns:

  • (nil)


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

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) ⇒ File

Removes a document property.

Parameters:

  • request

    DeleteDocumentPropertyOnlineRequest

Returns:

  • (File)


2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2458

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)


2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2531

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) ⇒ File

Removes a DrawingObject from the document node.

Parameters:

  • request

    DeleteDrawingObjectOnlineRequest

Returns:

  • (File)


2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2606

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)


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

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) ⇒ File

Removes a field from the document node.

Parameters:

  • request

    DeleteFieldOnlineRequest

Returns:

  • (File)


2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2755

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)


2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2829

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) ⇒ File

Removes fields from the document node.

Parameters:

  • request

    DeleteFieldsOnlineRequest

Returns:

  • (File)


2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2901

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)


2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2972

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)


3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3038

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)


3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3104

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) ⇒ File

Removes a footnote from the document node.

Parameters:

  • request

    DeleteFootnoteOnlineRequest

Returns:

  • (File)


3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3179

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)


3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3253

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) ⇒ File

Removes a form field from the document node.

Parameters:

  • request

    DeleteFormFieldOnlineRequest

Returns:

  • (File)


3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3328

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)


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_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:

  • (File)


3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3479

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)


3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3555

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) ⇒ File

Removes HeaderFooter objects from the document section.

Parameters:

  • request

    DeleteHeadersFootersOnlineRequest

Returns:

  • (File)


3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3630

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)


3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3704

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) ⇒ File

Removes macros from the document.

Parameters:

  • request

    DeleteMacrosOnlineRequest

Returns:

  • (File)


3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3775

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)


3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3845

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) ⇒ File

Removes an OfficeMath object from the document node.

Parameters:

  • request

    DeleteOfficeMathObjectOnlineRequest

Returns:

  • (File)


3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3920

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)


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

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:



4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4069

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:



4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4145

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) ⇒ File

Removes a paragraph from the document node.

Parameters:

  • request

    DeleteParagraphOnlineRequest

Returns:

  • (File)


4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4223

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:



4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4297

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:



4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4374

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)


4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4453

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) ⇒ File

Removes a Run object from the paragraph.

Parameters:

  • request

    DeleteRunOnlineRequest

Returns:

  • (File)


4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4530

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)


4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4606

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) ⇒ File

Removes a section from the document.

Parameters:

  • request

    DeleteSectionOnlineRequest

Returns:

  • (File)


4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4680

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_table(request) ⇒ nil

Removes a table from the document node.

Parameters:

  • request

    DeleteTableRequest

Returns:

  • (nil)


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

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)


4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4828

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) ⇒ File

Removes a cell from the table row.

Parameters:

  • request

    DeleteTableCellOnlineRequest

Returns:

  • (File)


4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4905

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) ⇒ File

Removes a table from the document node.

Parameters:

  • request

    DeleteTableOnlineRequest

Returns:

  • (File)


4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4981

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)


5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5055

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) ⇒ File

Removes a row from the table.

Parameters:

  • request

    DeleteTableRowOnlineRequest

Returns:

  • (File)


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

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:



5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5208

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:



5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5280

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)


5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5354

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

#execute_mail_merge(request) ⇒ DocumentResponse

Executes a Mail Merge operation.

Parameters:

  • request

    ExecuteMailMergeRequest

Returns:



5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5421

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)


5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5496

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:



5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5567

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:



5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5629

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:



5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5701

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:



5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5771

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:



5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5840

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

The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    GetBorderRequest

Returns:



5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5907

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.

Parameters:

  • request

    GetBorderOnlineRequest

Returns:



5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5980

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:



6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6051

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:



6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6121

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:



6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6189

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:



6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6261

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:



6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6331

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:



6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6400

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_document(request) ⇒ DocumentResponse

Reads common information from the document.

Parameters:

  • request

    GetDocumentRequest

Returns:



6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6467

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:



6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6536

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:



6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6609

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)


6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6680

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)


6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6753

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)


6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6824

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)


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_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:



6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6968

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:



7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7038

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:



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

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:



7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7176

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:



7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7244

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:



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

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:



7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7386

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:



7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7455

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:



7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7522

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:



7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7591

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:



7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7658

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:



7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7730

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:



7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7800

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:



7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7869

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:



7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7936

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:



8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8008

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)


8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8078

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:



8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8152

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:



8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8225

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:



8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8296

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:



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

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:



8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8434

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:



8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8500

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:



8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8573

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:



8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8644

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:



8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8714

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:



8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8782

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:



8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8855

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:



8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8926

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:



8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8996

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:



9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9064

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:



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

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:



9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9213

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:



9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9287

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:



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

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:



9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9431

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_list(request) ⇒ ListResponse

Reads a list from the document.

Parameters:

  • request

    GetListRequest

Returns:



9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9502

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:



9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9574

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:



9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9644

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:



9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9713

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:



9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9780

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:



9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9853

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:



9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9924

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:



9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9994

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:



10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10062

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:



10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10135

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:



10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10208

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:



10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10279

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:



10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10352

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:



10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10423

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:



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

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:



10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10705

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:



10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10494

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:



10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10564

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_range_text(request) ⇒ RangeTextResponse

Reads range text from the document.

Parameters:

  • request

    GetRangeTextRequest

Returns:



10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10776

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:



10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10849

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:



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

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:



10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10995

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:



11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11070

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:



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

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:



11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11216

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:



11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11288

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:



11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11358

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:



11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11430

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:



11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11500

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:



11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11572

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:



11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11642

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:



11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11711

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_style(request) ⇒ StyleResponse

Reads a style from the document.

Parameters:

  • request

    GetStyleRequest

Returns:



11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11778

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:



11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11850

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:



11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11922

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:



11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11992

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:



12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12062

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:



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 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:



12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12198

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:



12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12271

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:



12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12346

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:



12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12421

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:



12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12494

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:



12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12567

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:



12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12638

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:



12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12711

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:



12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12782

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:



12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12857

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:



12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12932

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:



13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13005

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:



13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13078

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:



13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13148

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_comment(request) ⇒ CommentResponse

Inserts a new comment to the document.

Parameters:

  • request

    InsertCommentRequest

Returns:



13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13216

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:



13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13290

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_drawing_object(request) ⇒ DrawingObjectResponse

Inserts a new DrawingObject to the document node.

Parameters:

  • request

    InsertDrawingObjectRequest

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 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:



13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13446

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:



13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13527

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:



13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13603

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:



13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13682

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:



13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13757

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:



13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13835

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:



13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13911

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:



13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13990

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:



14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14067

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:



14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14147

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:



14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14221

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:



14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14298

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:



14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14374

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:



14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14453

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:



14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14527

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:



14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14604

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:



14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14680

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:



14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14759

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:



14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14837

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_style(request) ⇒ StyleResponse

Inserts a new style to the document.

Parameters:

  • request

    InsertStyleRequest

Returns:



14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14918

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:



14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14992

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:



15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15069

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:



15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15144

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:



15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15221

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:



15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15301

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:



15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15379

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:



15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15456

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:



15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15536

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:



15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15611

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:



15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15690

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:



15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15764

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

#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:



15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15841

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)


15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15906

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)


15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15976

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)


16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16045

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) ⇒ File

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

Parameters:

  • request

    OptimizeDocumentOnlineRequest

Returns:

  • (File)


16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16118

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:



16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16191

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:



16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16263

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:



16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16338

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:



16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16408

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:



16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16480

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:



16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16554

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)


16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16630

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)


16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16708

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)


16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16784

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)


16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16862

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)


16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16938

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)


17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17014

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)


17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17088

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)


17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17166

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)


17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17242

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)


17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17320

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:



17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17396

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:



17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17470

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:



17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17547

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:



17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17623

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)


17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17702

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:



17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17762

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:



17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17834

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:



17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17909

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:



17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17984

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:



18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18062

def save_as_tiff(request)
    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:



18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18151

def save_as_tiff_online(request)
    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:



18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18243

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:



18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18315

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:



18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18385

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:



18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18462

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:



18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18541

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:



18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18613

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:



18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18688

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:



18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18765

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

The ‘nodePath’ parameter should refer to a paragraph, a cell or a row.

Parameters:

  • request

    UpdateBorderRequest

Returns:



18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18845

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.

Parameters:

  • request

    UpdateBorderOnlineRequest

Returns:



18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18923

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:



19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19004

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:



19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19081

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_drawing_object(request) ⇒ DrawingObjectResponse

Updates a DrawingObject in the document node.

Parameters:

  • request

    UpdateDrawingObjectRequest

Returns:



19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19161

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:



19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19243

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:



19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19327

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:



19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19405

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:



19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19486

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:



19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19556

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:



19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19628

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:



19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19706

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:



19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19787

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:



19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19865

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:



19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19946

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:



20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20023

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:



20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20103

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:



20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20186

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:



20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20266

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:



20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20344

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:



20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20425

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:



20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20503

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:



20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20584

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:



20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20664

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:



20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20744

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:



20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20827

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:



20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20910

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:



20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20987

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_style(request) ⇒ StyleResponse

Updates a style in the document.

Parameters:

  • request

    UpdateStyleRequest

Returns:



21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21067

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:



21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21144

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:



21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21224

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:



21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21304

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:



21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21387

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:



21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21465

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:



21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21546

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:



21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21626

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:



21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21709

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