HSSFCellStyle cellStyle = null; ... cellStyle.setAlignment(HSSFCellStyle.ALIGN_LEFT);// 水平方向的对齐方式cellStyle.setVerticalAlignment(HSSFCellStyle.VERTICAL_TOP);// 垂直方向的对齐方式