Helix Core is now P4 and Helix Swarm is now P4 Code Review. Product user interfaces will be updated soon. Learn more >>

Documentation | 2025.5

# LibreOffice

LibreOffice is a free power-packed open source personal productivity suite. When LibreOffice is installed on the server hosting P4 Code Review, P4 Code Review automatically detects its presence and uses LibreOffice to prepare PDF previews of a variety of file types, including:

- Word documents (`.doc`, `.docx`)
- PowerPoint presentations (`.ppt`, `.pptx`)
- Excel spreadsheets (`.xls`, `.xlsx`)
- Visio diagrams (`.vsd`)
- Rich-text files (`.rtf`).

Depending on your server's platform and distribution, LibreOffice may be provided as multiple packages and not all packages may be installed by default. If certain filetypes do not preview as expected in P4 Code Review, you may need to install these optional packages to include all of the file handling capabilities of LibreOffice.

For more information on LibreOffice, see LibreOffice website.

## Limitations

The LibreOffice integration has several limitations:

- Document previews in P4 Code Review may appear different than on a desktop system if the document's fonts are not installed on the server hosting P4 Code Review and LibreOffice. In addition, LibreOffice has some limitations rendering Microsoft Office file types, so LibreOffice-generated previews may differ from what you see using Microsoft Office.
- Large files may require a notable amount of time to preview. Very large files may exhaust the resources of the server hosting P4 Code Review, causing the preview to fail and temporarily impacting P4 Code Review performance.
- P4 Code Review is currently not able to detect or show differences in LibreOffice-supported file types.

## Installation

We recommend that you install LibreOffice from your OS distribution, via `apt-get`, `yum`, etc.

The minimal packages, and their transitive dependencies required for P4 Code Review are:

- libreoffice-calc
- libreoffice-draw
- libreoffice-impress
- libreoffice-writer
- libreoffice-headless (RHEL only)

Your search for returned results