for the text I have used :

 color = new Color(propr[i].getFontColor());
 if (propr[i].getFontColor()!=-1)     colorPP = new Color(color.getBlue(),
color.getGreen(), color.getRed(),255);
 else                                          colorPP=Color.black;
 StyleConstants.setForeground(charAttributes, colorPP);


it's the same......the number of colors that matching is limited......
-- 
View this message in context: 
http://www.nabble.com/Slide-BackgroundColor.......-tf3022194.html#a8394999
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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