GenOffice docx create
genoffice_docx_createCreates a new .docx from scratch, optionally with initial paragraphs, and writes it to a specified output path using the GenOffice engine.
Instructions
Create a NEW .docx from scratch using the GenOffice engine (buildBlankDocx). Optionally pass paragraphs (each string becomes one paragraph; use \n inside a string for line breaks within the same paragraph). Writes the file to outPath.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outPath | Yes | Absolute path where the new .docx will be written | |
| paragraphs | No | Initial paragraphs; omit for a blank document |