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 the revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsRequest

Returns:



101
102
103
104
105
106
107
108
109
110
111
112
113
# File 'lib/aspose_words_cloud/api/words_api.rb', line 101

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 the revisions in the document.

Parameters:

  • request

    AcceptAllRevisionsOnlineRequest

Returns:



143
144
145
146
147
148
149
150
151
152
153
154
155
# File 'lib/aspose_words_cloud/api/words_api.rb', line 143

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:



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

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_job(request) ⇒ JobHandler

Appends documents to the original document.

Parameters:

  • request

    AppendDocumentJobRequest

Returns:



231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'lib/aspose_words_cloud/api/words_api.rb', line 231

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



273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'lib/aspose_words_cloud/api/words_api.rb', line 273

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

#append_document_online_job(request) ⇒ JobHandler

Appends documents to the original document.

Parameters:

  • request

    AppendDocumentOnlineJobRequest

Returns:



319
320
321
322
323
324
325
326
327
328
329
330
331
# File 'lib/aspose_words_cloud/api/words_api.rb', line 319

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



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

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:



403
404
405
406
407
408
409
410
411
412
413
414
415
# File 'lib/aspose_words_cloud/api/words_api.rb', line 403

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:



449
450
451
452
453
454
455
456
457
458
459
460
461
# File 'lib/aspose_words_cloud/api/words_api.rb', line 449

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)


491
492
493
494
495
496
497
498
499
500
501
502
503
# File 'lib/aspose_words_cloud/api/words_api.rb', line 491

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

#call_job_result(job_id) ⇒ Object



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

def call_job_result(job_id)
  begin
    data, _status_code, _headers = call_job_result_with_http_info(job_id)
  rescue ApiError => e
    if e.code == 401
      request_token
      data, _status_code, _headers = call_job_result_with_http_info(job_id)
    else
      raise
    end
  end
  data
end

#compare_document(request) ⇒ DocumentResponse

Compares two documents.

Parameters:

  • request

    CompareDocumentRequest

Returns:



533
534
535
536
537
538
539
540
541
542
543
544
545
# File 'lib/aspose_words_cloud/api/words_api.rb', line 533

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:



575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'lib/aspose_words_cloud/api/words_api.rb', line 575

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:



622
623
624
625
626
627
628
629
630
631
632
633
634
# File 'lib/aspose_words_cloud/api/words_api.rb', line 622

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:



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

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)


713
714
715
716
717
718
719
720
721
722
723
724
725
# File 'lib/aspose_words_cloud/api/words_api.rb', line 713

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

#convert_document_job(request) ⇒ JobHandler

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

Parameters:

  • request

    ConvertDocumentJobRequest

Returns:



755
756
757
758
759
760
761
762
763
764
765
766
767
# File 'lib/aspose_words_cloud/api/words_api.rb', line 755

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

#copy_file(request) ⇒ nil

Copy file.

Parameters:

  • request

    CopyFileRequest

Returns:

  • (nil)


797
798
799
800
801
802
803
804
805
806
807
808
809
# File 'lib/aspose_words_cloud/api/words_api.rb', line 797

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)


838
839
840
841
842
843
844
845
846
847
848
849
850
# File 'lib/aspose_words_cloud/api/words_api.rb', line 838

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:



879
880
881
882
883
884
885
886
887
888
889
890
891
# File 'lib/aspose_words_cloud/api/words_api.rb', line 879

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:



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

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



967
968
969
970
971
972
973
974
975
976
977
978
979
# File 'lib/aspose_words_cloud/api/words_api.rb', line 967

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:



1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1010

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)


1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1053

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:



1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1094

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:



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

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:



1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1182

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:



1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1224

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)


1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1270

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)


1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1311

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)


1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1354

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)


1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1395

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:



1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1439

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:



1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1483

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:



1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1531

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:



1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1575

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)


1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1622

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)


1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1663

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)


1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1706

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)


1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1747

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)


1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1790

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)


1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1831

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)


1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1874

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)


1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1915

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)


1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1958

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)


1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1999

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)


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

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)


2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2083

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)


2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2126

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)


2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2167

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)


2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2210

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)


2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2251

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)


2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2294

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)


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

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)


2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2376

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)


2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2417

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)


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

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)


2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2501

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)


2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2544

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)


2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2585

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)


2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2628

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)


2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2669

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)


2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2712

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)


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

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)


2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2796

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)


