By default, Liferay DXP uses PDFBox to generate previews for files added to the Document Library. This is because PDFBox is the only 100% Java-based tool that can be distributed with DXP.
However, since PDFBox only supports a limited number of file types, Liferay also provides integration with external services to support additional file types. These services can be used to more quickly generate high quality file previews for more of your files.
To be used for generating previews, the service must first be installed on the server running the Liferay DXP instance.
Liferay DXP currently supports integration with the following programs.
OpenOffice or LibreOffice: These programs can be used in server mode to generate thumbnails and previews for supported file types (
.odp, etc.). You can also use them to convert documents and view them in your browser. See Enabling OpenOffice/LibreOffice Integration to learn more.
FFmpeg: This program provides support for audio and video files. In addition to generating file previews, you can and play multimedia in your browser’s native HTML 5 player. See Enabling FFmpeg for Audio and Video Previews for more information.
With these tools installed and configured, Documents and Media can provide in application previews of most file types.