Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Microsoft Word Table Reading

by algel (Initiate)
on Jun 21, 2006 at 08:19 UTC ( [id://556602]=perlquestion: print w/replies, xml ) Need Help??

algel has asked for the wisdom of the Perl Monks concerning the following question:

Hi, all. I want to read all existing tables from Microsoft Word doc. If exists any way to do that, without "Save As..." to text format? Thanks.

Replies are listed 'Best First'.
Re: Microsoft Word Table Reading
by shmem (Chancellor) on Jun 21, 2006 at 08:43 UTC
    As often, it's good to check The CPAN Search Site. See Win32::OLE
    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      I work in UNIX with Word docs
        If you have some windows server sitting around, you could give a try to Docclient.

        If not, I don't know of any perl module that does that. (hmm... somebody working on a perl port of Jakarta POI out there?).

        But then, as UNIX is, I would grab mswordview and run the output through HTML::Parser or such.

        _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                      /\_¯/(q    /
        ----------------------------  \__(m.====·.(_("always off the crowd"))."·
        ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://556602]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-04-26 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found