src/org/tiefaces/components/websheet/utility/CellStyleUtility.java
public static String getRowStyle(final Workbook wb, final Cell poiCell,
			final String inputType, final float rowHeight,
			final int rowspan) {

		CellStyle cellStyle = poiCell.getCellStyle();
		if ((cellStyle != null) && (rowspan == 1)) {
			short fontIdx = cellStyle.getFontIndex();
			Font font = wb.getFontAt(fontIdx);
			float maxHeight = rowHeight;
			if (!inputType.isEmpty()) {
				maxHeight = Math.min(font.getFontHeightInPoints() + 8f,
						rowHeight);
			}
			return "height:" + WebSheetUtility.pointsToPixels(maxHeight)
					+ "px;";
		}
		return "";
	}
public static String getRowStyle(final Workbook wb, final Cell poiCell,
			final String inputType, final float rowHeight,
			final int rowspan) {

		CellStyle cellStyle = poiCell.getCellStyle();
		if ((cellStyle != null) && (rowspan == 1)) {
			short fontIdx = cellStyle.getFontIndex();
			Font font = wb.getFontAt(fontIdx);
			float maxHeight = rowHeight;
			if (!inputType.isEmpty()) {
				maxHeight = Math.min(font.getFontHeightInPoints() + 8f,
						rowHeight);
			}
			return "height:" + WebSheetUtility.pointsToPixels(maxHeight)
					+ "px;";
		}
		return "";
	}
Gets the row style.

@param wb
the wb
@param poiCell
the poi cell
@param inputType
the input type
@param rowHeight
the row height
@param rowspan
the rowspan
@return the row style