Skip to main content
Technology & EngineeringDocument Generation Services36 lines

OpenDocument Report and Slide Rendering

Export ODT reports and ODP slides to reviewable PDFs with LibreOffice, preserve editable sources, and verify fonts, pagination and slide geometry.

Quick Summary15 lines
Use the original ODT or ODP and any approved templates, fonts or reference exports. Identify the actual requirement for page size, orientation, slide dimensions, notes, accessibility, and archival or print export. Preserve the editable source. If an organization supplies its own template or style specification, record its version and validate it as a separate input.

## Key Points

- [LibreOffice start parameters](https://help.libreoffice.org/latest/en-US/text/shared/guide/start_parameters.html)
- [LibreOffice PDF filter parameters](https://help.libreoffice.org/latest/en-US/text/shared/guide/pdf_params.html)

## Quick Example

```sh
soffice -env:UserInstallation=file:///tmp/lo-review-writer --headless --convert-to pdf:writer_pdf_Export --outdir /tmp/report-export report.odt
soffice -env:UserInstallation=file:///tmp/lo-review-impress --headless --convert-to pdf:impress_pdf_Export --outdir /tmp/slide-export deck.odp
```
skilldb get document-generation-services-skills/opendocument-renderingFull skill: 36 lines
Paste into your CLAUDE.md or agent config

OpenDocument Report and Slide Rendering

Use the original ODT or ODP and any approved templates, fonts or reference exports. Identify the actual requirement for page size, orientation, slide dimensions, notes, accessibility, and archival or print export. Preserve the editable source. If an organization supplies its own template or style specification, record its version and validate it as a separate input.

Prepare an isolated render

Record LibreOffice build, operating system, source checksum and installed fonts. Check referenced images and external links and decide which dependencies need to be packaged. Disable unsolicited external updates in the render environment. Use an empty output directory and an isolated LibreOffice profile so another running process does not handle the job or reuse unrelated preferences.

Set UserInstallation to an absolute file URI specific to the worker. The following examples use POSIX file paths. On Windows, pass a valid file URI such as file:///C:/render/lo-profile and use the installed console executable where available.

soffice -env:UserInstallation=file:///tmp/lo-review-writer --headless --convert-to pdf:writer_pdf_Export --outdir /tmp/report-export report.odt
soffice -env:UserInstallation=file:///tmp/lo-review-impress --headless --convert-to pdf:impress_pdf_Export --outdir /tmp/slide-export deck.odp

Keep the original inputs outside the output directory. Use the matching Writer or Impress filter. For optional PDF filter properties, verify property names, types and shell quoting in the LibreOffice documentation. Generate a complete pilot before filtering out pages or changing notes or accessibility options. Capture command arguments, version, exit code, output size and elapsed time.

Inspect the generated PDF

Require the expected new file and verify that it opens. Inspect page count and media boxes. Rasterize every page or slide for review and extract text when possible. Compare headings, page breaks, tables and images against the source and supplied examples. Look for substitute fonts, clipped lines, missing symbols, lost slide notes where required, cropped poster elements and changed geometry. If rendering uses an unapproved font substitution or missing linked content, correct the dependency and rerun in a clean job directory.

For a reproducibility check, repeat the render with a fresh profile using the same version, inputs and fonts. Compare visual and structural outputs, allowing for nondeterministic PDF metadata where appropriate. Verify accessible structure or PDF/A conformance separately when required, using tools suitable for the actual contract. Compare animations or transitions in the native slide file if they are part of the requirement. A PDF review confirms static layout.

Deliver the ODT or ODP, reviewed PDF and a concise rendering record with unresolved differences. If the destination needs a print proof, include the approved reference and exact page size.

Sources

Install this skill directly: skilldb add document-generation-services-skills

Get CLI access →