开发者

word file preview on asp.net page

is there any way to show a preview content of word file?? like sample application开发者_JAVA百科 feed viewer? if so please help me?


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.


Take a look at this article Which describes writing a custom server control that can show word documents in a web page.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