
The PDF export from LibreOffice is not limited to Writer. Calc, Impress, and Draw have the same export engine, allowing you to produce PDFs from a spreadsheet, a slideshow, or a vector diagram without changing tools. The method varies slightly depending on the module, and certain settings directly affect the quality of the final file.
Native PDF export or virtual PDF printing: two distinct mechanisms in LibreOffice
LibreOffice offers two paths to obtain a PDF, and the choice between the two has a direct impact on the result. The native export goes through File then Export as PDF, while PDF printing uses a virtual printer from the operating system.
Related reading : The best resources to optimize your online presence in 2024
The technical difference lies in the rendering. Native export generates a PDF compliant with the PDF/A standard if the option is checked, retains bookmarks, hyperlinks, and document metadata. Virtual printing, on the other hand, produces a PostScript stream converted to PDF by the driver, which removes clickable links and may alter font embedding.
We always recommend native export for any document intended to be shared or archived. PDF printing is only justified in a specific case: when third-party software lacks its own export function and the visual result takes precedence over the document’s structure.
See also : How to Easily Find a Deleted Ad on Le Bon Coin: Tips and Advice
Those looking to convert a LibreOffice file to PDF with Geekette and Greluche will find a detailed step-by-step guide, suitable for beginners as well as regular users.

PDF export settings in LibreOffice: options that change the final file
The export dialog (File, Export as PDF) contains several tabs that most tutorials do not mention. The General tab controls the page range, JPEG compression quality, and resolution of embedded images.
Image compression and target resolution
By default, LibreOffice compresses images in JPEG with acceptable quality for the screen. For a document intended for professional printing, we recommend setting the quality to maximum and fixing the resolution to the highest value offered. Conversely, for email sending, more aggressive compression reduces file size without visible loss on screen.
Security and restrictions tab
The Security tab allows you to password-protect the PDF and restrict printing or copying of content. There are two password levels: one for opening, one for permissions. This distinction is often overlooked, yet it determines the actual level of protection for the document.
PDF/A for long-term archiving
Checking the PDF/A option in the General tab forces the embedding of all used fonts and disables transparency. The PDF/A ensures that the document will be readable for decades, regardless of the fonts installed on the reader’s machine. This format is required by some administrations for the submission of official documents.
Convert to PDF from Calc, Impress, and Draw
The PDF export works in all LibreOffice modules, not just Writer. The path is the same (File, Export as PDF), but each module has its peculiarities.
- In Calc, the export respects the defined print area. If no area is configured, all sheets containing data will be exported, which may produce a large and poorly paginated PDF.
- In Impress, each slide becomes a page of the PDF. Animations and transitions are obviously not preserved, but presenter notes can be included if the option is enabled.
- In Draw, the export preserves vector objects, resulting in a lightweight and resizable PDF without quality loss, suitable for technical diagrams or plans.

Command line conversion with LibreOffice headless
For users managing large volumes of files or integrating conversion into an automated workflow, LibreOffice has a headless mode that can be used from the command line. This mode launches the rendering engine without a graphical interface.
The basic syntax is straightforward: call the LibreOffice executable with the headless and convert-to pdf parameters, followed by the path of the source file. This command works on Linux, macOS, and Windows.
The main advantage is batch conversion. A shell or batch script can traverse a directory and convert all ODT, ODS, or ODP files to PDF without manual intervention. This is the preferred approach in server environments or for automated publishing chains.
- The headless mode accepts the same input formats as the graphical interface (ODT, ODS, ODP, DOCX, XLSX, PPTX).
- Advanced export options (JPEG quality, PDF/A) can be passed via additional filters in the command line.
- The headless conversion produces a result identical to the export via the interface, provided the same version of LibreOffice is used.
Missing fonts and layout shifts: resolving common issues
The most frequent issue after a PDF export is a layout shift. In most cases, the cause is a missing font on the machine performing the export. LibreOffice then substitutes a similar metric font, which alters line and page breaks.
The most reliable solution is to embed the fonts in the source document before export, or to enable the PDF/A option that forces this embedding. For collaborative documents, we recommend standardizing the fonts used on a set available on all team machines (Liberation, Noto, DejaVu).
A second recurring problem concerns low-resolution images that appear blurry in the printed PDF. This results from overly aggressive compression during export. Checking the settings in the General tab before each export intended for printing avoids this degradation.
The last pitfall concerns documents containing macros or dynamic fields. Date, page number, or reference fields are fixed at the time of export, which is the expected behavior. However, macros are never executed in a PDF. Any dynamically generated content must be manually updated before conversion.