cloudmersive-convert-api-client 1.7.8 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (693) hide show
  1. checksums.yaml +4 -4
  2. metadata +3 -694
  3. data/Gemfile +0 -7
  4. data/README.md +0 -506
  5. data/Rakefile +0 -8
  6. data/cloudmersive-convert-api-client.gemspec +0 -45
  7. data/docs/AddPdfAnnotationRequest.md +0 -9
  8. data/docs/AlternateFileFormatCandidate.md +0 -10
  9. data/docs/AutodetectDocumentValidationResult.md +0 -12
  10. data/docs/AutodetectGetInfoResult.md +0 -14
  11. data/docs/AutodetectToPngResult.md +0 -9
  12. data/docs/AutodetectToThumbnailsResult.md +0 -9
  13. data/docs/Base64DecodeRequest.md +0 -8
  14. data/docs/Base64DecodeResponse.md +0 -9
  15. data/docs/Base64DetectRequest.md +0 -8
  16. data/docs/Base64DetectResponse.md +0 -9
  17. data/docs/Base64EncodeRequest.md +0 -8
  18. data/docs/Base64EncodeResponse.md +0 -9
  19. data/docs/ChangeLineEndingResponse.md +0 -9
  20. data/docs/ClearXlsxCellRequest.md +0 -12
  21. data/docs/ClearXlsxCellResponse.md +0 -9
  22. data/docs/CompareDocumentApi.md +0 -66
  23. data/docs/ConvertDataApi.md +0 -902
  24. data/docs/ConvertDocumentApi.md +0 -2405
  25. data/docs/ConvertImageApi.md +0 -243
  26. data/docs/ConvertTemplateApi.md +0 -122
  27. data/docs/ConvertWebApi.md +0 -448
  28. data/docs/ConvertedPngPage.md +0 -9
  29. data/docs/CreateBlankDocxRequest.md +0 -8
  30. data/docs/CreateBlankDocxResponse.md +0 -9
  31. data/docs/CreateBlankSpreadsheetRequest.md +0 -8
  32. data/docs/CreateBlankSpreadsheetResponse.md +0 -9
  33. data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
  34. data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
  35. data/docs/CreateZipArchiveRequest.md +0 -9
  36. data/docs/CsvCollection.md +0 -10
  37. data/docs/CsvFileResult.md +0 -9
  38. data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
  39. data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
  40. data/docs/DeleteDocxTableRowRequest.md +0 -11
  41. data/docs/DeleteDocxTableRowResponse.md +0 -9
  42. data/docs/DetectLineEndingsResponse.md +0 -11
  43. data/docs/DisableSharedWorkbookRequest.md +0 -9
  44. data/docs/DisableSharedWorkbookResponse.md +0 -9
  45. data/docs/DocumentValidationError.md +0 -11
  46. data/docs/DocumentValidationResult.md +0 -12
  47. data/docs/DocxBody.md +0 -10
  48. data/docs/DocxCellStyle.md +0 -11
  49. data/docs/DocxComment.md +0 -16
  50. data/docs/DocxFooter.md +0 -10
  51. data/docs/DocxHeader.md +0 -10
  52. data/docs/DocxImage.md +0 -20
  53. data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
  54. data/docs/DocxInsertImageRequest.md +0 -16
  55. data/docs/DocxInsertImageResponse.md +0 -9
  56. data/docs/DocxPage.md +0 -9
  57. data/docs/DocxParagraph.md +0 -11
  58. data/docs/DocxRemoveObjectRequest.md +0 -10
  59. data/docs/DocxRemoveObjectResponse.md +0 -9
  60. data/docs/DocxRun.md +0 -15
  61. data/docs/DocxSection.md +0 -9
  62. data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
  63. data/docs/DocxSetFooterRequest.md +0 -10
  64. data/docs/DocxSetFooterResponse.md +0 -9
  65. data/docs/DocxSetHeaderRequest.md +0 -10
  66. data/docs/DocxSetHeaderResponse.md +0 -9
  67. data/docs/DocxStyle.md +0 -14
  68. data/docs/DocxTable.md +0 -46
  69. data/docs/DocxTableCell.md +0 -15
  70. data/docs/DocxTableRow.md +0 -10
  71. data/docs/DocxTemplateApplicationRequest.md +0 -8
  72. data/docs/DocxTemplateOperation.md +0 -10
  73. data/docs/DocxText.md +0 -10
  74. data/docs/DocxToPngResult.md +0 -9
  75. data/docs/DocxTopLevelComment.md +0 -14
  76. data/docs/EditDocumentApi.md +0 -2758
  77. data/docs/EditPdfApi.md +0 -1083
  78. data/docs/EditTextApi.md +0 -726
  79. data/docs/EmlAttachment.md +0 -9
  80. data/docs/EmlToHtmlResult.md +0 -16
  81. data/docs/EnableSharedWorkbookRequest.md +0 -9
  82. data/docs/EnableSharedWorkbookResponse.md +0 -9
  83. data/docs/ExifValue.md +0 -10
  84. data/docs/FindDocxParagraphRequest.md +0 -11
  85. data/docs/FindDocxParagraphResponse.md +0 -10
  86. data/docs/FindRegexMatch.md +0 -12
  87. data/docs/FindStringMatch.md +0 -10
  88. data/docs/FindStringRegexRequest.md +0 -10
  89. data/docs/FindStringRegexResponse.md +0 -10
  90. data/docs/FindStringSimpleRequest.md +0 -9
  91. data/docs/FindStringSimpleResponse.md +0 -10
  92. data/docs/FinishEditingRequest.md +0 -8
  93. data/docs/GetDocxBodyRequest.md +0 -9
  94. data/docs/GetDocxBodyResponse.md +0 -9
  95. data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
  96. data/docs/GetDocxCommentsResponse.md +0 -10
  97. data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
  98. data/docs/GetDocxGetCommentsRequest.md +0 -9
  99. data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
  100. data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
  101. data/docs/GetDocxImagesRequest.md +0 -9
  102. data/docs/GetDocxImagesResponse.md +0 -9
  103. data/docs/GetDocxPagesRequest.md +0 -10
  104. data/docs/GetDocxPagesResponse.md +0 -10
  105. data/docs/GetDocxSectionsRequest.md +0 -9
  106. data/docs/GetDocxSectionsResponse.md +0 -9
  107. data/docs/GetDocxStylesRequest.md +0 -9
  108. data/docs/GetDocxStylesResponse.md +0 -9
  109. data/docs/GetDocxTableByIndexRequest.md +0 -10
  110. data/docs/GetDocxTableByIndexResponse.md +0 -9
  111. data/docs/GetDocxTableRowRequest.md +0 -11
  112. data/docs/GetDocxTableRowResponse.md +0 -9
  113. data/docs/GetDocxTablesRequest.md +0 -9
  114. data/docs/GetDocxTablesResponse.md +0 -9
  115. data/docs/GetFileTypeIconResult.md +0 -10
  116. data/docs/GetImageInfoResult.md +0 -24
  117. data/docs/GetPdfAnnotationsResult.md +0 -9
  118. data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
  119. data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
  120. data/docs/GetXlsxCellRequest.md +0 -12
  121. data/docs/GetXlsxCellResponse.md +0 -9
  122. data/docs/GetXlsxColumnsRequest.md +0 -10
  123. data/docs/GetXlsxColumnsResponse.md +0 -9
  124. data/docs/GetXlsxImagesRequest.md +0 -10
  125. data/docs/GetXlsxImagesResponse.md +0 -9
  126. data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
  127. data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
  128. data/docs/GetXlsxStylesRequest.md +0 -9
  129. data/docs/GetXlsxStylesResponse.md +0 -9
  130. data/docs/GetXlsxWorksheetsRequest.md +0 -9
  131. data/docs/GetXlsxWorksheetsResponse.md +0 -9
  132. data/docs/HtmlMdResult.md +0 -9
  133. data/docs/HtmlTemplateApplicationRequest.md +0 -10
  134. data/docs/HtmlTemplateApplicationResponse.md +0 -9
  135. data/docs/HtmlTemplateOperation.md +0 -10
  136. data/docs/HtmlToOfficeRequest.md +0 -8
  137. data/docs/HtmlToPdfRequest.md +0 -9
  138. data/docs/HtmlToPngRequest.md +0 -11
  139. data/docs/HtmlToTextRequest.md +0 -8
  140. data/docs/HtmlToTextResponse.md +0 -9
  141. data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
  142. data/docs/InsertDocxInsertParagraphRequest.md +0 -12
  143. data/docs/InsertDocxInsertParagraphResponse.md +0 -9
  144. data/docs/InsertDocxTableRowRequest.md +0 -12
  145. data/docs/InsertDocxTableRowResponse.md +0 -9
  146. data/docs/InsertDocxTablesRequest.md +0 -12
  147. data/docs/InsertDocxTablesResponse.md +0 -9
  148. data/docs/InsertXlsxWorksheetRequest.md +0 -10
  149. data/docs/InsertXlsxWorksheetResponse.md +0 -9
  150. data/docs/MergeDocumentApi.md +0 -812
  151. data/docs/MsgAttachment.md +0 -9
  152. data/docs/MsgToHtmlResult.md +0 -16
  153. data/docs/MultipageImageFormatConversionResult.md +0 -10
  154. data/docs/PageConversionResult.md +0 -9
  155. data/docs/PdfAnnotation.md +0 -19
  156. data/docs/PdfDocument.md +0 -10
  157. data/docs/PdfFormField.md +0 -11
  158. data/docs/PdfFormFields.md +0 -9
  159. data/docs/PdfMetadata.md +0 -16
  160. data/docs/PdfPageText.md +0 -9
  161. data/docs/PdfTextByPageResult.md +0 -9
  162. data/docs/PdfToPngResult.md +0 -9
  163. data/docs/PptxToPngResult.md +0 -9
  164. data/docs/PresentationResult.md +0 -10
  165. data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
  166. data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
  167. data/docs/RemoveDocxPagesRequest.md +0 -11
  168. data/docs/RemoveHtmlFromTextRequest.md +0 -8
  169. data/docs/RemoveHtmlFromTextResponse.md +0 -9
  170. data/docs/RemovePptxSlidesRequest.md +0 -11
  171. data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
  172. data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
  173. data/docs/RemoveXlsxWorksheetRequest.md +0 -10
  174. data/docs/ReplaceDocxParagraphRequest.md +0 -12
  175. data/docs/ReplaceDocxParagraphResponse.md +0 -9
  176. data/docs/ReplaceStringRegexRequest.md +0 -10
  177. data/docs/ReplaceStringRegexResponse.md +0 -9
  178. data/docs/ReplaceStringRequest.md +0 -12
  179. data/docs/ReplaceStringSimpleRequest.md +0 -10
  180. data/docs/ReplaceStringSimpleResponse.md +0 -9
  181. data/docs/ScreenshotRequest.md +0 -11
  182. data/docs/SetFormFieldValue.md +0 -11
  183. data/docs/SetPdfFormFieldsRequest.md +0 -9
  184. data/docs/SetPdfMetadataRequest.md +0 -9
  185. data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
  186. data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
  187. data/docs/SetXlsxCellRequest.md +0 -13
  188. data/docs/SetXlsxCellResponse.md +0 -9
  189. data/docs/SplitDocumentApi.md +0 -361
  190. data/docs/SplitDocumentResult.md +0 -10
  191. data/docs/SplitDocxDocumentResult.md +0 -9
  192. data/docs/SplitPdfResult.md +0 -9
  193. data/docs/SplitPptxPresentationResult.md +0 -9
  194. data/docs/SplitTextDocumentByLinesResult.md +0 -10
  195. data/docs/SplitTextDocumentByStringResult.md +0 -10
  196. data/docs/SplitXlsxWorksheetResult.md +0 -9
  197. data/docs/TextConversionResult.md +0 -9
  198. data/docs/TextDocumentElement.md +0 -9
  199. data/docs/TextDocumentLine.md +0 -9
  200. data/docs/TextEncodingDetectResponse.md +0 -9
  201. data/docs/Thumbnail.md +0 -9
  202. data/docs/UpdateDocxTableCellRequest.md +0 -13
  203. data/docs/UpdateDocxTableCellResponse.md +0 -9
  204. data/docs/UpdateDocxTableRowRequest.md +0 -12
  205. data/docs/UpdateDocxTableRowResponse.md +0 -9
  206. data/docs/UrlToPdfRequest.md +0 -11
  207. data/docs/UrlToTextRequest.md +0 -8
  208. data/docs/UrlToTextResponse.md +0 -9
  209. data/docs/ValidateDocumentApi.md +0 -833
  210. data/docs/ViewerResponse.md +0 -9
  211. data/docs/ViewerToolsApi.md +0 -63
  212. data/docs/WorksheetResult.md +0 -11
  213. data/docs/XlsxImage.md +0 -12
  214. data/docs/XlsxSpreadsheetCell.md +0 -12
  215. data/docs/XlsxSpreadsheetColumn.md +0 -9
  216. data/docs/XlsxSpreadsheetRow.md +0 -9
  217. data/docs/XlsxToPngResult.md +0 -9
  218. data/docs/XlsxWorksheet.md +0 -9
  219. data/docs/XmlAddAttributeWithXPathResult.md +0 -10
  220. data/docs/XmlAddChildWithXPathResult.md +0 -10
  221. data/docs/XmlFilterWithXPathResult.md +0 -10
  222. data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
  223. data/docs/XmlQueryWithXQueryResult.md +0 -10
  224. data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
  225. data/docs/XmlRemoveWithXPathResult.md +0 -11
  226. data/docs/XmlReplaceWithXPathResult.md +0 -10
  227. data/docs/XmlSetValueWithXPathResult.md +0 -10
  228. data/docs/ZipArchiveApi.md +0 -306
  229. data/docs/ZipDirectory.md +0 -10
  230. data/docs/ZipEncryptionAdvancedRequest.md +0 -10
  231. data/docs/ZipExtractResponse.md +0 -10
  232. data/docs/ZipFile.md +0 -9
  233. data/git_push.sh +0 -55
  234. data/lib/cloudmersive-convert-api-client.rb +0 -265
  235. data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
  236. data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -981
  237. data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -2462
  238. data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
  239. data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
  240. data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
  241. data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
  242. data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
  243. data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
  244. data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
  245. data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
  246. data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -863
  247. data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
  248. data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
  249. data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
  250. data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
  251. data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
  252. data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
  253. data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
  254. data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
  255. data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
  256. data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
  257. data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +0 -201
  258. data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
  259. data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
  260. data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
  261. data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
  262. data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
  263. data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
  264. data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
  265. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
  266. data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
  267. data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
  268. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
  269. data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
  270. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
  271. data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
  272. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
  273. data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
  274. data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
  275. data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
  276. data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
  277. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
  278. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
  279. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
  280. data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
  281. data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
  282. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
  283. data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
  284. data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
  285. data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
  286. data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
  287. data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
  288. data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
  289. data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
  290. data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
  291. data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
  292. data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
  293. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
  294. data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
  295. data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
  296. data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
  297. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
  298. data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
  299. data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
  300. data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
  301. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
  302. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
  303. data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
  304. data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
  305. data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
  306. data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
  307. data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
  308. data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
  309. data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
  310. data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
  311. data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
  312. data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
  313. data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +0 -201
  314. data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
  315. data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +0 -215
  316. data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +0 -271
  317. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
  318. data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
  319. data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
  320. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
  321. data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
  322. data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
  323. data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
  324. data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
  325. data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
  326. data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
  327. data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
  328. data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
  329. data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
  330. data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
  331. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
  332. data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
  333. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
  334. data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
  335. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
  336. data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
  337. data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
  338. data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
  339. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
  340. data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
  341. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
  342. data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
  343. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
  344. data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
  345. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
  346. data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
  347. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
  348. data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
  349. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
  350. data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
  351. data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +0 -225
  352. data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
  353. data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
  354. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
  355. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
  356. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
  357. data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
  358. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
  359. data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
  360. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
  361. data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
  362. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
  363. data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
  364. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
  365. data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
  366. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
  367. data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
  368. data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
  369. data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
  370. data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
  371. data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
  372. data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
  373. data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
  374. data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
  375. data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
  376. data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
  377. data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
  378. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
  379. data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
  380. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
  381. data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
  382. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
  383. data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
  384. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
  385. data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
  386. data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +0 -215
  387. data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +0 -271
  388. data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
  389. data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
  390. data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
  391. data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
  392. data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
  393. data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
  394. data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
  395. data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
  396. data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
  397. data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
  398. data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +0 -201
  399. data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
  400. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
  401. data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
  402. data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
  403. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
  404. data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
  405. data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
  406. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
  407. data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
  408. data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
  409. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
  410. data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
  411. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
  412. data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
  413. data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
  414. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
  415. data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
  416. data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
  417. data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
  418. data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
  419. data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
  420. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
  421. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
  422. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
  423. data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
  424. data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
  425. data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
  426. data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
  427. data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
  428. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
  429. data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
  430. data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
  431. data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
  432. data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
  433. data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
  434. data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
  435. data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +0 -215
  436. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
  437. data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
  438. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
  439. data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
  440. data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
  441. data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
  442. data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
  443. data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
  444. data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
  445. data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
  446. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
  447. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
  448. data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
  449. data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +0 -201
  450. data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
  451. data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
  452. data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
  453. data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
  454. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
  455. data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
  456. data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
  457. data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
  458. data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
  459. data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
  460. data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
  461. data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
  462. data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
  463. data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
  464. data/lib/cloudmersive-convert-api-client/version.rb +0 -15
  465. data/spec/api/compare_document_api_spec.rb +0 -48
  466. data/spec/api/convert_data_api_spec.rb +0 -240
  467. data/spec/api/convert_document_api_spec.rb +0 -568
  468. data/spec/api/convert_image_api_spec.rb +0 -88
  469. data/spec/api/convert_template_api_spec.rb +0 -60
  470. data/spec/api/convert_web_api_spec.rb +0 -131
  471. data/spec/api/edit_document_api_spec.rb +0 -635
  472. data/spec/api/edit_pdf_api_spec.rb +0 -282
  473. data/spec/api/edit_text_api_spec.rb +0 -192
  474. data/spec/api/merge_document_api_spec.rb +0 -239
  475. data/spec/api/split_document_api_spec.rb +0 -113
  476. data/spec/api/validate_document_api_spec.rb +0 -215
  477. data/spec/api/viewer_tools_api_spec.rb +0 -47
  478. data/spec/api/zip_archive_api_spec.rb +0 -105
  479. data/spec/api_client_spec.rb +0 -226
  480. data/spec/configuration_spec.rb +0 -42
  481. data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
  482. data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
  483. data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
  484. data/spec/models/autodetect_get_info_result_spec.rb +0 -78
  485. data/spec/models/autodetect_to_png_result_spec.rb +0 -48
  486. data/spec/models/autodetect_to_thumbnails_result_spec.rb +0 -48
  487. data/spec/models/base64_decode_request_spec.rb +0 -42
  488. data/spec/models/base64_decode_response_spec.rb +0 -48
  489. data/spec/models/base64_detect_request_spec.rb +0 -42
  490. data/spec/models/base64_detect_response_spec.rb +0 -48
  491. data/spec/models/base64_encode_request_spec.rb +0 -42
  492. data/spec/models/base64_encode_response_spec.rb +0 -48
  493. data/spec/models/change_line_ending_response_spec.rb +0 -48
  494. data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
  495. data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
  496. data/spec/models/converted_png_page_spec.rb +0 -48
  497. data/spec/models/create_blank_docx_request_spec.rb +0 -42
  498. data/spec/models/create_blank_docx_response_spec.rb +0 -48
  499. data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
  500. data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
  501. data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
  502. data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
  503. data/spec/models/create_zip_archive_request_spec.rb +0 -48
  504. data/spec/models/csv_collection_spec.rb +0 -54
  505. data/spec/models/csv_file_result_spec.rb +0 -48
  506. data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
  507. data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
  508. data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
  509. data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
  510. data/spec/models/detect_line_endings_response_spec.rb +0 -60
  511. data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
  512. data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
  513. data/spec/models/document_validation_error_spec.rb +0 -60
  514. data/spec/models/document_validation_result_spec.rb +0 -66
  515. data/spec/models/docx_body_spec.rb +0 -54
  516. data/spec/models/docx_cell_style_spec.rb +0 -60
  517. data/spec/models/docx_comment_spec.rb +0 -90
  518. data/spec/models/docx_footer_spec.rb +0 -54
  519. data/spec/models/docx_header_spec.rb +0 -54
  520. data/spec/models/docx_image_spec.rb +0 -114
  521. data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
  522. data/spec/models/docx_insert_image_request_spec.rb +0 -90
  523. data/spec/models/docx_insert_image_response_spec.rb +0 -48
  524. data/spec/models/docx_page_spec.rb +0 -48
  525. data/spec/models/docx_paragraph_spec.rb +0 -60
  526. data/spec/models/docx_remove_object_request_spec.rb +0 -54
  527. data/spec/models/docx_remove_object_response_spec.rb +0 -48
  528. data/spec/models/docx_run_spec.rb +0 -84
  529. data/spec/models/docx_section_spec.rb +0 -48
  530. data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
  531. data/spec/models/docx_set_footer_request_spec.rb +0 -54
  532. data/spec/models/docx_set_footer_response_spec.rb +0 -48
  533. data/spec/models/docx_set_header_request_spec.rb +0 -54
  534. data/spec/models/docx_set_header_response_spec.rb +0 -48
  535. data/spec/models/docx_style_spec.rb +0 -78
  536. data/spec/models/docx_table_cell_spec.rb +0 -84
  537. data/spec/models/docx_table_row_spec.rb +0 -54
  538. data/spec/models/docx_table_spec.rb +0 -270
  539. data/spec/models/docx_template_application_request_spec.rb +0 -42
  540. data/spec/models/docx_template_operation_spec.rb +0 -58
  541. data/spec/models/docx_text_spec.rb +0 -54
  542. data/spec/models/docx_to_png_result_spec.rb +0 -48
  543. data/spec/models/docx_top_level_comment_spec.rb +0 -78
  544. data/spec/models/eml_attachment_spec.rb +0 -48
  545. data/spec/models/eml_to_html_result_spec.rb +0 -90
  546. data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
  547. data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
  548. data/spec/models/exif_value_spec.rb +0 -54
  549. data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
  550. data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
  551. data/spec/models/find_regex_match_spec.rb +0 -66
  552. data/spec/models/find_string_match_spec.rb +0 -54
  553. data/spec/models/find_string_regex_request_spec.rb +0 -54
  554. data/spec/models/find_string_regex_response_spec.rb +0 -54
  555. data/spec/models/find_string_simple_request_spec.rb +0 -48
  556. data/spec/models/find_string_simple_response_spec.rb +0 -54
  557. data/spec/models/finish_editing_request_spec.rb +0 -42
  558. data/spec/models/get_docx_body_request_spec.rb +0 -48
  559. data/spec/models/get_docx_body_response_spec.rb +0 -48
  560. data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
  561. data/spec/models/get_docx_comments_response_spec.rb +0 -54
  562. data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
  563. data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
  564. data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
  565. data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
  566. data/spec/models/get_docx_images_request_spec.rb +0 -48
  567. data/spec/models/get_docx_images_response_spec.rb +0 -48
  568. data/spec/models/get_docx_pages_request_spec.rb +0 -54
  569. data/spec/models/get_docx_pages_response_spec.rb +0 -54
  570. data/spec/models/get_docx_sections_request_spec.rb +0 -48
  571. data/spec/models/get_docx_sections_response_spec.rb +0 -48
  572. data/spec/models/get_docx_styles_request_spec.rb +0 -48
  573. data/spec/models/get_docx_styles_response_spec.rb +0 -48
  574. data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
  575. data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
  576. data/spec/models/get_docx_table_row_request_spec.rb +0 -60
  577. data/spec/models/get_docx_table_row_response_spec.rb +0 -48
  578. data/spec/models/get_docx_tables_request_spec.rb +0 -48
  579. data/spec/models/get_docx_tables_response_spec.rb +0 -48
  580. data/spec/models/get_file_type_icon_result_spec.rb +0 -54
  581. data/spec/models/get_image_info_result_spec.rb +0 -138
  582. data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
  583. data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
  584. data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
  585. data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
  586. data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
  587. data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
  588. data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
  589. data/spec/models/get_xlsx_images_request_spec.rb +0 -54
  590. data/spec/models/get_xlsx_images_response_spec.rb +0 -48
  591. data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
  592. data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
  593. data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
  594. data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
  595. data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
  596. data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
  597. data/spec/models/html_md_result_spec.rb +0 -48
  598. data/spec/models/html_template_application_request_spec.rb +0 -54
  599. data/spec/models/html_template_application_response_spec.rb +0 -48
  600. data/spec/models/html_template_operation_spec.rb +0 -58
  601. data/spec/models/html_to_office_request_spec.rb +0 -42
  602. data/spec/models/html_to_pdf_request_spec.rb +0 -48
  603. data/spec/models/html_to_png_request_spec.rb +0 -60
  604. data/spec/models/html_to_text_request_spec.rb +0 -42
  605. data/spec/models/html_to_text_response_spec.rb +0 -48
  606. data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
  607. data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
  608. data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
  609. data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
  610. data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
  611. data/spec/models/insert_docx_tables_request_spec.rb +0 -66
  612. data/spec/models/insert_docx_tables_response_spec.rb +0 -48
  613. data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
  614. data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
  615. data/spec/models/msg_attachment_spec.rb +0 -48
  616. data/spec/models/msg_to_html_result_spec.rb +0 -90
  617. data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
  618. data/spec/models/page_conversion_result_spec.rb +0 -48
  619. data/spec/models/pdf_annotation_spec.rb +0 -108
  620. data/spec/models/pdf_document_spec.rb +0 -54
  621. data/spec/models/pdf_form_field_spec.rb +0 -60
  622. data/spec/models/pdf_form_fields_spec.rb +0 -48
  623. data/spec/models/pdf_metadata_spec.rb +0 -90
  624. data/spec/models/pdf_page_text_spec.rb +0 -48
  625. data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
  626. data/spec/models/pdf_to_png_result_spec.rb +0 -48
  627. data/spec/models/pptx_to_png_result_spec.rb +0 -48
  628. data/spec/models/presentation_result_spec.rb +0 -54
  629. data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
  630. data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
  631. data/spec/models/remove_docx_pages_request_spec.rb +0 -60
  632. data/spec/models/remove_html_from_text_request_spec.rb +0 -42
  633. data/spec/models/remove_html_from_text_response_spec.rb +0 -48
  634. data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
  635. data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
  636. data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
  637. data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
  638. data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
  639. data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
  640. data/spec/models/replace_string_regex_request_spec.rb +0 -54
  641. data/spec/models/replace_string_regex_response_spec.rb +0 -48
  642. data/spec/models/replace_string_request_spec.rb +0 -66
  643. data/spec/models/replace_string_simple_request_spec.rb +0 -54
  644. data/spec/models/replace_string_simple_response_spec.rb +0 -48
  645. data/spec/models/screenshot_request_spec.rb +0 -60
  646. data/spec/models/set_form_field_value_spec.rb +0 -60
  647. data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
  648. data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
  649. data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
  650. data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
  651. data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
  652. data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
  653. data/spec/models/split_document_result_spec.rb +0 -54
  654. data/spec/models/split_docx_document_result_spec.rb +0 -48
  655. data/spec/models/split_pdf_result_spec.rb +0 -48
  656. data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
  657. data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
  658. data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
  659. data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
  660. data/spec/models/text_conversion_result_spec.rb +0 -48
  661. data/spec/models/text_document_element_spec.rb +0 -48
  662. data/spec/models/text_document_line_spec.rb +0 -48
  663. data/spec/models/text_encoding_detect_response_spec.rb +0 -48
  664. data/spec/models/thumbnail_spec.rb +0 -48
  665. data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
  666. data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
  667. data/spec/models/update_docx_table_row_request_spec.rb +0 -66
  668. data/spec/models/update_docx_table_row_response_spec.rb +0 -48
  669. data/spec/models/url_to_pdf_request_spec.rb +0 -60
  670. data/spec/models/url_to_text_request_spec.rb +0 -42
  671. data/spec/models/url_to_text_response_spec.rb +0 -48
  672. data/spec/models/viewer_response_spec.rb +0 -48
  673. data/spec/models/worksheet_result_spec.rb +0 -60
  674. data/spec/models/xlsx_image_spec.rb +0 -66
  675. data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
  676. data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
  677. data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
  678. data/spec/models/xlsx_to_png_result_spec.rb +0 -48
  679. data/spec/models/xlsx_worksheet_spec.rb +0 -48
  680. data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
  681. data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
  682. data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
  683. data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
  684. data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
  685. data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
  686. data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
  687. data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
  688. data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
  689. data/spec/models/zip_directory_spec.rb +0 -54
  690. data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
  691. data/spec/models/zip_extract_response_spec.rb +0 -54
  692. data/spec/models/zip_file_spec.rb +0 -48
  693. data/spec/spec_helper.rb +0 -111
