Functions to help PHPWord to convert html to docx