styleset_export
Export a Word document's styles as a JSON style set, optionally writing it to a file and filtering to selected or custom styles only.
Instructions
The document's styles as a JSON style set; optionally also saved to a file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | Path to the .docx. | |
| out | No | Also write the JSON here. | |
| name | No | Set name. | |
| styles | No | Only these styles (ids or names). | |
| custom_only | No | Only user-defined styles. |