Hello Everyone! I am working on a project that requires html to be converted to a microsoft word document! I have no idea where to start! Any suggestions? Thank You, Jason
try browsing phpclasses.org - maybe you'll find something usefull also - this might come in handy - http://www.oooforum.org/forum/viewtopic.phtml?t=21649
I've done this, and gotten pretty good results. It was a bit of an undertaking. My clue to you: Save a lot of simple Word documents as "single-file web page" and study the format carefully. The main chore is finding all the images and replacing them with Word's weird image tags, then adding them to your MIME package as separate pieces.
Here is php msword class. You can customize it. http: www phpclasses org/browse/package/3553.html (i cannot post links so i've removed the . (dot) and //
The simples way is to call the office object. But you need to have a windows server with php installed and the office suit installed also. Not a very secure solution (in fact not secure at all). But if you're working on a intranet it can be done. Ive done a similar job to export from php erp to a sharepoint server. It's messy, dirty and smells bad. Can't it be done with pdf instead?