https://bz.apache.org/bugzilla/show_bug.cgi?id=54853

Andreas Beeker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME

--- Comment #1 from Andreas Beeker <[email protected]> ---
In the meantime, this has been fixed - this was my test code:

@Test
public void testGetText() throws IOException {
    HSLFSlideShow ppt = 
(HSLFSlideShow)SlideShowFactory.create(_slTests.getFile("Apache_POI_Issue_1.ppt"));
    HSLFSlide slide = ppt.getSlides().get(0);
    HSLFTable tab = (HSLFTable)slide.getShapes().get(0);
    int rows = tab.getNumberOfRows();
    int cols = tab.getNumberOfColumns();
    String exp[] = { "Test", "Test1 – sadsa", "Test2", "Test3" };
    int expI = 0;
    for (int row=0; row<rows; row++) {
        for (int col=0; col<cols; col++) {
            assertEquals(exp[expI], tab.getCell(row, col).getText());
            expI++;
        }
    }
    ppt.close();
}

-- 
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