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 2012/05/22 18:43:03 UTC
[Bug 53275] New: XSSFColor.setColor requires to clear previously set
'indexed' flag if color is non-indexed (theme) color
https://issues.apache.org/bugzilla/show_bug.cgi?id=53275
Priority: P2
Bug ID: 53275
Assignee: dev@poi.apache.org
Summary: XSSFColor.setColor requires to clear previously set
'indexed' flag if color is non-indexed (theme) color
Severity: normal
Classification: Unclassified
Reporter: andrei.astrouski@gmail.com
Hardware: PC
Status: NEW
Version: 3.8
Component: XSSF
Product: POI
Patch:
public void setColor(XSSFColor color) {
if(color == null) _ctFont.setColorArray(null);
else {
CTColor ctColor = _ctFont.sizeOfColorArray() == 0 ?
_ctFont.addNewColor() : _ctFont.getColorArray(0);
if (ctColor.isSetIndexed()) {
ctColor.unsetIndexed();
}
ctColor.setRgb(color.getRgb());
}
}
--
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
[Bug 53275] XSSFColor.setColor requires to clear previously set
'indexed' flag if color is non-indexed (theme) color
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53275
andrei <an...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |major
--
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