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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c095972424b30a5cecb7e03b7637fbdbcb818ba259ab2aacd91ee7036e6d5b3
4
- data.tar.gz: 61bbb19e0e2941c7f68bda43f49c51fd98fd95a35035896a683fbd554b5b5819
3
+ metadata.gz: 8ee0212112c09a16fe6d24be99ddaae27fe6d314c41ab513c78bf75837b43185
4
+ data.tar.gz: dddf6467681c2866acc5807861fc6adfaeb29f40c6c51454ce3a652af61eec61
5
5
  SHA512:
6
- metadata.gz: 803caa8c75a0102de08e575078e1b7cb43fa3ebb36e6d9ed12bf3684d6a0d2246d0cb8c82103575a61356de9f9e1a74ee0e7863dd3f8766cf4b79de000ee7cf3
7
- data.tar.gz: aceb0b5817079ff424380535e07c79d853dd00e580d060ae8fe709e2e635b0dc0ebbc18bf773cc72c213fc14c884d414fb75968a6706b667f33b18c68755bf42
6
+ metadata.gz: a63cc1fddbf1cc586ec1c0d43f2255cb305479bd1c36395942a77f3a9bc41a1540f9bcb79b14911d9759b2d40577005a2ef3ae992cb8ab3c79e2c657288e6f6c
7
+ data.tar.gz: dd8613dab5883c32ac58a1ec6c06186a2a3093c6342706530166a1718e2a877222925f5475b2ba6710c013e0741198068dec764c65b1fe6cfd04aec255130be9
@@ -7858,6 +7858,90 @@ module AsposeWordsCloud
7858
7858
  [data, status_code, headers]
7859
7859
  end
7860
7860
 
7861
+ # Gets signatures from the document.
7862
+ # @param request GetSignaturesRequest
7863
+ # @return [SignatureCollectionResponse]
7864
+ def get_signatures(request)
7865
+ begin
7866
+ data, _status_code, _headers = get_signatures_with_http_info(request)
7867
+ rescue ApiError => e
7868
+ if e.code == 401
7869
+ request_token
7870
+ data, _status_code, _headers = get_signatures_with_http_info(request)
7871
+ else
7872
+ raise
7873
+ end
7874
+ end
7875
+ data
7876
+ end
7877
+
7878
+ # Gets signatures from the document.
7879
+ # @param request GetSignaturesRequest
7880
+ # @return [Array<(SignatureCollectionResponse, Fixnum, Hash)>]
7881
+ # SignatureCollectionResponse, response status code and response headers
7882
+ private def get_signatures_with_http_info(request)
7883
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? GetSignaturesRequest
7884
+
7885
+ @api_client.config.logger.debug 'Calling API: WordsApi.get_signatures ...' if @api_client.config.debugging
7886
+ request_data = request.create_http_request(@api_client)
7887
+
7888
+ data, status_code, headers = @api_client.call_api(
7889
+ request_data[:'method'],
7890
+ request_data[:'path'],
7891
+ header_params: request_data[:'header_params'],
7892
+ query_params: request_data[:'query_params'],
7893
+ body: request_data[:'body'],
7894
+ return_type: 'SignatureCollectionResponse')
7895
+ if @api_client.config.debugging
7896
+ @api_client.config.logger.debug "API called:
7897
+ WordsApi#get_signatures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7898
+ end
7899
+
7900
+ [data, status_code, headers]
7901
+ end
7902
+
7903
+ # Gets signatures from the document.
7904
+ # @param request GetSignaturesOnlineRequest
7905
+ # @return [SignatureCollectionResponse]
7906
+ def get_signatures_online(request)
7907
+ begin
7908
+ data, _status_code, _headers = get_signatures_online_with_http_info(request)
7909
+ rescue ApiError => e
7910
+ if e.code == 401
7911
+ request_token
7912
+ data, _status_code, _headers = get_signatures_online_with_http_info(request)
7913
+ else
7914
+ raise
7915
+ end
7916
+ end
7917
+ data
7918
+ end
7919
+
7920
+ # Gets signatures from the document.
7921
+ # @param request GetSignaturesOnlineRequest
7922
+ # @return [Array<(SignatureCollectionResponse, Fixnum, Hash)>]
7923
+ # SignatureCollectionResponse, response status code and response headers
7924
+ private def get_signatures_online_with_http_info(request)
7925
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? GetSignaturesOnlineRequest
7926
+
7927
+ @api_client.config.logger.debug 'Calling API: WordsApi.get_signatures_online ...' if @api_client.config.debugging
7928
+ request_data = request.create_http_request(@api_client)
7929
+
7930
+ data, status_code, headers = @api_client.call_api(
7931
+ request_data[:'method'],
7932
+ request_data[:'path'],
7933
+ header_params: request_data[:'header_params'],
7934
+ query_params: request_data[:'query_params'],
7935
+ body: request_data[:'body'],
7936
+ return_type: 'SignatureCollectionResponse')
7937
+ if @api_client.config.debugging
7938
+ @api_client.config.logger.debug "API called:
7939
+ WordsApi#get_signatures_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
7940
+ end
7941
+
7942
+ [data, status_code, headers]
7943
+ end
7944
+
7861
7945
  # Reads a StructuredDocumentTag (SDT) from the document node.
7862
7946
  # @param request GetStructuredDocumentTagRequest
7863
7947
  # @return [StructuredDocumentTagResponse]
@@ -11311,6 +11395,94 @@ module AsposeWordsCloud
11311
11395
  [mp_data, status_code, headers]
11312
11396
  end
11313
11397
 
11398
+ # Removes all signatures of the document.
11399
+ # @param request RemoveAllSignaturesRequest
11400
+ # @return [SignatureCollectionResponse]
11401
+ def remove_all_signatures(request)
11402
+ begin
11403
+ data, _status_code, _headers = remove_all_signatures_with_http_info(request)
11404
+ rescue ApiError => e
11405
+ if e.code == 401
11406
+ request_token
11407
+ data, _status_code, _headers = remove_all_signatures_with_http_info(request)
11408
+ else
11409
+ raise
11410
+ end
11411
+ end
11412
+ data
11413
+ end
11414
+
11415
+ # Removes all signatures of the document.
11416
+ # @param request RemoveAllSignaturesRequest
11417
+ # @return [Array<(SignatureCollectionResponse, Fixnum, Hash)>]
11418
+ # SignatureCollectionResponse, response status code and response headers
11419
+ private def remove_all_signatures_with_http_info(request)
11420
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? RemoveAllSignaturesRequest
11421
+
11422
+ @api_client.config.logger.debug 'Calling API: WordsApi.remove_all_signatures ...' if @api_client.config.debugging
11423
+ request_data = request.create_http_request(@api_client)
11424
+
11425
+ data, status_code, headers = @api_client.call_api(
11426
+ request_data[:'method'],
11427
+ request_data[:'path'],
11428
+ header_params: request_data[:'header_params'],
11429
+ query_params: request_data[:'query_params'],
11430
+ body: request_data[:'body'],
11431
+ return_type: 'SignatureCollectionResponse')
11432
+ if @api_client.config.debugging
11433
+ @api_client.config.logger.debug "API called:
11434
+ WordsApi#remove_all_signatures\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
11435
+ end
11436
+
11437
+ [data, status_code, headers]
11438
+ end
11439
+
11440
+ # Removes all signatures of the document.
11441
+ # @param request RemoveAllSignaturesOnlineRequest
11442
+ # @return [RemoveAllSignaturesOnlineResponse]
11443
+ def remove_all_signatures_online(request)
11444
+ begin
11445
+ data, _status_code, _headers = remove_all_signatures_online_with_http_info(request)
11446
+ rescue ApiError => e
11447
+ if e.code == 401
11448
+ request_token
11449
+ data, _status_code, _headers = remove_all_signatures_online_with_http_info(request)
11450
+ else
11451
+ raise
11452
+ end
11453
+ end
11454
+ data
11455
+ end
11456
+
11457
+ # Removes all signatures of the document.
11458
+ # @param request RemoveAllSignaturesOnlineRequest
11459
+ # @return [Array<(RemoveAllSignaturesOnlineResponse, Fixnum, Hash)>]
11460
+ # RemoveAllSignaturesOnlineResponse, response status code and response headers
11461
+ private def remove_all_signatures_online_with_http_info(request)
11462
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? RemoveAllSignaturesOnlineRequest
11463
+
11464
+ @api_client.config.logger.debug 'Calling API: WordsApi.remove_all_signatures_online ...' if @api_client.config.debugging
11465
+ request_data = request.create_http_request(@api_client)
11466
+
11467
+ data, status_code, headers = @api_client.call_api(
11468
+ request_data[:'method'],
11469
+ request_data[:'path'],
11470
+ header_params: request_data[:'header_params'],
11471
+ query_params: request_data[:'query_params'],
11472
+ body: request_data[:'body'],
11473
+ multipart_response: true,
11474
+ return_type: 'RemoveAllSignaturesOnlineResponse')
11475
+ if @api_client.config.debugging
11476
+ @api_client.config.logger.debug "API called:
11477
+ WordsApi#remove_all_signatures_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
11478
+ end
11479
+
11480
+ mp_data = RemoveAllSignaturesOnlineResponse.new()
11481
+ mp_data.model = @api_client.deserialize(data['Model'][:data], data['Model'][:headers], 'SignatureCollectionResponse')
11482
+ mp_data.document = @api_client.parse_files_collection(data['Document'][:data], data['Document'][:headers])
11483
+ [mp_data, status_code, headers]
11484
+ end
11485
+
11314
11486
  # Removes a range from the document.
