aspose_words_cloud 23.8.0 → 23.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aspose_words_cloud/api/words_api.rb +28 -4
- data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/bookmark_insert.rb +14 -14
- data/lib/aspose_words_cloud/models/bookmark_response.rb +1 -0
- data/lib/aspose_words_cloud/models/bookmarks_response.rb +1 -0
- data/lib/aspose_words_cloud/models/border.rb +5 -0
- data/lib/aspose_words_cloud/models/border_response.rb +1 -0
- data/lib/aspose_words_cloud/models/borders_response.rb +1 -0
- data/lib/aspose_words_cloud/models/classification_response.rb +1 -0
- data/lib/aspose_words_cloud/models/comment.rb +3 -0
- data/lib/aspose_words_cloud/models/comment_insert.rb +15 -11
- data/lib/aspose_words_cloud/models/comment_response.rb +1 -0
- data/lib/aspose_words_cloud/models/comment_update.rb +15 -11
- data/lib/aspose_words_cloud/models/comments_response.rb +1 -0
- data/lib/aspose_words_cloud/models/csv_data_load_options.rb +5 -0
- data/lib/aspose_words_cloud/models/custom_xml_part.rb +2 -0
- data/lib/aspose_words_cloud/models/custom_xml_part_insert.rb +2 -0
- data/lib/aspose_words_cloud/models/custom_xml_part_response.rb +1 -0
- data/lib/aspose_words_cloud/models/custom_xml_part_update.rb +2 -0
- data/lib/aspose_words_cloud/models/custom_xml_parts_response.rb +1 -0
- data/lib/aspose_words_cloud/models/doc_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/docm_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/document_properties_response.rb +1 -0
- data/lib/aspose_words_cloud/models/document_property_response.rb +1 -0
- data/lib/aspose_words_cloud/models/docx_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/dot_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/dotm_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/dotx_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/downsample_options_data.rb +3 -0
- data/lib/aspose_words_cloud/models/drawing_object_insert.rb +21 -21
- data/lib/aspose_words_cloud/models/drawing_object_update.rb +18 -18
- data/lib/aspose_words_cloud/models/drawing_objects_response.rb +1 -0
- data/lib/aspose_words_cloud/models/emf_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/eps_save_options_data.rb +719 -0
- data/lib/aspose_words_cloud/models/epub_save_options_data.rb +16 -0
- data/lib/aspose_words_cloud/models/error.rb +4 -4
- data/lib/aspose_words_cloud/models/error_details.rb +2 -2
- data/lib/aspose_words_cloud/models/field_insert.rb +14 -14
- data/lib/aspose_words_cloud/models/field_names_response.rb +1 -0
- data/lib/aspose_words_cloud/models/field_options.rb +16 -16
- data/lib/aspose_words_cloud/models/field_response.rb +1 -0
- data/lib/aspose_words_cloud/models/field_update.rb +14 -14
- data/lib/aspose_words_cloud/models/fields_response.rb +1 -0
- data/lib/aspose_words_cloud/models/flat_opc_macro_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/flat_opc_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/flat_opc_template_macro_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/flat_opc_template_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/font.rb +4 -0
- data/lib/aspose_words_cloud/models/font_response.rb +1 -0
- data/lib/aspose_words_cloud/models/footnote.rb +2 -0
- data/lib/aspose_words_cloud/models/footnote_insert.rb +13 -11
- data/lib/aspose_words_cloud/models/footnote_response.rb +1 -0
- data/lib/aspose_words_cloud/models/footnote_update.rb +13 -11
- data/lib/aspose_words_cloud/models/footnotes_response.rb +1 -0
- data/lib/aspose_words_cloud/models/form_field_checkbox.rb +8 -0
- data/lib/aspose_words_cloud/models/form_field_drop_down.rb +9 -0
- data/lib/aspose_words_cloud/models/form_field_response.rb +1 -0
- data/lib/aspose_words_cloud/models/form_field_text_input.rb +10 -0
- data/lib/aspose_words_cloud/models/form_fields_response.rb +1 -0
- data/lib/aspose_words_cloud/models/gif_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/header_footer_response.rb +1 -0
- data/lib/aspose_words_cloud/models/header_footers_response.rb +1 -0
- data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +18 -0
- data/lib/aspose_words_cloud/models/html_save_options_data.rb +16 -0
- data/lib/aspose_words_cloud/models/hyperlink_response.rb +1 -0
- data/lib/aspose_words_cloud/models/hyperlinks_response.rb +1 -0
- data/lib/aspose_words_cloud/models/image_entry_list.rb +1 -0
- data/lib/aspose_words_cloud/models/info_response.rb +3 -3
- data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/json_data_load_options.rb +15 -0
- data/lib/aspose_words_cloud/models/list_format.rb +2 -0
- data/lib/aspose_words_cloud/models/list_format_update.rb +17 -14
- data/lib/aspose_words_cloud/models/list_info.rb +7 -0
- data/lib/aspose_words_cloud/models/list_insert.rb +1 -0
- data/lib/aspose_words_cloud/models/list_level.rb +11 -0
- data/lib/aspose_words_cloud/models/list_level_update.rb +72 -62
- data/lib/aspose_words_cloud/models/list_levels.rb +1 -0
- data/lib/aspose_words_cloud/models/list_response.rb +1 -0
- data/lib/aspose_words_cloud/models/list_update.rb +1 -0
- data/lib/aspose_words_cloud/models/lists_response.rb +1 -0
- data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +13 -12
- data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +17 -0
- data/lib/aspose_words_cloud/models/odt_save_options_data.rb +12 -0
- data/lib/aspose_words_cloud/models/office_math_object.rb +2 -0
- data/lib/aspose_words_cloud/models/office_math_object_response.rb +1 -0
- data/lib/aspose_words_cloud/models/office_math_objects_response.rb +1 -0
- data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/models/ott_save_options_data.rb +12 -0
- data/lib/aspose_words_cloud/models/outline_options_data.rb +17 -16
- data/lib/aspose_words_cloud/models/page_setup.rb +7 -0
- data/lib/aspose_words_cloud/models/paragraph_format.rb +7 -0
- data/lib/aspose_words_cloud/models/paragraph_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/paragraph_format_update.rb +7 -0
- data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +1 -0
- data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/paragraph_response.rb +1 -0
- data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +15 -0
- data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +29 -0
- data/lib/aspose_words_cloud/models/png_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/ps_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/models/range_text_response.rb +1 -0
- data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +1 -11
- data/lib/aspose_words_cloud/models/responses/accept_all_revisions_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/append_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/apply_style_to_document_element_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/compare_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/compress_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/copy_style_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/create_or_update_document_property_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_all_paragraph_tab_stops_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_border_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_borders_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_paragraph_list_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_paragraph_tab_stop_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/delete_watermark_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_bookmark_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_comment_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_custom_xml_part_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_drawing_object_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_footnote_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_form_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_header_footer_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_list_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_or_update_paragraph_tab_stop_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_page_numbers_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_paragraph_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_run_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_structured_document_tag_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_style_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_table_cell_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_table_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_table_row_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/insert_watermark_image_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/insert_watermark_text_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/protect_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/reject_all_revisions_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/remove_range_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/replace_text_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/replace_with_text_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/save_as_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/save_as_range_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/save_as_tiff_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/split_document_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/unprotect_document_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_bookmark_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_border_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_comment_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_custom_xml_part_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_drawing_object_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_fields_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_footnote_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_form_field_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_list_level_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_list_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_paragraph_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_paragraph_list_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_run_font_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_run_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_section_page_setup_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_structured_document_tag_online_response.rb +1 -1
- data/lib/aspose_words_cloud/models/responses/update_style_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_table_cell_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_table_properties_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/responses/update_table_row_format_online_response.rb +2 -1
- data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/run_response.rb +1 -0
- data/lib/aspose_words_cloud/models/runs_response.rb +1 -0
- data/lib/aspose_words_cloud/models/search_response.rb +1 -0
- data/lib/aspose_words_cloud/models/section_link_collection_response.rb +1 -0
- data/lib/aspose_words_cloud/models/section_page_setup_response.rb +1 -0
- data/lib/aspose_words_cloud/models/section_response.rb +1 -0
- data/lib/aspose_words_cloud/models/split_document_response.rb +1 -0
- data/lib/aspose_words_cloud/models/structured_document_tag.rb +30 -4
- data/lib/aspose_words_cloud/models/structured_document_tag_insert.rb +30 -4
- data/lib/aspose_words_cloud/models/structured_document_tag_list_item.rb +2 -0
- data/lib/aspose_words_cloud/models/structured_document_tag_update.rb +30 -4
- data/lib/aspose_words_cloud/models/structured_document_tags_response.rb +1 -0
- data/lib/aspose_words_cloud/models/style.rb +6 -0
- data/lib/aspose_words_cloud/models/style_response.rb +1 -0
- data/lib/aspose_words_cloud/models/style_update.rb +17 -14
- data/lib/aspose_words_cloud/models/styles_response.rb +1 -0
- data/lib/aspose_words_cloud/models/svg_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/models/tab_stops_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_cell_format.rb +3 -0
- data/lib/aspose_words_cloud/models/table_cell_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_cell_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_link_collection_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_properties.rb +3 -0
- data/lib/aspose_words_cloud/models/table_properties_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_row_format_response.rb +1 -0
- data/lib/aspose_words_cloud/models/table_row_response.rb +1 -0
- data/lib/aspose_words_cloud/models/text_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +39 -1
- data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +15 -0
- data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +11 -0
- data/lib/aspose_words_cloud/models/xml_color.rb +20 -4
- data/lib/aspose_words_cloud/models/xml_data_load_options.rb +2 -0
- data/lib/aspose_words_cloud/models/xps_save_options_data.rb +13 -0
- data/lib/aspose_words_cloud/version.rb +1 -1
- data/lib/aspose_words_cloud.rb +1 -9
- metadata +3 -11
- data/lib/aspose_words_cloud/models/font_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/range_document_dto.rb +0 -208
- data/lib/aspose_words_cloud/models/replace_range_dto.rb +0 -259
- data/lib/aspose_words_cloud/models/table_cell_format_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/table_cell_insert_dto.rb +0 -208
- data/lib/aspose_words_cloud/models/table_insert_dto.rb +0 -228
- data/lib/aspose_words_cloud/models/table_properties_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/table_row_format_dto.rb +0 -199
- data/lib/aspose_words_cloud/models/table_row_insert_dto.rb +0 -218
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a8fa019593691f5a5536d33c862fa007c390c69a00799779e12e5cb6f18ee01
|
4
|
+
data.tar.gz: f8d9cc0e2eaadca84129b480e5993e98a2431a4c295b8e9d1d224aeb26939d02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae4eecb3882af86845329fd14396f39fde79c651ee13e858222acc4e35263b934699719704340b0d821e616f06c9ba529bf2207505adaf89cc1fc0695fde54ac
|
7
|
+
data.tar.gz: 07fdf508cd71760bb1475383144ffc8431e4214bcb6bfab9fb13a2c9b10f6458a3f8962f0fa974cf1d0208f035caad805c51e4d794fd53022c87f2c1306cc20c
|
@@ -626,6 +626,7 @@ module AsposeWordsCloud
|
|
626
626
|
[mp_data, status_code, headers]
|
627
627
|
end
|
628
628
|
|
629
|
+
# Compress and resize images inside the document.
|
629
630
|
# The default settings allows to reduce the size of the document without any visible degradation of images quality.
|
630
631
|
# @param request CompressDocumentRequest
|
631
632
|
# @return [CompressResponse]
|
@@ -643,6 +644,7 @@ module AsposeWordsCloud
|
|
643
644
|
data
|
644
645
|
end
|
645
646
|
|
647
|
+
# Compress and resize images inside the document.
|
646
648
|
# The default settings allows to reduce the size of the document without any visible degradation of images quality.
|
647
649
|
# @param request CompressDocumentRequest
|
648
650
|
# @return [Array<(CompressResponse, Fixnum, Hash)>]
|
@@ -669,6 +671,7 @@ module AsposeWordsCloud
|
|
669
671
|
end
|
670
672
|
|
671
673
|
# Compress and resize images inside the document.
|
674
|
+
# The default settings allows to reduce the size of the document without any visible degradation of images quality.
|
672
675
|
# @param request CompressDocumentOnlineRequest
|
673
676
|
# @return [CompressDocumentOnlineResponse]
|
674
677
|
def compress_document_online(request)
|
@@ -686,6 +689,7 @@ module AsposeWordsCloud
|
|
686
689
|
end
|
687
690
|
|
688
691
|
# Compress and resize images inside the document.
|
692
|
+
# The default settings allows to reduce the size of the document without any visible degradation of images quality.
|
689
693
|
# @param request CompressDocumentOnlineRequest
|
690
694
|
# @return [Array<(CompressDocumentOnlineResponse, Fixnum, Hash)>]
|
691
695
|
# CompressDocumentOnlineResponse, response status code and response headers
|
@@ -968,6 +972,7 @@ module AsposeWordsCloud
|
|
968
972
|
[data, status_code, headers]
|
969
973
|
end
|
970
974
|
|
975
|
+
# Creates a new document in cloud storage in the format, determined by the file extension.
|
971
976
|
# Supported all save format extensions.
|
972
977
|
# @param request CreateDocumentRequest
|
973
978
|
# @return [DocumentResponse]
|
@@ -985,6 +990,7 @@ module AsposeWordsCloud
|
|
985
990
|
data
|
986
991
|
end
|
987
992
|
|
993
|
+
# Creates a new document in cloud storage in the format, determined by the file extension.
|
988
994
|
# Supported all save format extensions.
|
989
995
|
# @param request CreateDocumentRequest
|
990
996
|
# @return [Array<(DocumentResponse, Fixnum, Hash)>]
|
@@ -1395,6 +1401,7 @@ module AsposeWordsCloud
|
|
1395
1401
|
[data, status_code, headers]
|
1396
1402
|
end
|
1397
1403
|
|
1404
|
+
# Removes a border from the document node.
|
1398
1405
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1399
1406
|
# @param request DeleteBorderRequest
|
1400
1407
|
# @return [BorderResponse]
|
@@ -1412,6 +1419,7 @@ module AsposeWordsCloud
|
|
1412
1419
|
data
|
1413
1420
|
end
|
1414
1421
|
|
1422
|
+
# Removes a border from the document node.
|
1415
1423
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1416
1424
|
# @param request DeleteBorderRequest
|
1417
1425
|
# @return [Array<(BorderResponse, Fixnum, Hash)>]
|
@@ -1438,6 +1446,7 @@ module AsposeWordsCloud
|
|
1438
1446
|
end
|
1439
1447
|
|
1440
1448
|
# Removes a border from the document node.
|
1449
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1441
1450
|
# @param request DeleteBorderOnlineRequest
|
1442
1451
|
# @return [DeleteBorderOnlineResponse]
|
1443
1452
|
def delete_border_online(request)
|
@@ -1455,6 +1464,7 @@ module AsposeWordsCloud
|
|
1455
1464
|
end
|
1456
1465
|
|
1457
1466
|
# Removes a border from the document node.
|
1467
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1458
1468
|
# @param request DeleteBorderOnlineRequest
|
1459
1469
|
# @return [Array<(DeleteBorderOnlineResponse, Fixnum, Hash)>]
|
1460
1470
|
# DeleteBorderOnlineResponse, response status code and response headers
|
@@ -1483,6 +1493,7 @@ module AsposeWordsCloud
|
|
1483
1493
|
[mp_data, status_code, headers]
|
1484
1494
|
end
|
1485
1495
|
|
1496
|
+
# Removes borders from the document node.
|
1486
1497
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1487
1498
|
# @param request DeleteBordersRequest
|
1488
1499
|
# @return [BordersResponse]
|
@@ -1500,6 +1511,7 @@ module AsposeWordsCloud
|
|
1500
1511
|
data
|
1501
1512
|
end
|
1502
1513
|
|
1514
|
+
# Removes borders from the document node.
|
1503
1515
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1504
1516
|
# @param request DeleteBordersRequest
|
1505
1517
|
# @return [Array<(BordersResponse, Fixnum, Hash)>]
|
@@ -1526,6 +1538,7 @@ module AsposeWordsCloud
|
|
1526
1538
|
end
|
1527
1539
|
|
1528
1540
|
# Removes borders from the document node.
|
1541
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1529
1542
|
# @param request DeleteBordersOnlineRequest
|
1530
1543
|
# @return [DeleteBordersOnlineResponse]
|
1531
1544
|
def delete_borders_online(request)
|
@@ -1543,6 +1556,7 @@ module AsposeWordsCloud
|
|
1543
1556
|
end
|
1544
1557
|
|
1545
1558
|
# Removes borders from the document node.
|
1559
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
1546
1560
|
# @param request DeleteBordersOnlineRequest
|
1547
1561
|
# @return [Array<(DeleteBordersOnlineResponse, Fixnum, Hash)>]
|
1548
1562
|
# DeleteBordersOnlineResponse, response status code and response headers
|
@@ -4017,6 +4031,7 @@ module AsposeWordsCloud
|
|
4017
4031
|
[data, status_code, headers]
|
4018
4032
|
end
|
4019
4033
|
|
4034
|
+
# Reads a border from the document node.
|
4020
4035
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
4021
4036
|
# @param request GetBorderRequest
|
4022
4037
|
# @return [BorderResponse]
|
@@ -4034,6 +4049,7 @@ module AsposeWordsCloud
|
|
4034
4049
|
data
|
4035
4050
|
end
|
4036
4051
|
|
4052
|
+
# Reads a border from the document node.
|
4037
4053
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
4038
4054
|
# @param request GetBorderRequest
|
4039
4055
|
# @return [Array<(BorderResponse, Fixnum, Hash)>]
|
@@ -4060,6 +4076,7 @@ module AsposeWordsCloud
|
|
4060
4076
|
end
|
4061
4077
|
|
4062
4078
|
# Reads a border from the document node.
|
4079
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
4063
4080
|
# @param request GetBorderOnlineRequest
|
4064
4081
|
# @return [BorderResponse]
|
4065
4082
|
def get_border_online(request)
|
@@ -4077,6 +4094,7 @@ module AsposeWordsCloud
|
|
4077
4094
|
end
|
4078
4095
|
|
4079
4096
|
# Reads a border from the document node.
|
4097
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
4080
4098
|
# @param request GetBorderOnlineRequest
|
4081
4099
|
# @return [Array<(BorderResponse, Fixnum, Hash)>]
|
4082
4100
|
# BorderResponse, response status code and response headers
|
@@ -11799,7 +11817,7 @@ module AsposeWordsCloud
|
|
11799
11817
|
[data, status_code, headers]
|
11800
11818
|
end
|
11801
11819
|
|
11802
|
-
# Converts a document to the specified format.
|
11820
|
+
# Converts a document in cloud storage to the specified format.
|
11803
11821
|
# @param request SaveAsOnlineRequest
|
11804
11822
|
# @return [SaveAsOnlineResponse]
|
11805
11823
|
def save_as_online(request)
|
@@ -11816,7 +11834,7 @@ module AsposeWordsCloud
|
|
11816
11834
|
data
|
11817
11835
|
end
|
11818
11836
|
|
11819
|
-
# Converts a document to the specified format.
|
11837
|
+
# Converts a document in cloud storage to the specified format.
|
11820
11838
|
# @param request SaveAsOnlineRequest
|
11821
11839
|
# @return [Array<(SaveAsOnlineResponse, Fixnum, Hash)>]
|
11822
11840
|
# SaveAsOnlineResponse, response status code and response headers
|
@@ -11937,6 +11955,7 @@ module AsposeWordsCloud
|
|
11937
11955
|
# @param request SaveAsTiffRequest
|
11938
11956
|
# @return [SaveResponse]
|
11939
11957
|
def save_as_tiff(request)
|
11958
|
+
warn "This operation will be removed in the future."
|
11940
11959
|
begin
|
11941
11960
|
data, _status_code, _headers = save_as_tiff_with_http_info(request)
|
11942
11961
|
rescue ApiError => e
|
@@ -11975,10 +11994,11 @@ module AsposeWordsCloud
|
|
11975
11994
|
[data, status_code, headers]
|
11976
11995
|
end
|
11977
11996
|
|
11978
|
-
# Converts a document to TIFF format using detailed conversion settings.
|
11997
|
+
# Converts a document in cloud storage to TIFF format using detailed conversion settings.
|
11979
11998
|
# @param request SaveAsTiffOnlineRequest
|
11980
11999
|
# @return [SaveAsTiffOnlineResponse]
|
11981
12000
|
def save_as_tiff_online(request)
|
12001
|
+
warn "This operation will be removed in the future."
|
11982
12002
|
begin
|
11983
12003
|
data, _status_code, _headers = save_as_tiff_online_with_http_info(request)
|
11984
12004
|
rescue ApiError => e
|
@@ -11992,7 +12012,7 @@ module AsposeWordsCloud
|
|
11992
12012
|
data
|
11993
12013
|
end
|
11994
12014
|
|
11995
|
-
# Converts a document to TIFF format using detailed conversion settings.
|
12015
|
+
# Converts a document in cloud storage to TIFF format using detailed conversion settings.
|
11996
12016
|
# @param request SaveAsTiffOnlineRequest
|
11997
12017
|
# @return [Array<(SaveAsTiffOnlineResponse, Fixnum, Hash)>]
|
11998
12018
|
# SaveAsTiffOnlineResponse, response status code and response headers
|
@@ -12369,6 +12389,7 @@ module AsposeWordsCloud
|
|
12369
12389
|
[mp_data, status_code, headers]
|
12370
12390
|
end
|
12371
12391
|
|
12392
|
+
# Updates a border in the document node.
|
12372
12393
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
12373
12394
|
# @param request UpdateBorderRequest
|
12374
12395
|
# @return [BorderResponse]
|
@@ -12386,6 +12407,7 @@ module AsposeWordsCloud
|
|
12386
12407
|
data
|
12387
12408
|
end
|
12388
12409
|
|
12410
|
+
# Updates a border in the document node.
|
12389
12411
|
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
12390
12412
|
# @param request UpdateBorderRequest
|
12391
12413
|
# @return [Array<(BorderResponse, Fixnum, Hash)>]
|
@@ -12412,6 +12434,7 @@ module AsposeWordsCloud
|
|
12412
12434
|
end
|
12413
12435
|
|
12414
12436
|
# Updates a border in the document node.
|
12437
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
12415
12438
|
# @param request UpdateBorderOnlineRequest
|
12416
12439
|
# @return [UpdateBorderOnlineResponse]
|
12417
12440
|
def update_border_online(request)
|
@@ -12429,6 +12452,7 @@ module AsposeWordsCloud
|
|
12429
12452
|
end
|
12430
12453
|
|
12431
12454
|
# Updates a border in the document node.
|
12455
|
+
# The 'nodePath' parameter should refer to a paragraph, a cell or a row.
|
12432
12456
|
# @param request UpdateBorderOnlineRequest
|
12433
12457
|
# @return [Array<(UpdateBorderOnlineResponse, Fixnum, Hash)>]
|
12434
12458
|
# UpdateBorderOnlineResponse, response status code and response headers
|
@@ -30,25 +30,34 @@ module AsposeWordsCloud
|
|
30
30
|
# Container class for bmp save options.
|
31
31
|
class BmpSaveOptionsData
|
32
32
|
# Gets or sets a boolean value indicating whether to allow embedding fonts with PostScript outlines when embedding TrueType fonts in a document upon it is saved. The default value is false..
|
33
|
+
# Note, Word does not embed PostScript fonts, but can open documents with embedded fonts of this type.
|
34
|
+
# This option only works when Aspose.Words.Fonts.FontInfoCollection.EmbedTrueTypeFonts of the Aspose.Words.DocumentBase.FontInfos property is set to true.
|
35
|
+
# The default value is false.
|
33
36
|
attr_accessor :allow_embedding_post_script_fonts
|
34
37
|
|
35
38
|
# Gets or sets CustomTimeZoneInfo.
|
36
39
|
attr_accessor :custom_time_zone_info_data
|
37
40
|
|
38
41
|
# Gets or sets the value determining how 3D effects are rendered.
|
42
|
+
# The default value is Aspose.Words.Saving.Dml3DEffectsRenderingMode.Basic.
|
39
43
|
attr_accessor :dml3_d_effects_rendering_mode
|
40
44
|
|
41
45
|
# Gets or sets the value determining how DrawingML effects are rendered.
|
42
46
|
# { Simplified | None | Fine }.
|
47
|
+
# The default value is Simplified.
|
48
|
+
# This property is used when the document is exported to fixed page formats.
|
43
49
|
attr_accessor :dml_effects_rendering_mode
|
44
50
|
|
45
51
|
# Gets or sets the option that controls how DrawingML shapes are rendered.
|
52
|
+
# { Fallback | DrawingML }. The default value is Fallback.
|
53
|
+
# This property is used when the document is exported to fixed page formats.
|
46
54
|
attr_accessor :dml_rendering_mode
|
47
55
|
|
48
56
|
# Gets or sets the name of destination file.
|
49
57
|
attr_accessor :file_name
|
50
58
|
|
51
59
|
# Gets or sets the value determining how ink (InkML) objects are rendered.
|
60
|
+
# The default value is Aspose.Words.Saving.ImlRenderingMode.InkML.
|
52
61
|
attr_accessor :iml_rendering_mode
|
53
62
|
|
54
63
|
# Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
|
@@ -62,14 +71,18 @@ module AsposeWordsCloud
|
|
62
71
|
attr_accessor :update_last_printed_property
|
63
72
|
|
64
73
|
# Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving.
|
74
|
+
# The default value is false.
|
65
75
|
attr_accessor :update_last_saved_time_property
|
66
76
|
|
67
77
|
# Gets or sets a value indicating whether to zip output or not.
|
68
78
|
# The default value is false.
|
79
|
+
# When set to true, output files will be zipped.
|
69
80
|
attr_accessor :zip_output
|
70
81
|
|
71
82
|
# Gets or sets the value determining how colors are rendered.
|
72
83
|
# { Normal | Grayscale}.
|
84
|
+
# The default value is Normal.
|
85
|
+
# This property is used when the document is exported to fixed page formats.
|
73
86
|
attr_accessor :color_mode
|
74
87
|
|
75
88
|
# Gets or sets the quality of the JPEG images inside PDF document.
|
@@ -131,7 +144,18 @@ module AsposeWordsCloud
|
|
131
144
|
# The default value is 96.
|
132
145
|
attr_accessor :vertical_resolution
|
133
146
|
|
147
|
+
# Gets or sets the height of a generated image in pixels.
|
148
|
+
# This property has effect only when saving to raster image formats
|
149
|
+
# and used in pair with ImageWidth.
|
150
|
+
attr_accessor :image_height
|
151
|
+
|
152
|
+
# Gets or sets the width of a generated image in pixels.
|
153
|
+
# This property has effect only when saving to raster image formats
|
154
|
+
# and used in pair with ImageHeight.
|
155
|
+
attr_accessor :image_width
|
156
|
+
|
134
157
|
# Gets or sets a value indicating whether to use GDI+ or Aspose.Words metafile renderer when saving to EMF.
|
158
|
+
# If set to true - GDI+ metafile renderer is used. I.e. content is written to GDI+ graphics object and saved to metafile.If set to false - Aspose.Words metafile renderer is used. I.e. content is written directly to the metafile format with Aspose.Words.The default value is true.Has effect only when saving to EMF.
|
135
159
|
attr_accessor :use_gdi_emf_renderer
|
136
160
|
|
137
161
|
# Gets the format of save.
|
@@ -192,6 +216,8 @@ module AsposeWordsCloud
|
|
192
216
|
:'use_anti_aliasing' => :'UseAntiAliasing',
|
193
217
|
:'use_high_quality_rendering' => :'UseHighQualityRendering',
|
194
218
|
:'vertical_resolution' => :'VerticalResolution',
|
219
|
+
:'image_height' => :'ImageHeight',
|
220
|
+
:'image_width' => :'ImageWidth',
|
195
221
|
:'use_gdi_emf_renderer' => :'UseGdiEmfRenderer',
|
196
222
|
:'save_format' => :'SaveFormat'
|
197
223
|
}
|
@@ -230,6 +256,8 @@ module AsposeWordsCloud
|
|
230
256
|
:'use_anti_aliasing' => :'BOOLEAN',
|
231
257
|
:'use_high_quality_rendering' => :'BOOLEAN',
|
232
258
|
:'vertical_resolution' => :'Float',
|
259
|
+
:'image_height' => :'Integer',
|
260
|
+
:'image_width' => :'Integer',
|
233
261
|
:'use_gdi_emf_renderer' => :'BOOLEAN',
|
234
262
|
:'save_format' => :'String'
|
235
263
|
}
|
@@ -365,6 +393,14 @@ module AsposeWordsCloud
|
|
365
393
|
self.vertical_resolution = attributes[:'VerticalResolution']
|
366
394
|
end
|
367
395
|
|
396
|
+
if attributes.key?(:'ImageHeight')
|
397
|
+
self.image_height = attributes[:'ImageHeight']
|
398
|
+
end
|
399
|
+
|
400
|
+
if attributes.key?(:'ImageWidth')
|
401
|
+
self.image_width = attributes[:'ImageWidth']
|
402
|
+
end
|
403
|
+
|
368
404
|
if attributes.key?(:'UseGdiEmfRenderer')
|
369
405
|
self.use_gdi_emf_renderer = attributes[:'UseGdiEmfRenderer']
|
370
406
|
end
|
@@ -548,6 +584,8 @@ module AsposeWordsCloud
|
|
548
584
|
use_anti_aliasing == other.use_anti_aliasing &&
|
549
585
|
use_high_quality_rendering == other.use_high_quality_rendering &&
|
550
586
|
vertical_resolution == other.vertical_resolution &&
|
587
|
+
image_height == other.image_height &&
|
588
|
+
image_width == other.image_width &&
|
551
589
|
use_gdi_emf_renderer == other.use_gdi_emf_renderer &&
|
552
590
|
save_format == other.save_format
|
553
591
|
end
|
@@ -561,7 +599,7 @@ module AsposeWordsCloud
|
|
561
599
|
# Calculates hash code according to all attributes.
|
562
600
|
# @return [Fixnum] Hash code
|
563
601
|
def hash
|
564
|
-
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_high_quality_rendering, vertical_resolution, use_gdi_emf_renderer, save_format].hash
|
602
|
+
[allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_high_quality_rendering, vertical_resolution, image_height, image_width, use_gdi_emf_renderer, save_format].hash
|
565
603
|
end
|
566
604
|
|
567
605
|
# Builds the object from hash
|
@@ -35,18 +35,18 @@ module AsposeWordsCloud
|
|
35
35
|
# Gets or sets text, enclosed in the bookmark.
|
36
36
|
attr_accessor :text
|
37
37
|
|
38
|
-
# Gets or sets the link to end bookmark node.
|
39
|
-
attr_accessor :end_range
|
40
|
-
|
41
38
|
# Gets or sets the link to start bookmark node.
|
42
39
|
attr_accessor :start_range
|
40
|
+
|
41
|
+
# Gets or sets the link to end bookmark node.
|
42
|
+
attr_accessor :end_range
|
43
43
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
44
|
def self.attribute_map
|
45
45
|
{
|
46
46
|
:'name' => :'Name',
|
47
47
|
:'text' => :'Text',
|
48
|
-
:'
|
49
|
-
:'
|
48
|
+
:'start_range' => :'StartRange',
|
49
|
+
:'end_range' => :'EndRange'
|
50
50
|
}
|
51
51
|
end
|
52
52
|
|
@@ -55,8 +55,8 @@ module AsposeWordsCloud
|
|
55
55
|
{
|
56
56
|
:'name' => :'String',
|
57
57
|
:'text' => :'String',
|
58
|
-
:'
|
59
|
-
:'
|
58
|
+
:'start_range' => :'NewDocumentPosition',
|
59
|
+
:'end_range' => :'NewDocumentPosition'
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
@@ -76,13 +76,13 @@ module AsposeWordsCloud
|
|
76
76
|
self.text = attributes[:'Text']
|
77
77
|
end
|
78
78
|
|
79
|
-
if attributes.key?(:'EndRange')
|
80
|
-
self.end_range = attributes[:'EndRange']
|
81
|
-
end
|
82
|
-
|
83
79
|
if attributes.key?(:'StartRange')
|
84
80
|
self.start_range = attributes[:'StartRange']
|
85
81
|
end
|
82
|
+
|
83
|
+
if attributes.key?(:'EndRange')
|
84
|
+
self.end_range = attributes[:'EndRange']
|
85
|
+
end
|
86
86
|
end
|
87
87
|
|
88
88
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -105,8 +105,8 @@ module AsposeWordsCloud
|
|
105
105
|
self.class == other.class &&
|
106
106
|
name == other.name &&
|
107
107
|
text == other.text &&
|
108
|
-
|
109
|
-
|
108
|
+
start_range == other.start_range &&
|
109
|
+
end_range == other.end_range
|
110
110
|
end
|
111
111
|
|
112
112
|
# @see the `==` method
|
@@ -118,7 +118,7 @@ module AsposeWordsCloud
|
|
118
118
|
# Calculates hash code according to all attributes.
|
119
119
|
# @return [Fixnum] Hash code
|
120
120
|
def hash
|
121
|
-
[name, text,
|
121
|
+
[name, text, start_range, end_range].hash
|
122
122
|
end
|
123
123
|
|
124
124
|
# Builds the object from hash
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# The REST response with a bookmark.
|
31
|
+
# This response should be returned by the service when handling: GET bookmarks/{bookmarkName}.
|
31
32
|
class BookmarkResponse
|
32
33
|
# Gets or sets the request Id.
|
33
34
|
attr_accessor :request_id
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# The REST response with a collection of bookmarks.
|
31
|
+
# This response should be returned by the service when handling: GET bookmarks.
|
31
32
|
class BookmarksResponse
|
32
33
|
# Gets or sets the request Id.
|
33
34
|
attr_accessor :request_id
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# Represents a border of an object.
|
31
|
+
# Borders can be applied to various document elements including paragraph, run of text inside a paragraph or a table cell.
|
31
32
|
class Border
|
32
33
|
# Gets or sets the link to the document.
|
33
34
|
attr_accessor :link
|
@@ -39,15 +40,19 @@ module AsposeWordsCloud
|
|
39
40
|
attr_accessor :color
|
40
41
|
|
41
42
|
# Gets or sets the distance of the border from text or from the page edge in points.
|
43
|
+
# Has no effect and will be automatically reset to zero for borders of table cells.
|
42
44
|
attr_accessor :distance_from_text
|
43
45
|
|
44
46
|
# Gets or sets the border style.
|
47
|
+
# If you set line style to none, then line width is automatically changed to zero.
|
45
48
|
attr_accessor :line_style
|
46
49
|
|
47
50
|
# Gets or sets the border width in points.
|
51
|
+
# If you set line width greater than zero when line style is none, the line style is automatically changed to single line.
|
48
52
|
attr_accessor :line_width
|
49
53
|
|
50
54
|
# Gets or sets a value indicating whether the border has a shadow.
|
55
|
+
# In Microsoft Word, for a border to have a shadow, the borders on all four sides (left, top, right and bottom) should be of the same type, width, color and all should have the Shadow property set to true.
|
51
56
|
attr_accessor :shadow
|
52
57
|
|
53
58
|
class EnumAttributeValidator
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# The REST response with a border.
|
31
|
+
# This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests.
|
31
32
|
class BorderResponse
|
32
33
|
# Gets or sets the request Id.
|
33
34
|
attr_accessor :request_id
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# The REST response with a collection of borders.
|
31
|
+
# This response is returned by the Service when handling "GET {nodeWithBorders}/borders" REST API requests.
|
31
32
|
class BordersResponse
|
32
33
|
# Gets or sets the request Id.
|
33
34
|
attr_accessor :request_id
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# The REST response with data on multi-class text classification.
|
31
|
+
# This response is returned by the Service when handling "PUT https://api.aspose.cloud/v4.0/words/classify" REST API requests.
|
31
32
|
class ClassificationResponse
|
32
33
|
# Gets or sets the request Id.
|
33
34
|
attr_accessor :request_id
|
@@ -39,15 +39,18 @@ module AsposeWordsCloud
|
|
39
39
|
attr_accessor :range_end
|
40
40
|
|
41
41
|
# Gets or sets the author name for a comment.
|
42
|
+
# Cannot be null.Default is empty string.
|
42
43
|
attr_accessor :author
|
43
44
|
|
44
45
|
# Gets or sets the initials of the user associated with a specific comment.
|
46
|
+
# Cannot be null.Default is empty string.
|
45
47
|
attr_accessor :initial
|
46
48
|
|
47
49
|
# Gets or sets the date and time that the comment was made.
|
48
50
|
attr_accessor :date_time
|
49
51
|
|
50
52
|
# Gets or sets text of the comment.
|
53
|
+
# This method allows to quickly set text of a comment from a string. The string can contain paragraph breaks, this will create paragraphs of text in the comment accordingly.
|
51
54
|
attr_accessor :text
|
52
55
|
|
53
56
|
# Gets or sets the content of the comment.
|
@@ -36,15 +36,19 @@ module AsposeWordsCloud
|
|
36
36
|
attr_accessor :range_end
|
37
37
|
|
38
38
|
# Gets or sets the author name for a comment.
|
39
|
+
# Cannot be null.Default is empty string.
|
39
40
|
attr_accessor :author
|
40
41
|
|
41
|
-
# Gets or sets the date and time that the comment was made.
|
42
|
-
attr_accessor :date_time
|
43
|
-
|
44
42
|
# Gets or sets the initials of the user associated with a specific comment.
|
43
|
+
# Cannot be null.Default is empty string.
|
45
44
|
attr_accessor :initial
|
46
45
|
|
46
|
+
# Gets or sets the date and time that the comment was made.
|
47
|
+
# Default is MinValue03.01.0001.
|
48
|
+
attr_accessor :date_time
|
49
|
+
|
47
50
|
# Gets or sets text of the comment.
|
51
|
+
# This method allows to quickly set text of a comment from a string. The string can contain paragraph breaks, this will create paragraphs of text in the comment accordingly.
|
48
52
|
attr_accessor :text
|
49
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
50
54
|
def self.attribute_map
|
@@ -52,8 +56,8 @@ module AsposeWordsCloud
|
|
52
56
|
:'range_start' => :'RangeStart',
|
53
57
|
:'range_end' => :'RangeEnd',
|
54
58
|
:'author' => :'Author',
|
55
|
-
:'date_time' => :'DateTime',
|
56
59
|
:'initial' => :'Initial',
|
60
|
+
:'date_time' => :'DateTime',
|
57
61
|
:'text' => :'Text'
|
58
62
|
}
|
59
63
|
end
|
@@ -64,8 +68,8 @@ module AsposeWordsCloud
|
|
64
68
|
:'range_start' => :'NewDocumentPosition',
|
65
69
|
:'range_end' => :'NewDocumentPosition',
|
66
70
|
:'author' => :'String',
|
67
|
-
:'date_time' => :'DateTime',
|
68
71
|
:'initial' => :'String',
|
72
|
+
:'date_time' => :'DateTime',
|
69
73
|
:'text' => :'String'
|
70
74
|
}
|
71
75
|
end
|
@@ -90,14 +94,14 @@ module AsposeWordsCloud
|
|
90
94
|
self.author = attributes[:'Author']
|
91
95
|
end
|
92
96
|
|
93
|
-
if attributes.key?(:'DateTime')
|
94
|
-
self.date_time = attributes[:'DateTime']
|
95
|
-
end
|
96
|
-
|
97
97
|
if attributes.key?(:'Initial')
|
98
98
|
self.initial = attributes[:'Initial']
|
99
99
|
end
|
100
100
|
|
101
|
+
if attributes.key?(:'DateTime')
|
102
|
+
self.date_time = attributes[:'DateTime']
|
103
|
+
end
|
104
|
+
|
101
105
|
if attributes.key?(:'Text')
|
102
106
|
self.text = attributes[:'Text']
|
103
107
|
end
|
@@ -124,8 +128,8 @@ module AsposeWordsCloud
|
|
124
128
|
range_start == other.range_start &&
|
125
129
|
range_end == other.range_end &&
|
126
130
|
author == other.author &&
|
127
|
-
date_time == other.date_time &&
|
128
131
|
initial == other.initial &&
|
132
|
+
date_time == other.date_time &&
|
129
133
|
text == other.text
|
130
134
|
end
|
131
135
|
|
@@ -138,7 +142,7 @@ module AsposeWordsCloud
|
|
138
142
|
# Calculates hash code according to all attributes.
|
139
143
|
# @return [Fixnum] Hash code
|
140
144
|
def hash
|
141
|
-
[range_start, range_end, author,
|
145
|
+
[range_start, range_end, author, initial, date_time, text].hash
|
142
146
|
end
|
143
147
|
|
144
148
|
# Builds the object from hash
|
@@ -28,6 +28,7 @@ require 'date'
|
|
28
28
|
module AsposeWordsCloud
|
29
29
|
|
30
30
|
# The REST response with a comment.
|
31
|
+
# This response is returned by the Service when handling "GET https://api.aspose.cloud/v4.0/words/Test.doc/comments/0" REST API requests.
|
31
32
|
class CommentResponse
|
32
33
|
# Gets or sets the request Id.
|
33
34
|
attr_accessor :request_id
|