<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-conversion-cloud</artifactId>
<version>22.10</version>
</dependency>
compile(group: 'com.groupdocs', name: 'groupdocs-conversion-cloud', version: '22.10')
<dependency org="com.groupdocs" name="groupdocs-conversion-cloud" rev="22.10">
<artifact name="groupdocs-conversion-cloud" ext="jar"/>
</dependency>
libraryDependencies += "com.groupdocs" % "groupdocs-conversion-cloud" % "22.10"
Dokumentenkonvertierung Java Cloud REST API
Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial
GroupDocs.Conversion Cloud SDK for Java hilft Ihnen beim Erstellen von Cloud Document Converter Java-Apps, die funktionieren, ohne dass Software von Drittanbietern installiert werden muss. Es ist ein Wrapper um GroupDocs.Conversion Cloud REST APIs.
Funktionen des Cloud Document Conversion SDK
- Fähigkeit, die Cloud-Dokumente auf verschiedene Weise in andere unterstützte Formate zu konvertieren, wie zum Beispiel:
- Add watermark während der Konvertierung des Cloud-Dokuments
- Fähigkeit zu convert cloud documents that use non-standard or custom fonts
- Option zu convert the documents with using the cloud storage
- Fähigkeit zu get list of supported file formats sowie fetch other useful information related to the cloud document.
- Konvertieren Sie Cloud-Dateien und Dokumente aus einer Vielzahl von Dateiformaten in verschiedene unterstützte Dateiformate, wie z.
- Convert any supported format to one of the supported conversion file formats.
- Convert cloud documents to MS Word® documents
- Convert cloud documents to MS Excel® spreadsheets
- Convert cloud documents to MS PowerPoint® presentations
- Convert cloud documents to Image Formats
- Convert cloud documents to HTML Format
- Convert cloud documents to PDF Format
- Convert cloud documents to Text Format
- Während der Konvertierung können die fehlende(n) Schriftart(en) durch eine der bereitgestellten Schriftarten ersetzt werden.
- Fähigkeit, formatspezifische Informationen aus den Cloud-Dokumenten zu extrahieren, wie zum Beispiel:
- CAD-Dateien: Liste der Zeichnungsebenen und Skizzenlayouts
- E-Mail-Dateien: Liste von Ordnern innerhalb einer Outlook®-Datendatei
- PDF-Dateien: Informationen zu Einschränkungen beim Drucken von Dokumenten
- MS Project®-Dateien: Start- und Enddatum des Projekts
- Quelldokument mit verschiedenen erweiterten Optionen laden, z. B. das Laden eines bestimmten Blatts aus einem ganzen Tabellenkalkulationsdokument.
Unterstützte Dateiformate für die Dokumentkonvertierung
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
Bilder: BMP, GIF, ICO, JPG, JPEG, PNG, TIF, TIFF
Vektorbilder: SVG
Auszeichnung: HTM, HTML, MHT
Festes Layout: PDF, XPS
Anforderungen
Zum Erstellen der API-Client-Bibliothek ist Folgendes erforderlich:
- Java 1.7+
- Maven
Voraussetzungen
Um das GroupDocs.Conversion Cloud SDK für Java zu verwenden, müssen Sie ein Konto bei GroupDocs Cloud registrieren und die Client-ID und das Client-Geheimnis unter Cloud Dashboard suchen/erstellen. Es ist ein kostenloses Kontingent verfügbar. Weitere Einzelheiten finden Sie unter GroupDocs Cloud Pricing.
GroupDocs.Conversion-Cloud von Maven installieren
Fügen Sie das GroupDocs Cloud-Repository zu Ihrer Anwendung pom.xml hinzu
<repository>
<id>repository.groupdocs.cloud</id>
<name>repository.groupdocs.cloud</name>
<url>https://releases.groupdocs.cloud/java/repo/</url>
</repository>
Von der Quelle installieren
Um die API-Clientbibliothek in Ihrem lokalen Maven-Repository zu installieren, führen Sie einfach Folgendes aus:
mvn clean install
Um es stattdessen in einem Remote-Maven-Repository bereitzustellen, konfigurieren Sie die Einstellungen des Repositorys und führen Sie Folgendes aus:
mvn clean deploy
Weitere Informationen finden Sie unter OSSRH Guide.
Maven-Benutzer
Fügen Sie diese Abhängigkeit zum POM Ihres Projekts hinzu:
<dependency>
<groupId>com.groupdocs</groupId>
<artifactId>groupdocs-conversion-cloud</artifactId>
<version>22.3</version>
<type>pom</type>
</dependency>
Andere
Generieren Sie zunächst das JAR, indem Sie Folgendes ausführen:
mvn clean package
Installieren Sie dann manuell die folgenden JARs:
target/groupdocs-conversion-cloud-22.3.jar
target/lib/*.jar
Loslegen
Bitte befolgen Sie die Quick Start-Anweisungen.
Java-Beispielcode zum Konvertieren des Cloud-Dokuments „DOCX“ in Cloud „PDF“.
// 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));
Autorisierung & Authentifizierung
Authentication schemes definiert für die API ist wie folgt:
JWT
- Typ: OAuth 2.0
- Durchfluss: Anwendung
- Autorisierungs-URL:https://api.groupdocs.cloud/connect/token
- Token-Lebensdauer: 1 Tag (Standard)
Product Page | Docs | Live Demos | Swagger UI | Code Samples | Blog | Free Support | Free Trial
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