aspose_words_cloud 20.7.0 → 21.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (605) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +146 -48
  3. data/lib/aspose_words_cloud/api/words_api.rb +11676 -4761
  4. data/lib/aspose_words_cloud/api_client.rb +60 -17
  5. data/lib/aspose_words_cloud/api_error.rb +1 -1
  6. data/lib/aspose_words_cloud/configuration.rb +13 -13
  7. data/lib/aspose_words_cloud/models/available_fonts_response.rb +6 -6
  8. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +33 -36
  9. data/lib/aspose_words_cloud/models/bookmark.rb +3 -3
  10. data/lib/aspose_words_cloud/models/bookmark_data.rb +2 -2
  11. data/lib/aspose_words_cloud/models/bookmark_response.rb +4 -4
  12. data/lib/aspose_words_cloud/models/bookmarks.rb +3 -3
  13. data/lib/aspose_words_cloud/models/bookmarks_outline_level_data.rb +4 -4
  14. data/lib/aspose_words_cloud/models/bookmarks_response.rb +4 -4
  15. data/lib/aspose_words_cloud/models/border.rb +3 -3
  16. data/lib/aspose_words_cloud/models/border_response.rb +4 -5
  17. data/lib/aspose_words_cloud/models/borders_collection.rb +4 -4
  18. data/lib/aspose_words_cloud/models/borders_response.rb +4 -5
  19. data/lib/aspose_words_cloud/models/classification_response.rb +6 -7
  20. data/lib/aspose_words_cloud/models/classification_result.rb +1 -1
  21. data/lib/aspose_words_cloud/models/comment.rb +9 -9
  22. data/lib/aspose_words_cloud/models/comment_base.rb +6 -6
  23. data/lib/aspose_words_cloud/models/comment_insert.rb +6 -6
  24. data/lib/aspose_words_cloud/models/comment_link.rb +2 -2
  25. data/lib/aspose_words_cloud/models/comment_response.rb +4 -5
  26. data/lib/aspose_words_cloud/models/comment_update.rb +6 -6
  27. data/lib/aspose_words_cloud/models/comments_collection.rb +4 -4
  28. data/lib/aspose_words_cloud/models/comments_response.rb +4 -5
  29. data/lib/aspose_words_cloud/models/compare_data.rb +3 -3
  30. data/lib/aspose_words_cloud/models/compare_options.rb +11 -18
  31. data/lib/aspose_words_cloud/models/csv_data_load_options.rb +1 -1
  32. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +19 -22
  33. data/lib/aspose_words_cloud/models/document.rb +5 -6
  34. data/lib/aspose_words_cloud/models/document_entry.rb +3 -3
  35. data/lib/aspose_words_cloud/models/document_entry_list.rb +13 -3
  36. data/lib/aspose_words_cloud/models/document_position.rb +4 -4
  37. data/lib/aspose_words_cloud/models/document_properties.rb +4 -4
  38. data/lib/aspose_words_cloud/models/document_properties_response.rb +4 -4
  39. data/lib/aspose_words_cloud/models/document_property.rb +5 -5
  40. data/lib/aspose_words_cloud/models/document_property_base.rb +2 -2
  41. data/lib/aspose_words_cloud/models/document_property_create_or_update.rb +2 -2
  42. data/lib/aspose_words_cloud/models/document_property_response.rb +4 -4
  43. data/lib/aspose_words_cloud/models/document_response.rb +4 -4
  44. data/lib/aspose_words_cloud/models/document_stat_data.rb +6 -6
  45. data/lib/aspose_words_cloud/models/downsample_options_data.rb +4 -7
  46. data/lib/aspose_words_cloud/models/drawing_object.rb +14 -14
  47. data/lib/aspose_words_cloud/models/drawing_object_collection.rb +4 -4
  48. data/lib/aspose_words_cloud/models/drawing_object_insert.rb +9 -9
  49. data/lib/aspose_words_cloud/models/drawing_object_link.rb +3 -3
  50. data/lib/aspose_words_cloud/models/drawing_object_response.rb +4 -4
  51. data/lib/aspose_words_cloud/models/drawing_object_update.rb +8 -8
  52. data/lib/aspose_words_cloud/models/drawing_objects_response.rb +4 -4
  53. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +33 -36
  54. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +57 -61
  55. data/lib/aspose_words_cloud/models/error.rb +1 -1
  56. data/lib/aspose_words_cloud/models/error_details.rb +1 -1
  57. data/lib/aspose_words_cloud/models/field.rb +7 -7
  58. data/lib/aspose_words_cloud/models/field_base.rb +3 -3
  59. data/lib/aspose_words_cloud/models/field_collection.rb +4 -4
  60. data/lib/aspose_words_cloud/models/field_insert.rb +3 -3
  61. data/lib/aspose_words_cloud/models/field_link.rb +4 -4
  62. data/lib/aspose_words_cloud/models/field_names.rb +3 -3
  63. data/lib/aspose_words_cloud/models/field_names_response.rb +4 -4
  64. data/lib/aspose_words_cloud/models/field_response.rb +4 -5
  65. data/lib/aspose_words_cloud/models/field_update.rb +3 -3
  66. data/lib/aspose_words_cloud/models/fields_response.rb +4 -5
  67. data/lib/aspose_words_cloud/models/file_link.rb +5 -13
  68. data/lib/aspose_words_cloud/models/files_list.rb +1 -1
  69. data/lib/aspose_words_cloud/models/files_upload_result.rb +1 -1
  70. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +20 -23
  71. data/lib/aspose_words_cloud/models/font.rb +27 -28
  72. data/lib/aspose_words_cloud/models/font_dto.rb +192 -0
  73. data/lib/aspose_words_cloud/models/font_info.rb +6 -6
  74. data/lib/aspose_words_cloud/models/font_response.rb +4 -5
  75. data/lib/aspose_words_cloud/models/footnote.rb +9 -9
  76. data/lib/aspose_words_cloud/models/footnote_base.rb +5 -5
  77. data/lib/aspose_words_cloud/models/footnote_collection.rb +4 -4
  78. data/lib/aspose_words_cloud/models/footnote_insert.rb +5 -5
  79. data/lib/aspose_words_cloud/models/footnote_link.rb +3 -3
  80. data/lib/aspose_words_cloud/models/footnote_response.rb +4 -5
  81. data/lib/aspose_words_cloud/models/footnote_update.rb +5 -5
  82. data/lib/aspose_words_cloud/models/footnotes_response.rb +4 -5
  83. data/lib/aspose_words_cloud/models/footnotes_stat_data.rb +3 -3
  84. data/lib/aspose_words_cloud/models/form_field.rb +11 -11
  85. data/lib/aspose_words_cloud/models/form_field_checkbox.rb +12 -12
  86. data/lib/aspose_words_cloud/models/form_field_collection.rb +4 -4
  87. data/lib/aspose_words_cloud/models/form_field_drop_down.rb +12 -12
  88. data/lib/aspose_words_cloud/models/form_field_response.rb +4 -5
  89. data/lib/aspose_words_cloud/models/form_field_text_input.rb +15 -15
  90. data/lib/aspose_words_cloud/models/form_fields_response.rb +4 -5
  91. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +33 -36
  92. data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +2 -2
  93. data/lib/aspose_words_cloud/models/header_footer.rb +7 -7
  94. data/lib/aspose_words_cloud/models/header_footer_link.rb +3 -3
  95. data/lib/aspose_words_cloud/models/header_footer_link_collection.rb +4 -4
  96. data/lib/aspose_words_cloud/models/header_footer_response.rb +4 -5
  97. data/lib/aspose_words_cloud/models/header_footers_response.rb +4 -5
  98. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +36 -46
  99. data/lib/aspose_words_cloud/models/html_save_options_data.rb +57 -61
  100. data/lib/aspose_words_cloud/models/hyperlink.rb +4 -4
  101. data/lib/aspose_words_cloud/models/hyperlink_response.rb +4 -4
  102. data/lib/aspose_words_cloud/models/hyperlinks.rb +3 -3
  103. data/lib/aspose_words_cloud/models/hyperlinks_response.rb +4 -4
  104. data/lib/aspose_words_cloud/models/image_save_options_data.rb +33 -36
  105. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +34 -37
  106. data/lib/aspose_words_cloud/models/link.rb +5 -13
  107. data/lib/aspose_words_cloud/models/link_element.rb +3 -3
  108. data/lib/aspose_words_cloud/models/list_format.rb +3 -3
  109. data/lib/aspose_words_cloud/models/list_format_update.rb +1 -1
  110. data/lib/aspose_words_cloud/models/list_info.rb +7 -7
  111. data/lib/aspose_words_cloud/models/list_insert.rb +2 -2
  112. data/lib/aspose_words_cloud/models/list_level.rb +13 -17
  113. data/lib/aspose_words_cloud/models/list_level_update.rb +10 -14
  114. data/lib/aspose_words_cloud/models/list_levels.rb +3 -3
  115. data/lib/aspose_words_cloud/models/list_response.rb +4 -5
  116. data/lib/aspose_words_cloud/models/list_update.rb +2 -2
  117. data/lib/aspose_words_cloud/models/lists.rb +4 -4
  118. data/lib/aspose_words_cloud/models/lists_response.rb +4 -5
  119. data/lib/aspose_words_cloud/models/load_web_document_data.rb +3 -3
  120. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +17 -20
  121. data/lib/aspose_words_cloud/models/metafile_rendering_options_data.rb +7 -7
  122. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +57 -62
  123. data/lib/aspose_words_cloud/models/modification_operation_result.rb +3 -3
  124. data/lib/aspose_words_cloud/models/node_link.rb +3 -3
  125. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +17 -20
  126. data/lib/aspose_words_cloud/models/office_math_link.rb +3 -3
  127. data/lib/aspose_words_cloud/models/office_math_object.rb +8 -9
  128. data/lib/aspose_words_cloud/models/office_math_object_response.rb +4 -5
  129. data/lib/aspose_words_cloud/models/office_math_objects_collection.rb +4 -4
  130. data/lib/aspose_words_cloud/models/office_math_objects_response.rb +4 -5
  131. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +17 -20
  132. data/lib/aspose_words_cloud/models/optimization_options.rb +242 -0
  133. data/lib/aspose_words_cloud/models/outline_options_data.rb +8 -11
  134. data/lib/aspose_words_cloud/models/page_number.rb +2 -2
  135. data/lib/aspose_words_cloud/models/page_setup.rb +25 -31
  136. data/lib/aspose_words_cloud/models/page_stat_data.rb +5 -5
  137. data/lib/aspose_words_cloud/models/paragraph.rb +5 -5
  138. data/lib/aspose_words_cloud/models/paragraph_format.rb +19 -24
  139. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +17 -22
  140. data/lib/aspose_words_cloud/models/paragraph_format_response.rb +4 -5
  141. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +17 -22
  142. data/lib/aspose_words_cloud/models/paragraph_insert.rb +3 -3
  143. data/lib/aspose_words_cloud/models/paragraph_link.rb +4 -4
  144. data/lib/aspose_words_cloud/models/paragraph_link_collection.rb +4 -4
  145. data/lib/aspose_words_cloud/models/paragraph_link_collection_response.rb +4 -5
  146. data/lib/aspose_words_cloud/models/paragraph_list_format_response.rb +3 -4
  147. data/lib/aspose_words_cloud/models/paragraph_response.rb +4 -5
  148. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +22 -25
  149. data/lib/aspose_words_cloud/models/pdf_digital_signature_details_data.rb +7 -7
  150. data/lib/aspose_words_cloud/models/pdf_encryption_details_data.rb +6 -6
  151. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +48 -53
  152. data/lib/aspose_words_cloud/models/png_save_options_data.rb +34 -37
  153. data/lib/aspose_words_cloud/models/preferred_width.rb +2 -2
  154. data/lib/aspose_words_cloud/models/protection_data.rb +1 -1
  155. data/lib/aspose_words_cloud/models/protection_data_response.rb +5 -5
  156. data/lib/aspose_words_cloud/models/protection_request.rb +4 -4
  157. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +22 -25
  158. data/lib/aspose_words_cloud/models/range_document.rb +3 -3
  159. data/lib/aspose_words_cloud/models/range_document_dto.rb +201 -0
  160. data/lib/aspose_words_cloud/models/range_text_response.rb +4 -5
  161. data/lib/aspose_words_cloud/models/replace_range.rb +4 -4
  162. data/lib/aspose_words_cloud/models/replace_range_dto.rb +252 -0
  163. data/lib/aspose_words_cloud/models/replace_text_parameters.rb +3 -3
  164. data/lib/aspose_words_cloud/models/replace_text_response.rb +5 -5
  165. data/lib/aspose_words_cloud/models/report_build_options.rb +1 -1
  166. data/lib/aspose_words_cloud/models/report_engine_settings.rb +3 -3
  167. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +58 -0
  168. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +3 -3
  169. data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +73 -0
  170. data/lib/aspose_words_cloud/models/requests/append_document_request.rb +5 -5
  171. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +78 -0
  172. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +9 -9
  173. data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +3 -3
  174. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +5 -5
  175. data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +63 -0
  176. data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +9 -9
  177. data/lib/aspose_words_cloud/models/requests/classify_request.rb +5 -5
  178. data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +63 -0
  179. data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +5 -5
  180. data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +12 -12
  181. data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +1 -1
  182. data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +1 -1
  183. data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +73 -0
  184. data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +3 -3
  185. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +10 -10
  186. data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +1 -1
  187. data/lib/aspose_words_cloud/models/requests/{delete_fields_without_node_path_request.rb → create_or_update_document_property_online_request.rb} +17 -17
  188. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +5 -5
  189. data/lib/aspose_words_cloud/models/requests/{delete_all_paragraph_tab_stops_without_node_path_request.rb → delete_all_paragraph_tab_stops_online_request.rb} +13 -18
  190. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +9 -9
  191. data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +78 -0
  192. data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +9 -9
  193. data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +73 -0
  194. data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +6 -6
  195. data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +73 -0
  196. data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +5 -5
  197. data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +73 -0
  198. data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +5 -5
  199. data/lib/aspose_words_cloud/models/requests/{delete_paragraph_without_node_path_request.rb → delete_drawing_object_online_request.rb} +13 -18
  200. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +9 -9
  201. data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +78 -0
  202. data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +9 -9
  203. data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +73 -0
  204. data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +6 -6
  205. data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +1 -1
  206. data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +1 -1
  207. data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +78 -0
  208. data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +9 -9
  209. data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +78 -0
  210. data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +9 -9
  211. data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +78 -0
  212. data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +5 -5
  213. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +78 -0
  214. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +7 -7
  215. data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +68 -0
  216. data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +3 -3
  217. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +78 -0
  218. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +9 -9
  219. data/lib/aspose_words_cloud/models/requests/{delete_paragraph_list_format_without_node_path_request.rb → delete_paragraph_list_format_online_request.rb} +13 -18
  220. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +9 -9
  221. data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +78 -0
  222. data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +9 -9
  223. data/lib/aspose_words_cloud/models/requests/{delete_paragraph_tab_stop_without_node_path_request.rb → delete_paragraph_tab_stop_online_request.rb} +15 -20
  224. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +11 -11
  225. data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +78 -0
  226. data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +5 -5
  227. data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +73 -0
  228. data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +5 -5
  229. data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +78 -0
  230. data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +5 -5
  231. data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +78 -0
  232. data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +9 -9
  233. data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +78 -0
  234. data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +5 -5
  235. data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +68 -0
  236. data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +3 -3
  237. data/lib/aspose_words_cloud/models/requests/download_file_request.rb +1 -1
  238. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +7 -7
  239. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +13 -15
  240. data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +3 -3
  241. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +58 -0
  242. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +5 -5
  243. data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +53 -0
  244. data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +3 -3
  245. data/lib/aspose_words_cloud/models/requests/{get_form_fields_without_node_path_request.rb → get_border_online_request.rb} +17 -17
  246. data/lib/aspose_words_cloud/models/requests/get_border_request.rb +9 -9
  247. data/lib/aspose_words_cloud/models/requests/{get_paragraphs_without_node_path_request.rb → get_borders_online_request.rb} +13 -18
  248. data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +6 -6
  249. data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +58 -0
  250. data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +5 -5
  251. data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +53 -0
  252. data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +3 -3
  253. data/lib/aspose_words_cloud/models/requests/{get_document_drawing_object_ole_data_without_node_path_request.rb → get_document_drawing_object_by_index_online_request.rb} +13 -18
  254. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +9 -9
  255. data/lib/aspose_words_cloud/models/requests/{get_document_drawing_object_by_index_without_node_path_request.rb → get_document_drawing_object_image_data_online_request.rb} +13 -18
  256. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +9 -9
  257. data/lib/aspose_words_cloud/models/requests/{get_document_drawing_object_image_data_without_node_path_request.rb → get_document_drawing_object_ole_data_online_request.rb} +13 -18
  258. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +9 -9
  259. data/lib/aspose_words_cloud/models/requests/{get_document_drawing_objects_without_node_path_request.rb → get_document_drawing_objects_online_request.rb} +13 -18
  260. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +6 -6
  261. data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +18 -8
  262. data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +5 -5
  263. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +58 -0
  264. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +5 -5
  265. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +53 -0
  266. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +3 -3
  267. data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +53 -0
  268. data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +3 -3
  269. data/lib/aspose_words_cloud/models/requests/{get_fields_without_node_path_request.rb → get_document_property_online_request.rb} +13 -18
  270. data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +5 -5
  271. data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +53 -0
  272. data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +3 -3
  273. data/lib/aspose_words_cloud/models/requests/get_document_request.rb +3 -3
  274. data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +68 -0
  275. data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +9 -9
  276. data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +5 -5
  277. data/lib/aspose_words_cloud/models/requests/{get_footnote_without_node_path_request.rb → get_field_online_request.rb} +13 -18
  278. data/lib/aspose_words_cloud/models/requests/get_field_request.rb +9 -9
  279. data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +58 -0
  280. data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +6 -6
  281. data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +1 -1
  282. data/lib/aspose_words_cloud/models/requests/{get_form_field_without_node_path_request.rb → get_footnote_online_request.rb} +13 -18
  283. data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +9 -9
  284. data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +58 -0
  285. data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +6 -6
  286. data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +63 -0
  287. data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +9 -9
  288. data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +58 -0
  289. data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +6 -6
  290. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +68 -0
  291. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +9 -9
  292. data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +63 -0
  293. data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +7 -7
  294. data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +63 -0
  295. data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +7 -7
  296. data/lib/aspose_words_cloud/models/requests/{get_tables_without_node_path_request.rb → get_list_online_request.rb} +13 -18
  297. data/lib/aspose_words_cloud/models/requests/get_list_request.rb +5 -5
  298. data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +53 -0
  299. data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +3 -3
  300. data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +63 -0
  301. data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +9 -9
  302. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +58 -0
  303. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +6 -6
  304. data/lib/aspose_words_cloud/models/requests/{get_field_without_node_path_request.rb → get_paragraph_format_online_request.rb} +13 -18
  305. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +9 -9
  306. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +63 -0
  307. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +9 -9
  308. data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +63 -0
  309. data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +9 -9
  310. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +63 -0
  311. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +9 -9
  312. data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +58 -0
  313. data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +6 -6
  314. data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +63 -0
  315. data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +4 -6
  316. data/lib/aspose_words_cloud/models/requests/{get_paragraph_without_node_path_request.rb → get_run_font_online_request.rb} +14 -19
  317. data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +5 -5
  318. data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +63 -0
  319. data/lib/aspose_words_cloud/models/requests/get_run_request.rb +5 -5
  320. data/lib/aspose_words_cloud/models/requests/{get_footnotes_without_node_path_request.rb → get_runs_online_request.rb} +13 -18
  321. data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +5 -5
  322. data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +58 -0
  323. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +58 -0
  324. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +5 -5
  325. data/lib/aspose_words_cloud/models/requests/get_section_request.rb +5 -5
  326. data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +53 -0
  327. data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +3 -3
  328. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +58 -0
  329. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +5 -5
  330. data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +58 -0
  331. data/lib/aspose_words_cloud/models/requests/get_style_request.rb +5 -5
  332. data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +53 -0
  333. data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +3 -3
  334. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +63 -0
  335. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +5 -5
  336. data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +63 -0
  337. data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +5 -5
  338. data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +63 -0
  339. data/lib/aspose_words_cloud/models/requests/{get_table_without_node_path_request.rb → get_table_properties_online_request.rb} +13 -18
  340. data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +9 -9
  341. data/lib/aspose_words_cloud/models/requests/get_table_request.rb +9 -9
  342. data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +63 -0
  343. data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +5 -5
  344. data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +63 -0
  345. data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +5 -5
  346. data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +58 -0
  347. data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +6 -6
  348. data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +73 -0
  349. data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +5 -5
  350. data/lib/aspose_words_cloud/models/requests/{insert_drawing_object_without_node_path_request.rb → insert_drawing_object_online_request.rb} +13 -18
  351. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +6 -6
  352. data/lib/aspose_words_cloud/models/requests/{insert_field_without_node_path_request.rb → insert_field_online_request.rb} +15 -20
  353. data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +8 -8
  354. data/lib/aspose_words_cloud/models/requests/{insert_footnote_without_node_path_request.rb → insert_footnote_online_request.rb} +13 -18
  355. data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +6 -6
  356. data/lib/aspose_words_cloud/models/requests/{insert_form_field_without_node_path_request.rb → insert_form_field_online_request.rb} +15 -20
  357. data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +8 -8
  358. data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +78 -0
  359. data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +9 -9
  360. data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +73 -0
  361. data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +5 -5
  362. data/lib/aspose_words_cloud/models/requests/{insert_or_update_paragraph_tab_stop_without_node_path_request.rb → insert_or_update_paragraph_tab_stop_online_request.rb} +17 -22
  363. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +14 -14
  364. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +73 -0
  365. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +5 -5
  366. data/lib/aspose_words_cloud/models/requests/{insert_paragraph_without_node_path_request.rb → insert_paragraph_online_request.rb} +15 -20
  367. data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +8 -8
  368. data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +83 -0
  369. data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +7 -7
  370. data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +73 -0
  371. data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +3 -3
  372. data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +78 -0
  373. data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +11 -11
  374. data/lib/aspose_words_cloud/models/requests/{insert_table_without_node_path_request.rb → insert_table_online_request.rb} +15 -20
  375. data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +8 -8
  376. data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +78 -0
  377. data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +11 -11
  378. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +83 -0
  379. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +7 -7
  380. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +73 -0
  381. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +5 -5
  382. data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +3 -3
  383. data/lib/aspose_words_cloud/models/requests/move_file_request.rb +1 -1
  384. data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +1 -1
  385. data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +73 -0
  386. data/lib/aspose_words_cloud/models/requests/{delete_footnote_without_node_path_request.rb → optimize_document_request.rb} +11 -11
  387. data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +63 -0
  388. data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +5 -5
  389. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +58 -0
  390. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +3 -3
  391. data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +68 -0
  392. data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +4 -6
  393. data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +78 -0
  394. data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +14 -9
  395. data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +78 -0
  396. data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +14 -9
  397. data/lib/aspose_words_cloud/models/requests/{render_table_without_node_path_request.rb → render_page_online_request.rb} +14 -24
  398. data/lib/aspose_words_cloud/models/requests/render_page_request.rb +5 -5
  399. data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +78 -0
  400. data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +14 -9
  401. data/lib/aspose_words_cloud/models/requests/{render_drawing_object_without_node_path_request.rb → render_table_online_request.rb} +18 -18
  402. data/lib/aspose_words_cloud/models/requests/render_table_request.rb +14 -9
  403. data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +73 -0
  404. data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +5 -5
  405. data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +73 -0
  406. data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +4 -6
  407. data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +1 -1
  408. data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +63 -0
  409. data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +68 -0
  410. data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +4 -6
  411. data/lib/aspose_words_cloud/models/requests/save_as_request.rb +3 -3
  412. data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +148 -0
  413. data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +31 -31
  414. data/lib/aspose_words_cloud/models/requests/search_online_request.rb +58 -0
  415. data/lib/aspose_words_cloud/models/requests/search_request.rb +3 -3
  416. data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +83 -0
  417. data/lib/aspose_words_cloud/models/requests/split_document_request.rb +11 -11
  418. data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +63 -0
  419. data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +5 -5
  420. data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +78 -0
  421. data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +11 -11
  422. data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +83 -0
  423. data/lib/aspose_words_cloud/models/requests/update_border_request.rb +11 -11
  424. data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +78 -0
  425. data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +7 -7
  426. data/lib/aspose_words_cloud/models/requests/{update_drawing_object_without_node_path_request.rb → update_drawing_object_online_request.rb} +13 -18
  427. data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +9 -9
  428. data/lib/aspose_words_cloud/models/requests/{delete_field_without_node_path_request.rb → update_field_online_request.rb} +18 -18
  429. data/lib/aspose_words_cloud/models/requests/update_field_request.rb +11 -11
  430. data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +58 -0
  431. data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +3 -3
  432. data/lib/aspose_words_cloud/models/requests/{update_footnote_without_node_path_request.rb → update_footnote_online_request.rb} +13 -18
  433. data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +11 -11
  434. data/lib/aspose_words_cloud/models/requests/{update_form_field_without_node_path_request.rb → update_form_field_online_request.rb} +13 -18
  435. data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +11 -11
  436. data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +83 -0
  437. data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +12 -12
  438. data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +78 -0
  439. data/lib/aspose_words_cloud/models/requests/update_list_request.rb +9 -9
  440. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +83 -0
  441. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +14 -14
  442. data/lib/aspose_words_cloud/models/requests/{update_paragraph_list_format_without_node_path_request.rb → update_paragraph_list_format_online_request.rb} +17 -22
  443. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +14 -14
  444. data/lib/aspose_words_cloud/models/requests/{delete_form_field_without_node_path_request.rb → update_run_font_online_request.rb} +19 -19
  445. data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +11 -11
  446. data/lib/aspose_words_cloud/models/requests/{delete_table_without_node_path_request.rb → update_run_online_request.rb} +19 -19
  447. data/lib/aspose_words_cloud/models/requests/update_run_request.rb +11 -11
  448. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +78 -0
  449. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +5 -5
  450. data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +78 -0
  451. data/lib/aspose_words_cloud/models/requests/update_style_request.rb +9 -9
  452. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +83 -0
  453. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +11 -11
  454. data/lib/aspose_words_cloud/models/requests/{update_table_properties_without_node_path_request.rb → update_table_properties_online_request.rb} +13 -18
  455. data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +11 -11
  456. data/lib/aspose_words_cloud/models/requests/{delete_drawing_object_without_node_path_request.rb → update_table_row_format_online_request.rb} +19 -19
  457. data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +11 -11
  458. data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +1 -1
  459. data/lib/aspose_words_cloud/models/response_error.rb +6 -6
  460. data/lib/aspose_words_cloud/models/responses/accept_all_revisions_online_response.rb +46 -0
  461. data/lib/aspose_words_cloud/models/responses/append_document_online_response.rb +46 -0
  462. data/lib/aspose_words_cloud/models/responses/apply_style_to_document_element_online_response.rb +46 -0
  463. data/lib/aspose_words_cloud/models/responses/compare_document_online_response.rb +46 -0
  464. data/lib/aspose_words_cloud/models/responses/copy_style_online_response.rb +46 -0
  465. data/lib/aspose_words_cloud/models/responses/create_or_update_document_property_online_response.rb +46 -0
  466. data/lib/aspose_words_cloud/models/responses/delete_all_paragraph_tab_stops_online_response.rb +46 -0
  467. data/lib/aspose_words_cloud/models/responses/delete_border_online_response.rb +46 -0
  468. data/lib/aspose_words_cloud/models/responses/delete_borders_online_response.rb +46 -0
  469. data/lib/aspose_words_cloud/models/responses/delete_paragraph_list_format_online_response.rb +46 -0
  470. data/lib/aspose_words_cloud/models/responses/delete_paragraph_tab_stop_online_response.rb +46 -0
  471. data/lib/aspose_words_cloud/models/responses/delete_watermark_online_response.rb +46 -0
  472. data/lib/aspose_words_cloud/models/responses/insert_comment_online_response.rb +46 -0
  473. data/lib/aspose_words_cloud/models/responses/insert_drawing_object_online_response.rb +46 -0
  474. data/lib/aspose_words_cloud/models/responses/insert_field_online_response.rb +46 -0
  475. data/lib/aspose_words_cloud/models/responses/insert_footnote_online_response.rb +46 -0
  476. data/lib/aspose_words_cloud/models/responses/insert_form_field_online_response.rb +46 -0
  477. data/lib/aspose_words_cloud/models/responses/insert_header_footer_online_response.rb +46 -0
  478. data/lib/aspose_words_cloud/models/responses/insert_list_online_response.rb +46 -0
  479. data/lib/aspose_words_cloud/models/responses/insert_or_update_paragraph_tab_stop_online_response.rb +46 -0
  480. data/lib/aspose_words_cloud/models/responses/insert_page_numbers_online_response.rb +46 -0
  481. data/lib/aspose_words_cloud/models/responses/insert_paragraph_online_response.rb +46 -0
  482. data/lib/aspose_words_cloud/models/responses/insert_run_online_response.rb +46 -0
  483. data/lib/aspose_words_cloud/models/responses/insert_style_online_response.rb +46 -0
  484. data/lib/aspose_words_cloud/models/responses/insert_table_cell_online_response.rb +46 -0
  485. data/lib/aspose_words_cloud/models/responses/insert_table_online_response.rb +46 -0
  486. data/lib/aspose_words_cloud/models/responses/insert_table_row_online_response.rb +46 -0
  487. data/lib/aspose_words_cloud/models/responses/insert_watermark_image_online_response.rb +46 -0
  488. data/lib/aspose_words_cloud/models/responses/insert_watermark_text_online_response.rb +46 -0
  489. data/lib/aspose_words_cloud/models/responses/protect_document_online_response.rb +46 -0
  490. data/lib/aspose_words_cloud/models/responses/reject_all_revisions_online_response.rb +46 -0
  491. data/lib/aspose_words_cloud/models/responses/remove_range_online_response.rb +46 -0
  492. data/lib/aspose_words_cloud/models/responses/replace_text_online_response.rb +46 -0
  493. data/lib/aspose_words_cloud/models/responses/replace_with_text_online_response.rb +46 -0
  494. data/lib/aspose_words_cloud/models/responses/save_as_online_response.rb +46 -0
  495. data/lib/aspose_words_cloud/models/responses/save_as_range_online_response.rb +46 -0
  496. data/lib/aspose_words_cloud/models/responses/save_as_tiff_online_response.rb +46 -0
  497. data/lib/aspose_words_cloud/models/responses/split_document_online_response.rb +46 -0
  498. data/lib/aspose_words_cloud/models/responses/unprotect_document_online_response.rb +46 -0
  499. data/lib/aspose_words_cloud/models/responses/update_bookmark_online_response.rb +46 -0
  500. data/lib/aspose_words_cloud/models/responses/update_border_online_response.rb +46 -0
  501. data/lib/aspose_words_cloud/models/responses/update_comment_online_response.rb +46 -0
  502. data/lib/aspose_words_cloud/models/responses/update_drawing_object_online_response.rb +46 -0
  503. data/lib/aspose_words_cloud/models/responses/update_field_online_response.rb +46 -0
  504. data/lib/aspose_words_cloud/models/responses/update_fields_online_response.rb +46 -0
  505. data/lib/aspose_words_cloud/models/responses/update_footnote_online_response.rb +46 -0
  506. data/lib/aspose_words_cloud/models/responses/update_form_field_online_response.rb +46 -0
  507. data/lib/aspose_words_cloud/models/responses/update_list_level_online_response.rb +46 -0
  508. data/lib/aspose_words_cloud/models/responses/update_list_online_response.rb +46 -0
  509. data/lib/aspose_words_cloud/models/responses/update_paragraph_format_online_response.rb +46 -0
  510. data/lib/aspose_words_cloud/models/responses/update_paragraph_list_format_online_response.rb +46 -0
  511. data/lib/aspose_words_cloud/models/responses/update_run_font_online_response.rb +46 -0
  512. data/lib/aspose_words_cloud/models/responses/update_run_online_response.rb +46 -0
  513. data/lib/aspose_words_cloud/models/responses/update_section_page_setup_online_response.rb +46 -0
  514. data/lib/aspose_words_cloud/models/responses/update_style_online_response.rb +46 -0
  515. data/lib/aspose_words_cloud/models/responses/update_table_cell_format_online_response.rb +46 -0
  516. data/lib/aspose_words_cloud/models/responses/update_table_properties_online_response.rb +46 -0
  517. data/lib/aspose_words_cloud/models/responses/update_table_row_format_online_response.rb +46 -0
  518. data/lib/aspose_words_cloud/models/revisions_modification_response.rb +4 -4
  519. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +16 -19
  520. data/lib/aspose_words_cloud/models/run.rb +4 -4
  521. data/lib/aspose_words_cloud/models/run_base.rb +2 -2
  522. data/lib/aspose_words_cloud/models/run_insert.rb +2 -2
  523. data/lib/aspose_words_cloud/models/run_link.rb +4 -4
  524. data/lib/aspose_words_cloud/models/run_response.rb +4 -5
  525. data/lib/aspose_words_cloud/models/run_update.rb +2 -2
  526. data/lib/aspose_words_cloud/models/runs.rb +4 -4
  527. data/lib/aspose_words_cloud/models/runs_response.rb +4 -5
  528. data/lib/aspose_words_cloud/models/save_options_data.rb +12 -15
  529. data/lib/aspose_words_cloud/models/save_response.rb +4 -4
  530. data/lib/aspose_words_cloud/models/save_result.rb +4 -4
  531. data/lib/aspose_words_cloud/models/search_response.rb +5 -6
  532. data/lib/aspose_words_cloud/models/search_result.rb +3 -3
  533. data/lib/aspose_words_cloud/models/search_results_collection.rb +4 -4
  534. data/lib/aspose_words_cloud/models/section.rb +8 -8
  535. data/lib/aspose_words_cloud/models/section_link.rb +3 -3
  536. data/lib/aspose_words_cloud/models/section_link_collection.rb +4 -4
  537. data/lib/aspose_words_cloud/models/section_link_collection_response.rb +4 -5
  538. data/lib/aspose_words_cloud/models/section_page_setup_response.rb +4 -5
  539. data/lib/aspose_words_cloud/models/section_response.rb +4 -5
  540. data/lib/aspose_words_cloud/models/shading.rb +2 -2
  541. data/lib/aspose_words_cloud/models/split_document_response.rb +4 -4
  542. data/lib/aspose_words_cloud/models/split_document_result.rb +4 -4
  543. data/lib/aspose_words_cloud/models/stat_data_response.rb +5 -5
  544. data/lib/aspose_words_cloud/models/storage_file.rb +1 -1
  545. data/lib/aspose_words_cloud/models/story_child_nodes.rb +2 -2
  546. data/lib/aspose_words_cloud/models/string_format_data.rb +2 -2
  547. data/lib/aspose_words_cloud/models/style.rb +10 -13
  548. data/lib/aspose_words_cloud/models/style_apply.rb +1 -1
  549. data/lib/aspose_words_cloud/models/style_copy.rb +1 -1
  550. data/lib/aspose_words_cloud/models/style_insert.rb +1 -1
  551. data/lib/aspose_words_cloud/models/style_response.rb +4 -5
  552. data/lib/aspose_words_cloud/models/style_update.rb +4 -5
  553. data/lib/aspose_words_cloud/models/styles_response.rb +4 -5
  554. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +27 -30
  555. data/lib/aspose_words_cloud/models/tab_stop.rb +2 -2
  556. data/lib/aspose_words_cloud/models/tab_stop_base.rb +1 -1
  557. data/lib/aspose_words_cloud/models/tab_stop_insert.rb +1 -1
  558. data/lib/aspose_words_cloud/models/tab_stops_response.rb +4 -5
  559. data/lib/aspose_words_cloud/models/table.rb +5 -5
  560. data/lib/aspose_words_cloud/models/table_cell.rb +5 -5
  561. data/lib/aspose_words_cloud/models/table_cell_format.rb +14 -14
  562. data/lib/aspose_words_cloud/models/table_cell_format_dto.rb +192 -0
  563. data/lib/aspose_words_cloud/models/table_cell_format_response.rb +4 -5
  564. data/lib/aspose_words_cloud/models/table_cell_insert.rb +3 -3
  565. data/lib/aspose_words_cloud/models/table_cell_insert_dto.rb +201 -0
  566. data/lib/aspose_words_cloud/models/table_cell_response.rb +4 -5
  567. data/lib/aspose_words_cloud/models/table_insert.rb +5 -5
  568. data/lib/aspose_words_cloud/models/table_insert_dto.rb +221 -0
  569. data/lib/aspose_words_cloud/models/table_link.rb +3 -3
  570. data/lib/aspose_words_cloud/models/table_link_collection.rb +4 -4
  571. data/lib/aspose_words_cloud/models/table_link_collection_response.rb +4 -5
  572. data/lib/aspose_words_cloud/models/table_properties.rb +9 -9
  573. data/lib/aspose_words_cloud/models/table_properties_dto.rb +192 -0
  574. data/lib/aspose_words_cloud/models/table_properties_response.rb +4 -5
  575. data/lib/aspose_words_cloud/models/table_response.rb +4 -5
  576. data/lib/aspose_words_cloud/models/table_row.rb +6 -6
  577. data/lib/aspose_words_cloud/models/table_row_format.rb +5 -5
  578. data/lib/aspose_words_cloud/models/table_row_format_dto.rb +192 -0
  579. data/lib/aspose_words_cloud/models/table_row_format_response.rb +4 -5
  580. data/lib/aspose_words_cloud/models/table_row_insert.rb +3 -3
  581. data/lib/aspose_words_cloud/models/table_row_insert_dto.rb +211 -0
  582. data/lib/aspose_words_cloud/models/table_row_response.rb +4 -5
  583. data/lib/aspose_words_cloud/models/text_save_options_data.rb +19 -22
  584. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +35 -38
  585. data/lib/aspose_words_cloud/models/txt_save_options_base_data.rb +16 -19
  586. data/lib/aspose_words_cloud/models/watermark_text.rb +1 -1
  587. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +14 -17
  588. data/lib/aspose_words_cloud/models/words_api_error_response.rb +4 -4
  589. data/lib/aspose_words_cloud/models/words_api_link.rb +6 -14
  590. data/lib/aspose_words_cloud/models/words_response.rb +3 -3
  591. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +24 -28
  592. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +15 -18
  593. data/lib/aspose_words_cloud/models/xml_color.rb +3 -3
  594. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +24 -27
  595. data/lib/aspose_words_cloud/version.rb +2 -2
  596. metadata +205 -49
  597. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_without_node_path_request.rb +0 -83
  598. data/lib/aspose_words_cloud/models/requests/get_office_math_object_without_node_path_request.rb +0 -68
  599. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_without_node_path_request.rb +0 -63
  600. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_without_node_path_request.rb +0 -68
  601. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_without_node_path_request.rb +0 -68
  602. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_without_node_path_request.rb +0 -68
  603. data/lib/aspose_words_cloud/models/requests/get_table_properties_without_node_path_request.rb +0 -68
  604. data/lib/aspose_words_cloud/models/requests/render_math_object_without_node_path_request.rb +0 -78
  605. data/lib/aspose_words_cloud/models/requests/render_paragraph_without_node_path_request.rb +0 -78
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="field_update.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,10 +29,10 @@ module AsposeWordsCloud
29
29
 
