Can I use font and style? How? Can you post an example for me please?
Thanks

These doesn't work:

...

                *SXSSFWorkbook wb = new SXSSFWorkbook(a);* 
                *XSSFFont font = (XSSFFont) wb.createFont();*
                *XSSFCellStyle style = (XSSFCellStyle) wb.createCellStyle();*
                *Sheet sh = wb.createSheet();*
                for (int rownum = 0; rownum < righemassime; rownum++) {
                        Row row = sh.createRow(rownum);
                        for (int cellnum = 0; cellnum < colonne; cellnum++) {
                                Cell cell = row.createCell(cellnum);
                                String address = new 
CellReference(cell).formatAsString();
                                cell.setCellValue(address);
                                *font.setItalic(true);*
                                *style.setFont(font);*
                                *cell.setCellStyle(style);*
                        }

                }

...



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/Apache-POI-works-but-it-uses-too-RAM-is-it-a-limit-of-your-library-tp5712425p5712452.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
For additional commands, e-mail: user-h...@poi.apache.org

Reply via email to