ivanbicalho / python-docx-replace

Replace words inside a Word document without losing format
MIT License
65 stars 11 forks source link

keys inside textboxes are not replaced #18

Open torco opened 1 year ago

torco commented 1 year ago

sweet package, it's made my life easier for sure. alas, it doesn't replace keys inside of shapes and/or textboxes, which designers regrettably insist on using to make the document look pretty.

thank god it replaces text inside of tables, though.

Maxioul2 commented 9 months ago

Hi, I have the same need. I have to edit documents using templates and we often have textboxes inside. I saw here that someone started to work on this feature in the python-docx package but it still seems unusable. Does someone know a trick to make it work?