aspose_words_cloud 21.8.0 → 21.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (338) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +100 -8
  3. data/lib/aspose_words_cloud/api_client.rb +25 -14
  4. data/lib/aspose_words_cloud/configuration.rb +7 -0
  5. data/lib/aspose_words_cloud/models/bmp_save_options_data.rb +1 -11
  6. data/lib/aspose_words_cloud/models/emf_save_options_data.rb +1 -11
  7. data/lib/aspose_words_cloud/models/field_options.rb +370 -0
  8. data/lib/aspose_words_cloud/models/font.rb +2 -2
  9. data/lib/aspose_words_cloud/models/gif_save_options_data.rb +1 -11
  10. data/lib/aspose_words_cloud/models/image_save_options_data.rb +1 -11
  11. data/lib/aspose_words_cloud/models/info_additional_item.rb +211 -0
  12. data/lib/aspose_words_cloud/models/info_response.rb +233 -0
  13. data/lib/aspose_words_cloud/models/jpeg_save_options_data.rb +1 -11
  14. data/lib/aspose_words_cloud/models/{string_format_data.rb → json_data_load_options.rb} +42 -119
  15. data/lib/aspose_words_cloud/models/paragraph_format.rb +2 -2
  16. data/lib/aspose_words_cloud/models/paragraph_format_base.rb +2 -2
  17. data/lib/aspose_words_cloud/models/paragraph_format_update.rb +2 -2
  18. data/lib/aspose_words_cloud/models/png_save_options_data.rb +1 -11
  19. data/lib/aspose_words_cloud/models/report_build_options.rb +1 -0
  20. data/lib/aspose_words_cloud/models/report_engine_settings.rb +24 -4
  21. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +2 -1
  22. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +2 -1
  23. data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +2 -1
  24. data/lib/aspose_words_cloud/models/requests/append_document_request.rb +2 -1
  25. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +2 -1
  26. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +2 -1
  27. data/lib/aspose_words_cloud/models/requests/batch_part_request.rb +57 -0
  28. data/lib/aspose_words_cloud/models/requests/build_report_online_request.rb +2 -1
  29. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +2 -1
  30. data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +2 -1
  31. data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +2 -1
  32. data/lib/aspose_words_cloud/models/requests/classify_request.rb +2 -1
  33. data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +2 -1
  34. data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +2 -1
  35. data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +2 -1
  36. data/lib/aspose_words_cloud/models/requests/copy_file_request.rb +2 -1
  37. data/lib/aspose_words_cloud/models/requests/copy_folder_request.rb +2 -1
  38. data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +2 -1
  39. data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +2 -1
  40. data/lib/aspose_words_cloud/models/requests/create_document_request.rb +2 -1
  41. data/lib/aspose_words_cloud/models/requests/create_folder_request.rb +2 -1
  42. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +2 -1
  43. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +2 -1
  44. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +2 -1
  45. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +2 -1
  46. data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +2 -1
  47. data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +2 -1
  48. data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +2 -1
  49. data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +2 -1
  50. data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +2 -1
  51. data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +2 -1
  52. data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +2 -1
  53. data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +2 -1
  54. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_online_request.rb +2 -1
  55. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_request.rb +2 -1
  56. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_online_request.rb +2 -1
  57. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_request.rb +2 -1
  58. data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +2 -1
  59. data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +2 -1
  60. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +2 -1
  61. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +2 -1
  62. data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +2 -1
  63. data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +2 -1
  64. data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +2 -1
  65. data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +2 -1
  66. data/lib/aspose_words_cloud/models/requests/delete_file_request.rb +2 -1
  67. data/lib/aspose_words_cloud/models/requests/delete_folder_request.rb +2 -1
  68. data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +2 -1
  69. data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +2 -1
  70. data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +2 -1
  71. data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +2 -1
  72. data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +2 -1
  73. data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +2 -1
  74. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +2 -1
  75. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +2 -1
  76. data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +2 -1
  77. data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +2 -1
  78. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +2 -1
  79. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +2 -1
  80. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +2 -1
  81. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +2 -1
  82. data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +2 -1
  83. data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +2 -1
  84. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +2 -1
  85. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +2 -1
  86. data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +2 -1
  87. data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +2 -1
  88. data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +2 -1
  89. data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +2 -1
  90. data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +2 -1
  91. data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +2 -1
  92. data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +2 -1
  93. data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +2 -1
  94. data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +2 -1
  95. data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +2 -1
  96. data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +2 -1
  97. data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +2 -1
  98. data/lib/aspose_words_cloud/models/requests/download_file_request.rb +2 -1
  99. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +10 -2
  100. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +10 -2
  101. data/lib/aspose_words_cloud/models/requests/get_available_fonts_request.rb +2 -1
  102. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +2 -1
  103. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +2 -1
  104. data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +2 -1
  105. data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +2 -1
  106. data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +2 -1
  107. data/lib/aspose_words_cloud/models/requests/get_border_request.rb +2 -1
  108. data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +2 -1
  109. data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +2 -1
  110. data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +2 -1
  111. data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +2 -1
  112. data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +2 -1
  113. data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +2 -1
  114. data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_online_request.rb +2 -1
  115. data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_request.rb +2 -1
  116. data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_online_request.rb +2 -1
  117. data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_request.rb +2 -1
  118. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +2 -1
  119. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +2 -1
  120. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +2 -1
  121. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +2 -1
  122. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +2 -1
  123. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +2 -1
  124. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +2 -1
  125. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +2 -1
  126. data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +2 -1
  127. data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +2 -1
  128. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +2 -1
  129. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +2 -1
  130. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +2 -1
  131. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +2 -1
  132. data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +2 -1
  133. data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +2 -1
  134. data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +2 -1
  135. data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +2 -1
  136. data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +2 -1
  137. data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +2 -1
  138. data/lib/aspose_words_cloud/models/requests/get_document_request.rb +2 -1
  139. data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +2 -1
  140. data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +2 -1
  141. data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +2 -1
  142. data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +2 -1
  143. data/lib/aspose_words_cloud/models/requests/get_field_request.rb +2 -1
  144. data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +2 -1
  145. data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +2 -1
  146. data/lib/aspose_words_cloud/models/requests/get_files_list_request.rb +2 -1
  147. data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +2 -1
  148. data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +2 -1
  149. data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +2 -1
  150. data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +2 -1
  151. data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +2 -1
  152. data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +2 -1
  153. data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +2 -1
  154. data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +2 -1
  155. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +2 -1
  156. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +2 -1
  157. data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +2 -1
  158. data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +2 -1
  159. data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +2 -1
  160. data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +2 -1
  161. data/lib/aspose_words_cloud/models/requests/get_info_request.rb +115 -0
  162. data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +2 -1
  163. data/lib/aspose_words_cloud/models/requests/get_list_request.rb +2 -1
  164. data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +2 -1
  165. data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +2 -1
  166. data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +2 -1
  167. data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +2 -1
  168. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +2 -1
  169. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +2 -1
  170. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +2 -1
  171. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +2 -1
  172. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +2 -1
  173. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +2 -1
  174. data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +2 -1
  175. data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +2 -1
  176. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +2 -1
  177. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +2 -1
  178. data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +2 -1
  179. data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +2 -1
  180. data/lib/aspose_words_cloud/models/requests/get_public_key_request.rb +2 -1
  181. data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +2 -1
  182. data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +2 -1
  183. data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +2 -1
  184. data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +2 -1
  185. data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +2 -1
  186. data/lib/aspose_words_cloud/models/requests/get_run_request.rb +2 -1
  187. data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +2 -1
  188. data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +2 -1
  189. data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +2 -1
  190. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +2 -1
  191. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +2 -1
  192. data/lib/aspose_words_cloud/models/requests/get_section_request.rb +2 -1
  193. data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +2 -1
  194. data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +2 -1
  195. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +2 -1
  196. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +2 -1
  197. data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +2 -1
  198. data/lib/aspose_words_cloud/models/requests/get_style_request.rb +2 -1
  199. data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +2 -1
  200. data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +2 -1
  201. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +2 -1
  202. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +2 -1
  203. data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +2 -1
  204. data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +2 -1
  205. data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +2 -1
  206. data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +2 -1
  207. data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +2 -1
  208. data/lib/aspose_words_cloud/models/requests/get_table_request.rb +2 -1
  209. data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +2 -1
  210. data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +2 -1
  211. data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +2 -1
  212. data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +2 -1
  213. data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +2 -1
  214. data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +2 -1
  215. data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +2 -1
  216. data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +2 -1
  217. data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_online_request.rb +2 -1
  218. data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_request.rb +2 -1
  219. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +2 -1
  220. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +2 -1
  221. data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +2 -1
  222. data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +2 -1
  223. data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +2 -1
  224. data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +2 -1
  225. data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +2 -1
  226. data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +2 -1
  227. data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +2 -1
  228. data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +2 -1
  229. data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +2 -1
  230. data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +2 -1
  231. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +2 -1
  232. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +2 -1
  233. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +2 -1
  234. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +2 -1
  235. data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +2 -1
  236. data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +2 -1
  237. data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +2 -1
  238. data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +2 -1
  239. data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +2 -1
  240. data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +2 -1
  241. data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +2 -1
  242. data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +2 -1
  243. data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +2 -1
  244. data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +2 -1
  245. data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +2 -1
  246. data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +2 -1
  247. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +2 -1
  248. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +2 -1
  249. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +2 -1
  250. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +2 -1
  251. data/lib/aspose_words_cloud/models/requests/load_web_document_request.rb +2 -1
  252. data/lib/aspose_words_cloud/models/requests/move_file_request.rb +2 -1
  253. data/lib/aspose_words_cloud/models/requests/move_folder_request.rb +2 -1
  254. data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +2 -1
  255. data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +2 -1
  256. data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +2 -1
  257. data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +2 -1
  258. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +2 -1
  259. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +2 -1
  260. data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +2 -1
  261. data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +2 -1
  262. data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +2 -1
  263. data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +2 -1
  264. data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +2 -1
  265. data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +2 -1
  266. data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +2 -1
  267. data/lib/aspose_words_cloud/models/requests/render_page_request.rb +2 -1
  268. data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +2 -1
  269. data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +2 -1
  270. data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +2 -1
  271. data/lib/aspose_words_cloud/models/requests/render_table_request.rb +2 -1
  272. data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +2 -1
  273. data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +2 -1
  274. data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +2 -1
  275. data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +2 -1
  276. data/lib/aspose_words_cloud/models/requests/reset_cache_request.rb +2 -1
  277. data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +2 -1
  278. data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +2 -1
  279. data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +2 -1
  280. data/lib/aspose_words_cloud/models/requests/save_as_request.rb +2 -1
  281. data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +2 -1
  282. data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +2 -1
  283. data/lib/aspose_words_cloud/models/requests/search_online_request.rb +2 -1
  284. data/lib/aspose_words_cloud/models/requests/search_request.rb +2 -1
  285. data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +2 -1
  286. data/lib/aspose_words_cloud/models/requests/split_document_request.rb +2 -1
  287. data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +2 -1
  288. data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +2 -1
  289. data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +2 -1
  290. data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +2 -1
  291. data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +2 -1
  292. data/lib/aspose_words_cloud/models/requests/update_border_request.rb +2 -1
  293. data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +2 -1
  294. data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +2 -1
  295. data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_online_request.rb +2 -1
  296. data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_request.rb +2 -1
  297. data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +2 -1
  298. data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +2 -1
  299. data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +2 -1
  300. data/lib/aspose_words_cloud/models/requests/update_field_request.rb +2 -1
  301. data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +2 -1
  302. data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +2 -1
  303. data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +2 -1
  304. data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +2 -1
  305. data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +2 -1
  306. data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +2 -1
  307. data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +2 -1
  308. data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +2 -1
  309. data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +2 -1
  310. data/lib/aspose_words_cloud/models/requests/update_list_request.rb +2 -1
  311. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +2 -1
  312. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +2 -1
  313. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +2 -1
  314. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +2 -1
  315. data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +2 -1
  316. data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +2 -1
  317. data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +2 -1
  318. data/lib/aspose_words_cloud/models/requests/update_run_request.rb +2 -1
  319. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +2 -1
  320. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +2 -1
  321. data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +2 -1
  322. data/lib/aspose_words_cloud/models/requests/update_style_request.rb +2 -1
  323. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +2 -1
  324. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +2 -1
  325. data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +2 -1
  326. data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +2 -1
  327. data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +2 -1
  328. data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +2 -1
  329. data/lib/aspose_words_cloud/models/requests/upload_file_request.rb +2 -1
  330. data/lib/aspose_words_cloud/models/style.rb +2 -2
  331. data/lib/aspose_words_cloud/models/table_properties.rb +2 -2
  332. data/lib/aspose_words_cloud/models/tiff_save_options_data.rb +1 -11
  333. data/lib/aspose_words_cloud/models/user_information.rb +221 -0
  334. data/lib/aspose_words_cloud/models/xml_data_load_options.rb +203 -0
  335. data/lib/aspose_words_cloud/version.rb +1 -1
  336. data/lib/aspose_words_cloud.rb +7 -2
  337. metadata +10 -4
  338. data/lib/aspose_words_cloud/models/graphics_quality_options_data.rb +0 -356
