This example displays the full name of a spreadsheet.
try { Application application = Application.getInstance(); Spreadsheets spreadsheets = application.getSpreadsheets(); Spreadsheet spreadsheet = spreadsheets.openSpreadsheet("D:\\test.ods", true); System.out.println(spreadsheet.getFullName()); } catch(Exception e) { e.printStackTrace(); }
Related information