poi 自定义字体颜色
?int[] rgb = new int[]{127,127,127};
?? HSSFPalette palette = wb.getCustomPalette();
????? palette.setColorAtIndex(HSSFColor.BLACK.index,(byte)rgb[0], (byte)rgb[1], (byte)rgb[2]);
??
发布时间: 2012-10-31 14:37:31 作者: rapoo
poi 自定义字体颜色
?int[] rgb = new int[]{127,127,127};
?? HSSFPalette palette = wb.getCustomPalette();
????? palette.setColorAtIndex(HSSFColor.BLACK.index,(byte)rgb[0], (byte)rgb[1], (byte)rgb[2]);
??