<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-conversion-cloud</artifactId>
    <version>22.10</version>
</dependency>
copied!  
compile(group: 'com.groupdocs', name: 'groupdocs-conversion-cloud', version: '22.10')
copied!  
<dependency org="com.groupdocs" name="groupdocs-conversion-cloud" rev="22.10">
    <artifact name="groupdocs-conversion-cloud" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.groupdocs" % "groupdocs-conversion-cloud" % "22.10"
copied!  

API Java Cloud REST de conversão de documento

banner

Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial

GroupDocs.Conversion Cloud SDK for Java ajuda você a criar aplicativos Java do conversor de documentos na nuvem que funcionam sem instalar nenhum software de terceiros. É um wrapper em torno de GroupDocs.Conversion Cloud REST APIs.

Recursos do SDK de conversão de documentos na nuvem

  • Capacidade de converter os documentos na nuvem para outros formatos suportados de várias maneiras, como:
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
  • Add watermark durante a conversão do documento na nuvem
  • Capacidade de convert cloud documents that use non-standard or custom fonts
  • Opção para convert the documents with using the cloud storage
  • Capacidade de get list of supported file formats, bem como fetch other useful information related to the cloud document.
  • Converta arquivos e documentos em nuvem de uma ampla variedade de formatos de arquivo para vários formatos de arquivo suportados, como:
    • {{HIPERLINK1}}.
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
    • {{HIPERLINK1}}
  • Durante a conversão, as fontes ausentes podem ser substituídas por qualquer uma das fontes fornecidas.
  • Capacidade de extrair informações específicas do formato dos documentos na nuvem, como:
    • Arquivos CAD: lista de camadas de desenho e layouts de esboço
    • Arquivos de e-mail: lista de pastas dentro de um arquivo de dados do Outlook®
    • Arquivos PDF: informações sobre restrições de impressão de documentos
    • Arquivos MS Project®: data de início e término do projeto
  • Carregue o documento de origem com várias opções estendidas, como carregar uma planilha específica de um documento de planilha inteiro.

Formatos de arquivo de conversão de documento suportados

Microsoft Word®: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT
OpenOffice Writer®: ODT, OTT
Microsoft Excel®: XLS, XLS2003, XLSB, XLSM, XLSX, CSV
OpenOffice Calc®: ODS
Microsoft PowerPoint®: PPS, PPSX, PPT, PPTX
OpenOffice Impress®: ODP
Microsoft Visio®: VDW, VDX, VSD, VSDX, VSS, VST, VSX, VTX
Microsoft Outlook®: EML, MSG
Apple® Mail: EMLX
Microsoft Project®: MPP, MPT
Adobe Photoshop®: PSD
CAD: DWG, DXF
Imagens: BMP, GIF, ICO, JPG, JPEG, PNG, TIF, TIFF
Imagens vetoriais: SVG
Marcação: HTM, HTML, MHT
Layout fixo: PDF, XPS

Requisitos

A construção da biblioteca cliente da API requer:

  1. Java 1.7+
  2. Especialista

Pré-requisitos

Para usar GroupDocs.Conversion Cloud SDK para Java, você precisa registrar uma conta com GroupDocs Cloud e pesquisar/criar ID e Segredo do cliente em Cloud Dashboard. Há cota gratuita disponível. Para obter mais detalhes, consulte GroupDocs Cloud Pricing.

Instalar GroupDocs.Conversion-Cloud do Maven

Adicione o repositório GroupDocs Cloud ao seu aplicativo pom.xml

<repository>
    <id>repository.groupdocs.cloud</id>
    <name>repository.groupdocs.cloud</name>
    <url>https://releases.groupdocs.cloud/java/repo/</url>
</repository>

Instalar a partir da fonte

Para instalar a biblioteca cliente da API em seu repositório Maven local, basta executar:

mvn clean install

Para implantá-lo em um repositório Maven remoto, defina as configurações do repositório e execute:

mvn clean deploy

Consulte o OSSRH Guide para obter mais informações.

Usuários do Maven

