Convert docx to TEI class to use proper debug output methods