cloudmersive-convert-api-client 1.7.6 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (663) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -664
  3. data/Gemfile +0 -7
  4. data/README.md +0 -483
  5. data/Rakefile +0 -8
  6. data/cloudmersive-convert-api-client.gemspec +0 -45
  7. data/docs/AddPdfAnnotationRequest.md +0 -9
  8. data/docs/AlternateFileFormatCandidate.md +0 -10
  9. data/docs/AutodetectDocumentValidationResult.md +0 -12
  10. data/docs/AutodetectGetInfoResult.md +0 -14
  11. data/docs/AutodetectToPngResult.md +0 -9
  12. data/docs/Base64DecodeRequest.md +0 -8
  13. data/docs/Base64DecodeResponse.md +0 -9
  14. data/docs/Base64DetectRequest.md +0 -8
  15. data/docs/Base64DetectResponse.md +0 -9
  16. data/docs/Base64EncodeRequest.md +0 -8
  17. data/docs/Base64EncodeResponse.md +0 -9
  18. data/docs/ChangeLineEndingResponse.md +0 -9
  19. data/docs/ClearXlsxCellRequest.md +0 -12
  20. data/docs/ClearXlsxCellResponse.md +0 -9
  21. data/docs/CompareDocumentApi.md +0 -66
  22. data/docs/ConvertDataApi.md +0 -902
  23. data/docs/ConvertDocumentApi.md +0 -1754
  24. data/docs/ConvertImageApi.md +0 -243
  25. data/docs/ConvertTemplateApi.md +0 -122
  26. data/docs/ConvertWebApi.md +0 -448
  27. data/docs/ConvertedPngPage.md +0 -9
  28. data/docs/CreateBlankDocxRequest.md +0 -8
  29. data/docs/CreateBlankDocxResponse.md +0 -9
  30. data/docs/CreateBlankSpreadsheetRequest.md +0 -8
  31. data/docs/CreateBlankSpreadsheetResponse.md +0 -9
  32. data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
  33. data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
  34. data/docs/CreateZipArchiveRequest.md +0 -9
  35. data/docs/CsvCollection.md +0 -10
  36. data/docs/CsvFileResult.md +0 -9
  37. data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
  38. data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
  39. data/docs/DeleteDocxTableRowRequest.md +0 -11
  40. data/docs/DeleteDocxTableRowResponse.md +0 -9
  41. data/docs/DetectLineEndingsResponse.md +0 -11
  42. data/docs/DisableSharedWorkbookRequest.md +0 -9
  43. data/docs/DisableSharedWorkbookResponse.md +0 -9
  44. data/docs/DocumentValidationError.md +0 -11
  45. data/docs/DocumentValidationResult.md +0 -12
  46. data/docs/DocxBody.md +0 -10
  47. data/docs/DocxCellStyle.md +0 -11
  48. data/docs/DocxComment.md +0 -16
  49. data/docs/DocxFooter.md +0 -10
  50. data/docs/DocxHeader.md +0 -10
  51. data/docs/DocxImage.md +0 -20
  52. data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
  53. data/docs/DocxInsertImageRequest.md +0 -16
  54. data/docs/DocxInsertImageResponse.md +0 -9
  55. data/docs/DocxPage.md +0 -9
  56. data/docs/DocxParagraph.md +0 -11
  57. data/docs/DocxRemoveObjectRequest.md +0 -10
  58. data/docs/DocxRemoveObjectResponse.md +0 -9
  59. data/docs/DocxRun.md +0 -15
  60. data/docs/DocxSection.md +0 -9
  61. data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
  62. data/docs/DocxSetFooterRequest.md +0 -10
  63. data/docs/DocxSetFooterResponse.md +0 -9
  64. data/docs/DocxSetHeaderRequest.md +0 -10
  65. data/docs/DocxSetHeaderResponse.md +0 -9
  66. data/docs/DocxStyle.md +0 -14
  67. data/docs/DocxTable.md +0 -46
  68. data/docs/DocxTableCell.md +0 -15
  69. data/docs/DocxTableRow.md +0 -10
  70. data/docs/DocxTemplateApplicationRequest.md +0 -8
  71. data/docs/DocxTemplateOperation.md +0 -10
  72. data/docs/DocxText.md +0 -10
  73. data/docs/DocxTopLevelComment.md +0 -14
  74. data/docs/EditDocumentApi.md +0 -2758
  75. data/docs/EditPdfApi.md +0 -1083
  76. data/docs/EditTextApi.md +0 -726
  77. data/docs/EnableSharedWorkbookRequest.md +0 -9
  78. data/docs/EnableSharedWorkbookResponse.md +0 -9
  79. data/docs/ExifValue.md +0 -10
  80. data/docs/FindDocxParagraphRequest.md +0 -11
  81. data/docs/FindDocxParagraphResponse.md +0 -10
  82. data/docs/FindRegexMatch.md +0 -12
  83. data/docs/FindStringMatch.md +0 -10
  84. data/docs/FindStringRegexRequest.md +0 -10
  85. data/docs/FindStringRegexResponse.md +0 -10
  86. data/docs/FindStringSimpleRequest.md +0 -9
  87. data/docs/FindStringSimpleResponse.md +0 -10
  88. data/docs/FinishEditingRequest.md +0 -8
  89. data/docs/GetDocxBodyRequest.md +0 -9
  90. data/docs/GetDocxBodyResponse.md +0 -9
  91. data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
  92. data/docs/GetDocxCommentsResponse.md +0 -10
  93. data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
  94. data/docs/GetDocxGetCommentsRequest.md +0 -9
  95. data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
  96. data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
  97. data/docs/GetDocxImagesRequest.md +0 -9
  98. data/docs/GetDocxImagesResponse.md +0 -9
  99. data/docs/GetDocxPagesRequest.md +0 -10
  100. data/docs/GetDocxPagesResponse.md +0 -10
  101. data/docs/GetDocxSectionsRequest.md +0 -9
  102. data/docs/GetDocxSectionsResponse.md +0 -9
  103. data/docs/GetDocxStylesRequest.md +0 -9
  104. data/docs/GetDocxStylesResponse.md +0 -9
  105. data/docs/GetDocxTableByIndexRequest.md +0 -10
  106. data/docs/GetDocxTableByIndexResponse.md +0 -9
  107. data/docs/GetDocxTableRowRequest.md +0 -11
  108. data/docs/GetDocxTableRowResponse.md +0 -9
  109. data/docs/GetDocxTablesRequest.md +0 -9
  110. data/docs/GetDocxTablesResponse.md +0 -9
  111. data/docs/GetImageInfoResult.md +0 -24
  112. data/docs/GetPdfAnnotationsResult.md +0 -9
  113. data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
  114. data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
  115. data/docs/GetXlsxCellRequest.md +0 -12
  116. data/docs/GetXlsxCellResponse.md +0 -9
  117. data/docs/GetXlsxColumnsRequest.md +0 -10
  118. data/docs/GetXlsxColumnsResponse.md +0 -9
  119. data/docs/GetXlsxImagesRequest.md +0 -10
  120. data/docs/GetXlsxImagesResponse.md +0 -9
  121. data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
  122. data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
  123. data/docs/GetXlsxStylesRequest.md +0 -9
  124. data/docs/GetXlsxStylesResponse.md +0 -9
  125. data/docs/GetXlsxWorksheetsRequest.md +0 -9
  126. data/docs/GetXlsxWorksheetsResponse.md +0 -9
  127. data/docs/HtmlMdResult.md +0 -9
  128. data/docs/HtmlTemplateApplicationRequest.md +0 -10
  129. data/docs/HtmlTemplateApplicationResponse.md +0 -9
  130. data/docs/HtmlTemplateOperation.md +0 -10
  131. data/docs/HtmlToOfficeRequest.md +0 -8
  132. data/docs/HtmlToPdfRequest.md +0 -9
  133. data/docs/HtmlToPngRequest.md +0 -11
  134. data/docs/HtmlToTextRequest.md +0 -8
  135. data/docs/HtmlToTextResponse.md +0 -9
  136. data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
  137. data/docs/InsertDocxInsertParagraphRequest.md +0 -12
  138. data/docs/InsertDocxInsertParagraphResponse.md +0 -9
  139. data/docs/InsertDocxTableRowRequest.md +0 -12
  140. data/docs/InsertDocxTableRowResponse.md +0 -9
  141. data/docs/InsertDocxTablesRequest.md +0 -12
  142. data/docs/InsertDocxTablesResponse.md +0 -9
  143. data/docs/InsertXlsxWorksheetRequest.md +0 -10
  144. data/docs/InsertXlsxWorksheetResponse.md +0 -9
  145. data/docs/MergeDocumentApi.md +0 -812
  146. data/docs/MultipageImageFormatConversionResult.md +0 -10
  147. data/docs/PageConversionResult.md +0 -9
  148. data/docs/PdfAnnotation.md +0 -19
  149. data/docs/PdfDocument.md +0 -10
  150. data/docs/PdfFormField.md +0 -11
  151. data/docs/PdfFormFields.md +0 -9
  152. data/docs/PdfMetadata.md +0 -16
  153. data/docs/PdfPageText.md +0 -9
  154. data/docs/PdfTextByPageResult.md +0 -9
  155. data/docs/PdfToPngResult.md +0 -9
  156. data/docs/PresentationResult.md +0 -10
  157. data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
  158. data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
  159. data/docs/RemoveDocxPagesRequest.md +0 -11
  160. data/docs/RemoveHtmlFromTextRequest.md +0 -8
  161. data/docs/RemoveHtmlFromTextResponse.md +0 -9
  162. data/docs/RemovePptxSlidesRequest.md +0 -11
  163. data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
  164. data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
  165. data/docs/RemoveXlsxWorksheetRequest.md +0 -10
  166. data/docs/ReplaceDocxParagraphRequest.md +0 -12
  167. data/docs/ReplaceDocxParagraphResponse.md +0 -9
  168. data/docs/ReplaceStringRegexRequest.md +0 -10
  169. data/docs/ReplaceStringRegexResponse.md +0 -9
  170. data/docs/ReplaceStringRequest.md +0 -12
  171. data/docs/ReplaceStringSimpleRequest.md +0 -10
  172. data/docs/ReplaceStringSimpleResponse.md +0 -9
  173. data/docs/ScreenshotRequest.md +0 -11
  174. data/docs/SetFormFieldValue.md +0 -11
  175. data/docs/SetPdfFormFieldsRequest.md +0 -9
  176. data/docs/SetPdfMetadataRequest.md +0 -9
  177. data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
  178. data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
  179. data/docs/SetXlsxCellRequest.md +0 -13
  180. data/docs/SetXlsxCellResponse.md +0 -9
  181. data/docs/SplitDocumentApi.md +0 -361
  182. data/docs/SplitDocumentResult.md +0 -10
  183. data/docs/SplitDocxDocumentResult.md +0 -9
  184. data/docs/SplitPdfResult.md +0 -9
  185. data/docs/SplitPptxPresentationResult.md +0 -9
  186. data/docs/SplitTextDocumentByLinesResult.md +0 -10
  187. data/docs/SplitTextDocumentByStringResult.md +0 -10
  188. data/docs/SplitXlsxWorksheetResult.md +0 -9
  189. data/docs/TextConversionResult.md +0 -9
  190. data/docs/TextDocumentElement.md +0 -9
  191. data/docs/TextDocumentLine.md +0 -9
  192. data/docs/TextEncodingDetectResponse.md +0 -9
  193. data/docs/UpdateDocxTableCellRequest.md +0 -13
  194. data/docs/UpdateDocxTableCellResponse.md +0 -9
  195. data/docs/UpdateDocxTableRowRequest.md +0 -12
  196. data/docs/UpdateDocxTableRowResponse.md +0 -9
  197. data/docs/UrlToPdfRequest.md +0 -11
  198. data/docs/UrlToTextRequest.md +0 -8
  199. data/docs/UrlToTextResponse.md +0 -9
  200. data/docs/ValidateDocumentApi.md +0 -723
  201. data/docs/ViewerResponse.md +0 -9
  202. data/docs/ViewerToolsApi.md +0 -63
  203. data/docs/WorksheetResult.md +0 -11
  204. data/docs/XlsxImage.md +0 -12
  205. data/docs/XlsxSpreadsheetCell.md +0 -12
  206. data/docs/XlsxSpreadsheetColumn.md +0 -9
  207. data/docs/XlsxSpreadsheetRow.md +0 -9
  208. data/docs/XlsxWorksheet.md +0 -9
  209. data/docs/XmlAddAttributeWithXPathResult.md +0 -10
  210. data/docs/XmlAddChildWithXPathResult.md +0 -10
  211. data/docs/XmlFilterWithXPathResult.md +0 -10
  212. data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
  213. data/docs/XmlQueryWithXQueryResult.md +0 -10
  214. data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
  215. data/docs/XmlRemoveWithXPathResult.md +0 -11
  216. data/docs/XmlReplaceWithXPathResult.md +0 -10
  217. data/docs/XmlSetValueWithXPathResult.md +0 -10
  218. data/docs/ZipArchiveApi.md +0 -306
  219. data/docs/ZipDirectory.md +0 -10
  220. data/docs/ZipEncryptionAdvancedRequest.md +0 -10
  221. data/docs/ZipExtractResponse.md +0 -10
  222. data/docs/ZipFile.md +0 -9
  223. data/git_push.sh +0 -55
  224. data/lib/cloudmersive-convert-api-client.rb +0 -255
  225. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
  226. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -981
  227. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -1805
  228. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
  229. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
  230. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
  231. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
  232. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
  233. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
  234. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
  235. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
  236. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -751
  237. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
  238. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
  239. data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
  240. data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
  241. data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
  242. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
  243. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
  244. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
  245. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
  246. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
  247. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
  248. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
  249. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
  250. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
  251. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
  252. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
  253. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
  254. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
  255. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
  256. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
  257. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
  258. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
  259. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
  260. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
  261. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
  262. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
  263. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
  264. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
  265. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
  266. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
  267. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
  268. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
  269. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
  270. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
  271. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
  272. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
  273. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
  274. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
  275. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
  276. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
  277. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
  278. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
  279. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
  280. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
  281. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
  282. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
  283. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
  284. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
  285. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
  286. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
  287. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
  288. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
  289. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
  290. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
  291. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
  292. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
  293. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
  294. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
  295. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
  296. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
  297. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
  298. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
  299. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
  300. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
  301. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
  302. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
  303. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
  304. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
  305. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
  306. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
  307. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
  308. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
  309. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
  310. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
  311. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
  312. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
  313. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
  314. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
  315. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
  316. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
  317. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
  318. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
  319. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
  320. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
  321. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
  322. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
  323. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
  324. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
  325. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
  326. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
  327. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
  328. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
  329. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
  330. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
  331. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
  332. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
  333. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
  334. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
  335. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
  336. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
  337. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
  338. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
  339. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
  340. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
  341. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
  342. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
  343. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
  344. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
  345. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
  346. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
  347. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
  348. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
  349. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
  350. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
  351. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
  352. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
  353. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
  354. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
  355. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
  356. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
  357. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
  358. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
  359. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
  360. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
  361. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
  362. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
  363. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
  364. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
  365. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
  366. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
  367. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
  368. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
  369. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
  370. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
  371. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
  372. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
  373. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
  374. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
  375. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
  376. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
  377. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
  378. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
  379. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
  380. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
  381. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
  382. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
  383. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
  384. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
  385. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
  386. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
  387. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
  388. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
  389. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
  390. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
  391. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
  392. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
  393. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
  394. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
  395. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
  396. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
  397. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
  398. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
  399. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
  400. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
  401. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
  402. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
  403. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
  404. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
  405. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
  406. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
  407. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
  408. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
  409. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
  410. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
  411. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
  412. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
  413. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
  414. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
  415. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
  416. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
  417. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
  418. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
  419. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
  420. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
  421. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
  422. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
  423. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
  424. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
  425. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
  426. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
  427. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
  428. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
  429. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
  430. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
  431. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
  432. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
  433. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
  434. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
  435. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
  436. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
  437. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
  438. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
  439. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
  440. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
  441. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
  442. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
  443. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
  444. data/lib/cloudmersive-convert-api-client/version.rb +0 -15
  445. data/spec/api/compare_document_api_spec.rb +0 -48
  446. data/spec/api/convert_data_api_spec.rb +0 -240
  447. data/spec/api/convert_document_api_spec.rb +0 -421
  448. data/spec/api/convert_image_api_spec.rb +0 -88
  449. data/spec/api/convert_template_api_spec.rb +0 -60
  450. data/spec/api/convert_web_api_spec.rb +0 -131
  451. data/spec/api/edit_document_api_spec.rb +0 -635
  452. data/spec/api/edit_pdf_api_spec.rb +0 -282
  453. data/spec/api/edit_text_api_spec.rb +0 -192
  454. data/spec/api/merge_document_api_spec.rb +0 -239
  455. data/spec/api/split_document_api_spec.rb +0 -113
  456. data/spec/api/validate_document_api_spec.rb +0 -191
  457. data/spec/api/viewer_tools_api_spec.rb +0 -47
  458. data/spec/api/zip_archive_api_spec.rb +0 -105
  459. data/spec/api_client_spec.rb +0 -226
  460. data/spec/configuration_spec.rb +0 -42
  461. data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
  462. data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
  463. data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
  464. data/spec/models/autodetect_get_info_result_spec.rb +0 -78
  465. data/spec/models/autodetect_to_png_result_spec.rb +0 -48
  466. data/spec/models/base64_decode_request_spec.rb +0 -42
  467. data/spec/models/base64_decode_response_spec.rb +0 -48
  468. data/spec/models/base64_detect_request_spec.rb +0 -42
  469. data/spec/models/base64_detect_response_spec.rb +0 -48
  470. data/spec/models/base64_encode_request_spec.rb +0 -42
  471. data/spec/models/base64_encode_response_spec.rb +0 -48
  472. data/spec/models/change_line_ending_response_spec.rb +0 -48
  473. data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
  474. data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
  475. data/spec/models/converted_png_page_spec.rb +0 -48
  476. data/spec/models/create_blank_docx_request_spec.rb +0 -42
  477. data/spec/models/create_blank_docx_response_spec.rb +0 -48
  478. data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
  479. data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
  480. data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
  481. data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
  482. data/spec/models/create_zip_archive_request_spec.rb +0 -48
  483. data/spec/models/csv_collection_spec.rb +0 -54
  484. data/spec/models/csv_file_result_spec.rb +0 -48
  485. data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
  486. data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
  487. data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
  488. data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
  489. data/spec/models/detect_line_endings_response_spec.rb +0 -60
  490. data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
  491. data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
  492. data/spec/models/document_validation_error_spec.rb +0 -60
  493. data/spec/models/document_validation_result_spec.rb +0 -66
  494. data/spec/models/docx_body_spec.rb +0 -54
  495. data/spec/models/docx_cell_style_spec.rb +0 -60
  496. data/spec/models/docx_comment_spec.rb +0 -90
  497. data/spec/models/docx_footer_spec.rb +0 -54
  498. data/spec/models/docx_header_spec.rb +0 -54
  499. data/spec/models/docx_image_spec.rb +0 -114
  500. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
  501. data/spec/models/docx_insert_image_request_spec.rb +0 -90
  502. data/spec/models/docx_insert_image_response_spec.rb +0 -48
  503. data/spec/models/docx_page_spec.rb +0 -48
  504. data/spec/models/docx_paragraph_spec.rb +0 -60
  505. data/spec/models/docx_remove_object_request_spec.rb +0 -54
  506. data/spec/models/docx_remove_object_response_spec.rb +0 -48
  507. data/spec/models/docx_run_spec.rb +0 -84
  508. data/spec/models/docx_section_spec.rb +0 -48
  509. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
  510. data/spec/models/docx_set_footer_request_spec.rb +0 -54
  511. data/spec/models/docx_set_footer_response_spec.rb +0 -48
  512. data/spec/models/docx_set_header_request_spec.rb +0 -54
  513. data/spec/models/docx_set_header_response_spec.rb +0 -48
  514. data/spec/models/docx_style_spec.rb +0 -78
  515. data/spec/models/docx_table_cell_spec.rb +0 -84
  516. data/spec/models/docx_table_row_spec.rb +0 -54
  517. data/spec/models/docx_table_spec.rb +0 -270
  518. data/spec/models/docx_template_application_request_spec.rb +0 -42
  519. data/spec/models/docx_template_operation_spec.rb +0 -58
  520. data/spec/models/docx_text_spec.rb +0 -54
  521. data/spec/models/docx_top_level_comment_spec.rb +0 -78
  522. data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
  523. data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
  524. data/spec/models/exif_value_spec.rb +0 -54
  525. data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
  526. data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
  527. data/spec/models/find_regex_match_spec.rb +0 -66
  528. data/spec/models/find_string_match_spec.rb +0 -54
  529. data/spec/models/find_string_regex_request_spec.rb +0 -54
  530. data/spec/models/find_string_regex_response_spec.rb +0 -54
  531. data/spec/models/find_string_simple_request_spec.rb +0 -48
  532. data/spec/models/find_string_simple_response_spec.rb +0 -54
  533. data/spec/models/finish_editing_request_spec.rb +0 -42
  534. data/spec/models/get_docx_body_request_spec.rb +0 -48
  535. data/spec/models/get_docx_body_response_spec.rb +0 -48
  536. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
  537. data/spec/models/get_docx_comments_response_spec.rb +0 -54
  538. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
  539. data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
  540. data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
  541. data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
  542. data/spec/models/get_docx_images_request_spec.rb +0 -48
  543. data/spec/models/get_docx_images_response_spec.rb +0 -48
  544. data/spec/models/get_docx_pages_request_spec.rb +0 -54
  545. data/spec/models/get_docx_pages_response_spec.rb +0 -54
  546. data/spec/models/get_docx_sections_request_spec.rb +0 -48
  547. data/spec/models/get_docx_sections_response_spec.rb +0 -48
  548. data/spec/models/get_docx_styles_request_spec.rb +0 -48
  549. data/spec/models/get_docx_styles_response_spec.rb +0 -48
  550. data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
  551. data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
  552. data/spec/models/get_docx_table_row_request_spec.rb +0 -60
  553. data/spec/models/get_docx_table_row_response_spec.rb +0 -48
  554. data/spec/models/get_docx_tables_request_spec.rb +0 -48
  555. data/spec/models/get_docx_tables_response_spec.rb +0 -48
  556. data/spec/models/get_image_info_result_spec.rb +0 -138
  557. data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
  558. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
  559. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
  560. data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
  561. data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
  562. data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
  563. data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
  564. data/spec/models/get_xlsx_images_request_spec.rb +0 -54
  565. data/spec/models/get_xlsx_images_response_spec.rb +0 -48
  566. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
  567. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
  568. data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
  569. data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
  570. data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
  571. data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
  572. data/spec/models/html_md_result_spec.rb +0 -48
  573. data/spec/models/html_template_application_request_spec.rb +0 -54
  574. data/spec/models/html_template_application_response_spec.rb +0 -48
  575. data/spec/models/html_template_operation_spec.rb +0 -58
  576. data/spec/models/html_to_office_request_spec.rb +0 -42
  577. data/spec/models/html_to_pdf_request_spec.rb +0 -48
  578. data/spec/models/html_to_png_request_spec.rb +0 -60
  579. data/spec/models/html_to_text_request_spec.rb +0 -42
  580. data/spec/models/html_to_text_response_spec.rb +0 -48
  581. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
  582. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
  583. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
  584. data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
  585. data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
  586. data/spec/models/insert_docx_tables_request_spec.rb +0 -66
  587. data/spec/models/insert_docx_tables_response_spec.rb +0 -48
  588. data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
  589. data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
  590. data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
  591. data/spec/models/page_conversion_result_spec.rb +0 -48
  592. data/spec/models/pdf_annotation_spec.rb +0 -108
  593. data/spec/models/pdf_document_spec.rb +0 -54
  594. data/spec/models/pdf_form_field_spec.rb +0 -60
  595. data/spec/models/pdf_form_fields_spec.rb +0 -48
  596. data/spec/models/pdf_metadata_spec.rb +0 -90
  597. data/spec/models/pdf_page_text_spec.rb +0 -48
  598. data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
  599. data/spec/models/pdf_to_png_result_spec.rb +0 -48
  600. data/spec/models/presentation_result_spec.rb +0 -54
  601. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
  602. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
  603. data/spec/models/remove_docx_pages_request_spec.rb +0 -60
  604. data/spec/models/remove_html_from_text_request_spec.rb +0 -42
  605. data/spec/models/remove_html_from_text_response_spec.rb +0 -48
  606. data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
  607. data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
  608. data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
  609. data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
  610. data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
  611. data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
  612. data/spec/models/replace_string_regex_request_spec.rb +0 -54
  613. data/spec/models/replace_string_regex_response_spec.rb +0 -48
  614. data/spec/models/replace_string_request_spec.rb +0 -66
  615. data/spec/models/replace_string_simple_request_spec.rb +0 -54
  616. data/spec/models/replace_string_simple_response_spec.rb +0 -48
  617. data/spec/models/screenshot_request_spec.rb +0 -60
  618. data/spec/models/set_form_field_value_spec.rb +0 -60
  619. data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
  620. data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
  621. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
  622. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
  623. data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
  624. data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
  625. data/spec/models/split_document_result_spec.rb +0 -54
  626. data/spec/models/split_docx_document_result_spec.rb +0 -48
  627. data/spec/models/split_pdf_result_spec.rb +0 -48
  628. data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
  629. data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
  630. data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
  631. data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
  632. data/spec/models/text_conversion_result_spec.rb +0 -48
  633. data/spec/models/text_document_element_spec.rb +0 -48
  634. data/spec/models/text_document_line_spec.rb +0 -48
  635. data/spec/models/text_encoding_detect_response_spec.rb +0 -48
  636. data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
  637. data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
  638. data/spec/models/update_docx_table_row_request_spec.rb +0 -66
  639. data/spec/models/update_docx_table_row_response_spec.rb +0 -48
  640. data/spec/models/url_to_pdf_request_spec.rb +0 -60
  641. data/spec/models/url_to_text_request_spec.rb +0 -42
  642. data/spec/models/url_to_text_response_spec.rb +0 -48
  643. data/spec/models/viewer_response_spec.rb +0 -48
  644. data/spec/models/worksheet_result_spec.rb +0 -60
  645. data/spec/models/xlsx_image_spec.rb +0 -66
  646. data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
  647. data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
  648. data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
  649. data/spec/models/xlsx_worksheet_spec.rb +0 -48
  650. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
  651. data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
  652. data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
  653. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
  654. data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
  655. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
  656. data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
  657. data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
  658. data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
  659. data/spec/models/zip_directory_spec.rb +0 -54
  660. data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
  661. data/spec/models/zip_extract_response_spec.rb +0 -54
  662. data/spec/models/zip_file_spec.rb +0 -48
  663. data/spec/spec_helper.rb +0 -111
