I'm using XSLF for modifying ppt's. In one of the slides there is a
embedded object. The preview is shown in a XSLFGraphicFrame. In some
situations I would like to remove this embedded object, or atleast its
preview from the slide.

But slide.removeShape(shape); does not work on a XSLFGraphicFrame. It gives
me a java.lang.IllegalArgumentException: Unsupported shape:
org.apache.poi.xslf.usermodel.XSLFGraphicFrame.

Any clue on how to remove a XSLFGraphicFrame from a slide?

Reply via email to