-1

I need to write some text in TextBox element, to it looks like this

How I can make it by python-docx? Or I need to make it by oxml? Thanks!

1 Answers1

0

python-docx currently has no API support for "floating" text aka. Text boxes.

scanny
  • 26,423
  • 5
  • 54
  • 80
  • Okay. Maybe I can create this element by oxml? I see it have a structure like this https://prnt.sc/135kpwb – Always-prog May 20 '21 at 05:38
  • You can use [win32com.client](https://stackoverflow.com/questions/57201077/python-how-to-add-text-on-desired-coordinates-on-new-word-file/57202827#57202827) – moken Apr 07 '23 at 03:54