Convert a resume/document from one FILE FORMAT to another (e.g. DOCX→PDF) using the
RChilli Document Converter Plugin.
Use this when the user wants to: convert, change the file format, or export a resume/
document to PDF / DOC / DOCX / RTF / HTML — e.g. "convert this resume to PDF",
"change the format to DOCX", "export as HTML".
Also phrased as: file conversion, change format, export to PDF/DOCX, save as.
Do NOT use for: applying a styled/branded visual template (use ``plugin_resume_template``);
reading/extracting resume data (use ``resume_parse_file``).
Args:
resume_text: Plain text content of the resume. The server encodes it internally.
filename: Original filename with extension (e.g. ``resume.docx``). Defaults to ``resume.txt`` if omitted.
userkey: RChilli API userkey. Leave blank to use the authenticated session key.
subuserid: Sub-user identifier for multi-tenant isolation.
outputtype: Target format ``pdf`` (default), ``doc``, ``docx``, ``dot``, ``rtf``,
or ``html``.
facedetection: Set to ``'true'`` to detect and preserve face images during conversion.
Returns:
The converted document as base64-encoded content under ``OutputFileData``,
plus the output filename under ``OutputFileName``.
Connector