cloudmersive-convert-api-client 2.0.6 → 2.1.2

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