Excel Arbeitsmappe nach Ods, Sxc und Fods (OpenOffice / LibreOffice Calc) via Node.js konvertieren
Über das OpenDocument
Das OpenDocument-Format (ODF) ist ein kostenloses und offenes Dateiformat für elektronische Bürodokumente, das ursprünglich von Sun für die Open-Office-Suite entwickelt wurde. OpenDocument Spreadsheet (ODS) ist das Dateiformat für Excel-Dokumente. OpenDocument ist derzeit ein OASIS- und ISO-Standard.
Ods (OpenOffice / LibreOffice calc) in Excel konvertieren
Aspose.Cells for Node.js via C++ unterstützt das Laden von Ods, Sxc und Fods, die von OpenOffice / LibreOffice Calc unterstützt werden, und wandelt Ods, Sxc und Fods in Excel-Dateien um.
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");
Excel in Ods (OpenOffice / LibreOffice Calc) konvertieren
Aspose.Cells for Node.js via C++ unterstützt die Konvertierung von Excel-Dateien in Ods, Sxc und Fods. Das unten stehende Code-Beispiel zeigt, wie die Vorlage in Ods, Sxc und Fods konvertiert wird.
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");