Class: AsposeWordsCloud::WordsApi
- Inherits:
-
Object
- Object
- AsposeWordsCloud::WordsApi
- Defined in:
- lib/aspose_words_cloud/api/words_api.rb
Overview
Aspose.Words for Cloud API
Instance Attribute Summary collapse
-
#api_client ⇒ Object
Returns the value of attribute api_client.
Instance Method Summary collapse
-
#accept_all_revisions(request) ⇒ RevisionsModificationResponse
Accepts all revisions in document.
-
#append_document(request) ⇒ DocumentResponse
Appends documents to original document.
-
#apply_style_to_document_element(request) ⇒ WordsResponse
Apply a style to the document node.
-
#build_report(request) ⇒ DocumentResponse
Executes document “build report” operation.
-
#build_report_online(request) ⇒ File
Executes document “build report” online operation.
-
#classify(request) ⇒ ClassificationResponse
Classifies raw text.
-
#classify_document(request) ⇒ ClassificationResponse
Classifies document.
-
#compare_document(request) ⇒ DocumentResponse
Compares document with original document.
-
#convert_document(request) ⇒ File
Converts document from the request’s content to the specified format.
-
#copy_file(request) ⇒ nil
Copy file.
-
#copy_folder(request) ⇒ nil
Copy folder.
-
#copy_style(request) ⇒ StyleResponse
Copy and insert a new style to the document, returns a copied style.
-
#create_document(request) ⇒ DocumentResponse
Creates new document.
-
#create_folder(request) ⇒ nil
Create the folder.
-
#create_or_update_document_property(request) ⇒ DocumentPropertyResponse
Adds new or update existing document property.
-
#delete_all_paragraph_tab_stops(request) ⇒ TabStopsResponse
Remove all tab stops.
-
#delete_all_paragraph_tab_stops_without_node_path(request) ⇒ TabStopsResponse
Remove all tab stops.
-
#delete_border(request) ⇒ BorderResponse
‘nodePath’ should refer to paragraph, cell or row.
-
#delete_borders(request) ⇒ BordersResponse
‘nodePath’ should refer to paragraph, cell or row.
-
#delete_comment(request) ⇒ nil
Removes comment from document.
-
#delete_document_property(request) ⇒ nil
Deletes document property.
-
#delete_drawing_object(request) ⇒ nil
Removes drawing object from document.
-
#delete_drawing_object_without_node_path(request) ⇒ nil
Removes drawing object from document.
-
#delete_field(request) ⇒ nil
Deletes field from document.
-
#delete_field_without_node_path(request) ⇒ nil
Deletes field from document.
-
#delete_fields(request) ⇒ nil
Removes fields from section paragraph.
-
#delete_fields_without_node_path(request) ⇒ nil
Removes fields from section paragraph.
-
#delete_file(request) ⇒ nil
Delete file.
-
#delete_folder(request) ⇒ nil
Delete folder.
-
#delete_footnote(request) ⇒ nil
Removes footnote from document.
-
#delete_footnote_without_node_path(request) ⇒ nil
Removes footnote from document.
-
#delete_form_field(request) ⇒ nil
Removes form field from document.
-
#delete_form_field_without_node_path(request) ⇒ nil
Removes form field from document.
-
#delete_header_footer(request) ⇒ nil
Deletes header/footer from document.
-
#delete_headers_footers(request) ⇒ nil
Deletes document headers and footers.
-
#delete_macros(request) ⇒ nil
Removes macros from document.
-
#delete_office_math_object(request) ⇒ nil
Removes OfficeMath object from document.
-
#delete_office_math_object_without_node_path(request) ⇒ nil
Removes OfficeMath object from document.
-
#delete_paragraph(request) ⇒ nil
Removes paragraph from section.
-
#delete_paragraph_list_format(request) ⇒ ParagraphListFormatResponse
Delete paragraph list format, returns updated list format properties.
-
#delete_paragraph_list_format_without_node_path(request) ⇒ ParagraphListFormatResponse
Delete paragraph list format, returns updated list format properties.
-
#delete_paragraph_tab_stop(request) ⇒ TabStopsResponse
Remove the i-th tab stop.
-
#delete_paragraph_tab_stop_without_node_path(request) ⇒ TabStopsResponse
Remove the i-th tab stop.
-
#delete_paragraph_without_node_path(request) ⇒ nil
Removes paragraph from section.
-
#delete_run(request) ⇒ nil
Removes run from document.
-
#delete_section(request) ⇒ nil
Removes section from document.
-
#delete_table(request) ⇒ nil
Deletes a table.
-
#delete_table_cell(request) ⇒ nil
Deletes a table cell.
-
#delete_table_row(request) ⇒ nil
Deletes a table row.
-
#delete_table_without_node_path(request) ⇒ nil
Deletes a table.
-
#delete_watermark(request) ⇒ DocumentResponse
Deletes watermark (for deleting last watermark from the document).
-
#download_file(request) ⇒ File
Download file.
-
#execute_mail_merge(request) ⇒ DocumentResponse
Executes document mail merge operation.
-
#execute_mail_merge_online(request) ⇒ File
Executes document mail merge online.
-
#get_available_fonts(request) ⇒ AvailableFontsResponse
Gets the list of fonts, available for document processing.
-
#get_bookmark_by_name(request) ⇒ BookmarkResponse
Reads document bookmark data by its name.
-
#get_bookmarks(request) ⇒ BookmarksResponse
Reads document bookmarks common info.
-
#get_border(request) ⇒ BorderResponse
‘nodePath’ should refer to paragraph, cell or row.
-
#get_borders(request) ⇒ BordersResponse
‘nodePath’ should refer to paragraph, cell or row.
-
#get_comment(request) ⇒ CommentResponse
Gets comment from document.
-
#get_comments(request) ⇒ CommentsResponse
Gets comments from document.
-
#get_document(request) ⇒ DocumentResponse
Reads document common info.
-
#get_document_drawing_object_by_index(request) ⇒ DrawingObjectResponse
Reads document drawing object common info by its index or convert to format specified.
-
#get_document_drawing_object_by_index_without_node_path(request) ⇒ DrawingObjectResponse
Reads document drawing object common info by its index or convert to format specified.
-
#get_document_drawing_object_image_data(request) ⇒ File
Reads drawing object image data.
-
#get_document_drawing_object_image_data_without_node_path(request) ⇒ File
Reads drawing object image data.
-
#get_document_drawing_object_ole_data(request) ⇒ File
Gets drawing object OLE data.
-
#get_document_drawing_object_ole_data_without_node_path(request) ⇒ File
Gets drawing object OLE data.
-
#get_document_drawing_objects(request) ⇒ DrawingObjectsResponse
Reads document drawing objects common info.
-
#get_document_drawing_objects_without_node_path(request) ⇒ DrawingObjectsResponse
Reads document drawing objects common info.
-
#get_document_field_names(request) ⇒ FieldNamesResponse
Reads document field names.
-
#get_document_field_names_online(request) ⇒ FieldNamesResponse
Reads document field names.
-
#get_document_hyperlink_by_index(request) ⇒ HyperlinkResponse
Reads document hyperlink by its index.
-
#get_document_hyperlinks(request) ⇒ HyperlinksResponse
Reads document hyperlinks common info.
-
#get_document_properties(request) ⇒ DocumentPropertiesResponse
Reads document properties info.
-
#get_document_property(request) ⇒ DocumentPropertyResponse
Reads document property info by the property name.
-
#get_document_protection(request) ⇒ ProtectionDataResponse
Reads document protection common info.
-
#get_document_statistics(request) ⇒ StatDataResponse
Reads document statistics.
-
#get_document_with_format(request) ⇒ File
Exports the document into the specified format.
-
#get_field(request) ⇒ FieldResponse
Gets field from document.
-
#get_field_without_node_path(request) ⇒ FieldResponse
Gets field from document.
-
#get_fields(request) ⇒ FieldsResponse
Get fields from document.
-
#get_fields_without_node_path(request) ⇒ FieldsResponse
Get fields from document.
-
#get_files_list(request) ⇒ FilesList
Get all files and folders within a folder.
-
#get_footnote(request) ⇒ FootnoteResponse
Reads footnote by index.
-
#get_footnote_without_node_path(request) ⇒ FootnoteResponse
Reads footnote by index.
-
#get_footnotes(request) ⇒ FootnotesResponse
Gets footnotes from document.
-
#get_footnotes_without_node_path(request) ⇒ FootnotesResponse
Gets footnotes from document.
-
#get_form_field(request) ⇒ FormFieldResponse
Returns representation of an one of the form field.
-
#get_form_field_without_node_path(request) ⇒ FormFieldResponse
Returns representation of an one of the form field.
-
#get_form_fields(request) ⇒ FormFieldsResponse
Gets form fields from document.
-
#get_form_fields_without_node_path(request) ⇒ FormFieldsResponse
Gets form fields from document.
-
#get_header_footer(request) ⇒ HeaderFooterResponse
Returns a header/footer from the document by index.
-
#get_header_footer_of_section(request) ⇒ HeaderFooterResponse
Returns a header/footer from the document section.
-
#get_header_footers(request) ⇒ HeaderFootersResponse
Returns a list of header/footers from the document.
-
#get_list(request) ⇒ ListResponse
This resource represents one of the lists contained in the document.
-
#get_lists(request) ⇒ ListsResponse
Returns a list of lists that are contained in the document.
-
#get_office_math_object(request) ⇒ OfficeMathObjectResponse
Reads OfficeMath object by index.
-
#get_office_math_object_without_node_path(request) ⇒ OfficeMathObjectResponse
Reads OfficeMath object by index.
-
#get_office_math_objects(request) ⇒ OfficeMathObjectsResponse
Gets OfficeMath objects from document.
-
#get_office_math_objects_without_node_path(request) ⇒ OfficeMathObjectsResponse
Gets OfficeMath objects from document.
-
#get_paragraph(request) ⇒ ParagraphResponse
This resource represents one of the paragraphs contained in the document.
-
#get_paragraph_format(request) ⇒ ParagraphFormatResponse
Represents all the formatting for a paragraph.
-
#get_paragraph_format_without_node_path(request) ⇒ ParagraphFormatResponse
Represents all the formatting for a paragraph.
-
#get_paragraph_list_format(request) ⇒ ParagraphListFormatResponse
Represents list format for a paragraph.
-
#get_paragraph_list_format_without_node_path(request) ⇒ ParagraphListFormatResponse
Represents list format for a paragraph.
-
#get_paragraph_tab_stops(request) ⇒ TabStopsResponse
Get all tab stops for the paragraph.
-
#get_paragraph_tab_stops_without_node_path(request) ⇒ TabStopsResponse
Get all tab stops for the paragraph.
-
#get_paragraph_without_node_path(request) ⇒ ParagraphResponse
This resource represents one of the paragraphs contained in the document.
-
#get_paragraphs(request) ⇒ ParagraphLinkCollectionResponse
Returns a list of paragraphs that are contained in the document.
-
#get_paragraphs_without_node_path(request) ⇒ ParagraphLinkCollectionResponse
Returns a list of paragraphs that are contained in the document.
-
#get_range_text(request) ⇒ RangeTextResponse
Gets the text from the range.
-
#get_run(request) ⇒ RunResponse
This resource represents run of text contained in the document.
-
#get_run_font(request) ⇒ FontResponse
This resource represents font of run.
-
#get_runs(request) ⇒ RunsResponse
This resource represents collection of runs in the paragraph.
-
#get_section(request) ⇒ SectionResponse
Gets document section by index.
-
#get_section_page_setup(request) ⇒ SectionPageSetupResponse
Gets page setup of section.
-
#get_sections(request) ⇒ SectionLinkCollectionResponse
Returns a list of sections that are contained in the document.
-
#get_style(request) ⇒ StyleResponse
This resource represents one of the styles contained in the document.
-
#get_style_from_document_element(request) ⇒ StyleResponse
Gets a style from the document node.
-
#get_styles(request) ⇒ StylesResponse
Returns a list of styles contained in the document.
-
#get_table(request) ⇒ TableResponse
Returns a table.
-
#get_table_cell(request) ⇒ TableCellResponse
Returns a table cell.
-
#get_table_cell_format(request) ⇒ TableCellFormatResponse
Returns a table cell format.
-
#get_table_properties(request) ⇒ TablePropertiesResponse
Returns a table properties.
-
#get_table_properties_without_node_path(request) ⇒ TablePropertiesResponse
Returns a table properties.
-
#get_table_row(request) ⇒ TableRowResponse
Returns a table row.
-
#get_table_row_format(request) ⇒ TableRowFormatResponse
Returns a table row format.
-
#get_table_without_node_path(request) ⇒ TableResponse
Returns a table.
-
#get_tables(request) ⇒ TableLinkCollectionResponse
Returns a list of tables that are contained in the document.
-
#get_tables_without_node_path(request) ⇒ TableLinkCollectionResponse
Returns a list of tables that are contained in the document.
-
#initialize(api_client = ApiClient.default) ⇒ WordsApi
constructor
A new instance of WordsApi.
-
#insert_comment(request) ⇒ CommentResponse
Adds comment to document, returns inserted comment data.
-
#insert_drawing_object(request) ⇒ DrawingObjectResponse
Adds drawing object to document, returns added drawing object’s data.
-
#insert_drawing_object_without_node_path(request) ⇒ DrawingObjectResponse
Adds drawing object to document, returns added drawing object’s data.
-
#insert_field(request) ⇒ FieldResponse
Adds field to document, returns inserted field’s data.
-
#insert_field_without_node_path(request) ⇒ FieldResponse
Adds field to document, returns inserted field’s data.
-
#insert_footnote(request) ⇒ FootnoteResponse
Adds footnote to document, returns added footnote’s data.
-
#insert_footnote_without_node_path(request) ⇒ FootnoteResponse
Adds footnote to document, returns added footnote’s data.
-
#insert_form_field(request) ⇒ FormFieldResponse
Adds form field to paragraph, returns added form field’s data.
-
#insert_form_field_without_node_path(request) ⇒ FormFieldResponse
Adds form field to paragraph, returns added form field’s data.
-
#insert_header_footer(request) ⇒ HeaderFooterResponse
Inserts to document header or footer.
-
#insert_list(request) ⇒ ListResponse
Adds list to document, returns added list’s data.
-
#insert_or_update_paragraph_tab_stop(request) ⇒ TabStopsResponse
Insert or resplace tab stop if a tab stop with the position exists.
-
#insert_or_update_paragraph_tab_stop_without_node_path(request) ⇒ TabStopsResponse
Insert or resplace tab stop if a tab stop with the position exists.
-
#insert_page_numbers(request) ⇒ DocumentResponse
Inserts document page numbers.
-
#insert_paragraph(request) ⇒ ParagraphResponse
Adds paragraph to document, returns added paragraph’s data.
-
#insert_paragraph_without_node_path(request) ⇒ ParagraphResponse
Adds paragraph to document, returns added paragraph’s data.
-
#insert_run(request) ⇒ RunResponse
Adds run to document, returns added paragraph’s data.
-
#insert_style(request) ⇒ StyleResponse
Adds a style to the document, returns an added style.
-
#insert_table(request) ⇒ TableResponse
Adds table to document, returns added table’s data.
-
#insert_table_cell(request) ⇒ TableCellResponse
Adds table cell to table, returns added cell’s data.
-
#insert_table_row(request) ⇒ TableRowResponse
Adds table row to table, returns added row’s data.
-
#insert_table_without_node_path(request) ⇒ TableResponse
Adds table to document, returns added table’s data.
-
#insert_watermark_image(request) ⇒ DocumentResponse
Inserts document watermark image.
-
#insert_watermark_text(request) ⇒ DocumentResponse
Inserts document watermark text.
-
#load_web_document(request) ⇒ SaveResponse
Loads new document from web into the file with any supported format of data.
-
#move_file(request) ⇒ nil
Move file.
-
#move_folder(request) ⇒ nil
Move folder.
-
#protect_document(request) ⇒ ProtectionDataResponse
Protects document.
-
#reject_all_revisions(request) ⇒ RevisionsModificationResponse
Rejects all revisions in document.
-
#remove_range(request) ⇒ DocumentResponse
Removes the range from the document.
-
#render_drawing_object(request) ⇒ File
Renders drawing object to specified format.
-
#render_drawing_object_without_node_path(request) ⇒ File
Renders drawing object to specified format.
-
#render_math_object(request) ⇒ File
Renders math object to specified format.
-
#render_math_object_without_node_path(request) ⇒ File
Renders math object to specified format.
-
#render_page(request) ⇒ File
Renders page to specified format.
-
#render_paragraph(request) ⇒ File
Renders paragraph to specified format.
-
#render_paragraph_without_node_path(request) ⇒ File
Renders paragraph to specified format.
-
#render_table(request) ⇒ File
Renders table to specified format.
-
#render_table_without_node_path(request) ⇒ File
Renders table to specified format.
-
#replace_text(request) ⇒ ReplaceTextResponse
Replaces document text.
-
#replace_with_text(request) ⇒ DocumentResponse
Replaces the content in the range.
-
#reset_cache(request) ⇒ nil
Resets font’s cache.
-
#save_as(request) ⇒ SaveResponse
Converts document to destination format with detailed settings and saves result to storage.
-
#save_as_range(request) ⇒ DocumentResponse
Saves the selected range as a new document.
-
#save_as_tiff(request) ⇒ SaveResponse
Converts document to tiff with detailed settings and saves result to storage.
-
#search(request) ⇒ SearchResponse
Searches text in document.
-
#split_document(request) ⇒ SplitDocumentResponse
Splits document.
-
#unprotect_document(request) ⇒ ProtectionDataResponse
Unprotects document.
-
#update_bookmark(request) ⇒ BookmarkResponse
Updates document bookmark.
-
#update_border(request) ⇒ BorderResponse
‘nodePath’ should refer to paragraph, cell or row.
-
#update_comment(request) ⇒ CommentResponse
Updates the comment, returns updated comment data.
-
#update_drawing_object(request) ⇒ DrawingObjectResponse
Updates drawing object, returns updated drawing object’s data.
-
#update_drawing_object_without_node_path(request) ⇒ DrawingObjectResponse
Updates drawing object, returns updated drawing object’s data.
-
#update_field(request) ⇒ FieldResponse
Updates field’s properties, returns updated field’s data.
-
#update_fields(request) ⇒ DocumentResponse
Updates (reevaluate) fields in document.
-
#update_footnote(request) ⇒ FootnoteResponse
Updates footnote’s properties, returns updated run’s data.
-
#update_footnote_without_node_path(request) ⇒ FootnoteResponse
Updates footnote’s properties, returns updated run’s data.
-
#update_form_field(request) ⇒ FormFieldResponse
Updates properties of form field, returns updated form field.
-
#update_form_field_without_node_path(request) ⇒ FormFieldResponse
Updates properties of form field, returns updated form field.
-
#update_list(request) ⇒ ListResponse
Updates list properties, returns updated list.
-
#update_list_level(request) ⇒ ListResponse
Updates list level in document list, returns updated list.
-
#update_paragraph_format(request) ⇒ ParagraphFormatResponse
Updates paragraph format properties, returns updated format properties.
-
#update_paragraph_list_format(request) ⇒ ParagraphListFormatResponse
Updates paragraph list format properties, returns updated list format properties.
-
#update_paragraph_list_format_without_node_path(request) ⇒ ParagraphListFormatResponse
Updates paragraph list format properties, returns updated list format properties.
-
#update_run(request) ⇒ RunResponse
Updates run’s properties, returns updated run’s data.
-
#update_run_font(request) ⇒ FontResponse
Updates font properties, returns updated font data.
-
#update_section_page_setup(request) ⇒ SectionPageSetupResponse
Updates page setup of section.
-
#update_style(request) ⇒ StyleResponse
Updates style properties, returns an updated style.
-
#update_table_cell_format(request) ⇒ TableCellFormatResponse
Updates a table cell format.
-
#update_table_properties(request) ⇒ TablePropertiesResponse
Updates a table properties.
-
#update_table_properties_without_node_path(request) ⇒ TablePropertiesResponse
Updates a table properties.
-
#update_table_row_format(request) ⇒ TableRowFormatResponse
Updates a table row format.
-
#upload_file(request) ⇒ FilesUploadResult
Upload file.
Constructor Details
Instance Attribute Details
#api_client ⇒ Object
Returns the value of attribute api_client.
34 35 36 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 34 def api_client @api_client end |
Instance Method Details
#accept_all_revisions(request) ⇒ RevisionsModificationResponse
Accepts all revisions in document.
45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 45 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 |
#append_document(request) ⇒ DocumentResponse
Appends documents to original document.
113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 113 def 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 |
#apply_style_to_document_element(request) ⇒ WordsResponse
Apply a style to the document node.
185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 185 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 |
#build_report(request) ⇒ DocumentResponse
Executes document “build report” operation.
260 261 262 263 264 265 266 267 268 269 270 271 272 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 260 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 document “build report” online operation.
334 335 336 337 338 339 340 341 342 343 344 345 346 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 334 def build_report_online(request) begin data, _status_code, _headers = build_report_online_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = build_report_online_with_http_info(request) else raise end end data end |
#classify(request) ⇒ ClassificationResponse
Classifies raw text.
404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 404 def classify(request) begin data, _status_code, _headers = classify_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = classify_with_http_info(request) else raise end end data end |
#classify_document(request) ⇒ ClassificationResponse
Classifies document.
467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 467 def classify_document(request) begin data, _status_code, _headers = classify_document_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = classify_document_with_http_info(request) else raise end end data end |
#compare_document(request) ⇒ DocumentResponse
Compares document with original document.
536 537 538 539 540 541 542 543 544 545 546 547 548 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 536 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 |
#convert_document(request) ⇒ File
Converts document from the request’s content to the specified format.
606 607 608 609 610 611 612 613 614 615 616 617 618 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 606 def convert_document(request) begin data, _status_code, _headers = convert_document_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = convert_document_with_http_info(request) else raise end end data end |
#copy_file(request) ⇒ nil
Copy file.
676 677 678 679 680 681 682 683 684 685 686 687 688 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 676 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.
744 745 746 747 748 749 750 751 752 753 754 755 756 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 744 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
Copy and insert a new style to the document, returns a copied style.
811 812 813 814 815 816 817 818 819 820 821 822 823 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 811 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 |
#create_document(request) ⇒ DocumentResponse
Creates new document. Document is created with format which is recognized from file extensions. Supported extensions: “.doc”, “.docx”, “.docm”, “.dot”, “.dotm”, “.dotx”, “.flatopc”, “.fopc”, “.flatopc_macro”, “.fopc_macro”, “.flatopc_template”, “.fopc_template”, “.flatopc_template_macro”, “.fopc_template_macro”, “.wordml”, “.wml”, “.rtf”.
885 886 887 888 889 890 891 892 893 894 895 896 897 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 885 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.
949 950 951 952 953 954 955 956 957 958 959 960 961 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 949 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 new or update existing document property.
1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1012 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 |
#delete_all_paragraph_tab_stops(request) ⇒ TabStopsResponse
Remove all tab stops.
1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1087 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_without_node_path(request) ⇒ TabStopsResponse
Remove all tab stops.
1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1161 def delete_all_paragraph_tab_stops_without_node_path(request) begin data, _status_code, _headers = delete_all_paragraph_tab_stops_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_all_paragraph_tab_stops_without_node_path_with_http_info(request) else raise end end data end |
#delete_border(request) ⇒ BorderResponse
‘nodePath’ should refer to paragraph, cell or row.
1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1232 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_borders(request) ⇒ BordersResponse
‘nodePath’ should refer to paragraph, cell or row.
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1308 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_comment(request) ⇒ nil
Removes comment from document.
1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1381 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_document_property(request) ⇒ nil
Deletes document property.
1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1453 def delete_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_drawing_object(request) ⇒ nil
Removes drawing object from document.
1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1525 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_without_node_path(request) ⇒ nil
Removes drawing object from document.
1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1600 def delete_drawing_object_without_node_path(request) begin data, _status_code, _headers = delete_drawing_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_drawing_object_without_node_path_with_http_info(request) else raise end end nil end |
#delete_field(request) ⇒ nil
Deletes field from document.
1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1672 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_without_node_path(request) ⇒ nil
Deletes field from document.
1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1888 def delete_field_without_node_path(request) begin data, _status_code, _headers = delete_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_field_without_node_path_with_http_info(request) else raise end end nil end |
#delete_fields(request) ⇒ nil
Removes fields from section paragraph.
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_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_without_node_path(request) ⇒ nil
Removes fields from section paragraph.
1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1819 def delete_fields_without_node_path(request) begin data, _status_code, _headers = delete_fields_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_fields_without_node_path_with_http_info(request) else raise end end nil end |
#delete_file(request) ⇒ nil
Delete file.
1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 1960 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.
2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2024 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 footnote from document.
2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2088 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_without_node_path(request) ⇒ nil
Removes footnote from document.
2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2163 def delete_footnote_without_node_path(request) begin data, _status_code, _headers = delete_footnote_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_footnote_without_node_path_with_http_info(request) else raise end end nil end |
#delete_form_field(request) ⇒ nil
Removes form field from document.
2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2235 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_without_node_path(request) ⇒ nil
Removes form field from document.
2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2310 def delete_form_field_without_node_path(request) begin data, _status_code, _headers = delete_form_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_form_field_without_node_path_with_http_info(request) else raise end end nil end |
#delete_header_footer(request) ⇒ nil
Deletes header/footer from document.
2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2382 def (request) begin data, _status_code, _headers = (request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = (request) else raise end end nil end |
#delete_headers_footers(request) ⇒ nil
Deletes document headers and footers.
2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2457 def (request) begin data, _status_code, _headers = (request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = (request) else raise end end nil end |
#delete_macros(request) ⇒ nil
Removes macros from document.
2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2530 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_office_math_object(request) ⇒ nil
Removes OfficeMath object from document.
2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2599 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_without_node_path(request) ⇒ nil
Removes OfficeMath object from document.
2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2674 def delete_office_math_object_without_node_path(request) begin data, _status_code, _headers = delete_office_math_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_office_math_object_without_node_path_with_http_info(request) else raise end end nil end |
#delete_paragraph(request) ⇒ nil
Removes paragraph from section.
2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2746 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
Delete paragraph list format, returns updated list format properties.
2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2821 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_without_node_path(request) ⇒ ParagraphListFormatResponse
Delete paragraph list format, returns updated list format properties.
2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2897 def delete_paragraph_list_format_without_node_path(request) begin data, _status_code, _headers = delete_paragraph_list_format_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_paragraph_list_format_without_node_path_with_http_info(request) else raise end end data end |
#delete_paragraph_tab_stop(request) ⇒ TabStopsResponse
Remove the i-th tab stop.
2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 2970 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_without_node_path(request) ⇒ TabStopsResponse
Remove the i-th tab stop.
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_tab_stop_without_node_path(request) begin data, _status_code, _headers = delete_paragraph_tab_stop_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_paragraph_tab_stop_without_node_path_with_http_info(request) else raise end end data end |
#delete_paragraph_without_node_path(request) ⇒ nil
Removes paragraph from section.
3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3121 def delete_paragraph_without_node_path(request) begin data, _status_code, _headers = delete_paragraph_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_paragraph_without_node_path_with_http_info(request) else raise end end nil end |
#delete_run(request) ⇒ nil
Removes run from document.
3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3193 def delete_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_section(request) ⇒ nil
Removes section from document.
3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3268 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_table(request) ⇒ nil
Deletes a table.
3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3340 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
Deletes a table cell.
3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3415 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_row(request) ⇒ nil
Deletes a table row.
3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3490 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_without_node_path(request) ⇒ nil
Deletes a table.
3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3565 def delete_table_without_node_path(request) begin data, _status_code, _headers = delete_table_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = delete_table_without_node_path_with_http_info(request) else raise end end nil end |
#delete_watermark(request) ⇒ DocumentResponse
Deletes watermark (for deleting last watermark from the document).
3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3637 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 |
#download_file(request) ⇒ File
Download file.
3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3707 def download_file(request) begin data, _status_code, _headers = download_file_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = download_file_with_http_info(request) else raise end end data end |
#execute_mail_merge(request) ⇒ DocumentResponse
Executes document mail merge operation.
3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3772 def execute_mail_merge(request) begin data, _status_code, _headers = execute_mail_merge_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = execute_mail_merge_with_http_info(request) else raise end end data end |
#execute_mail_merge_online(request) ⇒ File
Executes document mail merge online.
3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3845 def execute_mail_merge_online(request) begin data, _status_code, _headers = execute_mail_merge_online_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = execute_mail_merge_online_with_http_info(request) else raise end end data end |
#get_available_fonts(request) ⇒ AvailableFontsResponse
Gets the list of fonts, available for document processing.
3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3914 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 document bookmark data by its name.
3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 3974 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_bookmarks(request) ⇒ BookmarksResponse
Reads document bookmarks common info.
4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4044 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_border(request) ⇒ BorderResponse
‘nodePath’ should refer to paragraph, cell or row.
4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4111 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_borders(request) ⇒ BordersResponse
‘nodePath’ should refer to paragraph, cell or row.
4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4184 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_comment(request) ⇒ CommentResponse
Gets comment from document.
4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4254 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_comments(request) ⇒ CommentsResponse
Gets comments from document.
4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4324 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_document(request) ⇒ DocumentResponse
Reads document common info.
4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4391 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 document drawing object common info by its index or convert to format specified.
4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4458 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_without_node_path(request) ⇒ DrawingObjectResponse
Reads document drawing object common info by its index or convert to format specified.
4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4531 def get_document_drawing_object_by_index_without_node_path(request) begin data, _status_code, _headers = get_document_drawing_object_by_index_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_document_drawing_object_by_index_without_node_path_with_http_info(request) else raise end end data end |
#get_document_drawing_object_image_data(request) ⇒ File
Reads drawing object image data.
4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4601 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_without_node_path(request) ⇒ File
Reads drawing object image data.
4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4674 def get_document_drawing_object_image_data_without_node_path(request) begin data, _status_code, _headers = get_document_drawing_object_image_data_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_document_drawing_object_image_data_without_node_path_with_http_info(request) else raise end end data end |
#get_document_drawing_object_ole_data(request) ⇒ File
Gets drawing object OLE data.
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_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_without_node_path(request) ⇒ File
Gets drawing object OLE data.
4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4817 def get_document_drawing_object_ole_data_without_node_path(request) begin data, _status_code, _headers = get_document_drawing_object_ole_data_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_document_drawing_object_ole_data_without_node_path_with_http_info(request) else raise end end data end |
#get_document_drawing_objects(request) ⇒ DrawingObjectsResponse
Reads document drawing objects common info.
4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4887 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_without_node_path(request) ⇒ DrawingObjectsResponse
Reads document drawing objects common info.
4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 4957 def get_document_drawing_objects_without_node_path(request) begin data, _status_code, _headers = get_document_drawing_objects_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_document_drawing_objects_without_node_path_with_http_info(request) else raise end end data end |
#get_document_field_names(request) ⇒ FieldNamesResponse
Reads document field names.
5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5024 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 document field names.
5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5092 def get_document_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 |
#get_document_hyperlink_by_index(request) ⇒ HyperlinkResponse
Reads document hyperlink by its index.
5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5156 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 |
#get_document_hyperlinks(request) ⇒ HyperlinksResponse
Reads document hyperlinks common info.
5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5226 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 |
#get_document_properties(request) ⇒ DocumentPropertiesResponse
Reads document properties info.
5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5293 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_property(request) ⇒ DocumentPropertyResponse
Reads document property info by the property name.
5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5360 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_protection(request) ⇒ ProtectionDataResponse
Reads document protection common info.
5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5430 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_statistics(request) ⇒ StatDataResponse
Reads document statistics.
5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5497 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_with_format(request) ⇒ File
Exports the document into the specified format.
5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5567 def get_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
Gets field from document.
5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5639 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_without_node_path(request) ⇒ FieldResponse
Gets field from document.
5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5849 def get_field_without_node_path(request) begin data, _status_code, _headers = get_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_field_without_node_path_with_http_info(request) else raise end end data end |
#get_fields(request) ⇒ FieldsResponse
Get fields from document.
5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5712 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_without_node_path(request) ⇒ FieldsResponse
Get fields from document.
5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5782 def get_fields_without_node_path(request) begin data, _status_code, _headers = get_fields_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_fields_without_node_path_with_http_info(request) else raise end end data end |
#get_files_list(request) ⇒ FilesList
Get all files and folders within a folder.
5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5919 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 footnote by index.
5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 5983 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_without_node_path(request) ⇒ FootnoteResponse
Reads footnote by index.
6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6193 def get_footnote_without_node_path(request) begin data, _status_code, _headers = get_footnote_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_footnote_without_node_path_with_http_info(request) else raise end end data end |
#get_footnotes(request) ⇒ FootnotesResponse
Gets footnotes from document.
6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6056 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_without_node_path(request) ⇒ FootnotesResponse
Gets footnotes from document.
6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6126 def get_footnotes_without_node_path(request) begin data, _status_code, _headers = get_footnotes_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_footnotes_without_node_path_with_http_info(request) else raise end end data end |
#get_form_field(request) ⇒ FormFieldResponse
Returns representation of an one of the form field.
6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6263 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_without_node_path(request) ⇒ FormFieldResponse
Returns representation of an one of the form field.
6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6473 def get_form_field_without_node_path(request) begin data, _status_code, _headers = get_form_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_form_field_without_node_path_with_http_info(request) else raise end end data end |
#get_form_fields(request) ⇒ FormFieldsResponse
Gets form fields from document.
6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6336 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_without_node_path(request) ⇒ FormFieldsResponse
Gets form fields from document.
6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6406 def get_form_fields_without_node_path(request) begin data, _status_code, _headers = get_form_fields_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_form_fields_without_node_path_with_http_info(request) else raise end end data end |
#get_header_footer(request) ⇒ HeaderFooterResponse
Returns a header/footer from the document by index.
6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6543 def (request) begin data, _status_code, _headers = (request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = (request) else raise end end data end |
#get_header_footer_of_section(request) ⇒ HeaderFooterResponse
Returns a header/footer from the document section.
6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6614 def (request) begin data, _status_code, _headers = (request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = (request) else raise end end data end |
#get_header_footers(request) ⇒ HeaderFootersResponse
Returns a list of header/footers from the document.
6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6688 def (request) begin data, _status_code, _headers = (request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = (request) else raise end end data end |
#get_list(request) ⇒ ListResponse
This resource represents one of the lists contained in the document.
6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6759 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_lists(request) ⇒ ListsResponse
Returns a list of lists that are contained in the document.
6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6829 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_office_math_object(request) ⇒ OfficeMathObjectResponse
Reads OfficeMath object by index.
6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6896 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_without_node_path(request) ⇒ OfficeMathObjectResponse
Reads OfficeMath object by index.
7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7106 def get_office_math_object_without_node_path(request) begin data, _status_code, _headers = get_office_math_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_office_math_object_without_node_path_with_http_info(request) else raise end end data end |
#get_office_math_objects(request) ⇒ OfficeMathObjectsResponse
Gets OfficeMath objects from document.
6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 6969 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_without_node_path(request) ⇒ OfficeMathObjectsResponse
Gets OfficeMath objects from document.
7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7039 def get_office_math_objects_without_node_path(request) begin data, _status_code, _headers = get_office_math_objects_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_office_math_objects_without_node_path_with_http_info(request) else raise end end data end |
#get_paragraph(request) ⇒ ParagraphResponse
This resource represents one of the paragraphs contained in the document.
7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7176 def get_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
Represents all the formatting for a paragraph.
7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7249 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_without_node_path(request) ⇒ ParagraphFormatResponse
Represents all the formatting for a paragraph.
7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7322 def get_paragraph_format_without_node_path(request) begin data, _status_code, _headers = get_paragraph_format_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_paragraph_format_without_node_path_with_http_info(request) else raise end end data end |
#get_paragraph_list_format(request) ⇒ ParagraphListFormatResponse
Represents list format for a paragraph.
7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7392 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_without_node_path(request) ⇒ ParagraphListFormatResponse
Represents list format for a paragraph.
7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7465 def get_paragraph_list_format_without_node_path(request) begin data, _status_code, _headers = get_paragraph_list_format_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_paragraph_list_format_without_node_path_with_http_info(request) else raise end end data end |
#get_paragraph_tab_stops(request) ⇒ TabStopsResponse
Get all tab stops for the paragraph.
7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7672 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_without_node_path(request) ⇒ TabStopsResponse
Get all tab stops for the paragraph.
7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7745 def get_paragraph_tab_stops_without_node_path(request) begin data, _status_code, _headers = get_paragraph_tab_stops_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_paragraph_tab_stops_without_node_path_with_http_info(request) else raise end end data end |
#get_paragraph_without_node_path(request) ⇒ ParagraphResponse
This resource represents one of the paragraphs contained in the document.
7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7815 def get_paragraph_without_node_path(request) begin data, _status_code, _headers = get_paragraph_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_paragraph_without_node_path_with_http_info(request) else raise end end data end |
#get_paragraphs(request) ⇒ ParagraphLinkCollectionResponse
Returns a list of paragraphs that are contained in the document.
7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7535 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_without_node_path(request) ⇒ ParagraphLinkCollectionResponse
Returns a list of paragraphs that are contained in the document.
7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7605 def get_paragraphs_without_node_path(request) begin data, _status_code, _headers = get_paragraphs_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_paragraphs_without_node_path_with_http_info(request) else raise end end data end |
#get_range_text(request) ⇒ RangeTextResponse
Gets the text from the range.
7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7885 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_run(request) ⇒ RunResponse
This resource represents run of text contained in the document.
7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 7956 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
This resource represents font of run.
8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8029 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_runs(request) ⇒ RunsResponse
This resource represents collection of runs in the paragraph.
8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8102 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_section(request) ⇒ SectionResponse
Gets document section by index.
8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8172 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_page_setup(request) ⇒ SectionPageSetupResponse
Gets page setup of section.
8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8242 def get_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_sections(request) ⇒ SectionLinkCollectionResponse
Returns a list of sections that are contained in the document.
8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8312 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_style(request) ⇒ StyleResponse
This resource represents one of the styles contained in the document.
8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8379 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
Gets a style from the document node.
8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8449 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_styles(request) ⇒ StylesResponse
Returns a list of styles contained in the document.
8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8519 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_table(request) ⇒ TableResponse
Returns a table.
8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8586 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
Returns a table cell.
8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8659 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
Returns a table cell format.
8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8732 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_properties(request) ⇒ TablePropertiesResponse
Returns a table properties.
8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8805 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_without_node_path(request) ⇒ TablePropertiesResponse
Returns a table properties.
8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8878 def get_table_properties_without_node_path(request) begin data, _status_code, _headers = get_table_properties_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_table_properties_without_node_path_with_http_info(request) else raise end end data end |
#get_table_row(request) ⇒ TableRowResponse
Returns a table row.
8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 8948 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
Returns a table row format.
9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9021 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_without_node_path(request) ⇒ TableResponse
Returns a table.
9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9231 def get_table_without_node_path(request) begin data, _status_code, _headers = get_table_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_table_without_node_path_with_http_info(request) else raise end end data end |
#get_tables(request) ⇒ TableLinkCollectionResponse
Returns a list of tables that are contained in the document.
9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9094 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_without_node_path(request) ⇒ TableLinkCollectionResponse
Returns a list of tables that are contained in the document.
9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9164 def get_tables_without_node_path(request) begin data, _status_code, _headers = get_tables_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = get_tables_without_node_path_with_http_info(request) else raise end end data end |
#insert_comment(request) ⇒ CommentResponse
Adds comment to document, returns inserted comment data.
9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9301 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_drawing_object(request) ⇒ DrawingObjectResponse
Adds drawing object to document, returns added drawing object’s data.
9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9373 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_without_node_path(request) ⇒ DrawingObjectResponse
Adds drawing object to document, returns added drawing object’s data.
9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9452 def insert_drawing_object_without_node_path(request) begin data, _status_code, _headers = insert_drawing_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_drawing_object_without_node_path_with_http_info(request) else raise end end data end |
#insert_field(request) ⇒ FieldResponse
Adds field to document, returns inserted field’s data.
9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9528 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_without_node_path(request) ⇒ FieldResponse
Adds field to document, returns inserted field’s data.
9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9604 def insert_field_without_node_path(request) begin data, _status_code, _headers = insert_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_field_without_node_path_with_http_info(request) else raise end end data end |
#insert_footnote(request) ⇒ FootnoteResponse
Adds footnote to document, returns added footnote’s data.
9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9677 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_without_node_path(request) ⇒ FootnoteResponse
Adds footnote to document, returns added footnote’s data.
9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9752 def insert_footnote_without_node_path(request) begin data, _status_code, _headers = insert_footnote_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_footnote_without_node_path_with_http_info(request) else raise end end data end |
#insert_form_field(request) ⇒ FormFieldResponse
Adds form field to paragraph, returns added form field’s data.
9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9824 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_without_node_path(request) ⇒ FormFieldResponse
Adds form field to paragraph, returns added form field’s data.
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_form_field_without_node_path(request) begin data, _status_code, _headers = insert_form_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_form_field_without_node_path_with_http_info(request) else raise end end data end |
#insert_header_footer(request) ⇒ HeaderFooterResponse
Inserts to document header or footer.
9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 9973 def (request) begin data, _status_code, _headers = (request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = (request) else raise end end data end |
#insert_list(request) ⇒ ListResponse
Adds list to document, returns added list’s data.
10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10048 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_or_update_paragraph_tab_stop(request) ⇒ TabStopsResponse
Insert or resplace tab stop if a tab stop with the position exists.
10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10120 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_without_node_path(request) ⇒ TabStopsResponse
Insert or resplace tab stop if a tab stop with the position exists.
10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10196 def insert_or_update_paragraph_tab_stop_without_node_path(request) begin data, _status_code, _headers = insert_or_update_paragraph_tab_stop_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_or_update_paragraph_tab_stop_without_node_path_with_http_info(request) else raise end end data end |
#insert_page_numbers(request) ⇒ DocumentResponse
Inserts document page numbers.
10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10269 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_paragraph(request) ⇒ ParagraphResponse
Adds paragraph to document, returns added paragraph’s data.
10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10341 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_without_node_path(request) ⇒ ParagraphResponse
Adds paragraph to document, returns added paragraph’s data.
10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10417 def insert_paragraph_without_node_path(request) begin data, _status_code, _headers = insert_paragraph_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_paragraph_without_node_path_with_http_info(request) else raise end end data end |
#insert_run(request) ⇒ RunResponse
Adds run to document, returns added paragraph’s data.
10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10490 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_style(request) ⇒ StyleResponse
Adds a style to the document, returns an added style.
10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10566 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_table(request) ⇒ TableResponse
Adds table to document, returns added table’s data.
10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10638 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
Adds table cell to table, returns added cell’s data.
10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10713 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_row(request) ⇒ TableRowResponse
Adds table row to table, returns added row’s data.
10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10788 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_without_node_path(request) ⇒ TableResponse
Adds table to document, returns added table’s data.
10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10863 def insert_table_without_node_path(request) begin data, _status_code, _headers = insert_table_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_table_without_node_path_with_http_info(request) else raise end end data end |
#insert_watermark_image(request) ⇒ DocumentResponse
Inserts document watermark image.
10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 10935 def insert_watermark_image(request) begin data, _status_code, _headers = insert_watermark_image_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_watermark_image_with_http_info(request) else raise end end data end |
#insert_watermark_text(request) ⇒ DocumentResponse
Inserts document watermark text.
11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11008 def insert_watermark_text(request) begin data, _status_code, _headers = insert_watermark_text_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = insert_watermark_text_with_http_info(request) else raise end end data end |
#load_web_document(request) ⇒ SaveResponse
Loads new document from web into the file with any supported format of data.
11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11080 def load_web_document(request) begin data, _status_code, _headers = load_web_document_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = load_web_document_with_http_info(request) else raise end end data end |
#move_file(request) ⇒ nil
Move file.
11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11143 def 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.
11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11211 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 |
#protect_document(request) ⇒ ProtectionDataResponse
Protects document.
11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11278 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 |
#reject_all_revisions(request) ⇒ RevisionsModificationResponse
Rejects all revisions in document.
11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11348 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 |
#remove_range(request) ⇒ DocumentResponse
Removes the range from the document.
11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11416 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 |
#render_drawing_object(request) ⇒ File
Renders drawing object to specified format.
11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11488 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_without_node_path(request) ⇒ File
Renders drawing object to specified format.
11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11565 def render_drawing_object_without_node_path(request) begin data, _status_code, _headers = render_drawing_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = render_drawing_object_without_node_path_with_http_info(request) else raise end end data end |
#render_math_object(request) ⇒ File
Renders math object to specified format.
11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11639 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_without_node_path(request) ⇒ File
Renders math object to specified format.
11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11716 def render_math_object_without_node_path(request) begin data, _status_code, _headers = render_math_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = render_math_object_without_node_path_with_http_info(request) else raise end end data end |
#render_page(request) ⇒ File
Renders page to specified format.
11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11790 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_paragraph(request) ⇒ File
Renders paragraph to specified format.
11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11864 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_without_node_path(request) ⇒ File
Renders paragraph to specified format.
11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 11941 def render_paragraph_without_node_path(request) begin data, _status_code, _headers = render_paragraph_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = render_paragraph_without_node_path_with_http_info(request) else raise end end data end |
#render_table(request) ⇒ File
Renders table to specified format.
12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12015 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_without_node_path(request) ⇒ File
Renders table to specified format.
12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12092 def render_table_without_node_path(request) begin data, _status_code, _headers = render_table_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = render_table_without_node_path_with_http_info(request) else raise end end data end |
#replace_text(request) ⇒ ReplaceTextResponse
Replaces document text.
12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12166 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_with_text(request) ⇒ DocumentResponse
Replaces the content in the range.
12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12238 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 |
#reset_cache(request) ⇒ nil
Resets font’s cache.
12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12312 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 document to destination format with detailed settings and saves result to storage.
12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12370 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_range(request) ⇒ DocumentResponse
Saves the selected range as a new document.
12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12440 def 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_tiff(request) ⇒ SaveResponse
Converts document to tiff with detailed settings and saves result to storage.
12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12513 def save_as_tiff(request) begin data, _status_code, _headers = save_as_tiff_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = save_as_tiff_with_http_info(request) else raise end end data end |
#search(request) ⇒ SearchResponse
Searches text in document.
12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12600 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 |
#split_document(request) ⇒ SplitDocumentResponse
Splits document.
12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12670 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 |
#unprotect_document(request) ⇒ ProtectionDataResponse
Unprotects document.
12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12745 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 |
#update_bookmark(request) ⇒ BookmarkResponse
Updates document bookmark.
12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12815 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_border(request) ⇒ BorderResponse
‘nodePath’ should refer to paragraph, cell or row.
12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12890 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_comment(request) ⇒ CommentResponse
Updates the comment, returns updated comment data.
12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 12968 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_drawing_object(request) ⇒ DrawingObjectResponse
Updates drawing object, returns updated drawing object’s data.
13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13043 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_without_node_path(request) ⇒ DrawingObjectResponse
Updates drawing object, returns updated drawing object’s data.
13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13125 def update_drawing_object_without_node_path(request) begin data, _status_code, _headers = update_drawing_object_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = update_drawing_object_without_node_path_with_http_info(request) else raise end end data end |
#update_field(request) ⇒ FieldResponse
Updates field’s properties, returns updated field’s data.
13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13204 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_fields(request) ⇒ DocumentResponse
Updates (reevaluate) fields in document.
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_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_footnote(request) ⇒ FootnoteResponse
Updates footnote’s properties, returns updated run’s data.
13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13350 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_without_node_path(request) ⇒ FootnoteResponse
Updates footnote’s properties, returns updated run’s data.
13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13428 def update_footnote_without_node_path(request) begin data, _status_code, _headers = update_footnote_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = update_footnote_without_node_path_with_http_info(request) else raise end end data end |
#update_form_field(request) ⇒ FormFieldResponse
Updates properties of form field, returns updated form field.
13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13503 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_without_node_path(request) ⇒ FormFieldResponse
Updates properties of form field, returns updated form field.
13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13581 def update_form_field_without_node_path(request) begin data, _status_code, _headers = update_form_field_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = update_form_field_without_node_path_with_http_info(request) else raise end end data end |
#update_list(request) ⇒ ListResponse
Updates list properties, returns updated list.
13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13656 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 list level in document list, returns updated list.
13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13731 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_paragraph_format(request) ⇒ ParagraphFormatResponse
Updates paragraph format properties, returns updated format properties.
13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13809 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_list_format(request) ⇒ ParagraphListFormatResponse
Updates paragraph list format properties, returns updated list format properties.
13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13887 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_without_node_path(request) ⇒ ParagraphListFormatResponse
Updates paragraph list format properties, returns updated list format properties.
13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 13965 def update_paragraph_list_format_without_node_path(request) begin data, _status_code, _headers = update_paragraph_list_format_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = update_paragraph_list_format_without_node_path_with_http_info(request) else raise end end data end |
#update_run(request) ⇒ RunResponse
Updates run’s properties, returns updated run’s data.
14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14040 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 font properties, returns updated font data.
14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14118 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_section_page_setup(request) ⇒ SectionPageSetupResponse
Updates page setup of section.
14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14196 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_style(request) ⇒ StyleResponse
Updates style properties, returns an updated style.
14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14271 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_table_cell_format(request) ⇒ TableCellFormatResponse
Updates a table cell format.
14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14346 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_properties(request) ⇒ TablePropertiesResponse
Updates a table properties.
14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14424 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_without_node_path(request) ⇒ TablePropertiesResponse
Updates a table properties.
14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14502 def update_table_properties_without_node_path(request) begin data, _status_code, _headers = update_table_properties_without_node_path_with_http_info(request) rescue ApiError => e if e.code == 401 request_token data, _status_code, _headers = update_table_properties_without_node_path_with_http_info(request) else raise end end data end |
#update_table_row_format(request) ⇒ TableRowFormatResponse
Updates a table row format.
14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14577 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 |
#upload_file(request) ⇒ FilesUploadResult
Upload file.
14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 |
# File 'lib/aspose_words_cloud/api/words_api.rb', line 14655 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 |