豁然高

导航

2019年4月17日 #

POI--各种样式的XSSFCellStyle的生成

摘要: //背景色、フォント色、枠線より各種XSSFCellStyleの作成して、cellStyleMapに保存する private HashMap createXssfCellStyle() { HashMap cellStyleMap = new HashMap(); XSSFCellStyle xssfCellStyle; Stri... 阅读全文

posted @ 2019-04-17 17:32 豁然高 阅读(3732) 评论(0) 推荐(0) 编辑

POI 使用颜色字符串生成XSSFColor对象

摘要: public static int[] hexToRgb(String hex) { String colorStr = hex; if (hex.startsWith("#")) { colorStr = hex.substring(1); } if (StringUtils.length(col 阅读全文

posted @ 2019-04-17 17:30 豁然高 阅读(6926) 评论(0) 推荐(0) 编辑