Replace docx by pdf.