@@ -1,2774 +0,0 @@
1
- =begin
2
- #convertapi
3
-
4
- #Convert API lets you effortlessly convert file formats and types.
5
-
6
- OpenAPI spec version: v1
7
-
8
- Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
10
-
11
- =end
12
-
13
- require "uri"
14
-
15
- module CloudmersiveConvertApiClient
16
- class EditDocumentApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
-
23
- # Begin editing a document
24
- # Uploads a document to Cloudmersive to begin a series of one or more editing operations. To edit a document, first call Begin Editing on the document. Then perform operations on the document using the secure URL returned from BeginEditing, such as Word DOCX Delete Pages and Insert Table. Finally, perform finish editing on the URL to return the resulting edited document. The editing URL is temporary and only stored in-memory cache, and will automatically expire from the cache after 30 minutes, and cannot be directly accessed.
25
- # @param input_file Input file to perform the operation on.
26
- # @param [Hash] opts the optional parameters
27
- # @return [String]
28
- def edit_document_begin_editing(input_file, opts = {})
29
- data, _status_code, _headers = edit_document_begin_editing_with_http_info(input_file, opts)
30
- return data
31
- end
32
-
33
- # Begin editing a document
34
- # Uploads a document to Cloudmersive to begin a series of one or more editing operations. To edit a document, first call Begin Editing on the document. Then perform operations on the document using the secure URL returned from BeginEditing, such as Word DOCX Delete Pages and Insert Table. Finally, perform finish editing on the URL to return the resulting edited document. The editing URL is temporary and only stored in-memory cache, and will automatically expire from the cache after 30 minutes, and cannot be directly accessed.
35
- # @param input_file Input file to perform the operation on.
36
- # @param [Hash] opts the optional parameters
37
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
38
- def edit_document_begin_editing_with_http_info(input_file, opts = {})
39
- if @api_client.config.debugging
40
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_begin_editing ..."
41
- end
42
- # verify the required parameter 'input_file' is set
43
- if @api_client.config.client_side_validation && input_file.nil?
44
- fail ArgumentError, "Missing the required parameter 'input_file' when calling EditDocumentApi.edit_document_begin_editing"
45
- end
46
- # resource path
47
- local_var_path = "/convert/edit/begin-editing"
48
-
49
- # query parameters
50
- query_params = {}
51
-
52
- # header parameters
53
- header_params = {}
54
- # HTTP header 'Accept' (if needed)
55
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
56
- # HTTP header 'Content-Type'
57
- header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
58
-
59
- # form parameters
60
- form_params = {}
61
- form_params["inputFile"] = input_file
62
-
63
- # http body (model)
64
- post_body = nil
65
- auth_names = ['Apikey']
66
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
67
- :header_params => header_params,
68
- :query_params => query_params,
69
- :form_params => form_params,
70
- :body => post_body,
71
- :auth_names => auth_names,
72
- :return_type => 'String')
73
- if @api_client.config.debugging
74
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_begin_editing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
75
- end
76
- return data, status_code, headers
77
- end
78
-
79
- # Get body from a Word DOCX document
80
- # Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
81
- # @param req_config Document input request
82
- # @param [Hash] opts the optional parameters
83
- # @return [GetDocxBodyResponse]
84
- def edit_document_docx_body(req_config, opts = {})
85
- data, _status_code, _headers = edit_document_docx_body_with_http_info(req_config, opts)
86
- return data
87
- end
88
-
89
- # Get body from a Word DOCX document
90
- # Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
91
- # @param req_config Document input request
92
- # @param [Hash] opts the optional parameters
93
- # @return [Array<(GetDocxBodyResponse, Fixnum, Hash)>] GetDocxBodyResponse data, response status code and response headers
94
- def edit_document_docx_body_with_http_info(req_config, opts = {})
95
- if @api_client.config.debugging
96
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_body ..."
97
- end
98
- # verify the required parameter 'req_config' is set
99
- if @api_client.config.client_side_validation && req_config.nil?
100
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_body"
101
- end
102
- # resource path
103
- local_var_path = "/convert/edit/docx/get-body"
104
-
105
- # query parameters
106
- query_params = {}
107
-
108
- # header parameters
109
- header_params = {}
110
- # HTTP header 'Accept' (if needed)
111
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
112
- # HTTP header 'Content-Type'
113
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
114
-
115
- # form parameters
116
- form_params = {}
117
-
118
- # http body (model)
119
- post_body = @api_client.object_to_http_body(req_config)
120
- auth_names = ['Apikey']
121
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
122
- :header_params => header_params,
123
- :query_params => query_params,
124
- :form_params => form_params,
125
- :body => post_body,
126
- :auth_names => auth_names,
127
- :return_type => 'GetDocxBodyResponse')
128
- if @api_client.config.debugging
129
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_body\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
130
- end
131
- return data, status_code, headers
132
- end
133
-
134
- # Create a blank Word DOCX document
135
- # Returns a blank Word DOCX Document format file. The file is blank, with no contents. Use additional editing commands such as Insert Paragraph or Insert Table or Insert Image to populate the document.
136
- # @param input Document input request
137
- # @param [Hash] opts the optional parameters
138
- # @return [CreateBlankDocxResponse]
139
- def edit_document_docx_create_blank_document(input, opts = {})
140
- data, _status_code, _headers = edit_document_docx_create_blank_document_with_http_info(input, opts)
141
- return data
142
- end
143
-
144
- # Create a blank Word DOCX document
145
- # Returns a blank Word DOCX Document format file. The file is blank, with no contents. Use additional editing commands such as Insert Paragraph or Insert Table or Insert Image to populate the document.
146
- # @param input Document input request
147
- # @param [Hash] opts the optional parameters
148
- # @return [Array<(CreateBlankDocxResponse, Fixnum, Hash)>] CreateBlankDocxResponse data, response status code and response headers
149
- def edit_document_docx_create_blank_document_with_http_info(input, opts = {})
150
- if @api_client.config.debugging
151
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_create_blank_document ..."
152
- end
153
- # verify the required parameter 'input' is set
154
- if @api_client.config.client_side_validation && input.nil?
155
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_docx_create_blank_document"
156
- end
157
- # resource path
158
- local_var_path = "/convert/edit/docx/create/blank"
159
-
160
- # query parameters
161
- query_params = {}
162
-
163
- # header parameters
164
- header_params = {}
165
- # HTTP header 'Accept' (if needed)
166
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
167
- # HTTP header 'Content-Type'
168
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
169
-
170
- # form parameters
171
- form_params = {}
172
-
173
- # http body (model)
174
- post_body = @api_client.object_to_http_body(input)
175
- auth_names = ['Apikey']
176
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
177
- :header_params => header_params,
178
- :query_params => query_params,
179
- :form_params => form_params,
180
- :body => post_body,
181
- :auth_names => auth_names,
182
- :return_type => 'CreateBlankDocxResponse')
183
- if @api_client.config.debugging
184
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_create_blank_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
185
- end
186
- return data, status_code, headers
187
- end
188
-
189
- # Delete, remove pages from a Word DOCX document
190
- # Returns the edited Word Document in the Word Document (DOCX) format file with the specified pages removed
191
- # @param req_config Document input request
192
- # @param [Hash] opts the optional parameters
193
- # @return [String]
194
- def edit_document_docx_delete_pages(req_config, opts = {})
195
- data, _status_code, _headers = edit_document_docx_delete_pages_with_http_info(req_config, opts)
196
- return data
197
- end
198
-
199
- # Delete, remove pages from a Word DOCX document
200
- # Returns the edited Word Document in the Word Document (DOCX) format file with the specified pages removed
201
- # @param req_config Document input request
202
- # @param [Hash] opts the optional parameters
203
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
204
- def edit_document_docx_delete_pages_with_http_info(req_config, opts = {})
205
- if @api_client.config.debugging
206
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_delete_pages ..."
207
- end
208
- # verify the required parameter 'req_config' is set
209
- if @api_client.config.client_side_validation && req_config.nil?
210
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_pages"
211
- end
212
- # resource path
213
- local_var_path = "/convert/edit/docx/delete-pages"
214
-
215
- # query parameters
216
- query_params = {}
217
-
218
- # header parameters
219
- header_params = {}
220
- # HTTP header 'Accept' (if needed)
221
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
222
- # HTTP header 'Content-Type'
223
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
224
-
225
- # form parameters
226
- form_params = {}
227
-
228
- # http body (model)
229
- post_body = @api_client.object_to_http_body(req_config)
230
- auth_names = ['Apikey']
231
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
232
- :header_params => header_params,
233
- :query_params => query_params,
234
- :form_params => form_params,
235
- :body => post_body,
236
- :auth_names => auth_names,
237
- :return_type => 'String')
238
- if @api_client.config.debugging
239
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
240
- end
241
- return data, status_code, headers
242
- end
243
-
244
- # Deletes a table row in an existing table in a Word DOCX document
245
- # Deletes an existing table row in a Word DOCX Document and returns the result.
246
- # @param req_config Document input request
247
- # @param [Hash] opts the optional parameters
248
- # @return [DeleteDocxTableRowResponse]
249
- def edit_document_docx_delete_table_row(req_config, opts = {})
250
- data, _status_code, _headers = edit_document_docx_delete_table_row_with_http_info(req_config, opts)
251
- return data
252
- end
253
-
254
- # Deletes a table row in an existing table in a Word DOCX document
255
- # Deletes an existing table row in a Word DOCX Document and returns the result.
256
- # @param req_config Document input request
257
- # @param [Hash] opts the optional parameters
258
- # @return [Array<(DeleteDocxTableRowResponse, Fixnum, Hash)>] DeleteDocxTableRowResponse data, response status code and response headers
259
- def edit_document_docx_delete_table_row_with_http_info(req_config, opts = {})
260
- if @api_client.config.debugging
261
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_delete_table_row ..."
262
- end
263
- # verify the required parameter 'req_config' is set
264
- if @api_client.config.client_side_validation && req_config.nil?
265
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_table_row"
266
- end
267
- # resource path
268
- local_var_path = "/convert/edit/docx/delete-table-row"
269
-
270
- # query parameters
271
- query_params = {}
272
-
273
- # header parameters
274
- header_params = {}
275
- # HTTP header 'Accept' (if needed)
276
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
277
- # HTTP header 'Content-Type'
278
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
279
-
280
- # form parameters
281
- form_params = {}
282
-
283
- # http body (model)
284
- post_body = @api_client.object_to_http_body(req_config)
285
- auth_names = ['Apikey']
286
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
287
- :header_params => header_params,
288
- :query_params => query_params,
289
- :form_params => form_params,
290
- :body => post_body,
291
- :auth_names => auth_names,
292
- :return_type => 'DeleteDocxTableRowResponse')
293
- if @api_client.config.debugging
294
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
295
- end
296
- return data, status_code, headers
297
- end
298
-
299
- # Deletes a range of multiple table rows in an existing table in a Word DOCX document
300
- # Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
301
- # @param req_config Document input request
302
- # @param [Hash] opts the optional parameters
303
- # @return [DeleteDocxTableRowRangeResponse]
304
- def edit_document_docx_delete_table_row_range(req_config, opts = {})
305
- data, _status_code, _headers = edit_document_docx_delete_table_row_range_with_http_info(req_config, opts)
306
- return data
307
- end
308
-
309
- # Deletes a range of multiple table rows in an existing table in a Word DOCX document
310
- # Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
311
- # @param req_config Document input request
312
- # @param [Hash] opts the optional parameters
313
- # @return [Array<(DeleteDocxTableRowRangeResponse, Fixnum, Hash)>] DeleteDocxTableRowRangeResponse data, response status code and response headers
314
- def edit_document_docx_delete_table_row_range_with_http_info(req_config, opts = {})
315
- if @api_client.config.debugging
316
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_delete_table_row_range ..."
317
- end
318
- # verify the required parameter 'req_config' is set
319
- if @api_client.config.client_side_validation && req_config.nil?
320
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_table_row_range"
321
- end
322
- # resource path
323
- local_var_path = "/convert/edit/docx/delete-table-row/range"
324
-
325
- # query parameters
326
- query_params = {}
327
-
328
- # header parameters
329
- header_params = {}
330
- # HTTP header 'Accept' (if needed)
331
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
332
- # HTTP header 'Content-Type'
333
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
334
-
335
- # form parameters
336
- form_params = {}
337
-
338
- # http body (model)
339
- post_body = @api_client.object_to_http_body(req_config)
340
- auth_names = ['Apikey']
341
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
342
- :header_params => header_params,
343
- :query_params => query_params,
344
- :form_params => form_params,
345
- :body => post_body,
346
- :auth_names => auth_names,
347
- :return_type => 'DeleteDocxTableRowRangeResponse')
348
- if @api_client.config.debugging
349
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_table_row_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
350
- end
351
- return data, status_code, headers
352
- end
353
-
354
- # Find matching paragraphs in a Word DOCX document
355
- # Returns the paragraphs defined in the Word Document (DOCX) format file that match the input criteria
356
- # @param req_config Document input request
357
- # @param [Hash] opts the optional parameters
358
- # @return [FindDocxParagraphResponse]
359
- def edit_document_docx_find_paragraph(req_config, opts = {})
360
- data, _status_code, _headers = edit_document_docx_find_paragraph_with_http_info(req_config, opts)
361
- return data
362
- end
363
-
364
- # Find matching paragraphs in a Word DOCX document
365
- # Returns the paragraphs defined in the Word Document (DOCX) format file that match the input criteria
366
- # @param req_config Document input request
367
- # @param [Hash] opts the optional parameters
368
- # @return [Array<(FindDocxParagraphResponse, Fixnum, Hash)>] FindDocxParagraphResponse data, response status code and response headers
369
- def edit_document_docx_find_paragraph_with_http_info(req_config, opts = {})
370
- if @api_client.config.debugging
371
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_find_paragraph ..."
372
- end
373
- # verify the required parameter 'req_config' is set
374
- if @api_client.config.client_side_validation && req_config.nil?
375
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_find_paragraph"
376
- end
377
- # resource path
378
- local_var_path = "/convert/edit/docx/find/paragraph"
379
-
380
- # query parameters
381
- query_params = {}
382
-
383
- # header parameters
384
- header_params = {}
385
- # HTTP header 'Accept' (if needed)
386
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
387
- # HTTP header 'Content-Type'
388
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
389
-
390
- # form parameters
391
- form_params = {}
392
-
393
- # http body (model)
394
- post_body = @api_client.object_to_http_body(req_config)
395
- auth_names = ['Apikey']
396
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
397
- :header_params => header_params,
398
- :query_params => query_params,
399
- :form_params => form_params,
400
- :body => post_body,
401
- :auth_names => auth_names,
402
- :return_type => 'FindDocxParagraphResponse')
403
- if @api_client.config.debugging
404
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_find_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
405
- end
406
- return data, status_code, headers
407
- end
408
-
409
- # Get comments from a Word DOCX document as a flat list
410
- # Returns the comments and review annotations stored in the Word Document (DOCX) format file as a flattened list (not as a hierarchy of comments and replies).
411
- # @param req_config Document input request
412
- # @param [Hash] opts the optional parameters
413
- # @return [GetDocxCommentsResponse]
414
- def edit_document_docx_get_comments(req_config, opts = {})
415
- data, _status_code, _headers = edit_document_docx_get_comments_with_http_info(req_config, opts)
416
- return data
417
- end
418
-
419
- # Get comments from a Word DOCX document as a flat list
420
- # Returns the comments and review annotations stored in the Word Document (DOCX) format file as a flattened list (not as a hierarchy of comments and replies).
421
- # @param req_config Document input request
422
- # @param [Hash] opts the optional parameters
423
- # @return [Array<(GetDocxCommentsResponse, Fixnum, Hash)>] GetDocxCommentsResponse data, response status code and response headers
424
- def edit_document_docx_get_comments_with_http_info(req_config, opts = {})
425
- if @api_client.config.debugging
426
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_comments ..."
427
- end
428
- # verify the required parameter 'req_config' is set
429
- if @api_client.config.client_side_validation && req_config.nil?
430
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_comments"
431
- end
432
- # resource path
433
- local_var_path = "/convert/edit/docx/get-comments/flat-list"
434
-
435
- # query parameters
436
- query_params = {}
437
-
438
- # header parameters
439
- header_params = {}
440
- # HTTP header 'Accept' (if needed)
441
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
442
- # HTTP header 'Content-Type'
443
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
444
-
445
- # form parameters
446
- form_params = {}
447
-
448
- # http body (model)
449
- post_body = @api_client.object_to_http_body(req_config)
450
- auth_names = ['Apikey']
451
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
452
- :header_params => header_params,
453
- :query_params => query_params,
454
- :form_params => form_params,
455
- :body => post_body,
456
- :auth_names => auth_names,
457
- :return_type => 'GetDocxCommentsResponse')
458
- if @api_client.config.debugging
459
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_comments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
460
- end
461
- return data, status_code, headers
462
- end
463
-
464
- # Get comments from a Word DOCX document hierarchically
465
- # Returns the comments and review annotations stored in the Word Document (DOCX) format file hierarchically, where reply comments are nested as children under top-level comments in the results returned.
466
- # @param req_config Document input request
467
- # @param [Hash] opts the optional parameters
468
- # @return [GetDocxCommentsHierarchicalResponse]
469
- def edit_document_docx_get_comments_hierarchical(req_config, opts = {})
470
- data, _status_code, _headers = edit_document_docx_get_comments_hierarchical_with_http_info(req_config, opts)
471
- return data
472
- end
473
-
474
- # Get comments from a Word DOCX document hierarchically
475
- # Returns the comments and review annotations stored in the Word Document (DOCX) format file hierarchically, where reply comments are nested as children under top-level comments in the results returned.
476
- # @param req_config Document input request
477
- # @param [Hash] opts the optional parameters
478
- # @return [Array<(GetDocxCommentsHierarchicalResponse, Fixnum, Hash)>] GetDocxCommentsHierarchicalResponse data, response status code and response headers
479
- def edit_document_docx_get_comments_hierarchical_with_http_info(req_config, opts = {})
480
- if @api_client.config.debugging
481
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_comments_hierarchical ..."
482
- end
483
- # verify the required parameter 'req_config' is set
484
- if @api_client.config.client_side_validation && req_config.nil?
485
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_comments_hierarchical"
486
- end
487
- # resource path
488
- local_var_path = "/convert/edit/docx/get-comments/hierarchical"
489
-
490
- # query parameters
491
- query_params = {}
492
-
493
- # header parameters
494
- header_params = {}
495
- # HTTP header 'Accept' (if needed)
496
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
497
- # HTTP header 'Content-Type'
498
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
499
-
500
- # form parameters
501
- form_params = {}
502
-
503
- # http body (model)
504
- post_body = @api_client.object_to_http_body(req_config)
505
- auth_names = ['Apikey']
506
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
507
- :header_params => header_params,
508
- :query_params => query_params,
509
- :form_params => form_params,
510
- :body => post_body,
511
- :auth_names => auth_names,
512
- :return_type => 'GetDocxCommentsHierarchicalResponse')
513
- if @api_client.config.debugging
514
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_comments_hierarchical\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
515
- end
516
- return data, status_code, headers
517
- end
518
-
519
- # Get content of a footer from a Word DOCX document
520
- # Returns the footer content from a Word Document (DOCX) format file
521
- # @param req_config Document input request
522
- # @param [Hash] opts the optional parameters
523
- # @return [GetDocxHeadersAndFootersResponse]
524
- def edit_document_docx_get_headers_and_footers(req_config, opts = {})
525
- data, _status_code, _headers = edit_document_docx_get_headers_and_footers_with_http_info(req_config, opts)
526
- return data
527
- end
528
-
529
- # Get content of a footer from a Word DOCX document
530
- # Returns the footer content from a Word Document (DOCX) format file
531
- # @param req_config Document input request
532
- # @param [Hash] opts the optional parameters
533
- # @return [Array<(GetDocxHeadersAndFootersResponse, Fixnum, Hash)>] GetDocxHeadersAndFootersResponse data, response status code and response headers
534
- def edit_document_docx_get_headers_and_footers_with_http_info(req_config, opts = {})
535
- if @api_client.config.debugging
536
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_headers_and_footers ..."
537
- end
538
- # verify the required parameter 'req_config' is set
539
- if @api_client.config.client_side_validation && req_config.nil?
540
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_headers_and_footers"
541
- end
542
- # resource path
543
- local_var_path = "/convert/edit/docx/get-headers-and-footers"
544
-
545
- # query parameters
546
- query_params = {}
547
-
548
- # header parameters
549
- header_params = {}
550
- # HTTP header 'Accept' (if needed)
551
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
552
- # HTTP header 'Content-Type'
553
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
554
-
555
- # form parameters
556
- form_params = {}
557
-
558
- # http body (model)
559
- post_body = @api_client.object_to_http_body(req_config)
560
- auth_names = ['Apikey']
561
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
562
- :header_params => header_params,
563
- :query_params => query_params,
564
- :form_params => form_params,
565
- :body => post_body,
566
- :auth_names => auth_names,
567
- :return_type => 'GetDocxHeadersAndFootersResponse')
568
- if @api_client.config.debugging
569
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_headers_and_footers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
570
- end
571
- return data, status_code, headers
572
- end
573
-
574
- # Get images from a Word DOCX document
575
- # Returns the images defined in the Word Document (DOCX) format file
576
- # @param req_config Document input request
577
- # @param [Hash] opts the optional parameters
578
- # @return [GetDocxImagesResponse]
579
- def edit_document_docx_get_images(req_config, opts = {})
580
- data, _status_code, _headers = edit_document_docx_get_images_with_http_info(req_config, opts)
581
- return data
582
- end
583
-
584
- # Get images from a Word DOCX document
585
- # Returns the images defined in the Word Document (DOCX) format file
586
- # @param req_config Document input request
587
- # @param [Hash] opts the optional parameters
588
- # @return [Array<(GetDocxImagesResponse, Fixnum, Hash)>] GetDocxImagesResponse data, response status code and response headers
589
- def edit_document_docx_get_images_with_http_info(req_config, opts = {})
590
- if @api_client.config.debugging
591
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_images ..."
592
- end
593
- # verify the required parameter 'req_config' is set
594
- if @api_client.config.client_side_validation && req_config.nil?
595
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_images"
596
- end
597
- # resource path
598
- local_var_path = "/convert/edit/docx/get-images"
599
-
600
- # query parameters
601
- query_params = {}
602
-
603
- # header parameters
604
- header_params = {}
605
- # HTTP header 'Accept' (if needed)
606
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
607
- # HTTP header 'Content-Type'
608
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
609
-
610
- # form parameters
611
- form_params = {}
612
-
613
- # http body (model)
614
- post_body = @api_client.object_to_http_body(req_config)
615
- auth_names = ['Apikey']
616
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
617
- :header_params => header_params,
618
- :query_params => query_params,
619
- :form_params => form_params,
620
- :body => post_body,
621
- :auth_names => auth_names,
622
- :return_type => 'GetDocxImagesResponse')
623
- if @api_client.config.debugging
624
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
625
- end
626
- return data, status_code, headers
627
- end
628
-
629
- # Get sections from a Word DOCX document
630
- # Returns the sections defined in the Word Document (DOCX) format file
631
- # @param req_config Document input request
632
- # @param [Hash] opts the optional parameters
633
- # @return [GetDocxSectionsResponse]
634
- def edit_document_docx_get_sections(req_config, opts = {})
635
- data, _status_code, _headers = edit_document_docx_get_sections_with_http_info(req_config, opts)
636
- return data
637
- end
638
-
639
- # Get sections from a Word DOCX document
640
- # Returns the sections defined in the Word Document (DOCX) format file
641
- # @param req_config Document input request
642
- # @param [Hash] opts the optional parameters
643
- # @return [Array<(GetDocxSectionsResponse, Fixnum, Hash)>] GetDocxSectionsResponse data, response status code and response headers
644
- def edit_document_docx_get_sections_with_http_info(req_config, opts = {})
645
- if @api_client.config.debugging
646
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_sections ..."
647
- end
648
- # verify the required parameter 'req_config' is set
649
- if @api_client.config.client_side_validation && req_config.nil?
650
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_sections"
651
- end
652
- # resource path
653
- local_var_path = "/convert/edit/docx/get-sections"
654
-
655
- # query parameters
656
- query_params = {}
657
-
658
- # header parameters
659
- header_params = {}
660
- # HTTP header 'Accept' (if needed)
661
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
662
- # HTTP header 'Content-Type'
663
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
664
-
665
- # form parameters
666
- form_params = {}
667
-
668
- # http body (model)
669
- post_body = @api_client.object_to_http_body(req_config)
670
- auth_names = ['Apikey']
671
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
672
- :header_params => header_params,
673
- :query_params => query_params,
674
- :form_params => form_params,
675
- :body => post_body,
676
- :auth_names => auth_names,
677
- :return_type => 'GetDocxSectionsResponse')
678
- if @api_client.config.debugging
679
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_sections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
680
- end
681
- return data, status_code, headers
682
- end
683
-
684
- # Get styles from a Word DOCX document
685
- # Returns the styles defined in the Word Document (DOCX) format file
686
- # @param req_config Document input request
687
- # @param [Hash] opts the optional parameters
688
- # @return [GetDocxStylesResponse]
689
- def edit_document_docx_get_styles(req_config, opts = {})
690
- data, _status_code, _headers = edit_document_docx_get_styles_with_http_info(req_config, opts)
691
- return data
692
- end
693
-
694
- # Get styles from a Word DOCX document
695
- # Returns the styles defined in the Word Document (DOCX) format file
696
- # @param req_config Document input request
697
- # @param [Hash] opts the optional parameters
698
- # @return [Array<(GetDocxStylesResponse, Fixnum, Hash)>] GetDocxStylesResponse data, response status code and response headers
699
- def edit_document_docx_get_styles_with_http_info(req_config, opts = {})
700
- if @api_client.config.debugging
701
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_styles ..."
702
- end
703
- # verify the required parameter 'req_config' is set
704
- if @api_client.config.client_side_validation && req_config.nil?
705
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_styles"
706
- end
707
- # resource path
708
- local_var_path = "/convert/edit/docx/get-styles"
709
-
710
- # query parameters
711
- query_params = {}
712
-
713
- # header parameters
714
- header_params = {}
715
- # HTTP header 'Accept' (if needed)
716
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
717
- # HTTP header 'Content-Type'
718
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
719
-
720
- # form parameters
721
- form_params = {}
722
-
723
- # http body (model)
724
- post_body = @api_client.object_to_http_body(req_config)
725
- auth_names = ['Apikey']
726
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
727
- :header_params => header_params,
728
- :query_params => query_params,
729
- :form_params => form_params,
730
- :body => post_body,
731
- :auth_names => auth_names,
732
- :return_type => 'GetDocxStylesResponse')
733
- if @api_client.config.debugging
734
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_styles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
735
- end
736
- return data, status_code, headers
737
- end
738
-
739
- # Get a specific table by index in a Word DOCX document
740
- # Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
741
- # @param req_config Document input request
742
- # @param [Hash] opts the optional parameters
743
- # @return [GetDocxTableByIndexResponse]
744
- def edit_document_docx_get_table_by_index(req_config, opts = {})
745
- data, _status_code, _headers = edit_document_docx_get_table_by_index_with_http_info(req_config, opts)
746
- return data
747
- end
748
-
749
- # Get a specific table by index in a Word DOCX document
750
- # Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
751
- # @param req_config Document input request
752
- # @param [Hash] opts the optional parameters
753
- # @return [Array<(GetDocxTableByIndexResponse, Fixnum, Hash)>] GetDocxTableByIndexResponse data, response status code and response headers
754
- def edit_document_docx_get_table_by_index_with_http_info(req_config, opts = {})
755
- if @api_client.config.debugging
756
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_table_by_index ..."
757
- end
758
- # verify the required parameter 'req_config' is set
759
- if @api_client.config.client_side_validation && req_config.nil?
760
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_table_by_index"
761
- end
762
- # resource path
763
- local_var_path = "/convert/edit/docx/get-table/by-index"
764
-
765
- # query parameters
766
- query_params = {}
767
-
768
- # header parameters
769
- header_params = {}
770
- # HTTP header 'Accept' (if needed)
771
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
772
- # HTTP header 'Content-Type'
773
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
774
-
775
- # form parameters
776
- form_params = {}
777
-
778
- # http body (model)
779
- post_body = @api_client.object_to_http_body(req_config)
780
- auth_names = ['Apikey']
781
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
782
- :header_params => header_params,
783
- :query_params => query_params,
784
- :form_params => form_params,
785
- :body => post_body,
786
- :auth_names => auth_names,
787
- :return_type => 'GetDocxTableByIndexResponse')
788
- if @api_client.config.debugging
789
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_table_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
790
- end
791
- return data, status_code, headers
792
- end
793
-
794
- # Gets the contents of an existing table row in an existing table in a Word DOCX document
795
- # Gets the contents of an existing table row in a Word DOCX Document and returns the result.
796
- # @param req_config Document input request
797
- # @param [Hash] opts the optional parameters
798
- # @return [GetDocxTableRowResponse]
799
- def edit_document_docx_get_table_row(req_config, opts = {})
800
- data, _status_code, _headers = edit_document_docx_get_table_row_with_http_info(req_config, opts)
801
- return data
802
- end
803
-
804
- # Gets the contents of an existing table row in an existing table in a Word DOCX document
805
- # Gets the contents of an existing table row in a Word DOCX Document and returns the result.
806
- # @param req_config Document input request
807
- # @param [Hash] opts the optional parameters
808
- # @return [Array<(GetDocxTableRowResponse, Fixnum, Hash)>] GetDocxTableRowResponse data, response status code and response headers
809
- def edit_document_docx_get_table_row_with_http_info(req_config, opts = {})
810
- if @api_client.config.debugging
811
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_table_row ..."
812
- end
813
- # verify the required parameter 'req_config' is set
814
- if @api_client.config.client_side_validation && req_config.nil?
815
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_table_row"
816
- end
817
- # resource path
818
- local_var_path = "/convert/edit/docx/get-table-row"
819
-
820
- # query parameters
821
- query_params = {}
822
-
823
- # header parameters
824
- header_params = {}
825
- # HTTP header 'Accept' (if needed)
826
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
827
- # HTTP header 'Content-Type'
828
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
829
-
830
- # form parameters
831
- form_params = {}
832
-
833
- # http body (model)
834
- post_body = @api_client.object_to_http_body(req_config)
835
- auth_names = ['Apikey']
836
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
837
- :header_params => header_params,
838
- :query_params => query_params,
839
- :form_params => form_params,
840
- :body => post_body,
841
- :auth_names => auth_names,
842
- :return_type => 'GetDocxTableRowResponse')
843
- if @api_client.config.debugging
844
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
845
- end
846
- return data, status_code, headers
847
- end
848
-
849
- # Get all tables in Word DOCX document
850
- # Returns all the table objects in an Office Word Document (docx)
851
- # @param req_config Document input request
852
- # @param [Hash] opts the optional parameters
853
- # @return [GetDocxTablesResponse]
854
- def edit_document_docx_get_tables(req_config, opts = {})
855
- data, _status_code, _headers = edit_document_docx_get_tables_with_http_info(req_config, opts)
856
- return data
857
- end
858
-
859
- # Get all tables in Word DOCX document
860
- # Returns all the table objects in an Office Word Document (docx)
861
- # @param req_config Document input request
862
- # @param [Hash] opts the optional parameters
863
- # @return [Array<(GetDocxTablesResponse, Fixnum, Hash)>] GetDocxTablesResponse data, response status code and response headers
864
- def edit_document_docx_get_tables_with_http_info(req_config, opts = {})
865
- if @api_client.config.debugging
866
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_get_tables ..."
867
- end
868
- # verify the required parameter 'req_config' is set
869
- if @api_client.config.client_side_validation && req_config.nil?
870
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_tables"
871
- end
872
- # resource path
873
- local_var_path = "/convert/edit/docx/get-tables"
874
-
875
- # query parameters
876
- query_params = {}
877
-
878
- # header parameters
879
- header_params = {}
880
- # HTTP header 'Accept' (if needed)
881
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
882
- # HTTP header 'Content-Type'
883
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
884
-
885
- # form parameters
886
- form_params = {}
887
-
888
- # http body (model)
889
- post_body = @api_client.object_to_http_body(req_config)
890
- auth_names = ['Apikey']
891
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
892
- :header_params => header_params,
893
- :query_params => query_params,
894
- :form_params => form_params,
895
- :body => post_body,
896
- :auth_names => auth_names,
897
- :return_type => 'GetDocxTablesResponse')
898
- if @api_client.config.debugging
899
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_tables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
900
- end
901
- return data, status_code, headers
902
- end
903
-
904
- # Insert a new comment into a Word DOCX document attached to a paragraph
905
- # Adds a new comment into a Word DOCX document attached to a paragraph and returns the result. Call Finish Editing on the output URL to complete the operation.
906
- # @param req_config Document input request
907
- # @param [Hash] opts the optional parameters
908
- # @return [InsertDocxCommentOnParagraphResponse]
909
- def edit_document_docx_insert_comment_on_paragraph(req_config, opts = {})
910
- data, _status_code, _headers = edit_document_docx_insert_comment_on_paragraph_with_http_info(req_config, opts)
911
- return data
912
- end
913
-
914
- # Insert a new comment into a Word DOCX document attached to a paragraph
915
- # Adds a new comment into a Word DOCX document attached to a paragraph and returns the result. Call Finish Editing on the output URL to complete the operation.
916
- # @param req_config Document input request
917
- # @param [Hash] opts the optional parameters
918
- # @return [Array<(InsertDocxCommentOnParagraphResponse, Fixnum, Hash)>] InsertDocxCommentOnParagraphResponse data, response status code and response headers
919
- def edit_document_docx_insert_comment_on_paragraph_with_http_info(req_config, opts = {})
920
- if @api_client.config.debugging
921
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_insert_comment_on_paragraph ..."
922
- end
923
- # verify the required parameter 'req_config' is set
924
- if @api_client.config.client_side_validation && req_config.nil?
925
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_comment_on_paragraph"
926
- end
927
- # resource path
928
- local_var_path = "/convert/edit/docx/insert-comment/on/paragraph"
929
-
930
- # query parameters
931
- query_params = {}
932
-
933
- # header parameters
934
- header_params = {}
935
- # HTTP header 'Accept' (if needed)
936
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
937
- # HTTP header 'Content-Type'
938
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
939
-
940
- # form parameters
941
- form_params = {}
942
-
943
- # http body (model)
944
- post_body = @api_client.object_to_http_body(req_config)
945
- auth_names = ['Apikey']
946
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
947
- :header_params => header_params,
948
- :query_params => query_params,
949
- :form_params => form_params,
950
- :body => post_body,
951
- :auth_names => auth_names,
952
- :return_type => 'InsertDocxCommentOnParagraphResponse')
953
- if @api_client.config.debugging
954
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_comment_on_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
955
- end
956
- return data, status_code, headers
957
- end
958
-
959
- # Insert image into a Word DOCX document
960
- # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
961
- # @param req_config Document input request
962
- # @param [Hash] opts the optional parameters
963
- # @return [DocxInsertImageResponse]
964
- def edit_document_docx_insert_image(req_config, opts = {})
965
- data, _status_code, _headers = edit_document_docx_insert_image_with_http_info(req_config, opts)
966
- return data
967
- end
968
-
969
- # Insert image into a Word DOCX document
970
- # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
971
- # @param req_config Document input request
972
- # @param [Hash] opts the optional parameters
973
- # @return [Array<(DocxInsertImageResponse, Fixnum, Hash)>] DocxInsertImageResponse data, response status code and response headers
974
- def edit_document_docx_insert_image_with_http_info(req_config, opts = {})
975
- if @api_client.config.debugging
976
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_insert_image ..."
977
- end
978
- # verify the required parameter 'req_config' is set
979
- if @api_client.config.client_side_validation && req_config.nil?
980
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_image"
981
- end
982
- # resource path
983
- local_var_path = "/convert/edit/docx/insert-image"
984
-
985
- # query parameters
986
- query_params = {}
987
-
988
- # header parameters
989
- header_params = {}
990
- # HTTP header 'Accept' (if needed)
991
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
992
- # HTTP header 'Content-Type'
993
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
994
-
995
- # form parameters
996
- form_params = {}
997
-
998
- # http body (model)
999
- post_body = @api_client.object_to_http_body(req_config)
1000
- auth_names = ['Apikey']
1001
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1002
- :header_params => header_params,
1003
- :query_params => query_params,
1004
- :form_params => form_params,
1005
- :body => post_body,
1006
- :auth_names => auth_names,
1007
- :return_type => 'DocxInsertImageResponse')
1008
- if @api_client.config.debugging
1009
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1010
- end
1011
- return data, status_code, headers
1012
- end
1013
-
1014
- # Insert a new paragraph into a Word DOCX document
1015
- # Adds a new paragraph into a DOCX and returns the result. You can insert at the beginning/end of a document, or before/after an existing object using its Path (location within the document). Call Finish Editing on the output URL to complete the operation.
1016
- # @param req_config Document input request
1017
- # @param [Hash] opts the optional parameters
1018
- # @return [InsertDocxInsertParagraphResponse]
1019
- def edit_document_docx_insert_paragraph(req_config, opts = {})
1020
- data, _status_code, _headers = edit_document_docx_insert_paragraph_with_http_info(req_config, opts)
1021
- return data
1022
- end
1023
-
1024
- # Insert a new paragraph into a Word DOCX document
1025
- # Adds a new paragraph into a DOCX and returns the result. You can insert at the beginning/end of a document, or before/after an existing object using its Path (location within the document). Call Finish Editing on the output URL to complete the operation.
1026
- # @param req_config Document input request
1027
- # @param [Hash] opts the optional parameters
1028
- # @return [Array<(InsertDocxInsertParagraphResponse, Fixnum, Hash)>] InsertDocxInsertParagraphResponse data, response status code and response headers
1029
- def edit_document_docx_insert_paragraph_with_http_info(req_config, opts = {})
1030
- if @api_client.config.debugging
1031
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_insert_paragraph ..."
1032
- end
1033
- # verify the required parameter 'req_config' is set
1034
- if @api_client.config.client_side_validation && req_config.nil?
1035
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_paragraph"
1036
- end
1037
- # resource path
1038
- local_var_path = "/convert/edit/docx/insert-paragraph"
1039
-
1040
- # query parameters
1041
- query_params = {}
1042
-
1043
- # header parameters
1044
- header_params = {}
1045
- # HTTP header 'Accept' (if needed)
1046
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1047
- # HTTP header 'Content-Type'
1048
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1049
-
1050
- # form parameters
1051
- form_params = {}
1052
-
1053
- # http body (model)
1054
- post_body = @api_client.object_to_http_body(req_config)
1055
- auth_names = ['Apikey']
1056
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1057
- :header_params => header_params,
1058
- :query_params => query_params,
1059
- :form_params => form_params,
1060
- :body => post_body,
1061
- :auth_names => auth_names,
1062
- :return_type => 'InsertDocxInsertParagraphResponse')
1063
- if @api_client.config.debugging
1064
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1065
- end
1066
- return data, status_code, headers
1067
- end
1068
-
1069
- # Insert a new table into a Word DOCX document
1070
- # Adds a new table into a DOCX and returns the result. Call Finish Editing on the output URL to complete the operation.
1071
- # @param req_config Document input request
1072
- # @param [Hash] opts the optional parameters
1073
- # @return [InsertDocxTablesResponse]
1074
- def edit_document_docx_insert_table(req_config, opts = {})
1075
- data, _status_code, _headers = edit_document_docx_insert_table_with_http_info(req_config, opts)
1076
- return data
1077
- end
1078
-
1079
- # Insert a new table into a Word DOCX document
1080
- # Adds a new table into a DOCX and returns the result. Call Finish Editing on the output URL to complete the operation.
1081
- # @param req_config Document input request
1082
- # @param [Hash] opts the optional parameters
1083
- # @return [Array<(InsertDocxTablesResponse, Fixnum, Hash)>] InsertDocxTablesResponse data, response status code and response headers
1084
- def edit_document_docx_insert_table_with_http_info(req_config, opts = {})
1085
- if @api_client.config.debugging
1086
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_insert_table ..."
1087
- end
1088
- # verify the required parameter 'req_config' is set
1089
- if @api_client.config.client_side_validation && req_config.nil?
1090
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_table"
1091
- end
1092
- # resource path
1093
- local_var_path = "/convert/edit/docx/insert-table"
1094
-
1095
- # query parameters
1096
- query_params = {}
1097
-
1098
- # header parameters
1099
- header_params = {}
1100
- # HTTP header 'Accept' (if needed)
1101
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1102
- # HTTP header 'Content-Type'
1103
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1104
-
1105
- # form parameters
1106
- form_params = {}
1107
-
1108
- # http body (model)
1109
- post_body = @api_client.object_to_http_body(req_config)
1110
- auth_names = ['Apikey']
1111
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1112
- :header_params => header_params,
1113
- :query_params => query_params,
1114
- :form_params => form_params,
1115
- :body => post_body,
1116
- :auth_names => auth_names,
1117
- :return_type => 'InsertDocxTablesResponse')
1118
- if @api_client.config.debugging
1119
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1120
- end
1121
- return data, status_code, headers
1122
- end
1123
-
1124
- # Insert a new row into an existing table in a Word DOCX document
1125
- # Adds a new table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1126
- # @param req_config Document input request
1127
- # @param [Hash] opts the optional parameters
1128
- # @return [InsertDocxTableRowResponse]
1129
- def edit_document_docx_insert_table_row(req_config, opts = {})
1130
- data, _status_code, _headers = edit_document_docx_insert_table_row_with_http_info(req_config, opts)
1131
- return data
1132
- end
1133
-
1134
- # Insert a new row into an existing table in a Word DOCX document
1135
- # Adds a new table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1136
- # @param req_config Document input request
1137
- # @param [Hash] opts the optional parameters
1138
- # @return [Array<(InsertDocxTableRowResponse, Fixnum, Hash)>] InsertDocxTableRowResponse data, response status code and response headers
1139
- def edit_document_docx_insert_table_row_with_http_info(req_config, opts = {})
1140
- if @api_client.config.debugging
1141
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_insert_table_row ..."
1142
- end
1143
- # verify the required parameter 'req_config' is set
1144
- if @api_client.config.client_side_validation && req_config.nil?
1145
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_table_row"
1146
- end
1147
- # resource path
1148
- local_var_path = "/convert/edit/docx/insert-table-row"
1149
-
1150
- # query parameters
1151
- query_params = {}
1152
-
1153
- # header parameters
1154
- header_params = {}
1155
- # HTTP header 'Accept' (if needed)
1156
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1157
- # HTTP header 'Content-Type'
1158
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1159
-
1160
- # form parameters
1161
- form_params = {}
1162
-
1163
- # http body (model)
1164
- post_body = @api_client.object_to_http_body(req_config)
1165
- auth_names = ['Apikey']
1166
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1167
- :header_params => header_params,
1168
- :query_params => query_params,
1169
- :form_params => form_params,
1170
- :body => post_body,
1171
- :auth_names => auth_names,
1172
- :return_type => 'InsertDocxTableRowResponse')
1173
- if @api_client.config.debugging
1174
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1175
- end
1176
- return data, status_code, headers
1177
- end
1178
-
1179
- # Get pages and content from a Word DOCX document
1180
- # Returns the pages and contents of each page defined in the Word Document (DOCX) format file
1181
- # @param req_config Document input request
1182
- # @param [Hash] opts the optional parameters
1183
- # @return [GetDocxPagesResponse]
1184
- def edit_document_docx_pages(req_config, opts = {})
1185
- data, _status_code, _headers = edit_document_docx_pages_with_http_info(req_config, opts)
1186
- return data
1187
- end
1188
-
1189
- # Get pages and content from a Word DOCX document
1190
- # Returns the pages and contents of each page defined in the Word Document (DOCX) format file
1191
- # @param req_config Document input request
1192
- # @param [Hash] opts the optional parameters
1193
- # @return [Array<(GetDocxPagesResponse, Fixnum, Hash)>] GetDocxPagesResponse data, response status code and response headers
1194
- def edit_document_docx_pages_with_http_info(req_config, opts = {})
1195
- if @api_client.config.debugging
1196
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_pages ..."
1197
- end
1198
- # verify the required parameter 'req_config' is set
1199
- if @api_client.config.client_side_validation && req_config.nil?
1200
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_pages"
1201
- end
1202
- # resource path
1203
- local_var_path = "/convert/edit/docx/get-pages"
1204
-
1205
- # query parameters
1206
- query_params = {}
1207
-
1208
- # header parameters
1209
- header_params = {}
1210
- # HTTP header 'Accept' (if needed)
1211
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1212
- # HTTP header 'Content-Type'
1213
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1214
-
1215
- # form parameters
1216
- form_params = {}
1217
-
1218
- # http body (model)
1219
- post_body = @api_client.object_to_http_body(req_config)
1220
- auth_names = ['Apikey']
1221
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1222
- :header_params => header_params,
1223
- :query_params => query_params,
1224
- :form_params => form_params,
1225
- :body => post_body,
1226
- :auth_names => auth_names,
1227
- :return_type => 'GetDocxPagesResponse')
1228
- if @api_client.config.debugging
1229
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1230
- end
1231
- return data, status_code, headers
1232
- end
1233
-
1234
- # Remove headers and footers from Word DOCX document
1235
- # Remove all headers, or footers, or both from a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1236
- # @param req_config Document input request
1237
- # @param [Hash] opts the optional parameters
1238
- # @return [RemoveDocxHeadersAndFootersResponse]
1239
- def edit_document_docx_remove_headers_and_footers(req_config, opts = {})
1240
- data, _status_code, _headers = edit_document_docx_remove_headers_and_footers_with_http_info(req_config, opts)
1241
- return data
1242
- end
1243
-
1244
- # Remove headers and footers from Word DOCX document
1245
- # Remove all headers, or footers, or both from a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1246
- # @param req_config Document input request
1247
- # @param [Hash] opts the optional parameters
1248
- # @return [Array<(RemoveDocxHeadersAndFootersResponse, Fixnum, Hash)>] RemoveDocxHeadersAndFootersResponse data, response status code and response headers
1249
- def edit_document_docx_remove_headers_and_footers_with_http_info(req_config, opts = {})
1250
- if @api_client.config.debugging
1251
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_remove_headers_and_footers ..."
1252
- end
1253
- # verify the required parameter 'req_config' is set
1254
- if @api_client.config.client_side_validation && req_config.nil?
1255
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_remove_headers_and_footers"
1256
- end
1257
- # resource path
1258
- local_var_path = "/convert/edit/docx/remove-headers-and-footers"
1259
-
1260
- # query parameters
1261
- query_params = {}
1262
-
1263
- # header parameters
1264
- header_params = {}
1265
- # HTTP header 'Accept' (if needed)
1266
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1267
- # HTTP header 'Content-Type'
1268
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1269
-
1270
- # form parameters
1271
- form_params = {}
1272
-
1273
- # http body (model)
1274
- post_body = @api_client.object_to_http_body(req_config)
1275
- auth_names = ['Apikey']
1276
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1277
- :header_params => header_params,
1278
- :query_params => query_params,
1279
- :form_params => form_params,
1280
- :body => post_body,
1281
- :auth_names => auth_names,
1282
- :return_type => 'RemoveDocxHeadersAndFootersResponse')
1283
- if @api_client.config.debugging
1284
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_remove_headers_and_footers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1285
- end
1286
- return data, status_code, headers
1287
- end
1288
-
1289
- # Delete any object in a Word DOCX document
1290
- # Delete any object, such as a paragraph, table, image, etc. from a Word Document (DOCX). Pass in the Path of the object you would like to delete. You can call other functions such as Get-Tables, Get-Images, Get-Body, etc. to get the paths of the objects in the document. Call Finish Editing on the output URL to complete the operation.
1291
- # @param req_config Document input request
1292
- # @param [Hash] opts the optional parameters
1293
- # @return [DocxRemoveObjectResponse]
1294
- def edit_document_docx_remove_object(req_config, opts = {})
1295
- data, _status_code, _headers = edit_document_docx_remove_object_with_http_info(req_config, opts)
1296
- return data
1297
- end
1298
-
1299
- # Delete any object in a Word DOCX document
1300
- # Delete any object, such as a paragraph, table, image, etc. from a Word Document (DOCX). Pass in the Path of the object you would like to delete. You can call other functions such as Get-Tables, Get-Images, Get-Body, etc. to get the paths of the objects in the document. Call Finish Editing on the output URL to complete the operation.
1301
- # @param req_config Document input request
1302
- # @param [Hash] opts the optional parameters
1303
- # @return [Array<(DocxRemoveObjectResponse, Fixnum, Hash)>] DocxRemoveObjectResponse data, response status code and response headers
1304
- def edit_document_docx_remove_object_with_http_info(req_config, opts = {})
1305
- if @api_client.config.debugging
1306
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_remove_object ..."
1307
- end
1308
- # verify the required parameter 'req_config' is set
1309
- if @api_client.config.client_side_validation && req_config.nil?
1310
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_remove_object"
1311
- end
1312
- # resource path
1313
- local_var_path = "/convert/edit/docx/remove-object"
1314
-
1315
- # query parameters
1316
- query_params = {}
1317
-
1318
- # header parameters
1319
- header_params = {}
1320
- # HTTP header 'Accept' (if needed)
1321
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1322
- # HTTP header 'Content-Type'
1323
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1324
-
1325
- # form parameters
1326
- form_params = {}
1327
-
1328
- # http body (model)
1329
- post_body = @api_client.object_to_http_body(req_config)
1330
- auth_names = ['Apikey']
1331
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1332
- :header_params => header_params,
1333
- :query_params => query_params,
1334
- :form_params => form_params,
1335
- :body => post_body,
1336
- :auth_names => auth_names,
1337
- :return_type => 'DocxRemoveObjectResponse')
1338
- if @api_client.config.debugging
1339
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_remove_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1340
- end
1341
- return data, status_code, headers
1342
- end
1343
-
1344
- # Replace string in Word DOCX document
1345
- # Replace all instances of a string in an Office Word Document (docx)
1346
- # @param req_config Document string replacement configuration input
1347
- # @param [Hash] opts the optional parameters
1348
- # @return [String]
1349
- def edit_document_docx_replace(req_config, opts = {})
1350
- data, _status_code, _headers = edit_document_docx_replace_with_http_info(req_config, opts)
1351
- return data
1352
- end
1353
-
1354
- # Replace string in Word DOCX document
1355
- # Replace all instances of a string in an Office Word Document (docx)
1356
- # @param req_config Document string replacement configuration input
1357
- # @param [Hash] opts the optional parameters
1358
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1359
- def edit_document_docx_replace_with_http_info(req_config, opts = {})
1360
- if @api_client.config.debugging
1361
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_replace ..."
1362
- end
1363
- # verify the required parameter 'req_config' is set
1364
- if @api_client.config.client_side_validation && req_config.nil?
1365
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_replace"
1366
- end
1367
- # resource path
1368
- local_var_path = "/convert/edit/docx/replace-all"
1369
-
1370
- # query parameters
1371
- query_params = {}
1372
-
1373
- # header parameters
1374
- header_params = {}
1375
- # HTTP header 'Accept' (if needed)
1376
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1377
- # HTTP header 'Content-Type'
1378
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1379
-
1380
- # form parameters
1381
- form_params = {}
1382
-
1383
- # http body (model)
1384
- post_body = @api_client.object_to_http_body(req_config)
1385
- auth_names = ['Apikey']
1386
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1387
- :header_params => header_params,
1388
- :query_params => query_params,
1389
- :form_params => form_params,
1390
- :body => post_body,
1391
- :auth_names => auth_names,
1392
- :return_type => 'String')
1393
- if @api_client.config.debugging
1394
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1395
- end
1396
- return data, status_code, headers
1397
- end
1398
-
1399
- # Replace matching paragraphs in a Word DOCX document
1400
- # Returns the edited Word Document (DOCX) format file with the matching paragraphs replaced as requested. Replace a paragraph with another object such as an image. Useful for performing templating operations.
1401
- # @param req_config Document input request
1402
- # @param [Hash] opts the optional parameters
1403
- # @return [ReplaceDocxParagraphResponse]
1404
- def edit_document_docx_replace_paragraph(req_config, opts = {})
1405
- data, _status_code, _headers = edit_document_docx_replace_paragraph_with_http_info(req_config, opts)
1406
- return data
1407
- end
1408
-
1409
- # Replace matching paragraphs in a Word DOCX document
1410
- # Returns the edited Word Document (DOCX) format file with the matching paragraphs replaced as requested. Replace a paragraph with another object such as an image. Useful for performing templating operations.
1411
- # @param req_config Document input request
1412
- # @param [Hash] opts the optional parameters
1413
- # @return [Array<(ReplaceDocxParagraphResponse, Fixnum, Hash)>] ReplaceDocxParagraphResponse data, response status code and response headers
1414
- def edit_document_docx_replace_paragraph_with_http_info(req_config, opts = {})
1415
- if @api_client.config.debugging
1416
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_replace_paragraph ..."
1417
- end
1418
- # verify the required parameter 'req_config' is set
1419
- if @api_client.config.client_side_validation && req_config.nil?
1420
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_replace_paragraph"
1421
- end
1422
- # resource path
1423
- local_var_path = "/convert/edit/docx/replace/paragraph"
1424
-
1425
- # query parameters
1426
- query_params = {}
1427
-
1428
- # header parameters
1429
- header_params = {}
1430
- # HTTP header 'Accept' (if needed)
1431
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1432
- # HTTP header 'Content-Type'
1433
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1434
-
1435
- # form parameters
1436
- form_params = {}
1437
-
1438
- # http body (model)
1439
- post_body = @api_client.object_to_http_body(req_config)
1440
- auth_names = ['Apikey']
1441
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1442
- :header_params => header_params,
1443
- :query_params => query_params,
1444
- :form_params => form_params,
1445
- :body => post_body,
1446
- :auth_names => auth_names,
1447
- :return_type => 'ReplaceDocxParagraphResponse')
1448
- if @api_client.config.debugging
1449
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_replace_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1450
- end
1451
- return data, status_code, headers
1452
- end
1453
-
1454
- # Set the footer in a Word DOCX document
1455
- # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1456
- # @param req_config Document input request
1457
- # @param [Hash] opts the optional parameters
1458
- # @return [DocxSetFooterResponse]
1459
- def edit_document_docx_set_footer(req_config, opts = {})
1460
- data, _status_code, _headers = edit_document_docx_set_footer_with_http_info(req_config, opts)
1461
- return data
1462
- end
1463
-
1464
- # Set the footer in a Word DOCX document
1465
- # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1466
- # @param req_config Document input request
1467
- # @param [Hash] opts the optional parameters
1468
- # @return [Array<(DocxSetFooterResponse, Fixnum, Hash)>] DocxSetFooterResponse data, response status code and response headers
1469
- def edit_document_docx_set_footer_with_http_info(req_config, opts = {})
1470
- if @api_client.config.debugging
1471
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_set_footer ..."
1472
- end
1473
- # verify the required parameter 'req_config' is set
1474
- if @api_client.config.client_side_validation && req_config.nil?
1475
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_set_footer"
1476
- end
1477
- # resource path
1478
- local_var_path = "/convert/edit/docx/set-footer"
1479
-
1480
- # query parameters
1481
- query_params = {}
1482
-
1483
- # header parameters
1484
- header_params = {}
1485
- # HTTP header 'Accept' (if needed)
1486
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1487
- # HTTP header 'Content-Type'
1488
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1489
-
1490
- # form parameters
1491
- form_params = {}
1492
-
1493
- # http body (model)
1494
- post_body = @api_client.object_to_http_body(req_config)
1495
- auth_names = ['Apikey']
1496
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1497
- :header_params => header_params,
1498
- :query_params => query_params,
1499
- :form_params => form_params,
1500
- :body => post_body,
1501
- :auth_names => auth_names,
1502
- :return_type => 'DocxSetFooterResponse')
1503
- if @api_client.config.debugging
1504
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_set_footer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1505
- end
1506
- return data, status_code, headers
1507
- end
1508
-
1509
- # Add page number to footer in a Word DOCX document
1510
- # Set the footer in a Word Document (DOCX) to contain a page number. Call Finish Editing on the output URL to complete the operation.
1511
- # @param req_config Document input request
1512
- # @param [Hash] opts the optional parameters
1513
- # @return [DocxSetFooterResponse]
1514
- def edit_document_docx_set_footer_add_page_number(req_config, opts = {})
1515
- data, _status_code, _headers = edit_document_docx_set_footer_add_page_number_with_http_info(req_config, opts)
1516
- return data
1517
- end
1518
-
1519
- # Add page number to footer in a Word DOCX document
1520
- # Set the footer in a Word Document (DOCX) to contain a page number. Call Finish Editing on the output URL to complete the operation.
1521
- # @param req_config Document input request
1522
- # @param [Hash] opts the optional parameters
1523
- # @return [Array<(DocxSetFooterResponse, Fixnum, Hash)>] DocxSetFooterResponse data, response status code and response headers
1524
- def edit_document_docx_set_footer_add_page_number_with_http_info(req_config, opts = {})
1525
- if @api_client.config.debugging
1526
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_set_footer_add_page_number ..."
1527
- end
1528
- # verify the required parameter 'req_config' is set
1529
- if @api_client.config.client_side_validation && req_config.nil?
1530
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_set_footer_add_page_number"
1531
- end
1532
- # resource path
1533
- local_var_path = "/convert/edit/docx/set-footer/add-page-number"
1534
-
1535
- # query parameters
1536
- query_params = {}
1537
-
1538
- # header parameters
1539
- header_params = {}
1540
- # HTTP header 'Accept' (if needed)
1541
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1542
- # HTTP header 'Content-Type'
1543
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1544
-
1545
- # form parameters
1546
- form_params = {}
1547
-
1548
- # http body (model)
1549
- post_body = @api_client.object_to_http_body(req_config)
1550
- auth_names = ['Apikey']
1551
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1552
- :header_params => header_params,
1553
- :query_params => query_params,
1554
- :form_params => form_params,
1555
- :body => post_body,
1556
- :auth_names => auth_names,
1557
- :return_type => 'DocxSetFooterResponse')
1558
- if @api_client.config.debugging
1559
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_set_footer_add_page_number\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1560
- end
1561
- return data, status_code, headers
1562
- end
1563
-
1564
- # Set the header in a Word DOCX document
1565
- # Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1566
- # @param req_config Document input request
1567
- # @param [Hash] opts the optional parameters
1568
- # @return [DocxSetHeaderResponse]
1569
- def edit_document_docx_set_header(req_config, opts = {})
1570
- data, _status_code, _headers = edit_document_docx_set_header_with_http_info(req_config, opts)
1571
- return data
1572
- end
1573
-
1574
- # Set the header in a Word DOCX document
1575
- # Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1576
- # @param req_config Document input request
1577
- # @param [Hash] opts the optional parameters
1578
- # @return [Array<(DocxSetHeaderResponse, Fixnum, Hash)>] DocxSetHeaderResponse data, response status code and response headers
1579
- def edit_document_docx_set_header_with_http_info(req_config, opts = {})
1580
- if @api_client.config.debugging
1581
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_set_header ..."
1582
- end
1583
- # verify the required parameter 'req_config' is set
1584
- if @api_client.config.client_side_validation && req_config.nil?
1585
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_set_header"
1586
- end
1587
- # resource path
1588
- local_var_path = "/convert/edit/docx/set-header"
1589
-
1590
- # query parameters
1591
- query_params = {}
1592
-
1593
- # header parameters
1594
- header_params = {}
1595
- # HTTP header 'Accept' (if needed)
1596
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1597
- # HTTP header 'Content-Type'
1598
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1599
-
1600
- # form parameters
1601
- form_params = {}
1602
-
1603
- # http body (model)
1604
- post_body = @api_client.object_to_http_body(req_config)
1605
- auth_names = ['Apikey']
1606
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1607
- :header_params => header_params,
1608
- :query_params => query_params,
1609
- :form_params => form_params,
1610
- :body => post_body,
1611
- :auth_names => auth_names,
1612
- :return_type => 'DocxSetHeaderResponse')
1613
- if @api_client.config.debugging
1614
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_set_header\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1615
- end
1616
- return data, status_code, headers
1617
- end
1618
-
1619
- # Update, set contents of a table cell in an existing table in a Word DOCX document
1620
- # Sets the contents of a table cell into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1621
- # @param req_config Document input request
1622
- # @param [Hash] opts the optional parameters
1623
- # @return [UpdateDocxTableCellResponse]
1624
- def edit_document_docx_update_table_cell(req_config, opts = {})
1625
- data, _status_code, _headers = edit_document_docx_update_table_cell_with_http_info(req_config, opts)
1626
- return data
1627
- end
1628
-
1629
- # Update, set contents of a table cell in an existing table in a Word DOCX document
1630
- # Sets the contents of a table cell into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1631
- # @param req_config Document input request
1632
- # @param [Hash] opts the optional parameters
1633
- # @return [Array<(UpdateDocxTableCellResponse, Fixnum, Hash)>] UpdateDocxTableCellResponse data, response status code and response headers
1634
- def edit_document_docx_update_table_cell_with_http_info(req_config, opts = {})
1635
- if @api_client.config.debugging
1636
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_update_table_cell ..."
1637
- end
1638
- # verify the required parameter 'req_config' is set
1639
- if @api_client.config.client_side_validation && req_config.nil?
1640
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_update_table_cell"
1641
- end
1642
- # resource path
1643
- local_var_path = "/convert/edit/docx/update-table-cell"
1644
-
1645
- # query parameters
1646
- query_params = {}
1647
-
1648
- # header parameters
1649
- header_params = {}
1650
- # HTTP header 'Accept' (if needed)
1651
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1652
- # HTTP header 'Content-Type'
1653
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1654
-
1655
- # form parameters
1656
- form_params = {}
1657
-
1658
- # http body (model)
1659
- post_body = @api_client.object_to_http_body(req_config)
1660
- auth_names = ['Apikey']
1661
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1662
- :header_params => header_params,
1663
- :query_params => query_params,
1664
- :form_params => form_params,
1665
- :body => post_body,
1666
- :auth_names => auth_names,
1667
- :return_type => 'UpdateDocxTableCellResponse')
1668
- if @api_client.config.debugging
1669
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_update_table_cell\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1670
- end
1671
- return data, status_code, headers
1672
- end
1673
-
1674
- # Update, set contents of a table row in an existing table in a Word DOCX document
1675
- # Sets the contents of a table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1676
- # @param req_config Document input request
1677
- # @param [Hash] opts the optional parameters
1678
- # @return [UpdateDocxTableRowResponse]
1679
- def edit_document_docx_update_table_row(req_config, opts = {})
1680
- data, _status_code, _headers = edit_document_docx_update_table_row_with_http_info(req_config, opts)
1681
- return data
1682
- end
1683
-
1684
- # Update, set contents of a table row in an existing table in a Word DOCX document
1685
- # Sets the contents of a table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1686
- # @param req_config Document input request
1687
- # @param [Hash] opts the optional parameters
1688
- # @return [Array<(UpdateDocxTableRowResponse, Fixnum, Hash)>] UpdateDocxTableRowResponse data, response status code and response headers
1689
- def edit_document_docx_update_table_row_with_http_info(req_config, opts = {})
1690
- if @api_client.config.debugging
1691
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_docx_update_table_row ..."
1692
- end
1693
- # verify the required parameter 'req_config' is set
1694
- if @api_client.config.client_side_validation && req_config.nil?
1695
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_update_table_row"
1696
- end
1697
- # resource path
1698
- local_var_path = "/convert/edit/docx/update-table-row"
1699
-
1700
- # query parameters
1701
- query_params = {}
1702
-
1703
- # header parameters
1704
- header_params = {}
1705
- # HTTP header 'Accept' (if needed)
1706
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1707
- # HTTP header 'Content-Type'
1708
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1709
-
1710
- # form parameters
1711
- form_params = {}
1712
-
1713
- # http body (model)
1714
- post_body = @api_client.object_to_http_body(req_config)
1715
- auth_names = ['Apikey']
1716
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1717
- :header_params => header_params,
1718
- :query_params => query_params,
1719
- :form_params => form_params,
1720
- :body => post_body,
1721
- :auth_names => auth_names,
1722
- :return_type => 'UpdateDocxTableRowResponse')
1723
- if @api_client.config.debugging
1724
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_update_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1725
- end
1726
- return data, status_code, headers
1727
- end
1728
-
1729
- # Finish editing document, and download result from document editing
1730
- # Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.
1731
- # @param req_config Cloudmersive Document URL to complete editing on
1732
- # @param [Hash] opts the optional parameters
1733
- # @return [String]
1734
- def edit_document_finish_editing(req_config, opts = {})
1735
- data, _status_code, _headers = edit_document_finish_editing_with_http_info(req_config, opts)
1736
- return data
1737
- end
1738
-
1739
- # Finish editing document, and download result from document editing
1740
- # Once done editing a document, download the result. Begin editing a document by calling begin-editing, then perform operations, then call finish-editing to get the result.
1741
- # @param req_config Cloudmersive Document URL to complete editing on
1742
- # @param [Hash] opts the optional parameters
1743
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1744
- def edit_document_finish_editing_with_http_info(req_config, opts = {})
1745
- if @api_client.config.debugging
1746
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_finish_editing ..."
1747
- end
1748
- # verify the required parameter 'req_config' is set
1749
- if @api_client.config.client_side_validation && req_config.nil?
1750
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_finish_editing"
1751
- end
1752
- # resource path
1753
- local_var_path = "/convert/edit/finish-editing"
1754
-
1755
- # query parameters
1756
- query_params = {}
1757
-
1758
- # header parameters
1759
- header_params = {}
1760
- # HTTP header 'Accept' (if needed)
1761
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1762
- # HTTP header 'Content-Type'
1763
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1764
-
1765
- # form parameters
1766
- form_params = {}
1767
-
1768
- # http body (model)
1769
- post_body = @api_client.object_to_http_body(req_config)
1770
- auth_names = ['Apikey']
1771
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1772
- :header_params => header_params,
1773
- :query_params => query_params,
1774
- :form_params => form_params,
1775
- :body => post_body,
1776
- :auth_names => auth_names,
1777
- :return_type => 'String')
1778
- if @api_client.config.debugging
1779
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_finish_editing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1780
- end
1781
- return data, status_code, headers
1782
- end
1783
-
1784
- # Delete, remove slides from a PowerPoint PPTX presentation document
1785
- # Edits the input PowerPoint PPTX presentation document to remove the specified slides
1786
- # @param req_config Presentation input request
1787
- # @param [Hash] opts the optional parameters
1788
- # @return [String]
1789
- def edit_document_pptx_delete_slides(req_config, opts = {})
1790
- data, _status_code, _headers = edit_document_pptx_delete_slides_with_http_info(req_config, opts)
1791
- return data
1792
- end
1793
-
1794
- # Delete, remove slides from a PowerPoint PPTX presentation document
1795
- # Edits the input PowerPoint PPTX presentation document to remove the specified slides
1796
- # @param req_config Presentation input request
1797
- # @param [Hash] opts the optional parameters
1798
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1799
- def edit_document_pptx_delete_slides_with_http_info(req_config, opts = {})
1800
- if @api_client.config.debugging
1801
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_pptx_delete_slides ..."
1802
- end
1803
- # verify the required parameter 'req_config' is set
1804
- if @api_client.config.client_side_validation && req_config.nil?
1805
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_pptx_delete_slides"
1806
- end
1807
- # resource path
1808
- local_var_path = "/convert/edit/pptx/delete-slides"
1809
-
1810
- # query parameters
1811
- query_params = {}
1812
-
1813
- # header parameters
1814
- header_params = {}
1815
- # HTTP header 'Accept' (if needed)
1816
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1817
- # HTTP header 'Content-Type'
1818
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1819
-
1820
- # form parameters
1821
- form_params = {}
1822
-
1823
- # http body (model)
1824
- post_body = @api_client.object_to_http_body(req_config)
1825
- auth_names = ['Apikey']
1826
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1827
- :header_params => header_params,
1828
- :query_params => query_params,
1829
- :form_params => form_params,
1830
- :body => post_body,
1831
- :auth_names => auth_names,
1832
- :return_type => 'String')
1833
- if @api_client.config.debugging
1834
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_pptx_delete_slides\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1835
- end
1836
- return data, status_code, headers
1837
- end
1838
-
1839
- # Replace string in PowerPoint PPTX presentation
1840
- # Replace all instances of a string in an Office PowerPoint Document (pptx)
1841
- # @param req_config Replacement document configuration input
1842
- # @param [Hash] opts the optional parameters
1843
- # @return [String]
1844
- def edit_document_pptx_replace(req_config, opts = {})
1845
- data, _status_code, _headers = edit_document_pptx_replace_with_http_info(req_config, opts)
1846
- return data
1847
- end
1848
-
1849
- # Replace string in PowerPoint PPTX presentation
1850
- # Replace all instances of a string in an Office PowerPoint Document (pptx)
1851
- # @param req_config Replacement document configuration input
1852
- # @param [Hash] opts the optional parameters
1853
- # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1854
- def edit_document_pptx_replace_with_http_info(req_config, opts = {})
1855
- if @api_client.config.debugging
1856
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_pptx_replace ..."
1857
- end
1858
- # verify the required parameter 'req_config' is set
1859
- if @api_client.config.client_side_validation && req_config.nil?
1860
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_pptx_replace"
1861
- end
1862
- # resource path
1863
- local_var_path = "/convert/edit/pptx/replace-all"
1864
-
1865
- # query parameters
1866
- query_params = {}
1867
-
1868
- # header parameters
1869
- header_params = {}
1870
- # HTTP header 'Accept' (if needed)
1871
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1872
- # HTTP header 'Content-Type'
1873
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1874
-
1875
- # form parameters
1876
- form_params = {}
1877
-
1878
- # http body (model)
1879
- post_body = @api_client.object_to_http_body(req_config)
1880
- auth_names = ['Apikey']
1881
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1882
- :header_params => header_params,
1883
- :query_params => query_params,
1884
- :form_params => form_params,
1885
- :body => post_body,
1886
- :auth_names => auth_names,
1887
- :return_type => 'String')
1888
- if @api_client.config.debugging
1889
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_pptx_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1890
- end
1891
- return data, status_code, headers
1892
- end
1893
-
1894
- # Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
1895
- # Clears, sets to blank, the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
1896
- # @param input Document input request
1897
- # @param [Hash] opts the optional parameters
1898
- # @return [ClearXlsxCellResponse]
1899
- def edit_document_xlsx_clear_cell_by_index(input, opts = {})
1900
- data, _status_code, _headers = edit_document_xlsx_clear_cell_by_index_with_http_info(input, opts)
1901
- return data
1902
- end
1903
-
1904
- # Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
1905
- # Clears, sets to blank, the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
1906
- # @param input Document input request
1907
- # @param [Hash] opts the optional parameters
1908
- # @return [Array<(ClearXlsxCellResponse, Fixnum, Hash)>] ClearXlsxCellResponse data, response status code and response headers
1909
- def edit_document_xlsx_clear_cell_by_index_with_http_info(input, opts = {})
1910
- if @api_client.config.debugging
1911
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_clear_cell_by_index ..."
1912
- end
1913
- # verify the required parameter 'input' is set
1914
- if @api_client.config.client_side_validation && input.nil?
1915
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_clear_cell_by_index"
1916
- end
1917
- # resource path
1918
- local_var_path = "/convert/edit/xlsx/clear-cell/by-index"
1919
-
1920
- # query parameters
1921
- query_params = {}
1922
-
1923
- # header parameters
1924
- header_params = {}
1925
- # HTTP header 'Accept' (if needed)
1926
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1927
- # HTTP header 'Content-Type'
1928
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1929
-
1930
- # form parameters
1931
- form_params = {}
1932
-
1933
- # http body (model)
1934
- post_body = @api_client.object_to_http_body(input)
1935
- auth_names = ['Apikey']
1936
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1937
- :header_params => header_params,
1938
- :query_params => query_params,
1939
- :form_params => form_params,
1940
- :body => post_body,
1941
- :auth_names => auth_names,
1942
- :return_type => 'ClearXlsxCellResponse')
1943
- if @api_client.config.debugging
1944
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_clear_cell_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1945
- end
1946
- return data, status_code, headers
1947
- end
1948
-
1949
- # Create a blank Excel XLSX spreadsheet
1950
- # Returns a blank Excel XLSX Spreadsheet (XLSX) format file
1951
- # @param input Document input request
1952
- # @param [Hash] opts the optional parameters
1953
- # @return [CreateBlankSpreadsheetResponse]
1954
- def edit_document_xlsx_create_blank_spreadsheet(input, opts = {})
1955
- data, _status_code, _headers = edit_document_xlsx_create_blank_spreadsheet_with_http_info(input, opts)
1956
- return data
1957
- end
1958
-
1959
- # Create a blank Excel XLSX spreadsheet
1960
- # Returns a blank Excel XLSX Spreadsheet (XLSX) format file
1961
- # @param input Document input request
1962
- # @param [Hash] opts the optional parameters
1963
- # @return [Array<(CreateBlankSpreadsheetResponse, Fixnum, Hash)>] CreateBlankSpreadsheetResponse data, response status code and response headers
1964
- def edit_document_xlsx_create_blank_spreadsheet_with_http_info(input, opts = {})
1965
- if @api_client.config.debugging
1966
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_create_blank_spreadsheet ..."
1967
- end
1968
- # verify the required parameter 'input' is set
1969
- if @api_client.config.client_side_validation && input.nil?
1970
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_create_blank_spreadsheet"
1971
- end
1972
- # resource path
1973
- local_var_path = "/convert/edit/xlsx/create/blank"
1974
-
1975
- # query parameters
1976
- query_params = {}
1977
-
1978
- # header parameters
1979
- header_params = {}
1980
- # HTTP header 'Accept' (if needed)
1981
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1982
- # HTTP header 'Content-Type'
1983
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1984
-
1985
- # form parameters
1986
- form_params = {}
1987
-
1988
- # http body (model)
1989
- post_body = @api_client.object_to_http_body(input)
1990
- auth_names = ['Apikey']
1991
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1992
- :header_params => header_params,
1993
- :query_params => query_params,
1994
- :form_params => form_params,
1995
- :body => post_body,
1996
- :auth_names => auth_names,
1997
- :return_type => 'CreateBlankSpreadsheetResponse')
1998
- if @api_client.config.debugging
1999
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_create_blank_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2000
- end
2001
- return data, status_code, headers
2002
- end
2003
-
2004
- # Create a new Excel XLSX spreadsheet from column and row data
2005
- # Returns a new Excel XLSX Spreadsheet (XLSX) format file populated with column and row data specified as input
2006
- # @param input Document input request
2007
- # @param [Hash] opts the optional parameters
2008
- # @return [CreateSpreadsheetFromDataResponse]
2009
- def edit_document_xlsx_create_spreadsheet_from_data(input, opts = {})
2010
- data, _status_code, _headers = edit_document_xlsx_create_spreadsheet_from_data_with_http_info(input, opts)
2011
- return data
2012
- end
2013
-
2014
- # Create a new Excel XLSX spreadsheet from column and row data
2015
- # Returns a new Excel XLSX Spreadsheet (XLSX) format file populated with column and row data specified as input
2016
- # @param input Document input request
2017
- # @param [Hash] opts the optional parameters
2018
- # @return [Array<(CreateSpreadsheetFromDataResponse, Fixnum, Hash)>] CreateSpreadsheetFromDataResponse data, response status code and response headers
2019
- def edit_document_xlsx_create_spreadsheet_from_data_with_http_info(input, opts = {})
2020
- if @api_client.config.debugging
2021
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_create_spreadsheet_from_data ..."
2022
- end
2023
- # verify the required parameter 'input' is set
2024
- if @api_client.config.client_side_validation && input.nil?
2025
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_create_spreadsheet_from_data"
2026
- end
2027
- # resource path
2028
- local_var_path = "/convert/edit/xlsx/create/from/data"
2029
-
2030
- # query parameters
2031
- query_params = {}
2032
-
2033
- # header parameters
2034
- header_params = {}
2035
- # HTTP header 'Accept' (if needed)
2036
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2037
- # HTTP header 'Content-Type'
2038
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2039
-
2040
- # form parameters
2041
- form_params = {}
2042
-
2043
- # http body (model)
2044
- post_body = @api_client.object_to_http_body(input)
2045
- auth_names = ['Apikey']
2046
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2047
- :header_params => header_params,
2048
- :query_params => query_params,
2049
- :form_params => form_params,
2050
- :body => post_body,
2051
- :auth_names => auth_names,
2052
- :return_type => 'CreateSpreadsheetFromDataResponse')
2053
- if @api_client.config.debugging
2054
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_create_spreadsheet_from_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2055
- end
2056
- return data, status_code, headers
2057
- end
2058
-
2059
- # Delete, remove worksheet from an Excel XLSX spreadsheet document
2060
- # Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab). Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.
2061
- # @param req_config Spreadsheet input request
2062
- # @param [Hash] opts the optional parameters
2063
- # @return [Object]
2064
- def edit_document_xlsx_delete_worksheet(req_config, opts = {})
2065
- data, _status_code, _headers = edit_document_xlsx_delete_worksheet_with_http_info(req_config, opts)
2066
- return data
2067
- end
2068
-
2069
- # Delete, remove worksheet from an Excel XLSX spreadsheet document
2070
- # Edits the input Excel XLSX spreadsheet document to remove the specified worksheet (tab). Use the Get Worksheets API to enumerate available worksheets in a spreadsheet.
2071
- # @param req_config Spreadsheet input request
2072
- # @param [Hash] opts the optional parameters
2073
- # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
2074
- def edit_document_xlsx_delete_worksheet_with_http_info(req_config, opts = {})
2075
- if @api_client.config.debugging
2076
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_delete_worksheet ..."
2077
- end
2078
- # verify the required parameter 'req_config' is set
2079
- if @api_client.config.client_side_validation && req_config.nil?
2080
- fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_xlsx_delete_worksheet"
2081
- end
2082
- # resource path
2083
- local_var_path = "/convert/edit/xlsx/delete-worksheet"
2084
-
2085
- # query parameters
2086
- query_params = {}
2087
-
2088
- # header parameters
2089
- header_params = {}
2090
- # HTTP header 'Accept' (if needed)
2091
- header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2092
- # HTTP header 'Content-Type'
2093
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2094
-
2095
- # form parameters
2096
- form_params = {}
2097
-
2098
- # http body (model)
2099
- post_body = @api_client.object_to_http_body(req_config)
2100
- auth_names = ['Apikey']
2101
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2102
- :header_params => header_params,
2103
- :query_params => query_params,
2104
- :form_params => form_params,
2105
- :body => post_body,
2106
- :auth_names => auth_names,
2107
- :return_type => 'Object')
2108
- if @api_client.config.debugging
2109
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_delete_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2110
- end
2111
- return data, status_code, headers
2112
- end
2113
-
2114
- # Disable Shared Workbook (legacy) in Excel XLSX spreadsheet
2115
- # Disable the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2116
- # @param input Document input request
2117
- # @param [Hash] opts the optional parameters
2118
- # @return [DisableSharedWorkbookResponse]
2119
- def edit_document_xlsx_disable_shared_workbook(input, opts = {})
2120
- data, _status_code, _headers = edit_document_xlsx_disable_shared_workbook_with_http_info(input, opts)
2121
- return data
2122
- end
2123
-
2124
- # Disable Shared Workbook (legacy) in Excel XLSX spreadsheet
2125
- # Disable the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2126
- # @param input Document input request
2127
- # @param [Hash] opts the optional parameters
2128
- # @return [Array<(DisableSharedWorkbookResponse, Fixnum, Hash)>] DisableSharedWorkbookResponse data, response status code and response headers
2129
- def edit_document_xlsx_disable_shared_workbook_with_http_info(input, opts = {})
2130
- if @api_client.config.debugging
2131
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_disable_shared_workbook ..."
2132
- end
2133
- # verify the required parameter 'input' is set
2134
- if @api_client.config.client_side_validation && input.nil?
2135
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_disable_shared_workbook"
2136
- end
2137
- # resource path
2138
- local_var_path = "/convert/edit/xlsx/configuration/disable-shared-workbook"
2139
-
2140
- # query parameters
2141
- query_params = {}
2142
-
2143
- # header parameters
2144
- header_params = {}
2145
- # HTTP header 'Accept' (if needed)
2146
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2147
- # HTTP header 'Content-Type'
2148
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2149
-
2150
- # form parameters
2151
- form_params = {}
2152
-
2153
- # http body (model)
2154
- post_body = @api_client.object_to_http_body(input)
2155
- auth_names = ['Apikey']
2156
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2157
- :header_params => header_params,
2158
- :query_params => query_params,
2159
- :form_params => form_params,
2160
- :body => post_body,
2161
- :auth_names => auth_names,
2162
- :return_type => 'DisableSharedWorkbookResponse')
2163
- if @api_client.config.debugging
2164
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_disable_shared_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2165
- end
2166
- return data, status_code, headers
2167
- end
2168
-
2169
- # Enable Shared Workbook (legacy) in Excel XLSX spreadsheet
2170
- # Enables the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2171
- # @param input Document input request
2172
- # @param [Hash] opts the optional parameters
2173
- # @return [EnableSharedWorkbookResponse]
2174
- def edit_document_xlsx_enable_shared_workbook(input, opts = {})
2175
- data, _status_code, _headers = edit_document_xlsx_enable_shared_workbook_with_http_info(input, opts)
2176
- return data
2177
- end
2178
-
2179
- # Enable Shared Workbook (legacy) in Excel XLSX spreadsheet
2180
- # Enables the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2181
- # @param input Document input request
2182
- # @param [Hash] opts the optional parameters
2183
- # @return [Array<(EnableSharedWorkbookResponse, Fixnum, Hash)>] EnableSharedWorkbookResponse data, response status code and response headers
2184
- def edit_document_xlsx_enable_shared_workbook_with_http_info(input, opts = {})
2185
- if @api_client.config.debugging
2186
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_enable_shared_workbook ..."
2187
- end
2188
- # verify the required parameter 'input' is set
2189
- if @api_client.config.client_side_validation && input.nil?
2190
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_enable_shared_workbook"
2191
- end
2192
- # resource path
2193
- local_var_path = "/convert/edit/xlsx/configuration/enable-shared-workbook"
2194
-
2195
- # query parameters
2196
- query_params = {}
2197
-
2198
- # header parameters
2199
- header_params = {}
2200
- # HTTP header 'Accept' (if needed)
2201
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2202
- # HTTP header 'Content-Type'
2203
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2204
-
2205
- # form parameters
2206
- form_params = {}
2207
-
2208
- # http body (model)
2209
- post_body = @api_client.object_to_http_body(input)
2210
- auth_names = ['Apikey']
2211
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2212
- :header_params => header_params,
2213
- :query_params => query_params,
2214
- :form_params => form_params,
2215
- :body => post_body,
2216
- :auth_names => auth_names,
2217
- :return_type => 'EnableSharedWorkbookResponse')
2218
- if @api_client.config.debugging
2219
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_enable_shared_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2220
- end
2221
- return data, status_code, headers
2222
- end
2223
-
2224
- # Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
2225
- # Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
2226
- # @param input Document input request
2227
- # @param [Hash] opts the optional parameters
2228
- # @return [GetXlsxCellByIdentifierResponse]
2229
- def edit_document_xlsx_get_cell_by_identifier(input, opts = {})
2230
- data, _status_code, _headers = edit_document_xlsx_get_cell_by_identifier_with_http_info(input, opts)
2231
- return data
2232
- end
2233
-
2234
- # Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
2235
- # Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
2236
- # @param input Document input request
2237
- # @param [Hash] opts the optional parameters
2238
- # @return [Array<(GetXlsxCellByIdentifierResponse, Fixnum, Hash)>] GetXlsxCellByIdentifierResponse data, response status code and response headers
2239
- def edit_document_xlsx_get_cell_by_identifier_with_http_info(input, opts = {})
2240
- if @api_client.config.debugging
2241
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_cell_by_identifier ..."
2242
- end
2243
- # verify the required parameter 'input' is set
2244
- if @api_client.config.client_side_validation && input.nil?
2245
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_cell_by_identifier"
2246
- end
2247
- # resource path
2248
- local_var_path = "/convert/edit/xlsx/get-cell/by-identifier"
2249
-
2250
- # query parameters
2251
- query_params = {}
2252
-
2253
- # header parameters
2254
- header_params = {}
2255
- # HTTP header 'Accept' (if needed)
2256
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2257
- # HTTP header 'Content-Type'
2258
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2259
-
2260
- # form parameters
2261
- form_params = {}
2262
-
2263
- # http body (model)
2264
- post_body = @api_client.object_to_http_body(input)
2265
- auth_names = ['Apikey']
2266
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2267
- :header_params => header_params,
2268
- :query_params => query_params,
2269
- :form_params => form_params,
2270
- :body => post_body,
2271
- :auth_names => auth_names,
2272
- :return_type => 'GetXlsxCellByIdentifierResponse')
2273
- if @api_client.config.debugging
2274
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_cell_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2275
- end
2276
- return data, status_code, headers
2277
- end
2278
-
2279
- # Get cell from an Excel XLSX spreadsheet, worksheet by index
2280
- # Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
2281
- # @param input Document input request
2282
- # @param [Hash] opts the optional parameters
2283
- # @return [GetXlsxCellResponse]
2284
- def edit_document_xlsx_get_cell_by_index(input, opts = {})
2285
- data, _status_code, _headers = edit_document_xlsx_get_cell_by_index_with_http_info(input, opts)
2286
- return data
2287
- end
2288
-
2289
- # Get cell from an Excel XLSX spreadsheet, worksheet by index
2290
- # Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
2291
- # @param input Document input request
2292
- # @param [Hash] opts the optional parameters
2293
- # @return [Array<(GetXlsxCellResponse, Fixnum, Hash)>] GetXlsxCellResponse data, response status code and response headers
2294
- def edit_document_xlsx_get_cell_by_index_with_http_info(input, opts = {})
2295
- if @api_client.config.debugging
2296
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_cell_by_index ..."
2297
- end
2298
- # verify the required parameter 'input' is set
2299
- if @api_client.config.client_side_validation && input.nil?
2300
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_cell_by_index"
2301
- end
2302
- # resource path
2303
- local_var_path = "/convert/edit/xlsx/get-cell/by-index"
2304
-
2305
- # query parameters
2306
- query_params = {}
2307
-
2308
- # header parameters
2309
- header_params = {}
2310
- # HTTP header 'Accept' (if needed)
2311
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2312
- # HTTP header 'Content-Type'
2313
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2314
-
2315
- # form parameters
2316
- form_params = {}
2317
-
2318
- # http body (model)
2319
- post_body = @api_client.object_to_http_body(input)
2320
- auth_names = ['Apikey']
2321
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2322
- :header_params => header_params,
2323
- :query_params => query_params,
2324
- :form_params => form_params,
2325
- :body => post_body,
2326
- :auth_names => auth_names,
2327
- :return_type => 'GetXlsxCellResponse')
2328
- if @api_client.config.debugging
2329
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_cell_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2330
- end
2331
- return data, status_code, headers
2332
- end
2333
-
2334
- # Get columns from a Excel XLSX spreadsheet, worksheet
2335
- # Returns the columns defined in the Excel Spreadsheet worksheet
2336
- # @param input Document input request
2337
- # @param [Hash] opts the optional parameters
2338
- # @return [GetXlsxColumnsResponse]
2339
- def edit_document_xlsx_get_columns(input, opts = {})
2340
- data, _status_code, _headers = edit_document_xlsx_get_columns_with_http_info(input, opts)
2341
- return data
2342
- end
2343
-
2344
- # Get columns from a Excel XLSX spreadsheet, worksheet
2345
- # Returns the columns defined in the Excel Spreadsheet worksheet
2346
- # @param input Document input request
2347
- # @param [Hash] opts the optional parameters
2348
- # @return [Array<(GetXlsxColumnsResponse, Fixnum, Hash)>] GetXlsxColumnsResponse data, response status code and response headers
2349
- def edit_document_xlsx_get_columns_with_http_info(input, opts = {})
2350
- if @api_client.config.debugging
2351
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_columns ..."
2352
- end
2353
- # verify the required parameter 'input' is set
2354
- if @api_client.config.client_side_validation && input.nil?
2355
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_columns"
2356
- end
2357
- # resource path
2358
- local_var_path = "/convert/edit/xlsx/get-columns"
2359
-
2360
- # query parameters
2361
- query_params = {}
2362
-
2363
- # header parameters
2364
- header_params = {}
2365
- # HTTP header 'Accept' (if needed)
2366
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2367
- # HTTP header 'Content-Type'
2368
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2369
-
2370
- # form parameters
2371
- form_params = {}
2372
-
2373
- # http body (model)
2374
- post_body = @api_client.object_to_http_body(input)
2375
- auth_names = ['Apikey']
2376
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2377
- :header_params => header_params,
2378
- :query_params => query_params,
2379
- :form_params => form_params,
2380
- :body => post_body,
2381
- :auth_names => auth_names,
2382
- :return_type => 'GetXlsxColumnsResponse')
2383
- if @api_client.config.debugging
2384
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2385
- end
2386
- return data, status_code, headers
2387
- end
2388
-
2389
- # Get images from a Excel XLSX spreadsheet, worksheet
2390
- # Returns the images defined in the Excel Spreadsheet worksheet
2391
- # @param input Document input request
2392
- # @param [Hash] opts the optional parameters
2393
- # @return [GetXlsxImagesResponse]
2394
- def edit_document_xlsx_get_images(input, opts = {})
2395
- data, _status_code, _headers = edit_document_xlsx_get_images_with_http_info(input, opts)
2396
- return data
2397
- end
2398
-
2399
- # Get images from a Excel XLSX spreadsheet, worksheet
2400
- # Returns the images defined in the Excel Spreadsheet worksheet
2401
- # @param input Document input request
2402
- # @param [Hash] opts the optional parameters
2403
- # @return [Array<(GetXlsxImagesResponse, Fixnum, Hash)>] GetXlsxImagesResponse data, response status code and response headers
2404
- def edit_document_xlsx_get_images_with_http_info(input, opts = {})
2405
- if @api_client.config.debugging
2406
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_images ..."
2407
- end
2408
- # verify the required parameter 'input' is set
2409
- if @api_client.config.client_side_validation && input.nil?
2410
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_images"
2411
- end
2412
- # resource path
2413
- local_var_path = "/convert/edit/xlsx/get-images"
2414
-
2415
- # query parameters
2416
- query_params = {}
2417
-
2418
- # header parameters
2419
- header_params = {}
2420
- # HTTP header 'Accept' (if needed)
2421
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2422
- # HTTP header 'Content-Type'
2423
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2424
-
2425
- # form parameters
2426
- form_params = {}
2427
-
2428
- # http body (model)
2429
- post_body = @api_client.object_to_http_body(input)
2430
- auth_names = ['Apikey']
2431
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2432
- :header_params => header_params,
2433
- :query_params => query_params,
2434
- :form_params => form_params,
2435
- :body => post_body,
2436
- :auth_names => auth_names,
2437
- :return_type => 'GetXlsxImagesResponse')
2438
- if @api_client.config.debugging
2439
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2440
- end
2441
- return data, status_code, headers
2442
- end
2443
-
2444
- # Get rows and cells from a Excel XLSX spreadsheet, worksheet
2445
- # Returns the rows and cells defined in the Excel Spreadsheet worksheet
2446
- # @param input Document input request
2447
- # @param [Hash] opts the optional parameters
2448
- # @return [GetXlsxRowsAndCellsResponse]
2449
- def edit_document_xlsx_get_rows_and_cells(input, opts = {})
2450
- data, _status_code, _headers = edit_document_xlsx_get_rows_and_cells_with_http_info(input, opts)
2451
- return data
2452
- end
2453
-
2454
- # Get rows and cells from a Excel XLSX spreadsheet, worksheet
2455
- # Returns the rows and cells defined in the Excel Spreadsheet worksheet
2456
- # @param input Document input request
2457
- # @param [Hash] opts the optional parameters
2458
- # @return [Array<(GetXlsxRowsAndCellsResponse, Fixnum, Hash)>] GetXlsxRowsAndCellsResponse data, response status code and response headers
2459
- def edit_document_xlsx_get_rows_and_cells_with_http_info(input, opts = {})
2460
- if @api_client.config.debugging
2461
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_rows_and_cells ..."
2462
- end
2463
- # verify the required parameter 'input' is set
2464
- if @api_client.config.client_side_validation && input.nil?
2465
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_rows_and_cells"
2466
- end
2467
- # resource path
2468
- local_var_path = "/convert/edit/xlsx/get-rows-and-cells"
2469
-
2470
- # query parameters
2471
- query_params = {}
2472
-
2473
- # header parameters
2474
- header_params = {}
2475
- # HTTP header 'Accept' (if needed)
2476
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2477
- # HTTP header 'Content-Type'
2478
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2479
-
2480
- # form parameters
2481
- form_params = {}
2482
-
2483
- # http body (model)
2484
- post_body = @api_client.object_to_http_body(input)
2485
- auth_names = ['Apikey']
2486
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2487
- :header_params => header_params,
2488
- :query_params => query_params,
2489
- :form_params => form_params,
2490
- :body => post_body,
2491
- :auth_names => auth_names,
2492
- :return_type => 'GetXlsxRowsAndCellsResponse')
2493
- if @api_client.config.debugging
2494
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_rows_and_cells\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2495
- end
2496
- return data, status_code, headers
2497
- end
2498
-
2499
- # Get styles from a Excel XLSX spreadsheet, worksheet
2500
- # Returns the style defined in the Excel Spreadsheet
2501
- # @param input Document input request
2502
- # @param [Hash] opts the optional parameters
2503
- # @return [GetXlsxStylesResponse]
2504
- def edit_document_xlsx_get_styles(input, opts = {})
2505
- data, _status_code, _headers = edit_document_xlsx_get_styles_with_http_info(input, opts)
2506
- return data
2507
- end
2508
-
2509
- # Get styles from a Excel XLSX spreadsheet, worksheet
2510
- # Returns the style defined in the Excel Spreadsheet
2511
- # @param input Document input request
2512
- # @param [Hash] opts the optional parameters
2513
- # @return [Array<(GetXlsxStylesResponse, Fixnum, Hash)>] GetXlsxStylesResponse data, response status code and response headers
2514
- def edit_document_xlsx_get_styles_with_http_info(input, opts = {})
2515
- if @api_client.config.debugging
2516
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_styles ..."
2517
- end
2518
- # verify the required parameter 'input' is set
2519
- if @api_client.config.client_side_validation && input.nil?
2520
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_styles"
2521
- end
2522
- # resource path
2523
- local_var_path = "/convert/edit/xlsx/get-styles"
2524
-
2525
- # query parameters
2526
- query_params = {}
2527
-
2528
- # header parameters
2529
- header_params = {}
2530
- # HTTP header 'Accept' (if needed)
2531
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2532
- # HTTP header 'Content-Type'
2533
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2534
-
2535
- # form parameters
2536
- form_params = {}
2537
-
2538
- # http body (model)
2539
- post_body = @api_client.object_to_http_body(input)
2540
- auth_names = ['Apikey']
2541
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2542
- :header_params => header_params,
2543
- :query_params => query_params,
2544
- :form_params => form_params,
2545
- :body => post_body,
2546
- :auth_names => auth_names,
2547
- :return_type => 'GetXlsxStylesResponse')
2548
- if @api_client.config.debugging
2549
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_styles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2550
- end
2551
- return data, status_code, headers
2552
- end
2553
-
2554
- # Get worksheets from a Excel XLSX spreadsheet
2555
- # Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
2556
- # @param input Document input request
2557
- # @param [Hash] opts the optional parameters
2558
- # @return [GetXlsxWorksheetsResponse]
2559
- def edit_document_xlsx_get_worksheets(input, opts = {})
2560
- data, _status_code, _headers = edit_document_xlsx_get_worksheets_with_http_info(input, opts)
2561
- return data
2562
- end
2563
-
2564
- # Get worksheets from a Excel XLSX spreadsheet
2565
- # Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
2566
- # @param input Document input request
2567
- # @param [Hash] opts the optional parameters
2568
- # @return [Array<(GetXlsxWorksheetsResponse, Fixnum, Hash)>] GetXlsxWorksheetsResponse data, response status code and response headers
2569
- def edit_document_xlsx_get_worksheets_with_http_info(input, opts = {})
2570
- if @api_client.config.debugging
2571
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_get_worksheets ..."
2572
- end
2573
- # verify the required parameter 'input' is set
2574
- if @api_client.config.client_side_validation && input.nil?
2575
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_worksheets"
2576
- end
2577
- # resource path
2578
- local_var_path = "/convert/edit/xlsx/get-worksheets"
2579
-
2580
- # query parameters
2581
- query_params = {}
2582
-
2583
- # header parameters
2584
- header_params = {}
2585
- # HTTP header 'Accept' (if needed)
2586
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2587
- # HTTP header 'Content-Type'
2588
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2589
-
2590
- # form parameters
2591
- form_params = {}
2592
-
2593
- # http body (model)
2594
- post_body = @api_client.object_to_http_body(input)
2595
- auth_names = ['Apikey']
2596
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2597
- :header_params => header_params,
2598
- :query_params => query_params,
2599
- :form_params => form_params,
2600
- :body => post_body,
2601
- :auth_names => auth_names,
2602
- :return_type => 'GetXlsxWorksheetsResponse')
2603
- if @api_client.config.debugging
2604
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_worksheets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2605
- end
2606
- return data, status_code, headers
2607
- end
2608
-
2609
- # Insert a new worksheet into an Excel XLSX spreadsheet
2610
- # Inserts a new worksheet into an Excel Spreadsheet
2611
- # @param input Document input request
2612
- # @param [Hash] opts the optional parameters
2613
- # @return [InsertXlsxWorksheetResponse]
2614
- def edit_document_xlsx_insert_worksheet(input, opts = {})
2615
- data, _status_code, _headers = edit_document_xlsx_insert_worksheet_with_http_info(input, opts)
2616
- return data
2617
- end
2618
-
2619
- # Insert a new worksheet into an Excel XLSX spreadsheet
2620
- # Inserts a new worksheet into an Excel Spreadsheet
2621
- # @param input Document input request
2622
- # @param [Hash] opts the optional parameters
2623
- # @return [Array<(InsertXlsxWorksheetResponse, Fixnum, Hash)>] InsertXlsxWorksheetResponse data, response status code and response headers
2624
- def edit_document_xlsx_insert_worksheet_with_http_info(input, opts = {})
2625
- if @api_client.config.debugging
2626
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_insert_worksheet ..."
2627
- end
2628
- # verify the required parameter 'input' is set
2629
- if @api_client.config.client_side_validation && input.nil?
2630
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_insert_worksheet"
2631
- end
2632
- # resource path
2633
- local_var_path = "/convert/edit/xlsx/insert-worksheet"
2634
-
2635
- # query parameters
2636
- query_params = {}
2637
-
2638
- # header parameters
2639
- header_params = {}
2640
- # HTTP header 'Accept' (if needed)
2641
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2642
- # HTTP header 'Content-Type'
2643
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2644
-
2645
- # form parameters
2646
- form_params = {}
2647
-
2648
- # http body (model)
2649
- post_body = @api_client.object_to_http_body(input)
2650
- auth_names = ['Apikey']
2651
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2652
- :header_params => header_params,
2653
- :query_params => query_params,
2654
- :form_params => form_params,
2655
- :body => post_body,
2656
- :auth_names => auth_names,
2657
- :return_type => 'InsertXlsxWorksheetResponse')
2658
- if @api_client.config.debugging
2659
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_insert_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2660
- end
2661
- return data, status_code, headers
2662
- end
2663
-
2664
- # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2665
- # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet using its cell identifier (e.g. A1, B22, C33) in the worksheet
2666
- # @param input Document input request
2667
- # @param [Hash] opts the optional parameters
2668
- # @return [SetXlsxCellByIdentifierResponse]
2669
- def edit_document_xlsx_set_cell_by_identifier(input, opts = {})
2670
- data, _status_code, _headers = edit_document_xlsx_set_cell_by_identifier_with_http_info(input, opts)
2671
- return data
2672
- end
2673
-
2674
- # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2675
- # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet using its cell identifier (e.g. A1, B22, C33) in the worksheet
2676
- # @param input Document input request
2677
- # @param [Hash] opts the optional parameters
2678
- # @return [Array<(SetXlsxCellByIdentifierResponse, Fixnum, Hash)>] SetXlsxCellByIdentifierResponse data, response status code and response headers
2679
- def edit_document_xlsx_set_cell_by_identifier_with_http_info(input, opts = {})
2680
- if @api_client.config.debugging
2681
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_set_cell_by_identifier ..."
2682
- end
2683
- # verify the required parameter 'input' is set
2684
- if @api_client.config.client_side_validation && input.nil?
2685
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_set_cell_by_identifier"
2686
- end
2687
- # resource path
2688
- local_var_path = "/convert/edit/xlsx/set-cell/by-identifier"
2689
-
2690
- # query parameters
2691
- query_params = {}
2692
-
2693
- # header parameters
2694
- header_params = {}
2695
- # HTTP header 'Accept' (if needed)
2696
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2697
- # HTTP header 'Content-Type'
2698
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2699
-
2700
- # form parameters
2701
- form_params = {}
2702
-
2703
- # http body (model)
2704
- post_body = @api_client.object_to_http_body(input)
2705
- auth_names = ['Apikey']
2706
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2707
- :header_params => header_params,
2708
- :query_params => query_params,
2709
- :form_params => form_params,
2710
- :body => post_body,
2711
- :auth_names => auth_names,
2712
- :return_type => 'SetXlsxCellByIdentifierResponse')
2713
- if @api_client.config.debugging
2714
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_set_cell_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2715
- end
2716
- return data, status_code, headers
2717
- end
2718
-
2719
- # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
2720
- # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
2721
- # @param input Document input request
2722
- # @param [Hash] opts the optional parameters
2723
- # @return [SetXlsxCellResponse]
2724
- def edit_document_xlsx_set_cell_by_index(input, opts = {})
2725
- data, _status_code, _headers = edit_document_xlsx_set_cell_by_index_with_http_info(input, opts)
2726
- return data
2727
- end
2728
-
2729
- # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
2730
- # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
2731
- # @param input Document input request
2732
- # @param [Hash] opts the optional parameters
2733
- # @return [Array<(SetXlsxCellResponse, Fixnum, Hash)>] SetXlsxCellResponse data, response status code and response headers
2734
- def edit_document_xlsx_set_cell_by_index_with_http_info(input, opts = {})
2735
- if @api_client.config.debugging
2736
- @api_client.config.logger.debug "Calling API: EditDocumentApi.edit_document_xlsx_set_cell_by_index ..."
2737
- end
2738
- # verify the required parameter 'input' is set
2739
- if @api_client.config.client_side_validation && input.nil?
2740
- fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_set_cell_by_index"
2741
- end
2742
- # resource path
2743
- local_var_path = "/convert/edit/xlsx/set-cell/by-index"
2744
-
2745
- # query parameters
2746
- query_params = {}
2747
-
2748
- # header parameters
2749
- header_params = {}
2750
- # HTTP header 'Accept' (if needed)
2751
- header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2752
- # HTTP header 'Content-Type'
2753
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2754
-
2755
- # form parameters
2756
- form_params = {}
2757
-
2758
- # http body (model)
2759
- post_body = @api_client.object_to_http_body(input)
2760
- auth_names = ['Apikey']
2761
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2762
- :header_params => header_params,
2763
- :query_params => query_params,
2764
- :form_params => form_params,
2765
- :body => post_body,
2766
- :auth_names => auth_names,
2767
- :return_type => 'SetXlsxCellResponse')
2768
- if @api_client.config.debugging
2769
- @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_set_cell_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2770
- end
2771
- return data, status_code, headers
2772
- end
2773
- end
2774
- end