ExcelブックをOds、Sxc、およびFods(OpenOffice / LibreOffice calc)に変換する

OpenDocumentについて

OpenDocument format(ODF)は、SunによってOpen Officeスイート向けに開発された電子オフィス文書のための無料かつオープンなファイルフォーマットです。OpenDocument Spreadsheet(ODS)はExcel文書のファイルフォーマットです。OpenDocumentは現在、OASISとISOの標準です。

Ods(OpenOffice / LibreOffice calc)をExcelに変換する

Aspose.Cells for Python via .NETは、OpenOffice / LibreOffice CalcがサポートするOds、Sxc、Fodsをロードし、OdsSxcFodsをExcelファイルに変換することをサポートしています。

from aspose.cells import Workbook
# 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("book1.ods")
# Save as xlsx file
workbook.save("ods_out.xlsx")
# Load your source sxc file
workbook = Workbook("book1.sxc")
# Save as xls file
workbook.save("sxc_out.xls")
# Load your source fods file
workbook = Workbook("book1.fods")
# Save as xlsb file
workbook.save("fods_out.xlsb")

ExcelをOds(OpenOffice / LibreOffice Calc)に変換する

Aspose.Cells for Python via .NETは、ExcelファイルをOds、Sxc、Fodsファイルに変換することをサポートしています。以下のコード例は、templateをOds、Sxc、Fodsファイルに変換する方法を示しています。

from aspose.cells import Workbook
# For complete examples and data files, please go to https:# github.com/aspose-cells/Aspose.Cells-for-.NET
# Load your source workbook
workbook = 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")

高度なトピック