Node.js ve C++ ile Tabloyu ODS ye dönüştürme
Contents
[
Hide
]
Aspose.Cells, bir Excel dosyasını tablo içeren ODS dosyasına dönüştürmeyi destekler. Sadece dosyayı ODS formatında kaydetmeniz yeterlidir ve oluşturulan ODS dosyası fonksiyonel bir tabloya sahip olur.
Örnek Kod
const path = require("path");
const AsposeCells = require("aspose.cells.node");
// Source directory
const sourceDir = path.join(__dirname, "data");
// Output directory
const outputDir = path.join(__dirname, "output");
// Open an existing file that contains a table/list object in it
const workbook = new AsposeCells.Workbook(path.join(sourceDir, "SampleTable.xlsx"));
// Save the file
workbook.save(path.join(outputDir, "ConvertTableToOds_out.ods"));
Örnek kod tarafından oluşturulan çıktı ODS dosyası referansınız için ekte sunulmuştur.