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

Conversión de documentos API REST de Java Cloud

banner

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

GroupDocs.Conversion Cloud SDK for Java lo ayuda a crear aplicaciones Java de conversión de documentos en la nube que funcionan sin instalar ningún software de terceros. Es un envoltorio alrededor de GroupDocs.Conversion Cloud REST APIs.

Funciones del SDK de conversión de documentos en la nube

  • Capacidad para convertir los documentos en la nube a otros formatos compatibles de varias maneras, como:
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
  • Add watermark durante la conversión de documentos en la nube
  • Habilidad para convert cloud documents that use non-standard or custom fonts
  • Opción para convert the documents with using the cloud storage
  • Habilidad para get list of supported file formats así como fetch other useful information related to the cloud document.
  • Convierta archivos y documentos en la nube desde una amplia gama de formatos de archivo a varios formatos de archivo compatibles, como:
    • {{HIPERVINCULO1}}.
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
    • {{HIPERVINCULO1}}
  • Durante la conversión, las fuentes que faltan se pueden reemplazar con cualquiera de las fuentes proporcionadas.
  • Capacidad para extraer información específica del formato de los documentos en la nube, como:
    • Archivos CAD: lista de capas de dibujo y diseños de boceto
    • Archivos de correo electrónico: lista de carpetas dentro de un archivo de datos de Outlook®
    • Archivos PDF: información sobre restricciones de impresión de documentos
    • Archivos MS Project®: fecha de inicio y fin del proyecto
  • Cargue el documento de origen con varias opciones extendidas, como cargar una hoja específica de un documento de hoja de cálculo completo.

Formatos de archivo de conversión de documentos admitidos

Microsoft Word®: DOC, DOCM, DOCX, DOT, DOTM, DOTX, RTF, TXT
OpenOffice Writer®: ODT, OTT
Microsoft Excel®: XLS, XLS2003, XLSB, XLSM, XLSX, CSV
OpenOffice Calc®: SAO
Microsoft PowerPoint®: PPS, PPSX, PPT, PPTX
OpenOffice Impress®: PAO
Microsoft Visio®: VDW, VDX, VSD, VSDX, VSS, VST, VSX, VTX
Microsoft Outlook®: EML, MSG
Correo de Apple®: EMLX
Microsoft Project®: MPP, MPT
Adobe Photoshop®: PSD
CAD: DWG, DXF
Imágenes: BMP, GIF, ICO, JPG, JPEG, PNG, TIF, TIFF
Imágenes vectoriales: SVG
Marcado: HTM, HTML, MHT
Diseño fijo: PDF, XPS

Requisitos

La creación de la biblioteca del cliente API requiere:

  1. java 1.7+
  2. Experto

requisitos previos

Para usar GroupDocs.Conversion Cloud SDK para Java, debe registrar una cuenta con GroupDocs Cloud y buscar/crear ID de cliente y Secreto de cliente en Cloud Dashboard. Hay cupo libre disponible. Para obtener más detalles, consulte GroupDocs Cloud Pricing.

Instale GroupDocs.Conversion-Cloud desde Maven

Agregue el repositorio de GroupDocs Cloud a su aplicación pom.xml

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

Instalar desde la fuente

Para instalar la biblioteca del cliente API en su repositorio Maven local, simplemente ejecute:

mvn clean install

Para implementarlo en un repositorio remoto de Maven, configure los ajustes del repositorio y ejecute:

mvn clean deploy

Consulte OSSRH Guide para obtener más información.

Usuarios expertos

Agregue esta dependencia al POM de su proyecto:

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

Otros

Primero genere el JAR ejecutando:

mvn clean package

Luego instale manualmente los siguientes JAR:

  • objetivo/groupdocs-conversion-cloud-22.3.jar
  • objetivo/lib/*.jar

Empezar

Siga las instrucciones de Quick Start.

Ejemplo de código Java para convertir un documento en la nube DOCX a un PDF en la nube

// 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));

Autorización y autenticación

Authentication schemes definido para la API es el siguiente:

JWT

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

VersionRelease Date
22.106 de octubre de 2022
22.36 de octubre de 2022
21.1025 de enero de 2022
21.1225 de enero de 2022
19.325 de enero de 2022
19.425 de enero de 2022
20.1125 de enero de 2022
20.325 de enero de 2022
21.18 de octubre de 2021
21.915 de septiembre de 2021
21.41 de abril de 2021
20.212 de febrero de 2020
19.530 de mayo 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