aspose_words_cloud 21.2.0 → 21.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (337) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud.rb +1 -0
  3. data/lib/aspose_words_cloud/api/words_api.rb +22 -0
  4. data/lib/aspose_words_cloud/api_client.rb +95 -7
  5. data/lib/aspose_words_cloud/configuration.rb +2 -1
  6. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +22 -1
  7. data/lib/aspose_words_cloud/models/compare_options.rb +11 -1
  8. data/lib/aspose_words_cloud/models/doc_save_options_data.rb +22 -1
  9. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +22 -1
  10. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +22 -1
  11. data/lib/aspose_words_cloud/models/fixed_page_save_options_data.rb +22 -1
  12. data/lib/aspose_words_cloud/models/font.rb +2 -2
  13. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +22 -1
  14. data/lib/aspose_words_cloud/models/html_fixed_save_options_data.rb +22 -1
  15. data/lib/aspose_words_cloud/models/html_save_options_data.rb +22 -1
  16. data/lib/aspose_words_cloud/models/image_save_options_data.rb +22 -1
  17. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +22 -1
  18. data/lib/aspose_words_cloud/models/markdown_save_options_data.rb +22 -1
  19. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +22 -1
  20. data/lib/aspose_words_cloud/models/odt_save_options_data.rb +22 -1
  21. data/lib/aspose_words_cloud/models/ooxml_save_options_data.rb +22 -1
  22. data/lib/aspose_words_cloud/models/paragraph_format.rb +2 -2
  23. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +2 -2
  24. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +2 -2
  25. data/lib/aspose_words_cloud/models/pcl_save_options_data.rb +22 -1
  26. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +22 -11
  27. data/lib/aspose_words_cloud/models/png_save_options_data.rb +22 -1
  28. data/lib/aspose_words_cloud/models/ps_save_options_data.rb +22 -1
  29. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +99 -0
  30. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +100 -0
  31. data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +109 -0
  32. data/lib/aspose_words_cloud/models/requests/append_document_request.rb +111 -0
  33. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +115 -0
  34. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +117 -0
  35. data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +107 -0
  36. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +115 -0
  37. data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +101 -0
  38. data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +102 -0
  39. data/lib/aspose_words_cloud/models/requests/classify_request.rb +93 -0
  40. data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +113 -1
  41. data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +107 -0
  42. data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +107 -0
  43. data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +102 -0
  44. data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +100 -0
  45. data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +109 -0
  46. data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +111 -0
  47. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +88 -0
  48. data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +92 -0
  49. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +115 -0
  50. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +117 -0
  51. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +107 -0
  52. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +108 -0
  53. data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +111 -0
  54. data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +112 -0
  55. data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +105 -0
  56. data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +106 -0
  57. data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +109 -0
  58. data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +110 -0
  59. data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +103 -0
  60. data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +104 -0
  61. data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +109 -0
  62. data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +110 -0
  63. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +111 -0
  64. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +112 -0
  65. data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +111 -0
  66. data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +112 -0
  67. data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +105 -0
  68. data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +106 -0
  69. data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +94 -0
  70. data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +94 -0
  71. data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +111 -0
  72. data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +112 -0
  73. data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +111 -0
  74. data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +112 -0
  75. data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +115 -0
  76. data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +116 -0
  77. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +111 -0
  78. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +112 -0
  79. data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +103 -0
  80. data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +104 -0
  81. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +111 -0
  82. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +112 -0
  83. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +111 -0
  84. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +112 -0
  85. data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +111 -0
  86. data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +112 -0
  87. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +113 -0
  88. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +114 -0
  89. data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +115 -0
  90. data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +116 -0
  91. data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +109 -0
  92. data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +110 -0
  93. data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +115 -0
  94. data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +116 -0
  95. data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +111 -0
  96. data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +112 -0
  97. data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +115 -0
  98. data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +116 -0
  99. data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +103 -0
  100. data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +104 -0
  101. data/lib/aspose_words_cloud/models/requests/download_file_request.rb +94 -0
  102. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +105 -0
  103. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +113 -0
  104. data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +84 -0
  105. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +103 -0
  106. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +104 -0
  107. data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +97 -0
  108. data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +98 -0
  109. data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +105 -0
  110. data/lib/aspose_words_cloud/models/requests/get_border_request.rb +106 -0
  111. data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +99 -0
  112. data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +100 -0
  113. data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +103 -0
  114. data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +104 -0
  115. data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +97 -0
  116. data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +98 -0
  117. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +105 -0
  118. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +106 -0
  119. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +105 -0
  120. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +106 -0
  121. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +105 -0
  122. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +106 -0
  123. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +99 -0
  124. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +100 -0
  125. data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +99 -0
  126. data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +100 -0
  127. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +103 -0
  128. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +104 -0
  129. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +97 -0
  130. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +98 -0
  131. data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +97 -0
  132. data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +98 -0
  133. data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +103 -0
  134. data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +104 -0
  135. data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +97 -0
  136. data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +98 -0
  137. data/lib/aspose_words_cloud/models/requests/get_document_request.rb +98 -0
  138. data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +103 -0
  139. data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +104 -0
  140. data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +108 -0
  141. data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +105 -0
  142. data/lib/aspose_words_cloud/models/requests/get_field_request.rb +106 -0
  143. data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +99 -0
  144. data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +100 -0
  145. data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +92 -0
  146. data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +105 -0
  147. data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +106 -0
  148. data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +99 -0
  149. data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +100 -0
  150. data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +105 -0
  151. data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +106 -0
  152. data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +99 -0
  153. data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +100 -0
  154. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +111 -0
  155. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +112 -0
  156. data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +105 -0
  157. data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +106 -0
  158. data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +105 -0
  159. data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +106 -0
  160. data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +103 -0
  161. data/lib/aspose_words_cloud/models/requests/get_list_request.rb +104 -0
  162. data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +97 -0
  163. data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +98 -0
  164. data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +105 -0
  165. data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +106 -0
  166. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +99 -0
  167. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +100 -0
  168. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +105 -0
  169. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +106 -0
  170. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +105 -0
  171. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +106 -0
  172. data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +105 -0
  173. data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +106 -0
  174. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +105 -0
  175. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +106 -0
  176. data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +99 -0
  177. data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +100 -0
  178. data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +105 -0
  179. data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +106 -0
  180. data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +109 -0
  181. data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +110 -0
  182. data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +109 -0
  183. data/lib/aspose_words_cloud/models/requests/get_run_request.rb +110 -0
  184. data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +103 -0
  185. data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +104 -0
  186. data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +103 -0
  187. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +103 -0
  188. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +104 -0
  189. data/lib/aspose_words_cloud/models/requests/get_section_request.rb +104 -0
  190. data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +97 -0
  191. data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +98 -0
  192. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +103 -0
  193. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +104 -0
  194. data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +103 -0
  195. data/lib/aspose_words_cloud/models/requests/get_style_request.rb +104 -0
  196. data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +97 -0
  197. data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +98 -0
  198. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +109 -0
  199. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +110 -0
  200. data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +109 -0
  201. data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +110 -0
  202. data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +105 -0
  203. data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +105 -0
  204. data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +106 -0
  205. data/lib/aspose_words_cloud/models/requests/get_table_request.rb +106 -0
  206. data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +109 -0
  207. data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +110 -0
  208. data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +109 -0
  209. data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +110 -0
  210. data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +99 -0
  211. data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +100 -0
  212. data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +109 -0
  213. data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +111 -0
  214. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +117 -0
  215. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +121 -0
  216. data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +113 -0
  217. data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +115 -0
  218. data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +111 -0
  219. data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +113 -0
  220. data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +113 -0
  221. data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +115 -0
  222. data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +115 -0
  223. data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +117 -0
  224. data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +109 -0
  225. data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +111 -0
  226. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +113 -0
  227. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +115 -0
  228. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +109 -0
  229. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +111 -0
  230. data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +113 -0
  231. data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +115 -0
  232. data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +117 -0
  233. data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +119 -0
  234. data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +109 -0
  235. data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +111 -0
  236. data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +115 -0
  237. data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +117 -0
  238. data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +111 -0
  239. data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +113 -0
  240. data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +115 -0
  241. data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +117 -0
  242. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +113 -0
  243. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +113 -0
  244. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +109 -0
  245. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +111 -0
  246. data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +93 -0
  247. data/lib/aspose_words_cloud/models/requests/move_file_request.rb +102 -0
  248. data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +100 -0
  249. data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +109 -0
  250. data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +111 -0
  251. data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +105 -0
  252. data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +107 -0
  253. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +99 -0
  254. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +100 -0
  255. data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +107 -0
  256. data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +108 -0
  257. data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +115 -0
  258. data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +116 -0
  259. data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +115 -0
  260. data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +116 -0
  261. data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +111 -0
  262. data/lib/aspose_words_cloud/models/requests/render_page_request.rb +112 -0
  263. data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +115 -0
  264. data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +116 -0
  265. data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +115 -0
  266. data/lib/aspose_words_cloud/models/requests/render_table_request.rb +116 -0
  267. data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +109 -0
  268. data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +111 -0
  269. data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +113 -0
  270. data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +115 -0
  271. data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +81 -0
  272. data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +105 -0
  273. data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +111 -0
  274. data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +113 -0
  275. data/lib/aspose_words_cloud/models/requests/save_as_request.rb +107 -0
  276. data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +139 -0
  277. data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +141 -0
  278. data/lib/aspose_words_cloud/models/requests/search_online_request.rb +103 -0
  279. data/lib/aspose_words_cloud/models/requests/search_request.rb +104 -0
  280. data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +113 -0
  281. data/lib/aspose_words_cloud/models/requests/split_document_request.rb +114 -0
  282. data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +105 -0
  283. data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +107 -0
  284. data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +115 -0
  285. data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +117 -0
  286. data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +117 -0
  287. data/lib/aspose_words_cloud/models/requests/update_border_request.rb +119 -0
  288. data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +115 -0
  289. data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +117 -0
  290. data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +123 -0
  291. data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +127 -0
  292. data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +117 -0
  293. data/lib/aspose_words_cloud/models/requests/update_field_request.rb +119 -0
  294. data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +99 -0
  295. data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +100 -0
  296. data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +117 -0
  297. data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +119 -0
  298. data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +117 -0
  299. data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +119 -0
  300. data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +121 -0
  301. data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +123 -0
  302. data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +115 -0
  303. data/lib/aspose_words_cloud/models/requests/update_list_request.rb +117 -0
  304. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +117 -0
  305. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +119 -0
  306. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +117 -0
  307. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +119 -0
  308. data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +121 -0
  309. data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +123 -0
  310. data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +121 -0
  311. data/lib/aspose_words_cloud/models/requests/update_run_request.rb +123 -0
  312. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +115 -0
  313. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +117 -0
  314. data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +115 -0
  315. data/lib/aspose_words_cloud/models/requests/update_style_request.rb +117 -0
  316. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +121 -0
  317. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +123 -0
  318. data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +117 -0
  319. data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +119 -0
  320. data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +121 -0
  321. data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +123 -0
  322. data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +101 -0
  323. data/lib/aspose_words_cloud/models/rtf_save_options_data.rb +22 -1
  324. data/lib/aspose_words_cloud/models/save_options_data.rb +22 -1
  325. data/lib/aspose_words_cloud/models/style.rb +2 -2
  326. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +22 -1
  327. data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
  328. data/lib/aspose_words_cloud/models/text_save_options_data.rb +22 -1
  329. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +22 -1
  330. data/lib/aspose_words_cloud/models/time_zone_info_data.rb +231 -0
  331. data/lib/aspose_words_cloud/models/txt_save_options_base_data.rb +22 -1
  332. data/lib/aspose_words_cloud/models/word_ml_save_options_data.rb +22 -1
  333. data/lib/aspose_words_cloud/models/xaml_fixed_save_options_data.rb +22 -1
  334. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +22 -1
  335. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +22 -1
  336. data/lib/aspose_words_cloud/version.rb +1 -1
  337. metadata +28 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e2d3dbc9743b0a7e65c4ff81ad00b6f3aff55938c46e2452dab0f2e64a84b3
