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
@@ -0,0 +1,186 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="remove_all_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 remove_all_signatures_online operation.
30
+ #
31
+ class RemoveAllSignaturesOnlineRequest
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
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
48
+ attr_accessor :dest_file_name
49
+
50
+ #
51
+ # Initializes a new instance.
52
+ # @param document The document.
53
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
54
+ # @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.
55
+ # @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.
56
+ # @param open_type_support The value indicates whether OpenType support is on.
57
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
58
+
59
+ def initialize(document:, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
60
+ self.document = document
61
+ self.load_encoding = load_encoding
62
+ self.password = password
63
+ self.encrypted_password = encrypted_password
64
+ self.open_type_support = open_type_support
65
+ self.dest_file_name = dest_file_name
66
+ end
67
+
68
+ # Creating batch part from request
69
+ def to_batch_part(api_client, requestId, parentRequestId = nil)
70
+ # verify the required parameter 'document' is set
71
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.remove_all_signatures_online' if api_client.config.client_side_validation && self.document.nil?
72
+
73
+ # resource path
74
+ local_var_path = '/words/online/delete/signatures'[7..-1]
75
+ local_var_path = local_var_path.sub('//', '/')
76
+
77
+ # query parameters
78
+ query_params = {}
79
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
80
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
81
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
82
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
83
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
84
+
85
+ if query_params
86
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
87
+ end
88
+
89
+ header_params = {}
90
+ # header parameters
91
+ # HTTP header 'Content-Type'
92
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
93
+ header_params['RequestId'] = requestId
94
+
95
+ if parentRequestId != nil
96
+ header_params['DependsOn'] = parentRequestId
97
+ end
98
+
99
+ # form parameters
100
+ form_params = []
101
+ files_content = []
102
+ if self.document.nil?
103
+ raise "Parameter Document is required."
104
+ end
105
+ unless self.document.nil?
106
+ form_params.push({:'Name' => 'document', :'Data' => self.document, :'MimeType' =>'application/octet-stream'})
107
+ end
108
+
109
+
110
+ # http body (model)
111
+ body = api_client.build_request_body_batch(header_params, form_params, files_content)
112
+ part = ""
113
+ part.concat("PUT".force_encoding('UTF-8'))
114
+ part.concat(" ".force_encoding('UTF-8'))
115
+ part.concat(local_var_path.force_encoding('UTF-8'))
116
+ part.concat(" \r\n".force_encoding('UTF-8'))
117
+
118
+ 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')) }
119
+ part.concat("\r\n".force_encoding('UTF-8'))
120
+ if body
121
+ if body.is_a?(Hash)
122
+ body.each do |key, value|
123
+ part.concat(value, "\r\n")
124
+ end
125
+ else
126
+ part.concat(body)
127
+ end
128
+ end
129
+ part
130
+ end
131
+
132
+ def create_http_request(api_client)
133
+ # verify the required parameter 'document' is set
134
+ raise ArgumentError, 'Missing the required parameter document when calling WordsApi.remove_all_signatures_online' if api_client.config.client_side_validation && self.document.nil?
135
+
136
+ # resource path
137
+ local_var_path = '/words/online/delete/signatures'[1..-1]
138
+ local_var_path = local_var_path.sub('//', '/')
139
+
140
+ # query parameters
141
+ query_params = {}
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
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
147
+
148
+ # header parameters
149
+ header_params = {}
150
+ # HTTP header 'Content-Type'
151
+ header_params['Content-Type'] = api_client.select_header_content_type(['multipart/form-data'])
152
+
153
+ # form parameters
154
+ form_params = []
155
+ files_content = []
156
+ if self.document.nil?
157
+ raise "Parameter Document is required."
158
+ end
159
+ unless self.document.nil?
160
+ form_params.push({:'Name' => 'document', :'Data' => self.document, :'MimeType' =>'application/octet-stream'})
161
+ end
162
+
163
+ body = api_client.build_request_body(header_params, form_params, files_content)
164
+ {
165
+ 'method': :PUT,
166
+ 'path': local_var_path,
167
+ 'header_params': header_params,
168
+ 'query_params': query_params,
169
+ 'body': body,
170
+ 'auth_names': ['JWT']
171
+ }
172
+ end
173
+
174
+ #
175
+ # Helper method to convert first letter to downcase
176
+ #
177
+ def downcase_first_letter(str)
178
+ str[0].downcase + str[1..-1]
179
+ end
180
+
181
+ # Get response type
182
+ def get_response_type
183
+ 'RemoveAllSignaturesOnlineResponse'
184
+ end
185
+ end
186
+ end
@@ -0,0 +1,185 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="remove_all_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 remove_all_signatures operation.
30
+ #
31
+ class RemoveAllSignaturesRequest
32
+ # Name of the document with signatures.
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
+ # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
54
+ attr_accessor :dest_file_name
55
+
56
+ #
57
+ # Initializes a new instance.
58
+ # @param name Name of the document with signatures.
59
+ # @param folder Original document folder.
60
+ # @param storage Original document storage.
61
+ # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
62
+ # @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.
63
+ # @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.
64
+ # @param open_type_support The value indicates whether OpenType support is on.
65
+ # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
66
+
67
+ def initialize(name:, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
68
+ self.name = name
69
+ self.folder = folder
70
+ self.storage = storage
71
+ self.load_encoding = load_encoding
72
+ self.password = password
73
+ self.encrypted_password = encrypted_password
74
+ self.open_type_support = open_type_support
75
+ self.dest_file_name = dest_file_name
76
+ end
77
+
78
+ # Creating batch part from request
79
+ def to_batch_part(api_client, requestId, parentRequestId = nil)
80
+ # verify the required parameter 'name' is set
81
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.remove_all_signatures' if api_client.config.client_side_validation && self.name.nil?
82
+
83
+ # resource path
84
+ local_var_path = '/words/{name}/signatures'[7..-1]
85
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
86
+ local_var_path = local_var_path.sub('//', '/')
87
+
88
+ # query parameters
89
+ query_params = {}
90
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
91
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
92
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
93
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
94
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
95
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
96
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
97
+
98
+ if query_params
99
+ query_params.each { |key, value| local_var_path = api_client.add_param_to_query(local_var_path, key, value) }
100
+ end
101
+
102
+ header_params = {}
103
+ header_params['RequestId'] = requestId
104
+
105
+ if parentRequestId != nil
106
+ header_params['DependsOn'] = parentRequestId
107
+ end
108
+
109
+ # form parameters
110
+ form_params = []
111
+ files_content = []
112
+
113
+ # http body (model)
114
+ body = api_client.build_request_body_batch(header_params, form_params, files_content)
115
+ part = ""
116
+ part.concat("DELETE".force_encoding('UTF-8'))
117
+ part.concat(" ".force_encoding('UTF-8'))
118
+ part.concat(local_var_path.force_encoding('UTF-8'))
119
+ part.concat(" \r\n".force_encoding('UTF-8'))
120
+
121
+ 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')) }
122
+ part.concat("\r\n".force_encoding('UTF-8'))
123
+ if body
124
+ if body.is_a?(Hash)
125
+ body.each do |key, value|
126
+ part.concat(value, "\r\n")
127
+ end
128
+ else
129
+ part.concat(body)
130
+ end
131
+ end
132
+ part
133
+ end
134
+
135
+ def create_http_request(api_client)
136
+ # verify the required parameter 'name' is set
137
+ raise ArgumentError, 'Missing the required parameter name when calling WordsApi.remove_all_signatures' if api_client.config.client_side_validation && self.name.nil?
138
+
139
+ # resource path
140
+ local_var_path = '/words/{name}/signatures'[1..-1]
141
+ local_var_path = local_var_path.sub('{' + downcase_first_letter('Name') + '}', self.name.nil? ? '' : self.name.to_s)
142
+ local_var_path = local_var_path.sub('//', '/')
143
+
144
+ # query parameters
145
+ query_params = {}
146
+ query_params[downcase_first_letter('Folder')] = self.folder unless self.folder.nil?
147
+ query_params[downcase_first_letter('Storage')] = self.storage unless self.storage.nil?
148
+ query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
149
+ query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
150
+ query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
151
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
152
+ query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
153
+
154
+ # header parameters
155
+ header_params = {}
156
+ # HTTP header 'Content-Type'
157
+ header_params['Content-Type'] = api_client.select_header_content_type(['application/xml', 'application/json'])
158
+
159
+ # form parameters
160
+ form_params = []
161
+ files_content = []
162
+ body = api_client.build_request_body(header_params, form_params, files_content)
163
+ {
164
+ 'method': :DELETE,
165
+ 'path': local_var_path,
166
+ 'header_params': header_params,
167
+ 'query_params': query_params,
168
+ 'body': body,
169
+ 'auth_names': ['JWT']
170
+ }
171
+ end
172
+
173
+ #
174
+ # Helper method to convert first letter to downcase
175
+ #
176
+ def downcase_first_letter(str)
177
+ str[0].downcase + str[1..-1]
178
+ end
179
+
180
+ # Get response type
181
+ def get_response_type
182
+ 'SignatureCollectionResponse'
183
+ end
184
+ end
185
+ 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
  # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
51
54
  attr_accessor :dest_file_name
52
55
 
@@ -58,15 +61,17 @@ module AsposeWordsCloud
58
61
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
59
62
  # @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
63
  # @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.
64
+ # @param open_type_support The value indicates whether OpenType support is on.
61
65
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
62
66
 
63
- def initialize(document:, range_start_identifier:, range_end_identifier: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil)
67
+ def initialize(document:, range_start_identifier:, range_end_identifier: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
64
68
  self.document = document
65
69
  self.range_start_identifier = range_start_identifier
66
70
  self.range_end_identifier = range_end_identifier
67
71
  self.load_encoding = load_encoding
68
72
  self.password = password
69
73
  self.encrypted_password = encrypted_password
74
+ self.open_type_support = open_type_support
70
75
  self.dest_file_name = dest_file_name
71
76
  end
72
77
 
@@ -88,6 +93,7 @@ module AsposeWordsCloud
88
93
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
89
94
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
90
95
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
96
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
91
97
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
92
98
 
93
99
  if query_params
@@ -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
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
158
165
 
159
166
  # header parameters
@@ -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
  # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
57
60
  attr_accessor :dest_file_name
58
61
 
@@ -66,9 +69,10 @@ module AsposeWordsCloud
66
69
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
67
70
  # @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.
68
71
  # @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.
72
+ # @param open_type_support The value indicates whether OpenType support is on.
69
73
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
70
74
 
71
- def initialize(name:, range_start_identifier:, range_end_identifier: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil)
75
+ def initialize(name:, range_start_identifier:, range_end_identifier: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil)
72
76
  self.name = name
73
77
  self.range_start_identifier = range_start_identifier
74
78
  self.range_end_identifier = range_end_identifier
@@ -77,6 +81,7 @@ module AsposeWordsCloud
77
81
  self.load_encoding = load_encoding
78
82
  self.password = password
79
83
  self.encrypted_password = encrypted_password
84
+ self.open_type_support = open_type_support
80
85
  self.dest_file_name = dest_file_name
81
86
  end
82
87
 
@@ -101,6 +106,7 @@ module AsposeWordsCloud
101
106
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
102
107
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
103
108
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
109
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
104
110
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
105
111
 
106
112
  if query_params
@@ -160,6 +166,7 @@ module AsposeWordsCloud
160
166
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
161
167
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
162
168
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
169
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
163
170
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
164
171
 
165
172
  # header parameters
@@ -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
  # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
54
57
  attr_accessor :dest_file_name
55
58
 
@@ -65,10 +68,11 @@ module AsposeWordsCloud
65
68
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
66
69
  # @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.
67
70
  # @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.
71
+ # @param open_type_support The value indicates whether OpenType support is on.
68
72
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
69
73
  # @param fonts_location Folder in filestorage with custom fonts.
70
74
 
71
- def initialize(document:, format:, index:, node_path: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil, fonts_location: nil)
75
+ def initialize(document:, format:, index:, node_path: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil, fonts_location: nil)
72
76
  self.document = document
73
77
  self.format = format
74
78
  self.index = index
@@ -76,6 +80,7 @@ module AsposeWordsCloud
76
80
  self.load_encoding = load_encoding
77
81
  self.password = password
78
82
  self.encrypted_password = encrypted_password
83
+ self.open_type_support = open_type_support
79
84
  self.dest_file_name = dest_file_name
80
85
  self.fonts_location = fonts_location
81
86
  end
@@ -101,6 +106,7 @@ module AsposeWordsCloud
101
106
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
102
107
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
103
108
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
109
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
104
110
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
105
111
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
106
112
 
@@ -171,6 +177,7 @@ module AsposeWordsCloud
171
177
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
172
178
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
173
179
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
180
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
174
181
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
175
182
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
176
183
 
@@ -56,6 +56,9 @@ module AsposeWordsCloud
56
56
  # 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
57
  attr_accessor :encrypted_password
58
58
 
59
+ # The value indicates whether OpenType support is on.
60
+ attr_accessor :open_type_support
61
+
59
62
  # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
60
63
  attr_accessor :dest_file_name
61
64
 
@@ -73,10 +76,11 @@ module AsposeWordsCloud
73
76
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
74
77
  # @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.
75
78
  # @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.
79
+ # @param open_type_support The value indicates whether OpenType support is on.
76
80
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
77
81
  # @param fonts_location Folder in filestorage with custom fonts.
78
82
 
79
- def initialize(name:, format:, index:, node_path: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil, fonts_location: nil)
83
+ def initialize(name:, format:, index:, node_path: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil, fonts_location: nil)
80
84
  self.name = name
81
85
  self.format = format
82
86
  self.index = index
@@ -86,6 +90,7 @@ module AsposeWordsCloud
86
90
  self.load_encoding = load_encoding
87
91
  self.password = password
88
92
  self.encrypted_password = encrypted_password
93
+ self.open_type_support = open_type_support
89
94
  self.dest_file_name = dest_file_name
90
95
  self.fonts_location = fonts_location
91
96
  end
@@ -114,6 +119,7 @@ module AsposeWordsCloud
114
119
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
115
120
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
116
121
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
122
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
117
123
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
118
124
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
119
125
 
@@ -177,6 +183,7 @@ module AsposeWordsCloud
177
183
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
178
184
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
179
185
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
186
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
180
187
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
181
188
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
182
189
 
@@ -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
  # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
54
57
  attr_accessor :dest_file_name
55
58
 
@@ -65,10 +68,11 @@ module AsposeWordsCloud
65
68
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
66
69
  # @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.
67
70
  # @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.
71
+ # @param open_type_support The value indicates whether OpenType support is on.
68
72
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
69
73
  # @param fonts_location Folder in filestorage with custom fonts.
70
74
 
71
- def initialize(document:, format:, index:, node_path: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil, fonts_location: nil)
75
+ def initialize(document:, format:, index:, node_path: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil, fonts_location: nil)
72
76
  self.document = document
73
77
  self.format = format
74
78
  self.index = index
@@ -76,6 +80,7 @@ module AsposeWordsCloud
76
80
  self.load_encoding = load_encoding
77
81
  self.password = password
78
82
  self.encrypted_password = encrypted_password
83
+ self.open_type_support = open_type_support
79
84
  self.dest_file_name = dest_file_name
80
85
  self.fonts_location = fonts_location
81
86
  end
@@ -101,6 +106,7 @@ module AsposeWordsCloud
101
106
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
102
107
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
103
108
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
109
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
104
110
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
105
111
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
106
112
 
@@ -171,6 +177,7 @@ module AsposeWordsCloud
171
177
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
172
178
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
173
179
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
180
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
174
181
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
175
182
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
176
183
 
@@ -56,6 +56,9 @@ module AsposeWordsCloud
56
56
  # 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
57
  attr_accessor :encrypted_password
58
58
 
59
+ # The value indicates whether OpenType support is on.
60
+ attr_accessor :open_type_support
61
+
59
62
  # Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
60
63
  attr_accessor :dest_file_name
61
64
 
@@ -73,10 +76,11 @@ module AsposeWordsCloud
73
76
  # @param load_encoding Encoding that will be used to load an HTML (or TXT) document if the encoding is not specified in HTML.
74
77
  # @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.
75
78
  # @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.
79
+ # @param open_type_support The value indicates whether OpenType support is on.
76
80
  # @param dest_file_name Result path of the document after the operation. If this parameter is omitted then result of the operation will be saved as the source document.
77
81
  # @param fonts_location Folder in filestorage with custom fonts.
78
82
 
79
- def initialize(name:, format:, index:, node_path: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, dest_file_name: nil, fonts_location: nil)
83
+ def initialize(name:, format:, index:, node_path: nil, folder: nil, storage: nil, load_encoding: nil, password: nil, encrypted_password: nil, open_type_support: nil, dest_file_name: nil, fonts_location: nil)
80
84
  self.name = name
81
85
  self.format = format
82
86
  self.index = index
@@ -86,6 +90,7 @@ module AsposeWordsCloud
86
90
  self.load_encoding = load_encoding
87
91
  self.password = password
88
92
  self.encrypted_password = encrypted_password
93
+ self.open_type_support = open_type_support
89
94
  self.dest_file_name = dest_file_name
90
95
  self.fonts_location = fonts_location
91
96
  end
@@ -114,6 +119,7 @@ module AsposeWordsCloud
114
119
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
115
120
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
116
121
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
122
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
117
123
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
118
124
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
119
125
 
@@ -177,6 +183,7 @@ module AsposeWordsCloud
177
183
  query_params[downcase_first_letter('LoadEncoding')] = self.load_encoding unless self.load_encoding.nil?
178
184
  query_params[downcase_first_letter('Password')] = self.password unless self.password.nil?
179
185
  query_params[downcase_first_letter('EncryptedPassword')] = self.encrypted_password unless self.encrypted_password.nil?
186
+ query_params[downcase_first_letter('OpenTypeSupport')] = self.open_type_support unless self.open_type_support.nil?
180
187
  query_params[downcase_first_letter('DestFileName')] = self.dest_file_name unless self.dest_file_name.nil?
181
188
  query_params[downcase_first_letter('FontsLocation')] = self.fonts_location unless self.fonts_location.nil?
182
189