Carbone icon

Carbone

Operations with the Carbone document generator

Convert to PDF

AI-generated

Overview

This node operation converts a document into a PDF format using LibreOffice. It is useful when you need to transform various document types (such as DOCX, XLSX, PPTX, ODT, ODS, ODP, ODG, HTML, XML, TXT, CSV) into a universally accessible PDF format. A practical example is converting a DOCX report template into a PDF for easy sharing and printing.

Use Case Examples

  1. Convert a DOCX file stored in a binary property to PDF for distribution.
  2. Transform an Excel spreadsheet into a PDF report automatically within a workflow.

Properties

Name Meaning
Property Name Name of the binary property which holds the document to be converted to PDF.
Property Name Out Name of the binary property which will hold the converted PDF document.
notice Notice informing that LibreOffice must be installed for this operation to work, with a link to a workaround for Docker users.

Output

Binary

Contains the converted PDF document stored in the specified output binary property.

Dependencies

  • Requires LibreOffice installed on the system to perform the document conversion.

Troubleshooting

  • If the node throws an error about unsupported document types, ensure the input binary property contains a supported document format.
  • If the conversion fails, verify that LibreOffice is correctly installed and accessible by the environment running the node.
  • For Docker users, follow the provided workaround link to enable PDF conversion since LibreOffice might not be available by default.

Links

Discussion