aspose_words_cloud 24.7.0 → 24.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (347) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aspose_words_cloud/api/words_api.rb +260 -0
  3. data/lib/aspose_words_cloud/models/azw3_save_options_data.rb +15 -1
  4. data/lib/aspose_words_cloud/models/digital_signature_details.rb +218 -0
  5. data/lib/aspose_words_cloud/models/epub_save_options_data.rb +15 -1
  6. data/lib/aspose_words_cloud/models/html_save_options_data.rb +15 -1
  7. data/lib/aspose_words_cloud/models/mhtml_save_options_data.rb +15 -1
  8. data/lib/aspose_words_cloud/models/open_xps_save_options_data.rb +14 -1
  9. data/lib/aspose_words_cloud/models/pdf_save_options_data.rb +13 -1
  10. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_online_request.rb +8 -1
  11. data/lib/aspose_words_cloud/models/requests/accept_all_revisions_request.rb +8 -1
  12. data/lib/aspose_words_cloud/models/requests/append_document_online_request.rb +8 -1
  13. data/lib/aspose_words_cloud/models/requests/append_document_request.rb +8 -1
  14. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_online_request.rb +8 -1
  15. data/lib/aspose_words_cloud/models/requests/apply_style_to_document_element_request.rb +8 -1
  16. data/lib/aspose_words_cloud/models/requests/build_report_request.rb +8 -1
  17. data/lib/aspose_words_cloud/models/requests/classify_document_online_request.rb +8 -1
  18. data/lib/aspose_words_cloud/models/requests/classify_document_request.rb +8 -1
  19. data/lib/aspose_words_cloud/models/requests/compare_document_online_request.rb +8 -1
  20. data/lib/aspose_words_cloud/models/requests/compare_document_request.rb +8 -1
  21. data/lib/aspose_words_cloud/models/requests/compress_document_online_request.rb +8 -1
  22. data/lib/aspose_words_cloud/models/requests/compress_document_request.rb +8 -1
  23. data/lib/aspose_words_cloud/models/requests/convert_document_request.rb +8 -1
  24. data/lib/aspose_words_cloud/models/requests/copy_style_online_request.rb +8 -1
  25. data/lib/aspose_words_cloud/models/requests/copy_style_request.rb +8 -1
  26. data/lib/aspose_words_cloud/models/requests/copy_styles_from_template_request.rb +8 -1
  27. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_online_request.rb +8 -1
  28. data/lib/aspose_words_cloud/models/requests/create_or_update_document_property_request.rb +8 -1
  29. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_online_request.rb +8 -1
  30. data/lib/aspose_words_cloud/models/requests/delete_all_paragraph_tab_stops_request.rb +8 -1
  31. data/lib/aspose_words_cloud/models/requests/delete_bookmark_online_request.rb +8 -1
  32. data/lib/aspose_words_cloud/models/requests/delete_bookmark_request.rb +8 -1
  33. data/lib/aspose_words_cloud/models/requests/delete_bookmarks_online_request.rb +8 -1
  34. data/lib/aspose_words_cloud/models/requests/delete_bookmarks_request.rb +8 -1
  35. data/lib/aspose_words_cloud/models/requests/delete_border_online_request.rb +8 -1
  36. data/lib/aspose_words_cloud/models/requests/delete_border_request.rb +8 -1
  37. data/lib/aspose_words_cloud/models/requests/delete_borders_online_request.rb +8 -1
  38. data/lib/aspose_words_cloud/models/requests/delete_borders_request.rb +8 -1
  39. data/lib/aspose_words_cloud/models/requests/delete_comment_online_request.rb +8 -1
  40. data/lib/aspose_words_cloud/models/requests/delete_comment_request.rb +8 -1
  41. data/lib/aspose_words_cloud/models/requests/delete_comments_online_request.rb +8 -1
  42. data/lib/aspose_words_cloud/models/requests/delete_comments_request.rb +8 -1
  43. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_online_request.rb +8 -1
  44. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_part_request.rb +8 -1
  45. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_online_request.rb +8 -1
  46. data/lib/aspose_words_cloud/models/requests/delete_custom_xml_parts_request.rb +8 -1
  47. data/lib/aspose_words_cloud/models/requests/delete_document_property_online_request.rb +8 -1
  48. data/lib/aspose_words_cloud/models/requests/delete_document_property_request.rb +8 -1
  49. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_online_request.rb +8 -1
  50. data/lib/aspose_words_cloud/models/requests/delete_drawing_object_request.rb +8 -1
  51. data/lib/aspose_words_cloud/models/requests/delete_field_online_request.rb +8 -1
  52. data/lib/aspose_words_cloud/models/requests/delete_field_request.rb +8 -1
  53. data/lib/aspose_words_cloud/models/requests/delete_fields_online_request.rb +8 -1
  54. data/lib/aspose_words_cloud/models/requests/delete_fields_request.rb +8 -1
  55. data/lib/aspose_words_cloud/models/requests/delete_footnote_online_request.rb +8 -1
  56. data/lib/aspose_words_cloud/models/requests/delete_footnote_request.rb +8 -1
  57. data/lib/aspose_words_cloud/models/requests/delete_form_field_online_request.rb +8 -1
  58. data/lib/aspose_words_cloud/models/requests/delete_form_field_request.rb +8 -1
  59. data/lib/aspose_words_cloud/models/requests/delete_header_footer_online_request.rb +8 -1
  60. data/lib/aspose_words_cloud/models/requests/delete_header_footer_request.rb +8 -1
  61. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_online_request.rb +8 -1
  62. data/lib/aspose_words_cloud/models/requests/delete_headers_footers_request.rb +8 -1
  63. data/lib/aspose_words_cloud/models/requests/delete_macros_online_request.rb +8 -1
  64. data/lib/aspose_words_cloud/models/requests/delete_macros_request.rb +8 -1
  65. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_online_request.rb +8 -1
  66. data/lib/aspose_words_cloud/models/requests/delete_office_math_object_request.rb +8 -1
  67. data/lib/aspose_words_cloud/models/requests/delete_office_math_objects_online_request.rb +8 -1
  68. data/lib/aspose_words_cloud/models/requests/delete_office_math_objects_request.rb +8 -1
  69. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_online_request.rb +8 -1
  70. data/lib/aspose_words_cloud/models/requests/delete_paragraph_list_format_request.rb +8 -1
  71. data/lib/aspose_words_cloud/models/requests/delete_paragraph_online_request.rb +8 -1
  72. data/lib/aspose_words_cloud/models/requests/delete_paragraph_request.rb +8 -1
  73. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_online_request.rb +8 -1
  74. data/lib/aspose_words_cloud/models/requests/delete_paragraph_tab_stop_request.rb +8 -1
  75. data/lib/aspose_words_cloud/models/requests/delete_run_online_request.rb +8 -1
  76. data/lib/aspose_words_cloud/models/requests/delete_run_request.rb +8 -1
  77. data/lib/aspose_words_cloud/models/requests/delete_section_online_request.rb +8 -1
  78. data/lib/aspose_words_cloud/models/requests/delete_section_request.rb +8 -1
  79. data/lib/aspose_words_cloud/models/requests/delete_structured_document_tag_online_request.rb +8 -1
  80. data/lib/aspose_words_cloud/models/requests/delete_structured_document_tag_request.rb +8 -1
  81. data/lib/aspose_words_cloud/models/requests/delete_table_cell_online_request.rb +8 -1
  82. data/lib/aspose_words_cloud/models/requests/delete_table_cell_request.rb +8 -1
  83. data/lib/aspose_words_cloud/models/requests/delete_table_online_request.rb +8 -1
  84. data/lib/aspose_words_cloud/models/requests/delete_table_request.rb +8 -1
  85. data/lib/aspose_words_cloud/models/requests/delete_table_row_online_request.rb +8 -1
  86. data/lib/aspose_words_cloud/models/requests/delete_table_row_request.rb +8 -1
  87. data/lib/aspose_words_cloud/models/requests/delete_watermark_online_request.rb +8 -1
  88. data/lib/aspose_words_cloud/models/requests/delete_watermark_request.rb +8 -1
  89. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_online_request.rb +8 -1
  90. data/lib/aspose_words_cloud/models/requests/execute_mail_merge_request.rb +15 -1
  91. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_online_request.rb +8 -1
  92. data/lib/aspose_words_cloud/models/requests/get_bookmark_by_name_request.rb +8 -1
  93. data/lib/aspose_words_cloud/models/requests/get_bookmarks_online_request.rb +8 -1
  94. data/lib/aspose_words_cloud/models/requests/get_bookmarks_request.rb +8 -1
  95. data/lib/aspose_words_cloud/models/requests/get_border_online_request.rb +8 -1
  96. data/lib/aspose_words_cloud/models/requests/get_border_request.rb +8 -1
  97. data/lib/aspose_words_cloud/models/requests/get_borders_online_request.rb +8 -1
  98. data/lib/aspose_words_cloud/models/requests/get_borders_request.rb +8 -1
  99. data/lib/aspose_words_cloud/models/requests/get_comment_online_request.rb +8 -1
  100. data/lib/aspose_words_cloud/models/requests/get_comment_request.rb +8 -1
  101. data/lib/aspose_words_cloud/models/requests/get_comments_online_request.rb +8 -1
  102. data/lib/aspose_words_cloud/models/requests/get_comments_request.rb +8 -1
  103. data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_online_request.rb +8 -1
  104. data/lib/aspose_words_cloud/models/requests/get_custom_xml_part_request.rb +8 -1
  105. data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_online_request.rb +8 -1
  106. data/lib/aspose_words_cloud/models/requests/get_custom_xml_parts_request.rb +8 -1
  107. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_online_request.rb +8 -1
  108. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_by_index_request.rb +8 -1
  109. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_online_request.rb +8 -1
  110. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_image_data_request.rb +8 -1
  111. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_online_request.rb +8 -1
  112. data/lib/aspose_words_cloud/models/requests/get_document_drawing_object_ole_data_request.rb +8 -1
  113. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_online_request.rb +8 -1
  114. data/lib/aspose_words_cloud/models/requests/get_document_drawing_objects_request.rb +8 -1
  115. data/lib/aspose_words_cloud/models/requests/get_document_field_names_online_request.rb +8 -1
  116. data/lib/aspose_words_cloud/models/requests/get_document_field_names_request.rb +8 -1
  117. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_online_request.rb +8 -1
  118. data/lib/aspose_words_cloud/models/requests/get_document_hyperlink_by_index_request.rb +8 -1
  119. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_online_request.rb +8 -1
  120. data/lib/aspose_words_cloud/models/requests/get_document_hyperlinks_request.rb +8 -1
  121. data/lib/aspose_words_cloud/models/requests/get_document_properties_online_request.rb +8 -1
  122. data/lib/aspose_words_cloud/models/requests/get_document_properties_request.rb +8 -1
  123. data/lib/aspose_words_cloud/models/requests/get_document_property_online_request.rb +8 -1
  124. data/lib/aspose_words_cloud/models/requests/get_document_property_request.rb +8 -1
  125. data/lib/aspose_words_cloud/models/requests/get_document_protection_online_request.rb +8 -1
  126. data/lib/aspose_words_cloud/models/requests/get_document_protection_request.rb +8 -1
  127. data/lib/aspose_words_cloud/models/requests/get_document_request.rb +8 -1
  128. data/lib/aspose_words_cloud/models/requests/get_document_statistics_online_request.rb +8 -1
  129. data/lib/aspose_words_cloud/models/requests/get_document_statistics_request.rb +8 -1
  130. data/lib/aspose_words_cloud/models/requests/get_document_with_format_request.rb +8 -1
  131. data/lib/aspose_words_cloud/models/requests/get_field_online_request.rb +8 -1
  132. data/lib/aspose_words_cloud/models/requests/get_field_request.rb +8 -1
  133. data/lib/aspose_words_cloud/models/requests/get_fields_online_request.rb +8 -1
  134. data/lib/aspose_words_cloud/models/requests/get_fields_request.rb +8 -1
  135. data/lib/aspose_words_cloud/models/requests/get_footnote_online_request.rb +8 -1
  136. data/lib/aspose_words_cloud/models/requests/get_footnote_request.rb +8 -1
  137. data/lib/aspose_words_cloud/models/requests/get_footnotes_online_request.rb +8 -1
  138. data/lib/aspose_words_cloud/models/requests/get_footnotes_request.rb +8 -1
  139. data/lib/aspose_words_cloud/models/requests/get_form_field_online_request.rb +8 -1
  140. data/lib/aspose_words_cloud/models/requests/get_form_field_request.rb +8 -1
  141. data/lib/aspose_words_cloud/models/requests/get_form_fields_online_request.rb +8 -1
  142. data/lib/aspose_words_cloud/models/requests/get_form_fields_request.rb +8 -1
  143. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_online_request.rb +8 -1
  144. data/lib/aspose_words_cloud/models/requests/get_header_footer_of_section_request.rb +8 -1
  145. data/lib/aspose_words_cloud/models/requests/get_header_footer_online_request.rb +8 -1
  146. data/lib/aspose_words_cloud/models/requests/get_header_footer_request.rb +8 -1
  147. data/lib/aspose_words_cloud/models/requests/get_header_footers_online_request.rb +8 -1
  148. data/lib/aspose_words_cloud/models/requests/get_header_footers_request.rb +8 -1
  149. data/lib/aspose_words_cloud/models/requests/get_list_online_request.rb +8 -1
  150. data/lib/aspose_words_cloud/models/requests/get_list_request.rb +8 -1
  151. data/lib/aspose_words_cloud/models/requests/get_lists_online_request.rb +8 -1
  152. data/lib/aspose_words_cloud/models/requests/get_lists_request.rb +8 -1
  153. data/lib/aspose_words_cloud/models/requests/get_office_math_object_online_request.rb +8 -1
  154. data/lib/aspose_words_cloud/models/requests/get_office_math_object_request.rb +8 -1
  155. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_online_request.rb +8 -1
  156. data/lib/aspose_words_cloud/models/requests/get_office_math_objects_request.rb +8 -1
  157. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_online_request.rb +8 -1
  158. data/lib/aspose_words_cloud/models/requests/get_paragraph_format_request.rb +8 -1
  159. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_online_request.rb +8 -1
  160. data/lib/aspose_words_cloud/models/requests/get_paragraph_list_format_request.rb +8 -1
  161. data/lib/aspose_words_cloud/models/requests/get_paragraph_online_request.rb +8 -1
  162. data/lib/aspose_words_cloud/models/requests/get_paragraph_request.rb +8 -1
  163. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_online_request.rb +8 -1
  164. data/lib/aspose_words_cloud/models/requests/get_paragraph_tab_stops_request.rb +8 -1
  165. data/lib/aspose_words_cloud/models/requests/get_paragraphs_online_request.rb +8 -1
  166. data/lib/aspose_words_cloud/models/requests/get_paragraphs_request.rb +8 -1
  167. data/lib/aspose_words_cloud/models/requests/get_range_text_online_request.rb +8 -1
  168. data/lib/aspose_words_cloud/models/requests/get_range_text_request.rb +8 -1
  169. data/lib/aspose_words_cloud/models/requests/get_run_font_online_request.rb +8 -1
  170. data/lib/aspose_words_cloud/models/requests/get_run_font_request.rb +8 -1
  171. data/lib/aspose_words_cloud/models/requests/get_run_online_request.rb +8 -1
  172. data/lib/aspose_words_cloud/models/requests/get_run_request.rb +8 -1
  173. data/lib/aspose_words_cloud/models/requests/get_runs_online_request.rb +8 -1
  174. data/lib/aspose_words_cloud/models/requests/get_runs_request.rb +8 -1
  175. data/lib/aspose_words_cloud/models/requests/get_section_online_request.rb +8 -1
  176. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_online_request.rb +8 -1
  177. data/lib/aspose_words_cloud/models/requests/get_section_page_setup_request.rb +8 -1
  178. data/lib/aspose_words_cloud/models/requests/get_section_request.rb +8 -1
  179. data/lib/aspose_words_cloud/models/requests/get_sections_online_request.rb +8 -1
  180. data/lib/aspose_words_cloud/models/requests/get_sections_request.rb +8 -1
  181. data/lib/aspose_words_cloud/models/requests/get_signatures_online_request.rb +179 -0
  182. data/lib/aspose_words_cloud/models/requests/get_signatures_request.rb +178 -0
  183. data/lib/aspose_words_cloud/models/requests/get_structured_document_tag_online_request.rb +8 -1
  184. data/lib/aspose_words_cloud/models/requests/get_structured_document_tag_request.rb +8 -1
  185. data/lib/aspose_words_cloud/models/requests/get_structured_document_tags_online_request.rb +8 -1
  186. data/lib/aspose_words_cloud/models/requests/get_structured_document_tags_request.rb +8 -1
  187. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_online_request.rb +8 -1
  188. data/lib/aspose_words_cloud/models/requests/get_style_from_document_element_request.rb +8 -1
  189. data/lib/aspose_words_cloud/models/requests/get_style_online_request.rb +8 -1
  190. data/lib/aspose_words_cloud/models/requests/get_style_request.rb +8 -1
  191. data/lib/aspose_words_cloud/models/requests/get_styles_online_request.rb +8 -1
  192. data/lib/aspose_words_cloud/models/requests/get_styles_request.rb +8 -1
  193. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_online_request.rb +8 -1
  194. data/lib/aspose_words_cloud/models/requests/get_table_cell_format_request.rb +8 -1
  195. data/lib/aspose_words_cloud/models/requests/get_table_cell_online_request.rb +8 -1
  196. data/lib/aspose_words_cloud/models/requests/get_table_cell_request.rb +8 -1
  197. data/lib/aspose_words_cloud/models/requests/get_table_online_request.rb +8 -1
  198. data/lib/aspose_words_cloud/models/requests/get_table_properties_online_request.rb +8 -1
  199. data/lib/aspose_words_cloud/models/requests/get_table_properties_request.rb +8 -1
  200. data/lib/aspose_words_cloud/models/requests/get_table_request.rb +8 -1
  201. data/lib/aspose_words_cloud/models/requests/get_table_row_format_online_request.rb +8 -1
  202. data/lib/aspose_words_cloud/models/requests/get_table_row_format_request.rb +8 -1
  203. data/lib/aspose_words_cloud/models/requests/get_table_row_online_request.rb +8 -1
  204. data/lib/aspose_words_cloud/models/requests/get_table_row_request.rb +8 -1
  205. data/lib/aspose_words_cloud/models/requests/get_tables_online_request.rb +8 -1
  206. data/lib/aspose_words_cloud/models/requests/get_tables_request.rb +8 -1
  207. data/lib/aspose_words_cloud/models/requests/insert_bookmark_online_request.rb +8 -1
  208. data/lib/aspose_words_cloud/models/requests/insert_bookmark_request.rb +8 -1
  209. data/lib/aspose_words_cloud/models/requests/insert_comment_online_request.rb +8 -1
  210. data/lib/aspose_words_cloud/models/requests/insert_comment_request.rb +8 -1
  211. data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_online_request.rb +8 -1
  212. data/lib/aspose_words_cloud/models/requests/insert_custom_xml_part_request.rb +8 -1
  213. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_online_request.rb +8 -1
  214. data/lib/aspose_words_cloud/models/requests/insert_drawing_object_request.rb +8 -1
  215. data/lib/aspose_words_cloud/models/requests/insert_field_online_request.rb +8 -1
  216. data/lib/aspose_words_cloud/models/requests/insert_field_request.rb +8 -1
  217. data/lib/aspose_words_cloud/models/requests/insert_footnote_online_request.rb +8 -1
  218. data/lib/aspose_words_cloud/models/requests/insert_footnote_request.rb +8 -1
  219. data/lib/aspose_words_cloud/models/requests/insert_form_field_online_request.rb +8 -1
  220. data/lib/aspose_words_cloud/models/requests/insert_form_field_request.rb +8 -1
  221. data/lib/aspose_words_cloud/models/requests/insert_header_footer_online_request.rb +8 -1
  222. data/lib/aspose_words_cloud/models/requests/insert_header_footer_request.rb +8 -1
  223. data/lib/aspose_words_cloud/models/requests/insert_list_online_request.rb +8 -1
  224. data/lib/aspose_words_cloud/models/requests/insert_list_request.rb +8 -1
  225. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_online_request.rb +8 -1
  226. data/lib/aspose_words_cloud/models/requests/insert_or_update_paragraph_tab_stop_request.rb +8 -1
  227. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_online_request.rb +8 -1
  228. data/lib/aspose_words_cloud/models/requests/insert_page_numbers_request.rb +8 -1
  229. data/lib/aspose_words_cloud/models/requests/insert_paragraph_online_request.rb +8 -1
  230. data/lib/aspose_words_cloud/models/requests/insert_paragraph_request.rb +8 -1
  231. data/lib/aspose_words_cloud/models/requests/insert_run_online_request.rb +8 -1
  232. data/lib/aspose_words_cloud/models/requests/insert_run_request.rb +8 -1
  233. data/lib/aspose_words_cloud/models/requests/insert_section_online_request.rb +8 -1
  234. data/lib/aspose_words_cloud/models/requests/insert_section_request.rb +8 -1
  235. data/lib/aspose_words_cloud/models/requests/insert_structured_document_tag_online_request.rb +8 -1
  236. data/lib/aspose_words_cloud/models/requests/insert_structured_document_tag_request.rb +8 -1
  237. data/lib/aspose_words_cloud/models/requests/insert_style_online_request.rb +8 -1
  238. data/lib/aspose_words_cloud/models/requests/insert_style_request.rb +8 -1
  239. data/lib/aspose_words_cloud/models/requests/insert_table_cell_online_request.rb +8 -1
  240. data/lib/aspose_words_cloud/models/requests/insert_table_cell_request.rb +8 -1
  241. data/lib/aspose_words_cloud/models/requests/insert_table_online_request.rb +8 -1
  242. data/lib/aspose_words_cloud/models/requests/insert_table_request.rb +8 -1
  243. data/lib/aspose_words_cloud/models/requests/insert_table_row_online_request.rb +8 -1
  244. data/lib/aspose_words_cloud/models/requests/insert_table_row_request.rb +8 -1
  245. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_online_request.rb +8 -1
  246. data/lib/aspose_words_cloud/models/requests/insert_watermark_image_request.rb +8 -1
  247. data/lib/aspose_words_cloud/models/requests/insert_watermark_online_request.rb +8 -1
  248. data/lib/aspose_words_cloud/models/requests/insert_watermark_request.rb +8 -1
  249. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_online_request.rb +8 -1
  250. data/lib/aspose_words_cloud/models/requests/insert_watermark_text_request.rb +8 -1
  251. data/lib/aspose_words_cloud/models/requests/link_header_footers_to_previous_request.rb +8 -1
  252. data/lib/aspose_words_cloud/models/requests/merge_with_next_online_request.rb +8 -1
  253. data/lib/aspose_words_cloud/models/requests/merge_with_next_request.rb +8 -1
  254. data/lib/aspose_words_cloud/models/requests/optimize_document_online_request.rb +8 -1
  255. data/lib/aspose_words_cloud/models/requests/optimize_document_request.rb +8 -1
  256. data/lib/aspose_words_cloud/models/requests/protect_document_online_request.rb +8 -1
  257. data/lib/aspose_words_cloud/models/requests/protect_document_request.rb +8 -1
  258. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_online_request.rb +8 -1
  259. data/lib/aspose_words_cloud/models/requests/reject_all_revisions_request.rb +8 -1
  260. data/lib/aspose_words_cloud/models/requests/remove_all_signatures_online_request.rb +186 -0
  261. data/lib/aspose_words_cloud/models/requests/remove_all_signatures_request.rb +185 -0
  262. data/lib/aspose_words_cloud/models/requests/remove_range_online_request.rb +8 -1
  263. data/lib/aspose_words_cloud/models/requests/remove_range_request.rb +8 -1
  264. data/lib/aspose_words_cloud/models/requests/render_drawing_object_online_request.rb +8 -1
  265. data/lib/aspose_words_cloud/models/requests/render_drawing_object_request.rb +8 -1
  266. data/lib/aspose_words_cloud/models/requests/render_math_object_online_request.rb +8 -1
  267. data/lib/aspose_words_cloud/models/requests/render_math_object_request.rb +8 -1
  268. data/lib/aspose_words_cloud/models/requests/render_page_online_request.rb +8 -1
  269. data/lib/aspose_words_cloud/models/requests/render_page_request.rb +8 -1
  270. data/lib/aspose_words_cloud/models/requests/render_paragraph_online_request.rb +8 -1
  271. data/lib/aspose_words_cloud/models/requests/render_paragraph_request.rb +8 -1
  272. data/lib/aspose_words_cloud/models/requests/render_table_online_request.rb +8 -1
  273. data/lib/aspose_words_cloud/models/requests/render_table_request.rb +8 -1
  274. data/lib/aspose_words_cloud/models/requests/replace_text_online_request.rb +8 -1
  275. data/lib/aspose_words_cloud/models/requests/replace_text_request.rb +8 -1
  276. data/lib/aspose_words_cloud/models/requests/replace_with_text_online_request.rb +8 -1
  277. data/lib/aspose_words_cloud/models/requests/replace_with_text_request.rb +8 -1
  278. data/lib/aspose_words_cloud/models/requests/save_as_online_request.rb +8 -1
  279. data/lib/aspose_words_cloud/models/requests/save_as_range_online_request.rb +8 -1
  280. data/lib/aspose_words_cloud/models/requests/save_as_range_request.rb +8 -1
  281. data/lib/aspose_words_cloud/models/requests/save_as_request.rb +8 -1
  282. data/lib/aspose_words_cloud/models/requests/save_as_tiff_online_request.rb +8 -1
  283. data/lib/aspose_words_cloud/models/requests/save_as_tiff_request.rb +8 -1
  284. data/lib/aspose_words_cloud/models/requests/search_online_request.rb +8 -1
  285. data/lib/aspose_words_cloud/models/requests/search_request.rb +8 -1
  286. data/lib/aspose_words_cloud/models/requests/sign_document_online_request.rb +208 -0
  287. data/lib/aspose_words_cloud/models/requests/sign_document_request.rb +207 -0
  288. data/lib/aspose_words_cloud/models/requests/split_document_online_request.rb +8 -1
  289. data/lib/aspose_words_cloud/models/requests/split_document_request.rb +8 -1
  290. data/lib/aspose_words_cloud/models/requests/translate_node_id_online_request.rb +8 -1
  291. data/lib/aspose_words_cloud/models/requests/translate_node_id_request.rb +8 -1
  292. data/lib/aspose_words_cloud/models/requests/unprotect_document_online_request.rb +8 -1
  293. data/lib/aspose_words_cloud/models/requests/unprotect_document_request.rb +8 -1
  294. data/lib/aspose_words_cloud/models/requests/update_bookmark_online_request.rb +8 -1
  295. data/lib/aspose_words_cloud/models/requests/update_bookmark_request.rb +8 -1
  296. data/lib/aspose_words_cloud/models/requests/update_border_online_request.rb +8 -1
  297. data/lib/aspose_words_cloud/models/requests/update_border_request.rb +8 -1
  298. data/lib/aspose_words_cloud/models/requests/update_comment_online_request.rb +8 -1
  299. data/lib/aspose_words_cloud/models/requests/update_comment_request.rb +8 -1
  300. data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_online_request.rb +8 -1
  301. data/lib/aspose_words_cloud/models/requests/update_custom_xml_part_request.rb +8 -1
  302. data/lib/aspose_words_cloud/models/requests/update_drawing_object_online_request.rb +8 -1
  303. data/lib/aspose_words_cloud/models/requests/update_drawing_object_request.rb +8 -1
  304. data/lib/aspose_words_cloud/models/requests/update_field_online_request.rb +8 -1
  305. data/lib/aspose_words_cloud/models/requests/update_field_request.rb +8 -1
  306. data/lib/aspose_words_cloud/models/requests/update_fields_online_request.rb +8 -1
  307. data/lib/aspose_words_cloud/models/requests/update_fields_request.rb +8 -1
  308. data/lib/aspose_words_cloud/models/requests/update_footnote_online_request.rb +8 -1
  309. data/lib/aspose_words_cloud/models/requests/update_footnote_request.rb +8 -1
  310. data/lib/aspose_words_cloud/models/requests/update_form_field_online_request.rb +8 -1
  311. data/lib/aspose_words_cloud/models/requests/update_form_field_request.rb +8 -1
  312. data/lib/aspose_words_cloud/models/requests/update_list_level_online_request.rb +8 -1
  313. data/lib/aspose_words_cloud/models/requests/update_list_level_request.rb +8 -1
  314. data/lib/aspose_words_cloud/models/requests/update_list_online_request.rb +8 -1
  315. data/lib/aspose_words_cloud/models/requests/update_list_request.rb +8 -1
  316. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_online_request.rb +8 -1
  317. data/lib/aspose_words_cloud/models/requests/update_paragraph_format_request.rb +8 -1
  318. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_online_request.rb +8 -1
  319. data/lib/aspose_words_cloud/models/requests/update_paragraph_list_format_request.rb +8 -1
  320. data/lib/aspose_words_cloud/models/requests/update_run_font_online_request.rb +8 -1
  321. data/lib/aspose_words_cloud/models/requests/update_run_font_request.rb +8 -1
  322. data/lib/aspose_words_cloud/models/requests/update_run_online_request.rb +8 -1
  323. data/lib/aspose_words_cloud/models/requests/update_run_request.rb +8 -1
  324. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_online_request.rb +8 -1
  325. data/lib/aspose_words_cloud/models/requests/update_section_page_setup_request.rb +8 -1
  326. data/lib/aspose_words_cloud/models/requests/update_structured_document_tag_online_request.rb +8 -1
  327. data/lib/aspose_words_cloud/models/requests/update_structured_document_tag_request.rb +8 -1
  328. data/lib/aspose_words_cloud/models/requests/update_style_online_request.rb +8 -1
  329. data/lib/aspose_words_cloud/models/requests/update_style_request.rb +8 -1
  330. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_online_request.rb +8 -1
  331. data/lib/aspose_words_cloud/models/requests/update_table_cell_format_request.rb +8 -1
  332. data/lib/aspose_words_cloud/models/requests/update_table_properties_online_request.rb +8 -1
  333. data/lib/aspose_words_cloud/models/requests/update_table_properties_request.rb +8 -1
  334. data/lib/aspose_words_cloud/models/requests/update_table_row_format_online_request.rb +8 -1
  335. data/lib/aspose_words_cloud/models/requests/update_table_row_format_request.rb +8 -1
  336. data/lib/aspose_words_cloud/models/responses/remove_all_signatures_online_response.rb +47 -0
  337. data/lib/aspose_words_cloud/models/responses/sign_document_online_response.rb +47 -0
  338. data/lib/aspose_words_cloud/models/sign_options.rb +254 -0
  339. data/lib/aspose_words_cloud/models/signature.rb +267 -0
  340. data/lib/aspose_words_cloud/models/signature_collection_response.rb +236 -0
  341. data/lib/aspose_words_cloud/models/svg_save_options_data.rb +13 -1
  342. data/lib/aspose_words_cloud/models/xaml_flow_pack_save_options_data.rb +15 -1
  343. data/lib/aspose_words_cloud/models/xaml_flow_save_options_data.rb +15 -1
  344. data/lib/aspose_words_cloud/models/xps_save_options_data.rb +14 -1
  345. data/lib/aspose_words_cloud/version.rb +1 -1
  346. data/lib/aspose_words_cloud.rb +10 -0
  347. metadata +14 -2
