public String[] getSheetNames() { List<OdfTable> list = document.getTableList(); int nrSheets = list.size(); String[] names = new String[nrSheets]; for (int i = 0; i < nrSheets; i++) { names[i] = list.get(i).getTableName(); } return names; }
public KSheet getSheet(int sheetNr) { OdfTable table = document.getTableList().get(sheetNr); if (table == null) return null; return new OdfSheet(table); }
public int getNumberOfSheets() { return document.getTableList().size(); }
public String getSheetName(int sheetNr) { OdfTable table = document.getTableList().get(sheetNr); if (table == null) return null; return table.getTableName(); }