4
- data.tar.gz: 49d97909659b556731b5544617b126a00985155462eb61f0fb0291c22cf2f856
3
+ metadata.gz: 0fab39e91be9a6adfe58f149efc6f9d96f6693ff94ed88f6038348f029b89f87
4
+ data.tar.gz: c6dd67d5a1433b8218b195a120eda50e8c7f92305269a92ae3bd14b089721f5e
5
5
  SHA512:
6
- metadata.gz: e2ebc5803e773d8a80f95331492c0c998645241c438249dade497a765475de554094f1152db7c1c46f31430c00125ca579ac8af2bd3c783822dedde0d013c18b
7
- data.tar.gz: 0e4c2207e5e66310e8b2a93c0c12f5a3fa299831eb63a82a4a59c219664deef365108b184088debbbbfa10e56069de4b09f93822c0cd6814fca59fb6c76a7a0c
6
+ metadata.gz: fd96b053acc75055f7b525f7a993f838608583ec8e677d67e6aa1da28b2c498170d2ec0d4d6eaedda7716dcb339119d3a26bb3f5f2e01daf5f70a21db810f723
7
+ data.tar.gz: 6202a720cc956df2552bdcd0a5d82555331de2249b3e861de55f2aa751f24d8a6046617ba2838488c418581ddf0beea44422d36e5c873fd23c666a5a8585d658
@@ -258,6 +258,7 @@ require_relative 'aspose_words_cloud/models/tab_stop_insert'
258
258
  require_relative 'aspose_words_cloud/models/tab_stops_response'