11315
11487
  # @param request RemoveRangeRequest
11316
11488
  # @return [DocumentResponse]
@@ -12386,6 +12558,94 @@ module AsposeWordsCloud
12386
12558
  [data, status_code, headers]
12387
12559
  end
12388
12560
 
12561
+ # Signs the document with given certificate.
12562
+ # @param request SignDocumentRequest
12563
+ # @return [SignatureCollectionResponse]
12564
+ def sign_document(request)
12565
+ begin
12566
+ data, _status_code, _headers = sign_document_with_http_info(request)
12567
+ rescue ApiError => e
12568
+ if e.code == 401
12569
+ request_token
12570
+ data, _status_code, _headers = sign_document_with_http_info(request)
12571
+ else
12572
+ raise
12573
+ end
12574
+ end
12575
+ data
12576
+ end
12577
+
12578
+ # Signs the document with given certificate.
12579
+ # @param request SignDocumentRequest
12580
+ # @return [Array<(SignatureCollectionResponse, Fixnum, Hash)>]
12581
+ # SignatureCollectionResponse, response status code and response headers
12582
+ private def sign_document_with_http_info(request)
12583
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? SignDocumentRequest
12584
+
12585
+ @api_client.config.logger.debug 'Calling API: WordsApi.sign_document ...' if @api_client.config.debugging
12586
+ request_data = request.create_http_request(@api_client)
12587
+
12588
+ data, status_code, headers = @api_client.call_api(
12589
+ request_data[:'method'],
12590
+ request_data[:'path'],
12591
+ header_params: request_data[:'header_params'],
12592
+ query_params: request_data[:'query_params'],
12593
+ body: request_data[:'body'],
12594
+ return_type: 'SignatureCollectionResponse')
12595
+ if @api_client.config.debugging
12596
+ @api_client.config.logger.debug "API called:
12597
+ WordsApi#sign_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12598
+ end
12599
+
12600
+ [data, status_code, headers]
12601
+ end
12602
+
12603
+ # Signs the document with given certificate.
12604
+ # @param request SignDocumentOnlineRequest
12605
+ # @return [SignDocumentOnlineResponse]
12606
+ def sign_document_online(request)
12607
+ begin
12608
+ data, _status_code, _headers = sign_document_online_with_http_info(request)
12609
+ rescue ApiError => e
12610
+ if e.code == 401
12611
+ request_token
12612
+ data, _status_code, _headers = sign_document_online_with_http_info(request)
12613
+ else
12614
+ raise
12615
+ end
12616
+ end
12617
+ data
12618
+ end
12619
+
12620
+ # Signs the document with given certificate.
12621
+ # @param request SignDocumentOnlineRequest
12622
+ # @return [Array<(SignDocumentOnlineResponse, Fixnum, Hash)>]
12623
+ # SignDocumentOnlineResponse, response status code and response headers
12624
+ private def sign_document_online_with_http_info(request)
12625
+ raise ArgumentError, 'Incorrect request type' unless request.is_a? SignDocumentOnlineRequest
12626
+
12627
+ @api_client.config.logger.debug 'Calling API: WordsApi.sign_document_online ...' if @api_client.config.debugging
12628
+ request_data = request.create_http_request(@api_client)
12629
+
12630
+ data, status_code, headers = @api_client.call_api(
12631
+ request_data[:'method'],
12632
+ request_data[:'path'],
12633
+ header_params: request_data[:'header_params'],
12634
+ query_params: request_data[:'query_params'],
12635
+ body: request_data[:'body'],
12636
+ multipart_response: true,
12637
+ return_type: 'SignDocumentOnlineResponse')
12638
+ if @api_client.config.debugging
12639
+ @api_client.config.logger.debug "API called:
12640
+ WordsApi#sign_document_online\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
12641
+ end
12642
+
12643
+ mp_data = SignDocumentOnlineResponse.new()
12644
+ mp_data.model = @api_client.deserialize(data['Model'][:data], data['Model'][:headers], 'SignatureCollectionResponse')
12645
+ mp_data.document = @api_client.parse_files_collection(data['Document'][:data], data['Document'][:headers])
12646
+ [mp_data, status_code, headers]
12647
+ end
12648
+
12389
12649
  # Splits a document into parts and saves them in the specified format.