30
30
  # Field for update.
31
31
  class FieldUpdate
32
- # Gets or sets field code.
32
+ # Gets or sets the field code.
33
33
  attr_accessor :field_code
34
34
 
35
- # Gets or sets LCID of the field.
35
+ # Gets or sets the LCID of the field.
36
36
  attr_accessor :locale_id
37
37
  # Attribute mapping from ruby-style variable name to JSON key.
38
38
  def self.attribute_map
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="fields_response.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -27,13 +27,12 @@ require 'date'
27
27
 
28
28
  module AsposeWordsCloud
29
29
 
30
- # This response should be returned by the service when handling:
31
- # GET https://api.aspose.cloud/v4.0/words/Test.doc/{nodePath}/fields.
30
+ # The REST response with a collection of fields.
32
31
  class FieldsResponse
33
- # Gets or sets request Id.
32
+ # Gets or sets the request Id.
34
33
  attr_accessor :request_id
35
34
 
36
- # Gets or sets collection of fields.
35
+ # Gets or sets the collection of fields.
37
36
  attr_accessor :fields
38
37
  # Attribute mapping from ruby-style variable name to JSON key.
39
38
  def self.attribute_map
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="file_link.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,24 +29,16 @@ module AsposeWordsCloud
29
29
 
30
30
  # Provides information for the file link.