@@ -1,2405 +0,0 @@
1
- # CloudmersiveConvertApiClient::ConvertDocumentApi
2
-
3
- All URIs are relative to *https://api.cloudmersive.com*
4
-
5
- Method | HTTP request | Description
6
- ------------- | ------------- | -------------
7
- [**convert_document_autodetect_get_info**](ConvertDocumentApi.md#convert_document_autodetect_get_info) | **POST** /convert/autodetect/get-info | Get document type information
8
- [**convert_document_autodetect_to_pdf**](ConvertDocumentApi.md#convert_document_autodetect_to_pdf) | **POST** /convert/autodetect/to/pdf | Convert Document to PDF
9
- [**convert_document_autodetect_to_png_array**](ConvertDocumentApi.md#convert_document_autodetect_to_png_array) | **POST** /convert/autodetect/to/png | Convert Document to PNG array
10
- [**convert_document_autodetect_to_thumbnail**](ConvertDocumentApi.md#convert_document_autodetect_to_thumbnail) | **POST** /convert/autodetect/to/thumbnail | Convert File to Thumbnail Image
11
- [**convert_document_autodetect_to_thumbnails_advanced**](ConvertDocumentApi.md#convert_document_autodetect_to_thumbnails_advanced) | **POST** /convert/autodetect/to/thumbnail/advanced | Convert File to Thumbnail Image Object
12
- [**convert_document_autodetect_to_txt**](ConvertDocumentApi.md#convert_document_autodetect_to_txt) | **POST** /convert/autodetect/to/txt | Convert Document to Text (txt)
13
- [**convert_document_csv_to_xlsx**](ConvertDocumentApi.md#convert_document_csv_to_xlsx) | **POST** /convert/csv/to/xlsx | Convert CSV to Excel XLSX Spreadsheet
14
- [**convert_document_doc_to_docx**](ConvertDocumentApi.md#convert_document_doc_to_docx) | **POST** /convert/doc/to/docx | Convert Word DOC (97-03) Document to DOCX
15
- [**convert_document_doc_to_pdf**](ConvertDocumentApi.md#convert_document_doc_to_pdf) | **POST** /convert/doc/to/pdf | Convert Word DOC (97-03) Document to PDF
16
- [**convert_document_doc_to_txt**](ConvertDocumentApi.md#convert_document_doc_to_txt) | **POST** /convert/doc/to/txt | Convert Word DOC (97-03) Document to Text (txt)
17
- [**convert_document_docx_to_pdf**](ConvertDocumentApi.md#convert_document_docx_to_pdf) | **POST** /convert/docx/to/pdf | Convert Word DOCX Document to PDF
18
- [**convert_document_docx_to_png**](ConvertDocumentApi.md#convert_document_docx_to_png) | **POST** /convert/docx/to/png | Convert DOCX document to PNG image array
19
- [**convert_document_docx_to_txt**](ConvertDocumentApi.md#convert_document_docx_to_txt) | **POST** /convert/docx/to/txt | Convert Word DOCX Document to Text (txt)
20
- [**convert_document_eml_to_html**](ConvertDocumentApi.md#convert_document_eml_to_html) | **POST** /convert/eml/to/html | Convert Email EML file to HTML string
21
- [**convert_document_eml_to_pdf**](ConvertDocumentApi.md#convert_document_eml_to_pdf) | **POST** /convert/eml/to/pdf | Convert Email EML file to PDF document
22
- [**convert_document_get_file_type_icon**](ConvertDocumentApi.md#convert_document_get_file_type_icon) | **POST** /convert/autodetect/get-icon | Get PNG icon file for the file extension
23
- [**convert_document_get_file_type_icon_advanced**](ConvertDocumentApi.md#convert_document_get_file_type_icon_advanced) | **POST** /convert/autodetect/get-icon/advanced | Get PNG icon byte array for the file extension
24
- [**convert_document_html_to_pdf**](ConvertDocumentApi.md#convert_document_html_to_pdf) | **POST** /convert/html/to/pdf | Convert HTML document file to PDF Document
25
- [**convert_document_html_to_png**](ConvertDocumentApi.md#convert_document_html_to_png) | **POST** /convert/html/to/png | Convert HTML document file to PNG image array
26
- [**convert_document_html_to_txt**](ConvertDocumentApi.md#convert_document_html_to_txt) | **POST** /convert/html/to/txt | HTML Document file to Text (txt)
27
- [**convert_document_msg_to_html**](ConvertDocumentApi.md#convert_document_msg_to_html) | **POST** /convert/msg/to/html | Convert Email MSG file to HTML string
28
- [**convert_document_msg_to_pdf**](ConvertDocumentApi.md#convert_document_msg_to_pdf) | **POST** /convert/msg/to/pdf | Convert Email MSG file to PDF document
29
- [**convert_document_pdf_to_docx**](ConvertDocumentApi.md#convert_document_pdf_to_docx) | **POST** /convert/pdf/to/docx | Convert PDF to Word DOCX Document
30
- [**convert_document_pdf_to_docx_rasterize**](ConvertDocumentApi.md#convert_document_pdf_to_docx_rasterize) | **POST** /convert/pdf/to/docx/rasterize | Convert PDF to Word DOCX Document based on rasterized version of the PDF
31
- [**convert_document_pdf_to_png_array**](ConvertDocumentApi.md#convert_document_pdf_to_png_array) | **POST** /convert/pdf/to/png | Convert PDF to PNG Image Array
32
- [**convert_document_pdf_to_png_single**](ConvertDocumentApi.md#convert_document_pdf_to_png_single) | **POST** /convert/pdf/to/png/merge-single | Convert PDF to Single PNG image
33
- [**convert_document_pdf_to_pptx**](ConvertDocumentApi.md#convert_document_pdf_to_pptx) | **POST** /convert/pdf/to/pptx | Convert PDF to PowerPoint PPTX Presentation
34
- [**convert_document_pdf_to_txt**](ConvertDocumentApi.md#convert_document_pdf_to_txt) | **POST** /convert/pdf/to/txt | Convert PDF Document to Text (txt)
35
- [**convert_document_png_array_to_pdf**](ConvertDocumentApi.md#convert_document_png_array_to_pdf) | **POST** /convert/png/to/pdf | Convert PNG Array to PDF
36
- [**convert_document_ppt_to_pdf**](ConvertDocumentApi.md#convert_document_ppt_to_pdf) | **POST** /convert/ppt/to/pdf | Convert PowerPoint PPT (97-03) Presentation to PDF
37
- [**convert_document_ppt_to_pptx**](ConvertDocumentApi.md#convert_document_ppt_to_pptx) | **POST** /convert/ppt/to/pptx | Convert PowerPoint PPT (97-03) Presentation to PPTX
38
- [**convert_document_pptx_to_pdf**](ConvertDocumentApi.md#convert_document_pptx_to_pdf) | **POST** /convert/pptx/to/pdf | Convert PowerPoint PPTX Presentation to PDF
39
- [**convert_document_pptx_to_png**](ConvertDocumentApi.md#convert_document_pptx_to_png) | **POST** /convert/pptx/to/png | Convert PowerPoint PPTX to PNG image array
40
- [**convert_document_pptx_to_txt**](ConvertDocumentApi.md#convert_document_pptx_to_txt) | **POST** /convert/pptx/to/txt | Convert PowerPoint PPTX Presentation to Text (txt)
41
- [**convert_document_xls_to_csv**](ConvertDocumentApi.md#convert_document_xls_to_csv) | **POST** /convert/xls/to/csv | Convert Excel XLS (97-03) Spreadsheet to CSV
42
- [**convert_document_xls_to_pdf**](ConvertDocumentApi.md#convert_document_xls_to_pdf) | **POST** /convert/xls/to/pdf | Convert Excel XLS (97-03) Spreadsheet to PDF
43
- [**convert_document_xls_to_xlsx**](ConvertDocumentApi.md#convert_document_xls_to_xlsx) | **POST** /convert/xls/to/xlsx | Convert Excel XLS (97-03) Spreadsheet to XLSX
44
- [**convert_document_xlsx_to_csv**](ConvertDocumentApi.md#convert_document_xlsx_to_csv) | **POST** /convert/xlsx/to/csv | Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
45
- [**convert_document_xlsx_to_csv_multi**](ConvertDocumentApi.md#convert_document_xlsx_to_csv_multi) | **POST** /convert/xlsx/to/csv/multi | Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
46
- [**convert_document_xlsx_to_pdf**](ConvertDocumentApi.md#convert_document_xlsx_to_pdf) | **POST** /convert/xlsx/to/pdf | Convert Excel XLSX Spreadsheet to PDF
47
- [**convert_document_xlsx_to_png**](ConvertDocumentApi.md#convert_document_xlsx_to_png) | **POST** /convert/xlsx/to/png | Convert Excel XLSX spreadsheet to PNG image array
48
- [**convert_document_xlsx_to_txt**](ConvertDocumentApi.md#convert_document_xlsx_to_txt) | **POST** /convert/xlsx/to/txt | Convert Excel XLSX Spreadsheet to Text (txt)
49
-
50
-
51
- # **convert_document_autodetect_get_info**
52
- > AutodetectGetInfoResult convert_document_autodetect_get_info(input_file)
53
-
54
- Get document type information
55
-
56
- Auto-detects a document's type information; does not require file extension. Analyzes file contents to confirm file type. Even if no file extension is present, the auto-detect system will reliably analyze the contents of the file and identify its file type. Supports over 100 image file formats, Office document file formats, PDF, and more.
57
-
58
- ### Example
59
- ```ruby
60
- # load the gem
61
- require 'cloudmersive-convert-api-client'
62
- # setup authorization
63
- CloudmersiveConvertApiClient.configure do |config|
64
- # Configure API key authorization: Apikey
65
- config.api_key['Apikey'] = 'YOUR API KEY'
66
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
67
- #config.api_key_prefix['Apikey'] = 'Bearer'
68
- end
69
-
70
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
71
-
72
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
73
-
74
-
75
- begin
76
- #Get document type information
77
- result = api_instance.convert_document_autodetect_get_info(input_file)
78
- p result
79
- rescue CloudmersiveConvertApiClient::ApiError => e
80
- puts "Exception when calling ConvertDocumentApi->convert_document_autodetect_get_info: #{e}"
81
- end
82
- ```
83
-
84
- ### Parameters
85
-
86
- Name | Type | Description | Notes
87
- ------------- | ------------- | ------------- | -------------
88
- **input_file** | **File**| Input file to perform the operation on. |
89
-
90
- ### Return type
91
-
92
- [**AutodetectGetInfoResult**](AutodetectGetInfoResult.md)
93
-
94
- ### Authorization
95
-
96
- [Apikey](../README.md#Apikey)
97
-
98
- ### HTTP request headers
99
-
100
- - **Content-Type**: multipart/form-data
101
- - **Accept**: application/json, text/json, application/xml, text/xml
102
-
103
-
104
-
105
- # **convert_document_autodetect_to_pdf**
106
- > String convert_document_autodetect_to_pdf(input_file)
107
-
108
- Convert Document to PDF
109
-
110
- Automatically detect file type and convert it to PDF. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files.
111
-
112
- ### Example
113
- ```ruby
114
- # load the gem
115
- require 'cloudmersive-convert-api-client'
116
- # setup authorization
117
- CloudmersiveConvertApiClient.configure do |config|
118
- # Configure API key authorization: Apikey
119
- config.api_key['Apikey'] = 'YOUR API KEY'
120
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
121
- #config.api_key_prefix['Apikey'] = 'Bearer'
122
- end
123
-
124
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
125
-
126
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
127
-
128
-
129
- begin
130
- #Convert Document to PDF
131
- result = api_instance.convert_document_autodetect_to_pdf(input_file)
132
- p result
133
- rescue CloudmersiveConvertApiClient::ApiError => e
134
- puts "Exception when calling ConvertDocumentApi->convert_document_autodetect_to_pdf: #{e}"
135
- end
136
- ```
137
-
138
- ### Parameters
139
-
140
- Name | Type | Description | Notes
141
- ------------- | ------------- | ------------- | -------------
142
- **input_file** | **File**| Input file to perform the operation on. |
143
-
144
- ### Return type
145
-
146
- **String**
147
-
148
- ### Authorization
149
-
150
- [Apikey](../README.md#Apikey)
151
-
152
- ### HTTP request headers
153
-
154
- - **Content-Type**: multipart/form-data
155
- - **Accept**: application/octet-stream
156
-
157
-
158
-
159
- # **convert_document_autodetect_to_png_array**
160
- > AutodetectToPngResult convert_document_autodetect_to_png_array(input_file)
161
-
162
- Convert Document to PNG array
163
-
164
- Automatically detect file type and convert it to an array of PNG images. Supports all of the major Office document file formats, over 100 image formats, and even multi-page TIFF files.
165
-
166
- ### Example
167
- ```ruby
168
- # load the gem
169
- require 'cloudmersive-convert-api-client'
170
- # setup authorization
171
- CloudmersiveConvertApiClient.configure do |config|
172
- # Configure API key authorization: Apikey
173
- config.api_key['Apikey'] = 'YOUR API KEY'
174
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
175
- #config.api_key_prefix['Apikey'] = 'Bearer'
176
- end
177
-
178
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
179
-
180
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
181
-
182
-
183
- begin
184
- #Convert Document to PNG array
185
- result = api_instance.convert_document_autodetect_to_png_array(input_file)
186
- p result
187
- rescue CloudmersiveConvertApiClient::ApiError => e
188
- puts "Exception when calling ConvertDocumentApi->convert_document_autodetect_to_png_array: #{e}"
189
- end
190
- ```
191
-
192
- ### Parameters
193
-
194
- Name | Type | Description | Notes
195
- ------------- | ------------- | ------------- | -------------
196
- **input_file** | **File**| Input file to perform the operation on. |
197
-
198
- ### Return type
199
-
200
- [**AutodetectToPngResult**](AutodetectToPngResult.md)
201
-
202
- ### Authorization
203
-
204
- [Apikey](../README.md#Apikey)
205
-
206
- ### HTTP request headers
207
-
208
- - **Content-Type**: multipart/form-data
209
- - **Accept**: application/json, text/json, application/xml, text/xml
210
-
211
-
212
-
213
- # **convert_document_autodetect_to_thumbnail**
214
- > String convert_document_autodetect_to_thumbnail(input_file, opts)
215
-
216
- Convert File to Thumbnail Image
217
-
218
- Automatically detect file type and convert it to a PNG thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
219
-
220
- ### Example
221
- ```ruby
222
- # load the gem
223
- require 'cloudmersive-convert-api-client'
224
- # setup authorization
225
- CloudmersiveConvertApiClient.configure do |config|
226
- # Configure API key authorization: Apikey
227
- config.api_key['Apikey'] = 'YOUR API KEY'
228
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
229
- #config.api_key_prefix['Apikey'] = 'Bearer'
230
- end
231
-
232
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
233
-
234
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
235
-
236
- opts = {
237
- max_width: 56, # Integer | Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
238
- max_height: 56, # Integer | Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
239
- extension: "extension_example" # String | Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
240
- }
241
-
242
- begin
243
- #Convert File to Thumbnail Image
244
- result = api_instance.convert_document_autodetect_to_thumbnail(input_file, opts)
245
- p result
246
- rescue CloudmersiveConvertApiClient::ApiError => e
247
- puts "Exception when calling ConvertDocumentApi->convert_document_autodetect_to_thumbnail: #{e}"
248
- end
249
- ```
250
-
251
- ### Parameters
252
-
253
- Name | Type | Description | Notes
254
- ------------- | ------------- | ------------- | -------------
255
- **input_file** | **File**| Input file to perform the operation on. |
256
- **max_width** | **Integer**| Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. | [optional]
257
- **max_height** | **Integer**| Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. | [optional]
258
- **extension** | **String**| Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon. | [optional]
259
-
260
- ### Return type
261
-
262
- **String**
263
-
264
- ### Authorization
265
-
266
- [Apikey](../README.md#Apikey)
267
-
268
- ### HTTP request headers
269
-
270
- - **Content-Type**: multipart/form-data
271
- - **Accept**: application/octet-stream
272
-
273
-
274
-
275
- # **convert_document_autodetect_to_thumbnails_advanced**
276
- > AutodetectToThumbnailsResult convert_document_autodetect_to_thumbnails_advanced(input_file, opts)
277
-
278
- Convert File to Thumbnail Image Object
279
-
280
- Automatically detect file type and convert it to an array of PNG thumbnails, returned as an object. May specify the number of pages for multiple thumbnails; default is one thumbnail. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT), over 100 image formats, HTML files, and even multi-page TIFF files. Returns a generic PNG thumbnail for unsupported formats.
281
-
282
- ### Example
283
- ```ruby
284
- # load the gem
285
- require 'cloudmersive-convert-api-client'
286
- # setup authorization
287
- CloudmersiveConvertApiClient.configure do |config|
288
- # Configure API key authorization: Apikey
289
- config.api_key['Apikey'] = 'YOUR API KEY'
290
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
291
- #config.api_key_prefix['Apikey'] = 'Bearer'
292
- end
293
-
294
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
295
-
296
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
297
-
298
- opts = {
299
- pages: 56, # Integer | Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page.
300
- max_width: 56, # Integer | Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
301
- max_height: 56, # Integer | Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128.
302
- extension: "extension_example" # String | Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon.
303
- }
304
-
305
- begin
306
- #Convert File to Thumbnail Image Object
307
- result = api_instance.convert_document_autodetect_to_thumbnails_advanced(input_file, opts)
308
- p result
309
- rescue CloudmersiveConvertApiClient::ApiError => e
310
- puts "Exception when calling ConvertDocumentApi->convert_document_autodetect_to_thumbnails_advanced: #{e}"
311
- end
312
- ```
313
-
314
- ### Parameters
315
-
316
- Name | Type | Description | Notes
317
- ------------- | ------------- | ------------- | -------------
318
- **input_file** | **File**| Input file to perform the operation on. |
319
- **pages** | **Integer**| Optional; Specify how many pages of the document will be converted to thumbnails. Default is 1 page. | [optional]
320
- **max_width** | **Integer**| Optional; Maximum width of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. | [optional]
321
- **max_height** | **Integer**| Optional; Maximum height of the output thumbnail - final image will be as large as possible while less than or equal to this width. Default is 128. | [optional]
322
- **extension** | **String**| Optional; Specify the file extension of the inputFile. This will improve the response time in most cases. Also allows unsupported files without extensions to still return a corresponding generic icon. | [optional]
323
-
324
- ### Return type
325
-
326
- [**AutodetectToThumbnailsResult**](AutodetectToThumbnailsResult.md)
327
-
328
- ### Authorization
329
-
330
- [Apikey](../README.md#Apikey)
331
-
332
- ### HTTP request headers
333
-
334
- - **Content-Type**: multipart/form-data
335
- - **Accept**: application/json, text/json, application/xml, text/xml
336
-
337
-
338
-
339
- # **convert_document_autodetect_to_txt**
340
- > TextConversionResult convert_document_autodetect_to_txt(input_file, opts)
341
-
342
- Convert Document to Text (txt)
343
-
344
- Automatically detect file type and convert it to Text. Supports all of the major Office document file formats including Word (DOCX, DOC), Excel (XLSX, XLS), PowerPoint (PPTX, PPT) and PDF files. For spreadsheets, all worksheets will be included. If you wish to exclude certain pages, worksheets, slides, etc. use the Split document API first, or the delete pages/slides/worksheet APIs first to adjust the document to the target state prior to converting to text.
345
-
346
- ### Example
347
- ```ruby
348
- # load the gem
349
- require 'cloudmersive-convert-api-client'
350
- # setup authorization
351
- CloudmersiveConvertApiClient.configure do |config|
352
- # Configure API key authorization: Apikey
353
- config.api_key['Apikey'] = 'YOUR API KEY'
354
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
355
- #config.api_key_prefix['Apikey'] = 'Bearer'
356
- end
357
-
358
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
359
-
360
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
361
-
362
- opts = {
363
- text_formatting_mode: "text_formatting_mode_example" # String | Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'.
364
- }
365
-
366
- begin
367
- #Convert Document to Text (txt)
368
- result = api_instance.convert_document_autodetect_to_txt(input_file, opts)
369
- p result
370
- rescue CloudmersiveConvertApiClient::ApiError => e
371
- puts "Exception when calling ConvertDocumentApi->convert_document_autodetect_to_txt: #{e}"
372
- end
373
- ```
374
-
375
- ### Parameters
376
-
377
- Name | Type | Description | Notes
378
- ------------- | ------------- | ------------- | -------------
379
- **input_file** | **File**| Input file to perform the operation on. |
380
- **text_formatting_mode** | **String**| Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'. | [optional]
381
-
382
- ### Return type
383
-
384
- [**TextConversionResult**](TextConversionResult.md)
385
-
386
- ### Authorization
387
-
388
- [Apikey](../README.md#Apikey)
389
-
390
- ### HTTP request headers
391
-
392
- - **Content-Type**: multipart/form-data
393
- - **Accept**: application/json, text/json, application/xml, text/xml
394
-
395
-
396
-
397
- # **convert_document_csv_to_xlsx**
398
- > String convert_document_csv_to_xlsx(input_file)
399
-
400
- Convert CSV to Excel XLSX Spreadsheet
401
-
402
- Convert CSV file to Office Excel XLSX Workbooks file format.
403
-
404
- ### Example
405
- ```ruby
406
- # load the gem
407
- require 'cloudmersive-convert-api-client'
408
- # setup authorization
409
- CloudmersiveConvertApiClient.configure do |config|
410
- # Configure API key authorization: Apikey
411
- config.api_key['Apikey'] = 'YOUR API KEY'
412
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
413
- #config.api_key_prefix['Apikey'] = 'Bearer'
414
- end
415
-
416
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
417
-
418
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
419
-
420
-
421
- begin
422
- #Convert CSV to Excel XLSX Spreadsheet
423
- result = api_instance.convert_document_csv_to_xlsx(input_file)
424
- p result
425
- rescue CloudmersiveConvertApiClient::ApiError => e
426
- puts "Exception when calling ConvertDocumentApi->convert_document_csv_to_xlsx: #{e}"
427
- end
428
- ```
429
-
430
- ### Parameters
431
-
432
- Name | Type | Description | Notes
433
- ------------- | ------------- | ------------- | -------------
434
- **input_file** | **File**| Input file to perform the operation on. |
435
-
436
- ### Return type
437
-
438
- **String**
439
-
440
- ### Authorization
441
-
442
- [Apikey](../README.md#Apikey)
443
-
444
- ### HTTP request headers
445
-
446
- - **Content-Type**: multipart/form-data
447
- - **Accept**: application/octet-stream
448
-
449
-
450
-
451
- # **convert_document_doc_to_docx**
452
- > String convert_document_doc_to_docx(input_file)
453
-
454
- Convert Word DOC (97-03) Document to DOCX
455
-
456
- Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
457
-
458
- ### Example
459
- ```ruby
460
- # load the gem
461
- require 'cloudmersive-convert-api-client'
462
- # setup authorization
463
- CloudmersiveConvertApiClient.configure do |config|
464
- # Configure API key authorization: Apikey
465
- config.api_key['Apikey'] = 'YOUR API KEY'
466
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
467
- #config.api_key_prefix['Apikey'] = 'Bearer'
468
- end
469
-
470
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
471
-
472
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
473
-
474
-
475
- begin
476
- #Convert Word DOC (97-03) Document to DOCX
477
- result = api_instance.convert_document_doc_to_docx(input_file)
478
- p result
479
- rescue CloudmersiveConvertApiClient::ApiError => e
480
- puts "Exception when calling ConvertDocumentApi->convert_document_doc_to_docx: #{e}"
481
- end
482
- ```
483
-
484
- ### Parameters
485
-
486
- Name | Type | Description | Notes
487
- ------------- | ------------- | ------------- | -------------
488
- **input_file** | **File**| Input file to perform the operation on. |
489
-
490
- ### Return type
491
-
492
- **String**
493
-
494
- ### Authorization
495
-
496
- [Apikey](../README.md#Apikey)
497
-
498
- ### HTTP request headers
499
-
500
- - **Content-Type**: multipart/form-data
501
- - **Accept**: application/octet-stream
502
-
503
-
504
-
505
- # **convert_document_doc_to_pdf**
506
- > String convert_document_doc_to_pdf(input_file)
507
-
508
- Convert Word DOC (97-03) Document to PDF
509
-
510
- Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
511
-
512
- ### Example
513
- ```ruby
514
- # load the gem
515
- require 'cloudmersive-convert-api-client'
516
- # setup authorization
517
- CloudmersiveConvertApiClient.configure do |config|
518
- # Configure API key authorization: Apikey
519
- config.api_key['Apikey'] = 'YOUR API KEY'
520
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
521
- #config.api_key_prefix['Apikey'] = 'Bearer'
522
- end
523
-
524
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
525
-
526
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
527
-
528
-
529
- begin
530
- #Convert Word DOC (97-03) Document to PDF
531
- result = api_instance.convert_document_doc_to_pdf(input_file)
532
- p result
533
- rescue CloudmersiveConvertApiClient::ApiError => e
534
- puts "Exception when calling ConvertDocumentApi->convert_document_doc_to_pdf: #{e}"
535
- end
536
- ```
537
-
538
- ### Parameters
539
-
540
- Name | Type | Description | Notes
541
- ------------- | ------------- | ------------- | -------------
542
- **input_file** | **File**| Input file to perform the operation on. |
543
-
544
- ### Return type
545
-
546
- **String**
547
-
548
- ### Authorization
549
-
550
- [Apikey](../README.md#Apikey)
551
-
552
- ### HTTP request headers
553
-
554
- - **Content-Type**: multipart/form-data
555
- - **Accept**: application/octet-stream
556
-
557
-
558
-
559
- # **convert_document_doc_to_txt**
560
- > TextConversionResult convert_document_doc_to_txt(input_file)
561
-
562
- Convert Word DOC (97-03) Document to Text (txt)
563
-
564
- Convert Office Word DOC (97-03) Document (doc) to text
565
-
566
- ### Example
567
- ```ruby
568
- # load the gem
569
- require 'cloudmersive-convert-api-client'
570
- # setup authorization
571
- CloudmersiveConvertApiClient.configure do |config|
572
- # Configure API key authorization: Apikey
573
- config.api_key['Apikey'] = 'YOUR API KEY'
574
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
575
- #config.api_key_prefix['Apikey'] = 'Bearer'
576
- end
577
-
578
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
579
-
580
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
581
-
582
-
583
- begin
584
- #Convert Word DOC (97-03) Document to Text (txt)
585
- result = api_instance.convert_document_doc_to_txt(input_file)
586
- p result
587
- rescue CloudmersiveConvertApiClient::ApiError => e
588
- puts "Exception when calling ConvertDocumentApi->convert_document_doc_to_txt: #{e}"
589
- end
590
- ```
591
-
592
- ### Parameters
593
-
594
- Name | Type | Description | Notes
595
- ------------- | ------------- | ------------- | -------------
596
- **input_file** | **File**| Input file to perform the operation on. |
597
-
598
- ### Return type
599
-
600
- [**TextConversionResult**](TextConversionResult.md)
601
-
602
- ### Authorization
603
-
604
- [Apikey](../README.md#Apikey)
605
-
606
- ### HTTP request headers
607
-
608
- - **Content-Type**: multipart/form-data
609
- - **Accept**: application/json, text/json, application/xml, text/xml
610
-
611
-
612
-
613
- # **convert_document_docx_to_pdf**
614
- > String convert_document_docx_to_pdf(input_file)
615
-
616
- Convert Word DOCX Document to PDF
617
-
618
- Convert Office Word Documents (docx) to standard PDF
619
-
620
- ### Example
621
- ```ruby
622
- # load the gem
623
- require 'cloudmersive-convert-api-client'
624
- # setup authorization
625
- CloudmersiveConvertApiClient.configure do |config|
626
- # Configure API key authorization: Apikey
627
- config.api_key['Apikey'] = 'YOUR API KEY'
628
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
629
- #config.api_key_prefix['Apikey'] = 'Bearer'
630
- end
631
-
632
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
633
-
634
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
635
-
636
-
637
- begin
638
- #Convert Word DOCX Document to PDF
639
- result = api_instance.convert_document_docx_to_pdf(input_file)
640
- p result
641
- rescue CloudmersiveConvertApiClient::ApiError => e
642
- puts "Exception when calling ConvertDocumentApi->convert_document_docx_to_pdf: #{e}"
643
- end
644
- ```
645
-
646
- ### Parameters
647
-
648
- Name | Type | Description | Notes
649
- ------------- | ------------- | ------------- | -------------
650
- **input_file** | **File**| Input file to perform the operation on. |
651
-
652
- ### Return type
653
-
654
- **String**
655
-
656
- ### Authorization
657
-
658
- [Apikey](../README.md#Apikey)
659
-
660
- ### HTTP request headers
661
-
662
- - **Content-Type**: multipart/form-data
663
- - **Accept**: application/octet-stream
664
-
665
-
666
-
667
- # **convert_document_docx_to_png**
668
- > DocxToPngResult convert_document_docx_to_png(input_file)
669
-
670
- Convert DOCX document to PNG image array
671
-
672
- Converts an Office Word Document (DOCX) file to an array of PNG images, one for each page.
673
-
674
- ### Example
675
- ```ruby
676
- # load the gem
677
- require 'cloudmersive-convert-api-client'
678
- # setup authorization
679
- CloudmersiveConvertApiClient.configure do |config|
680
- # Configure API key authorization: Apikey
681
- config.api_key['Apikey'] = 'YOUR API KEY'
682
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
683
- #config.api_key_prefix['Apikey'] = 'Bearer'
684
- end
685
-
686
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
687
-
688
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
689
-
690
-
691
- begin
692
- #Convert DOCX document to PNG image array
693
- result = api_instance.convert_document_docx_to_png(input_file)
694
- p result
695
- rescue CloudmersiveConvertApiClient::ApiError => e
696
- puts "Exception when calling ConvertDocumentApi->convert_document_docx_to_png: #{e}"
697
- end
698
- ```
699
-
700
- ### Parameters
701
-
702
- Name | Type | Description | Notes
703
- ------------- | ------------- | ------------- | -------------
704
- **input_file** | **File**| Input file to perform the operation on. |
705
-
706
- ### Return type
707
-
708
- [**DocxToPngResult**](DocxToPngResult.md)
709
-
710
- ### Authorization
711
-
712
- [Apikey](../README.md#Apikey)
713
-
714
- ### HTTP request headers
715
-
716
- - **Content-Type**: multipart/form-data
717
- - **Accept**: application/json, text/json, application/xml, text/xml
718
-
719
-
720
-
721
- # **convert_document_docx_to_txt**
722
- > TextConversionResult convert_document_docx_to_txt(input_file, opts)
723
-
724
- Convert Word DOCX Document to Text (txt)
725
-
726
- Convert Office Word Documents (docx) to text
727
-
728
- ### Example
729
- ```ruby
730
- # load the gem
731
- require 'cloudmersive-convert-api-client'
732
- # setup authorization
733
- CloudmersiveConvertApiClient.configure do |config|
734
- # Configure API key authorization: Apikey
735
- config.api_key['Apikey'] = 'YOUR API KEY'
736
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
737
- #config.api_key_prefix['Apikey'] = 'Bearer'
738
- end
739
-
740
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
741
-
742
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
743
-
744
- opts = {
745
- text_formatting_mode: "text_formatting_mode_example" # String | Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'minimizeWhitespace'.
746
- }
747
-
748
- begin
749
- #Convert Word DOCX Document to Text (txt)
750
- result = api_instance.convert_document_docx_to_txt(input_file, opts)
751
- p result
752
- rescue CloudmersiveConvertApiClient::ApiError => e
753
- puts "Exception when calling ConvertDocumentApi->convert_document_docx_to_txt: #{e}"
754
- end
755
- ```
756
-
757
- ### Parameters
758
-
759
- Name | Type | Description | Notes
760
- ------------- | ------------- | ------------- | -------------
761
- **input_file** | **File**| Input file to perform the operation on. |
762
- **text_formatting_mode** | **String**| Optional; specify how whitespace should be handled when converting the document to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'minimizeWhitespace'. | [optional]
763
-
764
- ### Return type
765
-
766
- [**TextConversionResult**](TextConversionResult.md)
767
-
768
- ### Authorization
769
-
770
- [Apikey](../README.md#Apikey)
771
-
772
- ### HTTP request headers
773
-
774
- - **Content-Type**: multipart/form-data
775
- - **Accept**: application/json, text/json, application/xml, text/xml
776
-
777
-
778
-
779
- # **convert_document_eml_to_html**
780
- > EmlToHtmlResult convert_document_eml_to_html(input_file, opts)
781
-
782
- Convert Email EML file to HTML string
783
-
784
- Convert Outlook Email EML file to HTML string and attachments. Supports images if they are base 64 inline.
785
-
786
- ### Example
787
- ```ruby
788
- # load the gem
789
- require 'cloudmersive-convert-api-client'
790
- # setup authorization
791
- CloudmersiveConvertApiClient.configure do |config|
792
- # Configure API key authorization: Apikey
793
- config.api_key['Apikey'] = 'YOUR API KEY'
794
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
795
- #config.api_key_prefix['Apikey'] = 'Bearer'
796
- end
797
-
798
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
799
-
800
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
801
-
802
- opts = {
803
- body_only: true, # BOOLEAN | Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
804
- include_attachments: true # BOOLEAN | Optional; If false, the response object will not include any attachment files from the input file. Default is true.
805
- }
806
-
807
- begin
808
- #Convert Email EML file to HTML string
809
- result = api_instance.convert_document_eml_to_html(input_file, opts)
810
- p result
811
- rescue CloudmersiveConvertApiClient::ApiError => e
812
- puts "Exception when calling ConvertDocumentApi->convert_document_eml_to_html: #{e}"
813
- end
814
- ```
815
-
816
- ### Parameters
817
-
818
- Name | Type | Description | Notes
819
- ------------- | ------------- | ------------- | -------------
820
- **input_file** | **File**| Input file to perform the operation on. |
821
- **body_only** | **BOOLEAN**| Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false. | [optional]
822
- **include_attachments** | **BOOLEAN**| Optional; If false, the response object will not include any attachment files from the input file. Default is true. | [optional]
823
-
824
- ### Return type
825
-
826
- [**EmlToHtmlResult**](EmlToHtmlResult.md)
827
-
828
- ### Authorization
829
-
830
- [Apikey](../README.md#Apikey)
831
-
832
- ### HTTP request headers
833
-
834
- - **Content-Type**: multipart/form-data
835
- - **Accept**: application/json, text/json, application/xml, text/xml
836
-
837
-
838
-
839
- # **convert_document_eml_to_pdf**
840
- > String convert_document_eml_to_pdf(input_file, opts)
841
-
842
- Convert Email EML file to PDF document
843
-
844
- Convert Outlook Email EML file to PDF document. Supports images if they are base 64 inline.
845
-
846
- ### Example
847
- ```ruby
848
- # load the gem
849
- require 'cloudmersive-convert-api-client'
850
- # setup authorization
851
- CloudmersiveConvertApiClient.configure do |config|
852
- # Configure API key authorization: Apikey
853
- config.api_key['Apikey'] = 'YOUR API KEY'
854
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
855
- #config.api_key_prefix['Apikey'] = 'Bearer'
856
- end
857
-
858
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
859
-
860
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
861
-
862
- opts = {
863
- body_only: true # BOOLEAN | Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
864
- }
865
-
866
- begin
867
- #Convert Email EML file to PDF document
868
- result = api_instance.convert_document_eml_to_pdf(input_file, opts)
869
- p result
870
- rescue CloudmersiveConvertApiClient::ApiError => e
871
- puts "Exception when calling ConvertDocumentApi->convert_document_eml_to_pdf: #{e}"
872
- end
873
- ```
874
-
875
- ### Parameters
876
-
877
- Name | Type | Description | Notes
878
- ------------- | ------------- | ------------- | -------------
879
- **input_file** | **File**| Input file to perform the operation on. |
880
- **body_only** | **BOOLEAN**| Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false. | [optional]
881
-
882
- ### Return type
883
-
884
- **String**
885
-
886
- ### Authorization
887
-
888
- [Apikey](../README.md#Apikey)
889
-
890
- ### HTTP request headers
891
-
892
- - **Content-Type**: multipart/form-data
893
- - **Accept**: application/octet-stream
894
-
895
-
896
-
897
- # **convert_document_get_file_type_icon**
898
- > String convert_document_get_file_type_icon(file_extension, opts)
899
-
900
- Get PNG icon file for the file extension
901
-
902
- Returns a PNG icon for the given file format extension as a file for download. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
903
-
904
- ### Example
905
- ```ruby
906
- # load the gem
907
- require 'cloudmersive-convert-api-client'
908
- # setup authorization
909
- CloudmersiveConvertApiClient.configure do |config|
910
- # Configure API key authorization: Apikey
911
- config.api_key['Apikey'] = 'YOUR API KEY'
912
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
913
- #config.api_key_prefix['Apikey'] = 'Bearer'
914
- end
915
-
916
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
917
-
918
- file_extension = "file_extension_example" # String | Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
919
-
920
- opts = {
921
- icon_size: 56 # Integer | Optional; The desired width of the icon, preserving its aspect ratio.
922
- }
923
-
924
- begin
925
- #Get PNG icon file for the file extension
926
- result = api_instance.convert_document_get_file_type_icon(file_extension, opts)
927
- p result
928
- rescue CloudmersiveConvertApiClient::ApiError => e
929
- puts "Exception when calling ConvertDocumentApi->convert_document_get_file_type_icon: #{e}"
930
- end
931
- ```
932
-
933
- ### Parameters
934
-
935
- Name | Type | Description | Notes
936
- ------------- | ------------- | ------------- | -------------
937
- **file_extension** | **String**| Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters. |
938
- **icon_size** | **Integer**| Optional; The desired width of the icon, preserving its aspect ratio. | [optional]
939
-
940
- ### Return type
941
-
942
- **String**
943
-
944
- ### Authorization
945
-
946
- [Apikey](../README.md#Apikey)
947
-
948
- ### HTTP request headers
949
-
950
- - **Content-Type**: Not defined
951
- - **Accept**: application/octet-stream
952
-
953
-
954
-
955
- # **convert_document_get_file_type_icon_advanced**
956
- > GetFileTypeIconResult convert_document_get_file_type_icon_advanced(file_extension, opts)
957
-
958
- Get PNG icon byte array for the file extension
959
-
960
- Returns a PNG icon for the given file format extension directly as a byte array. User may specify the icon size. Supports over 100 file formats, with a generic icon for unsupported formats.
961
-
962
- ### Example
963
- ```ruby
964
- # load the gem
965
- require 'cloudmersive-convert-api-client'
966
- # setup authorization
967
- CloudmersiveConvertApiClient.configure do |config|
968
- # Configure API key authorization: Apikey
969
- config.api_key['Apikey'] = 'YOUR API KEY'
970
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
971
- #config.api_key_prefix['Apikey'] = 'Bearer'
972
- end
973
-
974
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
975
-
976
- file_extension = "file_extension_example" # String | Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters.
977
-
978
- opts = {
979
- icon_size: 56 # Integer | Optional; The desired width of the icon, preserving its aspect ratio.
980
- }
981
-
982
- begin
983
- #Get PNG icon byte array for the file extension
984
- result = api_instance.convert_document_get_file_type_icon_advanced(file_extension, opts)
985
- p result
986
- rescue CloudmersiveConvertApiClient::ApiError => e
987
- puts "Exception when calling ConvertDocumentApi->convert_document_get_file_type_icon_advanced: #{e}"
988
- end
989
- ```
990
-
991
- ### Parameters
992
-
993
- Name | Type | Description | Notes
994
- ------------- | ------------- | ------------- | -------------
995
- **file_extension** | **String**| Required; The file extension to be used for the icon. Limited to 4 AlphaNumeric characters. |
996
- **icon_size** | **Integer**| Optional; The desired width of the icon, preserving its aspect ratio. | [optional]
997
-
998
- ### Return type
999
-
1000
- [**GetFileTypeIconResult**](GetFileTypeIconResult.md)
1001
-
1002
- ### Authorization
1003
-
1004
- [Apikey](../README.md#Apikey)
1005
-
1006
- ### HTTP request headers
1007
-
1008
- - **Content-Type**: Not defined
1009
- - **Accept**: application/json, text/json, application/xml, text/xml
1010
-
1011
-
1012
-
1013
- # **convert_document_html_to_pdf**
1014
- > String convert_document_html_to_pdf(input_file)
1015
-
1016
- Convert HTML document file to PDF Document
1017
-
1018
- Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to PDF. To use external files such as images, use an absolute URL to the file.
1019
-
1020
- ### Example
1021
- ```ruby
1022
- # load the gem
1023
- require 'cloudmersive-convert-api-client'
1024
- # setup authorization
1025
- CloudmersiveConvertApiClient.configure do |config|
1026
- # Configure API key authorization: Apikey
1027
- config.api_key['Apikey'] = 'YOUR API KEY'
1028
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1029
- #config.api_key_prefix['Apikey'] = 'Bearer'
1030
- end
1031
-
1032
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1033
-
1034
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1035
-
1036
-
1037
- begin
1038
- #Convert HTML document file to PDF Document
1039
- result = api_instance.convert_document_html_to_pdf(input_file)
1040
- p result
1041
- rescue CloudmersiveConvertApiClient::ApiError => e
1042
- puts "Exception when calling ConvertDocumentApi->convert_document_html_to_pdf: #{e}"
1043
- end
1044
- ```
1045
-
1046
- ### Parameters
1047
-
1048
- Name | Type | Description | Notes
1049
- ------------- | ------------- | ------------- | -------------
1050
- **input_file** | **File**| Input file to perform the operation on. |
1051
-
1052
- ### Return type
1053
-
1054
- **String**
1055
-
1056
- ### Authorization
1057
-
1058
- [Apikey](../README.md#Apikey)
1059
-
1060
- ### HTTP request headers
1061
-
1062
- - **Content-Type**: multipart/form-data
1063
- - **Accept**: application/octet-stream
1064
-
1065
-
1066
-
1067
- # **convert_document_html_to_png**
1068
- > PdfToPngResult convert_document_html_to_png(input_file)
1069
-
1070
- Convert HTML document file to PNG image array
1071
-
1072
- Convert standard HTML, with full support for CSS, JavaScript, Images, and other complex behavior to an array of PNG images, one for each page. To use external files in your HTML such as images, use an absolute URL to the file.
1073
-
1074
- ### Example
1075
- ```ruby
1076
- # load the gem
1077
- require 'cloudmersive-convert-api-client'
1078
- # setup authorization
1079
- CloudmersiveConvertApiClient.configure do |config|
1080
- # Configure API key authorization: Apikey
1081
- config.api_key['Apikey'] = 'YOUR API KEY'
1082
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1083
- #config.api_key_prefix['Apikey'] = 'Bearer'
1084
- end
1085
-
1086
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1087
-
1088
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1089
-
1090
-
1091
- begin
1092
- #Convert HTML document file to PNG image array
1093
- result = api_instance.convert_document_html_to_png(input_file)
1094
- p result
1095
- rescue CloudmersiveConvertApiClient::ApiError => e
1096
- puts "Exception when calling ConvertDocumentApi->convert_document_html_to_png: #{e}"
1097
- end
1098
- ```
1099
-
1100
- ### Parameters
1101
-
1102
- Name | Type | Description | Notes
1103
- ------------- | ------------- | ------------- | -------------
1104
- **input_file** | **File**| Input file to perform the operation on. |
1105
-
1106
- ### Return type
1107
-
1108
- [**PdfToPngResult**](PdfToPngResult.md)
1109
-
1110
- ### Authorization
1111
-
1112
- [Apikey](../README.md#Apikey)
1113
-
1114
- ### HTTP request headers
1115
-
1116
- - **Content-Type**: multipart/form-data
1117
- - **Accept**: application/json, text/json, application/xml, text/xml
1118
-
1119
-
1120
-
1121
- # **convert_document_html_to_txt**
1122
- > TextConversionResult convert_document_html_to_txt(input_file)
1123
-
1124
- HTML Document file to Text (txt)
1125
-
1126
- HTML document to text
1127
-
1128
- ### Example
1129
- ```ruby
1130
- # load the gem
1131
- require 'cloudmersive-convert-api-client'
1132
- # setup authorization
1133
- CloudmersiveConvertApiClient.configure do |config|
1134
- # Configure API key authorization: Apikey
1135
- config.api_key['Apikey'] = 'YOUR API KEY'
1136
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1137
- #config.api_key_prefix['Apikey'] = 'Bearer'
1138
- end
1139
-
1140
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1141
-
1142
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1143
-
1144
-
1145
- begin
1146
- #HTML Document file to Text (txt)
1147
- result = api_instance.convert_document_html_to_txt(input_file)
1148
- p result
1149
- rescue CloudmersiveConvertApiClient::ApiError => e
1150
- puts "Exception when calling ConvertDocumentApi->convert_document_html_to_txt: #{e}"
1151
- end
1152
- ```
1153
-
1154
- ### Parameters
1155
-
1156
- Name | Type | Description | Notes
1157
- ------------- | ------------- | ------------- | -------------
1158
- **input_file** | **File**| Input file to perform the operation on. |
1159
-
1160
- ### Return type
1161
-
1162
- [**TextConversionResult**](TextConversionResult.md)
1163
-
1164
- ### Authorization
1165
-
1166
- [Apikey](../README.md#Apikey)
1167
-
1168
- ### HTTP request headers
1169
-
1170
- - **Content-Type**: multipart/form-data
1171
- - **Accept**: application/json, text/json, application/xml, text/xml
1172
-
1173
-
1174
-
1175
- # **convert_document_msg_to_html**
1176
- > MsgToHtmlResult convert_document_msg_to_html(input_file, opts)
1177
-
1178
- Convert Email MSG file to HTML string
1179
-
1180
- Convert Outlook Email MSG file to HTML string and attachments. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
1181
-
1182
- ### Example
1183
- ```ruby
1184
- # load the gem
1185
- require 'cloudmersive-convert-api-client'
1186
- # setup authorization
1187
- CloudmersiveConvertApiClient.configure do |config|
1188
- # Configure API key authorization: Apikey
1189
- config.api_key['Apikey'] = 'YOUR API KEY'
1190
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1191
- #config.api_key_prefix['Apikey'] = 'Bearer'
1192
- end
1193
-
1194
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1195
-
1196
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1197
-
1198
- opts = {
1199
- body_only: true, # BOOLEAN | Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false.
1200
- include_attachments: true # BOOLEAN | Optional; If false, the response object will not include any attachment files from the input file. Default is true.
1201
- }
1202
-
1203
- begin
1204
- #Convert Email MSG file to HTML string
1205
- result = api_instance.convert_document_msg_to_html(input_file, opts)
1206
- p result
1207
- rescue CloudmersiveConvertApiClient::ApiError => e
1208
- puts "Exception when calling ConvertDocumentApi->convert_document_msg_to_html: #{e}"
1209
- end
1210
- ```
1211
-
1212
- ### Parameters
1213
-
1214
- Name | Type | Description | Notes
1215
- ------------- | ------------- | ------------- | -------------
1216
- **input_file** | **File**| Input file to perform the operation on. |
1217
- **body_only** | **BOOLEAN**| Optional; If true, the HTML string will only include the body of the MSG. Other information such as subject will still be given as properties in the response object. Default is false. | [optional]
1218
- **include_attachments** | **BOOLEAN**| Optional; If false, the response object will not include any attachment files from the input file. Default is true. | [optional]
1219
-
1220
- ### Return type
1221
-
1222
- [**MsgToHtmlResult**](MsgToHtmlResult.md)
1223
-
1224
- ### Authorization
1225
-
1226
- [Apikey](../README.md#Apikey)
1227
-
1228
- ### HTTP request headers
1229
-
1230
- - **Content-Type**: multipart/form-data
1231
- - **Accept**: application/json, text/json, application/xml, text/xml
1232
-
1233
-
1234
-
1235
- # **convert_document_msg_to_pdf**
1236
- > String convert_document_msg_to_pdf(input_file, opts)
1237
-
1238
- Convert Email MSG file to PDF document
1239
-
1240
- Convert Outlook Email MSG file to PDF document. Supports images if they are base 64 inline. Supports most, but not all, RTF bodied MSG files.
1241
-
1242
- ### Example
1243
- ```ruby
1244
- # load the gem
1245
- require 'cloudmersive-convert-api-client'
1246
- # setup authorization
1247
- CloudmersiveConvertApiClient.configure do |config|
1248
- # Configure API key authorization: Apikey
1249
- config.api_key['Apikey'] = 'YOUR API KEY'
1250
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1251
- #config.api_key_prefix['Apikey'] = 'Bearer'
1252
- end
1253
-
1254
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1255
-
1256
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1257
-
1258
- opts = {
1259
- body_only: true # BOOLEAN | Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false.
1260
- }
1261
-
1262
- begin
1263
- #Convert Email MSG file to PDF document
1264
- result = api_instance.convert_document_msg_to_pdf(input_file, opts)
1265
- p result
1266
- rescue CloudmersiveConvertApiClient::ApiError => e
1267
- puts "Exception when calling ConvertDocumentApi->convert_document_msg_to_pdf: #{e}"
1268
- end
1269
- ```
1270
-
1271
- ### Parameters
1272
-
1273
- Name | Type | Description | Notes
1274
- ------------- | ------------- | ------------- | -------------
1275
- **input_file** | **File**| Input file to perform the operation on. |
1276
- **body_only** | **BOOLEAN**| Optional; If true, the HTML string will only include the body of the email. Other information such as subject will still be given as properties in the response object. Default is false. | [optional]
1277
-
1278
- ### Return type
1279
-
1280
- **String**
1281
-
1282
- ### Authorization
1283
-
1284
- [Apikey](../README.md#Apikey)
1285
-
1286
- ### HTTP request headers
1287
-
1288
- - **Content-Type**: multipart/form-data
1289
- - **Accept**: application/octet-stream
1290
-
1291
-
1292
-
1293
- # **convert_document_pdf_to_docx**
1294
- > String convert_document_pdf_to_docx(input_file)
1295
-
1296
- Convert PDF to Word DOCX Document
1297
-
1298
- Convert standard PDF to Office Word Documents (docx). Converts a PDF at high fidelity into Word format, where it can be easily edited and processed.
1299
-
1300
- ### Example
1301
- ```ruby
1302
- # load the gem
1303
- require 'cloudmersive-convert-api-client'
1304
- # setup authorization
1305
- CloudmersiveConvertApiClient.configure do |config|
1306
- # Configure API key authorization: Apikey
1307
- config.api_key['Apikey'] = 'YOUR API KEY'
1308
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1309
- #config.api_key_prefix['Apikey'] = 'Bearer'
1310
- end
1311
-
1312
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1313
-
1314
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1315
-
1316
-
1317
- begin
1318
- #Convert PDF to Word DOCX Document
1319
- result = api_instance.convert_document_pdf_to_docx(input_file)
1320
- p result
1321
- rescue CloudmersiveConvertApiClient::ApiError => e
1322
- puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_docx: #{e}"
1323
- end
1324
- ```
1325
-
1326
- ### Parameters
1327
-
1328
- Name | Type | Description | Notes
1329
- ------------- | ------------- | ------------- | -------------
1330
- **input_file** | **File**| Input file to perform the operation on. |
1331
-
1332
- ### Return type
1333
-
1334
- **String**
1335
-
1336
- ### Authorization
1337
-
1338
- [Apikey](../README.md#Apikey)
1339
-
1340
- ### HTTP request headers
1341
-
1342
- - **Content-Type**: multipart/form-data
1343
- - **Accept**: application/octet-stream
1344
-
1345
-
1346
-
1347
- # **convert_document_pdf_to_docx_rasterize**
1348
- > String convert_document_pdf_to_docx_rasterize(input_file)
1349
-
1350
- Convert PDF to Word DOCX Document based on rasterized version of the PDF
1351
-
1352
- Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format.
1353
-
1354
- ### Example
1355
- ```ruby
1356
- # load the gem
1357
- require 'cloudmersive-convert-api-client'
1358
- # setup authorization
1359
- CloudmersiveConvertApiClient.configure do |config|
1360
- # Configure API key authorization: Apikey
1361
- config.api_key['Apikey'] = 'YOUR API KEY'
1362
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1363
- #config.api_key_prefix['Apikey'] = 'Bearer'
1364
- end
1365
-
1366
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1367
-
1368
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1369
-
1370
-
1371
- begin
1372
- #Convert PDF to Word DOCX Document based on rasterized version of the PDF
1373
- result = api_instance.convert_document_pdf_to_docx_rasterize(input_file)
1374
- p result
1375
- rescue CloudmersiveConvertApiClient::ApiError => e
1376
- puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_docx_rasterize: #{e}"
1377
- end
1378
- ```
1379
-
1380
- ### Parameters
1381
-
1382
- Name | Type | Description | Notes
1383
- ------------- | ------------- | ------------- | -------------
1384
- **input_file** | **File**| Input file to perform the operation on. |
1385
-
1386
- ### Return type
1387
-
1388
- **String**
1389
-
1390
- ### Authorization
1391
-
1392
- [Apikey](../README.md#Apikey)
1393
-
1394
- ### HTTP request headers
1395
-
1396
- - **Content-Type**: multipart/form-data
1397
- - **Accept**: application/octet-stream
1398
-
1399
-
1400
-
1401
- # **convert_document_pdf_to_png_array**
1402
- > PdfToPngResult convert_document_pdf_to_png_array(input_file)
1403
-
1404
- Convert PDF to PNG Image Array
1405
-
1406
- Convert PDF document to PNG array, one image per page.
1407
-
1408
- ### Example
1409
- ```ruby
1410
- # load the gem
1411
- require 'cloudmersive-convert-api-client'
1412
- # setup authorization
1413
- CloudmersiveConvertApiClient.configure do |config|
1414
- # Configure API key authorization: Apikey
1415
- config.api_key['Apikey'] = 'YOUR API KEY'
1416
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1417
- #config.api_key_prefix['Apikey'] = 'Bearer'
1418
- end
1419
-
1420
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1421
-
1422
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1423
-
1424
-
1425
- begin
1426
- #Convert PDF to PNG Image Array
1427
- result = api_instance.convert_document_pdf_to_png_array(input_file)
1428
- p result
1429
- rescue CloudmersiveConvertApiClient::ApiError => e
1430
- puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_png_array: #{e}"
1431
- end
1432
- ```
1433
-
1434
- ### Parameters
1435
-
1436
- Name | Type | Description | Notes
1437
- ------------- | ------------- | ------------- | -------------
1438
- **input_file** | **File**| Input file to perform the operation on. |
1439
-
1440
- ### Return type
1441
-
1442
- [**PdfToPngResult**](PdfToPngResult.md)
1443
-
1444
- ### Authorization
1445
-
1446
- [Apikey](../README.md#Apikey)
1447
-
1448
- ### HTTP request headers
1449
-
1450
- - **Content-Type**: multipart/form-data
1451
- - **Accept**: application/json, text/json, application/xml, text/xml
1452
-
1453
-
1454
-
1455
- # **convert_document_pdf_to_png_single**
1456
- > String convert_document_pdf_to_png_single(input_file)
1457
-
1458
- Convert PDF to Single PNG image
1459
-
1460
- Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single \"tall\" image
1461
-
1462
- ### Example
1463
- ```ruby
1464
- # load the gem
1465
- require 'cloudmersive-convert-api-client'
1466
- # setup authorization
1467
- CloudmersiveConvertApiClient.configure do |config|
1468
- # Configure API key authorization: Apikey
1469
- config.api_key['Apikey'] = 'YOUR API KEY'
1470
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1471
- #config.api_key_prefix['Apikey'] = 'Bearer'
1472
- end
1473
-
1474
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1475
-
1476
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1477
-
1478
-
1479
- begin
1480
- #Convert PDF to Single PNG image
1481
- result = api_instance.convert_document_pdf_to_png_single(input_file)
1482
- p result
1483
- rescue CloudmersiveConvertApiClient::ApiError => e
1484
- puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_png_single: #{e}"
1485
- end
1486
- ```
1487
-
1488
- ### Parameters
1489
-
1490
- Name | Type | Description | Notes
1491
- ------------- | ------------- | ------------- | -------------
1492
- **input_file** | **File**| Input file to perform the operation on. |
1493
-
1494
- ### Return type
1495
-
1496
- **String**
1497
-
1498
- ### Authorization
1499
-
1500
- [Apikey](../README.md#Apikey)
1501
-
1502
- ### HTTP request headers
1503
-
1504
- - **Content-Type**: multipart/form-data
1505
- - **Accept**: application/octet-stream
1506
-
1507
-
1508
-
1509
- # **convert_document_pdf_to_pptx**
1510
- > String convert_document_pdf_to_pptx(input_file)
1511
-
1512
- Convert PDF to PowerPoint PPTX Presentation
1513
-
1514
- Convert standard PDF to Office PowerPoint Presentation (pptx). Converts a PDF file at high fidelity into PowerPoint format, where it can be easily edited and processed.
1515
-
1516
- ### Example
1517
- ```ruby
1518
- # load the gem
1519
- require 'cloudmersive-convert-api-client'
1520
- # setup authorization
1521
- CloudmersiveConvertApiClient.configure do |config|
1522
- # Configure API key authorization: Apikey
1523
- config.api_key['Apikey'] = 'YOUR API KEY'
1524
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1525
- #config.api_key_prefix['Apikey'] = 'Bearer'
1526
- end
1527
-
1528
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1529
-
1530
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1531
-
1532
-
1533
- begin
1534
- #Convert PDF to PowerPoint PPTX Presentation
1535
- result = api_instance.convert_document_pdf_to_pptx(input_file)
1536
- p result
1537
- rescue CloudmersiveConvertApiClient::ApiError => e
1538
- puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_pptx: #{e}"
1539
- end
1540
- ```
1541
-
1542
- ### Parameters
1543
-
1544
- Name | Type | Description | Notes
1545
- ------------- | ------------- | ------------- | -------------
1546
- **input_file** | **File**| Input file to perform the operation on. |
1547
-
1548
- ### Return type
1549
-
1550
- **String**
1551
-
1552
- ### Authorization
1553
-
1554
- [Apikey](../README.md#Apikey)
1555
-
1556
- ### HTTP request headers
1557
-
1558
- - **Content-Type**: multipart/form-data
1559
- - **Accept**: application/octet-stream
1560
-
1561
-
1562
-
1563
- # **convert_document_pdf_to_txt**
1564
- > TextConversionResult convert_document_pdf_to_txt(input_file, opts)
1565
-
1566
- Convert PDF Document to Text (txt)
1567
-
1568
- PDF document to text
1569
-
1570
- ### Example
1571
- ```ruby
1572
- # load the gem
1573
- require 'cloudmersive-convert-api-client'
1574
- # setup authorization
1575
- CloudmersiveConvertApiClient.configure do |config|
1576
- # Configure API key authorization: Apikey
1577
- config.api_key['Apikey'] = 'YOUR API KEY'
1578
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1579
- #config.api_key_prefix['Apikey'] = 'Bearer'
1580
- end
1581
-
1582
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1583
-
1584
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1585
-
1586
- opts = {
1587
- text_formatting_mode: "text_formatting_mode_example" # String | Optional; specify how whitespace should be handled when converting PDF to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'.
1588
- }
1589
-
1590
- begin
1591
- #Convert PDF Document to Text (txt)
1592
- result = api_instance.convert_document_pdf_to_txt(input_file, opts)
1593
- p result
1594
- rescue CloudmersiveConvertApiClient::ApiError => e
1595
- puts "Exception when calling ConvertDocumentApi->convert_document_pdf_to_txt: #{e}"
1596
- end
1597
- ```
1598
-
1599
- ### Parameters
1600
-
1601
- Name | Type | Description | Notes
1602
- ------------- | ------------- | ------------- | -------------
1603
- **input_file** | **File**| Input file to perform the operation on. |
1604
- **text_formatting_mode** | **String**| Optional; specify how whitespace should be handled when converting PDF to text. Possible values are 'preserveWhitespace' which will attempt to preserve whitespace in the document and relative positioning of text within the document, and 'minimizeWhitespace' which will not insert additional spaces into the document in most cases. Default is 'preserveWhitespace'. | [optional]
1605
-
1606
- ### Return type
1607
-
1608
- [**TextConversionResult**](TextConversionResult.md)
1609
-
1610
- ### Authorization
1611
-
1612
- [Apikey](../README.md#Apikey)
1613
-
1614
- ### HTTP request headers
1615
-
1616
- - **Content-Type**: multipart/form-data
1617
- - **Accept**: application/json, text/json, application/xml, text/xml
1618
-
1619
-
1620
-
1621
- # **convert_document_png_array_to_pdf**
1622
- > String convert_document_png_array_to_pdf(input_file1, input_file2, opts)
1623
-
1624
- Convert PNG Array to PDF
1625
-
1626
- Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.
1627
-
1628
- ### Example
1629
- ```ruby
1630
- # load the gem
1631
- require 'cloudmersive-convert-api-client'
1632
- # setup authorization
1633
- CloudmersiveConvertApiClient.configure do |config|
1634
- # Configure API key authorization: Apikey
1635
- config.api_key['Apikey'] = 'YOUR API KEY'
1636
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1637
- #config.api_key_prefix['Apikey'] = 'Bearer'
1638
- end
1639
-
1640
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1641
-
1642
- input_file1 = File.new("/path/to/file.txt") # File | First input file to perform the operation on.
1643
-
1644
- input_file2 = File.new("/path/to/file.txt") # File | Second input file to perform the operation on.
1645
-
1646
- opts = {
1647
- input_file3: File.new("/path/to/file.txt"), # File | Third input file to perform the operation on.
1648
- input_file4: File.new("/path/to/file.txt"), # File | Fourth input file to perform the operation on.
1649
- input_file5: File.new("/path/to/file.txt"), # File | Fifth input file to perform the operation on.
1650
- input_file6: File.new("/path/to/file.txt"), # File | Sixth input file to perform the operation on.
1651
- input_file7: File.new("/path/to/file.txt"), # File | Seventh input file to perform the operation on.
1652
- input_file8: File.new("/path/to/file.txt"), # File | Eighth input file to perform the operation on.
1653
- input_file9: File.new("/path/to/file.txt"), # File | Ninth input file to perform the operation on.
1654
- input_file10: File.new("/path/to/file.txt") # File | Tenth input file to perform the operation on.
1655
- }
1656
-
1657
- begin
1658
- #Convert PNG Array to PDF
1659
- result = api_instance.convert_document_png_array_to_pdf(input_file1, input_file2, opts)
1660
- p result
1661
- rescue CloudmersiveConvertApiClient::ApiError => e
1662
- puts "Exception when calling ConvertDocumentApi->convert_document_png_array_to_pdf: #{e}"
1663
- end
1664
- ```
1665
-
1666
- ### Parameters
1667
-
1668
- Name | Type | Description | Notes
1669
- ------------- | ------------- | ------------- | -------------
1670
- **input_file1** | **File**| First input file to perform the operation on. |
1671
- **input_file2** | **File**| Second input file to perform the operation on. |
1672
- **input_file3** | **File**| Third input file to perform the operation on. | [optional]
1673
- **input_file4** | **File**| Fourth input file to perform the operation on. | [optional]
1674
- **input_file5** | **File**| Fifth input file to perform the operation on. | [optional]
1675
- **input_file6** | **File**| Sixth input file to perform the operation on. | [optional]
1676
- **input_file7** | **File**| Seventh input file to perform the operation on. | [optional]
1677
- **input_file8** | **File**| Eighth input file to perform the operation on. | [optional]
1678
- **input_file9** | **File**| Ninth input file to perform the operation on. | [optional]
1679
- **input_file10** | **File**| Tenth input file to perform the operation on. | [optional]
1680
-
1681
- ### Return type
1682
-
1683
- **String**
1684
-
1685
- ### Authorization
1686
-
1687
- [Apikey](../README.md#Apikey)
1688
-
1689
- ### HTTP request headers
1690
-
1691
- - **Content-Type**: multipart/form-data
1692
- - **Accept**: application/octet-stream
1693
-
1694
-
1695
-
1696
- # **convert_document_ppt_to_pdf**
1697
- > String convert_document_ppt_to_pdf(input_file)
1698
-
1699
- Convert PowerPoint PPT (97-03) Presentation to PDF
1700
-
1701
- Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
1702
-
1703
- ### Example
1704
- ```ruby
1705
- # load the gem
1706
- require 'cloudmersive-convert-api-client'
1707
- # setup authorization
1708
- CloudmersiveConvertApiClient.configure do |config|
1709
- # Configure API key authorization: Apikey
1710
- config.api_key['Apikey'] = 'YOUR API KEY'
1711
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1712
- #config.api_key_prefix['Apikey'] = 'Bearer'
1713
- end
1714
-
1715
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1716
-
1717
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1718
-
1719
-
1720
- begin
1721
- #Convert PowerPoint PPT (97-03) Presentation to PDF
1722
- result = api_instance.convert_document_ppt_to_pdf(input_file)
1723
- p result
1724
- rescue CloudmersiveConvertApiClient::ApiError => e
1725
- puts "Exception when calling ConvertDocumentApi->convert_document_ppt_to_pdf: #{e}"
1726
- end
1727
- ```
1728
-
1729
- ### Parameters
1730
-
1731
- Name | Type | Description | Notes
1732
- ------------- | ------------- | ------------- | -------------
1733
- **input_file** | **File**| Input file to perform the operation on. |
1734
-
1735
- ### Return type
1736
-
1737
- **String**
1738
-
1739
- ### Authorization
1740
-
1741
- [Apikey](../README.md#Apikey)
1742
-
1743
- ### HTTP request headers
1744
-
1745
- - **Content-Type**: multipart/form-data
1746
- - **Accept**: application/octet-stream
1747
-
1748
-
1749
-
1750
- # **convert_document_ppt_to_pptx**
1751
- > String convert_document_ppt_to_pptx(input_file)
1752
-
1753
- Convert PowerPoint PPT (97-03) Presentation to PPTX
1754
-
1755
- Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
1756
-
1757
- ### Example
1758
- ```ruby
1759
- # load the gem
1760
- require 'cloudmersive-convert-api-client'
1761
- # setup authorization
1762
- CloudmersiveConvertApiClient.configure do |config|
1763
- # Configure API key authorization: Apikey
1764
- config.api_key['Apikey'] = 'YOUR API KEY'
1765
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1766
- #config.api_key_prefix['Apikey'] = 'Bearer'
1767
- end
1768
-
1769
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1770
-
1771
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1772
-
1773
-
1774
- begin
1775
- #Convert PowerPoint PPT (97-03) Presentation to PPTX
1776
- result = api_instance.convert_document_ppt_to_pptx(input_file)
1777
- p result
1778
- rescue CloudmersiveConvertApiClient::ApiError => e
1779
- puts "Exception when calling ConvertDocumentApi->convert_document_ppt_to_pptx: #{e}"
1780
- end
1781
- ```
1782
-
1783
- ### Parameters
1784
-
1785
- Name | Type | Description | Notes
1786
- ------------- | ------------- | ------------- | -------------
1787
- **input_file** | **File**| Input file to perform the operation on. |
1788
-
1789
- ### Return type
1790
-
1791
- **String**
1792
-
1793
- ### Authorization
1794
-
1795
- [Apikey](../README.md#Apikey)
1796
-
1797
- ### HTTP request headers
1798
-
1799
- - **Content-Type**: multipart/form-data
1800
- - **Accept**: application/octet-stream
1801
-
1802
-
1803
-
1804
- # **convert_document_pptx_to_pdf**
1805
- > String convert_document_pptx_to_pdf(input_file)
1806
-
1807
- Convert PowerPoint PPTX Presentation to PDF
1808
-
1809
- Convert Office PowerPoint Documents (pptx) to standard PDF
1810
-
1811
- ### Example
1812
- ```ruby
1813
- # load the gem
1814
- require 'cloudmersive-convert-api-client'
1815
- # setup authorization
1816
- CloudmersiveConvertApiClient.configure do |config|
1817
- # Configure API key authorization: Apikey
1818
- config.api_key['Apikey'] = 'YOUR API KEY'
1819
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1820
- #config.api_key_prefix['Apikey'] = 'Bearer'
1821
- end
1822
-
1823
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1824
-
1825
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1826
-
1827
-
1828
- begin
1829
- #Convert PowerPoint PPTX Presentation to PDF
1830
- result = api_instance.convert_document_pptx_to_pdf(input_file)
1831
- p result
1832
- rescue CloudmersiveConvertApiClient::ApiError => e
1833
- puts "Exception when calling ConvertDocumentApi->convert_document_pptx_to_pdf: #{e}"
1834
- end
1835
- ```
1836
-
1837
- ### Parameters
1838
-
1839
- Name | Type | Description | Notes
1840
- ------------- | ------------- | ------------- | -------------
1841
- **input_file** | **File**| Input file to perform the operation on. |
1842
-
1843
- ### Return type
1844
-
1845
- **String**
1846
-
1847
- ### Authorization
1848
-
1849
- [Apikey](../README.md#Apikey)
1850
-
1851
- ### HTTP request headers
1852
-
1853
- - **Content-Type**: multipart/form-data
1854
- - **Accept**: application/octet-stream
1855
-
1856
-
1857
-
1858
- # **convert_document_pptx_to_png**
1859
- > PptxToPngResult convert_document_pptx_to_png(input_file)
1860
-
1861
- Convert PowerPoint PPTX to PNG image array
1862
-
1863
- Converts a PowerPoint Presentation (PPTX) file to an array of PNG images, one for each page.
1864
-
1865
- ### Example
1866
- ```ruby
1867
- # load the gem
1868
- require 'cloudmersive-convert-api-client'
1869
- # setup authorization
1870
- CloudmersiveConvertApiClient.configure do |config|
1871
- # Configure API key authorization: Apikey
1872
- config.api_key['Apikey'] = 'YOUR API KEY'
1873
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1874
- #config.api_key_prefix['Apikey'] = 'Bearer'
1875
- end
1876
-
1877
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1878
-
1879
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1880
-
1881
-
1882
- begin
1883
- #Convert PowerPoint PPTX to PNG image array
1884
- result = api_instance.convert_document_pptx_to_png(input_file)
1885
- p result
1886
- rescue CloudmersiveConvertApiClient::ApiError => e
1887
- puts "Exception when calling ConvertDocumentApi->convert_document_pptx_to_png: #{e}"
1888
- end
1889
- ```
1890
-
1891
- ### Parameters
1892
-
1893
- Name | Type | Description | Notes
1894
- ------------- | ------------- | ------------- | -------------
1895
- **input_file** | **File**| Input file to perform the operation on. |
1896
-
1897
- ### Return type
1898
-
1899
- [**PptxToPngResult**](PptxToPngResult.md)
1900
-
1901
- ### Authorization
1902
-
1903
- [Apikey](../README.md#Apikey)
1904
-
1905
- ### HTTP request headers
1906
-
1907
- - **Content-Type**: multipart/form-data
1908
- - **Accept**: application/json, text/json, application/xml, text/xml
1909
-
1910
-
1911
-
1912
- # **convert_document_pptx_to_txt**
1913
- > TextConversionResult convert_document_pptx_to_txt(input_file)
1914
-
1915
- Convert PowerPoint PPTX Presentation to Text (txt)
1916
-
1917
- Convert Office PowerPoint Documents (pptx) to standard Text
1918
-
1919
- ### Example
1920
- ```ruby
1921
- # load the gem
1922
- require 'cloudmersive-convert-api-client'
1923
- # setup authorization
1924
- CloudmersiveConvertApiClient.configure do |config|
1925
- # Configure API key authorization: Apikey
1926
- config.api_key['Apikey'] = 'YOUR API KEY'
1927
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1928
- #config.api_key_prefix['Apikey'] = 'Bearer'
1929
- end
1930
-
1931
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1932
-
1933
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1934
-
1935
-
1936
- begin
1937
- #Convert PowerPoint PPTX Presentation to Text (txt)
1938
- result = api_instance.convert_document_pptx_to_txt(input_file)
1939
- p result
1940
- rescue CloudmersiveConvertApiClient::ApiError => e
1941
- puts "Exception when calling ConvertDocumentApi->convert_document_pptx_to_txt: #{e}"
1942
- end
1943
- ```
1944
-
1945
- ### Parameters
1946
-
1947
- Name | Type | Description | Notes
1948
- ------------- | ------------- | ------------- | -------------
1949
- **input_file** | **File**| Input file to perform the operation on. |
1950
-
1951
- ### Return type
1952
-
1953
- [**TextConversionResult**](TextConversionResult.md)
1954
-
1955
- ### Authorization
1956
-
1957
- [Apikey](../README.md#Apikey)
1958
-
1959
- ### HTTP request headers
1960
-
1961
- - **Content-Type**: multipart/form-data
1962
- - **Accept**: application/json, text/json, application/xml, text/xml
1963
-
1964
-
1965
-
1966
- # **convert_document_xls_to_csv**
1967
- > String convert_document_xls_to_csv(input_file)
1968
-
1969
- Convert Excel XLS (97-03) Spreadsheet to CSV
1970
-
1971
- Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format.
1972
-
1973
- ### Example
1974
- ```ruby
1975
- # load the gem
1976
- require 'cloudmersive-convert-api-client'
1977
- # setup authorization
1978
- CloudmersiveConvertApiClient.configure do |config|
1979
- # Configure API key authorization: Apikey
1980
- config.api_key['Apikey'] = 'YOUR API KEY'
1981
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1982
- #config.api_key_prefix['Apikey'] = 'Bearer'
1983
- end
1984
-
1985
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
1986
-
1987
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
1988
-
1989
-
1990
- begin
1991
- #Convert Excel XLS (97-03) Spreadsheet to CSV
1992
- result = api_instance.convert_document_xls_to_csv(input_file)
1993
- p result
1994
- rescue CloudmersiveConvertApiClient::ApiError => e
1995
- puts "Exception when calling ConvertDocumentApi->convert_document_xls_to_csv: #{e}"
1996
- end
1997
- ```
1998
-
1999
- ### Parameters
2000
-
2001
- Name | Type | Description | Notes
2002
- ------------- | ------------- | ------------- | -------------
2003
- **input_file** | **File**| Input file to perform the operation on. |
2004
-
2005
- ### Return type
2006
-
2007
- **String**
2008
-
2009
- ### Authorization
2010
-
2011
- [Apikey](../README.md#Apikey)
2012
-
2013
- ### HTTP request headers
2014
-
2015
- - **Content-Type**: multipart/form-data
2016
- - **Accept**: application/octet-stream
2017
-
2018
-
2019
-
2020
- # **convert_document_xls_to_pdf**
2021
- > String convert_document_xls_to_pdf(input_file)
2022
-
2023
- Convert Excel XLS (97-03) Spreadsheet to PDF
2024
-
2025
- Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
2026
-
2027
- ### Example
2028
- ```ruby
2029
- # load the gem
2030
- require 'cloudmersive-convert-api-client'
2031
- # setup authorization
2032
- CloudmersiveConvertApiClient.configure do |config|
2033
- # Configure API key authorization: Apikey
2034
- config.api_key['Apikey'] = 'YOUR API KEY'
2035
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2036
- #config.api_key_prefix['Apikey'] = 'Bearer'
2037
- end
2038
-
2039
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2040
-
2041
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2042
-
2043
-
2044
- begin
2045
- #Convert Excel XLS (97-03) Spreadsheet to PDF
2046
- result = api_instance.convert_document_xls_to_pdf(input_file)
2047
- p result
2048
- rescue CloudmersiveConvertApiClient::ApiError => e
2049
- puts "Exception when calling ConvertDocumentApi->convert_document_xls_to_pdf: #{e}"
2050
- end
2051
- ```
2052
-
2053
- ### Parameters
2054
-
2055
- Name | Type | Description | Notes
2056
- ------------- | ------------- | ------------- | -------------
2057
- **input_file** | **File**| Input file to perform the operation on. |
2058
-
2059
- ### Return type
2060
-
2061
- **String**
2062
-
2063
- ### Authorization
2064
-
2065
- [Apikey](../README.md#Apikey)
2066
-
2067
- ### HTTP request headers
2068
-
2069
- - **Content-Type**: multipart/form-data
2070
- - **Accept**: application/octet-stream
2071
-
2072
-
2073
-
2074
- # **convert_document_xls_to_xlsx**
2075
- > String convert_document_xls_to_xlsx(input_file)
2076
-
2077
- Convert Excel XLS (97-03) Spreadsheet to XLSX
2078
-
2079
- Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
2080
-
2081
- ### Example
2082
- ```ruby
2083
- # load the gem
2084
- require 'cloudmersive-convert-api-client'
2085
- # setup authorization
2086
- CloudmersiveConvertApiClient.configure do |config|
2087
- # Configure API key authorization: Apikey
2088
- config.api_key['Apikey'] = 'YOUR API KEY'
2089
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2090
- #config.api_key_prefix['Apikey'] = 'Bearer'
2091
- end
2092
-
2093
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2094
-
2095
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2096
-
2097
-
2098
- begin
2099
- #Convert Excel XLS (97-03) Spreadsheet to XLSX
2100
- result = api_instance.convert_document_xls_to_xlsx(input_file)
2101
- p result
2102
- rescue CloudmersiveConvertApiClient::ApiError => e
2103
- puts "Exception when calling ConvertDocumentApi->convert_document_xls_to_xlsx: #{e}"
2104
- end
2105
- ```
2106
-
2107
- ### Parameters
2108
-
2109
- Name | Type | Description | Notes
2110
- ------------- | ------------- | ------------- | -------------
2111
- **input_file** | **File**| Input file to perform the operation on. |
2112
-
2113
- ### Return type
2114
-
2115
- **String**
2116
-
2117
- ### Authorization
2118
-
2119
- [Apikey](../README.md#Apikey)
2120
-
2121
- ### HTTP request headers
2122
-
2123
- - **Content-Type**: multipart/form-data
2124
- - **Accept**: application/octet-stream
2125
-
2126
-
2127
-
2128
- # **convert_document_xlsx_to_csv**
2129
- > String convert_document_xlsx_to_csv(input_file, opts)
2130
-
2131
- Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
2132
-
2133
- Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format. Supports both XLSX and XLSB file Excel formats. If the input file contains multiple worksheets, the first one is used. If you wish to convert all of the worksheets (not just the first one), be sure to use the xlsx/to/csv/multi API.
2134
-
2135
- ### Example
2136
- ```ruby
2137
- # load the gem
2138
- require 'cloudmersive-convert-api-client'
2139
- # setup authorization
2140
- CloudmersiveConvertApiClient.configure do |config|
2141
- # Configure API key authorization: Apikey
2142
- config.api_key['Apikey'] = 'YOUR API KEY'
2143
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2144
- #config.api_key_prefix['Apikey'] = 'Bearer'
2145
- end
2146
-
2147
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2148
-
2149
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2150
-
2151
- opts = {
2152
- output_encoding: "output_encoding_example" # String | Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
2153
- }
2154
-
2155
- begin
2156
- #Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
2157
- result = api_instance.convert_document_xlsx_to_csv(input_file, opts)
2158
- p result
2159
- rescue CloudmersiveConvertApiClient::ApiError => e
2160
- puts "Exception when calling ConvertDocumentApi->convert_document_xlsx_to_csv: #{e}"
2161
- end
2162
- ```
2163
-
2164
- ### Parameters
2165
-
2166
- Name | Type | Description | Notes
2167
- ------------- | ------------- | ------------- | -------------
2168
- **input_file** | **File**| Input file to perform the operation on. |
2169
- **output_encoding** | **String**| Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8. | [optional]
2170
-
2171
- ### Return type
2172
-
2173
- **String**
2174
-
2175
- ### Authorization
2176
-
2177
- [Apikey](../README.md#Apikey)
2178
-
2179
- ### HTTP request headers
2180
-
2181
- - **Content-Type**: multipart/form-data
2182
- - **Accept**: application/octet-stream
2183
-
2184
-
2185
-
2186
- # **convert_document_xlsx_to_csv_multi**
2187
- > CsvCollection convert_document_xlsx_to_csv_multi(input_file, opts)
2188
-
2189
- Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
2190
-
2191
- Convert Office Excel Workbooks (XLSX) to standard Comma-Separated Values (CSV) format, with support for multiple worksheets. Supports both XLSX and XLSB file Excel formats. Returns multiple CSV files, one for each worksheet (tab) in the spreadsheet.
2192
-
2193
- ### Example
2194
- ```ruby
2195
- # load the gem
2196
- require 'cloudmersive-convert-api-client'
2197
- # setup authorization
2198
- CloudmersiveConvertApiClient.configure do |config|
2199
- # Configure API key authorization: Apikey
2200
- config.api_key['Apikey'] = 'YOUR API KEY'
2201
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2202
- #config.api_key_prefix['Apikey'] = 'Bearer'
2203
- end
2204
-
2205
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2206
-
2207
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2208
-
2209
- opts = {
2210
- output_encoding: "output_encoding_example" # String | Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
2211
- }
2212
-
2213
- begin
2214
- #Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
2215
- result = api_instance.convert_document_xlsx_to_csv_multi(input_file, opts)
2216
- p result
2217
- rescue CloudmersiveConvertApiClient::ApiError => e
2218
- puts "Exception when calling ConvertDocumentApi->convert_document_xlsx_to_csv_multi: #{e}"
2219
- end
2220
- ```
2221
-
2222
- ### Parameters
2223
-
2224
- Name | Type | Description | Notes
2225
- ------------- | ------------- | ------------- | -------------
2226
- **input_file** | **File**| Input file to perform the operation on. |
2227
- **output_encoding** | **String**| Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8. | [optional]
2228
-
2229
- ### Return type
2230
-
2231
- [**CsvCollection**](CsvCollection.md)
2232
-
2233
- ### Authorization
2234
-
2235
- [Apikey](../README.md#Apikey)
2236
-
2237
- ### HTTP request headers
2238
-
2239
- - **Content-Type**: multipart/form-data
2240
- - **Accept**: application/octet-stream
2241
-
2242
-
2243
-
2244
- # **convert_document_xlsx_to_pdf**
2245
- > String convert_document_xlsx_to_pdf(input_file)
2246
-
2247
- Convert Excel XLSX Spreadsheet to PDF
2248
-
2249
- Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.
2250
-
2251
- ### Example
2252
- ```ruby
2253
- # load the gem
2254
- require 'cloudmersive-convert-api-client'
2255
- # setup authorization
2256
- CloudmersiveConvertApiClient.configure do |config|
2257
- # Configure API key authorization: Apikey
2258
- config.api_key['Apikey'] = 'YOUR API KEY'
2259
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2260
- #config.api_key_prefix['Apikey'] = 'Bearer'
2261
- end
2262
-
2263
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2264
-
2265
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2266
-
2267
-
2268
- begin
2269
- #Convert Excel XLSX Spreadsheet to PDF
2270
- result = api_instance.convert_document_xlsx_to_pdf(input_file)
2271
- p result
2272
- rescue CloudmersiveConvertApiClient::ApiError => e
2273
- puts "Exception when calling ConvertDocumentApi->convert_document_xlsx_to_pdf: #{e}"
2274
- end
2275
- ```
2276
-
2277
- ### Parameters
2278
-
2279
- Name | Type | Description | Notes
2280
- ------------- | ------------- | ------------- | -------------
2281
- **input_file** | **File**| Input file to perform the operation on. |
2282
-
2283
- ### Return type
2284
-
2285
- **String**
2286
-
2287
- ### Authorization
2288
-
2289
- [Apikey](../README.md#Apikey)
2290
-
2291
- ### HTTP request headers
2292
-
2293
- - **Content-Type**: multipart/form-data
2294
- - **Accept**: application/octet-stream
2295
-
2296
-
2297
-
2298
- # **convert_document_xlsx_to_png**
2299
- > XlsxToPngResult convert_document_xlsx_to_png(input_file)
2300
-
2301
- Convert Excel XLSX spreadsheet to PNG image array
2302
-
2303
- Converts an Excel Spreadsheet (XLSX) file to an array of PNG images, one for each page.
2304
-
2305
- ### Example
2306
- ```ruby
2307
- # load the gem
2308
- require 'cloudmersive-convert-api-client'
2309
- # setup authorization
2310
- CloudmersiveConvertApiClient.configure do |config|
2311
- # Configure API key authorization: Apikey
2312
- config.api_key['Apikey'] = 'YOUR API KEY'
2313
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2314
- #config.api_key_prefix['Apikey'] = 'Bearer'
2315
- end
2316
-
2317
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2318
-
2319
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2320
-
2321
-
2322
- begin
2323
- #Convert Excel XLSX spreadsheet to PNG image array
2324
- result = api_instance.convert_document_xlsx_to_png(input_file)
2325
- p result
2326
- rescue CloudmersiveConvertApiClient::ApiError => e
2327
- puts "Exception when calling ConvertDocumentApi->convert_document_xlsx_to_png: #{e}"
2328
- end
2329
- ```
2330
-
2331
- ### Parameters
2332
-
2333
- Name | Type | Description | Notes
2334
- ------------- | ------------- | ------------- | -------------
2335
- **input_file** | **File**| Input file to perform the operation on. |
2336
-
2337
- ### Return type
2338
-
2339
- [**XlsxToPngResult**](XlsxToPngResult.md)
2340
-
2341
- ### Authorization
2342
-
2343
- [Apikey](../README.md#Apikey)
2344
-
2345
- ### HTTP request headers
2346
-
2347
- - **Content-Type**: multipart/form-data
2348
- - **Accept**: application/json, text/json, application/xml, text/xml
2349
-
2350
-
2351
-
2352
- # **convert_document_xlsx_to_txt**
2353
- > TextConversionResult convert_document_xlsx_to_txt(input_file)
2354
-
2355
- Convert Excel XLSX Spreadsheet to Text (txt)
2356
-
2357
- Convert Office Excel Workbooks (XLSX) to standard Text. Converts all worksheets in the workbook to Text. Supports both XLSX and XLSB file formats. When a spreadsheet contains multiple worksheets, will export all of the text from all of the worksheets. If you wish to export the text from only one worksheet, try using the Split XLSX API to split the spreadsheet into multiple worksheet files, and then run XLSX to Text on the individual worksheet file that you need to extract the text from.
2358
-
2359
- ### Example
2360
- ```ruby
2361
- # load the gem
2362
- require 'cloudmersive-convert-api-client'
2363
- # setup authorization
2364
- CloudmersiveConvertApiClient.configure do |config|
2365
- # Configure API key authorization: Apikey
2366
- config.api_key['Apikey'] = 'YOUR API KEY'
2367
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
2368
- #config.api_key_prefix['Apikey'] = 'Bearer'
2369
- end
2370
-
2371
- api_instance = CloudmersiveConvertApiClient::ConvertDocumentApi.new
2372
-
2373
- input_file = File.new("/path/to/file.txt") # File | Input file to perform the operation on.
2374
-
2375
-
2376
- begin
2377
- #Convert Excel XLSX Spreadsheet to Text (txt)
2378
- result = api_instance.convert_document_xlsx_to_txt(input_file)
2379
- p result
2380
- rescue CloudmersiveConvertApiClient::ApiError => e
2381
- puts "Exception when calling ConvertDocumentApi->convert_document_xlsx_to_txt: #{e}"
2382
- end
2383
- ```
2384
-
2385
- ### Parameters
2386
-
2387
- Name | Type | Description | Notes
2388
- ------------- | ------------- | ------------- | -------------
2389
- **input_file** | **File**| Input file to perform the operation on. |
2390
-
2391
- ### Return type
2392
-
2393
- [**TextConversionResult**](TextConversionResult.md)
2394
-
2395
- ### Authorization
2396
-
2397
- [Apikey](../README.md#Apikey)
2398
-
2399
- ### HTTP request headers
2400
-
2401
- - **Content-Type**: multipart/form-data
2402
- - **Accept**: application/json, text/json, application/xml, text/xml
2403
-
2404
-
2405
-