Android SDK als Wrapper für die GroupDocs.Merger Cloud API. Kombinieren Sie Dokumente zu einem Dokument, teilen Sie ein Dokument in mehrere Dokumente in Ihren Android-Anwendungen.
Kostenlos testenGroupDocs.Merger Cloud SDK für Android ist ein Wrapper, um mit dem Cloud API für Android-Entwickler zu kommunizieren. Der GroupDocs.Merger Cloud API ist ein REST-Dienst zum Zusammenführen und Aufteilen von Dokumenten und unterstützt ein breites Spektrum an Microsoft Office, OpenDocument, eBook, PDF, Text, LaTeX und anderen Dokumentformaten. Der GroupDocs.Merger Cloud API bietet eine Möglichkeit, zwei oder mehr Dokumente zu einem zu kombinieren, ein beliebiges Dokument in mehrere Dokumente zu teilen und eine Bilddarstellung jedes Dokuments im PNG, JPG- bis BMP-Format zu erzeugen. Der API bietet viele weitere Operationen im Zusammenhang mit Dokumentenseiten, wie das Drehen einer beliebigen Seite eines PDF-Dokuments, das Austauschen von Folien in Präsentationen oder das Ändern der Seitenorientierung von Word-Dokumenten. Der API legt großen Wert auf Sicherheit und ermöglicht das Anwenden oder Entfernen des Passwortschutzes für Ihre wichtigen Geschäftsdokumente.
Mit GroupDocs.Merger Cloud API können Sie zwei oder mehr Dokumente zu einem zusammenführen oder ein beliebiges Dokument in mehrere kleinere Dokumente aufteilen. Die folgenden Codezeilen zeigen, wie Sie zwei Word-Dateien in Android kombinieren.
//Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
Configuration configuration = new Configuration(MyAppSid, MyAppKey);
DocumentApi apiInstance = new DocumentApi(configuration);
FileInfo fileInfo1 = new FileInfo();
fileInfo1.setFilePath("foldername/doc1.docx");
JoinItem item1 = new JoinItem();
item1.setFileInfo(fileInfo1);
FileInfo fileInfo2 = new FileInfo();
fileInfo2.setFilePath("foldername/doc2.docx");
JoinItem item2 = new JoinItem();
item2.setFileInfo(fileInfo2);
JoinOptions options = new JoinOptions();
options.setJoinItems(Arrays.asList(item1, item2));
options.setOutputPath("output/mergedDoc.docx");
JoinRequest request = new JoinRequest(options);
DocumentResult response = apiInstance.join(request);
```