Codecs: How to convert ODS to XLSX?
In This Topic
SDK can convert ODS document to an XLSX document.
Here is C#/VB.NET code that shows how to convert ODS document to an XLSX document:
/// <summary>
/// Converts ODS file to a XLSX file.
/// </summary>
/// <param name="odsFilePath">Path to a source ODS file.</param>
/// <param name="xlsxFilePath">Path to a result XLSX file.</param>
public static void ConvertXlsToXlsx(string odsFilePath, string xlsxFilePath)
{
Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertOdsToXlsx(odsFilePath, xlsxFilePath);
}
''' <summary>
''' Converts ODS file to a XLSX file.
''' </summary>
''' <param name="odsFilePath">Path to a source ODS file.</param>
''' <param name="xlsxFilePath">Path to a result XLSX file.</param>
Public Shared Sub ConvertXlsToXlsx(odsFilePath As String, xlsxFilePath As String)
Vintasoft.Imaging.Office.OpenXml.OpenXmlDocumentConverter.ConvertOdsToXlsx(odsFilePath, xlsxFilePath)
End Sub