Does anyone know how to delete a slide?
I've tried this, but i think i've got to delete from somewhere else.
Iterator it = pMLPackage.getParts().getParts().keySet().iterator();
PartName sl1 = null;
while (it.hasNext()) {
PartName p = (PartName) it.next();
if (p.getName().equals("/ppt/slides/slide1.xml")) {
sl1 = p;
}
}
pMLPackage.getParts().remove(sl1);
thanks