2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2837

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)


2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2880

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)


2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2921

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)


2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2964

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:



3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3005

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:



3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3047

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)


3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3093

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:



3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3136

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:



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

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)


3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3224

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)


3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3265

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)


3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3308

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)


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

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)


3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3392

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)


3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3433

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)


3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3476

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)


3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3517

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)


3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3558

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)


3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3601

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)


3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3644

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)


3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3685

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:



3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3728

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:



3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3770

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)


3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3816

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)


15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15134

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:



3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3858

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_job(request) ⇒ JobHandler

Executes a Mail Merge operation.

Parameters:

  • request

    ExecuteMailMergeJobRequest

Returns:



3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3900

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


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

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

#execute_mail_merge_online_job(request) ⇒ JobHandler

Executes a Mail Merge operation online.

Parameters:

  • request

    ExecuteMailMergeOnlineJobRequest

Returns:



3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3984

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

#get_all_revisions(request) ⇒ RevisionsResponse

Get all information about revisions.

Parameters:

  • request

    GetAllRevisionsRequest

Returns:



4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4026

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

#get_all_revisions_online(request) ⇒ RevisionsResponse

Get all information about revisions.

Parameters:

  • request

    GetAllRevisionsOnlineRequest

Returns:



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

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



4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4110

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:



4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4152

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:



4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4194

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:



4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4236

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:



4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4278

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:



4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4321

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:



4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4365

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:



4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4408

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:



4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4450

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:



4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4492

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:



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

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:



4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4576

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:



4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4618

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:



4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4660

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:



4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4702

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:



4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4744

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:



4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4786

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:



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

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



4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4870

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:



4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4912

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)


4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4954

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)


4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4996

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)


5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5038

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)


5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5080

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:



5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5122

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:



5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5164

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:



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

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:



5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5248

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:



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

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:



5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5332

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:



5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5374

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:



5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5416

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:



5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5458

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:



5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5500

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:



5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5542

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:



5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5584

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:



5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5626

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:



5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5668

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:



5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5710

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:



5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5752

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)


5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5794

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:



5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5836

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:



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

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:



5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5920

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:



5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5962

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:



6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6004

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:



6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6046

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:



6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6088

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:



6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6130

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:



6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6172

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:



6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6214

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:



6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6256

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:



6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6298

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:



6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6340

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:



6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6382

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:



6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6424

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:



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

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:



6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6508

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:



6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6550

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:



6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6592

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:



6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6634

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:



6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6676

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:



6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6718

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:



6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6760

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:



6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6802

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:



6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6844

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:



6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6886

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:



6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6928

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:



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

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:



7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7012

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:



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

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:



7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7096

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:



7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7138

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:



7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7180

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:



7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7222

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:



7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7348

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:



7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7390

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:



7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7264

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:



7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7306

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 asymmetric public key.

Parameters:

  • request

    GetPublicKeyRequest

Returns:



7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7432

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:



7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7474

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:



7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7516

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:



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

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:



7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7600

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:



7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7642

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:



7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7684

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:



7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7726

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:



7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7768

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:



7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7810

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:



7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7852

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:



7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7894

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:



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

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



7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7978

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:



8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8020

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_signatures(request) ⇒ SignatureCollectionResponse

Gets signatures from the document.

Parameters:

  • request

    GetSignaturesRequest

Returns:



8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8062

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

#get_signatures_online(request) ⇒ SignatureCollectionResponse

Gets signatures from the document.

Parameters:

  • request

    GetSignaturesOnlineRequest

Returns:



8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8104

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



8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8146

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:



8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8188

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:



8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8230

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:



8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8272

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:



8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8314

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:



8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8356

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:



8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8398

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:



8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8440

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:



8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8482

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:



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

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



8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8566

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:



8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8608

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:



8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8650

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:



8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8692

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:



8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8734

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:



8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8776

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:



8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8818

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:



8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8860

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:



8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8902

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:



8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8944

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:



8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8986

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:



9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9028

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:



9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9070

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:



9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9112

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:



9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9154

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:



9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9196

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:



9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9242

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:



9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9284

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:



9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9330

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:



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

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:



9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9418

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:



9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9460

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:



9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9506

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:



9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9548

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:



9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9594

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:



9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9636

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:



9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9682

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:



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

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:



9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9770

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:



9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9812

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:



9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9858

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:



9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9900

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:



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

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



9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9988

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:



