Esporta ODS in file XLSX nel Cloud
Excel ed esportazione di fogli di calcolo OpenOffice con Cloud SDK open source for Java
Esporta ODS in file XLSX in Cloud SDK for Java
- Crea un account suPannello di controllo per ottenere gratuitamente la quota API e i dettagli dell’autorizzazione
- Inizializza
CellsApi
con ID client, segreto client, URL di base e versione API - Chiama il metodo
cellsWorkbookPutConvertWorkbook
per ottenere il flusso XLSX risultante
Inizia con Excel REST API
Ottieni il codice sorgente Excel Cloud SDK for .NET daGitHub per compilare tu stesso l’SDK o vai al fileRilasci per opzioni di download alternative.
Dai un’occhiata anche a Swagger-basedAPI Riferimento per saperne di più suExcel RESTO API.
Java Codice per Conversione da ODS a XLSX
// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-java/
import java.io.File;
import com.aspose.cloud.cells.api.*;
public class Conversion {
public static void main(String[] args) {
String name = "Book1.xlsx";
String format = "xlsx";
String password = null;
String outPath = null;
String destFile = "DestFile.xlsx";
try {
CellsApi cellsApi = new CellsApi(System.getenv("ProductClientId"), System.getenv("ProductClientSecret"));
File response = cellsApi.cellsWorkbookPutConvertWorkbook(new File(name), format, password, outPath, null,null);
if(response.canRead())
{
if(response.exists()){
response.renameTo(new File(destFile));
}
}
}
catch(Exception exception )
{
System.out.print(exception);
}
}
}
FAQ
-
How can I get started with Aspose. REST APIs?Quickstart not only guides through the initialization of Aspose. Cloud API, it also helps in installing the required libraries.
-
Where can I see the release notes for Aspose. Cloud API?Complete release notes can be reviewed at Aspose. Cloud Documentation.
-
Is it safe to convert to in the Cloud?Of course! Aspose Cloud uses Amazon EC2 cloud servers that guarantee the security and resilience of the service. Please read more about Aspose's Security Practices.
-
What file formats are supported by Aspose. Cloud API?Aspose. Cloud can convert to and more. Checkout the complete list of supported file formats.
-
I do not have time to set up. Is there a quick demo for to that I can try?Indeed! Checkout the to Conversion App.