Class: AsposeWordsCloud::WordsApi

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

Overview

Aspose.Words for Cloud API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ WordsApi

Returns a new instance of WordsApi.



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

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.



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

def api_client
  @api_client
end

Instance Method Details

#accept_all_revisions(request) ⇒ RevisionsModificationResponse

Accepts all revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsRequest

Returns:



67
68
69
70
71
72
73
74
75
76
77
78
79
# File 'lib/aspose_words_cloud/api/words_api.rb', line 67

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:



137
138
139
140
141
142
143
144
145
146
147
148
149
# File 'lib/aspose_words_cloud/api/words_api.rb', line 137

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:



209
210
211
212
213
214
215
216
217
218
219
220
221
# File 'lib/aspose_words_cloud/api/words_api.rb', line 209

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:



283
284
285
286
287
288
289
290
291
292
293
294
295
# File 'lib/aspose_words_cloud/api/words_api.rb', line 283

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:



360
361
362
363
364
365
366
367
368
369
370
371
372
# File 'lib/aspose_words_cloud/api/words_api.rb', line 360

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:



437
438
439
440
441
442
443
444
445
446
447
448
449
# File 'lib/aspose_words_cloud/api/words_api.rb', line 437

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

#batch(requests) ⇒ Object

Raises:

  • (ArgumentError)


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

def batch(requests)
  raise ArgumentError, 'Requests array is nil' unless requests != nil
  raise ArgumentError, 'There must be at least one request' unless requests.length != 0
  form_params = {}
  request_token
  header_params = {'Content-Type' => 'multipart/form-data'}
  @api_client.update_params_for_auth! header_params, {}, "JWT"
  requests.each_with_index do |request, index|
    form_params["request-#{index}"] = Faraday::ParamPart.new(request.to_batch_part(@api_client), "application/http; msgtype=request")
  end
  data, status_code, headers = @api_client.call_api(:PUT, "/v4.0/words/batch",
                                                    header_params: header_params,
                                                    query_params: {},
                                                    form_params: form_params,
                                                    body: nil,
                                                    batch: true,
                                                    parts: requests,
                                                    auth_names: ['JWT'])
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:



517
518
519
520
521
522
523
524
525
526
527
528
529
# File 'lib/aspose_words_cloud/api/words_api.rb', line 517

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)


593
594
595
596
597
598
599
600
601
602
603
604
605
# File 'lib/aspose_words_cloud/api/words_api.rb', line 593

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:



665
666
667
668
669
670
671
672
673
674
675
676
677
# File 'lib/aspose_words_cloud/api/words_api.rb', line 665

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:



730
731
732
733
734
735
736
737
738
739
740
741
742
# File 'lib/aspose_words_cloud/api/words_api.rb', line 730

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:



801
802
803
804
805
806
807
808
809
810
811
812
813
# File 'lib/aspose_words_cloud/api/words_api.rb', line 801

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:



870
871
872
873
874
875
876
877
878
879
880
881
882
# File 'lib/aspose_words_cloud/api/words_api.rb', line 870

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:



942
943
944
945
946
947
948
949
950
951
952
953
954
# File 'lib/aspose_words_cloud/api/words_api.rb', line 942

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)


1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1018

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)


1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1090

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)


1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1160

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:



1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1229

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:



1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1303

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:



1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1380

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)


1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1444

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:



1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1509

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:



1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1586

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:



1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1666

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:



1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1740

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:



1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1816

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:



1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1892

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:



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

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:



2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2043

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)


2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2118

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)


2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2192

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)


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

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)


2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2336

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

#delete_custom_xml_part(request) ⇒ nil

Removes the custom xml part from the document.

Parameters:

  • request

    DeleteCustomXmlPartRequest

Returns:

  • (nil)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2406

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

#delete_custom_xml_part_online(request) ⇒ File

Removes the custom xml part from the document.

Parameters:

  • request

    DeleteCustomXmlPartOnlineRequest

Returns:

  • (File)


2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2480

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

#delete_custom_xml_parts(request) ⇒ nil

Removes all custom xml parts from the document.

Parameters:

  • request

    DeleteCustomXmlPartsRequest

Returns:

  • (nil)


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

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

#delete_custom_xml_parts_online(request) ⇒ File

Removes all custom xml parts from the document.