259
259
  require_relative 'aspose_words_cloud/models/text_save_options_data'
260
260
  require_relative 'aspose_words_cloud/models/tiff_save_options_data'
261
+ require_relative 'aspose_words_cloud/models/time_zone_info_data'
261
262
  require_relative 'aspose_words_cloud/models/txt_save_options_base_data'
262
263
  require_relative 'aspose_words_cloud/models/watermark_text'
263
264
  require_relative 'aspose_words_cloud/models/word_ml_save_options_data'
@@ -25,6 +25,7 @@
25
25
 
26
26
  require 'uri'
27
27
  require 'json'
28
+ require 'faraday'
28
29
 
29
30
  module AsposeWordsCloud
30
31
  #
@@ -40,6 +41,26 @@ module AsposeWordsCloud
40
41
  request_token
41
42
  end
42
43
 
44
+ def batch(requests)
45
+ raise ArgumentError, 'Requests array is nil' unless requests != nil
46
+ raise ArgumentError, 'There must be at least one request' unless requests.length != 0
47
+ form_params = {}
48
+ request_token
49
+ header_params = {'Content-Type' => 'multipart/form-data'}
50
+ @api_client.update_params_for_auth! header_params, {}, "JWT"
51
+ requests.each_with_index do |request, index|
52
+ form_params["request-#{index}"] = Faraday::ParamPart.new(request.to_batch_part(@api_client), "application/http; msgtype=request")
53
+ end
54
+ data, status_code, headers = @api_client.call_api(:PUT, "/v4.0/words/batch",
55
+ header_params: header_params,
56
+ query_params: {},
57
+ form_params: form_params,
58
+ body: nil,
59
+ batch: true,
60
+ parts: requests,
61
+ auth_names: ['JWT'])
62
+ end
63
+
43
64
  # Accepts all revisions in the document.
