cloudmersive-convert-api-client 1.7.5 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +3 -664
- data/Gemfile +0 -7
- data/README.md +0 -482
- data/Rakefile +0 -8
- data/cloudmersive-convert-api-client.gemspec +0 -45
- data/docs/AddPdfAnnotationRequest.md +0 -9
- data/docs/AlternateFileFormatCandidate.md +0 -10
- data/docs/AutodetectDocumentValidationResult.md +0 -12
- data/docs/AutodetectGetInfoResult.md +0 -14
- data/docs/AutodetectToPngResult.md +0 -9
- data/docs/Base64DecodeRequest.md +0 -8
- data/docs/Base64DecodeResponse.md +0 -9
- data/docs/Base64DetectRequest.md +0 -8
- data/docs/Base64DetectResponse.md +0 -9
- data/docs/Base64EncodeRequest.md +0 -8
- data/docs/Base64EncodeResponse.md +0 -9
- data/docs/ChangeLineEndingResponse.md +0 -9
- data/docs/ClearXlsxCellRequest.md +0 -12
- data/docs/ClearXlsxCellResponse.md +0 -9
- data/docs/CompareDocumentApi.md +0 -66
- data/docs/ConvertDataApi.md +0 -898
- data/docs/ConvertDocumentApi.md +0 -1754
- data/docs/ConvertImageApi.md +0 -243
- data/docs/ConvertTemplateApi.md +0 -122
- data/docs/ConvertWebApi.md +0 -448
- data/docs/ConvertedPngPage.md +0 -9
- data/docs/CreateBlankDocxRequest.md +0 -8
- data/docs/CreateBlankDocxResponse.md +0 -9
- data/docs/CreateBlankSpreadsheetRequest.md +0 -8
- data/docs/CreateBlankSpreadsheetResponse.md +0 -9
- data/docs/CreateSpreadsheetFromDataRequest.md +0 -9
- data/docs/CreateSpreadsheetFromDataResponse.md +0 -9
- data/docs/CreateZipArchiveRequest.md +0 -9
- data/docs/CsvCollection.md +0 -10
- data/docs/CsvFileResult.md +0 -9
- data/docs/DeleteDocxTableRowRangeRequest.md +0 -12
- data/docs/DeleteDocxTableRowRangeResponse.md +0 -9
- data/docs/DeleteDocxTableRowRequest.md +0 -11
- data/docs/DeleteDocxTableRowResponse.md +0 -9
- data/docs/DetectLineEndingsResponse.md +0 -11
- data/docs/DisableSharedWorkbookRequest.md +0 -9
- data/docs/DisableSharedWorkbookResponse.md +0 -9
- data/docs/DocumentValidationError.md +0 -11
- data/docs/DocumentValidationResult.md +0 -12
- data/docs/DocxBody.md +0 -10
- data/docs/DocxCellStyle.md +0 -11
- data/docs/DocxComment.md +0 -16
- data/docs/DocxFooter.md +0 -10
- data/docs/DocxHeader.md +0 -10
- data/docs/DocxImage.md +0 -20
- data/docs/DocxInsertCommentOnParagraphRequest.md +0 -11
- data/docs/DocxInsertImageRequest.md +0 -16
- data/docs/DocxInsertImageResponse.md +0 -9
- data/docs/DocxPage.md +0 -9
- data/docs/DocxParagraph.md +0 -11
- data/docs/DocxRemoveObjectRequest.md +0 -10
- data/docs/DocxRemoveObjectResponse.md +0 -9
- data/docs/DocxRun.md +0 -15
- data/docs/DocxSection.md +0 -9
- data/docs/DocxSetFooterAddPageNumberRequest.md +0 -10
- data/docs/DocxSetFooterRequest.md +0 -10
- data/docs/DocxSetFooterResponse.md +0 -9
- data/docs/DocxSetHeaderRequest.md +0 -10
- data/docs/DocxSetHeaderResponse.md +0 -9
- data/docs/DocxStyle.md +0 -14
- data/docs/DocxTable.md +0 -46
- data/docs/DocxTableCell.md +0 -15
- data/docs/DocxTableRow.md +0 -10
- data/docs/DocxTemplateApplicationRequest.md +0 -8
- data/docs/DocxTemplateOperation.md +0 -10
- data/docs/DocxText.md +0 -10
- data/docs/DocxTopLevelComment.md +0 -14
- data/docs/EditDocumentApi.md +0 -2758
- data/docs/EditPdfApi.md +0 -1083
- data/docs/EditTextApi.md +0 -726
- data/docs/EnableSharedWorkbookRequest.md +0 -9
- data/docs/EnableSharedWorkbookResponse.md +0 -9
- data/docs/ExifValue.md +0 -10
- data/docs/FindDocxParagraphRequest.md +0 -11
- data/docs/FindDocxParagraphResponse.md +0 -10
- data/docs/FindRegexMatch.md +0 -12
- data/docs/FindStringMatch.md +0 -10
- data/docs/FindStringRegexRequest.md +0 -10
- data/docs/FindStringRegexResponse.md +0 -10
- data/docs/FindStringSimpleRequest.md +0 -9
- data/docs/FindStringSimpleResponse.md +0 -10
- data/docs/FinishEditingRequest.md +0 -8
- data/docs/GetDocxBodyRequest.md +0 -9
- data/docs/GetDocxBodyResponse.md +0 -9
- data/docs/GetDocxCommentsHierarchicalResponse.md +0 -10
- data/docs/GetDocxCommentsResponse.md +0 -10
- data/docs/GetDocxGetCommentsHierarchicalRequest.md +0 -9
- data/docs/GetDocxGetCommentsRequest.md +0 -9
- data/docs/GetDocxHeadersAndFootersRequest.md +0 -9
- data/docs/GetDocxHeadersAndFootersResponse.md +0 -10
- data/docs/GetDocxImagesRequest.md +0 -9
- data/docs/GetDocxImagesResponse.md +0 -9
- data/docs/GetDocxPagesRequest.md +0 -10
- data/docs/GetDocxPagesResponse.md +0 -10
- data/docs/GetDocxSectionsRequest.md +0 -9
- data/docs/GetDocxSectionsResponse.md +0 -9
- data/docs/GetDocxStylesRequest.md +0 -9
- data/docs/GetDocxStylesResponse.md +0 -9
- data/docs/GetDocxTableByIndexRequest.md +0 -10
- data/docs/GetDocxTableByIndexResponse.md +0 -9
- data/docs/GetDocxTableRowRequest.md +0 -11
- data/docs/GetDocxTableRowResponse.md +0 -9
- data/docs/GetDocxTablesRequest.md +0 -9
- data/docs/GetDocxTablesResponse.md +0 -9
- data/docs/GetImageInfoResult.md +0 -24
- data/docs/GetPdfAnnotationsResult.md +0 -9
- data/docs/GetXlsxCellByIdentifierRequest.md +0 -11
- data/docs/GetXlsxCellByIdentifierResponse.md +0 -9
- data/docs/GetXlsxCellRequest.md +0 -12
- data/docs/GetXlsxCellResponse.md +0 -9
- data/docs/GetXlsxColumnsRequest.md +0 -10
- data/docs/GetXlsxColumnsResponse.md +0 -9
- data/docs/GetXlsxImagesRequest.md +0 -10
- data/docs/GetXlsxImagesResponse.md +0 -9
- data/docs/GetXlsxRowsAndCellsRequest.md +0 -10
- data/docs/GetXlsxRowsAndCellsResponse.md +0 -9
- data/docs/GetXlsxStylesRequest.md +0 -9
- data/docs/GetXlsxStylesResponse.md +0 -9
- data/docs/GetXlsxWorksheetsRequest.md +0 -9
- data/docs/GetXlsxWorksheetsResponse.md +0 -9
- data/docs/HtmlMdResult.md +0 -9
- data/docs/HtmlTemplateApplicationRequest.md +0 -10
- data/docs/HtmlTemplateApplicationResponse.md +0 -9
- data/docs/HtmlTemplateOperation.md +0 -10
- data/docs/HtmlToOfficeRequest.md +0 -8
- data/docs/HtmlToPdfRequest.md +0 -9
- data/docs/HtmlToPngRequest.md +0 -11
- data/docs/HtmlToTextRequest.md +0 -8
- data/docs/HtmlToTextResponse.md +0 -9
- data/docs/InsertDocxCommentOnParagraphResponse.md +0 -9
- data/docs/InsertDocxInsertParagraphRequest.md +0 -12
- data/docs/InsertDocxInsertParagraphResponse.md +0 -9
- data/docs/InsertDocxTableRowRequest.md +0 -12
- data/docs/InsertDocxTableRowResponse.md +0 -9
- data/docs/InsertDocxTablesRequest.md +0 -12
- data/docs/InsertDocxTablesResponse.md +0 -9
- data/docs/InsertXlsxWorksheetRequest.md +0 -10
- data/docs/InsertXlsxWorksheetResponse.md +0 -9
- data/docs/MergeDocumentApi.md +0 -812
- data/docs/MultipageImageFormatConversionResult.md +0 -10
- data/docs/PageConversionResult.md +0 -9
- data/docs/PdfAnnotation.md +0 -19
- data/docs/PdfDocument.md +0 -10
- data/docs/PdfFormField.md +0 -11
- data/docs/PdfFormFields.md +0 -9
- data/docs/PdfMetadata.md +0 -16
- data/docs/PdfPageText.md +0 -9
- data/docs/PdfTextByPageResult.md +0 -9
- data/docs/PdfToPngResult.md +0 -9
- data/docs/PresentationResult.md +0 -10
- data/docs/RemoveDocxHeadersAndFootersRequest.md +0 -11
- data/docs/RemoveDocxHeadersAndFootersResponse.md +0 -9
- data/docs/RemoveDocxPagesRequest.md +0 -11
- data/docs/RemoveHtmlFromTextRequest.md +0 -8
- data/docs/RemoveHtmlFromTextResponse.md +0 -9
- data/docs/RemovePptxSlidesRequest.md +0 -11
- data/docs/RemoveWhitespaceFromTextRequest.md +0 -8
- data/docs/RemoveWhitespaceFromTextResponse.md +0 -9
- data/docs/RemoveXlsxWorksheetRequest.md +0 -10
- data/docs/ReplaceDocxParagraphRequest.md +0 -12
- data/docs/ReplaceDocxParagraphResponse.md +0 -9
- data/docs/ReplaceStringRegexRequest.md +0 -10
- data/docs/ReplaceStringRegexResponse.md +0 -9
- data/docs/ReplaceStringRequest.md +0 -12
- data/docs/ReplaceStringSimpleRequest.md +0 -10
- data/docs/ReplaceStringSimpleResponse.md +0 -9
- data/docs/ScreenshotRequest.md +0 -11
- data/docs/SetFormFieldValue.md +0 -11
- data/docs/SetPdfFormFieldsRequest.md +0 -9
- data/docs/SetPdfMetadataRequest.md +0 -9
- data/docs/SetXlsxCellByIdentifierRequest.md +0 -12
- data/docs/SetXlsxCellByIdentifierResponse.md +0 -9
- data/docs/SetXlsxCellRequest.md +0 -13
- data/docs/SetXlsxCellResponse.md +0 -9
- data/docs/SplitDocumentApi.md +0 -361
- data/docs/SplitDocumentResult.md +0 -10
- data/docs/SplitDocxDocumentResult.md +0 -9
- data/docs/SplitPdfResult.md +0 -9
- data/docs/SplitPptxPresentationResult.md +0 -9
- data/docs/SplitTextDocumentByLinesResult.md +0 -10
- data/docs/SplitTextDocumentByStringResult.md +0 -10
- data/docs/SplitXlsxWorksheetResult.md +0 -9
- data/docs/TextConversionResult.md +0 -9
- data/docs/TextDocumentElement.md +0 -9
- data/docs/TextDocumentLine.md +0 -9
- data/docs/TextEncodingDetectResponse.md +0 -9
- data/docs/UpdateDocxTableCellRequest.md +0 -13
- data/docs/UpdateDocxTableCellResponse.md +0 -9
- data/docs/UpdateDocxTableRowRequest.md +0 -12
- data/docs/UpdateDocxTableRowResponse.md +0 -9
- data/docs/UrlToPdfRequest.md +0 -11
- data/docs/UrlToTextRequest.md +0 -8
- data/docs/UrlToTextResponse.md +0 -9
- data/docs/ValidateDocumentApi.md +0 -668
- data/docs/ViewerResponse.md +0 -9
- data/docs/ViewerToolsApi.md +0 -63
- data/docs/WorksheetResult.md +0 -11
- data/docs/XlsxImage.md +0 -12
- data/docs/XlsxSpreadsheetCell.md +0 -12
- data/docs/XlsxSpreadsheetColumn.md +0 -9
- data/docs/XlsxSpreadsheetRow.md +0 -9
- data/docs/XlsxWorksheet.md +0 -9
- data/docs/XmlAddAttributeWithXPathResult.md +0 -10
- data/docs/XmlAddChildWithXPathResult.md +0 -10
- data/docs/XmlFilterWithXPathResult.md +0 -10
- data/docs/XmlQueryWithXQueryMultiResult.md +0 -10
- data/docs/XmlQueryWithXQueryResult.md +0 -10
- data/docs/XmlRemoveAllChildrenWithXPathResult.md +0 -10
- data/docs/XmlRemoveWithXPathResult.md +0 -11
- data/docs/XmlReplaceWithXPathResult.md +0 -10
- data/docs/XmlSetValueWithXPathResult.md +0 -10
- data/docs/ZipArchiveApi.md +0 -306
- data/docs/ZipDirectory.md +0 -10
- data/docs/ZipEncryptionAdvancedRequest.md +0 -10
- data/docs/ZipExtractResponse.md +0 -10
- data/docs/ZipFile.md +0 -9
- data/git_push.sh +0 -55
- data/lib/cloudmersive-convert-api-client.rb +0 -255
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +0 -86
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +0 -978
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +0 -1805
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +0 -277
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +0 -137
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +0 -464
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +0 -2774
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +0 -1181
- data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +0 -748
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +0 -923
- data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +0 -381
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +0 -695
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +0 -79
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +0 -335
- data/lib/cloudmersive-convert-api-client/api_client.rb +0 -389
- data/lib/cloudmersive-convert-api-client/api_error.rb +0 -38
- data/lib/cloudmersive-convert-api-client/configuration.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +0 -217
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +0 -230
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +0 -251
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +0 -205
- data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +0 -203
- data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +0 -231
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +0 -269
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +0 -309
- data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +0 -301
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_page.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +0 -221
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +0 -261
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +0 -249
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +0 -571
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +0 -261
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +0 -191
- data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +0 -242
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +0 -251
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +0 -231
- data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +0 -350
- data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +0 -242
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +0 -299
- data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +0 -269
- data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +0 -217
- data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +0 -215
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +0 -255
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +0 -200
- data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +0 -200
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +0 -210
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +0 -210
- data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +0 -200
- data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +0 -255
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +0 -245
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +0 -219
- data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +0 -189
- data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +0 -197
- data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +0 -235
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +0 -229
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +0 -228
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +0 -201
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +0 -199
- data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +0 -211
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +0 -221
- data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +0 -209
- data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +0 -225
- data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +0 -213
- data/lib/cloudmersive-convert-api-client/models/zip_file.rb +0 -215
- data/lib/cloudmersive-convert-api-client/version.rb +0 -15
- data/spec/api/compare_document_api_spec.rb +0 -48
- data/spec/api/convert_data_api_spec.rb +0 -239
- data/spec/api/convert_document_api_spec.rb +0 -421
- data/spec/api/convert_image_api_spec.rb +0 -88
- data/spec/api/convert_template_api_spec.rb +0 -60
- data/spec/api/convert_web_api_spec.rb +0 -131
- data/spec/api/edit_document_api_spec.rb +0 -635
- data/spec/api/edit_pdf_api_spec.rb +0 -282
- data/spec/api/edit_text_api_spec.rb +0 -192
- data/spec/api/merge_document_api_spec.rb +0 -239
- data/spec/api/split_document_api_spec.rb +0 -113
- data/spec/api/validate_document_api_spec.rb +0 -179
- data/spec/api/viewer_tools_api_spec.rb +0 -47
- data/spec/api/zip_archive_api_spec.rb +0 -105
- data/spec/api_client_spec.rb +0 -226
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/add_pdf_annotation_request_spec.rb +0 -48
- data/spec/models/alternate_file_format_candidate_spec.rb +0 -54
- data/spec/models/autodetect_document_validation_result_spec.rb +0 -66
- data/spec/models/autodetect_get_info_result_spec.rb +0 -78
- data/spec/models/autodetect_to_png_result_spec.rb +0 -48
- data/spec/models/base64_decode_request_spec.rb +0 -42
- data/spec/models/base64_decode_response_spec.rb +0 -48
- data/spec/models/base64_detect_request_spec.rb +0 -42
- data/spec/models/base64_detect_response_spec.rb +0 -48
- data/spec/models/base64_encode_request_spec.rb +0 -42
- data/spec/models/base64_encode_response_spec.rb +0 -48
- data/spec/models/change_line_ending_response_spec.rb +0 -48
- data/spec/models/clear_xlsx_cell_request_spec.rb +0 -66
- data/spec/models/clear_xlsx_cell_response_spec.rb +0 -48
- data/spec/models/converted_png_page_spec.rb +0 -48
- data/spec/models/create_blank_docx_request_spec.rb +0 -42
- data/spec/models/create_blank_docx_response_spec.rb +0 -48
- data/spec/models/create_blank_spreadsheet_request_spec.rb +0 -42
- data/spec/models/create_blank_spreadsheet_response_spec.rb +0 -48
- data/spec/models/create_spreadsheet_from_data_request_spec.rb +0 -48
- data/spec/models/create_spreadsheet_from_data_response_spec.rb +0 -48
- data/spec/models/create_zip_archive_request_spec.rb +0 -48
- data/spec/models/csv_collection_spec.rb +0 -54
- data/spec/models/csv_file_result_spec.rb +0 -48
- data/spec/models/delete_docx_table_row_range_request_spec.rb +0 -66
- data/spec/models/delete_docx_table_row_range_response_spec.rb +0 -48
- data/spec/models/delete_docx_table_row_request_spec.rb +0 -60
- data/spec/models/delete_docx_table_row_response_spec.rb +0 -48
- data/spec/models/detect_line_endings_response_spec.rb +0 -60
- data/spec/models/disable_shared_workbook_request_spec.rb +0 -48
- data/spec/models/disable_shared_workbook_response_spec.rb +0 -48
- data/spec/models/document_validation_error_spec.rb +0 -60
- data/spec/models/document_validation_result_spec.rb +0 -66
- data/spec/models/docx_body_spec.rb +0 -54
- data/spec/models/docx_cell_style_spec.rb +0 -60
- data/spec/models/docx_comment_spec.rb +0 -90
- data/spec/models/docx_footer_spec.rb +0 -54
- data/spec/models/docx_header_spec.rb +0 -54
- data/spec/models/docx_image_spec.rb +0 -114
- data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +0 -60
- data/spec/models/docx_insert_image_request_spec.rb +0 -90
- data/spec/models/docx_insert_image_response_spec.rb +0 -48
- data/spec/models/docx_page_spec.rb +0 -48
- data/spec/models/docx_paragraph_spec.rb +0 -60
- data/spec/models/docx_remove_object_request_spec.rb +0 -54
- data/spec/models/docx_remove_object_response_spec.rb +0 -48
- data/spec/models/docx_run_spec.rb +0 -84
- data/spec/models/docx_section_spec.rb +0 -48
- data/spec/models/docx_set_footer_add_page_number_request_spec.rb +0 -54
- data/spec/models/docx_set_footer_request_spec.rb +0 -54
- data/spec/models/docx_set_footer_response_spec.rb +0 -48
- data/spec/models/docx_set_header_request_spec.rb +0 -54
- data/spec/models/docx_set_header_response_spec.rb +0 -48
- data/spec/models/docx_style_spec.rb +0 -78
- data/spec/models/docx_table_cell_spec.rb +0 -84
- data/spec/models/docx_table_row_spec.rb +0 -54
- data/spec/models/docx_table_spec.rb +0 -270
- data/spec/models/docx_template_application_request_spec.rb +0 -42
- data/spec/models/docx_template_operation_spec.rb +0 -58
- data/spec/models/docx_text_spec.rb +0 -54
- data/spec/models/docx_top_level_comment_spec.rb +0 -78
- data/spec/models/enable_shared_workbook_request_spec.rb +0 -48
- data/spec/models/enable_shared_workbook_response_spec.rb +0 -48
- data/spec/models/exif_value_spec.rb +0 -54
- data/spec/models/find_docx_paragraph_request_spec.rb +0 -60
- data/spec/models/find_docx_paragraph_response_spec.rb +0 -54
- data/spec/models/find_regex_match_spec.rb +0 -66
- data/spec/models/find_string_match_spec.rb +0 -54
- data/spec/models/find_string_regex_request_spec.rb +0 -54
- data/spec/models/find_string_regex_response_spec.rb +0 -54
- data/spec/models/find_string_simple_request_spec.rb +0 -48
- data/spec/models/find_string_simple_response_spec.rb +0 -54
- data/spec/models/finish_editing_request_spec.rb +0 -42
- data/spec/models/get_docx_body_request_spec.rb +0 -48
- data/spec/models/get_docx_body_response_spec.rb +0 -48
- data/spec/models/get_docx_comments_hierarchical_response_spec.rb +0 -54
- data/spec/models/get_docx_comments_response_spec.rb +0 -54
- data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +0 -48
- data/spec/models/get_docx_get_comments_request_spec.rb +0 -48
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +0 -48
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +0 -54
- data/spec/models/get_docx_images_request_spec.rb +0 -48
- data/spec/models/get_docx_images_response_spec.rb +0 -48
- data/spec/models/get_docx_pages_request_spec.rb +0 -54
- data/spec/models/get_docx_pages_response_spec.rb +0 -54
- data/spec/models/get_docx_sections_request_spec.rb +0 -48
- data/spec/models/get_docx_sections_response_spec.rb +0 -48
- data/spec/models/get_docx_styles_request_spec.rb +0 -48
- data/spec/models/get_docx_styles_response_spec.rb +0 -48
- data/spec/models/get_docx_table_by_index_request_spec.rb +0 -54
- data/spec/models/get_docx_table_by_index_response_spec.rb +0 -48
- data/spec/models/get_docx_table_row_request_spec.rb +0 -60
- data/spec/models/get_docx_table_row_response_spec.rb +0 -48
- data/spec/models/get_docx_tables_request_spec.rb +0 -48
- data/spec/models/get_docx_tables_response_spec.rb +0 -48
- data/spec/models/get_image_info_result_spec.rb +0 -138
- data/spec/models/get_pdf_annotations_result_spec.rb +0 -48
- data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +0 -60
- data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +0 -48
- data/spec/models/get_xlsx_cell_request_spec.rb +0 -66
- data/spec/models/get_xlsx_cell_response_spec.rb +0 -48
- data/spec/models/get_xlsx_columns_request_spec.rb +0 -54
- data/spec/models/get_xlsx_columns_response_spec.rb +0 -48
- data/spec/models/get_xlsx_images_request_spec.rb +0 -54
- data/spec/models/get_xlsx_images_response_spec.rb +0 -48
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +0 -54
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +0 -48
- data/spec/models/get_xlsx_styles_request_spec.rb +0 -48
- data/spec/models/get_xlsx_styles_response_spec.rb +0 -48
- data/spec/models/get_xlsx_worksheets_request_spec.rb +0 -48
- data/spec/models/get_xlsx_worksheets_response_spec.rb +0 -48
- data/spec/models/html_md_result_spec.rb +0 -48
- data/spec/models/html_template_application_request_spec.rb +0 -54
- data/spec/models/html_template_application_response_spec.rb +0 -48
- data/spec/models/html_template_operation_spec.rb +0 -58
- data/spec/models/html_to_office_request_spec.rb +0 -42
- data/spec/models/html_to_pdf_request_spec.rb +0 -48
- data/spec/models/html_to_png_request_spec.rb +0 -60
- data/spec/models/html_to_text_request_spec.rb +0 -42
- data/spec/models/html_to_text_response_spec.rb +0 -48
- data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +0 -48
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +0 -66
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +0 -48
- data/spec/models/insert_docx_table_row_request_spec.rb +0 -66
- data/spec/models/insert_docx_table_row_response_spec.rb +0 -48
- data/spec/models/insert_docx_tables_request_spec.rb +0 -66
- data/spec/models/insert_docx_tables_response_spec.rb +0 -48
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +0 -54
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +0 -48
- data/spec/models/multipage_image_format_conversion_result_spec.rb +0 -54
- data/spec/models/page_conversion_result_spec.rb +0 -48
- data/spec/models/pdf_annotation_spec.rb +0 -108
- data/spec/models/pdf_document_spec.rb +0 -54
- data/spec/models/pdf_form_field_spec.rb +0 -60
- data/spec/models/pdf_form_fields_spec.rb +0 -48
- data/spec/models/pdf_metadata_spec.rb +0 -90
- data/spec/models/pdf_page_text_spec.rb +0 -48
- data/spec/models/pdf_text_by_page_result_spec.rb +0 -48
- data/spec/models/pdf_to_png_result_spec.rb +0 -48
- data/spec/models/presentation_result_spec.rb +0 -54
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +0 -60
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +0 -48
- data/spec/models/remove_docx_pages_request_spec.rb +0 -60
- data/spec/models/remove_html_from_text_request_spec.rb +0 -42
- data/spec/models/remove_html_from_text_response_spec.rb +0 -48
- data/spec/models/remove_pptx_slides_request_spec.rb +0 -60
- data/spec/models/remove_whitespace_from_text_request_spec.rb +0 -42
- data/spec/models/remove_whitespace_from_text_response_spec.rb +0 -48
- data/spec/models/remove_xlsx_worksheet_request_spec.rb +0 -54
- data/spec/models/replace_docx_paragraph_request_spec.rb +0 -66
- data/spec/models/replace_docx_paragraph_response_spec.rb +0 -48
- data/spec/models/replace_string_regex_request_spec.rb +0 -54
- data/spec/models/replace_string_regex_response_spec.rb +0 -48
- data/spec/models/replace_string_request_spec.rb +0 -66
- data/spec/models/replace_string_simple_request_spec.rb +0 -54
- data/spec/models/replace_string_simple_response_spec.rb +0 -48
- data/spec/models/screenshot_request_spec.rb +0 -60
- data/spec/models/set_form_field_value_spec.rb +0 -60
- data/spec/models/set_pdf_form_fields_request_spec.rb +0 -48
- data/spec/models/set_pdf_metadata_request_spec.rb +0 -48
- data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +0 -66
- data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +0 -48
- data/spec/models/set_xlsx_cell_request_spec.rb +0 -72
- data/spec/models/set_xlsx_cell_response_spec.rb +0 -48
- data/spec/models/split_document_result_spec.rb +0 -54
- data/spec/models/split_docx_document_result_spec.rb +0 -48
- data/spec/models/split_pdf_result_spec.rb +0 -48
- data/spec/models/split_pptx_presentation_result_spec.rb +0 -48
- data/spec/models/split_text_document_by_lines_result_spec.rb +0 -54
- data/spec/models/split_text_document_by_string_result_spec.rb +0 -54
- data/spec/models/split_xlsx_worksheet_result_spec.rb +0 -48
- data/spec/models/text_conversion_result_spec.rb +0 -48
- data/spec/models/text_document_element_spec.rb +0 -48
- data/spec/models/text_document_line_spec.rb +0 -48
- data/spec/models/text_encoding_detect_response_spec.rb +0 -48
- data/spec/models/update_docx_table_cell_request_spec.rb +0 -72
- data/spec/models/update_docx_table_cell_response_spec.rb +0 -48
- data/spec/models/update_docx_table_row_request_spec.rb +0 -66
- data/spec/models/update_docx_table_row_response_spec.rb +0 -48
- data/spec/models/url_to_pdf_request_spec.rb +0 -60
- data/spec/models/url_to_text_request_spec.rb +0 -42
- data/spec/models/url_to_text_response_spec.rb +0 -48
- data/spec/models/viewer_response_spec.rb +0 -48
- data/spec/models/worksheet_result_spec.rb +0 -60
- data/spec/models/xlsx_image_spec.rb +0 -66
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +0 -66
- data/spec/models/xlsx_spreadsheet_column_spec.rb +0 -48
- data/spec/models/xlsx_spreadsheet_row_spec.rb +0 -48
- data/spec/models/xlsx_worksheet_spec.rb +0 -48
- data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_add_child_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_filter_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_query_with_x_query_multi_result_spec.rb +0 -54
- data/spec/models/xml_query_with_x_query_result_spec.rb +0 -54
- data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_remove_with_x_path_result_spec.rb +0 -60
- data/spec/models/xml_replace_with_x_path_result_spec.rb +0 -54
- data/spec/models/xml_set_value_with_x_path_result_spec.rb +0 -54
- data/spec/models/zip_directory_spec.rb +0 -54
- data/spec/models/zip_encryption_advanced_request_spec.rb +0 -54
- data/spec/models/zip_extract_response_spec.rb +0 -54
- data/spec/models/zip_file_spec.rb +0 -48
- data/spec/spec_helper.rb +0 -111
@@ -1,1805 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#convertapi
|
3
|
-
|
4
|
-
#Convert API lets you effortlessly convert file formats and types.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: 2.3.1
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require "uri"
|
14
|
-
|
15
|
-
module CloudmersiveConvertApiClient
|
16
|
-
class ConvertDocumentApi
|
17
|
-
attr_accessor :api_client
|
18
|
-
|
19
|
-
def initialize(api_client = ApiClient.default)
|
20
|
-
@api_client = api_client
|
21
|
-
end
|
22
|
-
|
23
|
-
# Get document type information
|
24
|
-
# 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.
|
25
|
-
# @param input_file Input file to perform the operation on.
|
26
|
-
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [AutodetectGetInfoResult]
|
28
|
-
def convert_document_autodetect_get_info(input_file, opts = {})
|
29
|
-
data, _status_code, _headers = convert_document_autodetect_get_info_with_http_info(input_file, opts)
|
30
|
-
return data
|
31
|
-
end
|
32
|
-
|
33
|
-
# Get document type information
|
34
|
-
# 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.
|
35
|
-
# @param input_file Input file to perform the operation on.
|
36
|
-
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(AutodetectGetInfoResult, Fixnum, Hash)>] AutodetectGetInfoResult data, response status code and response headers
|
38
|
-
def convert_document_autodetect_get_info_with_http_info(input_file, opts = {})
|
39
|
-
if @api_client.config.debugging
|
40
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_get_info ..."
|
41
|
-
end
|
42
|
-
# verify the required parameter 'input_file' is set
|
43
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
44
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_get_info"
|
45
|
-
end
|
46
|
-
# resource path
|
47
|
-
local_var_path = "/convert/autodetect/get-info"
|
48
|
-
|
49
|
-
# query parameters
|
50
|
-
query_params = {}
|
51
|
-
|
52
|
-
# header parameters
|
53
|
-
header_params = {}
|
54
|
-
# HTTP header 'Accept' (if needed)
|
55
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
56
|
-
# HTTP header 'Content-Type'
|
57
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
58
|
-
|
59
|
-
# form parameters
|
60
|
-
form_params = {}
|
61
|
-
form_params["inputFile"] = input_file
|
62
|
-
|
63
|
-
# http body (model)
|
64
|
-
post_body = nil
|
65
|
-
auth_names = ['Apikey']
|
66
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
67
|
-
:header_params => header_params,
|
68
|
-
:query_params => query_params,
|
69
|
-
:form_params => form_params,
|
70
|
-
:body => post_body,
|
71
|
-
:auth_names => auth_names,
|
72
|
-
:return_type => 'AutodetectGetInfoResult')
|
73
|
-
if @api_client.config.debugging
|
74
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_get_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
75
|
-
end
|
76
|
-
return data, status_code, headers
|
77
|
-
end
|
78
|
-
|
79
|
-
# Convert Document to PDF
|
80
|
-
# 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.
|
81
|
-
# @param input_file Input file to perform the operation on.
|
82
|
-
# @param [Hash] opts the optional parameters
|
83
|
-
# @return [String]
|
84
|
-
def convert_document_autodetect_to_pdf(input_file, opts = {})
|
85
|
-
data, _status_code, _headers = convert_document_autodetect_to_pdf_with_http_info(input_file, opts)
|
86
|
-
return data
|
87
|
-
end
|
88
|
-
|
89
|
-
# Convert Document to PDF
|
90
|
-
# 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.
|
91
|
-
# @param input_file Input file to perform the operation on.
|
92
|
-
# @param [Hash] opts the optional parameters
|
93
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
94
|
-
def convert_document_autodetect_to_pdf_with_http_info(input_file, opts = {})
|
95
|
-
if @api_client.config.debugging
|
96
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_pdf ..."
|
97
|
-
end
|
98
|
-
# verify the required parameter 'input_file' is set
|
99
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
100
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_pdf"
|
101
|
-
end
|
102
|
-
# resource path
|
103
|
-
local_var_path = "/convert/autodetect/to/pdf"
|
104
|
-
|
105
|
-
# query parameters
|
106
|
-
query_params = {}
|
107
|
-
|
108
|
-
# header parameters
|
109
|
-
header_params = {}
|
110
|
-
# HTTP header 'Accept' (if needed)
|
111
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
112
|
-
# HTTP header 'Content-Type'
|
113
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
114
|
-
|
115
|
-
# form parameters
|
116
|
-
form_params = {}
|
117
|
-
form_params["inputFile"] = input_file
|
118
|
-
|
119
|
-
# http body (model)
|
120
|
-
post_body = nil
|
121
|
-
auth_names = ['Apikey']
|
122
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
123
|
-
:header_params => header_params,
|
124
|
-
:query_params => query_params,
|
125
|
-
:form_params => form_params,
|
126
|
-
:body => post_body,
|
127
|
-
:auth_names => auth_names,
|
128
|
-
:return_type => 'String')
|
129
|
-
if @api_client.config.debugging
|
130
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
131
|
-
end
|
132
|
-
return data, status_code, headers
|
133
|
-
end
|
134
|
-
|
135
|
-
# Convert Document to PNG array
|
136
|
-
# 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.
|
137
|
-
# @param input_file Input file to perform the operation on.
|
138
|
-
# @param [Hash] opts the optional parameters
|
139
|
-
# @return [AutodetectToPngResult]
|
140
|
-
def convert_document_autodetect_to_png_array(input_file, opts = {})
|
141
|
-
data, _status_code, _headers = convert_document_autodetect_to_png_array_with_http_info(input_file, opts)
|
142
|
-
return data
|
143
|
-
end
|
144
|
-
|
145
|
-
# Convert Document to PNG array
|
146
|
-
# 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.
|
147
|
-
# @param input_file Input file to perform the operation on.
|
148
|
-
# @param [Hash] opts the optional parameters
|
149
|
-
# @return [Array<(AutodetectToPngResult, Fixnum, Hash)>] AutodetectToPngResult data, response status code and response headers
|
150
|
-
def convert_document_autodetect_to_png_array_with_http_info(input_file, opts = {})
|
151
|
-
if @api_client.config.debugging
|
152
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_png_array ..."
|
153
|
-
end
|
154
|
-
# verify the required parameter 'input_file' is set
|
155
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
156
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_png_array"
|
157
|
-
end
|
158
|
-
# resource path
|
159
|
-
local_var_path = "/convert/autodetect/to/png"
|
160
|
-
|
161
|
-
# query parameters
|
162
|
-
query_params = {}
|
163
|
-
|
164
|
-
# header parameters
|
165
|
-
header_params = {}
|
166
|
-
# HTTP header 'Accept' (if needed)
|
167
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
168
|
-
# HTTP header 'Content-Type'
|
169
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
170
|
-
|
171
|
-
# form parameters
|
172
|
-
form_params = {}
|
173
|
-
form_params["inputFile"] = input_file
|
174
|
-
|
175
|
-
# http body (model)
|
176
|
-
post_body = nil
|
177
|
-
auth_names = ['Apikey']
|
178
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
179
|
-
:header_params => header_params,
|
180
|
-
:query_params => query_params,
|
181
|
-
:form_params => form_params,
|
182
|
-
:body => post_body,
|
183
|
-
:auth_names => auth_names,
|
184
|
-
:return_type => 'AutodetectToPngResult')
|
185
|
-
if @api_client.config.debugging
|
186
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_png_array\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
187
|
-
end
|
188
|
-
return data, status_code, headers
|
189
|
-
end
|
190
|
-
|
191
|
-
# Convert Document to Text (txt)
|
192
|
-
# 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.
|
193
|
-
# @param input_file Input file to perform the operation on.
|
194
|
-
# @param [Hash] opts the optional parameters
|
195
|
-
# @option opts [String] :text_formatting_mode 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'.
|
196
|
-
# @return [TextConversionResult]
|
197
|
-
def convert_document_autodetect_to_txt(input_file, opts = {})
|
198
|
-
data, _status_code, _headers = convert_document_autodetect_to_txt_with_http_info(input_file, opts)
|
199
|
-
return data
|
200
|
-
end
|
201
|
-
|
202
|
-
# Convert Document to Text (txt)
|
203
|
-
# 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.
|
204
|
-
# @param input_file Input file to perform the operation on.
|
205
|
-
# @param [Hash] opts the optional parameters
|
206
|
-
# @option opts [String] :text_formatting_mode 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'.
|
207
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
208
|
-
def convert_document_autodetect_to_txt_with_http_info(input_file, opts = {})
|
209
|
-
if @api_client.config.debugging
|
210
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_autodetect_to_txt ..."
|
211
|
-
end
|
212
|
-
# verify the required parameter 'input_file' is set
|
213
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
214
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_autodetect_to_txt"
|
215
|
-
end
|
216
|
-
# resource path
|
217
|
-
local_var_path = "/convert/autodetect/to/txt"
|
218
|
-
|
219
|
-
# query parameters
|
220
|
-
query_params = {}
|
221
|
-
|
222
|
-
# header parameters
|
223
|
-
header_params = {}
|
224
|
-
# HTTP header 'Accept' (if needed)
|
225
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
226
|
-
# HTTP header 'Content-Type'
|
227
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
228
|
-
header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
|
229
|
-
|
230
|
-
# form parameters
|
231
|
-
form_params = {}
|
232
|
-
form_params["inputFile"] = input_file
|
233
|
-
|
234
|
-
# http body (model)
|
235
|
-
post_body = nil
|
236
|
-
auth_names = ['Apikey']
|
237
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
238
|
-
:header_params => header_params,
|
239
|
-
:query_params => query_params,
|
240
|
-
:form_params => form_params,
|
241
|
-
:body => post_body,
|
242
|
-
:auth_names => auth_names,
|
243
|
-
:return_type => 'TextConversionResult')
|
244
|
-
if @api_client.config.debugging
|
245
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_autodetect_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
246
|
-
end
|
247
|
-
return data, status_code, headers
|
248
|
-
end
|
249
|
-
|
250
|
-
# Convert CSV to Excel XLSX Spreadsheet
|
251
|
-
# Convert CSV file to Office Excel XLSX Workbooks file format.
|
252
|
-
# @param input_file Input file to perform the operation on.
|
253
|
-
# @param [Hash] opts the optional parameters
|
254
|
-
# @return [String]
|
255
|
-
def convert_document_csv_to_xlsx(input_file, opts = {})
|
256
|
-
data, _status_code, _headers = convert_document_csv_to_xlsx_with_http_info(input_file, opts)
|
257
|
-
return data
|
258
|
-
end
|
259
|
-
|
260
|
-
# Convert CSV to Excel XLSX Spreadsheet
|
261
|
-
# Convert CSV file to Office Excel XLSX Workbooks file format.
|
262
|
-
# @param input_file Input file to perform the operation on.
|
263
|
-
# @param [Hash] opts the optional parameters
|
264
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
265
|
-
def convert_document_csv_to_xlsx_with_http_info(input_file, opts = {})
|
266
|
-
if @api_client.config.debugging
|
267
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_csv_to_xlsx ..."
|
268
|
-
end
|
269
|
-
# verify the required parameter 'input_file' is set
|
270
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
271
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_csv_to_xlsx"
|
272
|
-
end
|
273
|
-
# resource path
|
274
|
-
local_var_path = "/convert/csv/to/xlsx"
|
275
|
-
|
276
|
-
# query parameters
|
277
|
-
query_params = {}
|
278
|
-
|
279
|
-
# header parameters
|
280
|
-
header_params = {}
|
281
|
-
# HTTP header 'Accept' (if needed)
|
282
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
283
|
-
# HTTP header 'Content-Type'
|
284
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
285
|
-
|
286
|
-
# form parameters
|
287
|
-
form_params = {}
|
288
|
-
form_params["inputFile"] = input_file
|
289
|
-
|
290
|
-
# http body (model)
|
291
|
-
post_body = nil
|
292
|
-
auth_names = ['Apikey']
|
293
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
294
|
-
:header_params => header_params,
|
295
|
-
:query_params => query_params,
|
296
|
-
:form_params => form_params,
|
297
|
-
:body => post_body,
|
298
|
-
:auth_names => auth_names,
|
299
|
-
:return_type => 'String')
|
300
|
-
if @api_client.config.debugging
|
301
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_csv_to_xlsx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
302
|
-
end
|
303
|
-
return data, status_code, headers
|
304
|
-
end
|
305
|
-
|
306
|
-
# Convert Word DOC (97-03) Document to DOCX
|
307
|
-
# Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
|
308
|
-
# @param input_file Input file to perform the operation on.
|
309
|
-
# @param [Hash] opts the optional parameters
|
310
|
-
# @return [String]
|
311
|
-
def convert_document_doc_to_docx(input_file, opts = {})
|
312
|
-
data, _status_code, _headers = convert_document_doc_to_docx_with_http_info(input_file, opts)
|
313
|
-
return data
|
314
|
-
end
|
315
|
-
|
316
|
-
# Convert Word DOC (97-03) Document to DOCX
|
317
|
-
# Convert/upgrade Office Word (97-2003 Format) Documents (doc) to the modern DOCX format
|
318
|
-
# @param input_file Input file to perform the operation on.
|
319
|
-
# @param [Hash] opts the optional parameters
|
320
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
321
|
-
def convert_document_doc_to_docx_with_http_info(input_file, opts = {})
|
322
|
-
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_doc_to_docx ..."
|
324
|
-
end
|
325
|
-
# verify the required parameter 'input_file' is set
|
326
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
327
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_doc_to_docx"
|
328
|
-
end
|
329
|
-
# resource path
|
330
|
-
local_var_path = "/convert/doc/to/docx"
|
331
|
-
|
332
|
-
# query parameters
|
333
|
-
query_params = {}
|
334
|
-
|
335
|
-
# header parameters
|
336
|
-
header_params = {}
|
337
|
-
# HTTP header 'Accept' (if needed)
|
338
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
339
|
-
# HTTP header 'Content-Type'
|
340
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
341
|
-
|
342
|
-
# form parameters
|
343
|
-
form_params = {}
|
344
|
-
form_params["inputFile"] = input_file
|
345
|
-
|
346
|
-
# http body (model)
|
347
|
-
post_body = nil
|
348
|
-
auth_names = ['Apikey']
|
349
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
350
|
-
:header_params => header_params,
|
351
|
-
:query_params => query_params,
|
352
|
-
:form_params => form_params,
|
353
|
-
:body => post_body,
|
354
|
-
:auth_names => auth_names,
|
355
|
-
:return_type => 'String')
|
356
|
-
if @api_client.config.debugging
|
357
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_doc_to_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
358
|
-
end
|
359
|
-
return data, status_code, headers
|
360
|
-
end
|
361
|
-
|
362
|
-
# Convert Word DOC (97-03) Document to PDF
|
363
|
-
# Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
|
364
|
-
# @param input_file Input file to perform the operation on.
|
365
|
-
# @param [Hash] opts the optional parameters
|
366
|
-
# @return [String]
|
367
|
-
def convert_document_doc_to_pdf(input_file, opts = {})
|
368
|
-
data, _status_code, _headers = convert_document_doc_to_pdf_with_http_info(input_file, opts)
|
369
|
-
return data
|
370
|
-
end
|
371
|
-
|
372
|
-
# Convert Word DOC (97-03) Document to PDF
|
373
|
-
# Convert Office Word (97-2003 Format) Documents (doc) to standard PDF
|
374
|
-
# @param input_file Input file to perform the operation on.
|
375
|
-
# @param [Hash] opts the optional parameters
|
376
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
377
|
-
def convert_document_doc_to_pdf_with_http_info(input_file, opts = {})
|
378
|
-
if @api_client.config.debugging
|
379
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_doc_to_pdf ..."
|
380
|
-
end
|
381
|
-
# verify the required parameter 'input_file' is set
|
382
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
383
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_doc_to_pdf"
|
384
|
-
end
|
385
|
-
# resource path
|
386
|
-
local_var_path = "/convert/doc/to/pdf"
|
387
|
-
|
388
|
-
# query parameters
|
389
|
-
query_params = {}
|
390
|
-
|
391
|
-
# header parameters
|
392
|
-
header_params = {}
|
393
|
-
# HTTP header 'Accept' (if needed)
|
394
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
395
|
-
# HTTP header 'Content-Type'
|
396
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
397
|
-
|
398
|
-
# form parameters
|
399
|
-
form_params = {}
|
400
|
-
form_params["inputFile"] = input_file
|
401
|
-
|
402
|
-
# http body (model)
|
403
|
-
post_body = nil
|
404
|
-
auth_names = ['Apikey']
|
405
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
406
|
-
:header_params => header_params,
|
407
|
-
:query_params => query_params,
|
408
|
-
:form_params => form_params,
|
409
|
-
:body => post_body,
|
410
|
-
:auth_names => auth_names,
|
411
|
-
:return_type => 'String')
|
412
|
-
if @api_client.config.debugging
|
413
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_doc_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
414
|
-
end
|
415
|
-
return data, status_code, headers
|
416
|
-
end
|
417
|
-
|
418
|
-
# Convert Word DOC (97-03) Document to Text (txt)
|
419
|
-
# Convert Office Word DOC (97-03) Document (doc) to text
|
420
|
-
# @param input_file Input file to perform the operation on.
|
421
|
-
# @param [Hash] opts the optional parameters
|
422
|
-
# @return [TextConversionResult]
|
423
|
-
def convert_document_doc_to_txt(input_file, opts = {})
|
424
|
-
data, _status_code, _headers = convert_document_doc_to_txt_with_http_info(input_file, opts)
|
425
|
-
return data
|
426
|
-
end
|
427
|
-
|
428
|
-
# Convert Word DOC (97-03) Document to Text (txt)
|
429
|
-
# Convert Office Word DOC (97-03) Document (doc) to text
|
430
|
-
# @param input_file Input file to perform the operation on.
|
431
|
-
# @param [Hash] opts the optional parameters
|
432
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
433
|
-
def convert_document_doc_to_txt_with_http_info(input_file, opts = {})
|
434
|
-
if @api_client.config.debugging
|
435
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_doc_to_txt ..."
|
436
|
-
end
|
437
|
-
# verify the required parameter 'input_file' is set
|
438
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
439
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_doc_to_txt"
|
440
|
-
end
|
441
|
-
# resource path
|
442
|
-
local_var_path = "/convert/doc/to/txt"
|
443
|
-
|
444
|
-
# query parameters
|
445
|
-
query_params = {}
|
446
|
-
|
447
|
-
# header parameters
|
448
|
-
header_params = {}
|
449
|
-
# HTTP header 'Accept' (if needed)
|
450
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
451
|
-
# HTTP header 'Content-Type'
|
452
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
453
|
-
|
454
|
-
# form parameters
|
455
|
-
form_params = {}
|
456
|
-
form_params["inputFile"] = input_file
|
457
|
-
|
458
|
-
# http body (model)
|
459
|
-
post_body = nil
|
460
|
-
auth_names = ['Apikey']
|
461
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
462
|
-
:header_params => header_params,
|
463
|
-
:query_params => query_params,
|
464
|
-
:form_params => form_params,
|
465
|
-
:body => post_body,
|
466
|
-
:auth_names => auth_names,
|
467
|
-
:return_type => 'TextConversionResult')
|
468
|
-
if @api_client.config.debugging
|
469
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_doc_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
470
|
-
end
|
471
|
-
return data, status_code, headers
|
472
|
-
end
|
473
|
-
|
474
|
-
# Convert Word DOCX Document to PDF
|
475
|
-
# Convert Office Word Documents (docx) to standard PDF
|
476
|
-
# @param input_file Input file to perform the operation on.
|
477
|
-
# @param [Hash] opts the optional parameters
|
478
|
-
# @return [String]
|
479
|
-
def convert_document_docx_to_pdf(input_file, opts = {})
|
480
|
-
data, _status_code, _headers = convert_document_docx_to_pdf_with_http_info(input_file, opts)
|
481
|
-
return data
|
482
|
-
end
|
483
|
-
|
484
|
-
# Convert Word DOCX Document to PDF
|
485
|
-
# Convert Office Word Documents (docx) to standard PDF
|
486
|
-
# @param input_file Input file to perform the operation on.
|
487
|
-
# @param [Hash] opts the optional parameters
|
488
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
489
|
-
def convert_document_docx_to_pdf_with_http_info(input_file, opts = {})
|
490
|
-
if @api_client.config.debugging
|
491
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_docx_to_pdf ..."
|
492
|
-
end
|
493
|
-
# verify the required parameter 'input_file' is set
|
494
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
495
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_docx_to_pdf"
|
496
|
-
end
|
497
|
-
# resource path
|
498
|
-
local_var_path = "/convert/docx/to/pdf"
|
499
|
-
|
500
|
-
# query parameters
|
501
|
-
query_params = {}
|
502
|
-
|
503
|
-
# header parameters
|
504
|
-
header_params = {}
|
505
|
-
# HTTP header 'Accept' (if needed)
|
506
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
507
|
-
# HTTP header 'Content-Type'
|
508
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
509
|
-
|
510
|
-
# form parameters
|
511
|
-
form_params = {}
|
512
|
-
form_params["inputFile"] = input_file
|
513
|
-
|
514
|
-
# http body (model)
|
515
|
-
post_body = nil
|
516
|
-
auth_names = ['Apikey']
|
517
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
518
|
-
:header_params => header_params,
|
519
|
-
:query_params => query_params,
|
520
|
-
:form_params => form_params,
|
521
|
-
:body => post_body,
|
522
|
-
:auth_names => auth_names,
|
523
|
-
:return_type => 'String')
|
524
|
-
if @api_client.config.debugging
|
525
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_docx_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
526
|
-
end
|
527
|
-
return data, status_code, headers
|
528
|
-
end
|
529
|
-
|
530
|
-
# Convert Word DOCX Document to Text (txt)
|
531
|
-
# Convert Office Word Documents (docx) to text
|
532
|
-
# @param input_file Input file to perform the operation on.
|
533
|
-
# @param [Hash] opts the optional parameters
|
534
|
-
# @option opts [String] :text_formatting_mode 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'.
|
535
|
-
# @return [TextConversionResult]
|
536
|
-
def convert_document_docx_to_txt(input_file, opts = {})
|
537
|
-
data, _status_code, _headers = convert_document_docx_to_txt_with_http_info(input_file, opts)
|
538
|
-
return data
|
539
|
-
end
|
540
|
-
|
541
|
-
# Convert Word DOCX Document to Text (txt)
|
542
|
-
# Convert Office Word Documents (docx) to text
|
543
|
-
# @param input_file Input file to perform the operation on.
|
544
|
-
# @param [Hash] opts the optional parameters
|
545
|
-
# @option opts [String] :text_formatting_mode 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'.
|
546
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
547
|
-
def convert_document_docx_to_txt_with_http_info(input_file, opts = {})
|
548
|
-
if @api_client.config.debugging
|
549
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_docx_to_txt ..."
|
550
|
-
end
|
551
|
-
# verify the required parameter 'input_file' is set
|
552
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
553
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_docx_to_txt"
|
554
|
-
end
|
555
|
-
# resource path
|
556
|
-
local_var_path = "/convert/docx/to/txt"
|
557
|
-
|
558
|
-
# query parameters
|
559
|
-
query_params = {}
|
560
|
-
|
561
|
-
# header parameters
|
562
|
-
header_params = {}
|
563
|
-
# HTTP header 'Accept' (if needed)
|
564
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
565
|
-
# HTTP header 'Content-Type'
|
566
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
567
|
-
header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
|
568
|
-
|
569
|
-
# form parameters
|
570
|
-
form_params = {}
|
571
|
-
form_params["inputFile"] = input_file
|
572
|
-
|
573
|
-
# http body (model)
|
574
|
-
post_body = nil
|
575
|
-
auth_names = ['Apikey']
|
576
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
577
|
-
:header_params => header_params,
|
578
|
-
:query_params => query_params,
|
579
|
-
:form_params => form_params,
|
580
|
-
:body => post_body,
|
581
|
-
:auth_names => auth_names,
|
582
|
-
:return_type => 'TextConversionResult')
|
583
|
-
if @api_client.config.debugging
|
584
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_docx_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
585
|
-
end
|
586
|
-
return data, status_code, headers
|
587
|
-
end
|
588
|
-
|
589
|
-
# Convert HTML document file to PDF Document
|
590
|
-
# 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.
|
591
|
-
# @param input_file Input file to perform the operation on.
|
592
|
-
# @param [Hash] opts the optional parameters
|
593
|
-
# @return [String]
|
594
|
-
def convert_document_html_to_pdf(input_file, opts = {})
|
595
|
-
data, _status_code, _headers = convert_document_html_to_pdf_with_http_info(input_file, opts)
|
596
|
-
return data
|
597
|
-
end
|
598
|
-
|
599
|
-
# Convert HTML document file to PDF Document
|
600
|
-
# 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.
|
601
|
-
# @param input_file Input file to perform the operation on.
|
602
|
-
# @param [Hash] opts the optional parameters
|
603
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
604
|
-
def convert_document_html_to_pdf_with_http_info(input_file, opts = {})
|
605
|
-
if @api_client.config.debugging
|
606
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_html_to_pdf ..."
|
607
|
-
end
|
608
|
-
# verify the required parameter 'input_file' is set
|
609
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
610
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_html_to_pdf"
|
611
|
-
end
|
612
|
-
# resource path
|
613
|
-
local_var_path = "/convert/html/to/pdf"
|
614
|
-
|
615
|
-
# query parameters
|
616
|
-
query_params = {}
|
617
|
-
|
618
|
-
# header parameters
|
619
|
-
header_params = {}
|
620
|
-
# HTTP header 'Accept' (if needed)
|
621
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
622
|
-
# HTTP header 'Content-Type'
|
623
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
624
|
-
|
625
|
-
# form parameters
|
626
|
-
form_params = {}
|
627
|
-
form_params["inputFile"] = input_file
|
628
|
-
|
629
|
-
# http body (model)
|
630
|
-
post_body = nil
|
631
|
-
auth_names = ['Apikey']
|
632
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
633
|
-
:header_params => header_params,
|
634
|
-
:query_params => query_params,
|
635
|
-
:form_params => form_params,
|
636
|
-
:body => post_body,
|
637
|
-
:auth_names => auth_names,
|
638
|
-
:return_type => 'String')
|
639
|
-
if @api_client.config.debugging
|
640
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_html_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
641
|
-
end
|
642
|
-
return data, status_code, headers
|
643
|
-
end
|
644
|
-
|
645
|
-
# Convert HTML document file to PNG image array
|
646
|
-
# 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.
|
647
|
-
# @param input_file Input file to perform the operation on.
|
648
|
-
# @param [Hash] opts the optional parameters
|
649
|
-
# @return [PdfToPngResult]
|
650
|
-
def convert_document_html_to_png(input_file, opts = {})
|
651
|
-
data, _status_code, _headers = convert_document_html_to_png_with_http_info(input_file, opts)
|
652
|
-
return data
|
653
|
-
end
|
654
|
-
|
655
|
-
# Convert HTML document file to PNG image array
|
656
|
-
# 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.
|
657
|
-
# @param input_file Input file to perform the operation on.
|
658
|
-
# @param [Hash] opts the optional parameters
|
659
|
-
# @return [Array<(PdfToPngResult, Fixnum, Hash)>] PdfToPngResult data, response status code and response headers
|
660
|
-
def convert_document_html_to_png_with_http_info(input_file, opts = {})
|
661
|
-
if @api_client.config.debugging
|
662
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_html_to_png ..."
|
663
|
-
end
|
664
|
-
# verify the required parameter 'input_file' is set
|
665
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
666
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_html_to_png"
|
667
|
-
end
|
668
|
-
# resource path
|
669
|
-
local_var_path = "/convert/html/to/png"
|
670
|
-
|
671
|
-
# query parameters
|
672
|
-
query_params = {}
|
673
|
-
|
674
|
-
# header parameters
|
675
|
-
header_params = {}
|
676
|
-
# HTTP header 'Accept' (if needed)
|
677
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
678
|
-
# HTTP header 'Content-Type'
|
679
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
680
|
-
|
681
|
-
# form parameters
|
682
|
-
form_params = {}
|
683
|
-
form_params["inputFile"] = input_file
|
684
|
-
|
685
|
-
# http body (model)
|
686
|
-
post_body = nil
|
687
|
-
auth_names = ['Apikey']
|
688
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
689
|
-
:header_params => header_params,
|
690
|
-
:query_params => query_params,
|
691
|
-
:form_params => form_params,
|
692
|
-
:body => post_body,
|
693
|
-
:auth_names => auth_names,
|
694
|
-
:return_type => 'PdfToPngResult')
|
695
|
-
if @api_client.config.debugging
|
696
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_html_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
697
|
-
end
|
698
|
-
return data, status_code, headers
|
699
|
-
end
|
700
|
-
|
701
|
-
# HTML Document file to Text (txt)
|
702
|
-
# HTML document to text
|
703
|
-
# @param input_file Input file to perform the operation on.
|
704
|
-
# @param [Hash] opts the optional parameters
|
705
|
-
# @return [TextConversionResult]
|
706
|
-
def convert_document_html_to_txt(input_file, opts = {})
|
707
|
-
data, _status_code, _headers = convert_document_html_to_txt_with_http_info(input_file, opts)
|
708
|
-
return data
|
709
|
-
end
|
710
|
-
|
711
|
-
# HTML Document file to Text (txt)
|
712
|
-
# HTML document to text
|
713
|
-
# @param input_file Input file to perform the operation on.
|
714
|
-
# @param [Hash] opts the optional parameters
|
715
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
716
|
-
def convert_document_html_to_txt_with_http_info(input_file, opts = {})
|
717
|
-
if @api_client.config.debugging
|
718
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_html_to_txt ..."
|
719
|
-
end
|
720
|
-
# verify the required parameter 'input_file' is set
|
721
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
722
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_html_to_txt"
|
723
|
-
end
|
724
|
-
# resource path
|
725
|
-
local_var_path = "/convert/html/to/txt"
|
726
|
-
|
727
|
-
# query parameters
|
728
|
-
query_params = {}
|
729
|
-
|
730
|
-
# header parameters
|
731
|
-
header_params = {}
|
732
|
-
# HTTP header 'Accept' (if needed)
|
733
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
734
|
-
# HTTP header 'Content-Type'
|
735
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
736
|
-
|
737
|
-
# form parameters
|
738
|
-
form_params = {}
|
739
|
-
form_params["inputFile"] = input_file
|
740
|
-
|
741
|
-
# http body (model)
|
742
|
-
post_body = nil
|
743
|
-
auth_names = ['Apikey']
|
744
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
745
|
-
:header_params => header_params,
|
746
|
-
:query_params => query_params,
|
747
|
-
:form_params => form_params,
|
748
|
-
:body => post_body,
|
749
|
-
:auth_names => auth_names,
|
750
|
-
:return_type => 'TextConversionResult')
|
751
|
-
if @api_client.config.debugging
|
752
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_html_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
753
|
-
end
|
754
|
-
return data, status_code, headers
|
755
|
-
end
|
756
|
-
|
757
|
-
# Convert PDF to Word DOCX Document
|
758
|
-
# 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.
|
759
|
-
# @param input_file Input file to perform the operation on.
|
760
|
-
# @param [Hash] opts the optional parameters
|
761
|
-
# @return [String]
|
762
|
-
def convert_document_pdf_to_docx(input_file, opts = {})
|
763
|
-
data, _status_code, _headers = convert_document_pdf_to_docx_with_http_info(input_file, opts)
|
764
|
-
return data
|
765
|
-
end
|
766
|
-
|
767
|
-
# Convert PDF to Word DOCX Document
|
768
|
-
# 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.
|
769
|
-
# @param input_file Input file to perform the operation on.
|
770
|
-
# @param [Hash] opts the optional parameters
|
771
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
772
|
-
def convert_document_pdf_to_docx_with_http_info(input_file, opts = {})
|
773
|
-
if @api_client.config.debugging
|
774
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_docx ..."
|
775
|
-
end
|
776
|
-
# verify the required parameter 'input_file' is set
|
777
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
778
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_docx"
|
779
|
-
end
|
780
|
-
# resource path
|
781
|
-
local_var_path = "/convert/pdf/to/docx"
|
782
|
-
|
783
|
-
# query parameters
|
784
|
-
query_params = {}
|
785
|
-
|
786
|
-
# header parameters
|
787
|
-
header_params = {}
|
788
|
-
# HTTP header 'Accept' (if needed)
|
789
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
790
|
-
# HTTP header 'Content-Type'
|
791
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
792
|
-
|
793
|
-
# form parameters
|
794
|
-
form_params = {}
|
795
|
-
form_params["inputFile"] = input_file
|
796
|
-
|
797
|
-
# http body (model)
|
798
|
-
post_body = nil
|
799
|
-
auth_names = ['Apikey']
|
800
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
801
|
-
:header_params => header_params,
|
802
|
-
:query_params => query_params,
|
803
|
-
:form_params => form_params,
|
804
|
-
:body => post_body,
|
805
|
-
:auth_names => auth_names,
|
806
|
-
:return_type => 'String')
|
807
|
-
if @api_client.config.debugging
|
808
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
809
|
-
end
|
810
|
-
return data, status_code, headers
|
811
|
-
end
|
812
|
-
|
813
|
-
# Convert PDF to Word DOCX Document based on rasterized version of the PDF
|
814
|
-
# Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format.
|
815
|
-
# @param input_file Input file to perform the operation on.
|
816
|
-
# @param [Hash] opts the optional parameters
|
817
|
-
# @return [String]
|
818
|
-
def convert_document_pdf_to_docx_rasterize(input_file, opts = {})
|
819
|
-
data, _status_code, _headers = convert_document_pdf_to_docx_rasterize_with_http_info(input_file, opts)
|
820
|
-
return data
|
821
|
-
end
|
822
|
-
|
823
|
-
# Convert PDF to Word DOCX Document based on rasterized version of the PDF
|
824
|
-
# Convert standard PDF to Office Word Documents (docx), but first rasterize the PDF. Converts a PDF at high fidelity into Word format.
|
825
|
-
# @param input_file Input file to perform the operation on.
|
826
|
-
# @param [Hash] opts the optional parameters
|
827
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
828
|
-
def convert_document_pdf_to_docx_rasterize_with_http_info(input_file, opts = {})
|
829
|
-
if @api_client.config.debugging
|
830
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_docx_rasterize ..."
|
831
|
-
end
|
832
|
-
# verify the required parameter 'input_file' is set
|
833
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
834
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_docx_rasterize"
|
835
|
-
end
|
836
|
-
# resource path
|
837
|
-
local_var_path = "/convert/pdf/to/docx/rasterize"
|
838
|
-
|
839
|
-
# query parameters
|
840
|
-
query_params = {}
|
841
|
-
|
842
|
-
# header parameters
|
843
|
-
header_params = {}
|
844
|
-
# HTTP header 'Accept' (if needed)
|
845
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
846
|
-
# HTTP header 'Content-Type'
|
847
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
848
|
-
|
849
|
-
# form parameters
|
850
|
-
form_params = {}
|
851
|
-
form_params["inputFile"] = input_file
|
852
|
-
|
853
|
-
# http body (model)
|
854
|
-
post_body = nil
|
855
|
-
auth_names = ['Apikey']
|
856
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
857
|
-
:header_params => header_params,
|
858
|
-
:query_params => query_params,
|
859
|
-
:form_params => form_params,
|
860
|
-
:body => post_body,
|
861
|
-
:auth_names => auth_names,
|
862
|
-
:return_type => 'String')
|
863
|
-
if @api_client.config.debugging
|
864
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_docx_rasterize\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
865
|
-
end
|
866
|
-
return data, status_code, headers
|
867
|
-
end
|
868
|
-
|
869
|
-
# Convert PDF to PNG Image Array
|
870
|
-
# Convert PDF document to PNG array, one image per page.
|
871
|
-
# @param input_file Input file to perform the operation on.
|
872
|
-
# @param [Hash] opts the optional parameters
|
873
|
-
# @return [PdfToPngResult]
|
874
|
-
def convert_document_pdf_to_png_array(input_file, opts = {})
|
875
|
-
data, _status_code, _headers = convert_document_pdf_to_png_array_with_http_info(input_file, opts)
|
876
|
-
return data
|
877
|
-
end
|
878
|
-
|
879
|
-
# Convert PDF to PNG Image Array
|
880
|
-
# Convert PDF document to PNG array, one image per page.
|
881
|
-
# @param input_file Input file to perform the operation on.
|
882
|
-
# @param [Hash] opts the optional parameters
|
883
|
-
# @return [Array<(PdfToPngResult, Fixnum, Hash)>] PdfToPngResult data, response status code and response headers
|
884
|
-
def convert_document_pdf_to_png_array_with_http_info(input_file, opts = {})
|
885
|
-
if @api_client.config.debugging
|
886
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_png_array ..."
|
887
|
-
end
|
888
|
-
# verify the required parameter 'input_file' is set
|
889
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
890
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_png_array"
|
891
|
-
end
|
892
|
-
# resource path
|
893
|
-
local_var_path = "/convert/pdf/to/png"
|
894
|
-
|
895
|
-
# query parameters
|
896
|
-
query_params = {}
|
897
|
-
|
898
|
-
# header parameters
|
899
|
-
header_params = {}
|
900
|
-
# HTTP header 'Accept' (if needed)
|
901
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
902
|
-
# HTTP header 'Content-Type'
|
903
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
904
|
-
|
905
|
-
# form parameters
|
906
|
-
form_params = {}
|
907
|
-
form_params["inputFile"] = input_file
|
908
|
-
|
909
|
-
# http body (model)
|
910
|
-
post_body = nil
|
911
|
-
auth_names = ['Apikey']
|
912
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
913
|
-
:header_params => header_params,
|
914
|
-
:query_params => query_params,
|
915
|
-
:form_params => form_params,
|
916
|
-
:body => post_body,
|
917
|
-
:auth_names => auth_names,
|
918
|
-
:return_type => 'PdfToPngResult')
|
919
|
-
if @api_client.config.debugging
|
920
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_png_array\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
921
|
-
end
|
922
|
-
return data, status_code, headers
|
923
|
-
end
|
924
|
-
|
925
|
-
# Convert PDF to Single PNG image
|
926
|
-
# Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single \"tall\" image
|
927
|
-
# @param input_file Input file to perform the operation on.
|
928
|
-
# @param [Hash] opts the optional parameters
|
929
|
-
# @return [String]
|
930
|
-
def convert_document_pdf_to_png_single(input_file, opts = {})
|
931
|
-
data, _status_code, _headers = convert_document_pdf_to_png_single_with_http_info(input_file, opts)
|
932
|
-
return data
|
933
|
-
end
|
934
|
-
|
935
|
-
# Convert PDF to Single PNG image
|
936
|
-
# Convert PDF document to a single tall PNG image, by stacking/concatenating the images vertically into a single \"tall\" image
|
937
|
-
# @param input_file Input file to perform the operation on.
|
938
|
-
# @param [Hash] opts the optional parameters
|
939
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
940
|
-
def convert_document_pdf_to_png_single_with_http_info(input_file, opts = {})
|
941
|
-
if @api_client.config.debugging
|
942
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_png_single ..."
|
943
|
-
end
|
944
|
-
# verify the required parameter 'input_file' is set
|
945
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
946
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_png_single"
|
947
|
-
end
|
948
|
-
# resource path
|
949
|
-
local_var_path = "/convert/pdf/to/png/merge-single"
|
950
|
-
|
951
|
-
# query parameters
|
952
|
-
query_params = {}
|
953
|
-
|
954
|
-
# header parameters
|
955
|
-
header_params = {}
|
956
|
-
# HTTP header 'Accept' (if needed)
|
957
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
958
|
-
# HTTP header 'Content-Type'
|
959
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
960
|
-
|
961
|
-
# form parameters
|
962
|
-
form_params = {}
|
963
|
-
form_params["inputFile"] = input_file
|
964
|
-
|
965
|
-
# http body (model)
|
966
|
-
post_body = nil
|
967
|
-
auth_names = ['Apikey']
|
968
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
969
|
-
:header_params => header_params,
|
970
|
-
:query_params => query_params,
|
971
|
-
:form_params => form_params,
|
972
|
-
:body => post_body,
|
973
|
-
:auth_names => auth_names,
|
974
|
-
:return_type => 'String')
|
975
|
-
if @api_client.config.debugging
|
976
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_png_single\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
977
|
-
end
|
978
|
-
return data, status_code, headers
|
979
|
-
end
|
980
|
-
|
981
|
-
# Convert PDF to PowerPoint PPTX Presentation
|
982
|
-
# 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.
|
983
|
-
# @param input_file Input file to perform the operation on.
|
984
|
-
# @param [Hash] opts the optional parameters
|
985
|
-
# @return [String]
|
986
|
-
def convert_document_pdf_to_pptx(input_file, opts = {})
|
987
|
-
data, _status_code, _headers = convert_document_pdf_to_pptx_with_http_info(input_file, opts)
|
988
|
-
return data
|
989
|
-
end
|
990
|
-
|
991
|
-
# Convert PDF to PowerPoint PPTX Presentation
|
992
|
-
# 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.
|
993
|
-
# @param input_file Input file to perform the operation on.
|
994
|
-
# @param [Hash] opts the optional parameters
|
995
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
996
|
-
def convert_document_pdf_to_pptx_with_http_info(input_file, opts = {})
|
997
|
-
if @api_client.config.debugging
|
998
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_pptx ..."
|
999
|
-
end
|
1000
|
-
# verify the required parameter 'input_file' is set
|
1001
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1002
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_pptx"
|
1003
|
-
end
|
1004
|
-
# resource path
|
1005
|
-
local_var_path = "/convert/pdf/to/pptx"
|
1006
|
-
|
1007
|
-
# query parameters
|
1008
|
-
query_params = {}
|
1009
|
-
|
1010
|
-
# header parameters
|
1011
|
-
header_params = {}
|
1012
|
-
# HTTP header 'Accept' (if needed)
|
1013
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1014
|
-
# HTTP header 'Content-Type'
|
1015
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1016
|
-
|
1017
|
-
# form parameters
|
1018
|
-
form_params = {}
|
1019
|
-
form_params["inputFile"] = input_file
|
1020
|
-
|
1021
|
-
# http body (model)
|
1022
|
-
post_body = nil
|
1023
|
-
auth_names = ['Apikey']
|
1024
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1025
|
-
:header_params => header_params,
|
1026
|
-
:query_params => query_params,
|
1027
|
-
:form_params => form_params,
|
1028
|
-
:body => post_body,
|
1029
|
-
:auth_names => auth_names,
|
1030
|
-
:return_type => 'String')
|
1031
|
-
if @api_client.config.debugging
|
1032
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_pptx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1033
|
-
end
|
1034
|
-
return data, status_code, headers
|
1035
|
-
end
|
1036
|
-
|
1037
|
-
# Convert PDF Document to Text (txt)
|
1038
|
-
# PDF document to text
|
1039
|
-
# @param input_file Input file to perform the operation on.
|
1040
|
-
# @param [Hash] opts the optional parameters
|
1041
|
-
# @option opts [String] :text_formatting_mode 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'.
|
1042
|
-
# @return [TextConversionResult]
|
1043
|
-
def convert_document_pdf_to_txt(input_file, opts = {})
|
1044
|
-
data, _status_code, _headers = convert_document_pdf_to_txt_with_http_info(input_file, opts)
|
1045
|
-
return data
|
1046
|
-
end
|
1047
|
-
|
1048
|
-
# Convert PDF Document to Text (txt)
|
1049
|
-
# PDF document to text
|
1050
|
-
# @param input_file Input file to perform the operation on.
|
1051
|
-
# @param [Hash] opts the optional parameters
|
1052
|
-
# @option opts [String] :text_formatting_mode 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'.
|
1053
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
1054
|
-
def convert_document_pdf_to_txt_with_http_info(input_file, opts = {})
|
1055
|
-
if @api_client.config.debugging
|
1056
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pdf_to_txt ..."
|
1057
|
-
end
|
1058
|
-
# verify the required parameter 'input_file' is set
|
1059
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1060
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pdf_to_txt"
|
1061
|
-
end
|
1062
|
-
# resource path
|
1063
|
-
local_var_path = "/convert/pdf/to/txt"
|
1064
|
-
|
1065
|
-
# query parameters
|
1066
|
-
query_params = {}
|
1067
|
-
|
1068
|
-
# header parameters
|
1069
|
-
header_params = {}
|
1070
|
-
# HTTP header 'Accept' (if needed)
|
1071
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
1072
|
-
# HTTP header 'Content-Type'
|
1073
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1074
|
-
header_params[:'textFormattingMode'] = opts[:'text_formatting_mode'] if !opts[:'text_formatting_mode'].nil?
|
1075
|
-
|
1076
|
-
# form parameters
|
1077
|
-
form_params = {}
|
1078
|
-
form_params["inputFile"] = input_file
|
1079
|
-
|
1080
|
-
# http body (model)
|
1081
|
-
post_body = nil
|
1082
|
-
auth_names = ['Apikey']
|
1083
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1084
|
-
:header_params => header_params,
|
1085
|
-
:query_params => query_params,
|
1086
|
-
:form_params => form_params,
|
1087
|
-
:body => post_body,
|
1088
|
-
:auth_names => auth_names,
|
1089
|
-
:return_type => 'TextConversionResult')
|
1090
|
-
if @api_client.config.debugging
|
1091
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pdf_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1092
|
-
end
|
1093
|
-
return data, status_code, headers
|
1094
|
-
end
|
1095
|
-
|
1096
|
-
# Convert PNG Array to PDF
|
1097
|
-
# Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.
|
1098
|
-
# @param input_file1 First input file to perform the operation on.
|
1099
|
-
# @param input_file2 Second input file to perform the operation on.
|
1100
|
-
# @param [Hash] opts the optional parameters
|
1101
|
-
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
1102
|
-
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
1103
|
-
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
1104
|
-
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
1105
|
-
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
1106
|
-
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
1107
|
-
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
1108
|
-
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
1109
|
-
# @return [String]
|
1110
|
-
def convert_document_png_array_to_pdf(input_file1, input_file2, opts = {})
|
1111
|
-
data, _status_code, _headers = convert_document_png_array_to_pdf_with_http_info(input_file1, input_file2, opts)
|
1112
|
-
return data
|
1113
|
-
end
|
1114
|
-
|
1115
|
-
# Convert PNG Array to PDF
|
1116
|
-
# Convert an array of PNG images, one image per page, into a newly-created PDF. Supports images of different sizes as input.
|
1117
|
-
# @param input_file1 First input file to perform the operation on.
|
1118
|
-
# @param input_file2 Second input file to perform the operation on.
|
1119
|
-
# @param [Hash] opts the optional parameters
|
1120
|
-
# @option opts [File] :input_file3 Third input file to perform the operation on.
|
1121
|
-
# @option opts [File] :input_file4 Fourth input file to perform the operation on.
|
1122
|
-
# @option opts [File] :input_file5 Fifth input file to perform the operation on.
|
1123
|
-
# @option opts [File] :input_file6 Sixth input file to perform the operation on.
|
1124
|
-
# @option opts [File] :input_file7 Seventh input file to perform the operation on.
|
1125
|
-
# @option opts [File] :input_file8 Eighth input file to perform the operation on.
|
1126
|
-
# @option opts [File] :input_file9 Ninth input file to perform the operation on.
|
1127
|
-
# @option opts [File] :input_file10 Tenth input file to perform the operation on.
|
1128
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1129
|
-
def convert_document_png_array_to_pdf_with_http_info(input_file1, input_file2, opts = {})
|
1130
|
-
if @api_client.config.debugging
|
1131
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_png_array_to_pdf ..."
|
1132
|
-
end
|
1133
|
-
# verify the required parameter 'input_file1' is set
|
1134
|
-
if @api_client.config.client_side_validation && input_file1.nil?
|
1135
|
-
fail ArgumentError, "Missing the required parameter 'input_file1' when calling ConvertDocumentApi.convert_document_png_array_to_pdf"
|
1136
|
-
end
|
1137
|
-
# verify the required parameter 'input_file2' is set
|
1138
|
-
if @api_client.config.client_side_validation && input_file2.nil?
|
1139
|
-
fail ArgumentError, "Missing the required parameter 'input_file2' when calling ConvertDocumentApi.convert_document_png_array_to_pdf"
|
1140
|
-
end
|
1141
|
-
# resource path
|
1142
|
-
local_var_path = "/convert/png/to/pdf"
|
1143
|
-
|
1144
|
-
# query parameters
|
1145
|
-
query_params = {}
|
1146
|
-
|
1147
|
-
# header parameters
|
1148
|
-
header_params = {}
|
1149
|
-
# HTTP header 'Accept' (if needed)
|
1150
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1151
|
-
# HTTP header 'Content-Type'
|
1152
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1153
|
-
|
1154
|
-
# form parameters
|
1155
|
-
form_params = {}
|
1156
|
-
form_params["inputFile1"] = input_file1
|
1157
|
-
form_params["inputFile2"] = input_file2
|
1158
|
-
form_params["inputFile3"] = opts[:'input_file3'] if !opts[:'input_file3'].nil?
|
1159
|
-
form_params["inputFile4"] = opts[:'input_file4'] if !opts[:'input_file4'].nil?
|
1160
|
-
form_params["inputFile5"] = opts[:'input_file5'] if !opts[:'input_file5'].nil?
|
1161
|
-
form_params["inputFile6"] = opts[:'input_file6'] if !opts[:'input_file6'].nil?
|
1162
|
-
form_params["inputFile7"] = opts[:'input_file7'] if !opts[:'input_file7'].nil?
|
1163
|
-
form_params["inputFile8"] = opts[:'input_file8'] if !opts[:'input_file8'].nil?
|
1164
|
-
form_params["inputFile9"] = opts[:'input_file9'] if !opts[:'input_file9'].nil?
|
1165
|
-
form_params["inputFile10"] = opts[:'input_file10'] if !opts[:'input_file10'].nil?
|
1166
|
-
|
1167
|
-
# http body (model)
|
1168
|
-
post_body = nil
|
1169
|
-
auth_names = ['Apikey']
|
1170
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1171
|
-
:header_params => header_params,
|
1172
|
-
:query_params => query_params,
|
1173
|
-
:form_params => form_params,
|
1174
|
-
:body => post_body,
|
1175
|
-
:auth_names => auth_names,
|
1176
|
-
:return_type => 'String')
|
1177
|
-
if @api_client.config.debugging
|
1178
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_png_array_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1179
|
-
end
|
1180
|
-
return data, status_code, headers
|
1181
|
-
end
|
1182
|
-
|
1183
|
-
# Convert PowerPoint PPT (97-03) Presentation to PDF
|
1184
|
-
# Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
|
1185
|
-
# @param input_file Input file to perform the operation on.
|
1186
|
-
# @param [Hash] opts the optional parameters
|
1187
|
-
# @return [String]
|
1188
|
-
def convert_document_ppt_to_pdf(input_file, opts = {})
|
1189
|
-
data, _status_code, _headers = convert_document_ppt_to_pdf_with_http_info(input_file, opts)
|
1190
|
-
return data
|
1191
|
-
end
|
1192
|
-
|
1193
|
-
# Convert PowerPoint PPT (97-03) Presentation to PDF
|
1194
|
-
# Convert Office PowerPoint (97-2003) Documents (ppt) to standard PDF
|
1195
|
-
# @param input_file Input file to perform the operation on.
|
1196
|
-
# @param [Hash] opts the optional parameters
|
1197
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1198
|
-
def convert_document_ppt_to_pdf_with_http_info(input_file, opts = {})
|
1199
|
-
if @api_client.config.debugging
|
1200
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_ppt_to_pdf ..."
|
1201
|
-
end
|
1202
|
-
# verify the required parameter 'input_file' is set
|
1203
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1204
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_ppt_to_pdf"
|
1205
|
-
end
|
1206
|
-
# resource path
|
1207
|
-
local_var_path = "/convert/ppt/to/pdf"
|
1208
|
-
|
1209
|
-
# query parameters
|
1210
|
-
query_params = {}
|
1211
|
-
|
1212
|
-
# header parameters
|
1213
|
-
header_params = {}
|
1214
|
-
# HTTP header 'Accept' (if needed)
|
1215
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1216
|
-
# HTTP header 'Content-Type'
|
1217
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1218
|
-
|
1219
|
-
# form parameters
|
1220
|
-
form_params = {}
|
1221
|
-
form_params["inputFile"] = input_file
|
1222
|
-
|
1223
|
-
# http body (model)
|
1224
|
-
post_body = nil
|
1225
|
-
auth_names = ['Apikey']
|
1226
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1227
|
-
:header_params => header_params,
|
1228
|
-
:query_params => query_params,
|
1229
|
-
:form_params => form_params,
|
1230
|
-
:body => post_body,
|
1231
|
-
:auth_names => auth_names,
|
1232
|
-
:return_type => 'String')
|
1233
|
-
if @api_client.config.debugging
|
1234
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_ppt_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1235
|
-
end
|
1236
|
-
return data, status_code, headers
|
1237
|
-
end
|
1238
|
-
|
1239
|
-
# Convert PowerPoint PPT (97-03) Presentation to PPTX
|
1240
|
-
# Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
|
1241
|
-
# @param input_file Input file to perform the operation on.
|
1242
|
-
# @param [Hash] opts the optional parameters
|
1243
|
-
# @return [String]
|
1244
|
-
def convert_document_ppt_to_pptx(input_file, opts = {})
|
1245
|
-
data, _status_code, _headers = convert_document_ppt_to_pptx_with_http_info(input_file, opts)
|
1246
|
-
return data
|
1247
|
-
end
|
1248
|
-
|
1249
|
-
# Convert PowerPoint PPT (97-03) Presentation to PPTX
|
1250
|
-
# Convert/upgrade Office PowerPoint (97-2003) Documents (ppt) to modern PPTX
|
1251
|
-
# @param input_file Input file to perform the operation on.
|
1252
|
-
# @param [Hash] opts the optional parameters
|
1253
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1254
|
-
def convert_document_ppt_to_pptx_with_http_info(input_file, opts = {})
|
1255
|
-
if @api_client.config.debugging
|
1256
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_ppt_to_pptx ..."
|
1257
|
-
end
|
1258
|
-
# verify the required parameter 'input_file' is set
|
1259
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1260
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_ppt_to_pptx"
|
1261
|
-
end
|
1262
|
-
# resource path
|
1263
|
-
local_var_path = "/convert/ppt/to/pptx"
|
1264
|
-
|
1265
|
-
# query parameters
|
1266
|
-
query_params = {}
|
1267
|
-
|
1268
|
-
# header parameters
|
1269
|
-
header_params = {}
|
1270
|
-
# HTTP header 'Accept' (if needed)
|
1271
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1272
|
-
# HTTP header 'Content-Type'
|
1273
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1274
|
-
|
1275
|
-
# form parameters
|
1276
|
-
form_params = {}
|
1277
|
-
form_params["inputFile"] = input_file
|
1278
|
-
|
1279
|
-
# http body (model)
|
1280
|
-
post_body = nil
|
1281
|
-
auth_names = ['Apikey']
|
1282
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1283
|
-
:header_params => header_params,
|
1284
|
-
:query_params => query_params,
|
1285
|
-
:form_params => form_params,
|
1286
|
-
:body => post_body,
|
1287
|
-
:auth_names => auth_names,
|
1288
|
-
:return_type => 'String')
|
1289
|
-
if @api_client.config.debugging
|
1290
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_ppt_to_pptx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1291
|
-
end
|
1292
|
-
return data, status_code, headers
|
1293
|
-
end
|
1294
|
-
|
1295
|
-
# Convert PowerPoint PPTX Presentation to PDF
|
1296
|
-
# Convert Office PowerPoint Documents (pptx) to standard PDF
|
1297
|
-
# @param input_file Input file to perform the operation on.
|
1298
|
-
# @param [Hash] opts the optional parameters
|
1299
|
-
# @return [String]
|
1300
|
-
def convert_document_pptx_to_pdf(input_file, opts = {})
|
1301
|
-
data, _status_code, _headers = convert_document_pptx_to_pdf_with_http_info(input_file, opts)
|
1302
|
-
return data
|
1303
|
-
end
|
1304
|
-
|
1305
|
-
# Convert PowerPoint PPTX Presentation to PDF
|
1306
|
-
# Convert Office PowerPoint Documents (pptx) to standard PDF
|
1307
|
-
# @param input_file Input file to perform the operation on.
|
1308
|
-
# @param [Hash] opts the optional parameters
|
1309
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1310
|
-
def convert_document_pptx_to_pdf_with_http_info(input_file, opts = {})
|
1311
|
-
if @api_client.config.debugging
|
1312
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pptx_to_pdf ..."
|
1313
|
-
end
|
1314
|
-
# verify the required parameter 'input_file' is set
|
1315
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1316
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pptx_to_pdf"
|
1317
|
-
end
|
1318
|
-
# resource path
|
1319
|
-
local_var_path = "/convert/pptx/to/pdf"
|
1320
|
-
|
1321
|
-
# query parameters
|
1322
|
-
query_params = {}
|
1323
|
-
|
1324
|
-
# header parameters
|
1325
|
-
header_params = {}
|
1326
|
-
# HTTP header 'Accept' (if needed)
|
1327
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1328
|
-
# HTTP header 'Content-Type'
|
1329
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1330
|
-
|
1331
|
-
# form parameters
|
1332
|
-
form_params = {}
|
1333
|
-
form_params["inputFile"] = input_file
|
1334
|
-
|
1335
|
-
# http body (model)
|
1336
|
-
post_body = nil
|
1337
|
-
auth_names = ['Apikey']
|
1338
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1339
|
-
:header_params => header_params,
|
1340
|
-
:query_params => query_params,
|
1341
|
-
:form_params => form_params,
|
1342
|
-
:body => post_body,
|
1343
|
-
:auth_names => auth_names,
|
1344
|
-
:return_type => 'String')
|
1345
|
-
if @api_client.config.debugging
|
1346
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pptx_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1347
|
-
end
|
1348
|
-
return data, status_code, headers
|
1349
|
-
end
|
1350
|
-
|
1351
|
-
# Convert PowerPoint PPTX Presentation to Text (txt)
|
1352
|
-
# Convert Office PowerPoint Documents (pptx) to standard Text
|
1353
|
-
# @param input_file Input file to perform the operation on.
|
1354
|
-
# @param [Hash] opts the optional parameters
|
1355
|
-
# @return [TextConversionResult]
|
1356
|
-
def convert_document_pptx_to_txt(input_file, opts = {})
|
1357
|
-
data, _status_code, _headers = convert_document_pptx_to_txt_with_http_info(input_file, opts)
|
1358
|
-
return data
|
1359
|
-
end
|
1360
|
-
|
1361
|
-
# Convert PowerPoint PPTX Presentation to Text (txt)
|
1362
|
-
# Convert Office PowerPoint Documents (pptx) to standard Text
|
1363
|
-
# @param input_file Input file to perform the operation on.
|
1364
|
-
# @param [Hash] opts the optional parameters
|
1365
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
1366
|
-
def convert_document_pptx_to_txt_with_http_info(input_file, opts = {})
|
1367
|
-
if @api_client.config.debugging
|
1368
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_pptx_to_txt ..."
|
1369
|
-
end
|
1370
|
-
# verify the required parameter 'input_file' is set
|
1371
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1372
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_pptx_to_txt"
|
1373
|
-
end
|
1374
|
-
# resource path
|
1375
|
-
local_var_path = "/convert/pptx/to/txt"
|
1376
|
-
|
1377
|
-
# query parameters
|
1378
|
-
query_params = {}
|
1379
|
-
|
1380
|
-
# header parameters
|
1381
|
-
header_params = {}
|
1382
|
-
# HTTP header 'Accept' (if needed)
|
1383
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
1384
|
-
# HTTP header 'Content-Type'
|
1385
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1386
|
-
|
1387
|
-
# form parameters
|
1388
|
-
form_params = {}
|
1389
|
-
form_params["inputFile"] = input_file
|
1390
|
-
|
1391
|
-
# http body (model)
|
1392
|
-
post_body = nil
|
1393
|
-
auth_names = ['Apikey']
|
1394
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1395
|
-
:header_params => header_params,
|
1396
|
-
:query_params => query_params,
|
1397
|
-
:form_params => form_params,
|
1398
|
-
:body => post_body,
|
1399
|
-
:auth_names => auth_names,
|
1400
|
-
:return_type => 'TextConversionResult')
|
1401
|
-
if @api_client.config.debugging
|
1402
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_pptx_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1403
|
-
end
|
1404
|
-
return data, status_code, headers
|
1405
|
-
end
|
1406
|
-
|
1407
|
-
# Convert Excel XLS (97-03) Spreadsheet to CSV
|
1408
|
-
# Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format.
|
1409
|
-
# @param input_file Input file to perform the operation on.
|
1410
|
-
# @param [Hash] opts the optional parameters
|
1411
|
-
# @return [String]
|
1412
|
-
def convert_document_xls_to_csv(input_file, opts = {})
|
1413
|
-
data, _status_code, _headers = convert_document_xls_to_csv_with_http_info(input_file, opts)
|
1414
|
-
return data
|
1415
|
-
end
|
1416
|
-
|
1417
|
-
# Convert Excel XLS (97-03) Spreadsheet to CSV
|
1418
|
-
# Convert/upgrade Office Excel (97-2003) Workbooks (xls) to standard CSV format.
|
1419
|
-
# @param input_file Input file to perform the operation on.
|
1420
|
-
# @param [Hash] opts the optional parameters
|
1421
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1422
|
-
def convert_document_xls_to_csv_with_http_info(input_file, opts = {})
|
1423
|
-
if @api_client.config.debugging
|
1424
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xls_to_csv ..."
|
1425
|
-
end
|
1426
|
-
# verify the required parameter 'input_file' is set
|
1427
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1428
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xls_to_csv"
|
1429
|
-
end
|
1430
|
-
# resource path
|
1431
|
-
local_var_path = "/convert/xls/to/csv"
|
1432
|
-
|
1433
|
-
# query parameters
|
1434
|
-
query_params = {}
|
1435
|
-
|
1436
|
-
# header parameters
|
1437
|
-
header_params = {}
|
1438
|
-
# HTTP header 'Accept' (if needed)
|
1439
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1440
|
-
# HTTP header 'Content-Type'
|
1441
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1442
|
-
|
1443
|
-
# form parameters
|
1444
|
-
form_params = {}
|
1445
|
-
form_params["inputFile"] = input_file
|
1446
|
-
|
1447
|
-
# http body (model)
|
1448
|
-
post_body = nil
|
1449
|
-
auth_names = ['Apikey']
|
1450
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1451
|
-
:header_params => header_params,
|
1452
|
-
:query_params => query_params,
|
1453
|
-
:form_params => form_params,
|
1454
|
-
:body => post_body,
|
1455
|
-
:auth_names => auth_names,
|
1456
|
-
:return_type => 'String')
|
1457
|
-
if @api_client.config.debugging
|
1458
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xls_to_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1459
|
-
end
|
1460
|
-
return data, status_code, headers
|
1461
|
-
end
|
1462
|
-
|
1463
|
-
# Convert Excel XLS (97-03) Spreadsheet to PDF
|
1464
|
-
# Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
|
1465
|
-
# @param input_file Input file to perform the operation on.
|
1466
|
-
# @param [Hash] opts the optional parameters
|
1467
|
-
# @return [String]
|
1468
|
-
def convert_document_xls_to_pdf(input_file, opts = {})
|
1469
|
-
data, _status_code, _headers = convert_document_xls_to_pdf_with_http_info(input_file, opts)
|
1470
|
-
return data
|
1471
|
-
end
|
1472
|
-
|
1473
|
-
# Convert Excel XLS (97-03) Spreadsheet to PDF
|
1474
|
-
# Convert Office Excel (97-2003) Workbooks (xls) to standard PDF. Converts all worksheets in the workbook to PDF.
|
1475
|
-
# @param input_file Input file to perform the operation on.
|
1476
|
-
# @param [Hash] opts the optional parameters
|
1477
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1478
|
-
def convert_document_xls_to_pdf_with_http_info(input_file, opts = {})
|
1479
|
-
if @api_client.config.debugging
|
1480
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xls_to_pdf ..."
|
1481
|
-
end
|
1482
|
-
# verify the required parameter 'input_file' is set
|
1483
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1484
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xls_to_pdf"
|
1485
|
-
end
|
1486
|
-
# resource path
|
1487
|
-
local_var_path = "/convert/xls/to/pdf"
|
1488
|
-
|
1489
|
-
# query parameters
|
1490
|
-
query_params = {}
|
1491
|
-
|
1492
|
-
# header parameters
|
1493
|
-
header_params = {}
|
1494
|
-
# HTTP header 'Accept' (if needed)
|
1495
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1496
|
-
# HTTP header 'Content-Type'
|
1497
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1498
|
-
|
1499
|
-
# form parameters
|
1500
|
-
form_params = {}
|
1501
|
-
form_params["inputFile"] = input_file
|
1502
|
-
|
1503
|
-
# http body (model)
|
1504
|
-
post_body = nil
|
1505
|
-
auth_names = ['Apikey']
|
1506
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1507
|
-
:header_params => header_params,
|
1508
|
-
:query_params => query_params,
|
1509
|
-
:form_params => form_params,
|
1510
|
-
:body => post_body,
|
1511
|
-
:auth_names => auth_names,
|
1512
|
-
:return_type => 'String')
|
1513
|
-
if @api_client.config.debugging
|
1514
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xls_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1515
|
-
end
|
1516
|
-
return data, status_code, headers
|
1517
|
-
end
|
1518
|
-
|
1519
|
-
# Convert Excel XLS (97-03) Spreadsheet to XLSX
|
1520
|
-
# Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
|
1521
|
-
# @param input_file Input file to perform the operation on.
|
1522
|
-
# @param [Hash] opts the optional parameters
|
1523
|
-
# @return [String]
|
1524
|
-
def convert_document_xls_to_xlsx(input_file, opts = {})
|
1525
|
-
data, _status_code, _headers = convert_document_xls_to_xlsx_with_http_info(input_file, opts)
|
1526
|
-
return data
|
1527
|
-
end
|
1528
|
-
|
1529
|
-
# Convert Excel XLS (97-03) Spreadsheet to XLSX
|
1530
|
-
# Convert/upgrade Office Excel (97-2003) Workbooks (xls) to modern XLSX format.
|
1531
|
-
# @param input_file Input file to perform the operation on.
|
1532
|
-
# @param [Hash] opts the optional parameters
|
1533
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1534
|
-
def convert_document_xls_to_xlsx_with_http_info(input_file, opts = {})
|
1535
|
-
if @api_client.config.debugging
|
1536
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xls_to_xlsx ..."
|
1537
|
-
end
|
1538
|
-
# verify the required parameter 'input_file' is set
|
1539
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1540
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xls_to_xlsx"
|
1541
|
-
end
|
1542
|
-
# resource path
|
1543
|
-
local_var_path = "/convert/xls/to/xlsx"
|
1544
|
-
|
1545
|
-
# query parameters
|
1546
|
-
query_params = {}
|
1547
|
-
|
1548
|
-
# header parameters
|
1549
|
-
header_params = {}
|
1550
|
-
# HTTP header 'Accept' (if needed)
|
1551
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1552
|
-
# HTTP header 'Content-Type'
|
1553
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1554
|
-
|
1555
|
-
# form parameters
|
1556
|
-
form_params = {}
|
1557
|
-
form_params["inputFile"] = input_file
|
1558
|
-
|
1559
|
-
# http body (model)
|
1560
|
-
post_body = nil
|
1561
|
-
auth_names = ['Apikey']
|
1562
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1563
|
-
:header_params => header_params,
|
1564
|
-
:query_params => query_params,
|
1565
|
-
:form_params => form_params,
|
1566
|
-
:body => post_body,
|
1567
|
-
:auth_names => auth_names,
|
1568
|
-
:return_type => 'String')
|
1569
|
-
if @api_client.config.debugging
|
1570
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xls_to_xlsx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1571
|
-
end
|
1572
|
-
return data, status_code, headers
|
1573
|
-
end
|
1574
|
-
|
1575
|
-
# Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
|
1576
|
-
# 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.
|
1577
|
-
# @param input_file Input file to perform the operation on.
|
1578
|
-
# @param [Hash] opts the optional parameters
|
1579
|
-
# @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
|
1580
|
-
# @return [String]
|
1581
|
-
def convert_document_xlsx_to_csv(input_file, opts = {})
|
1582
|
-
data, _status_code, _headers = convert_document_xlsx_to_csv_with_http_info(input_file, opts)
|
1583
|
-
return data
|
1584
|
-
end
|
1585
|
-
|
1586
|
-
# Convert Excel XLSX Spreadsheet to CSV, Single Worksheet
|
1587
|
-
# 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.
|
1588
|
-
# @param input_file Input file to perform the operation on.
|
1589
|
-
# @param [Hash] opts the optional parameters
|
1590
|
-
# @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
|
1591
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1592
|
-
def convert_document_xlsx_to_csv_with_http_info(input_file, opts = {})
|
1593
|
-
if @api_client.config.debugging
|
1594
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_csv ..."
|
1595
|
-
end
|
1596
|
-
# verify the required parameter 'input_file' is set
|
1597
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1598
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_csv"
|
1599
|
-
end
|
1600
|
-
# resource path
|
1601
|
-
local_var_path = "/convert/xlsx/to/csv"
|
1602
|
-
|
1603
|
-
# query parameters
|
1604
|
-
query_params = {}
|
1605
|
-
|
1606
|
-
# header parameters
|
1607
|
-
header_params = {}
|
1608
|
-
# HTTP header 'Accept' (if needed)
|
1609
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1610
|
-
# HTTP header 'Content-Type'
|
1611
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1612
|
-
header_params[:'outputEncoding'] = opts[:'output_encoding'] if !opts[:'output_encoding'].nil?
|
1613
|
-
|
1614
|
-
# form parameters
|
1615
|
-
form_params = {}
|
1616
|
-
form_params["inputFile"] = input_file
|
1617
|
-
|
1618
|
-
# http body (model)
|
1619
|
-
post_body = nil
|
1620
|
-
auth_names = ['Apikey']
|
1621
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1622
|
-
:header_params => header_params,
|
1623
|
-
:query_params => query_params,
|
1624
|
-
:form_params => form_params,
|
1625
|
-
:body => post_body,
|
1626
|
-
:auth_names => auth_names,
|
1627
|
-
:return_type => 'String')
|
1628
|
-
if @api_client.config.debugging
|
1629
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_csv\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1630
|
-
end
|
1631
|
-
return data, status_code, headers
|
1632
|
-
end
|
1633
|
-
|
1634
|
-
# Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
|
1635
|
-
# 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.
|
1636
|
-
# @param input_file Input file to perform the operation on.
|
1637
|
-
# @param [Hash] opts the optional parameters
|
1638
|
-
# @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
|
1639
|
-
# @return [CsvCollection]
|
1640
|
-
def convert_document_xlsx_to_csv_multi(input_file, opts = {})
|
1641
|
-
data, _status_code, _headers = convert_document_xlsx_to_csv_multi_with_http_info(input_file, opts)
|
1642
|
-
return data
|
1643
|
-
end
|
1644
|
-
|
1645
|
-
# Convert Excel XLSX Spreadsheet to CSV, Multiple Worksheets
|
1646
|
-
# 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.
|
1647
|
-
# @param input_file Input file to perform the operation on.
|
1648
|
-
# @param [Hash] opts the optional parameters
|
1649
|
-
# @option opts [String] :output_encoding Optional, set the output text encoding for the result; possible values are UTF-8, ASCII and UTF-32. Default is UTF-8.
|
1650
|
-
# @return [Array<(CsvCollection, Fixnum, Hash)>] CsvCollection data, response status code and response headers
|
1651
|
-
def convert_document_xlsx_to_csv_multi_with_http_info(input_file, opts = {})
|
1652
|
-
if @api_client.config.debugging
|
1653
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_csv_multi ..."
|
1654
|
-
end
|
1655
|
-
# verify the required parameter 'input_file' is set
|
1656
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1657
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_csv_multi"
|
1658
|
-
end
|
1659
|
-
# resource path
|
1660
|
-
local_var_path = "/convert/xlsx/to/csv/multi"
|
1661
|
-
|
1662
|
-
# query parameters
|
1663
|
-
query_params = {}
|
1664
|
-
|
1665
|
-
# header parameters
|
1666
|
-
header_params = {}
|
1667
|
-
# HTTP header 'Accept' (if needed)
|
1668
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1669
|
-
# HTTP header 'Content-Type'
|
1670
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1671
|
-
header_params[:'outputEncoding'] = opts[:'output_encoding'] if !opts[:'output_encoding'].nil?
|
1672
|
-
|
1673
|
-
# form parameters
|
1674
|
-
form_params = {}
|
1675
|
-
form_params["inputFile"] = input_file
|
1676
|
-
|
1677
|
-
# http body (model)
|
1678
|
-
post_body = nil
|
1679
|
-
auth_names = ['Apikey']
|
1680
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1681
|
-
:header_params => header_params,
|
1682
|
-
:query_params => query_params,
|
1683
|
-
:form_params => form_params,
|
1684
|
-
:body => post_body,
|
1685
|
-
:auth_names => auth_names,
|
1686
|
-
:return_type => 'CsvCollection')
|
1687
|
-
if @api_client.config.debugging
|
1688
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_csv_multi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1689
|
-
end
|
1690
|
-
return data, status_code, headers
|
1691
|
-
end
|
1692
|
-
|
1693
|
-
# Convert Excel XLSX Spreadsheet to PDF
|
1694
|
-
# Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.
|
1695
|
-
# @param input_file Input file to perform the operation on.
|
1696
|
-
# @param [Hash] opts the optional parameters
|
1697
|
-
# @return [String]
|
1698
|
-
def convert_document_xlsx_to_pdf(input_file, opts = {})
|
1699
|
-
data, _status_code, _headers = convert_document_xlsx_to_pdf_with_http_info(input_file, opts)
|
1700
|
-
return data
|
1701
|
-
end
|
1702
|
-
|
1703
|
-
# Convert Excel XLSX Spreadsheet to PDF
|
1704
|
-
# Convert Office Excel Workbooks (XLSX) to standard PDF. Converts all worksheets in the workbook to PDF. Supports both XLSX and XLSB Excel file formats.
|
1705
|
-
# @param input_file Input file to perform the operation on.
|
1706
|
-
# @param [Hash] opts the optional parameters
|
1707
|
-
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
1708
|
-
def convert_document_xlsx_to_pdf_with_http_info(input_file, opts = {})
|
1709
|
-
if @api_client.config.debugging
|
1710
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_pdf ..."
|
1711
|
-
end
|
1712
|
-
# verify the required parameter 'input_file' is set
|
1713
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1714
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_pdf"
|
1715
|
-
end
|
1716
|
-
# resource path
|
1717
|
-
local_var_path = "/convert/xlsx/to/pdf"
|
1718
|
-
|
1719
|
-
# query parameters
|
1720
|
-
query_params = {}
|
1721
|
-
|
1722
|
-
# header parameters
|
1723
|
-
header_params = {}
|
1724
|
-
# HTTP header 'Accept' (if needed)
|
1725
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
1726
|
-
# HTTP header 'Content-Type'
|
1727
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1728
|
-
|
1729
|
-
# form parameters
|
1730
|
-
form_params = {}
|
1731
|
-
form_params["inputFile"] = input_file
|
1732
|
-
|
1733
|
-
# http body (model)
|
1734
|
-
post_body = nil
|
1735
|
-
auth_names = ['Apikey']
|
1736
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1737
|
-
:header_params => header_params,
|
1738
|
-
:query_params => query_params,
|
1739
|
-
:form_params => form_params,
|
1740
|
-
:body => post_body,
|
1741
|
-
:auth_names => auth_names,
|
1742
|
-
:return_type => 'String')
|
1743
|
-
if @api_client.config.debugging
|
1744
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1745
|
-
end
|
1746
|
-
return data, status_code, headers
|
1747
|
-
end
|
1748
|
-
|
1749
|
-
# Convert Excel XLSX Spreadsheet to Text (txt)
|
1750
|
-
# 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.
|
1751
|
-
# @param input_file Input file to perform the operation on.
|
1752
|
-
# @param [Hash] opts the optional parameters
|
1753
|
-
# @return [TextConversionResult]
|
1754
|
-
def convert_document_xlsx_to_txt(input_file, opts = {})
|
1755
|
-
data, _status_code, _headers = convert_document_xlsx_to_txt_with_http_info(input_file, opts)
|
1756
|
-
return data
|
1757
|
-
end
|
1758
|
-
|
1759
|
-
# Convert Excel XLSX Spreadsheet to Text (txt)
|
1760
|
-
# 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.
|
1761
|
-
# @param input_file Input file to perform the operation on.
|
1762
|
-
# @param [Hash] opts the optional parameters
|
1763
|
-
# @return [Array<(TextConversionResult, Fixnum, Hash)>] TextConversionResult data, response status code and response headers
|
1764
|
-
def convert_document_xlsx_to_txt_with_http_info(input_file, opts = {})
|
1765
|
-
if @api_client.config.debugging
|
1766
|
-
@api_client.config.logger.debug "Calling API: ConvertDocumentApi.convert_document_xlsx_to_txt ..."
|
1767
|
-
end
|
1768
|
-
# verify the required parameter 'input_file' is set
|
1769
|
-
if @api_client.config.client_side_validation && input_file.nil?
|
1770
|
-
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertDocumentApi.convert_document_xlsx_to_txt"
|
1771
|
-
end
|
1772
|
-
# resource path
|
1773
|
-
local_var_path = "/convert/xlsx/to/txt"
|
1774
|
-
|
1775
|
-
# query parameters
|
1776
|
-
query_params = {}
|
1777
|
-
|
1778
|
-
# header parameters
|
1779
|
-
header_params = {}
|
1780
|
-
# HTTP header 'Accept' (if needed)
|
1781
|
-
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
1782
|
-
# HTTP header 'Content-Type'
|
1783
|
-
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
1784
|
-
|
1785
|
-
# form parameters
|
1786
|
-
form_params = {}
|
1787
|
-
form_params["inputFile"] = input_file
|
1788
|
-
|
1789
|
-
# http body (model)
|
1790
|
-
post_body = nil
|
1791
|
-
auth_names = ['Apikey']
|
1792
|
-
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1793
|
-
:header_params => header_params,
|
1794
|
-
:query_params => query_params,
|
1795
|
-
:form_params => form_params,
|
1796
|
-
:body => post_body,
|
1797
|
-
:auth_names => auth_names,
|
1798
|
-
:return_type => 'TextConversionResult')
|
1799
|
-
if @api_client.config.debugging
|
1800
|
-
@api_client.config.logger.debug "API called: ConvertDocumentApi#convert_document_xlsx_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1801
|
-
end
|
1802
|
-
return data, status_code, headers
|
1803
|
-
end
|
1804
|
-
end
|
1805
|
-
end
|