Gayan
Gayan

Reputation: 2871

word file preview on asp.net page

is there any way to show a preview content of word file?? like sample application feed viewer? if so please help me?

Upvotes: 2

Views: 2606

Answers (2)

Paweł Smejda
Paweł Smejda

Reputation: 2005

Yes there is a way, you can convert Word file to HTML and than display it on your ASP.NET page.

Upvotes: 0

Shamit Verma
Shamit Verma

Reputation: 3827

One approach is:

  1. Convert MS Word file to images. I.e. print first couple of pages to image. This can be done on command line with Open Office or by installing a printer driver that prints to images.
  2. Use these images for preview

Since this takes too much time to be done on-demand, you will have to batch-process all existing documents and schedule processing for new documents as these are added to the system.

Upvotes: 1

Related Questions