pdf and word utils