Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
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?

Replies are listed 'Best First'.
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?

Re^3: How can I read the .docx file in perl?
by marto (Bishop) 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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1029099]
help
Chatterbox?
[GotToBTru]: 99% of all deaths take place within 24 hours of ingesting di-hydrogen monoxide
[GotToBTru]: time for some C8H10N4O2 for me
[ambrus]: GotToBTru: wait, you tell only the atom totals of what you want? Is that like ordering food in a restaurant by telling only the nutrient amounts you need, or
[ambrus]: like when a medieval scientist supposedly proves his priority inventing something by having previously published an anagram of a thousand letters long summary of the invention?

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2016-12-06 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.