Bug 361443 Excel ODA
data/org.eclipse.birt.report.data.oda.excel/src/org/eclipse/birt/report/data/oda/excel/impl/util/ExcelFileReader.java
return false;
		}
		if (isXlsxFile(fileExtension)) {
			try {
				String rid = xlsxSheetRidNameMap.get(workSheetList.get(currentSheetIndex));
				callback = new XlsxRowCallBack();
				xlsxread.processSheet(rid, callback,this.xlsxRowsToRead);
				maxRowsInThisSheet = callback.getMaxRowsInSheet();
			} catch (OpenXML4JException e) {
				throw new OdaException(e);
			} catch (SAXException e) {
				throw new OdaException(e);
			}
		} else if ( isXlsFile( fileExtension ) ){
			do {
				sheet = workBook.getSheet(workSheetList.get(currentSheetIndex));
				maxRowsInThisSheet = sheet.getPhysicalNumberOfRows();
			} while (maxRowsInThisSheet == 0
					&& (workSheetList.size() < ++currentSheetIndex));
		}
		if (maxRowsInThisSheet == 0)
			return false;
		currentRowIndex = 0;
		return true;
	}
	private static boolean isXlsxFile(String extension) {
		return extension.equals(ExcelODAConstants.XLSX_FORMAT);
	}
	private static boolean isXlsFile(String extension) {
		return extension.equals(ExcelODAConstants.XLS_FORMAT);