0

How can I render a Word document using Bootstrap and Java Script. I tried all possible ways, but I don't know whether it is possible or not.

I wanted structure like this

screenshot

Thanks in advance.

lebelinoz
  • 4,890
  • 10
  • 33
  • 56
somesh
  • 528
  • 2
  • 10
  • 26

1 Answers1

1

If you just want to display a Word document, you could use a workaround as it is described here e.g.

As pointet out in other questions, it is not possible (excluding some exceptions, e.g. as having a plugin installed and configured to open a Word file) to display a Word file in the browser.

Possible ways to get what you want to do are:

  • Convert or letting convert the Word file to a PDF and display it
  • Using Google Document to display your Word file in an iframe (provided by Google Document functionality)

There are probably better answer to your question if it would be clearer what you want to achieve.

how to display word document in browser in localhost?

How do I render a Word document (.doc, .docx) in the browser using JavaScript?

Andreas
  • 431
  • 2
  • 13