| |||||||||||
| |||||||||||
Looking for the Paragraph subroutine Posted by enquirer (enquirer), 8 March 2003 I came to your side and tried that perl script:Using Perl to read Microsoft Word documents Unfortunately this program calls a subroutine ![]() You don't have accidently that sourcecode ?? Posted by admin (Graham Ellis), 8 March 2003 I think you're asking about the script that's at:http://www.wellho.net/solutions/1480965085.html It's a script that reads a Microsoft Word document and saves each piece of text (and its paragraph tag) to a plain text file .... The Paragraph subroutine is provided via the Win32: ![]() WIn32: ![]() script. These modules are provided in the ActiveState version of Perl, and they use Microsoft Word's .dll files to actually process the word document. So ... to answer your question ... "The paragraph subroutine is provided by the Perl module working in association with Microsoft Word. This Perl script will only work on a machine with that module and with Word." I'm afraid that if you have been given a Word document and want to get the text out from it on (say) a Linux box that doesn't have any of Mr Gate's software on it, this isn't the script for you! This page is a thread posted to the opentalk forum
at www.opentalk.org.uk and
archived here for reference. To jump to the archive index please
follow this link.
|
| ||||||||||
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho |