[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-user
Subject: Re: setCellStyleProperty: PropertyName and PropertyValue
From: adile <aidoumajoud () gmail ! com>
Date: 2012-08-07 11:47:00
Message-ID: 1344340020523-5710625.post () n5 ! nabble ! com
[Download RAW message or body]
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: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic