By Jetformat
List styles first and use the internal ID, such as Heading1. A display name and a style ID can differ, especially in localized templates.
Steps
- Start with a local DOCX. Replace the sample paths and identifiers with your own.
- Run the command below. Save to a new output path so the source remains available for comparison.
- Check the result as described below before using it in another job.
jetformat word style report.docx --paragraph 1 --id Heading1 -o report-updated.docx
Options for this task
| Option | Meaning |
|---|---|
--id |
Style ID, for example Heading1 |
--output |
Output DOCX path (required) |
--paragraph |
1-based paragraph number (default 1) |
Check the result
Run word styles and extract Markdown to check the heading structure, then review the document visually.
Notes and limits
Writing an Office document uses one credit per command. See the billing guide for the current rules.
The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat word style --help to compare options with your installed version.
See the word command reference for the surrounding workflow.