31
31
  class FileLink
32
- # Gets or sets the "href" attribute contains the link's IRI. atom:link elements MUST
33
- # have an href attribute, whose value MUST be a IRI reference.
32
+ # Gets or sets the "href" attribute with the link's IRI. atom:link elements MUST have an href attribute, whose value MUST be a IRI reference.
34
33
  attr_accessor :href
35
34
 
36
- # Gets or sets atom:link elements MAY have a "rel" attribute that indicates the link
37
- # relation type. If the "rel" attribute is not present, the link
38
- # element MUST be interpreted as if the link relation type is "alternate".
35
+ # Gets or sets the option that controls whether atom:link elements MAY have a "rel" attribute that indicates the link relation type. If the "rel" attribute is not present, the link element MUST be interpreted as if the link relation type is "alternate".
39
36
  attr_accessor :rel
40
37
 
41
- # Gets or sets the "title" attribute conveys human-readable information about the
42
- # link. The content of the "title" attribute is Language-Sensitive.
38
+ # Gets or sets the "title" attribute, that conveys human-readable information about the link. The content of the "title" attribute is Language-Sensitive.
43
39
  attr_accessor :title
44
40
 
45
- # Gets or sets on the link element, the "type" attribute's value is an advisory
46
- # media type: it is a hint about the type of the representation that is
47
- # expected to be returned when the value of the href attribute is
48
- # dereferenced. Note that the type attribute does not override the
49
- # actual media type returned with the representation.
41
+ # Gets or sets the "type" attribute. The "type" attribute's value is an advisory media type: it is a hint about the type of the representation that is expected to be returned when the value of the href attribute is dereferenced. Note that the type attribute does not override the actual media type returned with the representation.
50
42
  attr_accessor :type
