As long as you define the mapping rules from the Word formmating properties to HTML, 
your Perl script could read the Word document using the Win32::OLE module, finds the 
formmating properties for each
Word element, and applies your mapping rules to generate HTML. But since Word 
formmating is much richer than HTML, it can become quite complex very quickly in 
finding all the formmating properties.

I experimented with this before. But I stayed at and above the block/paragraph level, 
and simply dumped out them out into a POD-formatted text file. I then used the 
pod2html utility to convert the POD
file to HTML. You lose a significant amount of formmating. But you may be able to live 
with that.

Linchi

-----Original Message-----
From: Masthanaiah Cheekavolu [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 2:04 AM
To: MSWinNT Discussions
Subject: RE: MS Word to HTML converter


Hi,
Sorry for not making my question very clear. I do not want to use MS word to
save it as HTML file.
I want to use a Perl script/module that can be used to do this in a better
controlled way (adding additional variables/text into the original
document).

thanks,
-Masthan.

-----Original Message-----
From: Mike Tree [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 8:19 PM
To: MSWinNT Discussions
Subject: RE: MS Word to HTML converter


In a script?

-----Original Message-----
From: Avi Smith-Rapaport [mailto:[EMAIL PROTECTED]]
Sent: 06 December 2001 14:47
To: MSWinNT Discussions
Subject: RE: MS Word to HTML converter


save as



-----Original Message-----
From: Martin Blackstone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 06, 2001 8:51 AM
To: MSWinNT Discussions
Subject: RE: MS Word to HTML converter


Isn't that function built into word? What version do you have?

-----Original Message-----
From: Masthanaiah Cheekavolu [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, December 06, 2001 12:23 AM
To: MSWinNT Discussions
Subject: MS Word to HTML converter


Hi,
Is there any free MS Word to HTML converter tool available on the
Internet?
I am trying to get a tool of this kind that can be used in association
with
some Perl programs for documentation project. Any info in this regard is
highly appreciated.

thanks,
-Masthan.


This message is confidential and may also be legally privileged. If you
are
not the intended recipient, please notify us immediately. You should not
copy it or use it for any purpose, nor disclose it's contents to any
other
person. The views and opinions expressed in this e-mail message are the
author's own and may not reflect the views and opinions of Wilco
International.

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]


------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to