0
votes

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

1

1 Answers

1
votes

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.