Parameters:

  • request

    DeleteCustomXmlPartsOnlineRequest

Returns:

  • (File)


2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2624

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

#delete_document_property(request) ⇒ nil

Removes a document property.

Parameters:

  • request

    DeleteDocumentPropertyRequest

Returns:

  • (nil)


2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2694

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)


2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2768

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)


2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2841

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)


2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2916

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)


2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2990

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)


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

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)


3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3139

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)


3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3211

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)


3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3282

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)


3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3348

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)


3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3414

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)


3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3489

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)


3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3563

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)


3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3638

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)


3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3712

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)


3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3789

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)


3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3865

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)


3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3940

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)


4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4014

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)


4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4085

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)


4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4155

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)


4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4230

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)


4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4304

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:



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

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:



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

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)


4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4533

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:



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

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:



4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4684

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)


4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4763

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)


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

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)


4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4916

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)


4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4990

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)


5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5063

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)


5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5138

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)


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

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)


5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5291

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)


5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5365

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)


5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5442

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:



5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5518

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:



5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5590

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)


5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5664

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:



5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5731

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)


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

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:



5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5877

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:



5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5939

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:



6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6011

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:



6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6081

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:



6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6150

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:



6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6217

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:



6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6290

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:



6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6361

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:



6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6431

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:



6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6499

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:



6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6571

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:



6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6641

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:



6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6710

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

#get_custom_xml_part(request) ⇒ CustomXmlPartResponse

Reads the custom xml part from the document.

Parameters:

  • request

    GetCustomXmlPartRequest

Returns:



6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6777

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

#get_custom_xml_part_online(request) ⇒ CustomXmlPartResponse

Reads the custom xml part from the document.

Parameters:

  • request

    GetCustomXmlPartOnlineRequest

Returns:



6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6849

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

#get_custom_xml_parts(request) ⇒ CustomXmlPartsResponse

Reads custom xml parts from the document.

Parameters:

  • request

    GetCustomXmlPartsRequest

Returns:



6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6919

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

#get_custom_xml_parts_online(request) ⇒ CustomXmlPartsResponse

Reads custom xml parts from the document.

Parameters:

  • request

    GetCustomXmlPartsOnlineRequest

Returns:



6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6988

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

#get_document(request) ⇒ DocumentResponse

Reads common information from the document.

Parameters:

  • request

    GetDocumentRequest

Returns:



7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7055

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:



7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7124

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:



7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7197

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)


7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7268

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)


7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7341

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)


7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7412

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)


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

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



7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7556

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:



7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7626

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:



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

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:



7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7764

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:



7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7832

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:



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

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:



7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7974

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:



8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8043

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:



8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8110

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:



8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8179

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:



8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8246

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:



8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8318

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:



8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8388

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:



8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8457

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:



8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8524

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:



8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8596

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)


8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8666

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:



8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8740

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:



8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8813

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:



8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8884

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:



8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8954

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:



9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9022

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:



9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9088

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:



9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9161

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:



9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9232

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:



9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9302

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:



9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9370

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:



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

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:



9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9514

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:



9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9584

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:



9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9652

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:



9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9725

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:



9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9801

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:



9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9875

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:



9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9946

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:



10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10019

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:



10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10090

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:



10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10162

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:



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

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:



10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10301

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:



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

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:



10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10441

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:



10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10512

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:



10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10582

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:



10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10650

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:



10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10723

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:



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

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



10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10867

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:



10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10940

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:



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

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:



11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11220

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:



11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11293

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:



11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11082

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:



11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11152

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

#get_public_key(request) ⇒ PublicKeyResponse

Get assymetric public key.

Parameters:

  • request

    GetPublicKeyRequest

Returns:



11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11364

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

#get_range_text(request) ⇒ RangeTextResponse

Reads range text from the document.

Parameters:

  • request

    GetRangeTextRequest

Returns:



11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11425

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:



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

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:



11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11569

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:



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

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:



11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11719

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:



11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11792

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:



11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11865

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:



11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11937

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:



12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12007

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:



12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12079

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:



12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12149

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:



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

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:



12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12291

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:



12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12360

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:



12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12427

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:



12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12499

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:



12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12571

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:



12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12641

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:



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



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

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:



12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12847

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:



12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12920

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:



12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12995

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:



13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13070

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:



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

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:



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



13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13287

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:



13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13360

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:



13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13431

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:



13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13506

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:



13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13581

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:



13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13654

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:



13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13727

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:



13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13797

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:



13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13865

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:



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

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

#insert_custom_xml_part(request) ⇒ CustomXmlPartResponse

Inserts a new custom xml part to the document.

Parameters:

  • request

    InsertCustomXmlPartRequest

Returns:



14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14016

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

#insert_custom_xml_part_online(request) ⇒ InsertCustomXmlPartOnlineResponse

Inserts a new custom xml part to the document.

Parameters:

  • request

    InsertCustomXmlPartOnlineRequest

Returns:



14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14090

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

#insert_drawing_object(request) ⇒ DrawingObjectResponse

Inserts a new DrawingObject to the document node.

Parameters:

  • request

    InsertDrawingObjectRequest

Returns:



14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14167

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:



14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14246

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:



14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14327

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:



14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14403

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:



14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14482

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:



14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14557

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:



14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14635

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:



14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14711

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:



14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14790

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:



14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14867

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:



14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14947

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:



15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15021

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:



15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15098

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:



15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15174

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:



15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15253

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:



15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15327

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:



15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15404

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:



15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15480

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:



15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15559

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:



15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15637

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:



15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15718

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:



15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15792

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:



15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15869

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:



15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15944

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:



16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16021

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:



16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16101

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:



16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16179

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:



16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16256

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:



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

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:



16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16411

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:



16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16490

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:



16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16564

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:



16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16641

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)


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

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)


16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16776

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)


16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16845

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)


16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16918

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:



16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
# File 'lib/aspose_words_cloud/api/words_api.rb', line 16991

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:



17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17063

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:



17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17138

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:



17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17208

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:



17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17280

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:



17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17354

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)


17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17430

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)


17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17508

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)


17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17584

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)


17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17662

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)


17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17738

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)


17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17814

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)


17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17888

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)


17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
# File 'lib/aspose_words_cloud/api/words_api.rb', line 17966

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)


18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18042

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)


18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18120

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:



18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18196

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:



18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18270

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:



18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18347

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:



18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18423

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)


18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18502

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:



18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18562

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 to the specified format.

Parameters:

  • request

    SaveAsOnlineRequest

Returns:



18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18634

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:



18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18709

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:



18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18784

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:



18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18862

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 to TIFF format using detailed conversion settings.

Parameters:

  • request

    SaveAsTiffOnlineRequest

Returns:



18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
# File 'lib/aspose_words_cloud/api/words_api.rb', line 18951

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:



19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19043

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:



19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19115

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:



19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19185

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:



19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19262

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:



19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19341

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:



19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19413

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:



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

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:



19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19565

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:



19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19645

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:



19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19723

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:



19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19804

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:



19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19881

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

#update_custom_xml_part(request) ⇒ CustomXmlPartResponse

Updates the custom xml part in the document.

Parameters:

  • request

    UpdateCustomXmlPartRequest

Returns:



19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
# File 'lib/aspose_words_cloud/api/words_api.rb', line 19961

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

#update_custom_xml_part_online(request) ⇒ UpdateCustomXmlPartOnlineResponse

Updates the custom xml part in the document.

Parameters:

  • request

    UpdateCustomXmlPartOnlineRequest

Returns:



20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20038

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

#update_drawing_object(request) ⇒ DrawingObjectResponse

Updates a DrawingObject in the document node.

Parameters:

  • request

    UpdateDrawingObjectRequest

Returns:



20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20118

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:



20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20200

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:



20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20284

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:



20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20362

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:



20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20443

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:



20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20513

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:



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

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:



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

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:



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



20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20822

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:



20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20903

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:



20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
# File 'lib/aspose_words_cloud/api/words_api.rb', line 20980

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:



21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21060

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:



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

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:



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

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:



21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21301

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:



21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21382

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:



21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21460

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:



21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21541

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:



21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21621

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:



21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21701

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:



21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21784

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:



21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21867

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:



21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
# File 'lib/aspose_words_cloud/api/words_api.rb', line 21944

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:



22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22024

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:



22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22101

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:



22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22181

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:



22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22261

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:



22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22344

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:



22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22422

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:



22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22503

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:



22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22583

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:



22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
# File 'lib/aspose_words_cloud/api/words_api.rb', line 22666

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