44
65
  # @param request AcceptAllRevisionsRequest
45
66
  # @return [RevisionsModificationResponse]
@@ -966,6 +987,7 @@ module AsposeWordsCloud
966
987
  form_params = {}
967
988
  form_params[downcase_first_letter('Document')] = request.document
968
989
  form_params[downcase_first_letter('CompareData')] = request.compare_data.to_body.to_json
990
+ form_params[downcase_first_letter('ComparingDocument')] = request.comparing_document
969
991
 
970
992
  # http body (model)
971
993
  post_body = nil
@@ -29,7 +29,7 @@ require 'logger'
29
29
  require 'tempfile'
30
30
  require 'uri'
31
31
  require 'faraday'
32
- require 'mimemagic'
32
+ require 'marcel'
33
33
  require 'multipart_parser/reader'
34
34
  require_relative 'version'
35
35
  require_relative 'api_error'
@@ -96,6 +96,8 @@ module AsposeWordsCloud
96
96
 
97
97
  if opts[:multipart_response] == true
98
98
  data = deserialize_multipart(response)
99
+ elsif opts[:batch] == true
100
+ data = deserialize_batch(response, opts[:parts])
99
101
  else
100
102
  data = deserialize(response.body, opts[:return_type]) if opts[:return_type]
101
103
  end
@@ -223,6 +225,50 @@ module AsposeWordsCloud
223
225
  parts
224
226
  end
225
227
 
