Class: AsposeWordsCloud::WordsApi

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

Overview

Aspose.Words for Cloud API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(api_client = ApiClient.default) ⇒ WordsApi

Returns a new instance of WordsApi.



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

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

Instance Attribute Details

#api_clientObject

Returns the value of attribute api_client.



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

def api_client
  @api_client
end

Instance Method Details

#accept_all_revisions(request) ⇒ RevisionsModificationResponse

Accepts all revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsRequest

Returns:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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

#batch(batch_requests, display_intermediate_result = true) ⇒ Object

Raises:

  • (ArgumentError)


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

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

#build_report(request) ⇒ DocumentResponse

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

Parameters:

  • request

    BuildReportRequest

Returns:



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

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)


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

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:



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

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:



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

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:



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

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:



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

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:



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

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

#compress_document(request) ⇒ CompressResponse

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

Parameters:

  • request

    CompressDocumentRequest

Returns:



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

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

#compress_document_online(request) ⇒ CompressDocumentOnlineResponse

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

Parameters:

  • request

    CompressDocumentOnlineRequest

Returns:



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

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

#convert_document(request) ⇒ File

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

Parameters:

  • request

    ConvertDocumentRequest

Returns:

  • (File)


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

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)


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

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)


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

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:



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

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



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

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

#copy_styles_from_template(request) ⇒ WordsResponse

Copies styles from the origin document to the target document.

Parameters:

  • request

    CopyStylesFromTemplateRequest

Returns:



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

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

#create_document(request) ⇒ DocumentResponse

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

Parameters:

  • request

    CreateDocumentRequest

Returns:



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

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)


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

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:



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

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:



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

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:



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

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:



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

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

#delete_bookmark(request) ⇒ nil

Removes a bookmark from the document.

Parameters:

  • request

    DeleteBookmarkRequest

Returns:

  • (nil)


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

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

#delete_bookmark_online(request) ⇒ FILES_COLLECTION

Removes a bookmark from the document.

Parameters:

  • request

    DeleteBookmarkOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

#delete_bookmarks(request) ⇒ nil

Removes all bookmarks from the document.

Parameters:

  • request

    DeleteBookmarksRequest

Returns:

  • (nil)


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

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

#delete_bookmarks_online(request) ⇒ FILES_COLLECTION

Removes all bookmarks from the document.

Parameters:

  • request

    DeleteBookmarksOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

#delete_border(request) ⇒ BorderResponse

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

Parameters:

  • request

    DeleteBorderRequest

Returns:



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

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

#delete_border_online(request) ⇒ DeleteBorderOnlineResponse

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

Parameters:

  • request

    DeleteBorderOnlineRequest

Returns:



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

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

#delete_borders(request) ⇒ BordersResponse

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

Parameters:

  • request

    DeleteBordersRequest

Returns:



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

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

#delete_borders_online(request) ⇒ DeleteBordersOnlineResponse

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

Parameters:

  • request

    DeleteBordersOnlineRequest

Returns:



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

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)


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

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

#delete_comment_online(request) ⇒ FILES_COLLECTION

Removes a comment from the document.

Parameters:

  • request

    DeleteCommentOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_comments_online(request) ⇒ FILES_COLLECTION

Removes all comments from the document.

Parameters:

  • request

    DeleteCommentsOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_custom_xml_part_online(request) ⇒ FILES_COLLECTION

Removes the custom xml part from the document.

Parameters:

  • request

    DeleteCustomXmlPartOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_custom_xml_parts_online(request) ⇒ FILES_COLLECTION

Removes all custom xml parts from the document.

Parameters:

  • request

    DeleteCustomXmlPartsOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_document_property_online(request) ⇒ FILES_COLLECTION

Removes a document property.

Parameters:

  • request

    DeleteDocumentPropertyOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_drawing_object_online(request) ⇒ FILES_COLLECTION

Removes a DrawingObject from the document node.

Parameters:

  • request

    DeleteDrawingObjectOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_field_online(request) ⇒ FILES_COLLECTION

