scanny / python-pptx

Create Open XML PowerPoint documents in Python
MIT License
2.44k stars 528 forks source link

Allow writing element text with Rich Text #753

Open ghost opened 3 years ago

ghost commented 3 years ago

When pasting formatted text to a PPT, the text is parsed and rendered with the copied colors and styles.

Having this same functionality, and allowing users to do element.text_frame.text = "Hello world" would make things easier when trying to format texts.

scanny commented 3 years ago

Why do you say that?

ghost commented 3 years ago

It's mainly because I'm working with it in Django, so this would integrate neatly when exporting HTML to PPT.

I cannot add a Label to the issue, but this was meant to be a feature suggestion.