Enabling OpenOffice / LibreOffice Integration

Enabling OpenOffice / LibreOffice Integration

OpenOffice and LibreOffice are open source productivity suites that you can integrate with Liferay. By default Liferay includes PDFBox, which generates automatic previews for limited file types. However, you can integrate either of these suites for additional functionality, such as document conversion. The desired service must be installed on the server before it the Liferay integration can be enabled.


While both OpenOffice and LibreOffice are capable of integration, some of their features may not be compatible with all Liferay products. View Liferay’s Integrated Technologies Compatibility Matrix for a list of supported technologies.

Once installed, follow these steps to enable Liferay’s OpenOffice/LibreOffice integration via the Control Panel:

  1. Open the Global Menu, and go to Control PanelSystem SettingsConnectorsOpenOffice Integration.


    Alternatively, you can adjust these settings by deploying a com.liferay.document.library.document.conversion.internal.configuration.OpenOfficeConfiguration.config file to your [Liferay Home]/osgi/configs folder.

    Go to OpenOffice Integration under Connectors in System Settings.

  2. Check the Server Enabled box.

  3. Enter the desired Server Host and Server Port.


    It is recommended that you have OpenOffice on the same machine. Using a remote host for the instance is not fully supported and can lead to unexpected issues.

  4. Click on Update.

You can now use OpenOffice/LibreOffice compatible features, which include converting documents, viewing supported document types in your browser, and generating document thumbnails and previews.

Additional Information