51
43
  # Attribute mapping from ruby-style variable name to JSON key.
52
44
  def self.attribute_map
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="files_list.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="files_upload_result.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="fixed_page_save_options_data.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -29,63 +29,60 @@ module AsposeWordsCloud
29
29
 
30
30
  # Contains common options that can be specified when saving a document into fixed page formats (PDF, XPS, images etc).
31
31
  class FixedPageSaveOptionsData
32
- # Gets or sets a value determining how 3D effects are rendered.
32
+ # Gets or sets the value determining how 3D effects are rendered.
33
33
  attr_accessor :dml3_d_effects_rendering_mode
34
34
 
35
- # Gets or sets a value determining how DrawingML effects are rendered.
35
+ # Gets or sets the value determining how DrawingML effects are rendered.
36
36
  # { Simplified | None | Fine }.
37
37
  attr_accessor :dml_effects_rendering_mode
38
38
 
39
- # Gets or sets a value determining how DrawingML shapes are rendered.
40
- # { Fallback | DrawingML }.
39
+ # Gets or sets the option that controls how DrawingML shapes are rendered.
41
40
  attr_accessor :dml_rendering_mode
42
41
 
43
- # Gets or sets name of destination file.
42
+ # Gets or sets the name of destination file.
44
43
  attr_accessor :file_name