@@ -44,6 +44,9 @@ module AsposeWordsCloud
44
44
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
45
45
  attr_accessor :encrypted_password
46
46
 
47
+ # The value indicates whether OpenType support is on.
48
+ attr_accessor :open_type_support
49
+
47
50
  #
48
51
  # Initializes a new instance.
49
52
  # @param document The document.
@@ -51,13 +54,15 @@ module AsposeWordsCloud
51
54
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
52
55
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
53
56
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
57
+ # @param open_type_support The value indicates whether OpenType support is on.
54
58
 
55
- def initialize(document:, section_index:, load_encoding: nil, password: nil, encrypted_password: nil)
59
+ def initialize(document:, section_index:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
56
60
  self.document = document
57
61
  self.section_index = section_index
58
62
  self.load_encoding = load_encoding
59
63
  self.password = password
60
64
  self.encrypted_password = encrypted_password
65
+ self.open_type_support = open_type_support
61
66
  end
62
67
 
63
68
  # Creating batch part from request
@@ -77,6 +82,7 @@ module AsposeWordsCloud
77
82
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
78
83
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
79
84
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
85
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
80
86
 
81
87
  if query_params
82
88
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -141,6 +147,7 @@ module AsposeWordsCloud
141
147
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
142
148
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
143
149
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
150
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
144
151
 
145
152
  # header parameters
146
153
  header_params = {}
@@ -50,6 +50,9 @@ module AsposeWordsCloud
50
50
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
51
51
  attr_accessor :encrypted_password
52
52
 
53
+ # The value indicates whether OpenType support is on.
54
+ attr_accessor :open_type_support
55
+
53
56
  #
54
57
  # Initializes a new instance.
55
58
  # @param name The filename of the input document.
@@ -59,8 +62,9 @@ module AsposeWordsCloud
59
62
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
60
63
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
61
64
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
65
+ # @param open_type_support The value indicates whether OpenType support is on.
62
66
 
63
- def initialize(name:, section_index:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil)
67
+ def initialize(name:, section_index:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
64
68
  self.name = name
65
69
  self.section_index = section_index
66
70
  self.folder = folder
@@ -68,6 +72,7 @@ module AsposeWordsCloud
68
72
  self.load_encoding = load_encoding
69
73
  self.password = password
70
74
  self.encrypted_password = encrypted_password
75
+ self.open_type_support = open_type_support
71
76
  end
72
77
 
73
78
  # Creating batch part from request
@@ -90,6 +95,7 @@ module AsposeWordsCloud
90
95
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
91
96
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
92
97
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
98
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
93
99
 
94
100
  if query_params
95
101
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -147,6 +153,7 @@ module AsposeWordsCloud
147
153
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
148
154
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
149
155
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
156
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
150
157
 
151
158
  # header parameters
152
159
  header_params = {}
@@ -50,6 +50,9 @@ module AsposeWordsCloud
50
50
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
51
51
  attr_accessor :encrypted_password
52
52
 
53
+ # The value indicates whether OpenType support is on.
54
+ attr_accessor :open_type_support
55
+
53
56
  #
54
57
  # Initializes a new instance.
55
58
  # @param name The filename of the input document.
@@ -59,8 +62,9 @@ module AsposeWordsCloud
59
62
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
60
63
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
61
64
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
65
+ # @param open_type_support The value indicates whether OpenType support is on.
62
66
 
63
- def initialize(name:, section_index:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil)
67
+ def initialize(name:, section_index:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
64
68
  self.name = name
65
69
  self.section_index = section_index
66
70
  self.folder = folder
@@ -68,6 +72,7 @@ module AsposeWordsCloud
68
72
  self.load_encoding = load_encoding
69
73
  self.password = password
70
74
  self.encrypted_password = encrypted_password
75
+ self.open_type_support = open_type_support
71
76
  end
72
77
 
73
78
  # Creating batch part from request
@@ -90,6 +95,7 @@ module AsposeWordsCloud
90
95
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
91
96
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
92
97
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
98
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
93
99
 
94
100
  if query_params
95
101
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -147,6 +153,7 @@ module AsposeWordsCloud
147
153
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
148
154
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
149
155
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
156
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
150
157
 
151
158
  # header parameters
152
159
  header_params = {}
@@ -41,18 +41,23 @@ module AsposeWordsCloud
41
41
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
42
42
  attr_accessor :encrypted_password
43
43
 
44
+ # The value indicates whether OpenType support is on.
45
+ attr_accessor :open_type_support
46
+
44
47
  #
45
48
  # Initializes a new instance.
46
49
  # @param document The document.
47
50
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
48
51
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
49
52
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
53
+ # @param open_type_support The value indicates whether OpenType support is on.
50
54
 
51
- def initialize(document:, load_encoding: nil, password: nil, encrypted_password: nil)
55
+ def initialize(document:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
52
56
  self.document = document
53
57
  self.load_encoding = load_encoding
54
58
  self.password = password
55
59
  self.encrypted_password = encrypted_password
60
+ self.open_type_support = open_type_support
56
61
  end
57
62
 
58
63
  # Creating batch part from request
@@ -69,6 +74,7 @@ module AsposeWordsCloud
69
74
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
70
75
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
71
76
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
77
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
72
78
 
73
79
  if query_params
74
80
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -130,6 +136,7 @@ module AsposeWordsCloud
130
136
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
131
137
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
132
138
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
139
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
133
140
 
134
141
  # header parameters
135
142
  header_params = {}
@@ -47,6 +47,9 @@ module AsposeWordsCloud
47
47
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
48
48
  attr_accessor :encrypted_password
49
49
 
50
+ # The value indicates whether OpenType support is on.
51
+ attr_accessor :open_type_support
52
+
50
53
  #
51
54
  # Initializes a new instance.
52
55
  # @param name The filename of the input document.
@@ -55,14 +58,16 @@ module AsposeWordsCloud
55
58
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
56
59
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
57
60
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
61
+ # @param open_type_support The value indicates whether OpenType support is on.
58
62
 
59
- def initialize(name:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil)
63
+ def initialize(name:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
60
64
  self.name = name
61
65
  self.folder = folder
62
66
  self.storage = storage
63
67
  self.load_encoding = load_encoding
64
68
  self.password = password
65
69
  self.encrypted_password = encrypted_password
70
+ self.open_type_support = open_type_support
66
71
  end
67
72
 
68
73
  # Creating batch part from request
@@ -82,6 +87,7 @@ module AsposeWordsCloud
82
87
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
83
88
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
84
89
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
90
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
85
91
 
86
92
  if query_params
87
93
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -136,6 +142,7 @@ module AsposeWordsCloud
136
142
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
137
143
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
138
144
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
145
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
139
146
 
140
147
  # header parameters
141
148
  header_params = {}
@@ -0,0 +1,179 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="get_signatures_online_request.rb">
3
+ # Copyright (c) 2024 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
+ module AsposeWordsCloud
27
+
28
+ #
29
+ # Request model for get_signatures_online operation.
30
+ #
31
+ class GetSignaturesOnlineRequest
32
+ # The document.
33
+ attr_accessor :document
34
+
35
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
36
+ attr_accessor :load_encoding
37
+
38
+ # Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
39
+ attr_accessor :password
40
+
41
+ # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
42
+ attr_accessor :encrypted_password
43
+
44
+ # The value indicates whether OpenType support is on.
45
+ attr_accessor :open_type_support
46
+
47
+ #
48
+ # Initializes a new instance.
49
+ # @param document The document.
50
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
51
+ # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
52
+ # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
53
+ # @param open_type_support The value indicates whether OpenType support is on.
54
+
55
+ def initialize(document:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
56
+ self.document = document
57
+ self.load_encoding = load_encoding
58
+ self.password = password
59
+ self.encrypted_password = encrypted_password
60
+ self.open_type_support = open_type_support
61
+ end
62
+
63
+ # Creating batch part from request
64
+ def to_batch_part(api_client, requestId, parentRequestId = nil)
65
+ # verify the required parameter 'document' is set
66
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_signatures_online' if api_client.config.client_side_validation && self.document.nil?
67
+
68
+ # resource path
69
+ local_var_path = '/words/online/get/signatures'[7..-1]
70
+ local_var_path = local_var_path.sub('//', '/')
71
+
72
+ # query parameters
73
+ query_params = {}
74
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
75
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
76
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
77
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
78
+
79
+ if query_params
80
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
81
+ end
82
+
83
+ header_params = {}
84
+ # header parameters
85
+ # HTTP header 'Content-Type'
86
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
87
+ header_params['RequestId'] = requestId
88
+
89
+ if parentRequestId != nil
90
+ header_params['DependsOn'] = parentRequestId
91
+ end
92
+
93
+ # form parameters
94
+ form_params = []
95
+ files_content = []
96
+ if self.document.nil?
97
+ raise "Parameter Document is required."
98
+ end
99
+ unless self.document.nil?
100
+ form_params.push({:'Name' => 'document', :'Data' => self.document, :'MimeType' =>'application/octet-stream'})
101
+ end
102
+
103
+
104
+ # http body (model)
105
+ body = api_client.build_request_body_batch(header_params, form_params, files_content)
106
+ part = ""
107
+ part.concat("PUT".force_encoding('UTF-8'))
108
+ part.concat(" ".force_encoding('UTF-8'))
109
+ part.concat(local_var_path.force_encoding('UTF-8'))
110
+ part.concat(" \r\n".force_encoding('UTF-8'))
111
+
112
+ header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
113
+ part.concat("\r\n".force_encoding('UTF-8'))
114
+ if body
115
+ if body.is_a?(Hash)
116
+ body.each do |key, value|
117
+ part.concat(value, "\r\n")
118
+ end
119
+ else
120
+ part.concat(body)
121
+ end
122
+ end
123
+ part
124
+ end
125
+
126
+ def create_http_request(api_client)
127
+ # verify the required parameter 'document' is set
128
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.get_signatures_online' if api_client.config.client_side_validation && self.document.nil?
129
+
130
+ # resource path
131
+ local_var_path = '/words/online/get/signatures'[1..-1]
132
+ local_var_path = local_var_path.sub('//', '/')
133
+
134
+ # query parameters
135
+ query_params = {}
136
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
137
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
138
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
139
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
140
+
141
+ # header parameters
142
+ header_params = {}
143
+ # HTTP header 'Content-Type'
144
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
145
+
146
+ # form parameters
147
+ form_params = []
148
+ files_content = []
149
+ if self.document.nil?
150
+ raise "Parameter Document is required."
151
+ end
152
+ unless self.document.nil?
153
+ form_params.push({:'Name' => 'document', :'Data' => self.document, :'MimeType' =>'application/octet-stream'})
154
+ end
155
+
156
+ body = api_client.build_request_body(header_params, form_params, files_content)
157
+ {
158
+ 'method': :PUT,
159
+ 'path': local_var_path,
160
+ 'header_params': header_params,
161
+ 'query_params': query_params,
162
+ 'body': body,
163
+ 'auth_names': ['JWT']
164
+ }
165
+ end
166
+
167
+ #
168
+ # Helper method to convert first letter to downcase
169
+ #
170
+ def downcase_first_letter(str)
171
+ str[0].downcase + str[1..-1]
172
+ end
173
+
174
+ # Get response type
175
+ def get_response_type
176
+ 'SignatureCollectionResponse'
177
+ end
178
+ end
179
+ end
@@ -0,0 +1,178 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="get_signatures_request.rb">
3
+ # Copyright (c) 2024 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
+ module AsposeWordsCloud
27
+
28
+ #
29
+ # Request model for get_signatures operation.
30
+ #
31
+ class GetSignaturesRequest
32
+ # The filename of the Word document.
33
+ attr_accessor :name
34
+
35
+ # Original document folder.
36
+ attr_accessor :folder
37
+
38
+ # Original document storage.
39
+ attr_accessor :storage
40
+
41
+ # Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
42
+ attr_accessor :load_encoding
43
+
44
+ # Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
45
+ attr_accessor :password
46
+
47
+ # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
48
+ attr_accessor :encrypted_password
49
+
50
+ # The value indicates whether OpenType support is on.
51
+ attr_accessor :open_type_support
52
+
53
+ #
54
+ # Initializes a new instance.
55
+ # @param name The filename of the Word document.
56
+ # @param folder Original document folder.
57
+ # @param storage Original document storage.
58
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
59
+ # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
60
+ # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
61
+ # @param open_type_support The value indicates whether OpenType support is on.
62
+
63
+ def initialize(name:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
64
+ self.name = name
65
+ self.folder = folder
66
+ self.storage = storage
67
+ self.load_encoding = load_encoding
68
+ self.password = password
69
+ self.encrypted_password = encrypted_password
70
+ self.open_type_support = open_type_support
71
+ end
72
+
73
+ # Creating batch part from request
74
+ def to_batch_part(api_client, requestId, parentRequestId = nil)
75
+ # verify the required parameter 'name' is set
76
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_signatures' if api_client.config.client_side_validation && self.name.nil?
77
+
78
+ # resource path
79
+ local_var_path = '/words/{name}/signatures'[7..-1]
80
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
81
+ local_var_path = local_var_path.sub('//', '/')
82
+
83
+ # query parameters
84
+ query_params = {}
85
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
86
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
87
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
88
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
89
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
90
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
91
+
92
+ if query_params
93
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
94
+ end
95
+
96
+ header_params = {}
97
+ header_params['RequestId'] = requestId
98
+
99
+ if parentRequestId != nil
100
+ header_params['DependsOn'] = parentRequestId
101
+ end
102
+
103
+ # form parameters
104
+ form_params = []
105
+ files_content = []
106
+
107
+ # http body (model)
108
+ body = api_client.build_request_body_batch(header_params, form_params, files_content)
109
+ part = ""
110
+ part.concat("GET".force_encoding('UTF-8'))
111
+ part.concat(" ".force_encoding('UTF-8'))
112
+ part.concat(local_var_path.force_encoding('UTF-8'))
113
+ part.concat(" \r\n".force_encoding('UTF-8'))
114
+
115
+ header_params.each_pair {|key, value| part.concat(key.dup.force_encoding('UTF-8') , ": ".force_encoding('UTF-8'), value.dup.force_encoding('UTF-8'), "\r\n".force_encoding('UTF-8')) }
116
+ part.concat("\r\n".force_encoding('UTF-8'))
117
+ if body
118
+ if body.is_a?(Hash)
119
+ body.each do |key, value|
120
+ part.concat(value, "\r\n")
121
+ end
122
+ else
123
+ part.concat(body)
124
+ end
125
+ end
126
+ part
127
+ end
128
+
129
+ def create_http_request(api_client)
130
+ # verify the required parameter 'name' is set
131
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.get_signatures' if api_client.config.client_side_validation && self.name.nil?
132
+
133
+ # resource path
134
+ local_var_path = '/words/{name}/signatures'[1..-1]
135
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
136
+ local_var_path = local_var_path.sub('//', '/')
137
+
138
+ # query parameters
139
+ query_params = {}
140
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
141
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
142
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
143
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
144
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
145
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
146
+
147
+ # header parameters
148
+ header_params = {}
149
+ # HTTP header 'Content-Type'
150
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
151
+
152
+ # form parameters
153
+ form_params = []
154
+ files_content = []
155
+ body = api_client.build_request_body(header_params, form_params, files_content)
156
+ {
157
+ 'method': :GET,
158
+ 'path': local_var_path,
159
+ 'header_params': header_params,
160
+ 'query_params': query_params,
161
+ 'body': body,
162
+ 'auth_names': ['JWT']
163
+ }
164
+ end
165
+
166
+ #
167
+ # Helper method to convert first letter to downcase
168
+ #
169
+ def downcase_first_letter(str)
170
+ str[0].downcase + str[1..-1]
171
+ end
172
+
173
+ # Get response type
174
+ def get_response_type
175
+ 'SignatureCollectionResponse'
176
+ end
177
+ end
178
+ end
@@ -47,6 +47,9 @@ module AsposeWordsCloud
47
47
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
48
48
  attr_accessor :encrypted_password
49
49
 
50
+ # The value indicates whether OpenType support is on.
51
+ attr_accessor :open_type_support
52
+
50
53
  #
51
54
  # Initializes a new instance.
52
55
  # @param document The document.
@@ -55,14 +58,16 @@ module AsposeWordsCloud
55
58
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
56
59
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
57
60
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
61
+ # @param open_type_support The value indicates whether OpenType support is on.
58
62
 
59
- def initialize(document:, index:, node_path: nil, load_encoding: nil, password: nil, encrypted_password: nil)
63
+ def initialize(document:, index:, node_path: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
60
64
  self.document = document
61
65
  self.index = index
62
66
  self.node_path = node_path
63
67
  self.load_encoding = load_encoding
64
68
  self.password = password
65
69
  self.encrypted_password = encrypted_password
70
+ self.open_type_support = open_type_support
66
71
  end
67
72
 
68
73
  # Creating batch part from request
@@ -83,6 +88,7 @@ module AsposeWordsCloud
83
88
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
84
89
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
85
90
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
91
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
86
92
 
87
93
  if query_params
88
94
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -148,6 +154,7 @@ module AsposeWordsCloud
148
154
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
149
155
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
150
156
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
157
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
151
158
 
152
159
  # header parameters
153
160
  header_params = {}
@@ -53,6 +53,9 @@ module AsposeWordsCloud
53
53
  # Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
54
54
  attr_accessor :encrypted_password
55
55
 
56
+ # The value indicates whether OpenType support is on.
57
+ attr_accessor :open_type_support
58
+
56
59
  #
57
60
  # Initializes a new instance.
58
61
  # @param name The filename of the input document.
@@ -63,8 +66,9 @@ module AsposeWordsCloud
63
66
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
64
67
  # @param password Password of protected Word document. Use the parameter to pass a password via SDK. SDK encrypts it automatically. We don't recommend to use the parameter to pass a plain password for direct call of API.
65
68
  # @param encrypted_password Password of protected Word document. Use the parameter to pass an encrypted password for direct calls of API. See SDK code for encyption details.
69
+ # @param open_type_support The value indicates whether OpenType support is on.
66
70
 
67
- def initialize(name:, index:, node_path: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil)
71
+ def initialize(name:, index:, node_path: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil)
68
72
  self.name = name
69
73
  self.index = index
70
74
  self.node_path = node_path
@@ -73,6 +77,7 @@ module AsposeWordsCloud
73
77
  self.load_encoding = load_encoding
74
78
  self.password = password
75
79
  self.encrypted_password = encrypted_password
80
+ self.open_type_support = open_type_support
76
81
  end
77
82
 
78
83
  # Creating batch part from request
@@ -96,6 +101,7 @@ module AsposeWordsCloud
96
101
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
97
102
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
98
103
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
104
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
99
105
 
100
106
  if query_params
101
107
  query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
@@ -154,6 +160,7 @@ module AsposeWordsCloud
154
160
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
155
161
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
156
162
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
163
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
157
164
 
158
165
  # header parameters
159
166
  header_params = {}