Apache OpenOffice is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. With OpenOffice enabled as a NetX engine, Microsoft Office documents can be rendered within the application.
This article is only applicable to on-premise installations. If you are a SaaS customer, OpenOffice is automatically installed and configured optimally.
- On the server that hosts NetX, download and install OpenOffice: https://www.openoffice.org/download/index.html. Follow the prompts and take the default settings to perform a "Typical" installation.
Edit the exogen-config.xml file and setup the following properties (or add them from System > Preferences):
<property> <name>openoffice.officeHome</name> <value>C:\Program Files (x86)\OpenOffice 4\</value> </property>
Add the OpenOffice executable path to the Windows Path environment variable. The instructions below are based on a Server 2012 environment. If you are running a different version of Windows Server, you may need to consult Microsoft's documentation on how to edit Environment Variables. Navigate to Control Panel > System and Security > System.
Scroll to the end of the entry field, and type a semicolon to separate the new entry you are going to add. Enter the path of your OpenOffice executable. By default, this path is:
C:\Program Files (x86)\OpenOffice 4\program\
- Click OK on the edit prompt and the environment variables page to close out and save your changes.
- After adding the property and the environment variable, restart the NetX service and resync any existing Office documents to generate thumbnails, previews, pages, etc.
- First, install OpenOffice 4 from the .deb or .rpm packages. For more information on this, please see this page: http://www.openoffice.org/download/common/instructions.html
Add the following properties to <application directory>/netx/config/exogen-config.xml:
<property> <name>engine.openofficeEnabled</name> <value>true</value> </property> <property> <name>openoffice.officeHome</name> <value>/opt/openoffice4/</value> </property>
- After the properties are added, restart the NetX instance and resync any existing Office documents to generate thumbnails, previews, pages, etc.