/** * @param * @return void */ private void buildStyle( HSSFWorkbook wb, HSSFWorkbook src, HSSFSheet sheet, int index, HashMap<String, HSSFCellStyle> ret, String key) { HSSFRow row = sheet.getRow(index); HSSFCell cell = row.getCell(1); HSSFCellStyle nstyle = wb.createCellStyle(); ExcelUtils.copyCellStyle(wb, nstyle, src, cell.getCellStyle()); ret.put(key, nstyle); }