Hi Tobias,

I have tested this with the below snipplet and Powerpoint 2016 didn't complain.
Please open a bug with a complete example including a test pptx, so I can 
reproduce it.

Andi.


@Test
public void setCellColor() throws IOException {
    XMLSlideShow ss = XSLFTestDataSamples.openSampleDocument("shapes.pptx");
    XSLFSlide sl = ss.getSlides().get(0);
    XSLFTable tab = (XSLFTable)sl.getShapes().get(4);
    XSLFTableCell c = tab.getCell(0, 0);
    c.setFillColor(Color.red);
    FileOutputStream fos = new FileOutputStream("bla.pptx");
    ss.write(fos);
    fos.close();
    ss.close();
}



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

Reply via email to