open pdf as docx code example
Example 1: pdf to doc
you use this https://chrome.google.com/webstore/detail/online-pdf-editor-pdf2goc/dfnhijmficoiilogkjlnkionfjlgecdi/related instead free
Example 2: pdf to doc
you have to pay for this https://smallpdf.com/pdf-to-word