/** * Return the cell's style. * * @return the cell's style.</code> */ public XSSFCellStyle getCellStyle() { XSSFCellStyle style = null; if (_stylesSource.getNumCellStyles() > 0) { long idx = _cell.isSetS() ? _cell.getS() : 0; style = _stylesSource.getStyleAt((int) idx); } return style; }