Exporter ODS vers un fichier XLSX dans le Cloud

Excel et exportation de feuilles de calcul OpenOffice avec le SDK Cloud open source pour NodeJS

Exporter ODS vers un fichier XLSX dans le SDK Cloud pour NodeJS

  1. Créez un compte surTableau de bord pour obtenir gratuitement les détails du quota et de l’autorisation API
  2. Initialisez CellsApi avec l’ID client, le secret client, l’URL de base et la version API
  3. Appelez la méthode cellsWorkbookPutConvertWorkbook pour obtenir le flux XLSX résultant

Commencez avec Excel REST API

Obtenez le code source du SDK Cloud Excel for .NET à partir deGitHub pour compiler le SDK vous-même ou rendez-vous surSorties pour des options de téléchargement alternatives.

Jetez également un œil à Swagger-basedAPI Référence pour en savoir plus sur leExcel REPOS API.

Code NodeJS pour la conversion ODS en XLSX

// For complete examples and data files, please go to https://github.com/aspose-cells-cloud/aspose-cells-cloud-node/
    const { CellsApi, CellsWorkbook_PutConvertWorkbookRequest } = require("asposecellscloud");
    const localPath = "../TestData/source/";
    var fs = require('fs');
    var path = require('path');
    const cellsApi = new CellsApi(process.env.ProductClientId, process.env.ProductClientSecret);
    var req = new CellsWorkbook_PutConvertWorkbookRequest({
      file: fs.createReadStream(localPath + "datasource.xlsx"),
      format: "xlsx",
    });
    cellsApi.cellsWorkbookPutConvertWorkbook(req)
      .then((result) => {
        console.log(result)
    });

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.

Other Options

What is File Format?

What is File Format?