Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Microsoft Word Doc

by ecuguru (Monk)
on Aug 31, 2005 at 19:33 UTC ( #488198=perlquestion: print w/replies, xml ) Need Help??
ecuguru has asked for the wisdom of the Perl Monks concerning the following question:

I'd like to be able to parse MS documents on my os X box. I can't use the Win32::OLE lib on the mac X box (requires calls to win sys). And google hasn't turned up any other MS word parsers in Perl. Anybody know of one?

Thanks

Replies are listed 'Best First'.
Re: Microsoft Word Doc
by GrandFather (Sage) on Aug 31, 2005 at 23:25 UTC

    A work around may be to save the Word docs as .rtf files and use RTF::Parser.


    Perl is Huffman encoded by design.
Re: Microsoft Word Doc
by Roger (Parson) on Sep 01, 2005 at 08:28 UTC
    You could use Abiword to do your word document parsing, and use your Perl script as a wrapper.

Re: Microsoft Word Doc
by InfiniteSilence (Curate) on Aug 31, 2005 at 20:40 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://488198]
Approved by Tanktalus
help
Chatterbox?
[Corion]: perldigious: That seems to be more the export and likely it's the recipients of that export that like the titles changes
[Corion]: ... "changed"
[Corion]: I usually expect fixed header names, but am sometimes lenient in the order of columns. But changing the report titles often sounds to me as if you are not the sole consument of the export ;)
[shmem]: perldigious: as always - if it ain't broke, don't fix it. Ther must be a very compelling reason for changing column names in a database. Those are rare.
[Corion]: If you have whitespace in the column names in the database, whap the DBAs ;)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-05-25 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?