https://bz.apache.org/bugzilla/show_bug.cgi?id=62272
Bug ID: 62272
Summary: XSSFFont.setColor(XSSFColor) not including alpha
channel
Product: POI
Version: 3.17-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Color of font is not set properly by call to method
XSSFFont.setColor(XSSFColor).
[styles.xml] It sets 'rgb' attribute of 'color' element without an alpha
channel but 'rgb' attribute is of type ST_UnsignedIntHex which has length 4
(ARGB in hexadecimal format).
[XSSFFont.java] Guess the problem is in XSSFFont's method setColor(XSSFColor)
at the following line:
ctColor.setRgb(color.getRGB());
where a call to getRGB() should be replaced by getARGB().
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]