poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <amey.dharur...@ubs.com>
Subject HSLF Table -- Modifying a table cell
Date Fri, 08 Mar 2013 18:02:03 GMT

I have an existing powerpoint template. I am trying to read a table
(which has a predefined header and few empty rows) and add Text to the

Slide slide = ppt.getSlides()[4];
Table table =  (Table) slide.getShapes()[1];        
TableCell cell = table.getCell(3, 0);

When I open the output ppt, my original table is unchanged. I don't see
the value "Hello" where I want.

I played a lot with the font, setting the same text through textruns
etc.. But still don't see my cell changed from blank to "Hello".

I was able to fill the target cell by some color though. Somehow, my
text never shows up.

Pls help


View raw message