Adicione esta dependência ao POM do seu projeto:

<dependency>
    <groupId>com.groupdocs</groupId>
    <artifactId>groupdocs-conversion-cloud</artifactId>
    <version>22.3</version>
    <type>pom</type>
</dependency>

Outros

Primeiramente gere o JAR executando:

mvn clean package

Em seguida, instale manualmente os seguintes JARs:

  • target/groupdocs-conversion-cloud-22.3.jar
  • alvo/lib/*.jar

Iniciar

Siga as instruções Quick Start.

Exemplo de código Java para converter documento na nuvem DOCX em PDF na nuvem

// For complete examples and data files, please go to https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-java-samples
String MyClientSecret = ""; // Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud
String MyClientId = ""; // Get ClientId and ClientSecret from https://dashboard.groupdocs.cloud

Configuration configuration = new Configuration(MyClientId, MyClientSecret);

// Create API instance
ConvertApi apiInstance = new ConvertApi(configuration);

// Prepare convert settings
ConvertSettings settings = new ConvertSettings();
settings.setFilePath("WordProcessing/four-pages.docx");
settings.setFormat("pdf");
settings.setOutputPath("converted");

List<StoredConvertedResult> result = apiInstance.convertDocument(new ConvertDocumentRequest(settings));

Autorização e Autenticação

Authentication schemes definido para a API é o seguinte:

JWT

Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial

VersionRelease Date
22.106 de outubro de 2022
22.36 de outubro de 2022
21.1025 de janeiro de 2022
21.1225 de janeiro de 2022
19.325 de janeiro de 2022
19.425 de janeiro de 2022
20.1125 de janeiro de 2022
20.325 de janeiro de 2022
21.18 de outubro de 2021
21.915 de setembro de 2021
21.41 de abril de 2021
20.212 de fevereiro de 2020
19.530 de maio de 2019

GroupDocs Java REST API Maven SDK Java SDK Cloud REST REST API Cloud API MIT JWT oauth GroupDocs.Total Cloud GroupDocs.Conversion Cloud JAR document automation document automation cloud document DOC DOCM DOCX DOT DOTM DOTX RTF TXT ODT OTT XLS XLS2003 XLSB XLSM XLSX CSV ODS PPS PPSX PPT PPTX ODP VDW VDX VSD VSDX VSS VST VSX VTX EML MSG EMLX MPP MPT PSD DWG DXF BMP GIF ICO JPG JPEG PNG TIF TIFF SVG HTM HTML MHT PDF XPS DOCX to TIFF DOCX to TIF DOCX to JPG DOCX to JPEG DOCX to PNG DOCX to GIF DOCX to BMP DOCX to ICO DOCX to PSD DOCX to WMF DOCX to EMF DOCX to DCM DOCX to DICOM DOCX to WEBP DOCX to SVG DOCX to JP2 DOCX to EMZ DOCX to WMZ DOCX to SVGZ DOCX to TGA DOCX to PSB DOCX to HTML DOCX to HTM DOCX to MHT DOCX to MHTML DOCX to DOC DOCX to DOCM DOCX to DOCX DOCX to DOT DOCX to DOTM DOCX to DOTX DOCX to RTF DOCX to ODT DOCX to OTT DOCX to TXT DOCX to MD DOCX to PDF DOCX to EPUB DOCX to XPS DOCX to TEX DOCX to PPT DOCX to PPS DOCX to PPTX DOCX to PPSX DOCX to ODP DOCX to OTP DOCX to POTX DOCX to POT DOCX to POTM DOCX to PPTM DOCX to PPSM DOCX to FODP DOC to TIFF DOC to TIF DOC to JPG DOC to JPEG DOC to PNG DOC to GIF DOC to BMP DOC to ICO DOC to PSD DOC to WMF DOC to EMF DOC to DCM DOC to DICOM DOC to WEBP DOC to SVG DOC to JP2 DOC to EMZ DOC to WMZ DOC to SVGZ DOC to TGA DOC to PSB DOC to HTML DOC to HTM DOC to MHT DOC to MHTML DOC to DOC DOC to DOCM DOC to DOCX DOC to DOT DOC to DOTM DOC to DOTX DOC to RTF DOC to ODT DOC to OTT DOC to TXT DOC to MD DOC to PDF DOC to EPUB DOC to XPS DOC to TEX DOC to PPT DOC to PPS DOC to PPTX DOC to PPSX DOC to ODP DOC to OTP DOC to POTX DOC to POT DOC to POTM DOC to PPTM DOC to PPSM DOC to FODP PPTX to DOC PPTX to DOCM PPTX to DOCX PPTX to DOT PPTX to DOTM PPTX to DOTX PPTX to RTF PPTX to ODT PPTX to OTT PPTX to TXT PPTX to MD PPTX to PDF PPTX to EPUB PPTX to XPS PPTX to TEX PPTX to TIFF PPTX to TIF PPTX to JPG PPTX to JPEG PPTX to PNG PPTX to GIF PPTX to BMP PPTX to ICO PPTX to PSD PPTX to WMF PPTX to EMF PPTX to DCM PPTX to DICOM PPTX to WEBP PPTX to SVG PPTX to JP2 PPTX to EMZ PPTX to WMZ PPTX to SVGZ PPTX to TGA PPTX to PSB PPTX to PPT PPTX to PPS PPTX to PPTX PPTX to PPSX PPTX to ODP PPTX to OTP PPTX to POTX PPTX to POT PPTX to POTM PPTX to PPTM PPTX to PPSM PPTX to FODP PPTX to HTML PPTX to HTM PPTX to MHT PPTX to MHTML PPT to DOC PPT to DOCM PPT to DOCX PPT to DOT PPT to DOTM PPT to DOTX PPT to RTF PPT to ODT PPT to OTT PPT to TXT PPT to MD PPT to PDF PPT to EPUB PPT to XPS PPT to TEX PPT to TIFF PPT to TIF PPT to JPG PPT to JPEG PPT to PNG PPT to GIF PPT to BMP PPT to ICO PPT to PSD PPT to WMF PPT to EMF PPT to DCM PPT to DICOM PPT to WEBP PPT to SVG PPT to JP2 PPT to EMZ PPT to WMZ PPT to SVGZ PPT to TGA PPT to PSB PPT to PPT PPT to PPS PPT to PPTX PPT to PPSX PPT to ODP PPT to OTP PPT to POTX PPT to POT PPT to POTM PPT to PPTM PPT to PPSM PPT to FODP PPT to HTML PPT to HTM PPT to MHT PPT to MHTML XLS to HTML XLS to HTM XLS to MHT XLS to MHTML XLS to XLS XLS to XLSX XLS to XLSM XLS to XLSB XLS to ODS XLS to XLTX XLS to XLT XLS to XLTM XLS to TSV XLS to XLAM XLS to CSV XLS to FODS XLS to DIF XLS to SXC XLS to XML XLS to JSON XLS to PDF XLS to EPUB XLS to XPS XLS to TEX XLSX to HTML XLSX to HTM XLSX to MHT XLSX to MHTML XLSX to XLS XLSX to XLSX XLSX to XLSM XLSX to XLSB XLSX to ODS XLSX to XLTX XLSX to XLT XLSX to XLTM XLSX to TSV XLSX to XLAM XLSX to CSV XLSX to FODS XLSX to DIF XLSX to SXC XLSX to XML XLSX to JSON XLSX to PDF XLSX to EPUB XLSX to XPS XLSX to TEX PDF to PPT PDF to PPS PDF to PPTX PDF to PPSX PDF to ODP PDF to OTP PDF to POTX PDF to POT PDF to POTM PDF to PPTM PDF to PPSM PDF to FODP PDF to TIFF PDF to TIF PDF to JPG PDF to JPEG PDF to PNG PDF to GIF PDF to BMP PDF to ICO PDF to PSD PDF to WMF PDF to EMF PDF to DCM PDF to DICOM PDF to WEBP PDF to SVG PDF to JP2 PDF to EMZ PDF to WMZ PDF to SVGZ PDF to TGA PDF to PSB PDF to HTML PDF to HTM PDF to MHT PDF to MHTML PDF to PDF PDF to EPUB PDF to XPS PDF to TEX PDF to DOC PDF to DOCM PDF to DOCX PDF to DOT PDF to DOTM PDF to DOTX PDF to RTF PDF to ODT PDF to OTT PDF to TXT PDF to MD Visio to EPUB Visio to XPS Visio to TEX Visio to DOC Visio to DOCM Visio to DOCX Visio to DOT Visio to DOTM Visio to DOTX Visio to RTF Visio to ODT Visio to OTT Visio to TXT Visio to MD Visio to TIFF Visio to TIF Visio to JPG Visio to JPEG Visio to PNG Visio to GIF Visio to BMP Visio to ICO Visio to PSD Visio to WMF Visio to EMF Visio to DCM Visio to DICOM Visio to WEBP Visio to SVG Visio to JP2 Visio to EMZ Visio to WMZ Visio to SVGZ Visio to TGA Visio to PSB Visio to VisioX Visio to VSX Visio to VTX Visio to VDX Visio to VSSX Visio to VSTX Visio to VisioM Visio to VSSM Visio to VSTM Visio to PPT Visio to PPS Visio to PPTX Visio to PPSX Visio to ODP Visio to OTP Visio to POTX Visio to POT Visio to POTM Visio to PPTM Visio to PPSM Visio to FODP Visio to HTML Visio to HTM Visio to MHT Visio to MHTML JPEG to PPT JPEG to PPS JPEG to PPTX JPEG to PPSX JPEG to ODP JPEG to OTP JPEG to POTX JPEG to POT JPEG to POTM JPEG to PPTM JPEG to PPSM JPEG to FODP JPEG to TIFF JPEG to TIF JPEG to JPG JPEG to JPEG JPEG to PNG JPEG to GIF JPEG to BMP JPEG to ICO JPEG to PSD JPEG to WMF JPEG to EMF JPEG to DCM JPEG to DICOM JPEG to WEBP JPEG to SVG JPEG to JP2 JPEG to EMZ JPEG to WMZ JPEG to SVGZ JPEG to TGA JPEG to PSB PNG to PPT PNG to PPS PNG to PPTX PNG to PPSX PNG to ODP PNG to OTP PNG to POTX PNG to POT PNG to POTM PNG to PPTM PNG to PPSM PNG to FODP PNG to TIFF PNG to TIF PNG to JPG PNG to JPEG PNG to PNG PNG to GIF PNG to BMP PNG to ICO PNG to PSD PNG to WMF PNG to EMF PNG to DCM PNG to DICOM PNG to WEBP PNG to SVG PNG to JP2 PNG to EMZ PNG to WMZ PNG to SVGZ PNG to TGA PNG to PSB GIF to PPT GIF to PPS GIF to PPTX GIF to PPSX GIF to ODP GIF to OTP GIF to POTX GIF to POT GIF to POTM GIF to PPTM GIF to PPSM GIF to FODP GIF to TIFF GIF to TIF GIF to JPG GIF to JPEG GIF to PNG GIF to GIF GIF to BMP GIF to ICO GIF to PSD GIF to WMF GIF to EMF GIF to DCM GIF to DICOM GIF to WEBP GIF to SVG GIF to JP2 GIF to EMZ GIF to WMZ GIF to SVGZ GIF to TGA GIF to PSB BMP to PPT BMP to PPS BMP to PPTX BMP to PPSX BMP to ODP BMP to OTP BMP to POTX BMP to POT BMP to POTM BMP to PPTM BMP to PPSM BMP to FODP BMP to TIFF BMP to TIF BMP to JPG BMP to JPEG BMP to PNG BMP to GIF BMP to BMP BMP to ICO BMP to PSD BMP to WMF BMP to EMF BMP to DCM BMP to DICOM BMP to WEBP BMP to SVG BMP to JP2 BMP to EMZ BMP to WMZ BMP to SVGZ BMP to TGA BMP to PSB