python-openxml / python-docx

Create and modify Word documents with Python
MIT License
4.52k stars 1.11k forks source link

Feature - Embed binary objects? #1127

Open cristianoccazinsp opened 2 years ago

cristianoccazinsp commented 2 years ago

Microsoft word lets you embed binary files/objects, such as PDF, or other office files. Is it possible to implement something similar into the library? Images can already be embedded, so it should be similar (encode the binary file and attach a custom xml object).

AbdealiLoKo commented 1 year ago

I'm looking for the same - does anyone have a example on how to do this ?

Templarrr commented 1 year ago

Same here - would love to know if this is on the roadmap