تحويل الجدول إلى ملف ODS

Contents
[ ]

تدعم Aspose.Cells تحويل ملف Excel يحتوي على جدول إلى ملف ODS. يكفي أن تقوم بحفظ الملف في تنسيق ODS وسيكون ملف ODS الناتج يحتوي على جدول يعمل بشكل صحيح.

كود عينة

// 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");

الملف ODS الناتج من كود العينة مرفق للرجوع إليه.

Output ODS File