How to get XSLFTableCell BlipFill in ApachePoi 5+?

62 Views Asked by At

I'm trying to update from an Apache POI dependency to the latest (5.2.3) and I can't seem to find a way of getting the BlipFill from a XSLFTableCell. Currently the new XSLFTableCell has a .getFillPaint() that returns a PaintStyle instance, whose class has a BlipFill static inner class but that's not accessible. Before we would get the TcPr from a table cell xml object but that's not longer possible. Is this a gap in the current POI version or is there's another way around it?

The code in question is more or less the answer here: How to add image to PowerPoint ppt table cell using apache POI hslf/xslf?

More exactly trying to do this:

CTBlipFillProperties blipPr = (XSLFTableCell cell).getXmlObject().getTcPr().addNewBlipFill();
0

There are 0 best solutions below