# apt-get install apache2
# svn checkout svn://저장소주소 또는 # svn co svn://저장소주소
first : for(int i=0; i
String temp[] = null; temp = {"aaa", "bbb", "ccc"};
disabled="disabled"
cell.getCellType(); - Cell.class - public static final int CELL_TYPE_NUMERIC = 0; public static final int CELL_TYPE_STRING = 1; public static final int CELL_TYPE_FORMULA = 2; public static final int CELL_TYPE_BLANK = 3; public static final int CELL_TYPE_BOOLEAN = 4; public static final int CELL_TYPE_ERROR = 5;
CellStyle style= rstWb.createCellStyle(); style.setVerticalAlignment(HSSFCellStyle.VERTICAL_CENTER); //세로 가운데 정렬 - CellStyle.class - public static final short VERTICAL_TOP = 0; public static final short VERTICAL_CENTER = 1; public static final short VERTICAL_BOTTOM = 2; public static final short VERTICAL_JUSTIFY = 3;
CellStyle style= rstWb.createCellStyle(); style.setAlignment(HSSFCellStyle.ALIGN_CENTER); //가운데 정렬 - CellStyle.class - public static final short ALIGN_GENERAL = 0; public static final short ALIGN_LEFT = 1; public static final short ALIGN_CENTER = 2; public static final short ALIGN_RIGHT = 3;
sheet.getPrintSetup().setLandscape(true);