InputStream inp = new FileInputStream("Report\\\\apple_ship_sample.xls");
HSSFWorkbook workbook = new HSSFWorkbook(inp);
HSSFRow row,row2,row3;
HSSFCell cell,cell2,cell3;
//¦r«¬³]©w
HSSFFont font = workbook.createFont();
font.setFontHeightInPoints(( short ) 12 ); // ¦rÅé°ª«×
HSSFFont fontUpper = workbook.createFont();
fontUpper.setFontHeightInPoints(( short ) 12 ); // ¦rÅé°ª«×
fontUpper.setTypeOffset(HSSFFont.SS_SUPER); |