228
+ # Deserialize batch
229
+ def deserialize_batch(response, requests)
230
+ result = { errors: [], parts: [] }
231
+ def result.part(name)
232
+ hash = self[:parts].detect { |h| h[:part].name == name }
233
+ [hash[:part], hash[:body].join]
234
+ end
235
+ responses_data = []
236
+ content_type = response.headers['content-type']
237
+ reader = MultipartParser::Reader.new(MultipartParser::Reader::extract_boundary_value(content_type))
238
+ reader.on_part do |part|
239
+ result[:parts] << thispart = {
240
+ part: part,
241
+ body: []
242
+ }
243
+ part.on_data do |chunk|
244
+ thispart[:body] << chunk
245
+ end
246
+ end
247
+ reader.on_error do |msg|
248
+ result[:errors] << msg
249
+ end
250
+ reader.write response.body
251
+ reader.ended? or raise Exception, 'Truncated multipart message'
252
+
253
+ separator = "\r\n\r\n"
254
+ result[:parts].each do |part|
255
+ part[:body] = part[:body].join("")
256
+ part_body = part[:body]
257
+ data_index = part_body.index(separator)
258
+ if data_index != nil
259
+ header_data = part_body[0..data_index]
260
+ body_data = part_body[data_index+separator.length, part_body.length]
261
+ part[:body] = body_data
262
+ end
263
+ end
264
+
265
+ result[:parts].each_with_index do |response_data, index|
266
+ return_type = requests[index].get_response_type
267
+ responses_data.push(deserialize(response_data[:body], return_type))
268
+ end
269
+ responses_data
270
+ end
271
+
226
272
  # Convert data to the given return type.
227
273
  # @param [Object] data Data to be converted
228
274
  # @param [String] return_type Return type
@@ -306,9 +352,10 @@ module AsposeWordsCloud
306
352
  def download_file_from_multipart(body)
307
353
  prefix = 'download-'
308
354
  prefix += '-' unless prefix.end_with?('-')
309
- tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding:body.encoding)
355
+ tempfile = Tempfile.open(prefix, @config.temp_folder_path, encoding:body.encoding, binmode: true)
310
356
  @tempfile = tempfile
311
357
  tempfile.write(body)
358
+ tempfile.size
312
359
  @config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
313
360
  "with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
314
361
  "will be deleted automatically with GC. It's also recommended to delete the temp file "\
@@ -339,14 +386,43 @@ module AsposeWordsCloud
339
386
  # @return [String] HTTP body data in the form of string
340
387
  def build_request_body(header_params, form_params, body)
341
388
  # http form
342
- if header_params['Content-Type'] == 'application/x-www-form-urlencoded' ||
343
- header_params['Content-Type'] == 'multipart/form-data'
389
+ if header_params['Content-Type']['application/x-www-form-urlencoded'] ||
390
+ header_params['Content-Type']['multipart/form-data']
391
+ data = {}
392
+ form_params.each do |key, value|
393
+ case value
394
+ when ::File, ::Tempfile
395
+ data[key] = Faraday::UploadIO.new(value.path, Marcel::Magic.by_magic(value).to_s, key)
396
+ when ::Array, nil, Faraday::ParamPart
397
+ data[key] = value
398
+ else
399
+ data[key] = value.to_s
400
+ end
401
+ end
402
+ elsif body
403
+ data = body.is_a?(String) ? body : body.to_json
404
+ else
405
+ data = nil
406
+ end
407
+ data
408
+ end
409
+
410
+ # Builds the HTTP request body
411
+ #
412
+ # @param [Hash] header_params Header parameters
413
+ # @param [Hash] form_params Query parameters
414
+ # @param [Object] body HTTP body (JSON/XML)
415
+ # @return [String] HTTP body data in the form of string
416
+ def build_request_body_batch(header_params, form_params, body)
417
+ # http form
418
+ if header_params['Content-Type']['application/x-www-form-urlencoded'] ||
419
+ header_params['Content-Type']['multipart/form-data']
344
420
  data = {}
345
421
  form_params.each do |key, value|
346
422
  case value
347
- when ::File
348
- data[key] = Faraday::UploadIO.new(value.path, MimeMagic.by_magic(value).to_s, key)
349
- when ::Array, nil
423
+ when ::File, ::Tempfile
424
+ data[key] = File.open(value.path, 'rb') { |f| f.read }
425
+ when ::Array, nil, Faraday::ParamPart
350
426
  data[key] = value
351
427
  else
352
428
  data[key] = value.to_s
@@ -360,6 +436,18 @@ module AsposeWordsCloud
360
436
  data
361
437
  end
362
438
 
439
+ # Append query parameter to url
440
+ #
441
+ # @param [String] url current url
442
+ # @param [String] param_name query parameter name
443
+ # @param [String] param_value query parameter value
444
+ def add_param_to_query(url, param_name, param_value)
445
+ uri = URI(url)
446
+ params = URI.decode_www_form(uri.query || "") << [param_name, param_value]
447
+ uri.query = URI.encode_www_form(params)
448
+ uri.to_s
449
+ end
450
+
363
451
  # Update hearder and query params based on authentication settings.
364
452
  #
365
453
  # @param [Hash] header_params Header parameters
