hi,

You can create 4000 styles in xls document.

for example, 

                                        HSSFCellStyle styleIndustriel =
wb.createCellStyle();  
                                        
                                        
styleIndustriel.setFillForegroundColor(industrieColor);  
                                        
styleIndustriel.setFillPattern(HSSFCellStyle.SOLID_FOREGROUND); 
                                        styleIndustriel.setBorderTop((short) 
1); 
                                        styleIndustriel.setBorderBottom((short) 
1); 
                                        styleIndustriel.setBorderLeft((short)1);
                                        
styleIndustriel.setBorderRight((short)1);

and i always set my cell with one of my CellStyle

cell.setCellStyle(styleIndustriel);



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/setCellStyleProperty-PropertyName-and-PropertyValue-tp5710619p5710625.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to