Check If a Text Box in a PowerPoint Presentation Has Bullet Points in Python

Hello!!

Does anyone here know how to check if a shape has bullet points or not?

I need to analyze a pptx and extract the most information possible. For that, I need to know if a text box has bullet points, numberings or paragraph. I am using python.

Thanks in advanced!!

@ana.blasi.ey,
Thank you for contacting support. I am working on the question and will get back to you soon.

@ana.blasi.ey,
With Aspose.Slides for Python, you can check whether a text box has bulleted lists or numbered lists as follows:

with slides.Presentation("sample.pptx") as presentation:
    for slide in presentation.slides:
        for shape in slide.shapes:
            if isinstance(shape, AutoShape):
                for paragraph in shape.text_frame.paragraphs:
                    bullet_type = paragraph.paragraph_format.bullet.type

API Reference: BulletType enumeration