Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17308

ezodf: add a possibility to specify --headless parameter for MS word conversion

    XMLWordPrintable

Details

    Description

      When doing the MS Word to .odt conversion (in ezodf/scripts/converttooo.php) the OO executable is called with this parameters:

      -writer -invisible -display

      which requires an X Windows server to be installed on the server machine. Since having an X Windows server on a web server machine is pretty unusual (and can lead to security issues), there should be an option of running OO executable without the need for the X Windows server. In OO this can be done by not specifying the -display parameter, and specifying the --headless command line parameter.

      So the possibility of controlling this parameters should be added to ezodf, and should be configurable in INI.

      I propose to modify converttooo.php script so that it reads the command line parameters from an INI setting. In this way all other command line parameters could be adjusted if needed.

      Attachments

        Activity

          People

            gl gl
            zmak zmak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: