add PHPWord extension and rewrite analogs