.. _auto_file_convert_to_pdf: *CONVERTS EXCEL/TXT FILE TO PDF FILE. ALL OTHERS ARE RETURNED AS IS* ==================================================================== Converts an Excel (.xls/.xlsx) or plain-text (.txt) file to PDF format. Files of any other type are passed through unchanged. Use this worker to normalise report artifacts to PDF before downstream packaging or sharing steps. When to use ----------- Tagged: ``convert``, ``excel``, ``file_conversion``, ``pdf``, ``simulation``, ``txt``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - File - file - file - — - ✓ - Source file to convert — Excel (.xls/.xlsx) or plain-text (.txt) files will be rendered to PDF; any other file type is forwarded to the output unchanged. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - PDF File - pdf_file - file - Resulting PDF file when the input was Excel or TXT; the original file (unmodified) when the input type is not supported for conversion — downloadable via the platform file-explorer API. Disciplines ----------- - data.io.excel - data.io.file - platform.reporter .. raw:: html
Auto-generated from platform schema. Worker id: file_convert_to_pdf. Schema hash: fcc5a46e1772. Hand-curated docs in workerexamples/ override this page when present.