The company I work for distributes document assembly software that uses the python-docx library. The software runs a function on every generated document that opens the document