poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gaurav Arora" <gaura...@tyroo.com>
Subject Unable to create references to cells
Date Mon, 03 Nov 2008 13:09:49 GMT
Hi,

I'm trying to run some code which ran perfectly fine with version 3.0
final.

 

            HSSFWorkbook wb = new HSSFWorkbook();

            HSSFSheet sheet = wb.createSheet("sheet");

            sheet.createRow(0).createCell(0).setCellValue("abcd");

            HSSFName name = wb.createName();

            name.setNameName("HOLAHOLAHOLAH");

            name.setReference("sheet!A1");

            FileOutputStream fileOut = new FileOutputStream("t.xls");

            wb.write(fileOut);

            fileOut.close();

 

 

For whatever reason, the named reference is created in POI 3.1 but not
in POI 3.2. Did I miss a change in the changelog? And is the code not
backward compatible at all?

 

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

Regards,

Gaurav Arora

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message