xlsSettings.setMergedCellChecking( false );
xlsSettings.setPropertySets( false );
xlsSettings.setSuppressWarnings( true );
try {
final jxl.Workbook xlsWorkbook = jxl.Workbook.getWorkbook( _stream, xlsSettings );
final SpreadsheetBuilder spreadsheetBuilder = new SpreadsheetBuilder( ComputationMode.EXCEL );
loadConfig( xlsWorkbook );
for (final jxl.Sheet xlsSheet : xlsWorkbook.getSheets()) {
final SheetBuilder sheetBuilder = spreadsheetBuilder.beginSheet( xlsSheet.getName() );
loadRows( xlsSheet, sheetBuilder );
sheetBuilder.endSheet();
}
final BaseSpreadsheet workbook = spreadsheetBuilder.getSpreadsheet();
loadNames( xlsWorkbook, workbook );
return workbook;
}
catch (jxl.read.biff.BiffException e) {
throw new SpreadsheetException.LoadError( "Error parsing " + _originalFileName, e );