scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.47k stars 529 forks source link

feature: Paragraph.bullet #114

Open zhongle opened 10 years ago

zhongle commented 10 years ago

Hi,Scanny,

Thanks for your feedback to remove the bullet symbol in PPT template mother page setting, but still wonder if it can be set by something like that "paragraph.bullet.type = PP_BULLET_NONE" as a feature.

Le

probonopd commented 8 years ago

:+1:

wildmichael commented 6 years ago

Hi @scanny,

Is there any way I can work around this? I.e. how can I change bullet character, font and visibility on a paragraph?

scanny commented 6 years ago

You'd need to inspect the underlying XML to understand what elements control that and then manipulate them directly using lxml calls. Search on "python-pptx workaround function" for some examples. Once you get an idea what controls it, the XML Schema documents for this vocabulary will be a help. They're over here: https://github.com/scanny/python-pptx/blob/master/spec/ISO-IEC-29500-4/xsd/wml.xsd