Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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 (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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://556602]
Approved by Corion
[Corion]: Meh. My bank removed (part of) their CSV download facilities. Now I will either have to implement a full scraper or automate the download using the HBCI interface instead (or just get a new account elsewhere...)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (10)
As of 2017-10-23 08:17 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (277 votes). Check out past polls.