I would like to make a simple background color for some (merged) cells in a
spreadsheet.

This seems right:
t3Style.setFillBackgroundColor(HSSFColor.LIGHT_TURQUOISE.index);

but the above code has no effect unless I also do this:
t3Style.setFillPattern(somePattern)

But the fill patterns allowed are all terrible - I don't want any of those
patterns. I am unable to discover some way to get a simple background color
in a cell which allows one to read the text in the cell minus all the awful
dots and diamonds and squares, can anyone help?

Thanks (urgently desperate),

 Phil

----------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
----------------------------------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/

Reply via email to