第1个回答 2011-02-15
new SheetTD(vo.getPurchasePlanNo(), 1, 1, ExcelConst.CELL_TYPE_STRING, Alignment.CENTRE);
ExcelConst.CELL_TYPE_STRING为格式
public static final int CELL_TYPE_NUMBER = 1;
public static final int CELL_TYPE_STRING = 3;
public static final int CELL_TYPE_DATE = 5;
1为NUMBER,3为STRING,5为DATE