poi 读取excel(xls文件)中自定义的颜色
最近发现在用poi读取excel03格式文件时,不能很好的读取到表格中自定义的颜色值,cell.getCellStyle().getFillForegroundColorColor();只能取到预定义颜色的索引值。经过对poi研究,03格式的xls文件时采用的[MS-XLS]: Excel Binary File Format (.xls) ,biff8的格式,参考[MS-XLS]: Excel Binary File Format (.xls) Structure | Microsoft Docs ,p.
原创
2021-10-22 16:47:53 ·
1208 阅读 ·
0 评论