styleset_install
Install a JSON style set into a .docx document, adding new styles and replacing or skipping existing ones. Use dry_run to preview without writing.
Instructions
Install a JSON style set into the document: new styles are added, existing ones replaced (or skipped); dry_run previews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Path to the .docx. | |
| path | No | Or a style set file. | |
| expect | No | ||
| dry_run | No | Preview only; write nothing. | |
| styleset | No | The style set (inline). | |
| on_conflict | No | A style id already in the document (default replace). |