Convert Excel workbook to Ods,Sxc and Fods (OpenOffice / LibreOffice calc).

About OpenDocument

The OpenDocument format (ODF) is a free and open file format for electronic office documents originally developed by Sun for the Open Office suite. OpenDocument Spreadsheet (ODS) is the file format for Excel documents. OpenDocument is currently an OASIS and ISO standard.

Convert Ods (OpenOffice / LibreOffice calc) to Excel

Aspose.Cells supports loading Ods,Sxc and Fods which are supported by OpenOffice / LibreOffice Calc, and convert Ods,Sxc and Fods to Excel files.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
//Load your source ods file
Workbook workbook = new Workbook("book1.ods");
//Save as xlsx file
workbook.Save("ods_out.xlsx");
//Load your source sxc file
workbook = new Workbook("book1.sxc");
//Save as xls file
workbook.Save("sxc_out.xls");
//Load your source fods file
workbook = new Workbook("book1.fods");
//Save as xlsb file
workbook.Save("fods_out.xlsb");

Convert Excel to Ods (OpenOffice / LibreOffice Calc)

Aspose.Cells supports converting Excel files to Ods,Sxc and Fods files . The code example below shows how to convert the template to Ods,Sxc and Fods file.

// For complete examples and data files, please go to https://github.com/aspose-cells/Aspose.Cells-for-.NET
//Load your source workbook
Workbook workbook = new Workbook("book1.xlsx");
// Save as ods file
workbook.Save("Out.ods");
// Save as sxc file
workbook.Save("Out.sxc");
// Save as fods file
workbook.Save("Out.fods");

Advance topics

  • Save ODS File in ODF 1.1 and 1.2 Specifications
  • Working with Background in ODS Files