Administration Guide : About Xinet Client Extensions and Plug-ins : About Microsoft Office Previews

About Microsoft Office Previews
Xinet servers have been engineered to “talk” to OpenOffice.org software or LibreOffice.org software ) which renders Microsoft Office documents into previews that can then be stored in the Xinet database.
Besides the Xinet database, you must also have OpenOffice.org (version 4 or later with Solr enabled) or LibreOffice.org software installed on your server before users can preview Office files inside a Pilot. You can download a copy of OpenOffice.org software from http://download.openoffice.org. you can download a copy of LibreOffice.org software from https://www.libreoffice.org/download. It’s best to download the package on the server where you will be installing it.
End users will not need to install any special software to preview Office documents. There are, however, some issues for servers.
Note: LibreOffice installed on CentOS v 7.x and Red Hat v7.x are not supported for Xinet v 18.1.
Important! Only one copy of OpenOffice.org software should be installed on your server and Solr Search must be enabled.
Note: Your server must have Java VM version 1.7 or higher installed.
Prerequisites
OpenOffice 4.x (or later) installed in the following paths:
OS X: /Applications/OpenOffice
Linux: /opt/openoffice
OR
LibreOffice 5.2.2 or earlier installed in the following paths:
OS X: /Applications/LibreOffice
Linux: /opt/libreofficex.X.X.X.X (X is the version number)
Background
The officesync(8) man page provides details about the mechanisms that make these Web previews possible. For troubleshooting information, Problems with Office Web previews.
Server-side installation
As long as you have OpenOffice.org software or libreoffice.org software in the right location (see Prerequisites), the Xinet installer should take care of everything else. If you don’t intend to use the Xinet installer, however, turn to the officesync(8) man page for details about manual installation or reinstallation.
OS X servers
1.
Check to see whether you have the X11.app installed on your server. If it’s not already there, install it. Apple provides the program on the OS X installation as a custom option. You can also download the software from the Apple Web site. Download the application called XQuartz.
2.
Download the appropriate OS X version of openoffice.org from http://download.openoffice.org or the libreoffice.org software from www.lbreoffice.org.
3.
For OpenOffice: Open the .dmg file and double click on the OpenOffice.org icon to begin installation. A wizard will guide you through the instlallation process.
4.
For LibreOffice: Open the .dmg file and double click on the LibreOffice.org icon to begin installation. A wizard will guide you through the installation process.
5.
For OpenOffice:
# /usr/etc/venture/bin/officesync -install
For LibreOffice:
/usr/etc/venture/bin/officesync -libre -install
Red Hat and CentOS servers
1.
Download the appropriate OS X version of openoffice.org from http://download.openoffice.org or the libreoffice.org software from www.lbreoffice.org.
2.
tar -xvf OOo_4.0_LinuxIntel_install.tar
This will create a directory in /opt called something similar to:
OOE680_m6_native_packed-1_en-US.9095
A subdirectory resides inside this directory called RPMS.
3.
a. Install the OpenOffice.org packages using the following command:
rpm -i *.rpm
b.
su yum install libreoffice
4.
# /usr/etc/venture/bin/officesync -install
Configuration
To obtain Xinet previews for Office documents, you must enable the database on the Web volume you are using. Enabling the database on volumes provides information about that. You will also need to enable the option, Store Office Document Previews, as well as having either Store Small Web Preview or Store Large Web Preview enabled, as described on here .
Fonts
As OpenOffice.org begins rendering files, it needs to have access to appropriate TrueType or Type 1 fonts in the correct repository; otherwise, it can not render documents accurately. On Unix systems some care needs to be taken to ensure that the appropriate fonts reside in the appropriate location.
For more information about fonts and OpenOffice.org, refer to:
For more information about LibreOffice, refer to: