cloudmersive-convert-api-client 2.0.2 → 2.0.7

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 +579 -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 +902 -0
  28. data/docs/ConvertDocumentApi.md +4344 -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 +3033 -0
  83. data/docs/EditHtmlApi.md +261 -0
  84. data/docs/EditPdfApi.md +1083 -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 +833 -0
  239. data/docs/ViewerResponse.md +9 -0
  240. data/docs/ViewerToolsApi.md +63 -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 +306 -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 +966 -0
  266. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +4360 -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 +2994 -0
  271. data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +270 -0
  272. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +1163 -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 +848 -0
  278. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +78 -0
  279. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +330 -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 +240 -0
  526. data/spec/api/convert_document_api_spec.rb +998 -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 +695 -0
  531. data/spec/api/edit_html_api_spec.rb +96 -0
  532. data/spec/api/edit_pdf_api_spec.rb +282 -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 +215 -0
  538. data/spec/api/viewer_tools_api_spec.rb +47 -0
  539. data/spec/api/zip_archive_api_spec.rb +105 -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,2994 @@
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
+ # Get body from a Word DOCX document
78
+ # Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
79
+ # @param req_config Document input request
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [GetDocxBodyResponse]
82
+ def edit_document_docx_body(req_config, opts = {})
83
+ data, _status_code, _headers = edit_document_docx_body_with_http_info(req_config, opts)
84
+ data
85
+ end
86
+
87
+ # Get body from a Word DOCX document
88
+ # Returns the body defined in the Word Document (DOCX) format file; this is the main content part of a DOCX document
89
+ # @param req_config Document input request
90
+ # @param [Hash] opts the optional parameters
91
+ # @return [Array<(GetDocxBodyResponse, Fixnum, Hash)>] GetDocxBodyResponse data, response status code and response headers
92
+ def edit_document_docx_body_with_http_info(req_config, opts = {})
93
+ if @api_client.config.debugging
94
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_body ...'
95
+ end
96
+ # verify the required parameter 'req_config' is set
97
+ if @api_client.config.client_side_validation && req_config.nil?
98
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_body"
99
+ end
100
+ # resource path
101
+ local_var_path = '/convert/edit/docx/get-body'
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(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
112
+
113
+ # form parameters
114
+ form_params = {}
115
+
116
+ # http body (model)
117
+ post_body = @api_client.object_to_http_body(req_config)
118
+ auth_names = ['Apikey']
119
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
120
+ :header_params => header_params,
121
+ :query_params => query_params,
122
+ :form_params => form_params,
123
+ :body => post_body,
124
+ :auth_names => auth_names,
125
+ :return_type => 'GetDocxBodyResponse')
126
+ if @api_client.config.debugging
127
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_body\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
128
+ end
129
+ return data, status_code, headers
130
+ end
131
+ # Create a blank Word DOCX document
132
+ # 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.
133
+ # @param input Document input request
134
+ # @param [Hash] opts the optional parameters
135
+ # @return [CreateBlankDocxResponse]
136
+ def edit_document_docx_create_blank_document(input, opts = {})
137
+ data, _status_code, _headers = edit_document_docx_create_blank_document_with_http_info(input, opts)
138
+ data
139
+ end
140
+
141
+ # Create a blank Word DOCX document
142
+ # 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.
143
+ # @param input Document input request
144
+ # @param [Hash] opts the optional parameters
145
+ # @return [Array<(CreateBlankDocxResponse, Fixnum, Hash)>] CreateBlankDocxResponse data, response status code and response headers
146
+ def edit_document_docx_create_blank_document_with_http_info(input, opts = {})
147
+ if @api_client.config.debugging
148
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_create_blank_document ...'
149
+ end
150
+ # verify the required parameter 'input' is set
151
+ if @api_client.config.client_side_validation && input.nil?
152
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_docx_create_blank_document"
153
+ end
154
+ # resource path
155
+ local_var_path = '/convert/edit/docx/create/blank'
156
+
157
+ # query parameters
158
+ query_params = {}
159
+
160
+ # header parameters
161
+ header_params = {}
162
+ # HTTP header 'Accept' (if needed)
163
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
164
+ # HTTP header 'Content-Type'
165
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
166
+
167
+ # form parameters
168
+ form_params = {}
169
+
170
+ # http body (model)
171
+ post_body = @api_client.object_to_http_body(input)
172
+ auth_names = ['Apikey']
173
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
174
+ :header_params => header_params,
175
+ :query_params => query_params,
176
+ :form_params => form_params,
177
+ :body => post_body,
178
+ :auth_names => auth_names,
179
+ :return_type => 'CreateBlankDocxResponse')
180
+ if @api_client.config.debugging
181
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_create_blank_document\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
182
+ end
183
+ return data, status_code, headers
184
+ end
185
+ # Delete, remove pages from a Word DOCX document
186
+ # Returns the edited Word Document in the Word Document (DOCX) format file with the specified pages removed
187
+ # @param req_config Document input request
188
+ # @param [Hash] opts the optional parameters
189
+ # @return [String]
190
+ def edit_document_docx_delete_pages(req_config, opts = {})
191
+ data, _status_code, _headers = edit_document_docx_delete_pages_with_http_info(req_config, opts)
192
+ data
193
+ end
194
+
195
+ # Delete, remove pages from a Word DOCX document
196
+ # Returns the edited Word Document in the Word Document (DOCX) format file with the specified pages removed
197
+ # @param req_config Document input request
198
+ # @param [Hash] opts the optional parameters
199
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
200
+ def edit_document_docx_delete_pages_with_http_info(req_config, opts = {})
201
+ if @api_client.config.debugging
202
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_delete_pages ...'
203
+ end
204
+ # verify the required parameter 'req_config' is set
205
+ if @api_client.config.client_side_validation && req_config.nil?
206
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_pages"
207
+ end
208
+ # resource path
209
+ local_var_path = '/convert/edit/docx/delete-pages'
210
+
211
+ # query parameters
212
+ query_params = {}
213
+
214
+ # header parameters
215
+ header_params = {}
216
+ # HTTP header 'Accept' (if needed)
217
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
218
+ # HTTP header 'Content-Type'
219
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
220
+
221
+ # form parameters
222
+ form_params = {}
223
+
224
+ # http body (model)
225
+ post_body = @api_client.object_to_http_body(req_config)
226
+ auth_names = ['Apikey']
227
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
228
+ :header_params => header_params,
229
+ :query_params => query_params,
230
+ :form_params => form_params,
231
+ :body => post_body,
232
+ :auth_names => auth_names,
233
+ :return_type => 'String')
234
+ if @api_client.config.debugging
235
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
236
+ end
237
+ return data, status_code, headers
238
+ end
239
+ # Deletes a table row in an existing table in a Word DOCX document
240
+ # Deletes an existing table row in a Word DOCX Document and returns the result.
241
+ # @param req_config Document input request
242
+ # @param [Hash] opts the optional parameters
243
+ # @return [DeleteDocxTableRowResponse]
244
+ def edit_document_docx_delete_table_row(req_config, opts = {})
245
+ data, _status_code, _headers = edit_document_docx_delete_table_row_with_http_info(req_config, opts)
246
+ data
247
+ end
248
+
249
+ # Deletes a table row in an existing table in a Word DOCX document
250
+ # Deletes an existing table row in a Word DOCX Document and returns the result.
251
+ # @param req_config Document input request
252
+ # @param [Hash] opts the optional parameters
253
+ # @return [Array<(DeleteDocxTableRowResponse, Fixnum, Hash)>] DeleteDocxTableRowResponse data, response status code and response headers
254
+ def edit_document_docx_delete_table_row_with_http_info(req_config, opts = {})
255
+ if @api_client.config.debugging
256
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_delete_table_row ...'
257
+ end
258
+ # verify the required parameter 'req_config' is set
259
+ if @api_client.config.client_side_validation && req_config.nil?
260
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_table_row"
261
+ end
262
+ # resource path
263
+ local_var_path = '/convert/edit/docx/delete-table-row'
264
+
265
+ # query parameters
266
+ query_params = {}
267
+
268
+ # header parameters
269
+ header_params = {}
270
+ # HTTP header 'Accept' (if needed)
271
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
272
+ # HTTP header 'Content-Type'
273
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
274
+
275
+ # form parameters
276
+ form_params = {}
277
+
278
+ # http body (model)
279
+ post_body = @api_client.object_to_http_body(req_config)
280
+ auth_names = ['Apikey']
281
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
282
+ :header_params => header_params,
283
+ :query_params => query_params,
284
+ :form_params => form_params,
285
+ :body => post_body,
286
+ :auth_names => auth_names,
287
+ :return_type => 'DeleteDocxTableRowResponse')
288
+ if @api_client.config.debugging
289
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
290
+ end
291
+ return data, status_code, headers
292
+ end
293
+ # Deletes a range of multiple table rows in an existing table in a Word DOCX document
294
+ # Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
295
+ # @param req_config Document input request
296
+ # @param [Hash] opts the optional parameters
297
+ # @return [DeleteDocxTableRowRangeResponse]
298
+ def edit_document_docx_delete_table_row_range(req_config, opts = {})
299
+ data, _status_code, _headers = edit_document_docx_delete_table_row_range_with_http_info(req_config, opts)
300
+ data
301
+ end
302
+
303
+ # Deletes a range of multiple table rows in an existing table in a Word DOCX document
304
+ # Deletes a range of 1 or more existing table rows in a Word DOCX Document and returns the result.
305
+ # @param req_config Document input request
306
+ # @param [Hash] opts the optional parameters
307
+ # @return [Array<(DeleteDocxTableRowRangeResponse, Fixnum, Hash)>] DeleteDocxTableRowRangeResponse data, response status code and response headers
308
+ def edit_document_docx_delete_table_row_range_with_http_info(req_config, opts = {})
309
+ if @api_client.config.debugging
310
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_delete_table_row_range ...'
311
+ end
312
+ # verify the required parameter 'req_config' is set
313
+ if @api_client.config.client_side_validation && req_config.nil?
314
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_delete_table_row_range"
315
+ end
316
+ # resource path
317
+ local_var_path = '/convert/edit/docx/delete-table-row/range'
318
+
319
+ # query parameters
320
+ query_params = {}
321
+
322
+ # header parameters
323
+ header_params = {}
324
+ # HTTP header 'Accept' (if needed)
325
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
326
+ # HTTP header 'Content-Type'
327
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
328
+
329
+ # form parameters
330
+ form_params = {}
331
+
332
+ # http body (model)
333
+ post_body = @api_client.object_to_http_body(req_config)
334
+ auth_names = ['Apikey']
335
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
336
+ :header_params => header_params,
337
+ :query_params => query_params,
338
+ :form_params => form_params,
339
+ :body => post_body,
340
+ :auth_names => auth_names,
341
+ :return_type => 'DeleteDocxTableRowRangeResponse')
342
+ if @api_client.config.debugging
343
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_delete_table_row_range\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
344
+ end
345
+ return data, status_code, headers
346
+ end
347
+ # Find matching paragraphs in a Word DOCX document
348
+ # Returns the paragraphs defined in the Word Document (DOCX) format file that match the input criteria
349
+ # @param req_config Document input request
350
+ # @param [Hash] opts the optional parameters
351
+ # @return [FindDocxParagraphResponse]
352
+ def edit_document_docx_find_paragraph(req_config, opts = {})
353
+ data, _status_code, _headers = edit_document_docx_find_paragraph_with_http_info(req_config, opts)
354
+ data
355
+ end
356
+
357
+ # Find matching paragraphs in a Word DOCX document
358
+ # Returns the paragraphs defined in the Word Document (DOCX) format file that match the input criteria
359
+ # @param req_config Document input request
360
+ # @param [Hash] opts the optional parameters
361
+ # @return [Array<(FindDocxParagraphResponse, Fixnum, Hash)>] FindDocxParagraphResponse data, response status code and response headers
362
+ def edit_document_docx_find_paragraph_with_http_info(req_config, opts = {})
363
+ if @api_client.config.debugging
364
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_find_paragraph ...'
365
+ end
366
+ # verify the required parameter 'req_config' is set
367
+ if @api_client.config.client_side_validation && req_config.nil?
368
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_find_paragraph"
369
+ end
370
+ # resource path
371
+ local_var_path = '/convert/edit/docx/find/paragraph'
372
+
373
+ # query parameters
374
+ query_params = {}
375
+
376
+ # header parameters
377
+ header_params = {}
378
+ # HTTP header 'Accept' (if needed)
379
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
380
+ # HTTP header 'Content-Type'
381
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
382
+
383
+ # form parameters
384
+ form_params = {}
385
+
386
+ # http body (model)
387
+ post_body = @api_client.object_to_http_body(req_config)
388
+ auth_names = ['Apikey']
389
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
390
+ :header_params => header_params,
391
+ :query_params => query_params,
392
+ :form_params => form_params,
393
+ :body => post_body,
394
+ :auth_names => auth_names,
395
+ :return_type => 'FindDocxParagraphResponse')
396
+ if @api_client.config.debugging
397
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_find_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
398
+ end
399
+ return data, status_code, headers
400
+ end
401
+ # Get comments from a Word DOCX document as a flat list
402
+ # 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).
403
+ # @param req_config Document input request
404
+ # @param [Hash] opts the optional parameters
405
+ # @return [GetDocxCommentsResponse]
406
+ def edit_document_docx_get_comments(req_config, opts = {})
407
+ data, _status_code, _headers = edit_document_docx_get_comments_with_http_info(req_config, opts)
408
+ data
409
+ end
410
+
411
+ # Get comments from a Word DOCX document as a flat list
412
+ # 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).
413
+ # @param req_config Document input request
414
+ # @param [Hash] opts the optional parameters
415
+ # @return [Array<(GetDocxCommentsResponse, Fixnum, Hash)>] GetDocxCommentsResponse data, response status code and response headers
416
+ def edit_document_docx_get_comments_with_http_info(req_config, opts = {})
417
+ if @api_client.config.debugging
418
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_comments ...'
419
+ end
420
+ # verify the required parameter 'req_config' is set
421
+ if @api_client.config.client_side_validation && req_config.nil?
422
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_comments"
423
+ end
424
+ # resource path
425
+ local_var_path = '/convert/edit/docx/get-comments/flat-list'
426
+
427
+ # query parameters
428
+ query_params = {}
429
+
430
+ # header parameters
431
+ header_params = {}
432
+ # HTTP header 'Accept' (if needed)
433
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
434
+ # HTTP header 'Content-Type'
435
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
436
+
437
+ # form parameters
438
+ form_params = {}
439
+
440
+ # http body (model)
441
+ post_body = @api_client.object_to_http_body(req_config)
442
+ auth_names = ['Apikey']
443
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
444
+ :header_params => header_params,
445
+ :query_params => query_params,
446
+ :form_params => form_params,
447
+ :body => post_body,
448
+ :auth_names => auth_names,
449
+ :return_type => 'GetDocxCommentsResponse')
450
+ if @api_client.config.debugging
451
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_comments\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
452
+ end
453
+ return data, status_code, headers
454
+ end
455
+ # Get comments from a Word DOCX document hierarchically
456
+ # 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.
457
+ # @param req_config Document input request
458
+ # @param [Hash] opts the optional parameters
459
+ # @return [GetDocxCommentsHierarchicalResponse]
460
+ def edit_document_docx_get_comments_hierarchical(req_config, opts = {})
461
+ data, _status_code, _headers = edit_document_docx_get_comments_hierarchical_with_http_info(req_config, opts)
462
+ data
463
+ end
464
+
465
+ # Get comments from a Word DOCX document hierarchically
466
+ # 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.
467
+ # @param req_config Document input request
468
+ # @param [Hash] opts the optional parameters
469
+ # @return [Array<(GetDocxCommentsHierarchicalResponse, Fixnum, Hash)>] GetDocxCommentsHierarchicalResponse data, response status code and response headers
470
+ def edit_document_docx_get_comments_hierarchical_with_http_info(req_config, opts = {})
471
+ if @api_client.config.debugging
472
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_comments_hierarchical ...'
473
+ end
474
+ # verify the required parameter 'req_config' is set
475
+ if @api_client.config.client_side_validation && req_config.nil?
476
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_comments_hierarchical"
477
+ end
478
+ # resource path
479
+ local_var_path = '/convert/edit/docx/get-comments/hierarchical'
480
+
481
+ # query parameters
482
+ query_params = {}
483
+
484
+ # header parameters
485
+ header_params = {}
486
+ # HTTP header 'Accept' (if needed)
487
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
488
+ # HTTP header 'Content-Type'
489
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
490
+
491
+ # form parameters
492
+ form_params = {}
493
+
494
+ # http body (model)
495
+ post_body = @api_client.object_to_http_body(req_config)
496
+ auth_names = ['Apikey']
497
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
498
+ :header_params => header_params,
499
+ :query_params => query_params,
500
+ :form_params => form_params,
501
+ :body => post_body,
502
+ :auth_names => auth_names,
503
+ :return_type => 'GetDocxCommentsHierarchicalResponse')
504
+ if @api_client.config.debugging
505
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_comments_hierarchical\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
506
+ end
507
+ return data, status_code, headers
508
+ end
509
+ # Get content of a footer from a Word DOCX document
510
+ # Returns the footer content from a Word Document (DOCX) format file
511
+ # @param req_config Document input request
512
+ # @param [Hash] opts the optional parameters
513
+ # @return [GetDocxHeadersAndFootersResponse]
514
+ def edit_document_docx_get_headers_and_footers(req_config, opts = {})
515
+ data, _status_code, _headers = edit_document_docx_get_headers_and_footers_with_http_info(req_config, opts)
516
+ data
517
+ end
518
+
519
+ # Get content of a footer from a Word DOCX document
520
+ # Returns the footer content from a Word Document (DOCX) format file
521
+ # @param req_config Document input request
522
+ # @param [Hash] opts the optional parameters
523
+ # @return [Array<(GetDocxHeadersAndFootersResponse, Fixnum, Hash)>] GetDocxHeadersAndFootersResponse data, response status code and response headers
524
+ def edit_document_docx_get_headers_and_footers_with_http_info(req_config, opts = {})
525
+ if @api_client.config.debugging
526
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_headers_and_footers ...'
527
+ end
528
+ # verify the required parameter 'req_config' is set
529
+ if @api_client.config.client_side_validation && req_config.nil?
530
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_headers_and_footers"
531
+ end
532
+ # resource path
533
+ local_var_path = '/convert/edit/docx/get-headers-and-footers'
534
+
535
+ # query parameters
536
+ query_params = {}
537
+
538
+ # header parameters
539
+ header_params = {}
540
+ # HTTP header 'Accept' (if needed)
541
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
542
+ # HTTP header 'Content-Type'
543
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
544
+
545
+ # form parameters
546
+ form_params = {}
547
+
548
+ # http body (model)
549
+ post_body = @api_client.object_to_http_body(req_config)
550
+ auth_names = ['Apikey']
551
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
552
+ :header_params => header_params,
553
+ :query_params => query_params,
554
+ :form_params => form_params,
555
+ :body => post_body,
556
+ :auth_names => auth_names,
557
+ :return_type => 'GetDocxHeadersAndFootersResponse')
558
+ if @api_client.config.debugging
559
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_headers_and_footers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
560
+ end
561
+ return data, status_code, headers
562
+ end
563
+ # Get images from a Word DOCX document
564
+ # Returns the images defined in the Word Document (DOCX) format file
565
+ # @param req_config Document input request
566
+ # @param [Hash] opts the optional parameters
567
+ # @return [GetDocxImagesResponse]
568
+ def edit_document_docx_get_images(req_config, opts = {})
569
+ data, _status_code, _headers = edit_document_docx_get_images_with_http_info(req_config, opts)
570
+ data
571
+ end
572
+
573
+ # Get images from a Word DOCX document
574
+ # Returns the images defined in the Word Document (DOCX) format file
575
+ # @param req_config Document input request
576
+ # @param [Hash] opts the optional parameters
577
+ # @return [Array<(GetDocxImagesResponse, Fixnum, Hash)>] GetDocxImagesResponse data, response status code and response headers
578
+ def edit_document_docx_get_images_with_http_info(req_config, opts = {})
579
+ if @api_client.config.debugging
580
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_images ...'
581
+ end
582
+ # verify the required parameter 'req_config' is set
583
+ if @api_client.config.client_side_validation && req_config.nil?
584
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_images"
585
+ end
586
+ # resource path
587
+ local_var_path = '/convert/edit/docx/get-images'
588
+
589
+ # query parameters
590
+ query_params = {}
591
+
592
+ # header parameters
593
+ header_params = {}
594
+ # HTTP header 'Accept' (if needed)
595
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
596
+ # HTTP header 'Content-Type'
597
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
598
+
599
+ # form parameters
600
+ form_params = {}
601
+
602
+ # http body (model)
603
+ post_body = @api_client.object_to_http_body(req_config)
604
+ auth_names = ['Apikey']
605
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
606
+ :header_params => header_params,
607
+ :query_params => query_params,
608
+ :form_params => form_params,
609
+ :body => post_body,
610
+ :auth_names => auth_names,
611
+ :return_type => 'GetDocxImagesResponse')
612
+ if @api_client.config.debugging
613
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
614
+ end
615
+ return data, status_code, headers
616
+ end
617
+ # Get sections from a Word DOCX document
618
+ # Returns the sections defined in the Word Document (DOCX) format file
619
+ # @param req_config Document input request
620
+ # @param [Hash] opts the optional parameters
621
+ # @return [GetDocxSectionsResponse]
622
+ def edit_document_docx_get_sections(req_config, opts = {})
623
+ data, _status_code, _headers = edit_document_docx_get_sections_with_http_info(req_config, opts)
624
+ data
625
+ end
626
+
627
+ # Get sections from a Word DOCX document
628
+ # Returns the sections defined in the Word Document (DOCX) format file
629
+ # @param req_config Document input request
630
+ # @param [Hash] opts the optional parameters
631
+ # @return [Array<(GetDocxSectionsResponse, Fixnum, Hash)>] GetDocxSectionsResponse data, response status code and response headers
632
+ def edit_document_docx_get_sections_with_http_info(req_config, opts = {})
633
+ if @api_client.config.debugging
634
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_sections ...'
635
+ end
636
+ # verify the required parameter 'req_config' is set
637
+ if @api_client.config.client_side_validation && req_config.nil?
638
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_sections"
639
+ end
640
+ # resource path
641
+ local_var_path = '/convert/edit/docx/get-sections'
642
+
643
+ # query parameters
644
+ query_params = {}
645
+
646
+ # header parameters
647
+ header_params = {}
648
+ # HTTP header 'Accept' (if needed)
649
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
650
+ # HTTP header 'Content-Type'
651
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
652
+
653
+ # form parameters
654
+ form_params = {}
655
+
656
+ # http body (model)
657
+ post_body = @api_client.object_to_http_body(req_config)
658
+ auth_names = ['Apikey']
659
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
660
+ :header_params => header_params,
661
+ :query_params => query_params,
662
+ :form_params => form_params,
663
+ :body => post_body,
664
+ :auth_names => auth_names,
665
+ :return_type => 'GetDocxSectionsResponse')
666
+ if @api_client.config.debugging
667
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_sections\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
668
+ end
669
+ return data, status_code, headers
670
+ end
671
+ # Get styles from a Word DOCX document
672
+ # Returns the styles defined in the Word Document (DOCX) format file
673
+ # @param req_config Document input request
674
+ # @param [Hash] opts the optional parameters
675
+ # @return [GetDocxStylesResponse]
676
+ def edit_document_docx_get_styles(req_config, opts = {})
677
+ data, _status_code, _headers = edit_document_docx_get_styles_with_http_info(req_config, opts)
678
+ data
679
+ end
680
+
681
+ # Get styles from a Word DOCX document
682
+ # Returns the styles defined in the Word Document (DOCX) format file
683
+ # @param req_config Document input request
684
+ # @param [Hash] opts the optional parameters
685
+ # @return [Array<(GetDocxStylesResponse, Fixnum, Hash)>] GetDocxStylesResponse data, response status code and response headers
686
+ def edit_document_docx_get_styles_with_http_info(req_config, opts = {})
687
+ if @api_client.config.debugging
688
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_styles ...'
689
+ end
690
+ # verify the required parameter 'req_config' is set
691
+ if @api_client.config.client_side_validation && req_config.nil?
692
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_styles"
693
+ end
694
+ # resource path
695
+ local_var_path = '/convert/edit/docx/get-styles'
696
+
697
+ # query parameters
698
+ query_params = {}
699
+
700
+ # header parameters
701
+ header_params = {}
702
+ # HTTP header 'Accept' (if needed)
703
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
704
+ # HTTP header 'Content-Type'
705
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
706
+
707
+ # form parameters
708
+ form_params = {}
709
+
710
+ # http body (model)
711
+ post_body = @api_client.object_to_http_body(req_config)
712
+ auth_names = ['Apikey']
713
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
714
+ :header_params => header_params,
715
+ :query_params => query_params,
716
+ :form_params => form_params,
717
+ :body => post_body,
718
+ :auth_names => auth_names,
719
+ :return_type => 'GetDocxStylesResponse')
720
+ if @api_client.config.debugging
721
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_styles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
722
+ end
723
+ return data, status_code, headers
724
+ end
725
+ # Get a specific table by index in a Word DOCX document
726
+ # Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
727
+ # @param req_config Document input request
728
+ # @param [Hash] opts the optional parameters
729
+ # @return [GetDocxTableByIndexResponse]
730
+ def edit_document_docx_get_table_by_index(req_config, opts = {})
731
+ data, _status_code, _headers = edit_document_docx_get_table_by_index_with_http_info(req_config, opts)
732
+ data
733
+ end
734
+
735
+ # Get a specific table by index in a Word DOCX document
736
+ # Returns the specific table object by its 0-based index in an Office Word Document (DOCX)
737
+ # @param req_config Document input request
738
+ # @param [Hash] opts the optional parameters
739
+ # @return [Array<(GetDocxTableByIndexResponse, Fixnum, Hash)>] GetDocxTableByIndexResponse data, response status code and response headers
740
+ def edit_document_docx_get_table_by_index_with_http_info(req_config, opts = {})
741
+ if @api_client.config.debugging
742
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_table_by_index ...'
743
+ end
744
+ # verify the required parameter 'req_config' is set
745
+ if @api_client.config.client_side_validation && req_config.nil?
746
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_table_by_index"
747
+ end
748
+ # resource path
749
+ local_var_path = '/convert/edit/docx/get-table/by-index'
750
+
751
+ # query parameters
752
+ query_params = {}
753
+
754
+ # header parameters
755
+ header_params = {}
756
+ # HTTP header 'Accept' (if needed)
757
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
758
+ # HTTP header 'Content-Type'
759
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
760
+
761
+ # form parameters
762
+ form_params = {}
763
+
764
+ # http body (model)
765
+ post_body = @api_client.object_to_http_body(req_config)
766
+ auth_names = ['Apikey']
767
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
768
+ :header_params => header_params,
769
+ :query_params => query_params,
770
+ :form_params => form_params,
771
+ :body => post_body,
772
+ :auth_names => auth_names,
773
+ :return_type => 'GetDocxTableByIndexResponse')
774
+ if @api_client.config.debugging
775
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_table_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
776
+ end
777
+ return data, status_code, headers
778
+ end
779
+ # Gets the contents of an existing table row in an existing table in a Word DOCX document
780
+ # Gets the contents of an existing table row in a Word DOCX Document and returns the result.
781
+ # @param req_config Document input request
782
+ # @param [Hash] opts the optional parameters
783
+ # @return [GetDocxTableRowResponse]
784
+ def edit_document_docx_get_table_row(req_config, opts = {})
785
+ data, _status_code, _headers = edit_document_docx_get_table_row_with_http_info(req_config, opts)
786
+ data
787
+ end
788
+
789
+ # Gets the contents of an existing table row in an existing table in a Word DOCX document
790
+ # Gets the contents of an existing table row in a Word DOCX Document and returns the result.
791
+ # @param req_config Document input request
792
+ # @param [Hash] opts the optional parameters
793
+ # @return [Array<(GetDocxTableRowResponse, Fixnum, Hash)>] GetDocxTableRowResponse data, response status code and response headers
794
+ def edit_document_docx_get_table_row_with_http_info(req_config, opts = {})
795
+ if @api_client.config.debugging
796
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_table_row ...'
797
+ end
798
+ # verify the required parameter 'req_config' is set
799
+ if @api_client.config.client_side_validation && req_config.nil?
800
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_table_row"
801
+ end
802
+ # resource path
803
+ local_var_path = '/convert/edit/docx/get-table-row'
804
+
805
+ # query parameters
806
+ query_params = {}
807
+
808
+ # header parameters
809
+ header_params = {}
810
+ # HTTP header 'Accept' (if needed)
811
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
812
+ # HTTP header 'Content-Type'
813
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
814
+
815
+ # form parameters
816
+ form_params = {}
817
+
818
+ # http body (model)
819
+ post_body = @api_client.object_to_http_body(req_config)
820
+ auth_names = ['Apikey']
821
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
822
+ :header_params => header_params,
823
+ :query_params => query_params,
824
+ :form_params => form_params,
825
+ :body => post_body,
826
+ :auth_names => auth_names,
827
+ :return_type => 'GetDocxTableRowResponse')
828
+ if @api_client.config.debugging
829
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
830
+ end
831
+ return data, status_code, headers
832
+ end
833
+ # Get all tables in Word DOCX document
834
+ # Returns all the table objects in an Office Word Document (docx)
835
+ # @param req_config Document input request
836
+ # @param [Hash] opts the optional parameters
837
+ # @return [GetDocxTablesResponse]
838
+ def edit_document_docx_get_tables(req_config, opts = {})
839
+ data, _status_code, _headers = edit_document_docx_get_tables_with_http_info(req_config, opts)
840
+ data
841
+ end
842
+
843
+ # Get all tables in Word DOCX document
844
+ # Returns all the table objects in an Office Word Document (docx)
845
+ # @param req_config Document input request
846
+ # @param [Hash] opts the optional parameters
847
+ # @return [Array<(GetDocxTablesResponse, Fixnum, Hash)>] GetDocxTablesResponse data, response status code and response headers
848
+ def edit_document_docx_get_tables_with_http_info(req_config, opts = {})
849
+ if @api_client.config.debugging
850
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_get_tables ...'
851
+ end
852
+ # verify the required parameter 'req_config' is set
853
+ if @api_client.config.client_side_validation && req_config.nil?
854
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_get_tables"
855
+ end
856
+ # resource path
857
+ local_var_path = '/convert/edit/docx/get-tables'
858
+
859
+ # query parameters
860
+ query_params = {}
861
+
862
+ # header parameters
863
+ header_params = {}
864
+ # HTTP header 'Accept' (if needed)
865
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
866
+ # HTTP header 'Content-Type'
867
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
868
+
869
+ # form parameters
870
+ form_params = {}
871
+
872
+ # http body (model)
873
+ post_body = @api_client.object_to_http_body(req_config)
874
+ auth_names = ['Apikey']
875
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
876
+ :header_params => header_params,
877
+ :query_params => query_params,
878
+ :form_params => form_params,
879
+ :body => post_body,
880
+ :auth_names => auth_names,
881
+ :return_type => 'GetDocxTablesResponse')
882
+ if @api_client.config.debugging
883
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_get_tables\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
884
+ end
885
+ return data, status_code, headers
886
+ end
887
+ # Insert a new comment into a Word DOCX document attached to a paragraph
888
+ # 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.
889
+ # @param req_config Document input request
890
+ # @param [Hash] opts the optional parameters
891
+ # @return [InsertDocxCommentOnParagraphResponse]
892
+ def edit_document_docx_insert_comment_on_paragraph(req_config, opts = {})
893
+ data, _status_code, _headers = edit_document_docx_insert_comment_on_paragraph_with_http_info(req_config, opts)
894
+ data
895
+ end
896
+
897
+ # Insert a new comment into a Word DOCX document attached to a paragraph
898
+ # 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.
899
+ # @param req_config Document input request
900
+ # @param [Hash] opts the optional parameters
901
+ # @return [Array<(InsertDocxCommentOnParagraphResponse, Fixnum, Hash)>] InsertDocxCommentOnParagraphResponse data, response status code and response headers
902
+ def edit_document_docx_insert_comment_on_paragraph_with_http_info(req_config, opts = {})
903
+ if @api_client.config.debugging
904
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_insert_comment_on_paragraph ...'
905
+ end
906
+ # verify the required parameter 'req_config' is set
907
+ if @api_client.config.client_side_validation && req_config.nil?
908
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_comment_on_paragraph"
909
+ end
910
+ # resource path
911
+ local_var_path = '/convert/edit/docx/insert-comment/on/paragraph'
912
+
913
+ # query parameters
914
+ query_params = {}
915
+
916
+ # header parameters
917
+ header_params = {}
918
+ # HTTP header 'Accept' (if needed)
919
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
920
+ # HTTP header 'Content-Type'
921
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
922
+
923
+ # form parameters
924
+ form_params = {}
925
+
926
+ # http body (model)
927
+ post_body = @api_client.object_to_http_body(req_config)
928
+ auth_names = ['Apikey']
929
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
930
+ :header_params => header_params,
931
+ :query_params => query_params,
932
+ :form_params => form_params,
933
+ :body => post_body,
934
+ :auth_names => auth_names,
935
+ :return_type => 'InsertDocxCommentOnParagraphResponse')
936
+ if @api_client.config.debugging
937
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_comment_on_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
938
+ end
939
+ return data, status_code, headers
940
+ end
941
+ # Insert image into a Word DOCX document
942
+ # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
943
+ # @param req_config Document input request
944
+ # @param [Hash] opts the optional parameters
945
+ # @return [DocxInsertImageResponse]
946
+ def edit_document_docx_insert_image(req_config, opts = {})
947
+ data, _status_code, _headers = edit_document_docx_insert_image_with_http_info(req_config, opts)
948
+ data
949
+ end
950
+
951
+ # Insert image into a Word DOCX document
952
+ # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
953
+ # @param req_config Document input request
954
+ # @param [Hash] opts the optional parameters
955
+ # @return [Array<(DocxInsertImageResponse, Fixnum, Hash)>] DocxInsertImageResponse data, response status code and response headers
956
+ def edit_document_docx_insert_image_with_http_info(req_config, opts = {})
957
+ if @api_client.config.debugging
958
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_insert_image ...'
959
+ end
960
+ # verify the required parameter 'req_config' is set
961
+ if @api_client.config.client_side_validation && req_config.nil?
962
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_image"
963
+ end
964
+ # resource path
965
+ local_var_path = '/convert/edit/docx/insert-image'
966
+
967
+ # query parameters
968
+ query_params = {}
969
+
970
+ # header parameters
971
+ header_params = {}
972
+ # HTTP header 'Accept' (if needed)
973
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
974
+ # HTTP header 'Content-Type'
975
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
976
+
977
+ # form parameters
978
+ form_params = {}
979
+
980
+ # http body (model)
981
+ post_body = @api_client.object_to_http_body(req_config)
982
+ auth_names = ['Apikey']
983
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
984
+ :header_params => header_params,
985
+ :query_params => query_params,
986
+ :form_params => form_params,
987
+ :body => post_body,
988
+ :auth_names => auth_names,
989
+ :return_type => 'DocxInsertImageResponse')
990
+ if @api_client.config.debugging
991
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_image\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
992
+ end
993
+ return data, status_code, headers
994
+ end
995
+ # Insert a new paragraph into a Word DOCX document
996
+ # 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.
997
+ # @param req_config Document input request
998
+ # @param [Hash] opts the optional parameters
999
+ # @return [InsertDocxInsertParagraphResponse]
1000
+ def edit_document_docx_insert_paragraph(req_config, opts = {})
1001
+ data, _status_code, _headers = edit_document_docx_insert_paragraph_with_http_info(req_config, opts)
1002
+ data
1003
+ end
1004
+
1005
+ # Insert a new paragraph into a Word DOCX document
1006
+ # 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.
1007
+ # @param req_config Document input request
1008
+ # @param [Hash] opts the optional parameters
1009
+ # @return [Array<(InsertDocxInsertParagraphResponse, Fixnum, Hash)>] InsertDocxInsertParagraphResponse data, response status code and response headers
1010
+ def edit_document_docx_insert_paragraph_with_http_info(req_config, opts = {})
1011
+ if @api_client.config.debugging
1012
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_insert_paragraph ...'
1013
+ end
1014
+ # verify the required parameter 'req_config' is set
1015
+ if @api_client.config.client_side_validation && req_config.nil?
1016
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_paragraph"
1017
+ end
1018
+ # resource path
1019
+ local_var_path = '/convert/edit/docx/insert-paragraph'
1020
+
1021
+ # query parameters
1022
+ query_params = {}
1023
+
1024
+ # header parameters
1025
+ header_params = {}
1026
+ # HTTP header 'Accept' (if needed)
1027
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1028
+ # HTTP header 'Content-Type'
1029
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1030
+
1031
+ # form parameters
1032
+ form_params = {}
1033
+
1034
+ # http body (model)
1035
+ post_body = @api_client.object_to_http_body(req_config)
1036
+ auth_names = ['Apikey']
1037
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1038
+ :header_params => header_params,
1039
+ :query_params => query_params,
1040
+ :form_params => form_params,
1041
+ :body => post_body,
1042
+ :auth_names => auth_names,
1043
+ :return_type => 'InsertDocxInsertParagraphResponse')
1044
+ if @api_client.config.debugging
1045
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1046
+ end
1047
+ return data, status_code, headers
1048
+ end
1049
+ # Insert a new table into a Word DOCX document
1050
+ # Adds a new table into a DOCX and returns the result. Call Finish Editing on the output URL to complete the operation.
1051
+ # @param req_config Document input request
1052
+ # @param [Hash] opts the optional parameters
1053
+ # @return [InsertDocxTablesResponse]
1054
+ def edit_document_docx_insert_table(req_config, opts = {})
1055
+ data, _status_code, _headers = edit_document_docx_insert_table_with_http_info(req_config, opts)
1056
+ data
1057
+ end
1058
+
1059
+ # Insert a new table into a Word DOCX document
1060
+ # Adds a new table into a DOCX and returns the result. Call Finish Editing on the output URL to complete the operation.
1061
+ # @param req_config Document input request
1062
+ # @param [Hash] opts the optional parameters
1063
+ # @return [Array<(InsertDocxTablesResponse, Fixnum, Hash)>] InsertDocxTablesResponse data, response status code and response headers
1064
+ def edit_document_docx_insert_table_with_http_info(req_config, opts = {})
1065
+ if @api_client.config.debugging
1066
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_insert_table ...'
1067
+ end
1068
+ # verify the required parameter 'req_config' is set
1069
+ if @api_client.config.client_side_validation && req_config.nil?
1070
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_table"
1071
+ end
1072
+ # resource path
1073
+ local_var_path = '/convert/edit/docx/insert-table'
1074
+
1075
+ # query parameters
1076
+ query_params = {}
1077
+
1078
+ # header parameters
1079
+ header_params = {}
1080
+ # HTTP header 'Accept' (if needed)
1081
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1082
+ # HTTP header 'Content-Type'
1083
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1084
+
1085
+ # form parameters
1086
+ form_params = {}
1087
+
1088
+ # http body (model)
1089
+ post_body = @api_client.object_to_http_body(req_config)
1090
+ auth_names = ['Apikey']
1091
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1092
+ :header_params => header_params,
1093
+ :query_params => query_params,
1094
+ :form_params => form_params,
1095
+ :body => post_body,
1096
+ :auth_names => auth_names,
1097
+ :return_type => 'InsertDocxTablesResponse')
1098
+ if @api_client.config.debugging
1099
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_table\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1100
+ end
1101
+ return data, status_code, headers
1102
+ end
1103
+ # Insert a new row into an existing table in a Word DOCX document
1104
+ # Adds a new table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1105
+ # @param req_config Document input request
1106
+ # @param [Hash] opts the optional parameters
1107
+ # @return [InsertDocxTableRowResponse]
1108
+ def edit_document_docx_insert_table_row(req_config, opts = {})
1109
+ data, _status_code, _headers = edit_document_docx_insert_table_row_with_http_info(req_config, opts)
1110
+ data
1111
+ end
1112
+
1113
+ # Insert a new row into an existing table in a Word DOCX document
1114
+ # Adds a new table row into a DOCX Document and returns the result. Call Finish Editing on the output URL to complete the operation.
1115
+ # @param req_config Document input request
1116
+ # @param [Hash] opts the optional parameters
1117
+ # @return [Array<(InsertDocxTableRowResponse, Fixnum, Hash)>] InsertDocxTableRowResponse data, response status code and response headers
1118
+ def edit_document_docx_insert_table_row_with_http_info(req_config, opts = {})
1119
+ if @api_client.config.debugging
1120
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_insert_table_row ...'
1121
+ end
1122
+ # verify the required parameter 'req_config' is set
1123
+ if @api_client.config.client_side_validation && req_config.nil?
1124
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_insert_table_row"
1125
+ end
1126
+ # resource path
1127
+ local_var_path = '/convert/edit/docx/insert-table-row'
1128
+
1129
+ # query parameters
1130
+ query_params = {}
1131
+
1132
+ # header parameters
1133
+ header_params = {}
1134
+ # HTTP header 'Accept' (if needed)
1135
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1136
+ # HTTP header 'Content-Type'
1137
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1138
+
1139
+ # form parameters
1140
+ form_params = {}
1141
+
1142
+ # http body (model)
1143
+ post_body = @api_client.object_to_http_body(req_config)
1144
+ auth_names = ['Apikey']
1145
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1146
+ :header_params => header_params,
1147
+ :query_params => query_params,
1148
+ :form_params => form_params,
1149
+ :body => post_body,
1150
+ :auth_names => auth_names,
1151
+ :return_type => 'InsertDocxTableRowResponse')
1152
+ if @api_client.config.debugging
1153
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_insert_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1154
+ end
1155
+ return data, status_code, headers
1156
+ end
1157
+ # Get pages and content from a Word DOCX document
1158
+ # Returns the pages and contents of each page defined in the Word Document (DOCX) format file
1159
+ # @param req_config Document input request
1160
+ # @param [Hash] opts the optional parameters
1161
+ # @return [GetDocxPagesResponse]
1162
+ def edit_document_docx_pages(req_config, opts = {})
1163
+ data, _status_code, _headers = edit_document_docx_pages_with_http_info(req_config, opts)
1164
+ data
1165
+ end
1166
+
1167
+ # Get pages and content from a Word DOCX document
1168
+ # Returns the pages and contents of each page defined in the Word Document (DOCX) format file
1169
+ # @param req_config Document input request
1170
+ # @param [Hash] opts the optional parameters
1171
+ # @return [Array<(GetDocxPagesResponse, Fixnum, Hash)>] GetDocxPagesResponse data, response status code and response headers
1172
+ def edit_document_docx_pages_with_http_info(req_config, opts = {})
1173
+ if @api_client.config.debugging
1174
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_pages ...'
1175
+ end
1176
+ # verify the required parameter 'req_config' is set
1177
+ if @api_client.config.client_side_validation && req_config.nil?
1178
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_pages"
1179
+ end
1180
+ # resource path
1181
+ local_var_path = '/convert/edit/docx/get-pages'
1182
+
1183
+ # query parameters
1184
+ query_params = {}
1185
+
1186
+ # header parameters
1187
+ header_params = {}
1188
+ # HTTP header 'Accept' (if needed)
1189
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1190
+ # HTTP header 'Content-Type'
1191
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1192
+
1193
+ # form parameters
1194
+ form_params = {}
1195
+
1196
+ # http body (model)
1197
+ post_body = @api_client.object_to_http_body(req_config)
1198
+ auth_names = ['Apikey']
1199
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1200
+ :header_params => header_params,
1201
+ :query_params => query_params,
1202
+ :form_params => form_params,
1203
+ :body => post_body,
1204
+ :auth_names => auth_names,
1205
+ :return_type => 'GetDocxPagesResponse')
1206
+ if @api_client.config.debugging
1207
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_pages\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1208
+ end
1209
+ return data, status_code, headers
1210
+ end
1211
+ # Remove headers and footers from Word DOCX document
1212
+ # Remove all headers, or footers, or both from a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1213
+ # @param req_config Document input request
1214
+ # @param [Hash] opts the optional parameters
1215
+ # @return [RemoveDocxHeadersAndFootersResponse]
1216
+ def edit_document_docx_remove_headers_and_footers(req_config, opts = {})
1217
+ data, _status_code, _headers = edit_document_docx_remove_headers_and_footers_with_http_info(req_config, opts)
1218
+ data
1219
+ end
1220
+
1221
+ # Remove headers and footers from Word DOCX document
1222
+ # Remove all headers, or footers, or both from a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1223
+ # @param req_config Document input request
1224
+ # @param [Hash] opts the optional parameters
1225
+ # @return [Array<(RemoveDocxHeadersAndFootersResponse, Fixnum, Hash)>] RemoveDocxHeadersAndFootersResponse data, response status code and response headers
1226
+ def edit_document_docx_remove_headers_and_footers_with_http_info(req_config, opts = {})
1227
+ if @api_client.config.debugging
1228
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_remove_headers_and_footers ...'
1229
+ end
1230
+ # verify the required parameter 'req_config' is set
1231
+ if @api_client.config.client_side_validation && req_config.nil?
1232
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_remove_headers_and_footers"
1233
+ end
1234
+ # resource path
1235
+ local_var_path = '/convert/edit/docx/remove-headers-and-footers'
1236
+
1237
+ # query parameters
1238
+ query_params = {}
1239
+
1240
+ # header parameters
1241
+ header_params = {}
1242
+ # HTTP header 'Accept' (if needed)
1243
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1244
+ # HTTP header 'Content-Type'
1245
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1246
+
1247
+ # form parameters
1248
+ form_params = {}
1249
+
1250
+ # http body (model)
1251
+ post_body = @api_client.object_to_http_body(req_config)
1252
+ auth_names = ['Apikey']
1253
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1254
+ :header_params => header_params,
1255
+ :query_params => query_params,
1256
+ :form_params => form_params,
1257
+ :body => post_body,
1258
+ :auth_names => auth_names,
1259
+ :return_type => 'RemoveDocxHeadersAndFootersResponse')
1260
+ if @api_client.config.debugging
1261
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_remove_headers_and_footers\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1262
+ end
1263
+ return data, status_code, headers
1264
+ end
1265
+ # Delete any object in a Word DOCX document
1266
+ # 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.
1267
+ # @param req_config Document input request
1268
+ # @param [Hash] opts the optional parameters
1269
+ # @return [DocxRemoveObjectResponse]
1270
+ def edit_document_docx_remove_object(req_config, opts = {})
1271
+ data, _status_code, _headers = edit_document_docx_remove_object_with_http_info(req_config, opts)
1272
+ data
1273
+ end
1274
+
1275
+ # Delete any object in a Word DOCX document
1276
+ # 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.
1277
+ # @param req_config Document input request
1278
+ # @param [Hash] opts the optional parameters
1279
+ # @return [Array<(DocxRemoveObjectResponse, Fixnum, Hash)>] DocxRemoveObjectResponse data, response status code and response headers
1280
+ def edit_document_docx_remove_object_with_http_info(req_config, opts = {})
1281
+ if @api_client.config.debugging
1282
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_remove_object ...'
1283
+ end
1284
+ # verify the required parameter 'req_config' is set
1285
+ if @api_client.config.client_side_validation && req_config.nil?
1286
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_remove_object"
1287
+ end
1288
+ # resource path
1289
+ local_var_path = '/convert/edit/docx/remove-object'
1290
+
1291
+ # query parameters
1292
+ query_params = {}
1293
+
1294
+ # header parameters
1295
+ header_params = {}
1296
+ # HTTP header 'Accept' (if needed)
1297
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1298
+ # HTTP header 'Content-Type'
1299
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1300
+
1301
+ # form parameters
1302
+ form_params = {}
1303
+
1304
+ # http body (model)
1305
+ post_body = @api_client.object_to_http_body(req_config)
1306
+ auth_names = ['Apikey']
1307
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1308
+ :header_params => header_params,
1309
+ :query_params => query_params,
1310
+ :form_params => form_params,
1311
+ :body => post_body,
1312
+ :auth_names => auth_names,
1313
+ :return_type => 'DocxRemoveObjectResponse')
1314
+ if @api_client.config.debugging
1315
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_remove_object\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1316
+ end
1317
+ return data, status_code, headers
1318
+ end
1319
+ # Replace string in Word DOCX document
1320
+ # Replace all instances of a string in an Office Word Document (docx)
1321
+ # @param req_config Document string replacement configuration input
1322
+ # @param [Hash] opts the optional parameters
1323
+ # @return [String]
1324
+ def edit_document_docx_replace(req_config, opts = {})
1325
+ data, _status_code, _headers = edit_document_docx_replace_with_http_info(req_config, opts)
1326
+ data
1327
+ end
1328
+
1329
+ # Replace string in Word DOCX document
1330
+ # Replace all instances of a string in an Office Word Document (docx)
1331
+ # @param req_config Document string replacement configuration input
1332
+ # @param [Hash] opts the optional parameters
1333
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1334
+ def edit_document_docx_replace_with_http_info(req_config, opts = {})
1335
+ if @api_client.config.debugging
1336
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_replace ...'
1337
+ end
1338
+ # verify the required parameter 'req_config' is set
1339
+ if @api_client.config.client_side_validation && req_config.nil?
1340
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_replace"
1341
+ end
1342
+ # resource path
1343
+ local_var_path = '/convert/edit/docx/replace-all'
1344
+
1345
+ # query parameters
1346
+ query_params = {}
1347
+
1348
+ # header parameters
1349
+ header_params = {}
1350
+ # HTTP header 'Accept' (if needed)
1351
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1352
+ # HTTP header 'Content-Type'
1353
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1354
+
1355
+ # form parameters
1356
+ form_params = {}
1357
+
1358
+ # http body (model)
1359
+ post_body = @api_client.object_to_http_body(req_config)
1360
+ auth_names = ['Apikey']
1361
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1362
+ :header_params => header_params,
1363
+ :query_params => query_params,
1364
+ :form_params => form_params,
1365
+ :body => post_body,
1366
+ :auth_names => auth_names,
1367
+ :return_type => 'String')
1368
+ if @api_client.config.debugging
1369
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1370
+ end
1371
+ return data, status_code, headers
1372
+ end
1373
+ # Replace multiple strings in Word DOCX document
1374
+ # Replace all instances of multiple strings in an Office Word Document (docx)
1375
+ # @param req_config Document string replacement configuration input
1376
+ # @param [Hash] opts the optional parameters
1377
+ # @return [String]
1378
+ def edit_document_docx_replace_multi(req_config, opts = {})
1379
+ data, _status_code, _headers = edit_document_docx_replace_multi_with_http_info(req_config, opts)
1380
+ data
1381
+ end
1382
+
1383
+ # Replace multiple strings in Word DOCX document
1384
+ # Replace all instances of multiple strings in an Office Word Document (docx)
1385
+ # @param req_config Document string replacement configuration input
1386
+ # @param [Hash] opts the optional parameters
1387
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1388
+ def edit_document_docx_replace_multi_with_http_info(req_config, opts = {})
1389
+ if @api_client.config.debugging
1390
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_replace_multi ...'
1391
+ end
1392
+ # verify the required parameter 'req_config' is set
1393
+ if @api_client.config.client_side_validation && req_config.nil?
1394
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_replace_multi"
1395
+ end
1396
+ # resource path
1397
+ local_var_path = '/convert/edit/docx/replace-all/multi'
1398
+
1399
+ # query parameters
1400
+ query_params = {}
1401
+
1402
+ # header parameters
1403
+ header_params = {}
1404
+ # HTTP header 'Accept' (if needed)
1405
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1406
+ # HTTP header 'Content-Type'
1407
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1408
+
1409
+ # form parameters
1410
+ form_params = {}
1411
+
1412
+ # http body (model)
1413
+ post_body = @api_client.object_to_http_body(req_config)
1414
+ auth_names = ['Apikey']
1415
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1416
+ :header_params => header_params,
1417
+ :query_params => query_params,
1418
+ :form_params => form_params,
1419
+ :body => post_body,
1420
+ :auth_names => auth_names,
1421
+ :return_type => 'String')
1422
+ if @api_client.config.debugging
1423
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_replace_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1424
+ end
1425
+ return data, status_code, headers
1426
+ end
1427
+ # Replace matching paragraphs in a Word DOCX document
1428
+ # 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.
1429
+ # @param req_config Document input request
1430
+ # @param [Hash] opts the optional parameters
1431
+ # @return [ReplaceDocxParagraphResponse]
1432
+ def edit_document_docx_replace_paragraph(req_config, opts = {})
1433
+ data, _status_code, _headers = edit_document_docx_replace_paragraph_with_http_info(req_config, opts)
1434
+ data
1435
+ end
1436
+
1437
+ # Replace matching paragraphs in a Word DOCX document
1438
+ # 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.
1439
+ # @param req_config Document input request
1440
+ # @param [Hash] opts the optional parameters
1441
+ # @return [Array<(ReplaceDocxParagraphResponse, Fixnum, Hash)>] ReplaceDocxParagraphResponse data, response status code and response headers
1442
+ def edit_document_docx_replace_paragraph_with_http_info(req_config, opts = {})
1443
+ if @api_client.config.debugging
1444
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_replace_paragraph ...'
1445
+ end
1446
+ # verify the required parameter 'req_config' is set
1447
+ if @api_client.config.client_side_validation && req_config.nil?
1448
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_replace_paragraph"
1449
+ end
1450
+ # resource path
1451
+ local_var_path = '/convert/edit/docx/replace/paragraph'
1452
+
1453
+ # query parameters
1454
+ query_params = {}
1455
+
1456
+ # header parameters
1457
+ header_params = {}
1458
+ # HTTP header 'Accept' (if needed)
1459
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1460
+ # HTTP header 'Content-Type'
1461
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1462
+
1463
+ # form parameters
1464
+ form_params = {}
1465
+
1466
+ # http body (model)
1467
+ post_body = @api_client.object_to_http_body(req_config)
1468
+ auth_names = ['Apikey']
1469
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1470
+ :header_params => header_params,
1471
+ :query_params => query_params,
1472
+ :form_params => form_params,
1473
+ :body => post_body,
1474
+ :auth_names => auth_names,
1475
+ :return_type => 'ReplaceDocxParagraphResponse')
1476
+ if @api_client.config.debugging
1477
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_replace_paragraph\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1478
+ end
1479
+ return data, status_code, headers
1480
+ end
1481
+ # Set the footer in a Word DOCX document
1482
+ # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1483
+ # @param req_config Document input request
1484
+ # @param [Hash] opts the optional parameters
1485
+ # @return [DocxSetFooterResponse]
1486
+ def edit_document_docx_set_footer(req_config, opts = {})
1487
+ data, _status_code, _headers = edit_document_docx_set_footer_with_http_info(req_config, opts)
1488
+ data
1489
+ end
1490
+
1491
+ # Set the footer in a Word DOCX document
1492
+ # Set the footer in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1493
+ # @param req_config Document input request
1494
+ # @param [Hash] opts the optional parameters
1495
+ # @return [Array<(DocxSetFooterResponse, Fixnum, Hash)>] DocxSetFooterResponse data, response status code and response headers
1496
+ def edit_document_docx_set_footer_with_http_info(req_config, opts = {})
1497
+ if @api_client.config.debugging
1498
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_set_footer ...'
1499
+ end
1500
+ # verify the required parameter 'req_config' is set
1501
+ if @api_client.config.client_side_validation && req_config.nil?
1502
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_set_footer"
1503
+ end
1504
+ # resource path
1505
+ local_var_path = '/convert/edit/docx/set-footer'
1506
+
1507
+ # query parameters
1508
+ query_params = {}
1509
+
1510
+ # header parameters
1511
+ header_params = {}
1512
+ # HTTP header 'Accept' (if needed)
1513
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1514
+ # HTTP header 'Content-Type'
1515
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1516
+
1517
+ # form parameters
1518
+ form_params = {}
1519
+
1520
+ # http body (model)
1521
+ post_body = @api_client.object_to_http_body(req_config)
1522
+ auth_names = ['Apikey']
1523
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1524
+ :header_params => header_params,
1525
+ :query_params => query_params,
1526
+ :form_params => form_params,
1527
+ :body => post_body,
1528
+ :auth_names => auth_names,
1529
+ :return_type => 'DocxSetFooterResponse')
1530
+ if @api_client.config.debugging
1531
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_set_footer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1532
+ end
1533
+ return data, status_code, headers
1534
+ end
1535
+ # Add page number to footer in a Word DOCX document
1536
+ # Set the footer in a Word Document (DOCX) to contain a page number. Call Finish Editing on the output URL to complete the operation.
1537
+ # @param req_config Document input request
1538
+ # @param [Hash] opts the optional parameters
1539
+ # @return [DocxSetFooterResponse]
1540
+ def edit_document_docx_set_footer_add_page_number(req_config, opts = {})
1541
+ data, _status_code, _headers = edit_document_docx_set_footer_add_page_number_with_http_info(req_config, opts)
1542
+ data
1543
+ end
1544
+
1545
+ # Add page number to footer in a Word DOCX document
1546
+ # Set the footer in a Word Document (DOCX) to contain a page number. Call Finish Editing on the output URL to complete the operation.
1547
+ # @param req_config Document input request
1548
+ # @param [Hash] opts the optional parameters
1549
+ # @return [Array<(DocxSetFooterResponse, Fixnum, Hash)>] DocxSetFooterResponse data, response status code and response headers
1550
+ def edit_document_docx_set_footer_add_page_number_with_http_info(req_config, opts = {})
1551
+ if @api_client.config.debugging
1552
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_set_footer_add_page_number ...'
1553
+ end
1554
+ # verify the required parameter 'req_config' is set
1555
+ if @api_client.config.client_side_validation && req_config.nil?
1556
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_set_footer_add_page_number"
1557
+ end
1558
+ # resource path
1559
+ local_var_path = '/convert/edit/docx/set-footer/add-page-number'
1560
+
1561
+ # query parameters
1562
+ query_params = {}
1563
+
1564
+ # header parameters
1565
+ header_params = {}
1566
+ # HTTP header 'Accept' (if needed)
1567
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1568
+ # HTTP header 'Content-Type'
1569
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1570
+
1571
+ # form parameters
1572
+ form_params = {}
1573
+
1574
+ # http body (model)
1575
+ post_body = @api_client.object_to_http_body(req_config)
1576
+ auth_names = ['Apikey']
1577
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1578
+ :header_params => header_params,
1579
+ :query_params => query_params,
1580
+ :form_params => form_params,
1581
+ :body => post_body,
1582
+ :auth_names => auth_names,
1583
+ :return_type => 'DocxSetFooterResponse')
1584
+ if @api_client.config.debugging
1585
+ @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}"
1586
+ end
1587
+ return data, status_code, headers
1588
+ end
1589
+ # Set the header in a Word DOCX document
1590
+ # Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1591
+ # @param req_config Document input request
1592
+ # @param [Hash] opts the optional parameters
1593
+ # @return [DocxSetHeaderResponse]
1594
+ def edit_document_docx_set_header(req_config, opts = {})
1595
+ data, _status_code, _headers = edit_document_docx_set_header_with_http_info(req_config, opts)
1596
+ data
1597
+ end
1598
+
1599
+ # Set the header in a Word DOCX document
1600
+ # Set the header in a Word Document (DOCX). Call Finish Editing on the output URL to complete the operation.
1601
+ # @param req_config Document input request
1602
+ # @param [Hash] opts the optional parameters
1603
+ # @return [Array<(DocxSetHeaderResponse, Fixnum, Hash)>] DocxSetHeaderResponse data, response status code and response headers
1604
+ def edit_document_docx_set_header_with_http_info(req_config, opts = {})
1605
+ if @api_client.config.debugging
1606
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_set_header ...'
1607
+ end
1608
+ # verify the required parameter 'req_config' is set
1609
+ if @api_client.config.client_side_validation && req_config.nil?
1610
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_set_header"
1611
+ end
1612
+ # resource path
1613
+ local_var_path = '/convert/edit/docx/set-header'
1614
+
1615
+ # query parameters
1616
+ query_params = {}
1617
+
1618
+ # header parameters
1619
+ header_params = {}
1620
+ # HTTP header 'Accept' (if needed)
1621
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1622
+ # HTTP header 'Content-Type'
1623
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1624
+
1625
+ # form parameters
1626
+ form_params = {}
1627
+
1628
+ # http body (model)
1629
+ post_body = @api_client.object_to_http_body(req_config)
1630
+ auth_names = ['Apikey']
1631
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1632
+ :header_params => header_params,
1633
+ :query_params => query_params,
1634
+ :form_params => form_params,
1635
+ :body => post_body,
1636
+ :auth_names => auth_names,
1637
+ :return_type => 'DocxSetHeaderResponse')
1638
+ if @api_client.config.debugging
1639
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_set_header\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1640
+ end
1641
+ return data, status_code, headers
1642
+ end
1643
+ # Update, set contents of a table cell in an existing table in a Word DOCX document
1644
+ # 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.
1645
+ # @param req_config Document input request
1646
+ # @param [Hash] opts the optional parameters
1647
+ # @return [UpdateDocxTableCellResponse]
1648
+ def edit_document_docx_update_table_cell(req_config, opts = {})
1649
+ data, _status_code, _headers = edit_document_docx_update_table_cell_with_http_info(req_config, opts)
1650
+ data
1651
+ end
1652
+
1653
+ # Update, set contents of a table cell in an existing table in a Word DOCX document
1654
+ # 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.
1655
+ # @param req_config Document input request
1656
+ # @param [Hash] opts the optional parameters
1657
+ # @return [Array<(UpdateDocxTableCellResponse, Fixnum, Hash)>] UpdateDocxTableCellResponse data, response status code and response headers
1658
+ def edit_document_docx_update_table_cell_with_http_info(req_config, opts = {})
1659
+ if @api_client.config.debugging
1660
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_update_table_cell ...'
1661
+ end
1662
+ # verify the required parameter 'req_config' is set
1663
+ if @api_client.config.client_side_validation && req_config.nil?
1664
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_update_table_cell"
1665
+ end
1666
+ # resource path
1667
+ local_var_path = '/convert/edit/docx/update-table-cell'
1668
+
1669
+ # query parameters
1670
+ query_params = {}
1671
+
1672
+ # header parameters
1673
+ header_params = {}
1674
+ # HTTP header 'Accept' (if needed)
1675
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1676
+ # HTTP header 'Content-Type'
1677
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1678
+
1679
+ # form parameters
1680
+ form_params = {}
1681
+
1682
+ # http body (model)
1683
+ post_body = @api_client.object_to_http_body(req_config)
1684
+ auth_names = ['Apikey']
1685
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1686
+ :header_params => header_params,
1687
+ :query_params => query_params,
1688
+ :form_params => form_params,
1689
+ :body => post_body,
1690
+ :auth_names => auth_names,
1691
+ :return_type => 'UpdateDocxTableCellResponse')
1692
+ if @api_client.config.debugging
1693
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_update_table_cell\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1694
+ end
1695
+ return data, status_code, headers
1696
+ end
1697
+ # Update, set contents of a table row in an existing table in a Word DOCX document
1698
+ # 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.
1699
+ # @param req_config Document input request
1700
+ # @param [Hash] opts the optional parameters
1701
+ # @return [UpdateDocxTableRowResponse]
1702
+ def edit_document_docx_update_table_row(req_config, opts = {})
1703
+ data, _status_code, _headers = edit_document_docx_update_table_row_with_http_info(req_config, opts)
1704
+ data
1705
+ end
1706
+
1707
+ # Update, set contents of a table row in an existing table in a Word DOCX document
1708
+ # 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.
1709
+ # @param req_config Document input request
1710
+ # @param [Hash] opts the optional parameters
1711
+ # @return [Array<(UpdateDocxTableRowResponse, Fixnum, Hash)>] UpdateDocxTableRowResponse data, response status code and response headers
1712
+ def edit_document_docx_update_table_row_with_http_info(req_config, opts = {})
1713
+ if @api_client.config.debugging
1714
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_docx_update_table_row ...'
1715
+ end
1716
+ # verify the required parameter 'req_config' is set
1717
+ if @api_client.config.client_side_validation && req_config.nil?
1718
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_docx_update_table_row"
1719
+ end
1720
+ # resource path
1721
+ local_var_path = '/convert/edit/docx/update-table-row'
1722
+
1723
+ # query parameters
1724
+ query_params = {}
1725
+
1726
+ # header parameters
1727
+ header_params = {}
1728
+ # HTTP header 'Accept' (if needed)
1729
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1730
+ # HTTP header 'Content-Type'
1731
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1732
+
1733
+ # form parameters
1734
+ form_params = {}
1735
+
1736
+ # http body (model)
1737
+ post_body = @api_client.object_to_http_body(req_config)
1738
+ auth_names = ['Apikey']
1739
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1740
+ :header_params => header_params,
1741
+ :query_params => query_params,
1742
+ :form_params => form_params,
1743
+ :body => post_body,
1744
+ :auth_names => auth_names,
1745
+ :return_type => 'UpdateDocxTableRowResponse')
1746
+ if @api_client.config.debugging
1747
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_docx_update_table_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1748
+ end
1749
+ return data, status_code, headers
1750
+ end
1751
+ # Finish editing document, and download result from document editing
1752
+ # 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.
1753
+ # @param req_config Cloudmersive Document URL to complete editing on
1754
+ # @param [Hash] opts the optional parameters
1755
+ # @return [String]
1756
+ def edit_document_finish_editing(req_config, opts = {})
1757
+ data, _status_code, _headers = edit_document_finish_editing_with_http_info(req_config, opts)
1758
+ data
1759
+ end
1760
+
1761
+ # Finish editing document, and download result from document editing
1762
+ # 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.
1763
+ # @param req_config Cloudmersive Document URL to complete editing on
1764
+ # @param [Hash] opts the optional parameters
1765
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1766
+ def edit_document_finish_editing_with_http_info(req_config, opts = {})
1767
+ if @api_client.config.debugging
1768
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_finish_editing ...'
1769
+ end
1770
+ # verify the required parameter 'req_config' is set
1771
+ if @api_client.config.client_side_validation && req_config.nil?
1772
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_finish_editing"
1773
+ end
1774
+ # resource path
1775
+ local_var_path = '/convert/edit/finish-editing'
1776
+
1777
+ # query parameters
1778
+ query_params = {}
1779
+
1780
+ # header parameters
1781
+ header_params = {}
1782
+ # HTTP header 'Accept' (if needed)
1783
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1784
+ # HTTP header 'Content-Type'
1785
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1786
+
1787
+ # form parameters
1788
+ form_params = {}
1789
+
1790
+ # http body (model)
1791
+ post_body = @api_client.object_to_http_body(req_config)
1792
+ auth_names = ['Apikey']
1793
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1794
+ :header_params => header_params,
1795
+ :query_params => query_params,
1796
+ :form_params => form_params,
1797
+ :body => post_body,
1798
+ :auth_names => auth_names,
1799
+ :return_type => 'String')
1800
+ if @api_client.config.debugging
1801
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_finish_editing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1802
+ end
1803
+ return data, status_code, headers
1804
+ end
1805
+ # Delete, remove slides from a PowerPoint PPTX presentation document
1806
+ # Edits the input PowerPoint PPTX presentation document to remove the specified slides
1807
+ # @param req_config Presentation input request
1808
+ # @param [Hash] opts the optional parameters
1809
+ # @return [String]
1810
+ def edit_document_pptx_delete_slides(req_config, opts = {})
1811
+ data, _status_code, _headers = edit_document_pptx_delete_slides_with_http_info(req_config, opts)
1812
+ data
1813
+ end
1814
+
1815
+ # Delete, remove slides from a PowerPoint PPTX presentation document
1816
+ # Edits the input PowerPoint PPTX presentation document to remove the specified slides
1817
+ # @param req_config Presentation input request
1818
+ # @param [Hash] opts the optional parameters
1819
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1820
+ def edit_document_pptx_delete_slides_with_http_info(req_config, opts = {})
1821
+ if @api_client.config.debugging
1822
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_pptx_delete_slides ...'
1823
+ end
1824
+ # verify the required parameter 'req_config' is set
1825
+ if @api_client.config.client_side_validation && req_config.nil?
1826
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_pptx_delete_slides"
1827
+ end
1828
+ # resource path
1829
+ local_var_path = '/convert/edit/pptx/delete-slides'
1830
+
1831
+ # query parameters
1832
+ query_params = {}
1833
+
1834
+ # header parameters
1835
+ header_params = {}
1836
+ # HTTP header 'Accept' (if needed)
1837
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1838
+ # HTTP header 'Content-Type'
1839
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1840
+
1841
+ # form parameters
1842
+ form_params = {}
1843
+
1844
+ # http body (model)
1845
+ post_body = @api_client.object_to_http_body(req_config)
1846
+ auth_names = ['Apikey']
1847
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1848
+ :header_params => header_params,
1849
+ :query_params => query_params,
1850
+ :form_params => form_params,
1851
+ :body => post_body,
1852
+ :auth_names => auth_names,
1853
+ :return_type => 'String')
1854
+ if @api_client.config.debugging
1855
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_pptx_delete_slides\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1856
+ end
1857
+ return data, status_code, headers
1858
+ end
1859
+ # Replace string in PowerPoint PPTX presentation
1860
+ # Replace all instances of a string in an Office PowerPoint Document (pptx)
1861
+ # @param req_config Replacement document configuration input
1862
+ # @param [Hash] opts the optional parameters
1863
+ # @return [String]
1864
+ def edit_document_pptx_replace(req_config, opts = {})
1865
+ data, _status_code, _headers = edit_document_pptx_replace_with_http_info(req_config, opts)
1866
+ data
1867
+ end
1868
+
1869
+ # Replace string in PowerPoint PPTX presentation
1870
+ # Replace all instances of a string in an Office PowerPoint Document (pptx)
1871
+ # @param req_config Replacement document configuration input
1872
+ # @param [Hash] opts the optional parameters
1873
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
1874
+ def edit_document_pptx_replace_with_http_info(req_config, opts = {})
1875
+ if @api_client.config.debugging
1876
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_pptx_replace ...'
1877
+ end
1878
+ # verify the required parameter 'req_config' is set
1879
+ if @api_client.config.client_side_validation && req_config.nil?
1880
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_pptx_replace"
1881
+ end
1882
+ # resource path
1883
+ local_var_path = '/convert/edit/pptx/replace-all'
1884
+
1885
+ # query parameters
1886
+ query_params = {}
1887
+
1888
+ # header parameters
1889
+ header_params = {}
1890
+ # HTTP header 'Accept' (if needed)
1891
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
1892
+ # HTTP header 'Content-Type'
1893
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1894
+
1895
+ # form parameters
1896
+ form_params = {}
1897
+
1898
+ # http body (model)
1899
+ post_body = @api_client.object_to_http_body(req_config)
1900
+ auth_names = ['Apikey']
1901
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1902
+ :header_params => header_params,
1903
+ :query_params => query_params,
1904
+ :form_params => form_params,
1905
+ :body => post_body,
1906
+ :auth_names => auth_names,
1907
+ :return_type => 'String')
1908
+ if @api_client.config.debugging
1909
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_pptx_replace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1910
+ end
1911
+ return data, status_code, headers
1912
+ end
1913
+ # Append row to a Excel XLSX spreadsheet, worksheet
1914
+ # Appends a row to the end of an Excel Spreadsheet worksheet.
1915
+ # @param input Document input request
1916
+ # @param [Hash] opts the optional parameters
1917
+ # @return [AppendXlsxRowResponse]
1918
+ def edit_document_xlsx_append_row(input, opts = {})
1919
+ data, _status_code, _headers = edit_document_xlsx_append_row_with_http_info(input, opts)
1920
+ data
1921
+ end
1922
+
1923
+ # Append row to a Excel XLSX spreadsheet, worksheet
1924
+ # Appends a row to the end of an Excel Spreadsheet worksheet.
1925
+ # @param input Document input request
1926
+ # @param [Hash] opts the optional parameters
1927
+ # @return [Array<(AppendXlsxRowResponse, Fixnum, Hash)>] AppendXlsxRowResponse data, response status code and response headers
1928
+ def edit_document_xlsx_append_row_with_http_info(input, opts = {})
1929
+ if @api_client.config.debugging
1930
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_append_row ...'
1931
+ end
1932
+ # verify the required parameter 'input' is set
1933
+ if @api_client.config.client_side_validation && input.nil?
1934
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_append_row"
1935
+ end
1936
+ # resource path
1937
+ local_var_path = '/convert/edit/xlsx/append-row'
1938
+
1939
+ # query parameters
1940
+ query_params = {}
1941
+
1942
+ # header parameters
1943
+ header_params = {}
1944
+ # HTTP header 'Accept' (if needed)
1945
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
1946
+ # HTTP header 'Content-Type'
1947
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
1948
+
1949
+ # form parameters
1950
+ form_params = {}
1951
+
1952
+ # http body (model)
1953
+ post_body = @api_client.object_to_http_body(input)
1954
+ auth_names = ['Apikey']
1955
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1956
+ :header_params => header_params,
1957
+ :query_params => query_params,
1958
+ :form_params => form_params,
1959
+ :body => post_body,
1960
+ :auth_names => auth_names,
1961
+ :return_type => 'AppendXlsxRowResponse')
1962
+ if @api_client.config.debugging
1963
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_append_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1964
+ end
1965
+ return data, status_code, headers
1966
+ end
1967
+ # Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
1968
+ # Clears, sets to blank, the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
1969
+ # @param input Document input request
1970
+ # @param [Hash] opts the optional parameters
1971
+ # @return [ClearXlsxCellResponse]
1972
+ def edit_document_xlsx_clear_cell_by_index(input, opts = {})
1973
+ data, _status_code, _headers = edit_document_xlsx_clear_cell_by_index_with_http_info(input, opts)
1974
+ data
1975
+ end
1976
+
1977
+ # Clear cell contents in an Excel XLSX spreadsheet, worksheet by index
1978
+ # Clears, sets to blank, the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
1979
+ # @param input Document input request
1980
+ # @param [Hash] opts the optional parameters
1981
+ # @return [Array<(ClearXlsxCellResponse, Fixnum, Hash)>] ClearXlsxCellResponse data, response status code and response headers
1982
+ def edit_document_xlsx_clear_cell_by_index_with_http_info(input, opts = {})
1983
+ if @api_client.config.debugging
1984
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_clear_cell_by_index ...'
1985
+ end
1986
+ # verify the required parameter 'input' is set
1987
+ if @api_client.config.client_side_validation && input.nil?
1988
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_clear_cell_by_index"
1989
+ end
1990
+ # resource path
1991
+ local_var_path = '/convert/edit/xlsx/clear-cell/by-index'
1992
+
1993
+ # query parameters
1994
+ query_params = {}
1995
+
1996
+ # header parameters
1997
+ header_params = {}
1998
+ # HTTP header 'Accept' (if needed)
1999
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2000
+ # HTTP header 'Content-Type'
2001
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2002
+
2003
+ # form parameters
2004
+ form_params = {}
2005
+
2006
+ # http body (model)
2007
+ post_body = @api_client.object_to_http_body(input)
2008
+ auth_names = ['Apikey']
2009
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2010
+ :header_params => header_params,
2011
+ :query_params => query_params,
2012
+ :form_params => form_params,
2013
+ :body => post_body,
2014
+ :auth_names => auth_names,
2015
+ :return_type => 'ClearXlsxCellResponse')
2016
+ if @api_client.config.debugging
2017
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_clear_cell_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2018
+ end
2019
+ return data, status_code, headers
2020
+ end
2021
+ # Clear row from a Excel XLSX spreadsheet, worksheet
2022
+ # 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.
2023
+ # @param input Document input request
2024
+ # @param [Hash] opts the optional parameters
2025
+ # @return [ClearXlsxRowResponse]
2026
+ def edit_document_xlsx_clear_row(input, opts = {})
2027
+ data, _status_code, _headers = edit_document_xlsx_clear_row_with_http_info(input, opts)
2028
+ data
2029
+ end
2030
+
2031
+ # Clear row from a Excel XLSX spreadsheet, worksheet
2032
+ # 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.
2033
+ # @param input Document input request
2034
+ # @param [Hash] opts the optional parameters
2035
+ # @return [Array<(ClearXlsxRowResponse, Fixnum, Hash)>] ClearXlsxRowResponse data, response status code and response headers
2036
+ def edit_document_xlsx_clear_row_with_http_info(input, opts = {})
2037
+ if @api_client.config.debugging
2038
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_clear_row ...'
2039
+ end
2040
+ # verify the required parameter 'input' is set
2041
+ if @api_client.config.client_side_validation && input.nil?
2042
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_clear_row"
2043
+ end
2044
+ # resource path
2045
+ local_var_path = '/convert/edit/xlsx/clear-row'
2046
+
2047
+ # query parameters
2048
+ query_params = {}
2049
+
2050
+ # header parameters
2051
+ header_params = {}
2052
+ # HTTP header 'Accept' (if needed)
2053
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2054
+ # HTTP header 'Content-Type'
2055
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2056
+
2057
+ # form parameters
2058
+ form_params = {}
2059
+
2060
+ # http body (model)
2061
+ post_body = @api_client.object_to_http_body(input)
2062
+ auth_names = ['Apikey']
2063
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2064
+ :header_params => header_params,
2065
+ :query_params => query_params,
2066
+ :form_params => form_params,
2067
+ :body => post_body,
2068
+ :auth_names => auth_names,
2069
+ :return_type => 'ClearXlsxRowResponse')
2070
+ if @api_client.config.debugging
2071
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_clear_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2072
+ end
2073
+ return data, status_code, headers
2074
+ end
2075
+ # Create a blank Excel XLSX spreadsheet
2076
+ # Returns a blank Excel XLSX Spreadsheet (XLSX) format file
2077
+ # @param input Document input request
2078
+ # @param [Hash] opts the optional parameters
2079
+ # @return [CreateBlankSpreadsheetResponse]
2080
+ def edit_document_xlsx_create_blank_spreadsheet(input, opts = {})
2081
+ data, _status_code, _headers = edit_document_xlsx_create_blank_spreadsheet_with_http_info(input, opts)
2082
+ data
2083
+ end
2084
+
2085
+ # Create a blank Excel XLSX spreadsheet
2086
+ # Returns a blank Excel XLSX Spreadsheet (XLSX) format file
2087
+ # @param input Document input request
2088
+ # @param [Hash] opts the optional parameters
2089
+ # @return [Array<(CreateBlankSpreadsheetResponse, Fixnum, Hash)>] CreateBlankSpreadsheetResponse data, response status code and response headers
2090
+ def edit_document_xlsx_create_blank_spreadsheet_with_http_info(input, opts = {})
2091
+ if @api_client.config.debugging
2092
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_create_blank_spreadsheet ...'
2093
+ end
2094
+ # verify the required parameter 'input' is set
2095
+ if @api_client.config.client_side_validation && input.nil?
2096
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_create_blank_spreadsheet"
2097
+ end
2098
+ # resource path
2099
+ local_var_path = '/convert/edit/xlsx/create/blank'
2100
+
2101
+ # query parameters
2102
+ query_params = {}
2103
+
2104
+ # header parameters
2105
+ header_params = {}
2106
+ # HTTP header 'Accept' (if needed)
2107
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2108
+ # HTTP header 'Content-Type'
2109
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2110
+
2111
+ # form parameters
2112
+ form_params = {}
2113
+
2114
+ # http body (model)
2115
+ post_body = @api_client.object_to_http_body(input)
2116
+ auth_names = ['Apikey']
2117
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2118
+ :header_params => header_params,
2119
+ :query_params => query_params,
2120
+ :form_params => form_params,
2121
+ :body => post_body,
2122
+ :auth_names => auth_names,
2123
+ :return_type => 'CreateBlankSpreadsheetResponse')
2124
+ if @api_client.config.debugging
2125
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_create_blank_spreadsheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2126
+ end
2127
+ return data, status_code, headers
2128
+ end
2129
+ # Create a new Excel XLSX spreadsheet from column and row data
2130
+ # Returns a new Excel XLSX Spreadsheet (XLSX) format file populated with column and row data specified as input
2131
+ # @param input Document input request
2132
+ # @param [Hash] opts the optional parameters
2133
+ # @return [CreateSpreadsheetFromDataResponse]
2134
+ def edit_document_xlsx_create_spreadsheet_from_data(input, opts = {})
2135
+ data, _status_code, _headers = edit_document_xlsx_create_spreadsheet_from_data_with_http_info(input, opts)
2136
+ data
2137
+ end
2138
+
2139
+ # Create a new Excel XLSX spreadsheet from column and row data
2140
+ # Returns a new Excel XLSX Spreadsheet (XLSX) format file populated with column and row data specified as input
2141
+ # @param input Document input request
2142
+ # @param [Hash] opts the optional parameters
2143
+ # @return [Array<(CreateSpreadsheetFromDataResponse, Fixnum, Hash)>] CreateSpreadsheetFromDataResponse data, response status code and response headers
2144
+ def edit_document_xlsx_create_spreadsheet_from_data_with_http_info(input, opts = {})
2145
+ if @api_client.config.debugging
2146
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_create_spreadsheet_from_data ...'
2147
+ end
2148
+ # verify the required parameter 'input' is set
2149
+ if @api_client.config.client_side_validation && input.nil?
2150
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_create_spreadsheet_from_data"
2151
+ end
2152
+ # resource path
2153
+ local_var_path = '/convert/edit/xlsx/create/from/data'
2154
+
2155
+ # query parameters
2156
+ query_params = {}
2157
+
2158
+ # header parameters
2159
+ header_params = {}
2160
+ # HTTP header 'Accept' (if needed)
2161
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2162
+ # HTTP header 'Content-Type'
2163
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2164
+
2165
+ # form parameters
2166
+ form_params = {}
2167
+
2168
+ # http body (model)
2169
+ post_body = @api_client.object_to_http_body(input)
2170
+ auth_names = ['Apikey']
2171
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2172
+ :header_params => header_params,
2173
+ :query_params => query_params,
2174
+ :form_params => form_params,
2175
+ :body => post_body,
2176
+ :auth_names => auth_names,
2177
+ :return_type => 'CreateSpreadsheetFromDataResponse')
2178
+ if @api_client.config.debugging
2179
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_create_spreadsheet_from_data\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2180
+ end
2181
+ return data, status_code, headers
2182
+ end
2183
+ # Delete, remove worksheet from an Excel XLSX spreadsheet document
2184
+ # 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.
2185
+ # @param req_config Spreadsheet input request
2186
+ # @param [Hash] opts the optional parameters
2187
+ # @return [String]
2188
+ def edit_document_xlsx_delete_worksheet(req_config, opts = {})
2189
+ data, _status_code, _headers = edit_document_xlsx_delete_worksheet_with_http_info(req_config, opts)
2190
+ data
2191
+ end
2192
+
2193
+ # Delete, remove worksheet from an Excel XLSX spreadsheet document
2194
+ # 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.
2195
+ # @param req_config Spreadsheet input request
2196
+ # @param [Hash] opts the optional parameters
2197
+ # @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
2198
+ def edit_document_xlsx_delete_worksheet_with_http_info(req_config, opts = {})
2199
+ if @api_client.config.debugging
2200
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_delete_worksheet ...'
2201
+ end
2202
+ # verify the required parameter 'req_config' is set
2203
+ if @api_client.config.client_side_validation && req_config.nil?
2204
+ fail ArgumentError, "Missing the required parameter 'req_config' when calling EditDocumentApi.edit_document_xlsx_delete_worksheet"
2205
+ end
2206
+ # resource path
2207
+ local_var_path = '/convert/edit/xlsx/delete-worksheet'
2208
+
2209
+ # query parameters
2210
+ query_params = {}
2211
+
2212
+ # header parameters
2213
+ header_params = {}
2214
+ # HTTP header 'Accept' (if needed)
2215
+ header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
2216
+ # HTTP header 'Content-Type'
2217
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2218
+
2219
+ # form parameters
2220
+ form_params = {}
2221
+
2222
+ # http body (model)
2223
+ post_body = @api_client.object_to_http_body(req_config)
2224
+ auth_names = ['Apikey']
2225
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2226
+ :header_params => header_params,
2227
+ :query_params => query_params,
2228
+ :form_params => form_params,
2229
+ :body => post_body,
2230
+ :auth_names => auth_names,
2231
+ :return_type => 'String')
2232
+ if @api_client.config.debugging
2233
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_delete_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2234
+ end
2235
+ return data, status_code, headers
2236
+ end
2237
+ # Disable Shared Workbook (legacy) in Excel XLSX spreadsheet
2238
+ # Disable the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2239
+ # @param input Document input request
2240
+ # @param [Hash] opts the optional parameters
2241
+ # @return [DisableSharedWorkbookResponse]
2242
+ def edit_document_xlsx_disable_shared_workbook(input, opts = {})
2243
+ data, _status_code, _headers = edit_document_xlsx_disable_shared_workbook_with_http_info(input, opts)
2244
+ data
2245
+ end
2246
+
2247
+ # Disable Shared Workbook (legacy) in Excel XLSX spreadsheet
2248
+ # Disable the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2249
+ # @param input Document input request
2250
+ # @param [Hash] opts the optional parameters
2251
+ # @return [Array<(DisableSharedWorkbookResponse, Fixnum, Hash)>] DisableSharedWorkbookResponse data, response status code and response headers
2252
+ def edit_document_xlsx_disable_shared_workbook_with_http_info(input, opts = {})
2253
+ if @api_client.config.debugging
2254
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_disable_shared_workbook ...'
2255
+ end
2256
+ # verify the required parameter 'input' is set
2257
+ if @api_client.config.client_side_validation && input.nil?
2258
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_disable_shared_workbook"
2259
+ end
2260
+ # resource path
2261
+ local_var_path = '/convert/edit/xlsx/configuration/disable-shared-workbook'
2262
+
2263
+ # query parameters
2264
+ query_params = {}
2265
+
2266
+ # header parameters
2267
+ header_params = {}
2268
+ # HTTP header 'Accept' (if needed)
2269
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2270
+ # HTTP header 'Content-Type'
2271
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2272
+
2273
+ # form parameters
2274
+ form_params = {}
2275
+
2276
+ # http body (model)
2277
+ post_body = @api_client.object_to_http_body(input)
2278
+ auth_names = ['Apikey']
2279
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2280
+ :header_params => header_params,
2281
+ :query_params => query_params,
2282
+ :form_params => form_params,
2283
+ :body => post_body,
2284
+ :auth_names => auth_names,
2285
+ :return_type => 'DisableSharedWorkbookResponse')
2286
+ if @api_client.config.debugging
2287
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_disable_shared_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2288
+ end
2289
+ return data, status_code, headers
2290
+ end
2291
+ # Enable Shared Workbook (legacy) in Excel XLSX spreadsheet
2292
+ # Enables the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2293
+ # @param input Document input request
2294
+ # @param [Hash] opts the optional parameters
2295
+ # @return [EnableSharedWorkbookResponse]
2296
+ def edit_document_xlsx_enable_shared_workbook(input, opts = {})
2297
+ data, _status_code, _headers = edit_document_xlsx_enable_shared_workbook_with_http_info(input, opts)
2298
+ data
2299
+ end
2300
+
2301
+ # Enable Shared Workbook (legacy) in Excel XLSX spreadsheet
2302
+ # Enables the Shared Workbook (legacy) mode in an Excel XLSX spreadsheet
2303
+ # @param input Document input request
2304
+ # @param [Hash] opts the optional parameters
2305
+ # @return [Array<(EnableSharedWorkbookResponse, Fixnum, Hash)>] EnableSharedWorkbookResponse data, response status code and response headers
2306
+ def edit_document_xlsx_enable_shared_workbook_with_http_info(input, opts = {})
2307
+ if @api_client.config.debugging
2308
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_enable_shared_workbook ...'
2309
+ end
2310
+ # verify the required parameter 'input' is set
2311
+ if @api_client.config.client_side_validation && input.nil?
2312
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_enable_shared_workbook"
2313
+ end
2314
+ # resource path
2315
+ local_var_path = '/convert/edit/xlsx/configuration/enable-shared-workbook'
2316
+
2317
+ # query parameters
2318
+ query_params = {}
2319
+
2320
+ # header parameters
2321
+ header_params = {}
2322
+ # HTTP header 'Accept' (if needed)
2323
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2324
+ # HTTP header 'Content-Type'
2325
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2326
+
2327
+ # form parameters
2328
+ form_params = {}
2329
+
2330
+ # http body (model)
2331
+ post_body = @api_client.object_to_http_body(input)
2332
+ auth_names = ['Apikey']
2333
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2334
+ :header_params => header_params,
2335
+ :query_params => query_params,
2336
+ :form_params => form_params,
2337
+ :body => post_body,
2338
+ :auth_names => auth_names,
2339
+ :return_type => 'EnableSharedWorkbookResponse')
2340
+ if @api_client.config.debugging
2341
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_enable_shared_workbook\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2342
+ end
2343
+ return data, status_code, headers
2344
+ end
2345
+ # Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
2346
+ # Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
2347
+ # @param input Document input request
2348
+ # @param [Hash] opts the optional parameters
2349
+ # @return [GetXlsxCellByIdentifierResponse]
2350
+ def edit_document_xlsx_get_cell_by_identifier(input, opts = {})
2351
+ data, _status_code, _headers = edit_document_xlsx_get_cell_by_identifier_with_http_info(input, opts)
2352
+ data
2353
+ end
2354
+
2355
+ # Get cell from an Excel XLSX spreadsheet, worksheet by cell identifier
2356
+ # Returns the value of a specific cell based on its identifier (e.g. A1, B22, C33, etc.) in the Excel Spreadsheet worksheet
2357
+ # @param input Document input request
2358
+ # @param [Hash] opts the optional parameters
2359
+ # @return [Array<(GetXlsxCellByIdentifierResponse, Fixnum, Hash)>] GetXlsxCellByIdentifierResponse data, response status code and response headers
2360
+ def edit_document_xlsx_get_cell_by_identifier_with_http_info(input, opts = {})
2361
+ if @api_client.config.debugging
2362
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_cell_by_identifier ...'
2363
+ end
2364
+ # verify the required parameter 'input' is set
2365
+ if @api_client.config.client_side_validation && input.nil?
2366
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_cell_by_identifier"
2367
+ end
2368
+ # resource path
2369
+ local_var_path = '/convert/edit/xlsx/get-cell/by-identifier'
2370
+
2371
+ # query parameters
2372
+ query_params = {}
2373
+
2374
+ # header parameters
2375
+ header_params = {}
2376
+ # HTTP header 'Accept' (if needed)
2377
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2378
+ # HTTP header 'Content-Type'
2379
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2380
+
2381
+ # form parameters
2382
+ form_params = {}
2383
+
2384
+ # http body (model)
2385
+ post_body = @api_client.object_to_http_body(input)
2386
+ auth_names = ['Apikey']
2387
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2388
+ :header_params => header_params,
2389
+ :query_params => query_params,
2390
+ :form_params => form_params,
2391
+ :body => post_body,
2392
+ :auth_names => auth_names,
2393
+ :return_type => 'GetXlsxCellByIdentifierResponse')
2394
+ if @api_client.config.debugging
2395
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_cell_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2396
+ end
2397
+ return data, status_code, headers
2398
+ end
2399
+ # Get cell from an Excel XLSX spreadsheet, worksheet by index
2400
+ # Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
2401
+ # @param input Document input request
2402
+ # @param [Hash] opts the optional parameters
2403
+ # @return [GetXlsxCellResponse]
2404
+ def edit_document_xlsx_get_cell_by_index(input, opts = {})
2405
+ data, _status_code, _headers = edit_document_xlsx_get_cell_by_index_with_http_info(input, opts)
2406
+ data
2407
+ end
2408
+
2409
+ # Get cell from an Excel XLSX spreadsheet, worksheet by index
2410
+ # Returns the value and definition of a specific cell in a specific row in the Excel Spreadsheet worksheet
2411
+ # @param input Document input request
2412
+ # @param [Hash] opts the optional parameters
2413
+ # @return [Array<(GetXlsxCellResponse, Fixnum, Hash)>] GetXlsxCellResponse data, response status code and response headers
2414
+ def edit_document_xlsx_get_cell_by_index_with_http_info(input, opts = {})
2415
+ if @api_client.config.debugging
2416
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_cell_by_index ...'
2417
+ end
2418
+ # verify the required parameter 'input' is set
2419
+ if @api_client.config.client_side_validation && input.nil?
2420
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_cell_by_index"
2421
+ end
2422
+ # resource path
2423
+ local_var_path = '/convert/edit/xlsx/get-cell/by-index'
2424
+
2425
+ # query parameters
2426
+ query_params = {}
2427
+
2428
+ # header parameters
2429
+ header_params = {}
2430
+ # HTTP header 'Accept' (if needed)
2431
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2432
+ # HTTP header 'Content-Type'
2433
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2434
+
2435
+ # form parameters
2436
+ form_params = {}
2437
+
2438
+ # http body (model)
2439
+ post_body = @api_client.object_to_http_body(input)
2440
+ auth_names = ['Apikey']
2441
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2442
+ :header_params => header_params,
2443
+ :query_params => query_params,
2444
+ :form_params => form_params,
2445
+ :body => post_body,
2446
+ :auth_names => auth_names,
2447
+ :return_type => 'GetXlsxCellResponse')
2448
+ if @api_client.config.debugging
2449
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_cell_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2450
+ end
2451
+ return data, status_code, headers
2452
+ end
2453
+ # Get columns from a Excel XLSX spreadsheet, worksheet
2454
+ # Returns the columns defined in the Excel Spreadsheet worksheet
2455
+ # @param input Document input request
2456
+ # @param [Hash] opts the optional parameters
2457
+ # @return [GetXlsxColumnsResponse]
2458
+ def edit_document_xlsx_get_columns(input, opts = {})
2459
+ data, _status_code, _headers = edit_document_xlsx_get_columns_with_http_info(input, opts)
2460
+ data
2461
+ end
2462
+
2463
+ # Get columns from a Excel XLSX spreadsheet, worksheet
2464
+ # Returns the columns defined in the Excel Spreadsheet worksheet
2465
+ # @param input Document input request
2466
+ # @param [Hash] opts the optional parameters
2467
+ # @return [Array<(GetXlsxColumnsResponse, Fixnum, Hash)>] GetXlsxColumnsResponse data, response status code and response headers
2468
+ def edit_document_xlsx_get_columns_with_http_info(input, opts = {})
2469
+ if @api_client.config.debugging
2470
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_columns ...'
2471
+ end
2472
+ # verify the required parameter 'input' is set
2473
+ if @api_client.config.client_side_validation && input.nil?
2474
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_columns"
2475
+ end
2476
+ # resource path
2477
+ local_var_path = '/convert/edit/xlsx/get-columns'
2478
+
2479
+ # query parameters
2480
+ query_params = {}
2481
+
2482
+ # header parameters
2483
+ header_params = {}
2484
+ # HTTP header 'Accept' (if needed)
2485
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2486
+ # HTTP header 'Content-Type'
2487
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2488
+
2489
+ # form parameters
2490
+ form_params = {}
2491
+
2492
+ # http body (model)
2493
+ post_body = @api_client.object_to_http_body(input)
2494
+ auth_names = ['Apikey']
2495
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2496
+ :header_params => header_params,
2497
+ :query_params => query_params,
2498
+ :form_params => form_params,
2499
+ :body => post_body,
2500
+ :auth_names => auth_names,
2501
+ :return_type => 'GetXlsxColumnsResponse')
2502
+ if @api_client.config.debugging
2503
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_columns\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2504
+ end
2505
+ return data, status_code, headers
2506
+ end
2507
+ # Get images from a Excel XLSX spreadsheet, worksheet
2508
+ # Returns the images defined in the Excel Spreadsheet worksheet
2509
+ # @param input Document input request
2510
+ # @param [Hash] opts the optional parameters
2511
+ # @return [GetXlsxImagesResponse]
2512
+ def edit_document_xlsx_get_images(input, opts = {})
2513
+ data, _status_code, _headers = edit_document_xlsx_get_images_with_http_info(input, opts)
2514
+ data
2515
+ end
2516
+
2517
+ # Get images from a Excel XLSX spreadsheet, worksheet
2518
+ # Returns the images defined in the Excel Spreadsheet worksheet
2519
+ # @param input Document input request
2520
+ # @param [Hash] opts the optional parameters
2521
+ # @return [Array<(GetXlsxImagesResponse, Fixnum, Hash)>] GetXlsxImagesResponse data, response status code and response headers
2522
+ def edit_document_xlsx_get_images_with_http_info(input, opts = {})
2523
+ if @api_client.config.debugging
2524
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_images ...'
2525
+ end
2526
+ # verify the required parameter 'input' is set
2527
+ if @api_client.config.client_side_validation && input.nil?
2528
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_images"
2529
+ end
2530
+ # resource path
2531
+ local_var_path = '/convert/edit/xlsx/get-images'
2532
+
2533
+ # query parameters
2534
+ query_params = {}
2535
+
2536
+ # header parameters
2537
+ header_params = {}
2538
+ # HTTP header 'Accept' (if needed)
2539
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2540
+ # HTTP header 'Content-Type'
2541
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2542
+
2543
+ # form parameters
2544
+ form_params = {}
2545
+
2546
+ # http body (model)
2547
+ post_body = @api_client.object_to_http_body(input)
2548
+ auth_names = ['Apikey']
2549
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2550
+ :header_params => header_params,
2551
+ :query_params => query_params,
2552
+ :form_params => form_params,
2553
+ :body => post_body,
2554
+ :auth_names => auth_names,
2555
+ :return_type => 'GetXlsxImagesResponse')
2556
+ if @api_client.config.debugging
2557
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_images\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2558
+ end
2559
+ return data, status_code, headers
2560
+ end
2561
+ # Get rows and cells from a Excel XLSX spreadsheet, worksheet
2562
+ # Returns the rows and cells defined in the Excel Spreadsheet worksheet
2563
+ # @param input Document input request
2564
+ # @param [Hash] opts the optional parameters
2565
+ # @return [GetXlsxRowsAndCellsResponse]
2566
+ def edit_document_xlsx_get_rows_and_cells(input, opts = {})
2567
+ data, _status_code, _headers = edit_document_xlsx_get_rows_and_cells_with_http_info(input, opts)
2568
+ data
2569
+ end
2570
+
2571
+ # Get rows and cells from a Excel XLSX spreadsheet, worksheet
2572
+ # Returns the rows and cells defined in the Excel Spreadsheet worksheet
2573
+ # @param input Document input request
2574
+ # @param [Hash] opts the optional parameters
2575
+ # @return [Array<(GetXlsxRowsAndCellsResponse, Fixnum, Hash)>] GetXlsxRowsAndCellsResponse data, response status code and response headers
2576
+ def edit_document_xlsx_get_rows_and_cells_with_http_info(input, opts = {})
2577
+ if @api_client.config.debugging
2578
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_rows_and_cells ...'
2579
+ end
2580
+ # verify the required parameter 'input' is set
2581
+ if @api_client.config.client_side_validation && input.nil?
2582
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_rows_and_cells"
2583
+ end
2584
+ # resource path
2585
+ local_var_path = '/convert/edit/xlsx/get-rows-and-cells'
2586
+
2587
+ # query parameters
2588
+ query_params = {}
2589
+
2590
+ # header parameters
2591
+ header_params = {}
2592
+ # HTTP header 'Accept' (if needed)
2593
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2594
+ # HTTP header 'Content-Type'
2595
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2596
+
2597
+ # form parameters
2598
+ form_params = {}
2599
+
2600
+ # http body (model)
2601
+ post_body = @api_client.object_to_http_body(input)
2602
+ auth_names = ['Apikey']
2603
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2604
+ :header_params => header_params,
2605
+ :query_params => query_params,
2606
+ :form_params => form_params,
2607
+ :body => post_body,
2608
+ :auth_names => auth_names,
2609
+ :return_type => 'GetXlsxRowsAndCellsResponse')
2610
+ if @api_client.config.debugging
2611
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_rows_and_cells\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2612
+ end
2613
+ return data, status_code, headers
2614
+ end
2615
+ # Get a specific row from a Excel XLSX spreadsheet, worksheet by path
2616
+ # Returns the specific row and its cells defined in the Excel Spreadsheet worksheet based on the specified path.
2617
+ # @param input Document input request
2618
+ # @param [Hash] opts the optional parameters
2619
+ # @return [GetXlsxSpecificRowResponse]
2620
+ def edit_document_xlsx_get_specific_row(input, opts = {})
2621
+ data, _status_code, _headers = edit_document_xlsx_get_specific_row_with_http_info(input, opts)
2622
+ data
2623
+ end
2624
+
2625
+ # Get a specific row from a Excel XLSX spreadsheet, worksheet by path
2626
+ # Returns the specific row and its cells defined in the Excel Spreadsheet worksheet based on the specified path.
2627
+ # @param input Document input request
2628
+ # @param [Hash] opts the optional parameters
2629
+ # @return [Array<(GetXlsxSpecificRowResponse, Fixnum, Hash)>] GetXlsxSpecificRowResponse data, response status code and response headers
2630
+ def edit_document_xlsx_get_specific_row_with_http_info(input, opts = {})
2631
+ if @api_client.config.debugging
2632
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_specific_row ...'
2633
+ end
2634
+ # verify the required parameter 'input' is set
2635
+ if @api_client.config.client_side_validation && input.nil?
2636
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_specific_row"
2637
+ end
2638
+ # resource path
2639
+ local_var_path = '/convert/edit/xlsx/get-specific-row'
2640
+
2641
+ # query parameters
2642
+ query_params = {}
2643
+
2644
+ # header parameters
2645
+ header_params = {}
2646
+ # HTTP header 'Accept' (if needed)
2647
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2648
+ # HTTP header 'Content-Type'
2649
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2650
+
2651
+ # form parameters
2652
+ form_params = {}
2653
+
2654
+ # http body (model)
2655
+ post_body = @api_client.object_to_http_body(input)
2656
+ auth_names = ['Apikey']
2657
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2658
+ :header_params => header_params,
2659
+ :query_params => query_params,
2660
+ :form_params => form_params,
2661
+ :body => post_body,
2662
+ :auth_names => auth_names,
2663
+ :return_type => 'GetXlsxSpecificRowResponse')
2664
+ if @api_client.config.debugging
2665
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_specific_row\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2666
+ end
2667
+ return data, status_code, headers
2668
+ end
2669
+ # Get styles from a Excel XLSX spreadsheet, worksheet
2670
+ # Returns the style defined in the Excel Spreadsheet
2671
+ # @param input Document input request
2672
+ # @param [Hash] opts the optional parameters
2673
+ # @return [GetXlsxStylesResponse]
2674
+ def edit_document_xlsx_get_styles(input, opts = {})
2675
+ data, _status_code, _headers = edit_document_xlsx_get_styles_with_http_info(input, opts)
2676
+ data
2677
+ end
2678
+
2679
+ # Get styles from a Excel XLSX spreadsheet, worksheet
2680
+ # Returns the style defined in the Excel Spreadsheet
2681
+ # @param input Document input request
2682
+ # @param [Hash] opts the optional parameters
2683
+ # @return [Array<(GetXlsxStylesResponse, Fixnum, Hash)>] GetXlsxStylesResponse data, response status code and response headers
2684
+ def edit_document_xlsx_get_styles_with_http_info(input, opts = {})
2685
+ if @api_client.config.debugging
2686
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_styles ...'
2687
+ end
2688
+ # verify the required parameter 'input' is set
2689
+ if @api_client.config.client_side_validation && input.nil?
2690
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_styles"
2691
+ end
2692
+ # resource path
2693
+ local_var_path = '/convert/edit/xlsx/get-styles'
2694
+
2695
+ # query parameters
2696
+ query_params = {}
2697
+
2698
+ # header parameters
2699
+ header_params = {}
2700
+ # HTTP header 'Accept' (if needed)
2701
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2702
+ # HTTP header 'Content-Type'
2703
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2704
+
2705
+ # form parameters
2706
+ form_params = {}
2707
+
2708
+ # http body (model)
2709
+ post_body = @api_client.object_to_http_body(input)
2710
+ auth_names = ['Apikey']
2711
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2712
+ :header_params => header_params,
2713
+ :query_params => query_params,
2714
+ :form_params => form_params,
2715
+ :body => post_body,
2716
+ :auth_names => auth_names,
2717
+ :return_type => 'GetXlsxStylesResponse')
2718
+ if @api_client.config.debugging
2719
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_styles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2720
+ end
2721
+ return data, status_code, headers
2722
+ end
2723
+ # Get worksheets from a Excel XLSX spreadsheet
2724
+ # Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
2725
+ # @param input Document input request
2726
+ # @param [Hash] opts the optional parameters
2727
+ # @return [GetXlsxWorksheetsResponse]
2728
+ def edit_document_xlsx_get_worksheets(input, opts = {})
2729
+ data, _status_code, _headers = edit_document_xlsx_get_worksheets_with_http_info(input, opts)
2730
+ data
2731
+ end
2732
+
2733
+ # Get worksheets from a Excel XLSX spreadsheet
2734
+ # Returns the worksheets (tabs) defined in the Excel Spreadsheet (XLSX) format file
2735
+ # @param input Document input request
2736
+ # @param [Hash] opts the optional parameters
2737
+ # @return [Array<(GetXlsxWorksheetsResponse, Fixnum, Hash)>] GetXlsxWorksheetsResponse data, response status code and response headers
2738
+ def edit_document_xlsx_get_worksheets_with_http_info(input, opts = {})
2739
+ if @api_client.config.debugging
2740
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_get_worksheets ...'
2741
+ end
2742
+ # verify the required parameter 'input' is set
2743
+ if @api_client.config.client_side_validation && input.nil?
2744
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_get_worksheets"
2745
+ end
2746
+ # resource path
2747
+ local_var_path = '/convert/edit/xlsx/get-worksheets'
2748
+
2749
+ # query parameters
2750
+ query_params = {}
2751
+
2752
+ # header parameters
2753
+ header_params = {}
2754
+ # HTTP header 'Accept' (if needed)
2755
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2756
+ # HTTP header 'Content-Type'
2757
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2758
+
2759
+ # form parameters
2760
+ form_params = {}
2761
+
2762
+ # http body (model)
2763
+ post_body = @api_client.object_to_http_body(input)
2764
+ auth_names = ['Apikey']
2765
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2766
+ :header_params => header_params,
2767
+ :query_params => query_params,
2768
+ :form_params => form_params,
2769
+ :body => post_body,
2770
+ :auth_names => auth_names,
2771
+ :return_type => 'GetXlsxWorksheetsResponse')
2772
+ if @api_client.config.debugging
2773
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_get_worksheets\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2774
+ end
2775
+ return data, status_code, headers
2776
+ end
2777
+ # Insert a new worksheet into an Excel XLSX spreadsheet
2778
+ # Inserts a new worksheet into an Excel Spreadsheet
2779
+ # @param input Document input request
2780
+ # @param [Hash] opts the optional parameters
2781
+ # @return [InsertXlsxWorksheetResponse]
2782
+ def edit_document_xlsx_insert_worksheet(input, opts = {})
2783
+ data, _status_code, _headers = edit_document_xlsx_insert_worksheet_with_http_info(input, opts)
2784
+ data
2785
+ end
2786
+
2787
+ # Insert a new worksheet into an Excel XLSX spreadsheet
2788
+ # Inserts a new worksheet into an Excel Spreadsheet
2789
+ # @param input Document input request
2790
+ # @param [Hash] opts the optional parameters
2791
+ # @return [Array<(InsertXlsxWorksheetResponse, Fixnum, Hash)>] InsertXlsxWorksheetResponse data, response status code and response headers
2792
+ def edit_document_xlsx_insert_worksheet_with_http_info(input, opts = {})
2793
+ if @api_client.config.debugging
2794
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_insert_worksheet ...'
2795
+ end
2796
+ # verify the required parameter 'input' is set
2797
+ if @api_client.config.client_side_validation && input.nil?
2798
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_insert_worksheet"
2799
+ end
2800
+ # resource path
2801
+ local_var_path = '/convert/edit/xlsx/insert-worksheet'
2802
+
2803
+ # query parameters
2804
+ query_params = {}
2805
+
2806
+ # header parameters
2807
+ header_params = {}
2808
+ # HTTP header 'Accept' (if needed)
2809
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2810
+ # HTTP header 'Content-Type'
2811
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2812
+
2813
+ # form parameters
2814
+ form_params = {}
2815
+
2816
+ # http body (model)
2817
+ post_body = @api_client.object_to_http_body(input)
2818
+ auth_names = ['Apikey']
2819
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2820
+ :header_params => header_params,
2821
+ :query_params => query_params,
2822
+ :form_params => form_params,
2823
+ :body => post_body,
2824
+ :auth_names => auth_names,
2825
+ :return_type => 'InsertXlsxWorksheetResponse')
2826
+ if @api_client.config.debugging
2827
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_insert_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2828
+ end
2829
+ return data, status_code, headers
2830
+ end
2831
+ # Rename a specific worksheet in a Excel XLSX spreadsheet
2832
+ # 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.
2833
+ # @param input Document input request
2834
+ # @param [Hash] opts the optional parameters
2835
+ # @return [RenameXlsxWorksheetResponse]
2836
+ def edit_document_xlsx_rename_worksheet(input, opts = {})
2837
+ data, _status_code, _headers = edit_document_xlsx_rename_worksheet_with_http_info(input, opts)
2838
+ data
2839
+ end
2840
+
2841
+ # Rename a specific worksheet in a Excel XLSX spreadsheet
2842
+ # 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.
2843
+ # @param input Document input request
2844
+ # @param [Hash] opts the optional parameters
2845
+ # @return [Array<(RenameXlsxWorksheetResponse, Fixnum, Hash)>] RenameXlsxWorksheetResponse data, response status code and response headers
2846
+ def edit_document_xlsx_rename_worksheet_with_http_info(input, opts = {})
2847
+ if @api_client.config.debugging
2848
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_rename_worksheet ...'
2849
+ end
2850
+ # verify the required parameter 'input' is set
2851
+ if @api_client.config.client_side_validation && input.nil?
2852
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_rename_worksheet"
2853
+ end
2854
+ # resource path
2855
+ local_var_path = '/convert/edit/xlsx/rename-worksheet'
2856
+
2857
+ # query parameters
2858
+ query_params = {}
2859
+
2860
+ # header parameters
2861
+ header_params = {}
2862
+ # HTTP header 'Accept' (if needed)
2863
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2864
+ # HTTP header 'Content-Type'
2865
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2866
+
2867
+ # form parameters
2868
+ form_params = {}
2869
+
2870
+ # http body (model)
2871
+ post_body = @api_client.object_to_http_body(input)
2872
+ auth_names = ['Apikey']
2873
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2874
+ :header_params => header_params,
2875
+ :query_params => query_params,
2876
+ :form_params => form_params,
2877
+ :body => post_body,
2878
+ :auth_names => auth_names,
2879
+ :return_type => 'RenameXlsxWorksheetResponse')
2880
+ if @api_client.config.debugging
2881
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_rename_worksheet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2882
+ end
2883
+ return data, status_code, headers
2884
+ end
2885
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2886
+ # 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
2887
+ # @param input Document input request
2888
+ # @param [Hash] opts the optional parameters
2889
+ # @return [SetXlsxCellByIdentifierResponse]
2890
+ def edit_document_xlsx_set_cell_by_identifier(input, opts = {})
2891
+ data, _status_code, _headers = edit_document_xlsx_set_cell_by_identifier_with_http_info(input, opts)
2892
+ data
2893
+ end
2894
+
2895
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by cell identifier
2896
+ # 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
2897
+ # @param input Document input request
2898
+ # @param [Hash] opts the optional parameters
2899
+ # @return [Array<(SetXlsxCellByIdentifierResponse, Fixnum, Hash)>] SetXlsxCellByIdentifierResponse data, response status code and response headers
2900
+ def edit_document_xlsx_set_cell_by_identifier_with_http_info(input, opts = {})
2901
+ if @api_client.config.debugging
2902
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_set_cell_by_identifier ...'
2903
+ end
2904
+ # verify the required parameter 'input' is set
2905
+ if @api_client.config.client_side_validation && input.nil?
2906
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_set_cell_by_identifier"
2907
+ end
2908
+ # resource path
2909
+ local_var_path = '/convert/edit/xlsx/set-cell/by-identifier'
2910
+
2911
+ # query parameters
2912
+ query_params = {}
2913
+
2914
+ # header parameters
2915
+ header_params = {}
2916
+ # HTTP header 'Accept' (if needed)
2917
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2918
+ # HTTP header 'Content-Type'
2919
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2920
+
2921
+ # form parameters
2922
+ form_params = {}
2923
+
2924
+ # http body (model)
2925
+ post_body = @api_client.object_to_http_body(input)
2926
+ auth_names = ['Apikey']
2927
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2928
+ :header_params => header_params,
2929
+ :query_params => query_params,
2930
+ :form_params => form_params,
2931
+ :body => post_body,
2932
+ :auth_names => auth_names,
2933
+ :return_type => 'SetXlsxCellByIdentifierResponse')
2934
+ if @api_client.config.debugging
2935
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_set_cell_by_identifier\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2936
+ end
2937
+ return data, status_code, headers
2938
+ end
2939
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
2940
+ # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
2941
+ # @param input Document input request
2942
+ # @param [Hash] opts the optional parameters
2943
+ # @return [SetXlsxCellResponse]
2944
+ def edit_document_xlsx_set_cell_by_index(input, opts = {})
2945
+ data, _status_code, _headers = edit_document_xlsx_set_cell_by_index_with_http_info(input, opts)
2946
+ data
2947
+ end
2948
+
2949
+ # Set, update cell contents in an Excel XLSX spreadsheet, worksheet by index
2950
+ # Sets, updates the contents of a specific cell in an Excel XLSX spreadsheet, worksheet
2951
+ # @param input Document input request
2952
+ # @param [Hash] opts the optional parameters
2953
+ # @return [Array<(SetXlsxCellResponse, Fixnum, Hash)>] SetXlsxCellResponse data, response status code and response headers
2954
+ def edit_document_xlsx_set_cell_by_index_with_http_info(input, opts = {})
2955
+ if @api_client.config.debugging
2956
+ @api_client.config.logger.debug 'Calling API: EditDocumentApi.edit_document_xlsx_set_cell_by_index ...'
2957
+ end
2958
+ # verify the required parameter 'input' is set
2959
+ if @api_client.config.client_side_validation && input.nil?
2960
+ fail ArgumentError, "Missing the required parameter 'input' when calling EditDocumentApi.edit_document_xlsx_set_cell_by_index"
2961
+ end
2962
+ # resource path
2963
+ local_var_path = '/convert/edit/xlsx/set-cell/by-index'
2964
+
2965
+ # query parameters
2966
+ query_params = {}
2967
+
2968
+ # header parameters
2969
+ header_params = {}
2970
+ # HTTP header 'Accept' (if needed)
2971
+ header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
2972
+ # HTTP header 'Content-Type'
2973
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
2974
+
2975
+ # form parameters
2976
+ form_params = {}
2977
+
2978
+ # http body (model)
2979
+ post_body = @api_client.object_to_http_body(input)
2980
+ auth_names = ['Apikey']
2981
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
2982
+ :header_params => header_params,
2983
+ :query_params => query_params,
2984
+ :form_params => form_params,
2985
+ :body => post_body,
2986
+ :auth_names => auth_names,
2987
+ :return_type => 'SetXlsxCellResponse')
2988
+ if @api_client.config.debugging
2989
+ @api_client.config.logger.debug "API called: EditDocumentApi#edit_document_xlsx_set_cell_by_index\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2990
+ end
2991
+ return data, status_code, headers
2992
+ end
2993
+ end
2994
+ end