Convertir un tableau en ODS
Contents
[
Hide
]
Aspose.Cells prend en charge la conversion d’un fichier Excel avec un tableau en fichier ODS. Il vous suffit de sauvegarder le fichier au format ODS et le fichier ODS généré contiendra un tableau fonctionnel.
Code d’exemple
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"); |
Le fichier ODS de sortie généré par le code d’exemple est joint à titre de référence.