Tabelle in ODS konvertieren
Contents
[
Hide
]
Aspose.Cells unterstützt die Konvertierung einer Excel-Datei mit Tabelle in eine ODS-Datei. Sie müssen einfach die Datei im ODS-Format speichern und die generierte ODS-Datei wird eine funktionierende Tabelle enthalten.
Beispielcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET | |
//Source directory | |
string sourceDir = RunExamples.Get_SourceDirectory(); | |
//Output directory | |
string outputDir = RunExamples.Get_OutputDirectory(); | |
// Open an existing file that contains a table/list object in it | |
Workbook wb = new Workbook(sourceDir + "SampleTable.xlsx"); | |
// Save the file | |
wb.Save(outputDir + "ConvertTableToOds_out.ods"); |
Die Ausgabedatei ODS, die durch den Beispielcode generiert wurde, ist im Anhang zu Ihrer Referenz.