Check out example codes for "pdf to word". It will help you in understanding the concepts better.

Code Example 1

1. right clink on file 
2. click on open with
3. click on word

Code Example 2

you can use such great sites like:
https://www.pdftoword.com/
https://www.foxitsoftware.com/pdf-to-word-converter/

Code Example 3

To edit a PDF, simply open it in Word. This works best with PDFs that are mostly text.

1. Go to File > Open.
2. Find the PDF, and open it (you might have to select Browse and find the PDF in a folder).
3. Word tells you that it's going to make a copy of the PDF and convert its contents into a format that Word can display. The original PDF won't be changed at all. Select OK.

Learn ReactJs, React Native from akashmittal.com