Hi, > how can I retrieve the predefined custom marked list with some special icon
As you haven't provided any example file, I've made one up myself.
So I have a bullet list with custom images. Accessing the images can be done
like this:
try (FileInputStream fis = new FileInputStream("CustomBulletList.pptx");
XMLSlideShow ppt = new XMLSlideShow(fis)) {
XSLFSlide slide = ppt.getSlides().get(0); XSLFAutoShape shape =
(XSLFAutoShape) slide.getShapes().get(1); CTTextParagraph para =
shape.getTextParagraphs().get(0).getXmlObject(); String bulletId =
para.getPPr().getBuBlip().getBlip().getEmbed(); POIXMLDocumentPart rel =
slide.getRelationById(bulletId); PackagePart pp = rel.getPackagePart(); try
(InputStream is = pp.getInputStream(); FileOutputStream fos = new
FileOutputStream(new File(pp.getPartName().getName()).getName())) {
IOUtils.copy(is, fos); }
}
Not sure if this helps you, but if not, you need to put more effort into your
question,
e.g. a sample file and what you expect from reading that file.
Andi
CustomBulletList.pptx
Description: MS-Powerpoint 2007 presentation
signature.asc
Description: OpenPGP digital signature
