This example saves a spreadsheet as a Microsoft excel file.
try { Application application = Application.getInstance(); Spreadsheets spreadsheets = application.getSpreadsheets(); Spreadsheet spreadsheet = spreadsheets.openSpreadsheet("D:\\test.ods", true); spreadsheet.saveAsSpreadsheet("C:\\test.xls", Constant.SYMPHONY_FILE_FORMAT_XLS); } catch(Exception e) { e.printStackTrace(); }
Related information