Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: How can I read the .docx file in perl?

by marto (Cardinal)
on Apr 17, 2013 at 09:04 UTC ( [id://1029095]=note: print w/replies, xml ) Need Help??


in reply to How can I read the .docx file in perl?

Similar to your last post, I would suggest you spent some time investigating automating Libreoffice. In theory you could start Librewrite running in headless mode, listening on a port and then use UNO to query the document in question.

  • Comment on Re: How can I read the .docx file in perl?

Replies are listed 'Best First'.
Re^2: How can I read the .docx file in perl?
by daxim (Curate) on Apr 17, 2013 at 09:08 UTC

      This is a dead end, perluno/OpenOffice::UNO haven't worked for years.

      What do you mean by this?

      I wasn't suggesting it has to be done via an existing module.

      Update: I think it's worth noting that simply because this module hasn't worked for a long time if at all, this doesn't that this is impossible.

      Update: Fixed typo /nothing/noting/.

        Update: I think it's worth noting that simply because this module hasn't worked for a long time if at all, this doesn't that this is impossible.

        I'm not convinced that it hasn't, last release was 05 Jul 2010 so it worked 2-3 years ago, not a very long time

        Maybe it require an older version of openoffice? Maybe it require a patch for newer version of openoffice?

        update: test report that it works mentions OpenOffice.org2.0_SDK

        issue in Bug #36157 for OpenOffice-UNO: Compilation failure with OpenOffice 2.3 is cannot find -lsalhelper3gcc3 which is a missing dependency -- according to other reports salhelper3gcc3 certainly should come with openoffice

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-24 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found