Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Microsoft Word Table Reading

by algel (Initiate)
on Jun 21, 2006 at 08:19 UTC ( #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 (Canon) 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
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? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2016-08-28 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (396 votes). Check out past polls.