I need to convert word document (doc, docx) to pdf using php with following requirements.
- Place line number in front of each row in generated pdf.
- Place page number at bottom of each page in generated pdf.
Note: Generated PDF should have all content as it is in Word document (doc, docx).