code: public void apply(HSSFCell cell, HSSFCellStyle cellStyle,
              Map<String, String> style) {
      	// text align
      	String align = style.get(TEXT_ALIGN);
      	short sAlign = CellStyle.ALIGN_LEFT;
      	if (RIGHT.equals(align)) {
      		sAlign = CellStyle.ALIGN_RIGHT;
      	}
      	else if (CENTER.equals(align)) {
      		sAlign = CellStyle.ALIGN_CENTER;
      	}
      	else if (JUSTIFY.equals(align)) {
      		sAlign = CellStyle.ALIGN_JUSTIFY;
      	}
      	cellStyle.setAlignment(sAlign);
      	// vertical align
      	align = style.get(VETICAL_ALIGN);
      	sAlign = CellStyle.VERTICAL_CENTER;
      	if (TOP.equals(align)) {
      		sAlign = CellStyle.VERTICAL_TOP;
      	}
      	else if (BOTTOM.equals(align)) {
      		sAlign = CellStyle.VERTICAL_BOTTOM;
      	}
      	else if (JUSTIFY.equals(align)) {
      		sAlign = CellStyle.VERTICAL_JUSTIFY;
      	}
      	cellStyle.setVerticalAlignment(sAlign);
      }
docs: {@inheritDoc}