Removes a field from the document node.

Parameters:

  • request

    DeleteFieldOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_fields_online(request) ⇒ FILES_COLLECTION

Removes fields from the document node.

Parameters:

  • request

    DeleteFieldsOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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)


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

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)


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

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

#delete_footnote_online(request) ⇒ FILES_COLLECTION

Removes a footnote from the document node.

Parameters:

  • request

    DeleteFootnoteOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_form_field_online(request) ⇒ FILES_COLLECTION

Removes a form field from the document node.

Parameters:

  • request

    DeleteFormFieldOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

Removes a HeaderFooter object from the document section.

Parameters:

  • request

    DeleteHeaderFooterOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_headers_footers_online(request) ⇒ FILES_COLLECTION

Removes HeaderFooter objects from the document section.

Parameters:

  • request

    DeleteHeadersFootersOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_macros_online(request) ⇒ FILES_COLLECTION

Removes macros from the document.

Parameters:

  • request

    DeleteMacrosOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_office_math_object_online(request) ⇒ FILES_COLLECTION

Removes an OfficeMath object from the document node.

Parameters:

  • request

    DeleteOfficeMathObjectOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

Removes all office math objects from the document.

Parameters:

  • request

    DeleteOfficeMathObjectsRequest

Returns:

  • (nil)


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

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

#delete_office_math_objects_online(request) ⇒ FILES_COLLECTION

Removes all office math objects from the document.

Parameters:

  • request

    DeleteOfficeMathObjectsOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

def delete_office_math_objects_online(request)
    begin
    data, _status_code, _headers = delete_office_math_objects_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = delete_office_math_objects_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)


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

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:



2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2975

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:



3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3017

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

#delete_paragraph_online(request) ⇒ FILES_COLLECTION

Removes a paragraph from the document node.

Parameters:

  • request

    DeleteParagraphOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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



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

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:



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

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)


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

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

#delete_run_online(request) ⇒ FILES_COLLECTION

Removes a Run object from the paragraph.

Parameters:

  • request

    DeleteRunOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_section_online(request) ⇒ FILES_COLLECTION

Removes a section from the document.

Parameters:

  • request

    DeleteSectionOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

#delete_structured_document_tag(request) ⇒ nil

Removes a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    DeleteStructuredDocumentTagRequest

Returns:

  • (nil)


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

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

#delete_structured_document_tag_online(request) ⇒ FILES_COLLECTION

Removes a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    DeleteStructuredDocumentTagOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

#delete_table(request) ⇒ nil

Removes a table from the document node.

Parameters:

  • request

    DeleteTableRequest

Returns:

  • (nil)


3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3446

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)


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

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

#delete_table_cell_online(request) ⇒ FILES_COLLECTION

Removes a cell from the table row.

Parameters:

  • request

    DeleteTableCellOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

#delete_table_online(request) ⇒ FILES_COLLECTION

Removes a table from the document node.

Parameters:

  • request

    DeleteTableOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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)


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

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

#delete_table_row_online(request) ⇒ FILES_COLLECTION

Removes a row from the table.

Parameters:

  • request

    DeleteTableRowOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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



3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3698

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:



3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3740

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)


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

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

#encrypt(data) ⇒ string

Encrypt string.

Parameters:

  • data

    string

Returns:

  • (string)


14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14378

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

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

        if (modulus == nil || modulus.to_s.empty?) || (exponent == nil || exponent.to_s.empty?)
            response = self.get_public_key GetPublicKeyRequest.new
            modulus = response.modulus
            exponent = response.exponent
        end

        @rsa_key = rsa = create_rsa_key(modulus, exponent)
    end

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

#execute_mail_merge(request) ⇒ DocumentResponse

Executes a Mail Merge operation.

Parameters:

  • request

    ExecuteMailMergeRequest

Returns:



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

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)


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

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:



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

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:



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

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:



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

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:



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

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



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

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

#get_border(request) ⇒ BorderResponse

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

Parameters:

  • request

    GetBorderRequest

Returns:



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

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