12390
12650
  # @param request SplitDocumentRequest
12391
12651
  # @return [SplitDocumentResponse]
@@ -192,6 +192,13 @@ module AsposeWordsCloud
192
192
  # Gets or sets a value indicating whether to use pretty formats output.
193
193
  attr_accessor :pretty_format
194
194
 
195
+ # Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
196
+ # Default value is false.
197
+ # By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
198
+ # generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
199
+ # scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
200
+ attr_accessor :replace_backslash_with_yen_sign
201
+
195
202
  # Gets or sets a value indicating whether font family names used in the document are resolved and substituted according to FontSettings when being written into HTML-based formats.
196
203
  # The default value is false.
197
204
  attr_accessor :resolve_font_names
@@ -284,6 +291,7 @@ module AsposeWordsCloud
284
291
  :'metafile_format' => :'MetafileFormat',
285
292
  :'office_math_output_mode' => :'OfficeMathOutputMode',
286
293
  :'pretty_format' => :'PrettyFormat',
294
+ :'replace_backslash_with_yen_sign' => :'ReplaceBackslashWithYenSign',
287
295
  :'resolve_font_names' => :'ResolveFontNames',
288
296
  :'resource_folder' => :'ResourceFolder',
289
297
  :'resource_folder_alias' => :'ResourceFolderAlias',
@@ -342,6 +350,7 @@ module AsposeWordsCloud
342
350
  :'metafile_format' => :'String',
343
351
  :'office_math_output_mode' => :'String',
344
352
  :'pretty_format' => :'BOOLEAN',
353
+ :'replace_backslash_with_yen_sign' => :'BOOLEAN',
345
354
  :'resolve_font_names' => :'BOOLEAN',
346
355
  :'resource_folder' => :'String',
347
356
  :'resource_folder_alias' => :'String',
@@ -542,6 +551,10 @@ module AsposeWordsCloud
542
551
  self.pretty_format = attributes[:'PrettyFormat']
543
552
  end
544
553
 
554
+ if attributes.key?(:'ReplaceBackslashWithYenSign')
555
+ self.replace_backslash_with_yen_sign = attributes[:'ReplaceBackslashWithYenSign']
556
+ end
557
+
545
558
  if attributes.key?(:'ResolveFontNames')
