docx->pdf generation changed