G
Goh, Yong Kwang
Hi.
I'm trying to write a Perl program that can given a Microsoft Word
document file convert it into a text file, which can then be formatted
into a HTML file. So in essence it's like extracting the information
and repackaging them for the Web.
I don't use the "Save As Web Page" command from Word directly as I've
a whole bunch of Word documents to convert, doing one-by-one is slow
and laborious. And the formatting does not match the Web template I've
done.
So I'm thinking of using Win32::OLE package to create a Microsoft Word
Document OLE object and then calling its SaveAs method to export a MS
Word document to a text file.
However, to reduce the overhead of having to create a Microsoft Word
Document OLE object and then calling its SaveAs method to export a MS
Word document to a text file, I have been wondering if there is a Perl
module somewhere that does this conversion directly w/o having to call
up Microsoft Word and using OLE.
Thanks.
Regards,
Goh, Yong-Kwang
(e-mail address removed)
Singapore
I'm trying to write a Perl program that can given a Microsoft Word
document file convert it into a text file, which can then be formatted
into a HTML file. So in essence it's like extracting the information
and repackaging them for the Web.
I don't use the "Save As Web Page" command from Word directly as I've
a whole bunch of Word documents to convert, doing one-by-one is slow
and laborious. And the formatting does not match the Web template I've
done.
So I'm thinking of using Win32::OLE package to create a Microsoft Word
Document OLE object and then calling its SaveAs method to export a MS
Word document to a text file.
However, to reduce the overhead of having to create a Microsoft Word
Document OLE object and then calling its SaveAs method to export a MS
Word document to a text file, I have been wondering if there is a Perl
module somewhere that does this conversion directly w/o having to call
up Microsoft Word and using OLE.
Thanks.
Regards,
Goh, Yong-Kwang
(e-mail address removed)
Singapore