styleset_import-dotx
Imports styles from a .dotx template into a .docx, adding new styles and replacing or skipping existing ones, with an optional dry run to preview changes.
Instructions
Install the styles of a .dotx template 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 | Yes | The .dotx to read. | |
| expect | No | ||
| dry_run | No | Preview only; write nothing. | |
| on_conflict | No | A style id already in the document (default replace). |