https://bz.apache.org/ooo/show_bug.cgi?id=126531
--- Comment #2 from John R. D'Orazio <[email protected]> --- I think I understand a little better what is happening here. It seems that OpenOffice perhaps doesn't support the alpha bit for background colors, and so assumes an empty bit such as 0x00. However 0x00 actually means 100% transparency, compared to 0xFF which means 0% transparency (full opacity). However, since Java automatically sets the alpha bit with the Color object or with JColorChooser or any similar handling of colors, the only way to get OpenOffice to correctly accept the color value is to explicitly unset or clear the alpha bit before setting the integer value for the "CharBackColor" property. I am currently doing this with a bitwise operation that clears the bit. Example: xPropertySet.setPropertyValue("CharBackColor", Color.YELLOW.getRGB() & ~0xFF000000); I will do a little more investigation to see if I can gather any more information on this issue... -- You are receiving this mail because: You are the assignee for the issue.
