Actions11
- Chromium Actions
- LibreOffice Actions
- PDF Engines Actions
LibreOffice → Convert to PDF
AI-generatedSummary
Convert an office document to PDF
Inputs
- binaryPropertyName (required) — Name of the binary property containing the office document to convert
- outputBinaryPropertyName — Name of the binary property to store the output file
- outputFilename — Filename for the output file (including extension)
- libreofficeOptions — Options for LibreOffice conversion such as landscape, page ranges, PDF/A format, merge, etc.
Output shape
a single binary record (PDF file)
Merges multiple PDFs when merge is true; otherwise returns a single PDF. Output is stored in the property specified by outputBinaryPropertyName (default 'data') under the filename specified by outputFilename (default 'output.pdf').
Examples
Example 1: Convert a DOCX file stored in data.body to PDF and store the result in data.pdf
binaryPropertyName=data,outputBinaryPropertyName=data,outputFilename=output.pdf,libreofficeOptions={exportFormFields:true}
Example 2: Convert a spreadsheet with landscape orientation and page ranges 1-3,5, merging the result into a single PDF
binaryPropertyName=file,outputBinaryPropertyName=pdf,libreofficeOptions={landscape:true,nativePageRanges='1-3,5',merge:true}