Konvertera Excel arbetsbok till Ods, Sxc och Fods (OpenOffice / LibreOffice calc).
Om OpenDocument
OpenDocument-formatet (ODF) är ett gratis och öppet filformat för elektroniska dokument för kontorsändamål, ursprungligen utvecklat av Sun för Open Office-suite. OpenDocument Spreadsheet (ODS) är filformatet för Excel-dokument. OpenDocument är för närvarande en OASIS och ISO-standard.
Konvertera Ods (OpenOffice / LibreOffice calc) till Excel
Aspose.Cells stöder inläsning av Ods, Sxc och Fods som stöds av OpenOffice / LibreOffice Calc och konverterar Ods, Sxc och Fods till Excel-filer.
// 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"); |
Konvertera Excel till Ods (OpenOffice / LibreOffice Calc)
Aspose.Cells stöder konvertering av Excel-filer till Ods, Sxc och Fods-filer. Kodbilden nedan visar hur du konverterar mallen till Ods, Sxc och Fods-fil.
// 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"); |