<http://apache-poi.1045710.n5.nabble.com/file/n5716684/test.png> 

Shape sh[] = slide.getShapes();
                ArrayList tableData = new ArrayList();
        for (int j = 0; j < sh.length; j++) 
        { 
                 if (sh[j] instanceof Table){ //got a table
                         Table table = (Table)sh[j];
                         TableCell cell1 = table.getCell(0, 2);
                        if(cell1.getText().equalsIgnoreCase("{title}")){
                                TableCell cell = table.getCell(0, j);
                                 cell.setText("test");
                        }
                 }
        }

As u can see in the image one cell is not getting updated as the old value
in the table was blank.



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/modify-table-cell-value-tp5716633p5716684.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to