• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Convert Word Documents as HTML

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My application has an option of uploading word documents and pdf documents, where in these documents are stored in a central repository. The users can dowload the documents and view the documents. For instance for viewing a word document we are setting the response contenttype as application/msword. I need to provide a way where in like google to show the document as HTML. Can you please help me in rendering the Word document as HTML Page.

Thanks in advance.

Srini

[ December 22, 2004: Message edited by: Srinivasan Radhakrishnan ]
[ December 22, 2004: Message edited by: Srinivasan Radhakrishnan ]
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here's one way, but it includes doing some MS stuff outside of Java.

Word has its own object model which through Com or OLE, you can start up the WOrd application, open the document and the save as html, just as if you were doing it manually through MS Word. Then all you need to do is get that file and display it.

This might require a Java to Com bridge, which a company like JIntegra has such a product. .Net might also have a way to connect to Java too.

Now I thought that in most browsers, word documents can be displayed. Why would you want to change it to HTML?

Mark
 
bronco
Posts: 161
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't have personal experience with this product, but you might check out:

HTML Transit
 
reply
    Bookmark Topic Watch Topic
  • New Topic