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