cloudmersive-convert-api-client 2.0.4 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +7 -0
- data/README.md +588 -0
- data/Rakefile +8 -0
- data/cloudmersive-convert-api-client.gemspec +45 -0
- data/docs/AddPdfAnnotationRequest.md +9 -0
- data/docs/AlternateFileFormatCandidate.md +10 -0
- data/docs/AppendXlsxRowRequest.md +11 -0
- data/docs/AppendXlsxRowResponse.md +9 -0
- data/docs/AutodetectDocumentValidationResult.md +12 -0
- data/docs/AutodetectGetInfoResult.md +14 -0
- data/docs/AutodetectToJpgResult.md +9 -0
- data/docs/AutodetectToPngResult.md +9 -0
- data/docs/AutodetectToThumbnailsResult.md +9 -0
- data/docs/Base64DecodeRequest.md +8 -0
- data/docs/Base64DecodeResponse.md +9 -0
- data/docs/Base64DetectRequest.md +8 -0
- data/docs/Base64DetectResponse.md +9 -0
- data/docs/Base64EncodeRequest.md +8 -0
- data/docs/Base64EncodeResponse.md +9 -0
- data/docs/ChangeLineEndingResponse.md +9 -0
- data/docs/ClearXlsxCellRequest.md +12 -0
- data/docs/ClearXlsxCellResponse.md +9 -0
- data/docs/ClearXlsxRowRequest.md +11 -0
- data/docs/ClearXlsxRowResponse.md +9 -0
- data/docs/CompareDocumentApi.md +66 -0
- data/docs/ConvertDataApi.md +902 -0
- data/docs/ConvertDocumentApi.md +4344 -0
- data/docs/ConvertImageApi.md +243 -0
- data/docs/ConvertTemplateApi.md +122 -0
- data/docs/ConvertWebApi.md +448 -0
- data/docs/ConvertedJpgPage.md +9 -0
- data/docs/ConvertedPngPage.md +9 -0
- data/docs/CreateBlankDocxRequest.md +8 -0
- data/docs/CreateBlankDocxResponse.md +9 -0
- data/docs/CreateBlankSpreadsheetRequest.md +8 -0
- data/docs/CreateBlankSpreadsheetResponse.md +9 -0
- data/docs/CreateSpreadsheetFromDataRequest.md +9 -0
- data/docs/CreateSpreadsheetFromDataResponse.md +9 -0
- data/docs/CreateZipArchiveRequest.md +9 -0
- data/docs/CsvCollection.md +10 -0
- data/docs/CsvFileResult.md +9 -0
- data/docs/DeleteDocxTableRowRangeRequest.md +12 -0
- data/docs/DeleteDocxTableRowRangeResponse.md +9 -0
- data/docs/DeleteDocxTableRowRequest.md +11 -0
- data/docs/DeleteDocxTableRowResponse.md +9 -0
- data/docs/DetectLineEndingsResponse.md +11 -0
- data/docs/DisableSharedWorkbookRequest.md +9 -0
- data/docs/DisableSharedWorkbookResponse.md +9 -0
- data/docs/DocumentValidationError.md +11 -0
- data/docs/DocumentValidationResult.md +12 -0
- data/docs/DocxBody.md +10 -0
- data/docs/DocxCellStyle.md +11 -0
- data/docs/DocxComment.md +16 -0
- data/docs/DocxFooter.md +10 -0
- data/docs/DocxHeader.md +10 -0
- data/docs/DocxImage.md +20 -0
- data/docs/DocxInsertCommentOnParagraphRequest.md +11 -0
- data/docs/DocxInsertImageRequest.md +16 -0
- data/docs/DocxInsertImageResponse.md +9 -0
- data/docs/DocxPage.md +9 -0
- data/docs/DocxParagraph.md +11 -0
- data/docs/DocxRemoveObjectRequest.md +10 -0
- data/docs/DocxRemoveObjectResponse.md +9 -0
- data/docs/DocxRun.md +15 -0
- data/docs/DocxSection.md +9 -0
- data/docs/DocxSetFooterAddPageNumberRequest.md +10 -0
- data/docs/DocxSetFooterRequest.md +10 -0
- data/docs/DocxSetFooterResponse.md +9 -0
- data/docs/DocxSetHeaderRequest.md +10 -0
- data/docs/DocxSetHeaderResponse.md +9 -0
- data/docs/DocxStyle.md +14 -0
- data/docs/DocxTable.md +46 -0
- data/docs/DocxTableCell.md +15 -0
- data/docs/DocxTableRow.md +10 -0
- data/docs/DocxTemplateApplicationRequest.md +8 -0
- data/docs/DocxTemplateOperation.md +10 -0
- data/docs/DocxText.md +10 -0
- data/docs/DocxToJpgResult.md +9 -0
- data/docs/DocxToPngResult.md +9 -0
- data/docs/DocxTopLevelComment.md +14 -0
- data/docs/EditDocumentApi.md +3253 -0
- data/docs/EditHtmlApi.md +329 -0
- data/docs/EditPdfApi.md +1141 -0
- data/docs/EditTextApi.md +726 -0
- data/docs/EmlAttachment.md +9 -0
- data/docs/EmlToHtmlResult.md +16 -0
- data/docs/EmlToJpgResult.md +9 -0
- data/docs/EmlToPngResult.md +9 -0
- data/docs/EnableSharedWorkbookRequest.md +9 -0
- data/docs/EnableSharedWorkbookResponse.md +9 -0
- data/docs/ExifValue.md +10 -0
- data/docs/FindDocxParagraphRequest.md +11 -0
- data/docs/FindDocxParagraphResponse.md +10 -0
- data/docs/FindRegexMatch.md +12 -0
- data/docs/FindStringMatch.md +10 -0
- data/docs/FindStringRegexRequest.md +10 -0
- data/docs/FindStringRegexResponse.md +10 -0
- data/docs/FindStringSimpleRequest.md +9 -0
- data/docs/FindStringSimpleResponse.md +10 -0
- data/docs/FinishEditingRequest.md +8 -0
- data/docs/GetDocxBodyRequest.md +9 -0
- data/docs/GetDocxBodyResponse.md +9 -0
- data/docs/GetDocxCommentsHierarchicalResponse.md +10 -0
- data/docs/GetDocxCommentsResponse.md +10 -0
- data/docs/GetDocxGetCommentsHierarchicalRequest.md +9 -0
- data/docs/GetDocxGetCommentsRequest.md +9 -0
- data/docs/GetDocxHeadersAndFootersRequest.md +9 -0
- data/docs/GetDocxHeadersAndFootersResponse.md +10 -0
- data/docs/GetDocxImagesRequest.md +9 -0
- data/docs/GetDocxImagesResponse.md +9 -0
- data/docs/GetDocxPagesRequest.md +10 -0
- data/docs/GetDocxPagesResponse.md +10 -0
- data/docs/GetDocxSectionsRequest.md +9 -0
- data/docs/GetDocxSectionsResponse.md +9 -0
- data/docs/GetDocxStylesRequest.md +9 -0
- data/docs/GetDocxStylesResponse.md +9 -0
- data/docs/GetDocxTableByIndexRequest.md +10 -0
- data/docs/GetDocxTableByIndexResponse.md +9 -0
- data/docs/GetDocxTableRowRequest.md +11 -0
- data/docs/GetDocxTableRowResponse.md +9 -0
- data/docs/GetDocxTablesRequest.md +9 -0
- data/docs/GetDocxTablesResponse.md +9 -0
- data/docs/GetFileTypeIconResult.md +10 -0
- data/docs/GetImageInfoResult.md +24 -0
- data/docs/GetPdfAnnotationsResult.md +9 -0
- data/docs/GetXlsxCellByIdentifierRequest.md +11 -0
- data/docs/GetXlsxCellByIdentifierResponse.md +9 -0
- data/docs/GetXlsxCellRequest.md +12 -0
- data/docs/GetXlsxCellResponse.md +9 -0
- data/docs/GetXlsxColumnsRequest.md +10 -0
- data/docs/GetXlsxColumnsResponse.md +9 -0
- data/docs/GetXlsxImagesRequest.md +10 -0
- data/docs/GetXlsxImagesResponse.md +9 -0
- data/docs/GetXlsxRowsAndCellsRequest.md +10 -0
- data/docs/GetXlsxRowsAndCellsResponse.md +9 -0
- data/docs/GetXlsxSpecificRowRequest.md +11 -0
- data/docs/GetXlsxSpecificRowResponse.md +9 -0
- data/docs/GetXlsxStylesRequest.md +9 -0
- data/docs/GetXlsxStylesResponse.md +9 -0
- data/docs/GetXlsxWorksheetsRequest.md +9 -0
- data/docs/GetXlsxWorksheetsResponse.md +9 -0
- data/docs/HtmlMdResult.md +9 -0
- data/docs/HtmlTemplateApplicationRequest.md +10 -0
- data/docs/HtmlTemplateApplicationResponse.md +9 -0
- data/docs/HtmlTemplateOperation.md +10 -0
- data/docs/HtmlToOfficeRequest.md +8 -0
- data/docs/HtmlToPdfRequest.md +11 -0
- data/docs/HtmlToPngRequest.md +11 -0
- data/docs/HtmlToTextRequest.md +8 -0
- data/docs/HtmlToTextResponse.md +9 -0
- data/docs/InsertDocxCommentOnParagraphResponse.md +9 -0
- data/docs/InsertDocxInsertParagraphRequest.md +12 -0
- data/docs/InsertDocxInsertParagraphResponse.md +9 -0
- data/docs/InsertDocxTableRowRequest.md +12 -0
- data/docs/InsertDocxTableRowResponse.md +9 -0
- data/docs/InsertDocxTablesRequest.md +12 -0
- data/docs/InsertDocxTablesResponse.md +9 -0
- data/docs/InsertXlsxWorksheetRequest.md +10 -0
- data/docs/InsertXlsxWorksheetResponse.md +9 -0
- data/docs/KeynoteToJpgResult.md +9 -0
- data/docs/KeynoteToPngResult.md +9 -0
- data/docs/MergeDocumentApi.md +812 -0
- data/docs/MsgAttachment.md +9 -0
- data/docs/MsgToHtmlResult.md +16 -0
- data/docs/MsgToJpgResult.md +9 -0
- data/docs/MsgToPngResult.md +9 -0
- data/docs/MultiReplaceStringRequest.md +10 -0
- data/docs/MultipageImageFormatConversionResult.md +10 -0
- data/docs/OdpToJpgResult.md +9 -0
- data/docs/OdpToPngResult.md +9 -0
- data/docs/OdsToJpgResult.md +9 -0
- data/docs/OdsToPngResult.md +9 -0
- data/docs/OdtToJpgResult.md +9 -0
- data/docs/OdtToPngResult.md +9 -0
- data/docs/PageConversionResult.md +9 -0
- data/docs/PdfAnnotation.md +19 -0
- data/docs/PdfDocument.md +10 -0
- data/docs/PdfFormField.md +11 -0
- data/docs/PdfFormFields.md +9 -0
- data/docs/PdfMetadata.md +16 -0
- data/docs/PdfPageText.md +9 -0
- data/docs/PdfTextByPageResult.md +9 -0
- data/docs/PdfToJpgResult.md +9 -0
- data/docs/PdfToPngResult.md +9 -0
- data/docs/PptxToPngResult.md +9 -0
- data/docs/PresentationResult.md +10 -0
- data/docs/RemoveDocxHeadersAndFootersRequest.md +11 -0
- data/docs/RemoveDocxHeadersAndFootersResponse.md +9 -0
- data/docs/RemoveDocxPagesRequest.md +11 -0
- data/docs/RemoveHtmlFromTextRequest.md +8 -0
- data/docs/RemoveHtmlFromTextResponse.md +9 -0
- data/docs/RemovePptxSlidesRequest.md +11 -0
- data/docs/RemoveWhitespaceFromTextRequest.md +8 -0
- data/docs/RemoveWhitespaceFromTextResponse.md +9 -0
- data/docs/RemoveXlsxWorksheetRequest.md +10 -0
- data/docs/RenameXlsxWorksheetRequest.md +11 -0
- data/docs/RenameXlsxWorksheetResponse.md +9 -0
- data/docs/ReplaceDocxParagraphRequest.md +12 -0
- data/docs/ReplaceDocxParagraphResponse.md +9 -0
- data/docs/ReplaceStringRegexRequest.md +10 -0
- data/docs/ReplaceStringRegexResponse.md +9 -0
- data/docs/ReplaceStringRequest.md +12 -0
- data/docs/ReplaceStringSimpleRequest.md +10 -0
- data/docs/ReplaceStringSimpleResponse.md +9 -0
- data/docs/RtfToJpgResult.md +9 -0
- data/docs/RtfToPngResult.md +9 -0
- data/docs/ScreenshotRequest.md +11 -0
- data/docs/SetFormFieldValue.md +11 -0
- data/docs/SetPdfFormFieldsRequest.md +9 -0
- data/docs/SetPdfMetadataRequest.md +9 -0
- data/docs/SetXlsxCellByIdentifierRequest.md +12 -0
- data/docs/SetXlsxCellByIdentifierResponse.md +9 -0
- data/docs/SetXlsxCellRequest.md +13 -0
- data/docs/SetXlsxCellResponse.md +9 -0
- data/docs/SingleReplaceString.md +10 -0
- data/docs/SplitDocumentApi.md +361 -0
- data/docs/SplitDocumentResult.md +10 -0
- data/docs/SplitDocxDocumentResult.md +9 -0
- data/docs/SplitPdfResult.md +9 -0
- data/docs/SplitPptxPresentationResult.md +9 -0
- data/docs/SplitTextDocumentByLinesResult.md +10 -0
- data/docs/SplitTextDocumentByStringResult.md +10 -0
- data/docs/SplitXlsxWorksheetResult.md +9 -0
- data/docs/TextConversionResult.md +9 -0
- data/docs/TextDocumentElement.md +9 -0
- data/docs/TextDocumentLine.md +9 -0
- data/docs/TextEncodingDetectResponse.md +9 -0
- data/docs/Thumbnail.md +9 -0
- data/docs/TransformDocumentApi.md +140 -0
- data/docs/UpdateDocxTableCellRequest.md +13 -0
- data/docs/UpdateDocxTableCellResponse.md +9 -0
- data/docs/UpdateDocxTableRowRequest.md +12 -0
- data/docs/UpdateDocxTableRowResponse.md +9 -0
- data/docs/UrlToPdfRequest.md +11 -0
- data/docs/UrlToTextRequest.md +8 -0
- data/docs/UrlToTextResponse.md +9 -0
- data/docs/ValidateDocumentApi.md +943 -0
- data/docs/ViewerResponse.md +9 -0
- data/docs/ViewerToolsApi.md +63 -0
- data/docs/WorksheetResult.md +11 -0
- data/docs/XlsxImage.md +12 -0
- data/docs/XlsxSpreadsheetCell.md +12 -0
- data/docs/XlsxSpreadsheetColumn.md +9 -0
- data/docs/XlsxSpreadsheetRow.md +9 -0
- data/docs/XlsxToPngResult.md +9 -0
- data/docs/XlsxWorksheet.md +9 -0
- data/docs/XmlAddAttributeWithXPathResult.md +10 -0
- data/docs/XmlAddChildWithXPathResult.md +10 -0
- data/docs/XmlFilterWithXPathResult.md +10 -0
- data/docs/XmlQueryWithXQueryMultiResult.md +10 -0
- data/docs/XmlQueryWithXQueryResult.md +10 -0
- data/docs/XmlRemoveAllChildrenWithXPathResult.md +10 -0
- data/docs/XmlRemoveWithXPathResult.md +11 -0
- data/docs/XmlReplaceWithXPathResult.md +10 -0
- data/docs/XmlSetValueWithXPathResult.md +10 -0
- data/docs/ZipArchiveApi.md +386 -0
- data/docs/ZipDirectory.md +10 -0
- data/docs/ZipEncryptionAdvancedRequest.md +10 -0
- data/docs/ZipExtractResponse.md +10 -0
- data/docs/ZipFile.md +9 -0
- data/git_push.sh +55 -0
- data/lib/cloudmersive-convert-api-client.rb +295 -0
- data/lib/cloudmersive-convert-api-client/api/compare_document_api.rb +85 -0
- data/lib/cloudmersive-convert-api-client/api/convert_data_api.rb +966 -0
- data/lib/cloudmersive-convert-api-client/api/convert_document_api.rb +4360 -0
- data/lib/cloudmersive-convert-api-client/api/convert_image_api.rb +273 -0
- data/lib/cloudmersive-convert-api-client/api/convert_template_api.rb +135 -0
- data/lib/cloudmersive-convert-api-client/api/convert_web_api.rb +456 -0
- data/lib/cloudmersive-convert-api-client/api/edit_document_api.rb +3214 -0
- data/lib/cloudmersive-convert-api-client/api/edit_html_api.rb +339 -0
- data/lib/cloudmersive-convert-api-client/api/edit_pdf_api.rb +1225 -0
- data/lib/cloudmersive-convert-api-client/api/edit_text_api.rb +735 -0
- data/lib/cloudmersive-convert-api-client/api/merge_document_api.rb +911 -0
- data/lib/cloudmersive-convert-api-client/api/split_document_api.rb +375 -0
- data/lib/cloudmersive-convert-api-client/api/transform_document_api.rb +161 -0
- data/lib/cloudmersive-convert-api-client/api/validate_document_api.rb +958 -0
- data/lib/cloudmersive-convert-api-client/api/viewer_tools_api.rb +78 -0
- data/lib/cloudmersive-convert-api-client/api/zip_archive_api.rb +422 -0
- data/lib/cloudmersive-convert-api-client/api_client.rb +391 -0
- data/lib/cloudmersive-convert-api-client/api_error.rb +38 -0
- data/lib/cloudmersive-convert-api-client/configuration.rb +209 -0
- data/lib/cloudmersive-convert-api-client/models/add_pdf_annotation_request.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/alternate_file_format_candidate.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/append_xlsx_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_document_validation_result.rb +227 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_get_info_result.rb +248 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/autodetect_to_thumbnails_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/base64_decode_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/base64_decode_response.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/base64_detect_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/base64_detect_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/base64_encode_request.rb +201 -0
- data/lib/cloudmersive-convert-api-client/models/base64_encode_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/change_line_ending_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/clear_xlsx_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/converted_jpg_page.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/converted_png_page.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_docx_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/create_blank_spreadsheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_request.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/create_spreadsheet_from_data_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/create_zip_archive_request.rb +200 -0
- data/lib/cloudmersive-convert-api-client/models/csv_collection.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/csv_file_result.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_range_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/delete_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/detect_line_endings_response.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/disable_shared_workbook_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/document_validation_error.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/document_validation_result.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/docx_body.rb +209 -0
- data/lib/cloudmersive-convert-api-client/models/docx_cell_style.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/docx_comment.rb +266 -0
- data/lib/cloudmersive-convert-api-client/models/docx_footer.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/docx_header.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/docx_image.rb +305 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_comment_on_paragraph_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_request.rb +296 -0
- data/lib/cloudmersive-convert-api-client/models/docx_insert_image_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_page.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_paragraph.rb +218 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_remove_object_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_run.rb +258 -0
- data/lib/cloudmersive-convert-api-client/models/docx_section.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_add_page_number_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_footer_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/docx_set_header_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/docx_style.rb +246 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table.rb +568 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_cell.rb +258 -0
- data/lib/cloudmersive-convert-api-client/models/docx_table_row.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/docx_template_application_request.rb +188 -0
- data/lib/cloudmersive-convert-api-client/models/docx_template_operation.rb +239 -0
- data/lib/cloudmersive-convert-api-client/models/docx_text.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/docx_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/docx_top_level_comment.rb +248 -0
- data/lib/cloudmersive-convert-api-client/models/eml_attachment.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_html_result.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/eml_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/enable_shared_workbook_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/exif_value.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/find_docx_paragraph_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/find_regex_match.rb +228 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_match.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_regex_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_request.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/find_string_simple_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/finish_editing_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_body_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_hierarchical_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_comments_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_hierarchical_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_get_comments_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_headers_and_footers_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_images_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_pages_response.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_sections_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_styles_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_by_index_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_docx_tables_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_file_type_icon_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_image_info_result.rb +347 -0
- data/lib/cloudmersive-convert-api-client/models/get_pdf_annotations_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_by_identifier_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_columns_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_images_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_rows_and_cells_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_specific_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_styles_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/get_xlsx_worksheets_response.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/html_md_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_application_request.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_application_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/html_template_operation.rb +239 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_office_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_pdf_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_png_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/html_to_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_comment_on_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_insert_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/insert_docx_tables_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/insert_xlsx_worksheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/keynote_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/keynote_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/msg_attachment.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_html_result.rb +268 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/msg_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/multi_replace_string_request.rb +223 -0
- data/lib/cloudmersive-convert-api-client/models/multipage_image_format_conversion_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/odp_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odp_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/ods_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/ods_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odt_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/odt_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/page_conversion_result.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_annotation.rb +296 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_document.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_form_field.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_form_fields.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_metadata.rb +266 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_page_text.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_text_by_page_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pdf_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/pptx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/presentation_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_headers_and_footers_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_docx_pages_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/remove_html_from_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_pptx_slides_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/remove_whitespace_from_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/remove_xlsx_worksheet_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_request.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/rename_xlsx_worksheet_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/replace_docx_paragraph_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_regex_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_request.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/replace_string_simple_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/rtf_to_jpg_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/rtf_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/screenshot_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/set_form_field_value.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/set_pdf_form_fields_request.rb +213 -0
- data/lib/cloudmersive-convert-api-client/models/set_pdf_metadata_request.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_by_identifier_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_request.rb +251 -0
- data/lib/cloudmersive-convert-api-client/models/set_xlsx_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/single_replace_string.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/split_document_result.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/split_docx_document_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/split_pdf_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/split_pptx_presentation_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_lines_result.rb +207 -0
- data/lib/cloudmersive-convert-api-client/models/split_text_document_by_string_result.rb +207 -0
- data/lib/cloudmersive-convert-api-client/models/split_xlsx_worksheet_result.rb +197 -0
- data/lib/cloudmersive-convert-api-client/models/text_conversion_result.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_document_element.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_document_line.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/text_encoding_detect_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/thumbnail.rb +211 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_request.rb +251 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_cell_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_request.rb +241 -0
- data/lib/cloudmersive-convert-api-client/models/update_docx_table_row_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_pdf_request.rb +216 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_request.rb +186 -0
- data/lib/cloudmersive-convert-api-client/models/url_to_text_response.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/viewer_response.rb +194 -0
- data/lib/cloudmersive-convert-api-client/models/worksheet_result.rb +231 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_image.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_cell.rb +225 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_column.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_spreadsheet_row.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_to_png_result.rb +198 -0
- data/lib/cloudmersive-convert-api-client/models/xlsx_worksheet.rb +196 -0
- data/lib/cloudmersive-convert-api-client/models/xml_add_attribute_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_add_child_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_filter_with_x_path_result.rb +208 -0
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_multi_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_query_with_x_query_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_remove_all_children_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_remove_with_x_path_result.rb +218 -0
- data/lib/cloudmersive-convert-api-client/models/xml_replace_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/xml_set_value_with_x_path_result.rb +206 -0
- data/lib/cloudmersive-convert-api-client/models/zip_directory.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/zip_encryption_advanced_request.rb +221 -0
- data/lib/cloudmersive-convert-api-client/models/zip_extract_response.rb +210 -0
- data/lib/cloudmersive-convert-api-client/models/zip_file.rb +211 -0
- data/lib/cloudmersive-convert-api-client/version.rb +15 -0
- data/spec/api/compare_document_api_spec.rb +48 -0
- data/spec/api/convert_data_api_spec.rb +240 -0
- data/spec/api/convert_document_api_spec.rb +998 -0
- data/spec/api/convert_image_api_spec.rb +88 -0
- data/spec/api/convert_template_api_spec.rb +60 -0
- data/spec/api/convert_web_api_spec.rb +131 -0
- data/spec/api/edit_document_api_spec.rb +743 -0
- data/spec/api/edit_html_api_spec.rb +114 -0
- data/spec/api/edit_pdf_api_spec.rb +295 -0
- data/spec/api/edit_text_api_spec.rb +192 -0
- data/spec/api/merge_document_api_spec.rb +239 -0
- data/spec/api/split_document_api_spec.rb +113 -0
- data/spec/api/transform_document_api_spec.rb +67 -0
- data/spec/api/validate_document_api_spec.rb +239 -0
- data/spec/api/viewer_tools_api_spec.rb +47 -0
- data/spec/api/zip_archive_api_spec.rb +128 -0
- data/spec/api_client_spec.rb +243 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/add_pdf_annotation_request_spec.rb +47 -0
- data/spec/models/alternate_file_format_candidate_spec.rb +53 -0
- data/spec/models/append_xlsx_row_request_spec.rb +59 -0
- data/spec/models/append_xlsx_row_response_spec.rb +47 -0
- data/spec/models/autodetect_document_validation_result_spec.rb +65 -0
- data/spec/models/autodetect_get_info_result_spec.rb +77 -0
- data/spec/models/autodetect_to_jpg_result_spec.rb +47 -0
- data/spec/models/autodetect_to_png_result_spec.rb +47 -0
- data/spec/models/autodetect_to_thumbnails_result_spec.rb +47 -0
- data/spec/models/base64_decode_request_spec.rb +41 -0
- data/spec/models/base64_decode_response_spec.rb +47 -0
- data/spec/models/base64_detect_request_spec.rb +41 -0
- data/spec/models/base64_detect_response_spec.rb +47 -0
- data/spec/models/base64_encode_request_spec.rb +41 -0
- data/spec/models/base64_encode_response_spec.rb +47 -0
- data/spec/models/change_line_ending_response_spec.rb +47 -0
- data/spec/models/clear_xlsx_cell_request_spec.rb +65 -0
- data/spec/models/clear_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/clear_xlsx_row_request_spec.rb +59 -0
- data/spec/models/clear_xlsx_row_response_spec.rb +47 -0
- data/spec/models/converted_jpg_page_spec.rb +47 -0
- data/spec/models/converted_png_page_spec.rb +47 -0
- data/spec/models/create_blank_docx_request_spec.rb +41 -0
- data/spec/models/create_blank_docx_response_spec.rb +47 -0
- data/spec/models/create_blank_spreadsheet_request_spec.rb +41 -0
- data/spec/models/create_blank_spreadsheet_response_spec.rb +47 -0
- data/spec/models/create_spreadsheet_from_data_request_spec.rb +47 -0
- data/spec/models/create_spreadsheet_from_data_response_spec.rb +47 -0
- data/spec/models/create_zip_archive_request_spec.rb +47 -0
- data/spec/models/csv_collection_spec.rb +53 -0
- data/spec/models/csv_file_result_spec.rb +47 -0
- data/spec/models/delete_docx_table_row_range_request_spec.rb +65 -0
- data/spec/models/delete_docx_table_row_range_response_spec.rb +47 -0
- data/spec/models/delete_docx_table_row_request_spec.rb +59 -0
- data/spec/models/delete_docx_table_row_response_spec.rb +47 -0
- data/spec/models/detect_line_endings_response_spec.rb +59 -0
- data/spec/models/disable_shared_workbook_request_spec.rb +47 -0
- data/spec/models/disable_shared_workbook_response_spec.rb +47 -0
- data/spec/models/document_validation_error_spec.rb +59 -0
- data/spec/models/document_validation_result_spec.rb +65 -0
- data/spec/models/docx_body_spec.rb +53 -0
- data/spec/models/docx_cell_style_spec.rb +59 -0
- data/spec/models/docx_comment_spec.rb +89 -0
- data/spec/models/docx_footer_spec.rb +53 -0
- data/spec/models/docx_header_spec.rb +53 -0
- data/spec/models/docx_image_spec.rb +113 -0
- data/spec/models/docx_insert_comment_on_paragraph_request_spec.rb +59 -0
- data/spec/models/docx_insert_image_request_spec.rb +89 -0
- data/spec/models/docx_insert_image_response_spec.rb +47 -0
- data/spec/models/docx_page_spec.rb +47 -0
- data/spec/models/docx_paragraph_spec.rb +59 -0
- data/spec/models/docx_remove_object_request_spec.rb +53 -0
- data/spec/models/docx_remove_object_response_spec.rb +47 -0
- data/spec/models/docx_run_spec.rb +83 -0
- data/spec/models/docx_section_spec.rb +47 -0
- data/spec/models/docx_set_footer_add_page_number_request_spec.rb +53 -0
- data/spec/models/docx_set_footer_request_spec.rb +53 -0
- data/spec/models/docx_set_footer_response_spec.rb +47 -0
- data/spec/models/docx_set_header_request_spec.rb +53 -0
- data/spec/models/docx_set_header_response_spec.rb +47 -0
- data/spec/models/docx_style_spec.rb +77 -0
- data/spec/models/docx_table_cell_spec.rb +83 -0
- data/spec/models/docx_table_row_spec.rb +53 -0
- data/spec/models/docx_table_spec.rb +269 -0
- data/spec/models/docx_template_application_request_spec.rb +41 -0
- data/spec/models/docx_template_operation_spec.rb +57 -0
- data/spec/models/docx_text_spec.rb +53 -0
- data/spec/models/docx_to_jpg_result_spec.rb +47 -0
- data/spec/models/docx_to_png_result_spec.rb +47 -0
- data/spec/models/docx_top_level_comment_spec.rb +77 -0
- data/spec/models/eml_attachment_spec.rb +47 -0
- data/spec/models/eml_to_html_result_spec.rb +89 -0
- data/spec/models/eml_to_jpg_result_spec.rb +47 -0
- data/spec/models/eml_to_png_result_spec.rb +47 -0
- data/spec/models/enable_shared_workbook_request_spec.rb +47 -0
- data/spec/models/enable_shared_workbook_response_spec.rb +47 -0
- data/spec/models/exif_value_spec.rb +53 -0
- data/spec/models/find_docx_paragraph_request_spec.rb +59 -0
- data/spec/models/find_docx_paragraph_response_spec.rb +53 -0
- data/spec/models/find_regex_match_spec.rb +65 -0
- data/spec/models/find_string_match_spec.rb +53 -0
- data/spec/models/find_string_regex_request_spec.rb +53 -0
- data/spec/models/find_string_regex_response_spec.rb +53 -0
- data/spec/models/find_string_simple_request_spec.rb +47 -0
- data/spec/models/find_string_simple_response_spec.rb +53 -0
- data/spec/models/finish_editing_request_spec.rb +41 -0
- data/spec/models/get_docx_body_request_spec.rb +47 -0
- data/spec/models/get_docx_body_response_spec.rb +47 -0
- data/spec/models/get_docx_comments_hierarchical_response_spec.rb +53 -0
- data/spec/models/get_docx_comments_response_spec.rb +53 -0
- data/spec/models/get_docx_get_comments_hierarchical_request_spec.rb +47 -0
- data/spec/models/get_docx_get_comments_request_spec.rb +47 -0
- data/spec/models/get_docx_headers_and_footers_request_spec.rb +47 -0
- data/spec/models/get_docx_headers_and_footers_response_spec.rb +53 -0
- data/spec/models/get_docx_images_request_spec.rb +47 -0
- data/spec/models/get_docx_images_response_spec.rb +47 -0
- data/spec/models/get_docx_pages_request_spec.rb +53 -0
- data/spec/models/get_docx_pages_response_spec.rb +53 -0
- data/spec/models/get_docx_sections_request_spec.rb +47 -0
- data/spec/models/get_docx_sections_response_spec.rb +47 -0
- data/spec/models/get_docx_styles_request_spec.rb +47 -0
- data/spec/models/get_docx_styles_response_spec.rb +47 -0
- data/spec/models/get_docx_table_by_index_request_spec.rb +53 -0
- data/spec/models/get_docx_table_by_index_response_spec.rb +47 -0
- data/spec/models/get_docx_table_row_request_spec.rb +59 -0
- data/spec/models/get_docx_table_row_response_spec.rb +47 -0
- data/spec/models/get_docx_tables_request_spec.rb +47 -0
- data/spec/models/get_docx_tables_response_spec.rb +47 -0
- data/spec/models/get_file_type_icon_result_spec.rb +53 -0
- data/spec/models/get_image_info_result_spec.rb +137 -0
- data/spec/models/get_pdf_annotations_result_spec.rb +47 -0
- data/spec/models/get_xlsx_cell_by_identifier_request_spec.rb +59 -0
- data/spec/models/get_xlsx_cell_by_identifier_response_spec.rb +47 -0
- data/spec/models/get_xlsx_cell_request_spec.rb +65 -0
- data/spec/models/get_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/get_xlsx_columns_request_spec.rb +53 -0
- data/spec/models/get_xlsx_columns_response_spec.rb +47 -0
- data/spec/models/get_xlsx_images_request_spec.rb +53 -0
- data/spec/models/get_xlsx_images_response_spec.rb +47 -0
- data/spec/models/get_xlsx_rows_and_cells_request_spec.rb +53 -0
- data/spec/models/get_xlsx_rows_and_cells_response_spec.rb +47 -0
- data/spec/models/get_xlsx_specific_row_request_spec.rb +59 -0
- data/spec/models/get_xlsx_specific_row_response_spec.rb +47 -0
- data/spec/models/get_xlsx_styles_request_spec.rb +47 -0
- data/spec/models/get_xlsx_styles_response_spec.rb +47 -0
- data/spec/models/get_xlsx_worksheets_request_spec.rb +47 -0
- data/spec/models/get_xlsx_worksheets_response_spec.rb +47 -0
- data/spec/models/html_md_result_spec.rb +47 -0
- data/spec/models/html_template_application_request_spec.rb +53 -0
- data/spec/models/html_template_application_response_spec.rb +47 -0
- data/spec/models/html_template_operation_spec.rb +57 -0
- data/spec/models/html_to_office_request_spec.rb +41 -0
- data/spec/models/html_to_pdf_request_spec.rb +59 -0
- data/spec/models/html_to_png_request_spec.rb +59 -0
- data/spec/models/html_to_text_request_spec.rb +41 -0
- data/spec/models/html_to_text_response_spec.rb +47 -0
- data/spec/models/insert_docx_comment_on_paragraph_response_spec.rb +47 -0
- data/spec/models/insert_docx_insert_paragraph_request_spec.rb +65 -0
- data/spec/models/insert_docx_insert_paragraph_response_spec.rb +47 -0
- data/spec/models/insert_docx_table_row_request_spec.rb +65 -0
- data/spec/models/insert_docx_table_row_response_spec.rb +47 -0
- data/spec/models/insert_docx_tables_request_spec.rb +65 -0
- data/spec/models/insert_docx_tables_response_spec.rb +47 -0
- data/spec/models/insert_xlsx_worksheet_request_spec.rb +53 -0
- data/spec/models/insert_xlsx_worksheet_response_spec.rb +47 -0
- data/spec/models/keynote_to_jpg_result_spec.rb +47 -0
- data/spec/models/keynote_to_png_result_spec.rb +47 -0
- data/spec/models/msg_attachment_spec.rb +47 -0
- data/spec/models/msg_to_html_result_spec.rb +89 -0
- data/spec/models/msg_to_jpg_result_spec.rb +47 -0
- data/spec/models/msg_to_png_result_spec.rb +47 -0
- data/spec/models/multi_replace_string_request_spec.rb +53 -0
- data/spec/models/multipage_image_format_conversion_result_spec.rb +53 -0
- data/spec/models/odp_to_jpg_result_spec.rb +47 -0
- data/spec/models/odp_to_png_result_spec.rb +47 -0
- data/spec/models/ods_to_jpg_result_spec.rb +47 -0
- data/spec/models/ods_to_png_result_spec.rb +47 -0
- data/spec/models/odt_to_jpg_result_spec.rb +47 -0
- data/spec/models/odt_to_png_result_spec.rb +47 -0
- data/spec/models/page_conversion_result_spec.rb +47 -0
- data/spec/models/pdf_annotation_spec.rb +107 -0
- data/spec/models/pdf_document_spec.rb +53 -0
- data/spec/models/pdf_form_field_spec.rb +59 -0
- data/spec/models/pdf_form_fields_spec.rb +47 -0
- data/spec/models/pdf_metadata_spec.rb +89 -0
- data/spec/models/pdf_page_text_spec.rb +47 -0
- data/spec/models/pdf_text_by_page_result_spec.rb +47 -0
- data/spec/models/pdf_to_jpg_result_spec.rb +47 -0
- data/spec/models/pdf_to_png_result_spec.rb +47 -0
- data/spec/models/pptx_to_png_result_spec.rb +47 -0
- data/spec/models/presentation_result_spec.rb +53 -0
- data/spec/models/remove_docx_headers_and_footers_request_spec.rb +59 -0
- data/spec/models/remove_docx_headers_and_footers_response_spec.rb +47 -0
- data/spec/models/remove_docx_pages_request_spec.rb +59 -0
- data/spec/models/remove_html_from_text_request_spec.rb +41 -0
- data/spec/models/remove_html_from_text_response_spec.rb +47 -0
- data/spec/models/remove_pptx_slides_request_spec.rb +59 -0
- data/spec/models/remove_whitespace_from_text_request_spec.rb +41 -0
- data/spec/models/remove_whitespace_from_text_response_spec.rb +47 -0
- data/spec/models/remove_xlsx_worksheet_request_spec.rb +53 -0
- data/spec/models/rename_xlsx_worksheet_request_spec.rb +59 -0
- data/spec/models/rename_xlsx_worksheet_response_spec.rb +47 -0
- data/spec/models/replace_docx_paragraph_request_spec.rb +65 -0
- data/spec/models/replace_docx_paragraph_response_spec.rb +47 -0
- data/spec/models/replace_string_regex_request_spec.rb +53 -0
- data/spec/models/replace_string_regex_response_spec.rb +47 -0
- data/spec/models/replace_string_request_spec.rb +65 -0
- data/spec/models/replace_string_simple_request_spec.rb +53 -0
- data/spec/models/replace_string_simple_response_spec.rb +47 -0
- data/spec/models/rtf_to_jpg_result_spec.rb +47 -0
- data/spec/models/rtf_to_png_result_spec.rb +47 -0
- data/spec/models/screenshot_request_spec.rb +59 -0
- data/spec/models/set_form_field_value_spec.rb +59 -0
- data/spec/models/set_pdf_form_fields_request_spec.rb +47 -0
- data/spec/models/set_pdf_metadata_request_spec.rb +47 -0
- data/spec/models/set_xlsx_cell_by_identifier_request_spec.rb +65 -0
- data/spec/models/set_xlsx_cell_by_identifier_response_spec.rb +47 -0
- data/spec/models/set_xlsx_cell_request_spec.rb +71 -0
- data/spec/models/set_xlsx_cell_response_spec.rb +47 -0
- data/spec/models/single_replace_string_spec.rb +53 -0
- data/spec/models/split_document_result_spec.rb +53 -0
- data/spec/models/split_docx_document_result_spec.rb +47 -0
- data/spec/models/split_pdf_result_spec.rb +47 -0
- data/spec/models/split_pptx_presentation_result_spec.rb +47 -0
- data/spec/models/split_text_document_by_lines_result_spec.rb +53 -0
- data/spec/models/split_text_document_by_string_result_spec.rb +53 -0
- data/spec/models/split_xlsx_worksheet_result_spec.rb +47 -0
- data/spec/models/text_conversion_result_spec.rb +47 -0
- data/spec/models/text_document_element_spec.rb +47 -0
- data/spec/models/text_document_line_spec.rb +47 -0
- data/spec/models/text_encoding_detect_response_spec.rb +47 -0
- data/spec/models/thumbnail_spec.rb +47 -0
- data/spec/models/update_docx_table_cell_request_spec.rb +71 -0
- data/spec/models/update_docx_table_cell_response_spec.rb +47 -0
- data/spec/models/update_docx_table_row_request_spec.rb +65 -0
- data/spec/models/update_docx_table_row_response_spec.rb +47 -0
- data/spec/models/url_to_pdf_request_spec.rb +59 -0
- data/spec/models/url_to_text_request_spec.rb +41 -0
- data/spec/models/url_to_text_response_spec.rb +47 -0
- data/spec/models/viewer_response_spec.rb +47 -0
- data/spec/models/worksheet_result_spec.rb +59 -0
- data/spec/models/xlsx_image_spec.rb +65 -0
- data/spec/models/xlsx_spreadsheet_cell_spec.rb +65 -0
- data/spec/models/xlsx_spreadsheet_column_spec.rb +47 -0
- data/spec/models/xlsx_spreadsheet_row_spec.rb +47 -0
- data/spec/models/xlsx_to_png_result_spec.rb +47 -0
- data/spec/models/xlsx_worksheet_spec.rb +47 -0
- data/spec/models/xml_add_attribute_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_add_child_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_filter_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_query_with_x_query_multi_result_spec.rb +53 -0
- data/spec/models/xml_query_with_x_query_result_spec.rb +53 -0
- data/spec/models/xml_remove_all_children_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_remove_with_x_path_result_spec.rb +59 -0
- data/spec/models/xml_replace_with_x_path_result_spec.rb +53 -0
- data/spec/models/xml_set_value_with_x_path_result_spec.rb +53 -0
- data/spec/models/zip_directory_spec.rb +53 -0
- data/spec/models/zip_encryption_advanced_request_spec.rb +53 -0
- data/spec/models/zip_extract_response_spec.rb +53 -0
- data/spec/models/zip_file_spec.rb +47 -0
- data/spec/spec_helper.rb +111 -0
- metadata +785 -4
@@ -0,0 +1,273 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module CloudmersiveConvertApiClient
|
16
|
+
class ConvertImageApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Get information about an image
|
23
|
+
# Get details from an image such as size, format and MIME type, compression, EXIF data such as location, DPI, unique colors, transparency information, and more
|
24
|
+
# @param input_file Input file to perform the operation on.
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [GetImageInfoResult]
|
27
|
+
def convert_image_get_image_info(input_file, opts = {})
|
28
|
+
data, _status_code, _headers = convert_image_get_image_info_with_http_info(input_file, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Get information about an image
|
33
|
+
# Get details from an image such as size, format and MIME type, compression, EXIF data such as location, DPI, unique colors, transparency information, and more
|
34
|
+
# @param input_file Input file to perform the operation on.
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(GetImageInfoResult, Fixnum, Hash)>] GetImageInfoResult data, response status code and response headers
|
37
|
+
def convert_image_get_image_info_with_http_info(input_file, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: ConvertImageApi.convert_image_get_image_info ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'input_file' is set
|
42
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertImageApi.convert_image_get_image_info"
|
44
|
+
end
|
45
|
+
# resource path
|
46
|
+
local_var_path = '/convert/image/get-info'
|
47
|
+
|
48
|
+
# query parameters
|
49
|
+
query_params = {}
|
50
|
+
|
51
|
+
# header parameters
|
52
|
+
header_params = {}
|
53
|
+
# HTTP header 'Accept' (if needed)
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
55
|
+
# HTTP header 'Content-Type'
|
56
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
57
|
+
|
58
|
+
# form parameters
|
59
|
+
form_params = {}
|
60
|
+
form_params['inputFile'] = input_file
|
61
|
+
|
62
|
+
# http body (model)
|
63
|
+
post_body = nil
|
64
|
+
auth_names = ['Apikey']
|
65
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
66
|
+
:header_params => header_params,
|
67
|
+
:query_params => query_params,
|
68
|
+
:form_params => form_params,
|
69
|
+
:body => post_body,
|
70
|
+
:auth_names => auth_names,
|
71
|
+
:return_type => 'GetImageInfoResult')
|
72
|
+
if @api_client.config.debugging
|
73
|
+
@api_client.config.logger.debug "API called: ConvertImageApi#convert_image_get_image_info\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
|
+
end
|
75
|
+
return data, status_code, headers
|
76
|
+
end
|
77
|
+
# Image format conversion
|
78
|
+
# Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.
|
79
|
+
# @param format1 Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
80
|
+
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
81
|
+
# @param input_file Input file to perform the operation on.
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @return [String]
|
84
|
+
def convert_image_image_format_convert(format1, format2, input_file, opts = {})
|
85
|
+
data, _status_code, _headers = convert_image_image_format_convert_with_http_info(format1, format2, input_file, opts)
|
86
|
+
data
|
87
|
+
end
|
88
|
+
|
89
|
+
# Image format conversion
|
90
|
+
# Convert between over 100 file formats, including key formats such as Photoshop (PSD), PNG, JPG, GIF, NEF, and BMP.
|
91
|
+
# @param format1 Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
92
|
+
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
93
|
+
# @param input_file Input file to perform the operation on.
|
94
|
+
# @param [Hash] opts the optional parameters
|
95
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
96
|
+
def convert_image_image_format_convert_with_http_info(format1, format2, input_file, opts = {})
|
97
|
+
if @api_client.config.debugging
|
98
|
+
@api_client.config.logger.debug 'Calling API: ConvertImageApi.convert_image_image_format_convert ...'
|
99
|
+
end
|
100
|
+
# verify the required parameter 'format1' is set
|
101
|
+
if @api_client.config.client_side_validation && format1.nil?
|
102
|
+
fail ArgumentError, "Missing the required parameter 'format1' when calling ConvertImageApi.convert_image_image_format_convert"
|
103
|
+
end
|
104
|
+
# verify the required parameter 'format2' is set
|
105
|
+
if @api_client.config.client_side_validation && format2.nil?
|
106
|
+
fail ArgumentError, "Missing the required parameter 'format2' when calling ConvertImageApi.convert_image_image_format_convert"
|
107
|
+
end
|
108
|
+
# verify the required parameter 'input_file' is set
|
109
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
110
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertImageApi.convert_image_image_format_convert"
|
111
|
+
end
|
112
|
+
# resource path
|
113
|
+
local_var_path = '/convert/image/{format1}/to/{format2}'.sub('{' + 'format1' + '}', format1.to_s).sub('{' + 'format2' + '}', format2.to_s)
|
114
|
+
|
115
|
+
# query parameters
|
116
|
+
query_params = {}
|
117
|
+
|
118
|
+
# header parameters
|
119
|
+
header_params = {}
|
120
|
+
# HTTP header 'Accept' (if needed)
|
121
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
122
|
+
# HTTP header 'Content-Type'
|
123
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
124
|
+
|
125
|
+
# form parameters
|
126
|
+
form_params = {}
|
127
|
+
form_params['inputFile'] = input_file
|
128
|
+
|
129
|
+
# http body (model)
|
130
|
+
post_body = nil
|
131
|
+
auth_names = ['Apikey']
|
132
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
133
|
+
:header_params => header_params,
|
134
|
+
:query_params => query_params,
|
135
|
+
:form_params => form_params,
|
136
|
+
:body => post_body,
|
137
|
+
:auth_names => auth_names,
|
138
|
+
:return_type => 'String')
|
139
|
+
if @api_client.config.debugging
|
140
|
+
@api_client.config.logger.debug "API called: ConvertImageApi#convert_image_image_format_convert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
141
|
+
end
|
142
|
+
return data, status_code, headers
|
143
|
+
end
|
144
|
+
# Change image DPI
|
145
|
+
# Resize an image to have a different DPI
|
146
|
+
# @param dpi New DPI in pixels-per-inch, for example 300 DPI or 600 DPI
|
147
|
+
# @param input_file Input file to perform the operation on.
|
148
|
+
# @param [Hash] opts the optional parameters
|
149
|
+
# @return [String]
|
150
|
+
def convert_image_image_set_dpi(dpi, input_file, opts = {})
|
151
|
+
data, _status_code, _headers = convert_image_image_set_dpi_with_http_info(dpi, input_file, opts)
|
152
|
+
data
|
153
|
+
end
|
154
|
+
|
155
|
+
# Change image DPI
|
156
|
+
# Resize an image to have a different DPI
|
157
|
+
# @param dpi New DPI in pixels-per-inch, for example 300 DPI or 600 DPI
|
158
|
+
# @param input_file Input file to perform the operation on.
|
159
|
+
# @param [Hash] opts the optional parameters
|
160
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
161
|
+
def convert_image_image_set_dpi_with_http_info(dpi, input_file, opts = {})
|
162
|
+
if @api_client.config.debugging
|
163
|
+
@api_client.config.logger.debug 'Calling API: ConvertImageApi.convert_image_image_set_dpi ...'
|
164
|
+
end
|
165
|
+
# verify the required parameter 'dpi' is set
|
166
|
+
if @api_client.config.client_side_validation && dpi.nil?
|
167
|
+
fail ArgumentError, "Missing the required parameter 'dpi' when calling ConvertImageApi.convert_image_image_set_dpi"
|
168
|
+
end
|
169
|
+
# verify the required parameter 'input_file' is set
|
170
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
171
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertImageApi.convert_image_image_set_dpi"
|
172
|
+
end
|
173
|
+
# resource path
|
174
|
+
local_var_path = '/convert/image/set-dpi/{dpi}'.sub('{' + 'dpi' + '}', dpi.to_s)
|
175
|
+
|
176
|
+
# query parameters
|
177
|
+
query_params = {}
|
178
|
+
|
179
|
+
# header parameters
|
180
|
+
header_params = {}
|
181
|
+
# HTTP header 'Accept' (if needed)
|
182
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
183
|
+
# HTTP header 'Content-Type'
|
184
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
185
|
+
|
186
|
+
# form parameters
|
187
|
+
form_params = {}
|
188
|
+
form_params['inputFile'] = input_file
|
189
|
+
|
190
|
+
# http body (model)
|
191
|
+
post_body = nil
|
192
|
+
auth_names = ['Apikey']
|
193
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
194
|
+
:header_params => header_params,
|
195
|
+
:query_params => query_params,
|
196
|
+
:form_params => form_params,
|
197
|
+
:body => post_body,
|
198
|
+
:auth_names => auth_names,
|
199
|
+
:return_type => 'String')
|
200
|
+
if @api_client.config.debugging
|
201
|
+
@api_client.config.logger.debug "API called: ConvertImageApi#convert_image_image_set_dpi\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
202
|
+
end
|
203
|
+
return data, status_code, headers
|
204
|
+
end
|
205
|
+
# Multi-page image format conversion
|
206
|
+
# Convert between over 100 file formats, including support for Multiple-Page formats (e.g. PDFs, TIFFs, etc. with multiple pages).
|
207
|
+
# @param format1 Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
208
|
+
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
209
|
+
# @param input_file Input file to perform the operation on.
|
210
|
+
# @param [Hash] opts the optional parameters
|
211
|
+
# @return [MultipageImageFormatConversionResult]
|
212
|
+
def convert_image_multipage_image_format_convert(format1, format2, input_file, opts = {})
|
213
|
+
data, _status_code, _headers = convert_image_multipage_image_format_convert_with_http_info(format1, format2, input_file, opts)
|
214
|
+
data
|
215
|
+
end
|
216
|
+
|
217
|
+
# Multi-page image format conversion
|
218
|
+
# Convert between over 100 file formats, including support for Multiple-Page formats (e.g. PDFs, TIFFs, etc. with multiple pages).
|
219
|
+
# @param format1 Input file format as a 3+ letter file extension. You can also provide UNKNOWN for unknown file formats. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
220
|
+
# @param format2 Output (convert to this format) file format as a 3+ letter file extension. Supported formats include AAI, ART, ARW, AVS, BPG, BMP, BMP2, BMP3, BRF, CALS, CGM, CIN, CMYK, CMYKA, CR2, CRW, CUR, CUT, DCM, DCR, DCX, DDS, DIB, DJVU, DNG, DOT, DPX, EMF, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EXR, FAX, FIG, FITS, FPX, GIF, GPLT, GRAY, HDR, HEIC, HPGL, HRZ, ICO, ISOBRL, ISBRL6, JBIG, JNG, JP2, JPT, J2C, J2K, JPEG/JPG, JXR, MAT, MONO, MNG, M2V, MRW, MTV, NEF, ORF, OTB, P7, PALM, PAM, PBM, PCD, PCDS, PCL, PCX, PDF, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PNG, PNG8, PNG00, PNG24, PNG32, PNG48, PNG64, PNM, PPM, PSB, PSD, PTIF, PWB, RAD, RAF, RGB, RGBA, RGF, RLA, RLE, SCT, SFW, SGI, SID, SUN, SVG, TGA, TIFF, TIM, UIL, VIFF, VICAR, VBMP, WDP, WEBP, WPG, X, XBM, XCF, XPM, XWD, X3F, YCbCr, YCbCrA, YUV
|
221
|
+
# @param input_file Input file to perform the operation on.
|
222
|
+
# @param [Hash] opts the optional parameters
|
223
|
+
# @return [Array<(MultipageImageFormatConversionResult, Fixnum, Hash)>] MultipageImageFormatConversionResult data, response status code and response headers
|
224
|
+
def convert_image_multipage_image_format_convert_with_http_info(format1, format2, input_file, opts = {})
|
225
|
+
if @api_client.config.debugging
|
226
|
+
@api_client.config.logger.debug 'Calling API: ConvertImageApi.convert_image_multipage_image_format_convert ...'
|
227
|
+
end
|
228
|
+
# verify the required parameter 'format1' is set
|
229
|
+
if @api_client.config.client_side_validation && format1.nil?
|
230
|
+
fail ArgumentError, "Missing the required parameter 'format1' when calling ConvertImageApi.convert_image_multipage_image_format_convert"
|
231
|
+
end
|
232
|
+
# verify the required parameter 'format2' is set
|
233
|
+
if @api_client.config.client_side_validation && format2.nil?
|
234
|
+
fail ArgumentError, "Missing the required parameter 'format2' when calling ConvertImageApi.convert_image_multipage_image_format_convert"
|
235
|
+
end
|
236
|
+
# verify the required parameter 'input_file' is set
|
237
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
238
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertImageApi.convert_image_multipage_image_format_convert"
|
239
|
+
end
|
240
|
+
# resource path
|
241
|
+
local_var_path = '/convert/image-multipage/{format1}/to/{format2}'.sub('{' + 'format1' + '}', format1.to_s).sub('{' + 'format2' + '}', format2.to_s)
|
242
|
+
|
243
|
+
# query parameters
|
244
|
+
query_params = {}
|
245
|
+
|
246
|
+
# header parameters
|
247
|
+
header_params = {}
|
248
|
+
# HTTP header 'Accept' (if needed)
|
249
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
250
|
+
# HTTP header 'Content-Type'
|
251
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
252
|
+
|
253
|
+
# form parameters
|
254
|
+
form_params = {}
|
255
|
+
form_params['inputFile'] = input_file
|
256
|
+
|
257
|
+
# http body (model)
|
258
|
+
post_body = nil
|
259
|
+
auth_names = ['Apikey']
|
260
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
261
|
+
:header_params => header_params,
|
262
|
+
:query_params => query_params,
|
263
|
+
:form_params => form_params,
|
264
|
+
:body => post_body,
|
265
|
+
:auth_names => auth_names,
|
266
|
+
:return_type => 'MultipageImageFormatConversionResult')
|
267
|
+
if @api_client.config.debugging
|
268
|
+
@api_client.config.logger.debug "API called: ConvertImageApi#convert_image_multipage_image_format_convert\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
269
|
+
end
|
270
|
+
return data, status_code, headers
|
271
|
+
end
|
272
|
+
end
|
273
|
+
end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module CloudmersiveConvertApiClient
|
16
|
+
class ConvertTemplateApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Apply Word DOCX template
|
23
|
+
# Apply operations to fill in a Word DOCX template by replacing target template/placeholder strings in the DOCX with values, generating a final Word DOCX result. For example, you could create a Word Document invoice containing strings such as \"{FirstName}\" and \"{LastName}\" and then replace these values with \"John\" and \"Smith\".
|
24
|
+
# @param input_file Input file to perform the operation on.
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Object] :template_definition Template definition for the document, including what values to replace
|
27
|
+
# @return [String]
|
28
|
+
def convert_template_apply_docx_template(input_file, opts = {})
|
29
|
+
data, _status_code, _headers = convert_template_apply_docx_template_with_http_info(input_file, opts)
|
30
|
+
data
|
31
|
+
end
|
32
|
+
|
33
|
+
# Apply Word DOCX template
|
34
|
+
# Apply operations to fill in a Word DOCX template by replacing target template/placeholder strings in the DOCX with values, generating a final Word DOCX result. For example, you could create a Word Document invoice containing strings such as \"{FirstName}\" and \"{LastName}\" and then replace these values with \"John\" and \"Smith\".
|
35
|
+
# @param input_file Input file to perform the operation on.
|
36
|
+
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Object] :template_definition Template definition for the document, including what values to replace
|
38
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
39
|
+
def convert_template_apply_docx_template_with_http_info(input_file, opts = {})
|
40
|
+
if @api_client.config.debugging
|
41
|
+
@api_client.config.logger.debug 'Calling API: ConvertTemplateApi.convert_template_apply_docx_template ...'
|
42
|
+
end
|
43
|
+
# verify the required parameter 'input_file' is set
|
44
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
45
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertTemplateApi.convert_template_apply_docx_template"
|
46
|
+
end
|
47
|
+
# resource path
|
48
|
+
local_var_path = '/convert/template/docx/apply'
|
49
|
+
|
50
|
+
# query parameters
|
51
|
+
query_params = {}
|
52
|
+
|
53
|
+
# header parameters
|
54
|
+
header_params = {}
|
55
|
+
# HTTP header 'Accept' (if needed)
|
56
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
57
|
+
# HTTP header 'Content-Type'
|
58
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
59
|
+
header_params[:'templateDefinition'] = opts[:'template_definition'] if !opts[:'template_definition'].nil?
|
60
|
+
|
61
|
+
# form parameters
|
62
|
+
form_params = {}
|
63
|
+
form_params['inputFile'] = input_file
|
64
|
+
|
65
|
+
# http body (model)
|
66
|
+
post_body = nil
|
67
|
+
auth_names = ['Apikey']
|
68
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
69
|
+
:header_params => header_params,
|
70
|
+
:query_params => query_params,
|
71
|
+
:form_params => form_params,
|
72
|
+
:body => post_body,
|
73
|
+
:auth_names => auth_names,
|
74
|
+
:return_type => 'String')
|
75
|
+
if @api_client.config.debugging
|
76
|
+
@api_client.config.logger.debug "API called: ConvertTemplateApi#convert_template_apply_docx_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
77
|
+
end
|
78
|
+
return data, status_code, headers
|
79
|
+
end
|
80
|
+
# Apply HTML template
|
81
|
+
# Apply operations to fill in an HTML template, generating a final HTML result
|
82
|
+
# @param value Operations to apply to template
|
83
|
+
# @param [Hash] opts the optional parameters
|
84
|
+
# @return [HtmlTemplateApplicationResponse]
|
85
|
+
def convert_template_apply_html_template(value, opts = {})
|
86
|
+
data, _status_code, _headers = convert_template_apply_html_template_with_http_info(value, opts)
|
87
|
+
data
|
88
|
+
end
|
89
|
+
|
90
|
+
# Apply HTML template
|
91
|
+
# Apply operations to fill in an HTML template, generating a final HTML result
|
92
|
+
# @param value Operations to apply to template
|
93
|
+
# @param [Hash] opts the optional parameters
|
94
|
+
# @return [Array<(HtmlTemplateApplicationResponse, Fixnum, Hash)>] HtmlTemplateApplicationResponse data, response status code and response headers
|
95
|
+
def convert_template_apply_html_template_with_http_info(value, opts = {})
|
96
|
+
if @api_client.config.debugging
|
97
|
+
@api_client.config.logger.debug 'Calling API: ConvertTemplateApi.convert_template_apply_html_template ...'
|
98
|
+
end
|
99
|
+
# verify the required parameter 'value' is set
|
100
|
+
if @api_client.config.client_side_validation && value.nil?
|
101
|
+
fail ArgumentError, "Missing the required parameter 'value' when calling ConvertTemplateApi.convert_template_apply_html_template"
|
102
|
+
end
|
103
|
+
# resource path
|
104
|
+
local_var_path = '/convert/template/html/apply'
|
105
|
+
|
106
|
+
# query parameters
|
107
|
+
query_params = {}
|
108
|
+
|
109
|
+
# header parameters
|
110
|
+
header_params = {}
|
111
|
+
# HTTP header 'Accept' (if needed)
|
112
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json', 'text/json', 'application/xml', 'text/xml'])
|
113
|
+
# HTTP header 'Content-Type'
|
114
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
115
|
+
|
116
|
+
# form parameters
|
117
|
+
form_params = {}
|
118
|
+
|
119
|
+
# http body (model)
|
120
|
+
post_body = @api_client.object_to_http_body(value)
|
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 => 'HtmlTemplateApplicationResponse')
|
129
|
+
if @api_client.config.debugging
|
130
|
+
@api_client.config.logger.debug "API called: ConvertTemplateApi#convert_template_apply_html_template\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
131
|
+
end
|
132
|
+
return data, status_code, headers
|
133
|
+
end
|
134
|
+
end
|
135
|
+
end
|
@@ -0,0 +1,456 @@
|
|
1
|
+
=begin
|
2
|
+
#convertapi
|
3
|
+
|
4
|
+
#Convert API lets you effortlessly convert file formats and types.
|
5
|
+
|
6
|
+
OpenAPI spec version: v1
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.4.14
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'uri'
|
14
|
+
|
15
|
+
module CloudmersiveConvertApiClient
|
16
|
+
class ConvertWebApi
|
17
|
+
attr_accessor :api_client
|
18
|
+
|
19
|
+
def initialize(api_client = ApiClient.default)
|
20
|
+
@api_client = api_client
|
21
|
+
end
|
22
|
+
# Convert HTML to Word DOCX Document
|
23
|
+
# Convert HTML to Office Word Document (DOCX) format
|
24
|
+
# @param input_request HTML input to convert to DOCX
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @return [String]
|
27
|
+
def convert_web_html_to_docx(input_request, opts = {})
|
28
|
+
data, _status_code, _headers = convert_web_html_to_docx_with_http_info(input_request, opts)
|
29
|
+
data
|
30
|
+
end
|
31
|
+
|
32
|
+
# Convert HTML to Word DOCX Document
|
33
|
+
# Convert HTML to Office Word Document (DOCX) format
|
34
|
+
# @param input_request HTML input to convert to DOCX
|
35
|
+
# @param [Hash] opts the optional parameters
|
36
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
37
|
+
def convert_web_html_to_docx_with_http_info(input_request, opts = {})
|
38
|
+
if @api_client.config.debugging
|
39
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_html_to_docx ...'
|
40
|
+
end
|
41
|
+
# verify the required parameter 'input_request' is set
|
42
|
+
if @api_client.config.client_side_validation && input_request.nil?
|
43
|
+
fail ArgumentError, "Missing the required parameter 'input_request' when calling ConvertWebApi.convert_web_html_to_docx"
|
44
|
+
end
|
45
|
+
# resource path
|
46
|
+
local_var_path = '/convert/html/to/docx'
|
47
|
+
|
48
|
+
# query parameters
|
49
|
+
query_params = {}
|
50
|
+
|
51
|
+
# header parameters
|
52
|
+
header_params = {}
|
53
|
+
# HTTP header 'Accept' (if needed)
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
55
|
+
# HTTP header 'Content-Type'
|
56
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
57
|
+
|
58
|
+
# form parameters
|
59
|
+
form_params = {}
|
60
|
+
|
61
|
+
# http body (model)
|
62
|
+
post_body = @api_client.object_to_http_body(input_request)
|
63
|
+
auth_names = ['Apikey']
|
64
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
65
|
+
:header_params => header_params,
|
66
|
+
:query_params => query_params,
|
67
|
+
:form_params => form_params,
|
68
|
+
:body => post_body,
|
69
|
+
:auth_names => auth_names,
|
70
|
+
:return_type => 'String')
|
71
|
+
if @api_client.config.debugging
|
72
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_html_to_docx\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
73
|
+
end
|
74
|
+
return data, status_code, headers
|
75
|
+
end
|
76
|
+
# Convert HTML string to PDF
|
77
|
+
# Fully renders a website and returns a PDF of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
|
78
|
+
# @param input HTML to PDF request parameters
|
79
|
+
# @param [Hash] opts the optional parameters
|
80
|
+
# @return [String]
|
81
|
+
def convert_web_html_to_pdf(input, opts = {})
|
82
|
+
data, _status_code, _headers = convert_web_html_to_pdf_with_http_info(input, opts)
|
83
|
+
data
|
84
|
+
end
|
85
|
+
|
86
|
+
# Convert HTML string to PDF
|
87
|
+
# Fully renders a website and returns a PDF of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
|
88
|
+
# @param input HTML to PDF request parameters
|
89
|
+
# @param [Hash] opts the optional parameters
|
90
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
91
|
+
def convert_web_html_to_pdf_with_http_info(input, opts = {})
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_html_to_pdf ...'
|
94
|
+
end
|
95
|
+
# verify the required parameter 'input' is set
|
96
|
+
if @api_client.config.client_side_validation && input.nil?
|
97
|
+
fail ArgumentError, "Missing the required parameter 'input' when calling ConvertWebApi.convert_web_html_to_pdf"
|
98
|
+
end
|
99
|
+
# resource path
|
100
|
+
local_var_path = '/convert/web/html/to/pdf'
|
101
|
+
|
102
|
+
# query parameters
|
103
|
+
query_params = {}
|
104
|
+
|
105
|
+
# header parameters
|
106
|
+
header_params = {}
|
107
|
+
# HTTP header 'Accept' (if needed)
|
108
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
109
|
+
# HTTP header 'Content-Type'
|
110
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
111
|
+
|
112
|
+
# form parameters
|
113
|
+
form_params = {}
|
114
|
+
|
115
|
+
# http body (model)
|
116
|
+
post_body = @api_client.object_to_http_body(input)
|
117
|
+
auth_names = ['Apikey']
|
118
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
119
|
+
:header_params => header_params,
|
120
|
+
:query_params => query_params,
|
121
|
+
:form_params => form_params,
|
122
|
+
:body => post_body,
|
123
|
+
:auth_names => auth_names,
|
124
|
+
:return_type => 'String')
|
125
|
+
if @api_client.config.debugging
|
126
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_html_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
127
|
+
end
|
128
|
+
return data, status_code, headers
|
129
|
+
end
|
130
|
+
# Convert HTML string to PNG screenshot
|
131
|
+
# Fully renders a website and returns a PNG (screenshot) of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
|
132
|
+
# @param input HTML to PNG request parameters
|
133
|
+
# @param [Hash] opts the optional parameters
|
134
|
+
# @return [String]
|
135
|
+
def convert_web_html_to_png(input, opts = {})
|
136
|
+
data, _status_code, _headers = convert_web_html_to_png_with_http_info(input, opts)
|
137
|
+
data
|
138
|
+
end
|
139
|
+
|
140
|
+
# Convert HTML string to PNG screenshot
|
141
|
+
# Fully renders a website and returns a PNG (screenshot) of the HTML. Javascript, HTML5, CSS and other advanced features are all supported.
|
142
|
+
# @param input HTML to PNG request parameters
|
143
|
+
# @param [Hash] opts the optional parameters
|
144
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
145
|
+
def convert_web_html_to_png_with_http_info(input, opts = {})
|
146
|
+
if @api_client.config.debugging
|
147
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_html_to_png ...'
|
148
|
+
end
|
149
|
+
# verify the required parameter 'input' is set
|
150
|
+
if @api_client.config.client_side_validation && input.nil?
|
151
|
+
fail ArgumentError, "Missing the required parameter 'input' when calling ConvertWebApi.convert_web_html_to_png"
|
152
|
+
end
|
153
|
+
# resource path
|
154
|
+
local_var_path = '/convert/web/html/to/png'
|
155
|
+
|
156
|
+
# query parameters
|
157
|
+
query_params = {}
|
158
|
+
|
159
|
+
# header parameters
|
160
|
+
header_params = {}
|
161
|
+
# HTTP header 'Accept' (if needed)
|
162
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
163
|
+
# HTTP header 'Content-Type'
|
164
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
165
|
+
|
166
|
+
# form parameters
|
167
|
+
form_params = {}
|
168
|
+
|
169
|
+
# http body (model)
|
170
|
+
post_body = @api_client.object_to_http_body(input)
|
171
|
+
auth_names = ['Apikey']
|
172
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
173
|
+
:header_params => header_params,
|
174
|
+
:query_params => query_params,
|
175
|
+
:form_params => form_params,
|
176
|
+
:body => post_body,
|
177
|
+
:auth_names => auth_names,
|
178
|
+
:return_type => 'String')
|
179
|
+
if @api_client.config.debugging
|
180
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_html_to_png\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
181
|
+
end
|
182
|
+
return data, status_code, headers
|
183
|
+
end
|
184
|
+
# Convert HTML string to text (txt)
|
185
|
+
# Converts an HTML string input into text (txt); extracts text from HTML
|
186
|
+
# @param input HTML to Text request parameters
|
187
|
+
# @param [Hash] opts the optional parameters
|
188
|
+
# @return [HtmlToTextResponse]
|
189
|
+
def convert_web_html_to_txt(input, opts = {})
|
190
|
+
data, _status_code, _headers = convert_web_html_to_txt_with_http_info(input, opts)
|
191
|
+
data
|
192
|
+
end
|
193
|
+
|
194
|
+
# Convert HTML string to text (txt)
|
195
|
+
# Converts an HTML string input into text (txt); extracts text from HTML
|
196
|
+
# @param input HTML to Text request parameters
|
197
|
+
# @param [Hash] opts the optional parameters
|
198
|
+
# @return [Array<(HtmlToTextResponse, Fixnum, Hash)>] HtmlToTextResponse data, response status code and response headers
|
199
|
+
def convert_web_html_to_txt_with_http_info(input, opts = {})
|
200
|
+
if @api_client.config.debugging
|
201
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_html_to_txt ...'
|
202
|
+
end
|
203
|
+
# verify the required parameter 'input' is set
|
204
|
+
if @api_client.config.client_side_validation && input.nil?
|
205
|
+
fail ArgumentError, "Missing the required parameter 'input' when calling ConvertWebApi.convert_web_html_to_txt"
|
206
|
+
end
|
207
|
+
# resource path
|
208
|
+
local_var_path = '/convert/web/html/to/txt'
|
209
|
+
|
210
|
+
# query parameters
|
211
|
+
query_params = {}
|
212
|
+
|
213
|
+
# header parameters
|
214
|
+
header_params = {}
|
215
|
+
# HTTP header 'Accept' (if needed)
|
216
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
217
|
+
# HTTP header 'Content-Type'
|
218
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
219
|
+
|
220
|
+
# form parameters
|
221
|
+
form_params = {}
|
222
|
+
|
223
|
+
# http body (model)
|
224
|
+
post_body = @api_client.object_to_http_body(input)
|
225
|
+
auth_names = ['Apikey']
|
226
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
227
|
+
:header_params => header_params,
|
228
|
+
:query_params => query_params,
|
229
|
+
:form_params => form_params,
|
230
|
+
:body => post_body,
|
231
|
+
:auth_names => auth_names,
|
232
|
+
:return_type => 'HtmlToTextResponse')
|
233
|
+
if @api_client.config.debugging
|
234
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_html_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
235
|
+
end
|
236
|
+
return data, status_code, headers
|
237
|
+
end
|
238
|
+
# Convert Markdown to HTML
|
239
|
+
# Convert a markdown file (.md) to HTML
|
240
|
+
# @param input_file Input file to perform the operation on.
|
241
|
+
# @param [Hash] opts the optional parameters
|
242
|
+
# @return [HtmlMdResult]
|
243
|
+
def convert_web_md_to_html(input_file, opts = {})
|
244
|
+
data, _status_code, _headers = convert_web_md_to_html_with_http_info(input_file, opts)
|
245
|
+
data
|
246
|
+
end
|
247
|
+
|
248
|
+
# Convert Markdown to HTML
|
249
|
+
# Convert a markdown file (.md) to HTML
|
250
|
+
# @param input_file Input file to perform the operation on.
|
251
|
+
# @param [Hash] opts the optional parameters
|
252
|
+
# @return [Array<(HtmlMdResult, Fixnum, Hash)>] HtmlMdResult data, response status code and response headers
|
253
|
+
def convert_web_md_to_html_with_http_info(input_file, opts = {})
|
254
|
+
if @api_client.config.debugging
|
255
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_md_to_html ...'
|
256
|
+
end
|
257
|
+
# verify the required parameter 'input_file' is set
|
258
|
+
if @api_client.config.client_side_validation && input_file.nil?
|
259
|
+
fail ArgumentError, "Missing the required parameter 'input_file' when calling ConvertWebApi.convert_web_md_to_html"
|
260
|
+
end
|
261
|
+
# resource path
|
262
|
+
local_var_path = '/convert/web/md/to/html'
|
263
|
+
|
264
|
+
# query parameters
|
265
|
+
query_params = {}
|
266
|
+
|
267
|
+
# header parameters
|
268
|
+
header_params = {}
|
269
|
+
# HTTP header 'Accept' (if needed)
|
270
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
271
|
+
# HTTP header 'Content-Type'
|
272
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
|
273
|
+
|
274
|
+
# form parameters
|
275
|
+
form_params = {}
|
276
|
+
form_params['inputFile'] = input_file
|
277
|
+
|
278
|
+
# http body (model)
|
279
|
+
post_body = nil
|
280
|
+
auth_names = ['Apikey']
|
281
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
282
|
+
:header_params => header_params,
|
283
|
+
:query_params => query_params,
|
284
|
+
:form_params => form_params,
|
285
|
+
:body => post_body,
|
286
|
+
:auth_names => auth_names,
|
287
|
+
:return_type => 'HtmlMdResult')
|
288
|
+
if @api_client.config.debugging
|
289
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_md_to_html\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
290
|
+
end
|
291
|
+
return data, status_code, headers
|
292
|
+
end
|
293
|
+
# Convert a URL to PDF
|
294
|
+
# Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.
|
295
|
+
# @param input URL to PDF request parameters
|
296
|
+
# @param [Hash] opts the optional parameters
|
297
|
+
# @return [String]
|
298
|
+
def convert_web_url_to_pdf(input, opts = {})
|
299
|
+
data, _status_code, _headers = convert_web_url_to_pdf_with_http_info(input, opts)
|
300
|
+
data
|
301
|
+
end
|
302
|
+
|
303
|
+
# Convert a URL to PDF
|
304
|
+
# Fully renders a website and returns a PDF of the full page. Javascript, HTML5, CSS and other advanced features are all supported.
|
305
|
+
# @param input URL to PDF request parameters
|
306
|
+
# @param [Hash] opts the optional parameters
|
307
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
308
|
+
def convert_web_url_to_pdf_with_http_info(input, opts = {})
|
309
|
+
if @api_client.config.debugging
|
310
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_url_to_pdf ...'
|
311
|
+
end
|
312
|
+
# verify the required parameter 'input' is set
|
313
|
+
if @api_client.config.client_side_validation && input.nil?
|
314
|
+
fail ArgumentError, "Missing the required parameter 'input' when calling ConvertWebApi.convert_web_url_to_pdf"
|
315
|
+
end
|
316
|
+
# resource path
|
317
|
+
local_var_path = '/convert/web/url/to/pdf'
|
318
|
+
|
319
|
+
# query parameters
|
320
|
+
query_params = {}
|
321
|
+
|
322
|
+
# header parameters
|
323
|
+
header_params = {}
|
324
|
+
# HTTP header 'Accept' (if needed)
|
325
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
326
|
+
# HTTP header 'Content-Type'
|
327
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
328
|
+
|
329
|
+
# form parameters
|
330
|
+
form_params = {}
|
331
|
+
|
332
|
+
# http body (model)
|
333
|
+
post_body = @api_client.object_to_http_body(input)
|
334
|
+
auth_names = ['Apikey']
|
335
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
336
|
+
:header_params => header_params,
|
337
|
+
:query_params => query_params,
|
338
|
+
:form_params => form_params,
|
339
|
+
:body => post_body,
|
340
|
+
:auth_names => auth_names,
|
341
|
+
:return_type => 'String')
|
342
|
+
if @api_client.config.debugging
|
343
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_url_to_pdf\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
344
|
+
end
|
345
|
+
return data, status_code, headers
|
346
|
+
end
|
347
|
+
# Take screenshot of URL
|
348
|
+
# Fully renders a website and returns a PNG screenshot of the full page image. Javascript, HTML5, CSS and other advanced features are all supported.
|
349
|
+
# @param input Screenshot request parameters
|
350
|
+
# @param [Hash] opts the optional parameters
|
351
|
+
# @return [String]
|
352
|
+
def convert_web_url_to_screenshot(input, opts = {})
|
353
|
+
data, _status_code, _headers = convert_web_url_to_screenshot_with_http_info(input, opts)
|
354
|
+
data
|
355
|
+
end
|
356
|
+
|
357
|
+
# Take screenshot of URL
|
358
|
+
# Fully renders a website and returns a PNG screenshot of the full page image. Javascript, HTML5, CSS and other advanced features are all supported.
|
359
|
+
# @param input Screenshot request parameters
|
360
|
+
# @param [Hash] opts the optional parameters
|
361
|
+
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
|
362
|
+
def convert_web_url_to_screenshot_with_http_info(input, opts = {})
|
363
|
+
if @api_client.config.debugging
|
364
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_url_to_screenshot ...'
|
365
|
+
end
|
366
|
+
# verify the required parameter 'input' is set
|
367
|
+
if @api_client.config.client_side_validation && input.nil?
|
368
|
+
fail ArgumentError, "Missing the required parameter 'input' when calling ConvertWebApi.convert_web_url_to_screenshot"
|
369
|
+
end
|
370
|
+
# resource path
|
371
|
+
local_var_path = '/convert/web/url/to/screenshot'
|
372
|
+
|
373
|
+
# query parameters
|
374
|
+
query_params = {}
|
375
|
+
|
376
|
+
# header parameters
|
377
|
+
header_params = {}
|
378
|
+
# HTTP header 'Accept' (if needed)
|
379
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
380
|
+
# HTTP header 'Content-Type'
|
381
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
382
|
+
|
383
|
+
# form parameters
|
384
|
+
form_params = {}
|
385
|
+
|
386
|
+
# http body (model)
|
387
|
+
post_body = @api_client.object_to_http_body(input)
|
388
|
+
auth_names = ['Apikey']
|
389
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
390
|
+
:header_params => header_params,
|
391
|
+
:query_params => query_params,
|
392
|
+
:form_params => form_params,
|
393
|
+
:body => post_body,
|
394
|
+
:auth_names => auth_names,
|
395
|
+
:return_type => 'String')
|
396
|
+
if @api_client.config.debugging
|
397
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_url_to_screenshot\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
398
|
+
end
|
399
|
+
return data, status_code, headers
|
400
|
+
end
|
401
|
+
# Convert website URL page to text (txt)
|
402
|
+
# Converts a website URL page into text (txt); extracts text from HTML
|
403
|
+
# @param input HTML to Text request parameters
|
404
|
+
# @param [Hash] opts the optional parameters
|
405
|
+
# @return [UrlToTextResponse]
|
406
|
+
def convert_web_url_to_txt(input, opts = {})
|
407
|
+
data, _status_code, _headers = convert_web_url_to_txt_with_http_info(input, opts)
|
408
|
+
data
|
409
|
+
end
|
410
|
+
|
411
|
+
# Convert website URL page to text (txt)
|
412
|
+
# Converts a website URL page into text (txt); extracts text from HTML
|
413
|
+
# @param input HTML to Text request parameters
|
414
|
+
# @param [Hash] opts the optional parameters
|
415
|
+
# @return [Array<(UrlToTextResponse, Fixnum, Hash)>] UrlToTextResponse data, response status code and response headers
|
416
|
+
def convert_web_url_to_txt_with_http_info(input, opts = {})
|
417
|
+
if @api_client.config.debugging
|
418
|
+
@api_client.config.logger.debug 'Calling API: ConvertWebApi.convert_web_url_to_txt ...'
|
419
|
+
end
|
420
|
+
# verify the required parameter 'input' is set
|
421
|
+
if @api_client.config.client_side_validation && input.nil?
|
422
|
+
fail ArgumentError, "Missing the required parameter 'input' when calling ConvertWebApi.convert_web_url_to_txt"
|
423
|
+
end
|
424
|
+
# resource path
|
425
|
+
local_var_path = '/convert/web/url/to/txt'
|
426
|
+
|
427
|
+
# query parameters
|
428
|
+
query_params = {}
|
429
|
+
|
430
|
+
# header parameters
|
431
|
+
header_params = {}
|
432
|
+
# HTTP header 'Accept' (if needed)
|
433
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/octet-stream'])
|
434
|
+
# HTTP header 'Content-Type'
|
435
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'text/json', 'application/xml', 'text/xml', 'application/x-www-form-urlencoded'])
|
436
|
+
|
437
|
+
# form parameters
|
438
|
+
form_params = {}
|
439
|
+
|
440
|
+
# http body (model)
|
441
|
+
post_body = @api_client.object_to_http_body(input)
|
442
|
+
auth_names = ['Apikey']
|
443
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
444
|
+
:header_params => header_params,
|
445
|
+
:query_params => query_params,
|
446
|
+
:form_params => form_params,
|
447
|
+
:body => post_body,
|
448
|
+
:auth_names => auth_names,
|
449
|
+
:return_type => 'UrlToTextResponse')
|
450
|
+
if @api_client.config.debugging
|
451
|
+
@api_client.config.logger.debug "API called: ConvertWebApi#convert_web_url_to_txt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
452
|
+
end
|
453
|
+
return data, status_code, headers
|
454
|
+
end
|
455
|
+
end
|
456
|
+
end
|