62,614
社区成员
发帖
与我相关
我的任务
分享
。。。
lc = new Label(iColIdx, index+1, ""+ FormatTime(data[4]));
ws.addCell(lc);
iColIdx++;
。。。。
//设置垂直对齐为居中对齐
wcf.setVerticalAlignment(VerticalAlignment.CENTRE);
wcf.setBorder(jxl.format.Border.ALL, BorderLineStyle.THIN);
jxl.write.WritableCellFormat wcf2 = new jxl.write.WritableCellFormat(wf);
wcf2.setAlignment(Alignment.CENTRE);
wcf2.setBorder(jxl.format.Border.ALL, BorderLineStyle.THIN);