45
44
 
46
- # Gets or sets format of save.
45
+ # Gets or sets the format of save.
47
46
  attr_accessor :save_format
48
47
 
49
- # Gets or sets a value determining if fields should be updated before saving the document to a fixed page format.
50
- # Default value for this property is. true.
48
+ # Gets or sets a value indicating whether fields should be updated before saving the document to a fixed page format. The default value is true.
51
49
  attr_accessor :update_fields
52
50
 
53
- # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastPrinted
54
- # property is updated before saving.
51
+ # Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastPrinted property is updated before saving.
55
52
  attr_accessor :update_last_printed_property
56
53
 
57
- # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving.
54
+ # Gets or sets a value indicating whether the Aspose.Words.Properties.BuiltInDocumentProperties.LastSavedTime property is updated before saving.
58
55
  attr_accessor :update_last_saved_time_property
59
56
 
60
- # Gets or sets value determining whether content of StructuredDocumentTag is updated before saving.
57
+ # Gets or sets a value indicating whether content of StructuredDocumentTag is updated before saving.
61
58
  attr_accessor :update_sdt_content
62
59
 
63
- # Gets or sets controls zip output or not.
64
- # Default value is false.
60
+ # Gets or sets a value indicating whether to zip output or not.
61
+ # The default value is false.
65
62
  attr_accessor :zip_output
