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

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/.

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

Replies are listed 'Best First'.
Re^4: How can I read the .docx file in perl?
by Anonymous Monk on Apr 17, 2013 at 11:31 UTC

    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.