hi
please do tell me how to convert a microsoft word to html document.
In my appln the user will browse the microsoft word document,when a registered user tries to view the application loaded by the users of the website...it should display in html format....
kings -7 Junior Poster
Recommended Answers
Jump to PostIn word do:
File -> Save as.. -> Type name and select webpage (*.htm,*.html) in the extension menu.This is the only way to convert .doc to .html. Microsoft is very protective about there fileformats.
(well you could get a morgage and buy the microsoft SDK..)
Jump to PostI strongly advise you to NOT use Word as a tool to create web pages. The Microsoft HTML conversion utility generates horrible code.
Jump to PostThis sounds like a particularly horrible thing to try and achieve. You probably need to use COM. I bet the various versions of Word will also throw a spanner in the works. If such a script exists, I reckon it'll be a commercial thing.
As for the wvware - …
Jump to PostIt looks like this Zend facility has the ability to convert .doc to .pdf. That way, you could display it as a PDF:
http://www.phplivedocx.org/2009/02/06/convert-doc-to-pdf-in-php/
All 14 Replies
Nick Evan 4,005 Industrious Poster Team Colleague Featured Poster
TopDogger 5 Junior Poster in Training
fatihpiristine
kings -7 Junior Poster
Yproc 0 Newbie Poster
srana99 0 Newbie Poster
atichtch 0 Newbie Poster
diafol
chrishea 182 Nearly a Posting Virtuoso
diafol commented: Whooaar! Nice - been looking for an implementation. Shame about the ZF though - can't get my head around it. +9
atichtch 0 Newbie Poster
forever99 0 Newbie Poster
forever99 0 Newbie Poster
Nitin_11 0 Newbie Poster
diafol
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.