66
63
 
67
- # Gets or sets a value determining how colors are rendered.
64
+ # Gets or sets the value determining how colors are rendered.
68
65
  # { Normal | Grayscale}.
69
66
  attr_accessor :color_mode
70
67
 
71
- # Gets or sets determines the quality of the JPEG images inside PDF document.
68
+ # Gets or sets the quality of the JPEG images inside PDF document.
72
69
  attr_accessor :jpeg_quality
73
70
 
74
- # Gets or sets allows to specify metafile rendering options.
71
+ # Gets or sets the metafile rendering options.
75
72
  attr_accessor :metafile_rendering_options
76
73
 
77
- # Gets or sets indicates the symbol set that is used to represent numbers while rendering to fixed page formats.
74
+ # Gets or sets the symbol set, that is used to represent numbers while rendering to fixed page formats.
78
75
  attr_accessor :numeral_format
79
76
 
80
- # Gets or sets flag indicates whether it is required to optimize output of XPS.
77
+ # Gets or sets a value indicating whether it is required to optimize output of XPS.
81
78
  # If this flag is set redundant nested canvases and empty canvases are removed, also neighbor glyphs with the same formatting are concatenated.
82
- # Note: The accuracy of the content display may be affected if this property is set to true. Default is false.
79
+ # Note: The accuracy of the content display may be affected if this property is set to true.. The default value is false.
83
80
  attr_accessor :optimize_output