#get_border_online(request) ⇒ BorderResponse

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

Parameters:

  • request

    GetBorderOnlineRequest

Returns:



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

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



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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)


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

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)


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

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)


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


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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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)


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

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:



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

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:



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

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:



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

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:



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

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:



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



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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

#get_info(request) ⇒ InfoResponse

Returns application info.

Parameters:

  • request

    GetInfoRequest

Returns:



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

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

#get_list(request) ⇒ ListResponse

Reads a list from the document.

Parameters:

  • request

    GetListRequest

Returns:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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

#get_structured_document_tag(request) ⇒ StructuredDocumentTagResponse

Reads a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagRequest

Returns:



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

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

#get_structured_document_tag_online(request) ⇒ StructuredDocumentTagResponse

Reads a StructuredDocumentTag (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagOnlineRequest

Returns:



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

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

#get_structured_document_tags(request) ⇒ StructuredDocumentTagsResponse

Reads StructuredDocumentTags (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagsRequest

Returns:



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

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

#get_structured_document_tags_online(request) ⇒ StructuredDocumentTagsResponse

Reads StructuredDocumentTags (SDT) from the document node.

Parameters:

  • request

    GetStructuredDocumentTagsOnlineRequest

Returns:



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

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

#get_style(request) ⇒ StyleResponse

Reads a style from the document.

Parameters:

  • request

    GetStyleRequest

Returns:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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

#insert_bookmark(request) ⇒ BookmarkResponse

Inserts a new bookmark to the document.

Parameters:

  • request

    InsertBookmarkRequest

Returns:



8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8872

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

#insert_bookmark_online(request) ⇒ InsertBookmarkOnlineResponse

Inserts a new bookmark to the document.

Parameters:

  • request

    InsertBookmarkOnlineRequest

Returns:



8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8914

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

#insert_comment(request) ⇒ CommentResponse

Inserts a new comment to the document.

Parameters:

  • request

    InsertCommentRequest

Returns:



8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8960

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:



9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9002

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:



9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9048

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:



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

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:



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

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:



9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9178

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:



9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9224

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:



9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9266

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:



9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9312

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:



9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9354

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:



9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9400

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:



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

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:



9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9488

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:



9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9530

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:



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

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:



9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9618

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:



9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9664

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:



9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9706

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:



9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9752

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:



9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9794

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:



9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9840

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:



9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9882

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:



9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9928

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:



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

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

#insert_section(request) ⇒ nil

Inserts a section to the document.

Parameters:

  • request

    InsertSectionRequest

Returns:

  • (nil)


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

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

#insert_section_online(request) ⇒ FILES_COLLECTION

Inserts a section to the document.

Parameters:

  • request

    InsertSectionOnlineRequest

Returns:

  • (FILES_COLLECTION)


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

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

#insert_structured_document_tag(request) ⇒ StructuredDocumentTagResponse

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

Parameters:

  • request

    InsertStructuredDocumentTagRequest

Returns:



10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10100

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

#insert_structured_document_tag_online(request) ⇒ InsertStructuredDocumentTagOnlineResponse

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

Parameters:

  • request

    InsertStructuredDocumentTagOnlineRequest

Returns:



10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10142

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

#insert_style(request) ⇒ StyleResponse

Inserts a new style to the document.

Parameters:

  • request

    InsertStyleRequest

Returns:



10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10188

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:



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

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:



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

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:



10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10318

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:



10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10360

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:



10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10406

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:



10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10452

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:



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

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

Insert a watermark to the document.

Parameters:

  • request

    InsertWatermarkRequest

Returns:



10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10540

def insert_watermark(request)
    begin
    data, _status_code, _headers = insert_watermark_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_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:



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

def insert_watermark_image(request)
    warn "This operation is deprecated and is used for backward compatibility only. Please use InsertWatermark instead."
    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:



10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10625

def insert_watermark_image_online(request)
    warn "This operation is deprecated and is used for backward compatibility only. Please use InsertWatermark instead."
    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_online(request) ⇒ InsertWatermarkOnlineResponse

Insert a watermark to the document.

Parameters:

  • request

    InsertWatermarkOnlineRequest

Returns:



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

def insert_watermark_online(request)
    begin
    data, _status_code, _headers = insert_watermark_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_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:



10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10718

def insert_watermark_text(request)
    warn "This operation is deprecated and is used for backward compatibility only. Please use InsertWatermark instead."
    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:



10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10761

def insert_watermark_text_online(request)
    warn "This operation is deprecated and is used for backward compatibility only. Please use InsertWatermark instead."
    begin
    data, _status_code, _headers = insert_watermark_text_online_with_http_info(request)
    rescue ApiError => e
        if e.code == 401
        request_token
        data, _status_code, _headers = insert_watermark_text_online_with_http_info(request)
        else
        raise
        end
    end
    data
end

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

Parameters:

  • request

    LinkHeaderFootersToPreviousRequest

Returns:

  • (nil)


10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10808

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

#load_web_document(request) ⇒ SaveResponse

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

Parameters:

  • request

    LoadWebDocumentRequest

Returns:



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

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


10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10891

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)


10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10932

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)