@@ -1,356 +0,0 @@
1
- # ------------------------------------------------------------------------------------
2
- # <copyright company="Aspose" file="graphics_quality_options_data.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
- # Allows to specify additional System.Drawing.Graphics quality options.
31
- class GraphicsQualityOptionsData
32
- # Gets or sets the value, that specifies how composited images are drawn to this Graphics.
33
- attr_accessor :compositing_mode
34
-
35
- # Gets or sets the rendering quality of composited images drawn to this Graphics.
36
- attr_accessor :compositing_quality
37
-
38
- # Gets or sets the interpolation mode associated with this Graphics.
39
- attr_accessor :interpolation_mode
40
-
41
- # Gets or sets the rendering quality for this Graphics.
42
- attr_accessor :smoothing_mode
43
-
44
- # Gets or sets text layout information (such as alignment, orientation and tab stops) display manipulations (such as ellipsis insertion and national digit substitution) and OpenType features.
45
- attr_accessor :string_format
46
-
47
- # Gets or sets the rendering mode for text associated with this Graphics.
48
- attr_accessor :text_rendering_hint
49
-
50
- class EnumAttributeValidator
51
- attr_reader :datatype
52
- attr_reader :allowable_values
53
-
54
- def initialize(datatype, allowable_values)
55
- @allowable_values = allowable_values.map do |value|
56
- case datatype.to_s
57
- when /Integer/i
58
- value.to_i
59
- when /Float/i
60
- value.to_f
61
- else
62
- value
63
- end
64
- end
65
- end
66
-
67
- def valid?(value)
68
- !value || allowable_values.include?(value)
69
- end
70
- end
71
-
72
- # Attribute mapping from ruby-style variable name to JSON key.
73
- def self.attribute_map
74
- {
75
- :'compositing_mode' => :'CompositingMode',
76
- :'compositing_quality' => :'CompositingQuality',
77
- :'interpolation_mode' => :'InterpolationMode',
78
- :'smoothing_mode' => :'SmoothingMode',
79
- :'string_format' => :'StringFormat',
80
- :'text_rendering_hint' => :'TextRenderingHint'
81
- }
82
- end
83
-
84
- # Attribute type mapping.
85
- def self.swagger_types
86
- {
87
- :'compositing_mode' => :'String',
88
- :'compositing_quality' => :'String',
89
- :'interpolation_mode' => :'String',
90
- :'smoothing_mode' => :'String',
91
- :'string_format' => :'StringFormatData',
92
- :'text_rendering_hint' => :'String'
93
- }
94
- end
95
-
96
- # Initializes the object
97
- # @param [Hash] attributes Model attributes in the form of hash
98
- def initialize(attributes = {})
99
- return unless attributes.is_a?(Hash)
100
-
101
- # convert string to symbol for hash key
102
- attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
103
-
104
- if attributes.key?(:'CompositingMode')
105
- self.compositing_mode = attributes[:'CompositingMode']
106
- end
107
-
108
- if attributes.key?(:'CompositingQuality')
109
- self.compositing_quality = attributes[:'CompositingQuality']
110
- end
111
-
112
- if attributes.key?(:'InterpolationMode')
113
- self.interpolation_mode = attributes[:'InterpolationMode']
114
- end
115
-
116
- if attributes.key?(:'SmoothingMode')
117
- self.smoothing_mode = attributes[:'SmoothingMode']
118
- end
119
-
120
- if attributes.key?(:'StringFormat')
121
- self.string_format = attributes[:'StringFormat']
122
- end
123
-
124
- if attributes.key?(:'TextRenderingHint')
125
- self.text_rendering_hint = attributes[:'TextRenderingHint']
126
- end
127
- end
128
-
129
- # Show invalid properties with the reasons. Usually used together with valid?
130
- # @return Array for valid properies with the reasons
131
- def list_invalid_properties
132
- invalid_properties = []
133
- return invalid_properties
134
- end
135
-
136
- # Check to see if the all the properties in the model are valid
137
- # @return true if the model is valid
138
- def valid?
139
- compositing_mode_validator = EnumAttributeValidator.new('String', ["SourceOver", "SourceCopy"])
140
- return false unless compositing_mode_validator.valid?(@compositing_mode)
141
- compositing_quality_validator = EnumAttributeValidator.new('String', ["Default", "HighSpeed", "HighQuality", "GammaCorrected", "AssumeLinear", "Invalid"])
142
- return false unless compositing_quality_validator.valid?(@compositing_quality)
143
- interpolation_mode_validator = EnumAttributeValidator.new('String', ["Default", "Low", "High", "Bilinear", "Bicubic", "NearestNeighbor", "HighQualityBilinear", "HighQualityBicubic", "Invalid"])
144
- return false unless interpolation_mode_validator.valid?(@interpolation_mode)
145
- smoothing_mode_validator = EnumAttributeValidator.new('String', ["Default", "HighSpeed", "HighQuality", "None", "AntiAlias", "Invalid"])
146
- return false unless smoothing_mode_validator.valid?(@smoothing_mode)
147
- text_rendering_hint_validator = EnumAttributeValidator.new('String', ["SystemDefault", "SingleBitPerPixelGridFit", "SingleBitPerPixel", "AntiAliasGridFit", "AntiAlias", "ClearTypeGridFit"])
148
- return false unless text_rendering_hint_validator.valid?(@text_rendering_hint)
149
-
150
- return true
151
- end
152
-
153
- # Custom attribute writer method checking allowed values (enum).
154
- # @param [Object] compositing_mode Object to be assigned
155
- def compositing_mode=(compositing_mode)
156
- validator = EnumAttributeValidator.new('String', ["SourceOver", "SourceCopy"])
157
- if compositing_mode.to_i == 0
158
- unless validator.valid?(compositing_mode)
159
- raise ArgumentError, "invalid value for 'compositing_mode', must be one of #{validator.allowable_values}."
160
- end
161
- @compositing_mode = compositing_mode
162
- else
163
- @compositing_mode = validator.allowable_values[compositing_mode.to_i]
164
- end
165
- end
166
-
167
- # Custom attribute writer method checking allowed values (enum).
168
- # @param [Object] compositing_quality Object to be assigned
169
- def compositing_quality=(compositing_quality)
170
- validator = EnumAttributeValidator.new('String', ["Default", "HighSpeed", "HighQuality", "GammaCorrected", "AssumeLinear", "Invalid"])
171
- if compositing_quality.to_i == 0
172
- unless validator.valid?(compositing_quality)
173
- raise ArgumentError, "invalid value for 'compositing_quality', must be one of #{validator.allowable_values}."
174
- end
175
- @compositing_quality = compositing_quality
176
- else
177
- @compositing_quality = validator.allowable_values[compositing_quality.to_i]
178
- end
179
- end
180
-
181
- # Custom attribute writer method checking allowed values (enum).
182
- # @param [Object] interpolation_mode Object to be assigned
183
- def interpolation_mode=(interpolation_mode)
184
- validator = EnumAttributeValidator.new('String', ["Default", "Low", "High", "Bilinear", "Bicubic", "NearestNeighbor", "HighQualityBilinear", "HighQualityBicubic", "Invalid"])
185
- if interpolation_mode.to_i == 0
186
- unless validator.valid?(interpolation_mode)
187
- raise ArgumentError, "invalid value for 'interpolation_mode', must be one of #{validator.allowable_values}."
188
- end
189
- @interpolation_mode = interpolation_mode
190
- else
191
- @interpolation_mode = validator.allowable_values[interpolation_mode.to_i]
192
- end
193
- end
194
-
195
- # Custom attribute writer method checking allowed values (enum).
196
- # @param [Object] smoothing_mode Object to be assigned
197
- def smoothing_mode=(smoothing_mode)
198
- validator = EnumAttributeValidator.new('String', ["Default", "HighSpeed", "HighQuality", "None", "AntiAlias", "Invalid"])
199
- if smoothing_mode.to_i == 0
200
- unless validator.valid?(smoothing_mode)
201
- raise ArgumentError, "invalid value for 'smoothing_mode', must be one of #{validator.allowable_values}."
202
- end
203
- @smoothing_mode = smoothing_mode
204
- else
205
- @smoothing_mode = validator.allowable_values[smoothing_mode.to_i]
206
- end
207
- end
208
-
209
- # Custom attribute writer method checking allowed values (enum).
210
- # @param [Object] text_rendering_hint Object to be assigned
211
- def text_rendering_hint=(text_rendering_hint)
212
- validator = EnumAttributeValidator.new('String', ["SystemDefault", "SingleBitPerPixelGridFit", "SingleBitPerPixel", "AntiAliasGridFit", "AntiAlias", "ClearTypeGridFit"])
213
- if text_rendering_hint.to_i == 0
214
- unless validator.valid?(text_rendering_hint)
215
- raise ArgumentError, "invalid value for 'text_rendering_hint', must be one of #{validator.allowable_values}."
216
- end
217
- @text_rendering_hint = text_rendering_hint
218
- else
219
- @text_rendering_hint = validator.allowable_values[text_rendering_hint.to_i]
220
- end
221
- end
222
-
223
-
224
- # Checks equality by comparing each attribute.
225
- # @param [Object] Object to be compared
226
- def ==(other)
227
- return true if self.equal?(other)
228
- self.class == other.class &&
229
- compositing_mode == other.compositing_mode &&
230
- compositing_quality == other.compositing_quality &&
231
- interpolation_mode == other.interpolation_mode &&
232
- smoothing_mode == other.smoothing_mode &&
233
- string_format == other.string_format &&
234
- text_rendering_hint == other.text_rendering_hint
235
- end
236
-
237
- # @see the `==` method
238
- # @param [Object] Object to be compared
239
- def eql?(other)
240
- self == other
241
- end
242
-
243
- # Calculates hash code according to all attributes.
244
- # @return [Fixnum] Hash code
245
- def hash
246
- [compositing_mode, compositing_quality, interpolation_mode, smoothing_mode, string_format, text_rendering_hint].hash
247
- end
248
-
249
- # Builds the object from hash
250
- # @param [Hash] attributes Model attributes in the form of hash
251
- # @return [Object] Returns the model itself
252
- def build_from_hash(attributes)
253
- return nil unless attributes.is_a?(Hash)
254
- self.class.swagger_types.each_pair do |key, type|
255
- if type =~ /\AArray<(.*)>/i
256
- # check to ensure the input is an array given that the the attribute
257
- # is documented as an array but the input is not
258
- if attributes[self.class.attribute_map[key]].is_a?(Array)
259
- self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
260
- end
261
- elsif !attributes[self.class.attribute_map[key]].nil?
262
- self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
263
- end
264
- # or else data not found in attributes(hash), not an issue as the data can be optional
265
- end
266
-
267
- self
268
- end
269
-
270
- # Deserializes the data based on type
271
- # @param string type Data type
272
- # @param string value Value to be deserialized
273
- # @return [Object] Deserialized data
274
- def _deserialize(type, value)
275
- case type.to_sym
276
- when :DateTime
277
- Time.at(/\d/.match(value)[0].to_f).to_datetime
278
- when :Date
279
- Time.at(/\d/.match(value)[0].to_f).to_date
280
- when :String
281
- value.to_s
282
- when :Integer
283
- value.to_i
284
- when :Float
285
- value.to_f
286
- when :BOOLEAN
287
- if value.to_s =~ /\A(true|t|yes|y|1)\z/i
288
- true
289
- else
290
- false
291
- end
292
- when :Object
293
- # generic object (usually a Hash), return directly
294
- value
295
- when /\AArray<(?<inner_type>.+)>\z/
296
- inner_type = Regexp.last_match[:inner_type]
297
- value.map { |v| _deserialize(inner_type, v) }
298
- when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
299
- k_type = Regexp.last_match[:k_type]
300
- v_type = Regexp.last_match[:v_type]
301
- {}.tap do |hash|
302
- value.each do |k, v|
303
- hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
304
- end
305
- end
306
- else
307
- # model
308
- temp_model = AsposeWordsCloud.const_get(type).new
309
- temp_model.build_from_hash(value)
310
- end
311
- end
312
-
313
- # Returns the string representation of the object
314
- # @return [String] String presentation of the object
315
- def to_s
316
- to_hash.to_s
317
- end
318
-
319
- # to_body is an alias to to_hash (backward compatibility)
320
- # @return [Hash] Returns the object in the form of hash
321
- def to_body
322
- to_hash
323
- end
324
-
325
- # Returns the object in the form of hash
326
- # @return [Hash] Returns the object in the form of hash
327
- def to_hash
328
- hash = {}
329
- self.class.attribute_map.each_pair do |attr, param|
330
- value = self.send(attr)
331
- next if value.nil?
332
- hash[param] = _to_hash(value)
333
- end
334
- hash
335
- end
336
-
337
- # Outputs non-array value in the form of hash
338
- # For object, use to_hash. Otherwise, just return the value
339
- # @param [Object] value Any valid value
340
- # @return [Hash] Returns the value in the form of hash
341
- def _to_hash(value)
342
- if value.is_a?(Array)
343
- value.compact.map { |v| _to_hash(v) }
344
- elsif value.is_a?(Hash)
345
- {}.tap do |hash|
346
- value.each { |k, v| hash[k] = _to_hash(v) }
347
- end
348
- elsif value.respond_to? :to_hash
349
- value.to_hash
350
- else
351
- value
352
- end
353
- end
354
-
355
- end
356
- end