84
81
 
85
- # Gets or sets determines number of pages to render.
82
+ # Gets or sets the number of pages to render.
86
83
  attr_accessor :page_count
87
84
 
88
- # Gets or sets determines 0-based index of the first page to render.
85
+ # Gets or sets the 0-based index of the first page to render.
89
86
  attr_accessor :page_index
90
87
 
91
88
  class EnumAttributeValidator
@@ -1,6 +1,6 @@
1
1
  # ------------------------------------------------------------------------------------
2
2
  # <copyright company="Aspose" file="font.rb">
3
- # Copyright (c) 2020 Aspose.Words for Cloud
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
4
  # </copyright>
5
5
  # <summary>
6
6
  # Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -27,52 +27,51 @@ require 'date'
27
27
 
28
28
  module AsposeWordsCloud
29
29
 
30
- # Font element.
30
+ # DTO container with a font element.
31
31
  class Font
32
- # Gets or sets link to the document.
32
+ # Gets or sets the link to the document.
33
33
  attr_accessor :link
34
34
 
35
- # Gets or sets true if the font is formatted as all capital letters.
35
+ # Gets or sets a value indicating whether the font is formatted as all capital letters.
36
36
  attr_accessor :all_caps
37
37
 
38
- # Gets or sets specifies whether the contents of this run shall have right-to-left characteristics.
38
+ # Gets or sets a value indicating whether the contents of this run shall have right-to-left characteristics.
39
39
  attr_accessor :bidi
40
40
 
41
- # Gets or sets true if the font is formatted as bold.
41
+ # Gets or sets a value indicating whether the font is formatted as bold.
42
42
  attr_accessor :bold
43
43
 
44
- # Gets or sets true if the right-to-left text is formatted as bold.
44
+ # Gets or sets a value indicating whether the right-to-left text is formatted as bold.
45
45
  attr_accessor :bold_bi
46
46
 
47
- # Gets or sets border object that specifies border for the font.
47
+ # Gets or sets the border object, that specifies border for the font.
48
48
  attr_accessor :border
49
49
 
50
50
  # Gets or sets the color of the font.
51
51
  attr_accessor :color
52
52
 
53
- # Gets or sets specifies whether the contents of this run shall be treated as complex script text regardless
54
- # of their Unicode character values when determining the formatting for this run.
53
+ # Gets or sets a value indicating whether the contents of this run shall be treated as complex script text regardless of their Unicode character values when determining the formatting for this run.
55
54
  attr_accessor :complex_script
56
55
 
57
- # Gets or sets true if the font is formatted as double strikethrough text.
56
+ # Gets or sets a value indicating whether the font is formatted as double strikethrough text.
58
57
  attr_accessor :double_strike_through
59
58
 
60
- # Gets or sets true if the font is formatted as embossed.
59
+ # Gets or sets a value indicating whether the font is formatted as embossed.
61
60
  attr_accessor :emboss
62
61
 
63
- # Gets or sets true if the font is formatted as engraved.
62
+ # Gets or sets a value indicating whether the font is formatted as engraved.
64
63
  attr_accessor :engrave
65
64
 
66
- # Gets or sets true if the font is formatted as hidden text.
65
+ # Gets or sets a value indicating whether the font is formatted as hidden text.
67
66
  attr_accessor :hidden
68
67
 
69
68
  # Gets or sets the highlight (marker) color.
70
69
  attr_accessor :highlight_color
71
70
 
72
- # Gets or sets true if the font is formatted as italic.
71
+ # Gets or sets a value indicating whether the font is formatted as italic.
73
72
  attr_accessor :italic
74
73
 
75
- # Gets or sets true if the right-to-left text is formatted as italic.
74
+ # Gets or sets a value indicating whether the right-to-left text is formatted as italic.
76
75
  attr_accessor :italic_bi
77
76
 
78
77
  # Gets or sets the font size at which kerning starts.
@@ -90,22 +89,22 @@ module AsposeWordsCloud
90
89
  # Gets or sets the name of the font.
91
90
  attr_accessor :name
92
91
 
93
- # Gets or sets returns or sets the font used for Latin text (characters with character codes from 0 (zero) through 127).
92
+ # Gets or sets the font used for Latin text (characters with character codes from 0 (zero) through 127).
94
93
  attr_accessor :name_ascii
95
94
 
96
- # Gets or sets returns or sets the name of the font in a right-to-left language document.
95
+ # Gets or sets the name of the font in a right-to-left language document.
97
96
  attr_accessor :name_bi
98
97
 
99
- # Gets or sets returns or sets an East Asian font name.
98
+ # Gets or sets the East Asian font name.
100
99
  attr_accessor :name_far_east
101
100
 
102
- # Gets or sets returns or sets the font used for characters with character codes from 128 through 255.
101
+ # Gets or sets the font used for characters with character codes from 128 through 255.
103
102
  attr_accessor :name_other
104
103
 
105
- # Gets or sets true when the formatted characters are not to be spell checked.
104
+ # Gets or sets a value indicating whether the formatted characters are not to be spell checked.
106
105
  attr_accessor :no_proofing
107
106
 
108
- # Gets or sets true if the font is formatted as outline.
107
+ # Gets or sets a value indicating whether the font is formatted as outline.
109
108
  attr_accessor :outline
110
109
 
111
110
  # Gets or sets the position of text (in points) relative to the base line.
