poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46989] Support Array formulas
Date Wed, 08 Apr 2009 01:14:43 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46989





--- Comment #1 from Trejkaz <trejkaz@trypticon.org>  2009-04-07 18:14:42 PST ---
Another of our "wait to see if it gets fixed" test cases which probably belongs
under the same umbrella:

    @Test
    public void testArrayPlusMemAreaPtg() throws Exception
    {
        File file = new File("hssf-array-plus-memarea-ptg.xls");
        HSSFWorkbook workbook = new HSSFWorkbook(new POIFSFileSystem(new
FileInputStream(file)));
        HSSFCell cell = workbook.getSheetAt(0).getRow(3).getCell((short) 0);
        assertEquals("Wrong cell value", 5.0, cell.getNumericCellValue(), 0.0);
        assertEquals("Wrong cell formula", "{1}+A1:A2 A2:A3+{2}",
cell.getCellFormula());
    }

-- 
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: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message