docxtemplate class