Converti il workbook Excel in Ods, Sxc e Fods (OpenOffice / LibreOffice calc) via Node.js
Informazioni su OpenDocument
Il formato OpenDocument (ODF) è un formato file libero e aperto per documenti elettronici originariamente sviluppato da Sun per la suite Open Office. Il formato file per i documenti Excel è OpenDocument Spreadsheet (ODS). OpenDocument è attualmente uno standard OASIS e ISO.
Converti Ods (OpenOffice / LibreOffice calc) in Excel
Aspose.Cells for Node.js via C++ supporta il caricamento di Ods, Sxc e Fods, supportati da OpenOffice / LibreOffice Calc, e la conversione di Ods, Sxc e Fods in file Excel.
const path = require("path");
const AsposeCells = require("aspose.cells.node");
// Load Excel workbook
const excelFilePath = path.join(__dirname, "book1.xlsx");
let workbook = new AsposeCells.Workbook(excelFilePath);
// Save as ods file
workbook.save("ods_out.ods");
// Save as sxc file
workbook.save("sxc_out.sxc");
// Save as fods file
workbook.save("fods_out.fods");
Converti Excel in Ods (OpenOffice / LibreOffice Calc)
Aspose.Cells for Node.js via C++ supporta la conversione di file Excel in file Ods, Sxc e Fods. Il seguente esempio di codice mostra come convertire il modello in file Ods, Sxc e Fods.
const path = require("path");
const AsposeCells = require("aspose.cells.node");
// The path to the documents directory.
const dataDir = path.join(__dirname, "data");
const filePath1 = path.join(dataDir, "book1.xlsx");
// Load your source workbook
const workbook = new AsposeCells.Workbook(filePath1);
// Save as ods file
workbook.save("Out.ods");
// Save as sxc file
workbook.save("Out.sxc");
// Save as fods file
workbook.save("Out.fods");