546
559
  self.resolve_font_names = attributes[:'ResolveFontNames']
547
560
  end
@@ -817,6 +830,7 @@ module AsposeWordsCloud
817
830
  metafile_format == other.metafile_format &&
818
831
  office_math_output_mode == other.office_math_output_mode &&
819
832
  pretty_format == other.pretty_format &&
833
+ replace_backslash_with_yen_sign == other.replace_backslash_with_yen_sign &&
820
834
  resolve_font_names == other.resolve_font_names &&
821
835
  resource_folder == other.resource_folder &&
822
836
  resource_folder_alias == other.resource_folder_alias &&
@@ -835,7 +849,7 @@ module AsposeWordsCloud
835
849
  # Calculates hash code according to all attributes.
836
850
  # @return [Fixnum] Hash code
837
851
  def hash
838
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, navigation_map_level, save_format].hash
852
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, replace_backslash_with_yen_sign, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, navigation_map_level, save_format].hash
839
853
  end
840
854
 
841
855
  # Builds the object from hash
@@ -0,0 +1,218 @@
1
+ # ------------------------------------------------------------------------------------
2
+ # <copyright company="Aspose" file="digital_signature_details.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
+ require 'date'
27
+
28
+ module AsposeWordsCloud
29
+
30
+ # Container class for details of digital signature.
31
+ class DigitalSignatureDetails
32
+ # Gets or sets the certificate's filename using for signing.
33
+ attr_accessor :certificate_filename
34
+
35
+ # Gets or sets signing options.
36
+ attr_accessor :sign_options
37
+ # Attribute mapping from ruby-style variable name to JSON key.
38
+ def self.attribute_map
39
+ {
40
+ :'certificate_filename' => :'CertificateFilename',
41
+ :'sign_options' => :'SignOptions'
42
+ }
43
+ end
44
+
45
+ # Attribute type mapping.
46
+ def self.swagger_types
47
+ {
48
+ :'certificate_filename' => :'String',
49
+ :'sign_options' => :'SignOptions'
50
+ }
51
+ end
52
+
53
+ # Initializes the object
54
+ # @param [Hash] attributes Model attributes in the form of hash
55
+ def initialize(attributes = {})
56
+ return unless attributes.is_a?(Hash)
57
+
58
+ # convert string to symbol for hash key
59
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
60
+
61
+ if attributes.key?(:'CertificateFilename')
62
+ self.certificate_filename = attributes[:'CertificateFilename']
63
+ end
64
+
65
+ if attributes.key?(:'SignOptions')
66
+ self.sign_options = attributes[:'SignOptions']
67
+ end
68
+ end
69
+
70
+ # Check to see if the all the properties in the model are valid
71
+ # @return true if the model is valid
72
+ def valid?
73
+ return true
74
+ end
75
+
76
+ # Checks equality by comparing each attribute.
77
+ # @param [Object] Object to be compared
78
+ def ==(other)
79
+ return true if self.equal?(other)
80
+ self.class == other.class &&
81
+ certificate_filename == other.certificate_filename &&
82
+ sign_options == other.sign_options
83
+ end
84
+
85
+ # @see the `==` method
86
+ # @param [Object] Object to be compared
87
+ def eql?(other)
88
+ self == other
89
+ end
90
+
91
+ # Calculates hash code according to all attributes.
92
+ # @return [Fixnum] Hash code
93
+ def hash
94
+ [certificate_filename, sign_options].hash
95
+ end
96
+
97
+ # Builds the object from hash
98
+ # @param [Hash] attributes Model attributes in the form of hash
99
+ # @return [Object] Returns the model itself
100
+ def build_from_hash(attributes)
101
+ return nil unless attributes.is_a?(Hash)
102
+ self.class.swagger_types.each_pair do |key, type|
103
+ if type =~ /\AArray<(.*)>/i
104
+ # check to ensure the input is an array given that the the attribute
105
+ # is documented as an array but the input is not
106
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
107
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
108
+ end
109
+ elsif !attributes[self.class.attribute_map[key]].nil?
110
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
111
+ end
112
+ # or else data not found in attributes(hash), not an issue as the data can be optional
113
+ end
114
+
115
+ self
116
+ end
117
+
118
+ # Deserializes the data based on type
119
+ # @param string type Data type
120
+ # @param string value Value to be deserialized
121
+ # @return [Object] Deserialized data
122
+ def _deserialize(type, value)
123
+ case type.to_sym
124
+ when :DateTime
125
+ Time.at(/\d/.match(value)[0].to_f).to_datetime
126
+ when :Date
127
+ Time.at(/\d/.match(value)[0].to_f).to_date
128
+ when :String
129
+ value.to_s
130
+ when :Integer
131
+ value.to_i
132
+ when :Float
133
+ value.to_f
134
+ when :BOOLEAN
135
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
136
+ true
137
+ else
138
+ false
139
+ end
140
+ when :Object
141
+ # generic object (usually a Hash), return directly
142
+ value
143
+ when /\AArray<(?<inner_type>.+)>\z/
144
+ inner_type = Regexp.last_match[:inner_type]
145
+ value.map { |v| _deserialize(inner_type, v) }
146
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
147
+ k_type = Regexp.last_match[:k_type]
148
+ v_type = Regexp.last_match[:v_type]
149
+ {}.tap do |hash|
150
+ value.each do |k, v|
151
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
152
+ end
153
+ end
154
+ else
155
+ # model
156
+ if value[:'$type']
157
+ type = value[:'$type'][0..-4]
158
+ end
159
+
160
+ temp_model = AsposeWordsCloud.const_get(type).new
161
+ temp_model.build_from_hash(value)
162
+ end
163
+ end
164
+
165
+ # Returns the string representation of the object
166
+ # @return [String] String presentation of the object
167
+ def to_s
168
+ to_hash.to_s
169
+ end
170
+
171
+ # to_body is an alias to to_hash (backward compatibility)
172
+ # @return [Hash] Returns the object in the form of hash
173
+ def to_body
174
+ to_hash
175
+ end
176
+
177
+ # Returns the object in the form of hash
178
+ # @return [Hash] Returns the object in the form of hash
179
+ def to_hash
180
+ hash = {}
181
+ self.class.attribute_map.each_pair do |attr, param|
182
+ value = self.send(attr)
183
+ next if value.nil?
184
+ hash[param] = _to_hash(value)
185
+ end
186
+ hash
187
+ end
188
+
189
+ # Outputs non-array value in the form of hash
190
+ # For object, use to_hash. Otherwise, just return the value
191
+ # @param [Object] value Any valid value
192
+ # @return [Hash] Returns the value in the form of hash
193
+ def _to_hash(value)
194
+ if value.is_a?(Array)
195
+ value.compact.map { |v| _to_hash(v) }
196
+ elsif value.is_a?(Hash)
197
+ {}.tap do |hash|
198
+ value.each { |k, v| hash[k] = _to_hash(v) }
199
+ end
200
+ elsif value.respond_to? :to_hash
201
+ value.to_hash
202
+ else
203
+ value
204
+ end
205
+ end
206
+
207
+ def collectFilesContent(resultFilesContent)
208
+ end
209
+
210
+ def validate()
211
+ unless self.sign_options.nil?
212
+ self.sign_options.validate
213
+ end
214
+
215
+ end
216
+
217
+ end
218
+ end
@@ -192,6 +192,13 @@ module AsposeWordsCloud
192
192
  # Gets or sets a value indicating whether to use pretty formats output.
