thebeancounter
thebeancounter

Reputation: 4849

python pptx adding border to text

I am using Python 2.7 with python pptx and need to add border to some text i am writing.

I need it to be a simple box in a color that i specify around the text

I found here the text related object but I don't find any mention to what I need, and I found here a similar question about tables but with no answer...

Thanks

Upvotes: 0

Views: 1002

Answers (1)

scanny
scanny

Reputation: 29021

I'm not sure what objects in Word can have a border. I expect a paragraph can, but not sure a run of text can. You can determine this pretty quickly by experimenting with the Word UI.

In any case, that feature is not implemented in python-docx yet.

Upvotes: 1

Related Questions