generate docx file with tags