Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by daxim (Chaplain)
on Apr 17, 2013 at 09:08 UTC ( #1029099=note: print w/ replies, xml ) Need Help??


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

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


Comment on Re^2: How can I read the .docx file in perl?
Re^3: How can I read the .docx file in perl?
by marto (Chancellor) on Apr 17, 2013 at 09:11 UTC

    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

        This is perhaps the case, both OO and Libre have moved on a lot since v2.3 which is the most recent release you reference. I will try to install this when I have time over the next few days and dig a little deeper. I have no idea which version OP has installed, if any, nor which version to suggest to use. I would tend to stay on the stable release unless research threw up some show stopper of an issue for me.

        My suggestion of running was that OP look into running Libre headless, the documentation that I have read as a result of quick searches show that you can specify a port or a named pipe for it to listen for UNO instructions, and use perl to do the batch processing or whatever their actual task is. At the moment I don't have the time to investigate problems reported with these modules or issues with specific versions of OO/Libre. Perhaps some of these issues with older versions have been resolved with a more recent release.

        This is becoming a FAQ, certain aspects of processing/manipulating Microsoft office documents on non Windows platforms. I'm sure that the ability to do so easily would be welcomed. Personally I don't have the spare time to spend on working on this.

Re^3: How can I read the .docx file in perl?
by Anonymous Monk on Apr 17, 2013 at 09:23 UTC

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

    What do you mean by this?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (18)
As of 2014-07-14 15:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (267 votes), past polls