@@ -115,7 +114,7 @@ module AsposeWordsCloud
115
114
  # Gets or sets character width scaling in percent.
116
115
  attr_accessor :scaling
117
116
 
118
- # Gets or sets true if the font is formatted as shadowed.
117
+ # Gets or sets a value indicating whether the font is formatted as shadowed.
119
118
  attr_accessor :shadow
120
119
 
121
120
  # Gets or sets the font size in points.
@@ -124,13 +123,13 @@ module AsposeWordsCloud
124
123
  # Gets or sets the font size in points used in a right-to-left document.
125
124
  attr_accessor :size_bi
126
125
 
127
- # Gets or sets true if the font is formatted as small capital letters.
126
+ # Gets or sets a value indicating whether the font is formatted as small capital letters.
128
127
  attr_accessor :small_caps
129
128
 
130
- # Gets or sets returns or sets the spacing (in points) between characters.
129
+ # Gets or sets the spacing (in points) between characters.
131
130
  attr_accessor :spacing
132
131
 
133
- # Gets or sets true if the font is formatted as strikethrough text.
132
+ # Gets or sets a value indicating whether the font is formatted as strikethrough text.
134
133
  attr_accessor :strike_through
135
134
 
136
135
  # Gets or sets the locale independent style identifier of the character style applied to this formatting.
@@ -139,10 +138,10 @@ module AsposeWordsCloud
139
138
  # Gets or sets the name of the character style applied to this formatting.
140
139
  attr_accessor :style_name
141
140
 
142
- # Gets or sets true if the font is formatted as subscript.
141
+ # Gets or sets a value indicating whether the font is formatted as subscript.
143
142
  attr_accessor :subscript
144
143
 
145
- # Gets or sets true if the font is formatted as superscript.
144
+ # Gets or sets a value indicating whether the font is formatted as superscript.
146
145
  attr_accessor :superscript
147
146
 
148
147
  # Gets or sets the font animation effect.
@@ -0,0 +1,192 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="font_dto.rb">
3
+ # Copyright (c) 2021 Aspose.Words for Cloud
4
+ # </copyright>
5
+ # <summary>
6
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ # of this software and associated documentation files (the "Software"), to deal
8
+ # in the Software without restriction, including without limitation the rights
9
+ # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ # copies of the Software, and to permit persons to whom the Software is
11
+ # furnished to do so, subject to the following conditions:
12
+ #
13
+ # The above copyright notice and this permission notice shall be included in all
14
+ # copies or substantial portions of the Software.
15
+ #
16
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ # SOFTWARE.
23
+ # </summary>
24
+ # ------------------------------------------------------------------------------------
25
+
26
+ require 'date'
27
+
28
+ module AsposeWordsCloud
29
+
30
+ class FontDto
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ }
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.swagger_types
39
+ {
40
+ }
41
+ end
42
+
43
+ # Initializes the object
44
+ # @param [Hash] attributes Model attributes in the form of hash
45
+ def initialize(attributes = {})
46
+ return unless attributes.is_a?(Hash)
47
+
48
+ # convert string to symbol for hash key
49
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
50
+
51
+ end
52
+
53
+ # Show invalid properties with the reasons. Usually used together with valid?
54
+ # @return Array for valid properies with the reasons
55
+ def list_invalid_properties
56
+ invalid_properties = []
57
+ return invalid_properties
58
+ end
59
+
60
+ # Check to see if the all the properties in the model are valid
61
+ # @return true if the model is valid
62
+ def valid?
63
+ return true
64
+ end
65
+
66
+ # Checks equality by comparing each attribute.
67
+ # @param [Object] Object to be compared
68
+ def ==(other)
69
+ return true if self.equal?(other)
70
+ self.class == other.class
71
+ end
72
+
73
+ # @see the `==` method
74
+ # @param [Object] Object to be compared
75
+ def eql?(other)
76
+ self == other
77
+ end
78
+
79
+ # Calculates hash code according to all attributes.
80
+ # @return [Fixnum] Hash code
81
+ def hash
82
+ [].hash
83
+ end
84
+
85
+ # Builds the object from hash
86
+ # @param [Hash] attributes Model attributes in the form of hash
87
+ # @return [Object] Returns the model itself
88
+ def build_from_hash(attributes)
89
+ return nil unless attributes.is_a?(Hash)
90
+ self.class.swagger_types.each_pair do |key, type|
91
+ if type =~ /\AArray<(.*)>/i
92
+ # check to ensure the input is an array given that the the attribute
93
+ # is documented as an array but the input is not
94
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
95
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
96
+ end
97
+ elsif !attributes[self.class.attribute_map[key]].nil?
98
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
99
+ end
100
+ # or else data not found in attributes(hash), not an issue as the data can be optional
101
+ end
102
+
103
+ self
104
+ end
105
+
106
+ # Deserializes the data based on type
107
+ # @param string type Data type
108
+ # @param string value Value to be deserialized
109
+ # @return [Object] Deserialized data
110
+ def _deserialize(type, value)
111
+ case type.to_sym
112
+ when :DateTime
113
+ Time.at(/\d/.match(value)[0].to_f).to_datetime
114
+ when :Date
115
+ Time.at(/\d/.match(value)[0].to_f).to_date
116
+ when :String
117
+ value.to_s
118
+ when :Integer
119
+ value.to_i
120
+ when :Float
121
+ value.to_f
122
+ when :BOOLEAN
123
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
124
+ true
125
+ else
126
+ false
127
+ end
128
+ when :Object
129
+ # generic object (usually a Hash), return directly
130
+ value
131
+ when /\AArray<(?<inner_type>.+)>\z/
132
+ inner_type = Regexp.last_match[:inner_type]
133
+ value.map { |v| _deserialize(inner_type, v) }
134
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
135
+ k_type = Regexp.last_match[:k_type]
136
+ v_type = Regexp.last_match[:v_type]
137
+ {}.tap do |hash|
138
+ value.each do |k, v|
139
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
140
+ end
141
+ end
142
+ else
143
+ # model
144
+ temp_model = AsposeWordsCloud.const_get(type).new
145
+ temp_model.build_from_hash(value)
146
+ end
147
+ end
148
+
149
+ # Returns the string representation of the object
150
+ # @return [String] String presentation of the object
151
+ def to_s
152
+ to_hash.to_s
153
+ end
154
+
155
+ # to_body is an alias to to_hash (backward compatibility)
156
+ # @return [Hash] Returns the object in the form of hash
157
+ def to_body
158
+ to_hash
159
+ end
160
+
161
+ # Returns the object in the form of hash
162
+ # @return [Hash] Returns the object in the form of hash
163
+ def to_hash
164
+ hash = {}
165
+ self.class.attribute_map.each_pair do |attr, param|
166
+ value = self.send(attr)
167
+ next if value.nil?
168
+ hash[param] = _to_hash(value)
169
+ end
170
+ hash
171
+ end
172
+
173
+ # Outputs non-array value in the form of hash
174
+ # For object, use to_hash. Otherwise, just return the value
175
+ # @param [Object] value Any valid value
176
+ # @return [Hash] Returns the value in the form of hash
177
+ def _to_hash(value)
178
+ if value.is_a?(Array)
179
+ value.compact.map { |v| _to_hash(v) }
180
+ elsif value.is_a?(Hash)
181
+ {}.tap do |hash|
182
+ value.each { |k, v| hash[k] = _to_hash(v) }
183
+ end
184
+ elsif value.respond_to? :to_hash
185
+ value.to_hash
186
+ else
187
+ value
188
+ end
189
+ end
190
+
191
+ end
192
+ end