193
193
  attr_accessor :pretty_format
194
194
 
195
+ # Gets or sets the flag that indicates whether backslash characters should be replaced with yen signs.
196
+ # Default value is false.
197
+ # By default, Aspose.Words mimics MS Word's behavior and doesn't replace backslash characters with yen signs in
198
+ # generated HTML documents. However, previous versions of Aspose.Words performed such replacements in certain
199
+ # scenarios. This flag enables backward compatibility with previous versions of Aspose.Words.
200
+ attr_accessor :replace_backslash_with_yen_sign
201
+
195
202
  # Gets or sets a value indicating whether font family names used in the document are resolved and substituted according to FontSettings when being written into HTML-based formats.
196
203
  # The default value is false.
197
204
  attr_accessor :resolve_font_names
@@ -284,6 +291,7 @@ module AsposeWordsCloud
284
291
  :'metafile_format' => :'MetafileFormat',
285
292
  :'office_math_output_mode' => :'OfficeMathOutputMode',
286
293
  :'pretty_format' => :'PrettyFormat',
294
+ :'replace_backslash_with_yen_sign' => :'ReplaceBackslashWithYenSign',
287
295
  :'resolve_font_names' => :'ResolveFontNames',
288
296
  :'resource_folder' => :'ResourceFolder',