@@ -119,7 +119,8 @@ module AsposeWordsCloud
119
119
  return URI.join(baseUrl, path).to_s
120
120
  end
121
121
 
122
- return URI.join(baseUrl, "/v4.0/", URI.encode(path)).to_s
122
+ p = URI::Parser.new
123
+ URI.join(baseUrl, "/v4.0/", p.escape(path)).to_s
123
124
  end
124
125
 
125
126
  # Gets API key (with prefix if set).
@@ -32,6 +32,9 @@ module AsposeWordsCloud
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
33
  attr_accessor :allow_embedding_post_script_fonts
34
34
 
35
+ # Gets or sets CustomTimeZoneInfo.
36
+ attr_accessor :custom_time_zone_info_data
37
+
35
38
  # Gets or sets the value determining how 3D effects are rendered.
36
39
  attr_accessor :dml3_d_effects_rendering_mode
37
40
 
@@ -48,6 +51,10 @@ module AsposeWordsCloud
48
51
  # Gets or sets the format of save.
49
52
  attr_accessor :save_format
50
53
 
54
+ # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
55
+ # Default value is false.
56
+ attr_accessor :update_created_time_property
57
+
51
58
  # 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.
52
59
  attr_accessor :update_fields
53
60
 
@@ -159,11 +166,13 @@ module AsposeWordsCloud
159
166
  def self.attribute_map