10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10973

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

#optimize_document_online(request) ⇒ FILES_COLLECTION

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

Parameters:

  • request

    OptimizeDocumentOnlineRequest

Returns:

  • (FILES_COLLECTION)


11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11014

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

Changes the document protection. The previous protection will be overwritten if it exist.

Parameters:

  • request

    ProtectDocumentRequest

Returns:



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

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

Changes the document protection. The previous protection will be overwritten if it exist.

Parameters:

  • request

    ProtectDocumentOnlineRequest

Returns:



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

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:



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

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:



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

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:



11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11233

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:



11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11275

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)


11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11321

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)


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

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)


11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11405

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)


11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11447

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)


11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11489

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)


11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11531

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)


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

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)


11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11615

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)


11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11657

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)


11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11699

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:



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

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:



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

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:



11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11829

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:



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

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)


11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11917

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:



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

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

#save_as_online(request) ⇒ SaveAsOnlineResponse

Converts a document in cloud storage to the specified format.

Parameters:

  • request

    SaveAsOnlineRequest

Returns:



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

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:



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

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:



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

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:



12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12134

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

#save_as_tiff_online(request) ⇒ SaveAsTiffOnlineResponse

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

Parameters:

  • request

    SaveAsTiffOnlineRequest

Returns:



12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12177

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

#search(request) ⇒ SearchResponse

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

Parameters:

  • request

    SearchRequest

Returns:



12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12224

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:



12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12266

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:



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

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:



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

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:



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

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



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

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:



12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12484

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:



12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12526

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

#update_border(request) ⇒ BorderResponse

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

Parameters:

  • request

    UpdateBorderRequest

Returns:



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

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

#update_border_online(request) ⇒ UpdateBorderOnlineResponse

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

Parameters:

  • request

    UpdateBorderOnlineRequest

Returns:



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

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



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



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

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:



13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13192

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:



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

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:



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

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:



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

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:



13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13364

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:



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

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:



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

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:



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

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:



13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13544

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:



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

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:



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

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:



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

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:



13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13716

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:



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

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:



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

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:



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

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

#update_structured_document_tag(request) ⇒ StructuredDocumentTagResponse

Updates a StructuredDocumentTag (SDT) in the document node.

Parameters:

  • request

    UpdateStructuredDocumentTagRequest

Returns:



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

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

#update_structured_document_tag_online(request) ⇒ UpdateStructuredDocumentTagOnlineResponse

Updates a StructuredDocumentTag (SDT) in the document node.

Parameters:

  • request

    UpdateStructuredDocumentTagOnlineRequest

Returns:



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

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

#update_style(request) ⇒ StyleResponse

Updates a style in the document.

Parameters:

  • request

    UpdateStyleRequest

Returns:



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

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:



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

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:



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

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:



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

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:



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

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:



14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14202

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:



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

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:



14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14290

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:



14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14336

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