289
297
  :'resource_folder_alias' => :'ResourceFolderAlias',
@@ -342,6 +350,7 @@ module AsposeWordsCloud
342
350
  :'metafile_format' => :'String',
343
351
  :'office_math_output_mode' => :'String',
344
352
  :'pretty_format' => :'BOOLEAN',
353
+ :'replace_backslash_with_yen_sign' => :'BOOLEAN',
345
354
  :'resolve_font_names' => :'BOOLEAN',
346
355
  :'resource_folder' => :'String',
347
356
  :'resource_folder_alias' => :'String',
@@ -542,6 +551,10 @@ module AsposeWordsCloud
542
551
  self.pretty_format = attributes[:'PrettyFormat']
543
552
  end
544
553
 
554
+ if attributes.key?(:'ReplaceBackslashWithYenSign')
555
+ self.replace_backslash_with_yen_sign = attributes[:'ReplaceBackslashWithYenSign']
556
+ end
557
+
545
558
  if attributes.key?(:'ResolveFontNames')
546
559
  self.resolve_font_names = attributes[:'ResolveFontNames']
547
560
  end
@@ -817,6 +830,7 @@ module AsposeWordsCloud
817
830
  metafile_format == other.metafile_format &&
818
831
  office_math_output_mode == other.office_math_output_mode &&
819
832
  pretty_format == other.pretty_format &&
833
+ replace_backslash_with_yen_sign == other.replace_backslash_with_yen_sign &&
820
834
  resolve_font_names == other.resolve_font_names &&
821
835
  resource_folder == other.resource_folder &&
822
836
  resource_folder_alias == other.resource_folder_alias &&
@@ -835,7 +849,7 @@ module AsposeWordsCloud
835
849
  # Calculates hash code according to all attributes.
836
850
  # @return [Fixnum] Hash code
837
851
  def hash
838
- [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, navigation_map_level, save_format].hash
852
+ [allow_embedding_post_script_fonts, custom_time_zone_info_data, dml3_d_effects_rendering_mode, dml_effects_rendering_mode, dml_rendering_mode, file_name, iml_rendering_mode, update_created_time_property, update_fields, update_last_printed_property, update_last_saved_time_property, zip_output, allow_negative_indent, css_class_name_prefix, css_style_sheet_file_name, css_style_sheet_type, document_split_criteria, document_split_heading_level, encoding, export_document_properties, export_drop_down_form_field_as_text, export_font_resources, export_fonts_as_base64, export_headers_footers_mode, export_images_as_base64, export_language_information, export_list_labels, export_original_url_for_linked_images, export_page_margins, export_page_setup, export_relative_font_size, export_roundtrip_information, export_text_input_form_field_as_text, export_toc_page_numbers, export_xhtml_transitional, font_resources_subsetting_size_threshold, fonts_folder, fonts_folder_alias, html_version, image_resolution, images_folder, images_folder_alias, metafile_format, office_math_output_mode, pretty_format, replace_backslash_with_yen_sign, resolve_font_names, resource_folder, resource_folder_alias, scale_image_to_shape_size, table_width_output_mode, navigation_map_level, save_format].hash
839
853
  end
840
854
 
841
855
  # Builds the object from hash