160
167
  {
161
168
  :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
169
+ :'custom_time_zone_info_data' => :'CustomTimeZoneInfoData',
162
170
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
163
171
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
164
172
  :'dml_rendering_mode' => :'DmlRenderingMode',
165
173
  :'file_name' => :'FileName',
166
174
  :'save_format' => :'SaveFormat',
175
+ :'update_created_time_property' => :'UpdateCreatedTimeProperty',
167
176
  :'update_fields' => :'UpdateFields',
168
177
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
169
178
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
@@ -196,11 +205,13 @@ module AsposeWordsCloud
196
205
  def self.swagger_types
197
206
  {
198
207
  :'allow_embedding_post_script_fonts' => :'BOOLEAN',
208
+ :'custom_time_zone_info_data' => :'TimeZoneInfoData',
199
209
  :'dml3_d_effects_rendering_mode' => :'String',
200
210
  :'dml_effects_rendering_mode' => :'String',
201
211
  :'dml_rendering_mode' => :'String',
202
212
  :'file_name' => :'String',
203
213
  :'save_format' => :'String',
214
+ :'update_created_time_property' => :'BOOLEAN',
204
215
  :'update_fields' => :'BOOLEAN',
205
216
  :'update_last_printed_property' => :'BOOLEAN',
206
217
  :'update_last_saved_time_property' => :'BOOLEAN',
@@ -241,6 +252,10 @@ module AsposeWordsCloud
241
252
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
242
253
  end
243
254
 
255
+ if attributes.key?(:'CustomTimeZoneInfoData')
256
+ self.custom_time_zone_info_data = attributes[:'CustomTimeZoneInfoData']
257
+ end
258
+
244
259
  if attributes.key?(:'Dml3DEffectsRenderingMode')
245
260
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
246
261
  end
@@ -261,6 +276,10 @@ module AsposeWordsCloud
261
276
  self.save_format = attributes[:'SaveFormat']
262
277
  end
263
278
 
279
+ if attributes.key?(:'UpdateCreatedTimeProperty')
280
+ self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
281
+ end
282
+
264
283
  if attributes.key?(:'UpdateFields')
265
284
  self.update_fields = attributes[:'UpdateFields']
266
285
  end
@@ -399,11 +418,13 @@ module AsposeWordsCloud
399
418
  return true if self.equal?(other)
400
419
  self.class == other.class &&
401
420
  allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
421
+ custom_time_zone_info_data == other.custom_time_zone_info_data &&
402
422
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
403
423
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
404
424
  dml_rendering_mode == other.dml_rendering_mode &&
405
425
  file_name == other.file_name &&
406
426
  save_format == other.save_format &&
427
+ update_created_time_property == other.update_created_time_property &&
407
428
  update_fields == other.update_fields &&
408
429
  update_last_printed_property == other.update_last_printed_property &&
409
430
  update_last_saved_time_property == other.update_last_saved_time_property &&
@@ -440,7 +461,7 @@ module AsposeWordsCloud
440
461
  # Calculates hash code according to all attributes.
441
462
  # @return [Fixnum] Hash code
442
463
  def hash
443
- [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
464
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, color_mode, jpeg_quality, metafile_rendering_options, numeral_format, optimize_output, page_count, page_index, graphics_quality_options, horizontal_resolution, image_brightness, image_color_mode, image_contrast, paper_color, pixel_format, resolution, scale, use_anti_aliasing, use_gdi_emf_renderer, use_high_quality_rendering, vertical_resolution].hash
444
465
  end
445
466
 
446
467
  # Builds the object from hash
@@ -29,6 +29,9 @@ module AsposeWordsCloud
29
29
 
30
30
  # DTO container with compare documents options.
31
31
  class CompareOptions
32
+ # Gets or sets whether accept revisions before comparison or not.
33
+ attr_accessor :accept_all_revisions_before_comparison
34
+
32
35
  # Gets or sets a value indicating whether documents comparison is case insensitive. By default comparison is case sensitive.
33
36
  attr_accessor :ignore_case_changes
34
37
 
@@ -81,6 +84,7 @@ module AsposeWordsCloud
81
84
  # Attribute mapping from ruby-style variable name to JSON key.
82
85
  def self.attribute_map
83
86
  {
87
+ :'accept_all_revisions_before_comparison' => :'AcceptAllRevisionsBeforeComparison',
84
88
  :'ignore_case_changes' => :'IgnoreCaseChanges',
85
89
  :'ignore_comments' => :'IgnoreComments',
86
90
  :'ignore_fields' => :'IgnoreFields',
@@ -96,6 +100,7 @@ module AsposeWordsCloud
96
100
  # Attribute type mapping.
97
101
  def self.swagger_types
98
102
  {
103
+ :'accept_all_revisions_before_comparison' => :'BOOLEAN',
99
104
  :'ignore_case_changes' => :'BOOLEAN',
100
105
  :'ignore_comments' => :'BOOLEAN',
101
106
  :'ignore_fields' => :'BOOLEAN',
@@ -116,6 +121,10 @@ module AsposeWordsCloud
116
121
  # convert string to symbol for hash key
117
122
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
118
123
 
124
+ if attributes.key?(:'AcceptAllRevisionsBeforeComparison')
125
+ self.accept_all_revisions_before_comparison = attributes[:'AcceptAllRevisionsBeforeComparison']
126
+ end
127
+
119
128
  if attributes.key?(:'IgnoreCaseChanges')
120
129
  self.ignore_case_changes = attributes[:'IgnoreCaseChanges']
121
130
  end
@@ -189,6 +198,7 @@ module AsposeWordsCloud
189
198
  def ==(other)
190
199
  return true if self.equal?(other)
191
200
  self.class == other.class &&
201
+ accept_all_revisions_before_comparison == other.accept_all_revisions_before_comparison &&
192
202
  ignore_case_changes == other.ignore_case_changes &&
193
203
  ignore_comments == other.ignore_comments &&
194
204
  ignore_fields == other.ignore_fields &&
@@ -209,7 +219,7 @@ module AsposeWordsCloud
209
219
  # Calculates hash code according to all attributes.
210
220
  # @return [Fixnum] Hash code
211
221
  def hash
212
- [ignore_case_changes, ignore_comments, ignore_fields, ignore_footnotes, ignore_formatting, ignore_headers_and_footers, ignore_tables, ignore_textboxes, target].hash
222
+ [accept_all_revisions_before_comparison, ignore_case_changes, ignore_comments, ignore_fields, ignore_footnotes, ignore_formatting, ignore_headers_and_footers, ignore_tables, ignore_textboxes, target].hash
213
223
  end
214
224
 
215
225
  # Builds the object from hash
@@ -32,6 +32,9 @@ module AsposeWordsCloud
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
33
  attr_accessor :allow_embedding_post_script_fonts
34
34
 
35
+ # Gets or sets CustomTimeZoneInfo.
36
+ attr_accessor :custom_time_zone_info_data
37
+
35
38
  # Gets or sets the value determining how 3D effects are rendered.
36
39
  attr_accessor :dml3_d_effects_rendering_mode
37
40
 
@@ -48,6 +51,10 @@ module AsposeWordsCloud
48
51
  # Gets or sets the format of save.
49
52
  attr_accessor :save_format
50
53
 
54
+ # Gets or sets a value determining whether the Aspose.Words.Properties.BuiltInDocumentProperties.CreatedTime property is updated before saving.
55
+ # Default value is false.
56
+ attr_accessor :update_created_time_property
57
+
51
58
  # 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.
52
59
  attr_accessor :update_fields
53
60
 
@@ -104,11 +111,13 @@ module AsposeWordsCloud
104
111
  def self.attribute_map
105
112
  {
106
113
  :'allow_embedding_post_script_fonts' => :'AllowEmbeddingPostScriptFonts',
114
+ :'custom_time_zone_info_data' => :'CustomTimeZoneInfoData',
107
115
  :'dml3_d_effects_rendering_mode' => :'Dml3DEffectsRenderingMode',
108
116
  :'dml_effects_rendering_mode' => :'DmlEffectsRenderingMode',
109
117
  :'dml_rendering_mode' => :'DmlRenderingMode',
110
118
  :'file_name' => :'FileName',
111
119
  :'save_format' => :'SaveFormat',
120
+ :'update_created_time_property' => :'UpdateCreatedTimeProperty',
112
121
  :'update_fields' => :'UpdateFields',
113
122
  :'update_last_printed_property' => :'UpdateLastPrintedProperty',
114
123
  :'update_last_saved_time_property' => :'UpdateLastSavedTimeProperty',
@@ -125,11 +134,13 @@ module AsposeWordsCloud
125
134
  def self.swagger_types
126
135
  {
127
136
  :'allow_embedding_post_script_fonts' => :'BOOLEAN',
137
+ :'custom_time_zone_info_data' => :'TimeZoneInfoData',
128
138
  :'dml3_d_effects_rendering_mode' => :'String',
129
139
  :'dml_effects_rendering_mode' => :'String',
130
140
  :'dml_rendering_mode' => :'String',
131
141
  :'file_name' => :'String',
132
142
  :'save_format' => :'String',
143
+ :'update_created_time_property' => :'BOOLEAN',
133
144
  :'update_fields' => :'BOOLEAN',
134
145
  :'update_last_printed_property' => :'BOOLEAN',
135
146
  :'update_last_saved_time_property' => :'BOOLEAN',
@@ -154,6 +165,10 @@ module AsposeWordsCloud
154
165
  self.allow_embedding_post_script_fonts = attributes[:'AllowEmbeddingPostScriptFonts']
155
166
  end
156
167
 
168
+ if attributes.key?(:'CustomTimeZoneInfoData')
169
+ self.custom_time_zone_info_data = attributes[:'CustomTimeZoneInfoData']
170
+ end
171
+
157
172
  if attributes.key?(:'Dml3DEffectsRenderingMode')
158
173
  self.dml3_d_effects_rendering_mode = attributes[:'Dml3DEffectsRenderingMode']
159
174
  end
@@ -174,6 +189,10 @@ module AsposeWordsCloud
174
189
  self.save_format = attributes[:'SaveFormat']
175
190
  end
176
191
 
192
+ if attributes.key?(:'UpdateCreatedTimeProperty')
193
+ self.update_created_time_property = attributes[:'UpdateCreatedTimeProperty']
194
+ end
195
+
177
196
  if attributes.key?(:'UpdateFields')
178
197
  self.update_fields = attributes[:'UpdateFields']
179
198
  end
@@ -248,11 +267,13 @@ module AsposeWordsCloud
248
267
  return true if self.equal?(other)
249
268
  self.class == other.class &&
250
269
  allow_embedding_post_script_fonts == other.allow_embedding_post_script_fonts &&
270
+ custom_time_zone_info_data == other.custom_time_zone_info_data &&
251
271
  dml3_d_effects_rendering_mode == other.dml3_d_effects_rendering_mode &&
252
272
  dml_effects_rendering_mode == other.dml_effects_rendering_mode &&
253
273
  dml_rendering_mode == other.dml_rendering_mode &&
254
274
  file_name == other.file_name &&
255
275
  save_format == other.save_format &&
276
+ update_created_time_property == other.update_created_time_property &&
256
277
  update_fields == other.update_fields &&
257
278
  update_last_printed_property == other.update_last_printed_property &&
258
279
  update_last_saved_time_property == other.update_last_saved_time_property &&
@@ -273,7 +294,7 @@ module AsposeWordsCloud
273
294
  # Calculates hash code according to all attributes.
274
295
  # @return [Fixnum] Hash code
275
296
  def hash
276
- [allow_embedding_post_script_fonts, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
297
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, save_format, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, update_sdt_content, zip_output, always_compress_metafiles, password, save_picture_bullet, save_routing_slip].hash
277
298
  end
278
299
 
279
300
  # Builds the object from hash