You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2022/02/15 09:45:20 UTC
[Bug 65882] Getting wrong border color
https://bz.apache.org/bugzilla/show_bug.cgi?id=65882
--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
That getTopBorderColor only returns the color index (of indexed colors) For RGB
based colors, you need to use:
XSSFCell xssfCell = (XSSFCell)cell;
System.out.println("top " +
xssfCell.getCellStyle().getTopBorderXSSFColor().getARGBHex());
https://poi.apache.org/apidocs/dev/org/apache/poi/xssf/usermodel/XSSFCellStyle.html
https://poi.apache.org/apidocs/dev/org/apache/poi/xssf/usermodel/XSSFColor.html
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org