10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10034

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:



10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10076

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:



10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10122

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:



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

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:



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

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:



10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10252

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)


10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10298

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)


10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10339

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:



10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10382

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:



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

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:



10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10470

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:



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

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



10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10558

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:



10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10600

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:



10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10642

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:



10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10688

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:



10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10734

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:



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

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



10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10822

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:



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

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:



10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10907

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:



10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10954

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:



11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11000

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:



11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11043

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)


11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11090

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:



11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11131

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

#load_web_document_online(request) ⇒ LoadWebDocumentOnlineResponse

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

Parameters:

  • request

    LoadWebDocumentOnlineRequest

Returns:



11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11173

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

#merge_with_next(request) ⇒ nil

Merge the section with the next one.

Parameters:

  • request

    MergeWithNextRequest

Returns:

  • (nil)


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

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

#merge_with_next_online(request) ⇒ FILES_COLLECTION

Merge the section with the next one.

Parameters:

  • request

    MergeWithNextOnlineRequest

Returns:

  • (FILES_COLLECTION)


11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11260

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

#move_file(request) ⇒ nil

Move file.

Parameters:

  • request

    MoveFileRequest

Returns:

  • (nil)


11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11303

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)


11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11344

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)


11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11385

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)


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

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:



11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11469

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:



11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11511

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:



11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11557

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:



11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11599

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_all_signatures(request) ⇒ SignatureCollectionResponse

Removes all signatures of the document.

Parameters:

  • request

    RemoveAllSignaturesRequest

Returns:



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

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

#remove_all_signatures_online(request) ⇒ RemoveAllSignaturesOnlineResponse

Removes all signatures of the document.

Parameters:

  • request

    RemoveAllSignaturesOnlineRequest

Returns:



11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11687

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



11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11733

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:



11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11775

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)


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

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)


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

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)


11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11905

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)


11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11947

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)


11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11989

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)


12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12031

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)


12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12073

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)


12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12115

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)


12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12157

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)


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

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:



12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12241

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:



12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12283

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:



12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12329

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:



12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12371

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)


12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12417

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:



12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12458

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:



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

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:



12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12546

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:



12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12588

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:



12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12634

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:



12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12677

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:



12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12724

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:



12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12766

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

#sign_document(request) ⇒ SignatureCollectionResponse

Signs the document with given certificate.

Parameters:

  • request

    SignDocumentRequest

Returns:



12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12808

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

#sign_document_online(request) ⇒ SignDocumentOnlineResponse

Signs the document with given certificate.

Parameters:

  • request

    SignDocumentOnlineRequest

Returns:



12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12850

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



12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12896

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_job(request) ⇒ JobHandler

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

Parameters:

  • request

    SplitDocumentJobRequest

Returns:



12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12938

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



12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12980

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

#split_document_online_job(request) ⇒ JobHandler

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

Parameters:

  • request

    SplitDocumentOnlineJobRequest

Returns:



13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13026

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

#translate_node_id(request) ⇒ TranslateNodeIdResponse

Translate a node id to a node path.

Parameters:

  • request

    TranslateNodeIdRequest

Returns:



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

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

#translate_node_id_online(request) ⇒ TranslateNodeIdResponse

Translate a node id to a node path.

Parameters:

  • request

    TranslateNodeIdOnlineRequest

Returns:



13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13110

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

#unprotect_document(request) ⇒ ProtectionDataResponse

Removes protection from the document.

Parameters:

  • request

    UnprotectDocumentRequest

Returns:



13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13152

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:



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

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:



13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13240

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:



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

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:



13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13329

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:



13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13373

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:



13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13420

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:



13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13462

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:



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

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:



13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13550

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:



13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13596

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:



13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13638

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:



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

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:



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

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:



13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13772

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:



13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13814

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:



13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13860

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:



13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13902

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:



13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13948

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:



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

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



14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14036

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:



14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14078

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:



14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14120

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:



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

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:



14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14212

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:



14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14254

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:



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

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:



14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14342

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:



14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14388

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:



14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14430

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:



14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14472

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:



14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14518

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:



14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14564

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:



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

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:



14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14652

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:



14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14694

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:



14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14740

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:



14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14782

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:



14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14828

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:



14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14870

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:



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

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:



14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14958

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:



15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15004

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:



15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15046

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:



15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
# File 'lib/aspose_words_cloud/api/words_api.rb', line 15092

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