将 Excel 工作簿转换为 Ods、Sxc 和 Fods (OpenOffice / LibreOffice calc)。
Contents
[
Hide
]
关于开放文档
这开放文档格式 (ODF)是一种免费开放的电子办公文档文件格式,最初由 Sun 为 Open Office 套件开发。 OpenDocument 电子表格 (ODS) 是 Excel 文档的文件格式。 OpenDocument 目前是 OASIS 和 ISO 标准。
将 Ods (OpenOffice / LibreOffice calc) 转换为 Excel
Aspose.Cells 支持加载OpenOffice/LibreOffice Calc支持的Ods、Sxc和Fods,并转换赔率,Sxc和食物到 Excel 文件。
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 | |
//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"); |
将 Excel 转换为 Ods(OpenOffice / LibreOffice Calc)
Aspose.Cells 支持将Excel文件转换为Ods、Sxc和Fods文件。下面的代码示例显示了如何将模板到 Ods、Sxc 和 Fods 文件。
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 | |
//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"); |