python-openxml / python-docx

Create and modify Word documents with Python
MIT License
4.63k stars 1.13k forks source link

How to access the floating shape? #747

Open lxbcyllt opened 4 years ago

lxbcyllt commented 4 years ago

I want to access the floating shape,but It seems that python-docx only support the inline shape. e.g.

from docx import Document doc=Document('test.docx') len(doc.inline_shapes) 5

How can I get the numbers of the floating shape in a word document?

fatpandaria commented 1 week ago

any progress here? if I want to edit the text inside the floating shape, what should I do? Need help, thanks in advance