Setting up OpenOffice for Alfresco
Warning: Archived Page
The official documentation is at: http://docs.alfresco.com This page describes how to install and set up OpenOffice for use with Alfresco.
OpenOffice is a cross-platform office application suite. Alfresco uses OpenOffice to transform files from one format to another, for example, from Microsoft Word to PDF. OpenOffice.org is free to download. OpenOffice is an optional installation that provides access to a range of document transformations in Alfresco.
To install OpenOffice:
- Browse to the OpenOffice.org download site: http://download.openoffice.org
- Download the latest (stable) version of OpenOffice for your platform.
- Note that there is an OpenOffice issue which means that OOo version 3.2+ is needed to transform Office 07 documents (.docx etc).
- When prompted, specify a download destination.
- Browse to the location of your downloaded file, and install the application. A wizard guides you through the installation.
- Accept the license agreement, and click Next.
- Enter Customer information as appropriate, and click Next.
- Select the set up type and Custom, and click Next.
- Change the installation directory to c:\Alfresco\OpenOffice.
- Optionally, select the files for which you want OpenOffice to be the default application for, and click Next.
- Start one of the OpenOffice programs to perform the initial registration, and then close the program.
- If the Alfresco server is running, stop and restart the server.
- Modify the following properties in the <extension>/custom-repository.properties file:
- Set ooo.exe= to point to the OpenOffice binary.
- Set ooo.user= to point to the path for the user profile.
To configure as a headless service, open a command prompt (or create a .bat file), and start OpenOffice as follows:
soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless
Installing Microsoft Office add-ins
Alfresco add-ins are available for MicrosoftÂ® Office applications, such as Word, Excel, and PowerPoint.
Note: If you are running Office 2007 on Windows Vista, you will only have READ ONLY access to the Alfresco repository over WebDAV. This is currently a known problem with Microsoft and Vista and affects many applications.
Before you start, make sure that:
- The .NET Programmability Support option is installed for each of the Office applications that you are installing the add-ins. Typically, these will be Word, Excel, and PowerPoint. To find these options, run the Office Setup program and expand the list of available options for each application. You may require your original Office 2007 install media to add these required components.
- Any Microsoft Office applications on your system are NOT running, including Outlook if you use Word as an email editor.
To install and configure Microsoft Office add-ins:
- Unzip the files containing the Microsoft setup. This example refers to the Office 3-in-1 installer, which installs all three add-ins. You can also use individual installers to add Alfresco to one of the three Office applications.
- Run setup.exe. If required, the setup program will download the required components from the Microsoft website. These components are .NET 2.0 framework, and Visual Studio 2005 Tools for Office Second Edition runtime.
- Run the Office application, for example, Word. A Welcome window with configuration options display.
- In the Web Client URL area, enter the location to the Alfresco web client. For example: http://server:8080/alfresco/
- In the WebDAV URL area, append webdav/ to the web client URL. For example: http://server:8080/alfresco/webdav/
- In the CIFS Server area, enter the path to the CIFS server. The add-in will try to auto-complete this value, but verify for the correct address. For example: \\server_a\alfresco\ or \\servera\alfresco\
- In the Authentication area, enter your Alfresco user name and password. If you are using the CIFS interface, authentication is usually automatic. However, sometimes the add-In presents your Alfresco user name and password to be correctly authenticated. All values are stored in the Windows registry and your password is encrypted against casual hacking attempts.
- Click Save Settings.