https://issues.apache.org/bugzilla/show_bug.cgi?id=46174

           Summary: Unable to create references to cells in 3.2-FINAL
           Product: POI
           Version: 3.2-dev
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: [EMAIL PROTECTED]


The following snippet of code works perfectly in 3.1 but does not work in
3.2-FINAL. The code below is supposed to create a named reference to a cell but
doesn't do so.

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();

There is no mention in the changelog if there was a change to named references
so I assume this is an unintended change and hence a bug.

P.S. 3.2-FINAL does not appear in the version selection list above so I chose
3.2-dev instead.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to